git-svn-id: http://xe-core.googlecode.com/svn/trunk@381 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-13 01:01:30 +00:00
parent 6bc4697406
commit 1a0f41adcd
12 changed files with 188 additions and 51 deletions

View file

@ -1,6 +1,16 @@
<!--#include("header.html")-->
<table>
<tr>
<th>{$lang->category}</th>
<td>
<!--@if(!$module_info->module_category_srl)-->
{$lang->not_exists}
<!--@else-->
{$module_category[$module_info->module_category_srl]->title}
<!--@end-->
</td>
</tr>
<tr>
<th>{$lang->layout}</th>
<td>

View file

@ -27,6 +27,20 @@
<tr>
<td>{$lang->about_mid}</td>
</tr>
<tr>
<th rowspan="2">{$lang->category}</th>
<td>
<select name="module_category_srl">
<option value="0">{$lang->notuse}</option>
<!--@foreach($module_category as $key => $val)-->
<option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="true"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<td>{$lang->about_category}</td>
</tr>
<tr>
<th rowspan="2">{$lang->browser_title}</th>
<td><input type="text" name="browser_title" value="{$module_info->browser_title}" /></td>

View file

@ -8,6 +8,7 @@
<parameter>
<param name="board_name" target="mid" />
<param name="module_srl" target="module_srl" />
<param name="module_category_srl" target="module_category_srl" />
<param name="layout_srl" target="layout_srl" />
<param name="skin" target="skin" />
<param name="browser_title" target="browser_title" />

View file

@ -14,6 +14,16 @@
<table>
<tr>
<th>{$lang->no}</th>
<th>
<form action="./" method="get">
<select name="category" onchange="doChangeCategory(this, '{getUrl('module_category_srl','')}')" >
<option value="">{$lang->category}</option>
<!--@foreach($module_category as $key => $val)-->
<option value="{$key}" <!--@if($module_category_srl==$key)-->selected="true"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</form>
</th>
<th>{$lang->mid}</th>
<th>{$lang->browser_title}</th>
<th>{$lang->is_default}</th>
@ -26,6 +36,13 @@
<!--@foreach($board_list as $no => $val)-->
<tr>
<td>{$no}</td>
<td>
<!--@if(!$val->module_category_srl)-->
{$lang->not_exists}
<!--@else-->
{$module_category[$val->module_category_srl]->title}
<!--@end-->
</td>
<td><a href="{getUrl('act','dispAdminBoardInfo','module_srl',$val->module_srl)}">{$val->mid}</a></td>
<td>{$val->browser_title}</td>
<td>{$val->is_default}</td>

View file

@ -91,3 +91,9 @@ function completeInsertGrant(ret_obj) {
location.href = url;
}
/* 카테고리 이동 */
function doChangeCategory(sel_obj, url) {
var module_category_srl = sel_obj.options[sel_obj.selectedIndex].value;
if(!module_category_srl) location.href=url;
else location.href=url+'&module_category_srl='+module_category_srl;
}