mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Remove unnecessary procFilter() from search forms
This commit is contained in:
parent
7160b1aa58
commit
80eb973615
3 changed files with 8 additions and 9 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<div class="hx h2">
|
||||
<h2><a href="{getUrl('','vid',$vid,'mid',$mid)}">{$module_info->browser_title}</a> <em>[{number_format($total_count)}]</em></h2>
|
||||
<h2><a href="{getUrl('','mid',$mid)}">{$module_info->browser_title}</a> <em>[{number_format($total_count)}]</em></h2>
|
||||
<!--@if($module_info->use_category == "Y")--><a href="{getUrl('page','','act','dispBoardCategory','')}" class="ca">{$lang->category}</a><!--@endif-->
|
||||
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="write">{$lang->cmd_write}</a>
|
||||
</div>
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
</ul>
|
||||
<div class="pn">
|
||||
<!--@if($page != 1)-->
|
||||
<a href="{getUrl('page',$page-1,'document_srl','','division',$division,'last_division',$last_division,'entry','')}" class="prev">{$lang->cmd_prev}</a>
|
||||
<a href="{getUrl('page',$page-1,'document_srl','','division',$division,'last_division',$last_division,'entry','')}" class="prev">{$lang->cmd_prev}</a>
|
||||
<!--@endif-->
|
||||
<strong>{$page} / {$page_navigation->last_page}</strong>
|
||||
<!--@if($page != $page_navigation->last_page)-->
|
||||
|
|
@ -31,16 +31,15 @@
|
|||
<!--@endif-->
|
||||
</div>
|
||||
<div class="sh">
|
||||
<form action="{getUrl()}" method="get">
|
||||
<input type="hidden" name="vid" value="{$vid}" />
|
||||
<form action="{getUrl()}" method="get" rx-autoform="false">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="category" value="{$category}" />
|
||||
<input type="hidden" name="category" value="{$category ?? ''}" />
|
||||
<select name="search_target">
|
||||
<!--@foreach($search_option as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<option value="{$key}" selected="selected"|cond="($search_target ?? '') == $key">{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<input type="search" name="search_keyword" value="{escape($search_keyword, false)}" title="{$lang->cmd_search}" />
|
||||
<input type="search" name="search_keyword" value="{escape($search_keyword ?? '', false)}" title="{$lang->cmd_search}" />
|
||||
<button type="submit" class="shbn" title="{$lang->cmd_search}"></button>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@
|
|||
<a cond="$grant->manager" href="{getUrl('','mid',$mid,'act','dispDocumentManageDocument')}" class="btn" onclick="popopen(this.href,'manageDocument'); return false;">{$lang->cmd_manage_document}</a>
|
||||
</div>
|
||||
<button type="button" class="bsToggle" title="{$lang->cmd_search}">{$lang->cmd_search}</button>
|
||||
<form cond="$grant->view" action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="board_search" class="board_search" no-error-return-url="true">
|
||||
<form cond="$grant->view" action="{getUrl()}" method="get" id="board_search" class="board_search" rx-autoform="false">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="category" value="{$category}" />
|
||||
<input type="text" name="search_keyword" value="{escape($search_keyword, false)}" title="{$lang->cmd_search}" class="iText" />
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@
|
|||
<a cond="$grant->manager" href="{getUrl('','mid',$mid,'act','dispDocumentManageDocument')}" class="btn" onclick="popopen(this.href,'manageDocument'); return false;">{$lang->cmd_manage_document}</a>
|
||||
</div>
|
||||
|
||||
<form cond="$grant->view" action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="board_search" class="board_search" no-error-return-url="true">
|
||||
<form cond="$grant->view" action="{getUrl()}" method="get" id="board_search" class="board_search" rx-autoform="false">
|
||||
<input type="hidden" name="mid" value="{$mid}" />
|
||||
<input type="hidden" name="category" value="{$category ?? ''}" />
|
||||
<select name="search_target">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue