修复了搜索功能不能分页的问题

This commit is contained in:
Li Jianxuan 2011-10-25 07:51:50 +00:00
parent bab5403e07
commit 5ab5e4f2ef
5 changed files with 6 additions and 6 deletions

View File

@ -25,7 +25,7 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<h3>最新收稿的元数据:</h3> <h3>最新收稿的元数据:</h3>
<form action="/review/draft" method="POST"> <form action="/review/draft" method="GET">
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" /> <input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" /> <input type="hidden" name="search" value="1" />
<input type="submit" class="btn" value="搜索" /></form> <input type="submit" class="btn" value="搜索" /></form>

View File

@ -25,7 +25,7 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<h3>最新收稿的元数据:</h3> <h3>最新收稿的元数据:</h3>
<form action="/review/draft" method="POST"> <form action="/review/draft" method="GET">
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" /> <input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" /> <input type="hidden" name="search" value="1" />
<input type="submit" class="btn" value="搜索" /></form> <input type="submit" class="btn" value="搜索" /></form>

View File

@ -25,7 +25,7 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<h3>目前在审的元数据:</h3> <h3>目前在审的元数据:</h3>
<form action="/review/inreview" method="POST"> <form action="/review/inreview" method="GET">
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" /> <input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" /> <input type="hidden" name="search" value="1" />
<input type="submit" class="btn" value="搜索" /></form> <input type="submit" class="btn" value="搜索" /></form>

View File

@ -6,7 +6,7 @@ $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->headScript()->appendFile('/js/jquery-1.6.4.min.js'); $this->headScript()->appendFile('/js/jquery-1.6.4.min.js');
$this->headScript()->appendFile('/js/jquery.masonry.min.js'); $this->headScript()->appendFile('/js/jquery.masonry.min.js');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">元数据评审</a>'); $this->breadcrumb('<a href="/review">元数据评审</a>');
$this->breadcrumb('我参审的元数据'); $this->breadcrumb('我参审的元数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
?> ?>
@ -27,7 +27,7 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<h3>我参审的元数据:</h3> <h3>我参审的元数据:</h3>
<form action="/review/myreview" method="POST"> <form action="/review/myreview" method="GET">
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" /> <input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" /> <input type="hidden" name="search" value="1" />
<input type="submit" class="btn" value="搜索" /></form> <input type="submit" class="btn" value="搜索" /></form>

View File

@ -24,7 +24,7 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<h3>已经通过审核的元数据:</h3> <h3>已经通过审核的元数据:</h3>
<form action="/review/reviewed" method="POST"> <form action="/review/reviewed" method="GET">
<input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" /> <input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" /> <input type="hidden" name="search" value="1" />
<input type="submit" class="btn" value="搜索" /></form> <input type="submit" class="btn" value="搜索" /></form>