mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1248 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
73c940af39
commit
4a60415cab
5 changed files with 18 additions and 14 deletions
|
|
@ -581,7 +581,7 @@
|
|||
$category_srl,
|
||||
$group_check_code,
|
||||
$name,
|
||||
sprintf('./?mid=%s&category=%d', $this->module_info->mid, $category_srl),
|
||||
sprintf('mid=%s&category=%d', $this->module_info->mid, $category_srl),
|
||||
$expand
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -94,6 +94,13 @@
|
|||
foreach($category_list as $key => $val) {
|
||||
$this->category_list[$val->category_srl] = $val;
|
||||
}
|
||||
Context::set('category_list', $this->category_list);
|
||||
}
|
||||
|
||||
$category_srl = Context::get('category');
|
||||
if($this->category_list[$category_srl]) {
|
||||
$this->category_srl = $category_srl;
|
||||
Context::set('zbxe_url', sprintf("mid=%s&category=%d", $this->module_info->mid, $this->category_srl));
|
||||
}
|
||||
|
||||
Context::set('module_info',$this->module_info);
|
||||
|
|
@ -154,9 +161,7 @@
|
|||
// 검색 옵션
|
||||
$args->search_target = Context::get('search_target'); ///< 검색 대상 (title, contents...)
|
||||
$args->search_keyword = Context::get('search_keyword'); ///< 검색어
|
||||
|
||||
$category_srl = Context::get('category');
|
||||
if($this->category_list[$category_srl]) $args->category_srl = $category_srl;
|
||||
$args->category_srl = $this->category_srl;
|
||||
|
||||
$args->sort_index = 'list_order'; ///< 소팅 값
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<select name="category_srl" >
|
||||
<option value="">{$lang->category}</option>
|
||||
<!--@foreach($category_list as $val)-->
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl||$val->category_srl==$document->category_srl)-->selected="true"<!--@end-->>{$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
|
||||
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl||$val->category_srl==$document->category_srl)-->selected="true"<!--@end-->>{$val->name}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue