mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Add search function to member's document and comment list
This commit is contained in:
parent
180b6668db
commit
2238679527
12 changed files with 138 additions and 35 deletions
|
|
@ -9,10 +9,21 @@
|
|||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<form class="search" action="{Context::getRequestUri()}" method="get" no-error-return-url="true">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="act" value="{$act}" />
|
||||
<select name="search_target" title="{$lang->search_target}">
|
||||
<option value="title" selected="selected"|cond="$search_target == 'title'">{$lang->title}</option>
|
||||
<option value="title_content" selected="selected"|cond="$search_target == 'title_content'">{$lang->title_content}</option>
|
||||
<option value="content" selected="selected"|cond="$search_target == 'content'">{$lang->content}</option>
|
||||
</select>
|
||||
<input type="search" name="search_keyword" value="{escape($search_keyword, false)}">
|
||||
<button type="submit">{$lang->cmd_search}</button>
|
||||
</form>
|
||||
<div class="pn">
|
||||
<a cond="$page != 1" href="{getUrl('page',$page-1,'module_srl','','document_srl','')}" class="prev">{$lang->cmd_prev}</a>
|
||||
<strong>{$page} / {$page_navigation->last_page}</strong>
|
||||
<a cond="$page != $page_navigation->last_page" href="{getUrl('page',$page+1,'module_srl','','document_srl','')}" class="next">{$lang->cmd_next}</a>
|
||||
</div>
|
||||
</div>
|
||||
<include target="./common_footer.html" />
|
||||
<include target="./common_footer.html" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue