mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix undefined variable warning in trash view screen
This commit is contained in:
parent
c29a603d7c
commit
37745f4717
2 changed files with 4 additions and 3 deletions
|
|
@ -129,10 +129,10 @@ var no_text_comment = '{$lang->no_text_comment}';
|
|||
<input type="hidden" name="error_return_url" value="" />
|
||||
<select name="search_target" title="{$lang->search_target}" style="margin-right:4px">
|
||||
<!--@foreach($lang->search_target_trash_list as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<option value="{$key}" selected="selected"|cond="isset($search_target) && $search_target == $key">{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<input type="search" name="search_keyword" value="{htmlspecialchars($search_keyword, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)}" title="{$lang->cmd_search}" />
|
||||
<input type="search" name="search_keyword" value="{escape($search_keyword ?? '', false)}" title="{$lang->cmd_search}" />
|
||||
<button type="submit" class="x_btn x_btn-inverse">{$lang->cmd_search}</button>
|
||||
<a href="{getUrl('','module',$module,'act',$act)}" class="x_btn">{$lang->cmd_cancel}</a>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ class TrashAdminView extends Trash
|
|||
$oTrashModel = getModel('trash');
|
||||
$output = $oTrashModel->getTrashList($args);
|
||||
|
||||
Context::set('originModule', strval($args->originModule));
|
||||
Context::set('trash_list', $output->data);
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue