add navi tools for review system
This commit is contained in:
parent
7056b661af
commit
e4665387cb
|
@ -0,0 +1,23 @@
|
||||||
|
<ul>
|
||||||
|
<li><a href="/review/myreview">我参审的元数据</a></li>
|
||||||
|
<li><a href="/review/draft">投稿元数据</a></li>
|
||||||
|
<li><a href="/review/accept">已接收元数据</a></li>
|
||||||
|
<li><a href="/review/inreview">评审中元数据</a></li>
|
||||||
|
<li><a href="/review/reviewed">已通过元数据</a></li>
|
||||||
|
</ul>
|
||||||
|
<form id="search" enctype="application/x-www-form-urlencoded" action="/review/search" method="post">
|
||||||
|
<input type="text" name="q" id="q" value="<?php echo (empty($this->key))?'回车搜索标题和摘要':$this->key; ?>" onfocus="myfocus(this);" onblur="myblur(this);">
|
||||||
|
<input type="hidden" name="submit" value="submit">
|
||||||
|
</form>
|
||||||
|
<script>
|
||||||
|
function myfocus(element) {
|
||||||
|
if (element.value == '回车搜索标题和摘要') {
|
||||||
|
element.value = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function myblur(element) {
|
||||||
|
if (element.value == '') {
|
||||||
|
element.value = '回车搜索标题和摘要';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
Loading…
Reference in New Issue