rhymix/modules/document/tpl/category_info.html
ChanMyeong 0634424830 Admin HTML Markup Clean.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9376 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-27 11:22:58 +00:00

70 lines
3.4 KiB
HTML

<input type="hidden" name="category_srl" value="{$category_info->category_srl}" />
<input type="hidden" name="parent_srl" value="{$category_info->parent_srl}" />
<div class="layer boxModelController" style="display:block">
<h3 class="h3">{$lang->category}</h3>
<button class="xButton" type="button" onclick="hideCategoryInfo();return false" ><span>{$lang->cmd_close}</span></button>
<div class="layerBody">
<div class="table">
<table width="100%" border="1" cellspacing="0">
<!--@if($category_info->parent_category_title)-->
<tr>
<th scope="row"><div>{$lang->parent_category_title}</div></th>
<td class="wide">{$category_info->parent_category_title}</td>
</tr>
<!--@end-->
<tr>
<th scope="row"><div>{$lang->category_title}</div></th>
<td>
<input type="text" name="category_title" id="category_name" value="{$category_info->title}" class="inputTypeText" />
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','category_name')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->category_color}</div></th>
<td>
<input type="text" name="category_color" value="{htmlspecialchars($category_info->color)}" class="color-indicator inputTypeText" />
<p>{$lang->about_category_color}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->category_description}</div></th>
<td class="wide">
<textarea name="category_description" id="category_description" class="inputTypeTextArea">{htmlspecialchars($category_info->description)}</textarea>
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','category_description')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<p>{$lang->about_category_description}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->expand}</div></th>
<td>
<input type="checkbox" name="expand" value="Y" <!--@if($category_info->expand=="Y")-->checked="checked"<!--@end--> class="checkbox" />
<p>{$lang->about_expand}</p>
</td>
</tr>
<tr >
<th scope="row2"><div>{$lang->category_group_srls} <input type="checkbox" onclick="XE.checkboxToggleAll('group_srls[]'); return false;" /></div></th>
<td>
<!--@foreach($group_list as $key=>$val)-->
<div><input type="checkbox" name="group_srls[]" value="{$key}" id="group_{$key}" <!--@if(is_array($category_info->group_srls)&&in_array($key, $category_info->group_srls))-->checked="checked"<!--@end--> class="checkbox" /> <label for="group_{$key}">{$val->title}</label></div>
<!--@end-->
<p>{$lang->about_category_group_srls}</p>
</td>
</tr>
</table>
</div>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
</div>
</div>
</div>
<script type="text/javascript">
jQuery(function(){
jQuery('input.color-indicator').xe_colorpicker();
});
</script>