Admin HTML Markup Clean.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9371 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-09-27 09:50:44 +00:00
parent 773c18bde2
commit 12ca869ccd
75 changed files with 2992 additions and 3093 deletions

View file

@ -10,50 +10,48 @@
<input type="hidden" name="act" value="procModuleAdminDeleteCategory" />
<input type="hidden" name="module_category_srl" value="" />
</form>
<table cellspacing="0" class="rowTable">
<thead>
<tr>
<th scope="col" class="wide"><div>{$lang->category_title}</div></th>
<th scope="col"><div>{$lang->regdate}</div></th>
<th scope="col" colspan="2"><div>&nbsp;</div></th>
</tr>
</thead>
<tbody>
<!--@if(!count($category_list))-->
<tr>
<td colspan="4">{$lang->msg_category_is_null}</td>
</tr>
<!--@end-->
<!--@foreach($category_list as $key => $val)-->
<tr>
<td class="wide">{$val->title}</td>
<td class="nowrap">{zdate($val->regdate,"Y-m-d H:i:s")}</td>
<td><a href="{getUrl('module_category_srl',$val->module_category_srl)}" class="buttonSet buttonSetting"><span>{$lang->cmd_modify}</span></a></td>
<td><a href="#" onclick="doUpdateCategory('{$val->module_category_srl}','{$lang->confirm_delete}');return false;" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
</tr>
<!--@end-->
</tbody>
</table>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th scope="col" class="wide">{$lang->category_title}</th>
<th scope="col">{$lang->regdate}</th>
<th scope="col" colspan="2">&nbsp;</th>
</tr>
</thead>
<tbody>
<!--@if(!count($category_list))-->
<tr>
<td colspan="3">{$lang->msg_category_is_null}</td>
</tr>
<!--@end-->
<!--@foreach($category_list as $key => $val)-->
<tr>
<td class="wide">{$val->title}</td>
<td class="nowrap">{zdate($val->regdate,"Y-m-d H:i:s")}</td>
<td>
<a href="{getUrl('module_category_srl',$val->module_category_srl)}">{$lang->cmd_modify}</a>
<button type="button" class="text" onclick="doUpdateCategory('{$val->module_category_srl}','{$lang->confirm_delete}');return false;">{$lang->cmd_delete}</button>
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>
<!-- 카테고리 추가 -->
<form ruleset="insertCategory" action="./" method="post">
<input type="hidden" name="act" value="procModuleAdminInsertCategory" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="module_category_srl" value="" />
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->category_title}</div></th>
<td>
<input type="text" name="title" class="inputTypeText w300" />
</td>
</tr>
<tr class="row2">
<th colspan="2" class="button">
<span class="button strong black"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</th>
</tr>
</table>
<form ruleset="insertCategory" action="./" method="post" class="form">
<input type="hidden" name="act" value="procModuleAdminInsertCategory" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="module_category_srl" value="" />
<ul>
<li>
<p class="q"><label for="category_title">{$lang->category_title}</label></p>
<p class="a"><input type="text" name="title" id="category_title" /></p>
</li>
</ul>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>

View file

@ -4,22 +4,18 @@
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="updateCategory" action="./" method="post" enctype="multipart/form-data">
<input type="hidden" name="act" value="procModuleAdminUpdateCategory" />
<input type="hidden" name="module_category_srl" value="{$selected_category->module_category_srl}" />
<input type="hidden" name="mode" value="update" />
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->category_title}</div></th>
<td><input type="text" name="title" value="{$selected_category->title}" class="inputTypeText w300" /></td>
</tr>
<tr class="row2">
<th colspan="2" class="button">
<span class="button strong black"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</th>
</tr>
</table>
<form ruleset="updateCategory" action="./" method="post" enctype="multipart/form-data" class="form">
<input type="hidden" name="act" value="procModuleAdminUpdateCategory" />
<input type="hidden" name="module_category_srl" value="{$selected_category->module_category_srl}" />
<input type="hidden" name="mode" value="update" />
<ul>
<li>
<p class="q"><label for="category_title">{$lang->category_title}</label></p>
<p class="a"><input type="text" name="title" id="category_title" value="{$selected_category->title}" /></p>
</li>
</ul>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>
<!--@end-->

View file

@ -1,84 +1,76 @@
<load target="js/module_admin.js" usecdn="true" />
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->module_copy}</h3>
</div>
<h1 class="h1">{$lang->module_copy}</h1>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form rule="copyModule" action="./" method="post">
<input type="hidden" name="act" value="procModuleAdminCopyModule" />
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
<div id="popBody">
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->module}</div></th>
<td class="wide">{$module_info->module}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->mid}</div></th>
<td>{$module_info->mid}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->browser_title}</div></th>
<td>{$module_info->browser_title}</td>
</tr>
</table>
<table cellspacing="0" class="rowTable">
<tr>
<th scope="col"><div>{$lang->mid}<div></th>
<th scope="col"><div>{$lang->browser_title}<div></th>
</tr>
<tr class="row2">
<td><input type="text" name="mid_1" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_1" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_2" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_2" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_3" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_3" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_4" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_4" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_5" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_5" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_6" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_6" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_7" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_7" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_8" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_8" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_9" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_9" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_10" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_10" class="inputTypeText w200" /></td>
</tr>
</table>
</div>
<div id="popFooter">
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}" /></span>
</div>
<input type="hidden" name="act" value="procModuleAdminCopyModule" />
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row">{$lang->module}</th>
<td class="wide">{$module_info->module}</td>
</tr>
<tr>
<th scope="row">{$lang->mid}</th>
<td>{$module_info->mid}</td>
</tr>
<tr>
<th scope="row">{$lang->browser_title}</th>
<td>{$module_info->browser_title}</td>
</tr>
</table>
</div>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="col"><div>{$lang->mid}<div></th>
<th scope="col"><div>{$lang->browser_title}<div></th>
</tr>
<tr class="row2">
<td><input type="text" name="mid_1" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_1" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_2" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_2" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_3" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_3" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_4" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_4" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_5" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_5" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_6" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_6" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_7" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_7" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_8" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_8" class="inputTypeText w200" /></td>
</tr>
<tr class="row2">
<td><input type="text" name="mid_9" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_9" class="inputTypeText w200" /></td>
</tr>
<tr>
<td><input type="text" name="mid_10" class="inputTypeText w200" /></td>
<td><input type="text" name="browser_title_10" class="inputTypeText w200" /></td>
</tr>
</table>
</div>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
</div>
</form>

View file

@ -1,61 +1,50 @@
<load target="js/module_admin.js" usecdn="true" />
<script type="text/javascript">
jQuery( function() { jQuery('.grant_default').change( function(event) { doShowGrantZone(); } ); doShowGrantZone() } );
</script>
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->bundle_grant_setup}</h3>
</div>
<h1 class="h1">{$lang->bundle_grant_setup}</h1>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="insertModulesGrant" action="./" method="post" id="fo_obj">
<input type="hidden" name="act" value="procModuleAdminModuleGrantSetup" />
<input type="hidden" name="module_srls" value="{$module_srls}" />
<div id="popBody">
<h4 class="xeAdmin">{$lang->about_grant}</h4>
<p class="summary">{$lang->about_grant_deatil}</p>
<table cellspacing="0" class="crossTable">
<thead>
<tr>
<th scope="col"><div>{$lang->grant}</div></th>
<th scope="col" colspan="3"><div>{$lang->target}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($grant_list as $grant_name => $grant_item)-->
<tr class="row{$cycle_idx}">
<th scope="row"><div>{$grant_item->title}</div></th>
<td class="wide">
<select name="{$grant_name}_default" class="grant_default">
<!--@if($grant_item->default == 'guest')--><option value="0">{$lang->grant_to_all}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-1">{$lang->grant_to_login_user}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-2" <!--@if($default_grant[$grant_name]=='site')-->selected="selected"<!--@end-->>{$lang->grant_to_site_user}</option><!--@end-->
<option value="">{$lang->grant_to_group}</option>
</select>
<div id="zone_{$grant_name}" style="display:none">
<!--@foreach($group_list as $group_srl => $group_item)-->
<input type="checkbox" class="checkbox" name="{$grant_name}" value="{$group_item->group_srl}" id="grant_{$grant_name}_{$group_srl}" />
<label for="grant_{$grant_name}_{$group_srl}">{$group_item->title}</label>
<!--@end-->
</div>
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>
<div id="popFooter">
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>
<input type="hidden" name="act" value="procModuleAdminModuleGrantSetup" />
<input type="hidden" name="module_srls" value="{$module_srls}" />
<h2 class="h2">{$lang->about_grant}</h2>
<p>{$lang->about_grant_deatil}</p>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th scope="col">{$lang->grant}</th>
<th scope="col" colspan="3">{$lang->target}</th>
</tr>
</thead>
<tbody>
<!--@foreach($grant_list as $grant_name => $grant_item)-->
<tr class="row{$cycle_idx}">
<th scope="row">{$grant_item->title}</th>
<td class="wide">
<select name="{$grant_name}_default" class="grant_default">
<!--@if($grant_item->default == 'guest')--><option value="0">{$lang->grant_to_all}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-1">{$lang->grant_to_login_user}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-2" <!--@if($default_grant[$grant_name]=='site')-->selected="selected"<!--@end-->>{$lang->grant_to_site_user}</option><!--@end-->
<option value="">{$lang->grant_to_group}</option>
</select>
<div id="zone_{$grant_name}" style="display:none">
<!--@foreach($group_list as $group_srl => $group_item)-->
<input type="checkbox" class="checkbox" name="{$grant_name}" value="{$group_item->group_srl}" id="grant_{$grant_name}_{$group_srl}" />
<label for="grant_{$grant_name}_{$group_srl}">{$group_item->title}</label>
<!--@end-->
</div>
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>
</form>

View file

@ -9,65 +9,69 @@
<input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="admin_member" value="<!--@foreach($admin_member as $key => $val)-->{$val->user_id},<!--@end-->" />
<h4 class="xeAdmin">{$lang->about_admin_id}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row" rowspan="2"><div>{$lang->admin_id}</div></th>
<td class="wide">
<select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}" class="w200">
<!--@foreach($admin_member as $key => $val)-->
<option value="{$val->user_id}">{$val->nick_name} ({$val->user_id})</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th class="wide">
<input type="text" name="admin_id" class="inputTypeText w100" />
<span class="button black strong"><button type="button" onclick="doInsertAdmin()">{$lang->cmd_insert}</button></span>
<span class="button"><button type="button" onclick="doDeleteAdmin()">{$lang->cmd_delete}</button></span>
</th>
</tr>
</table>
<h3 class="h3">{$lang->about_admin_id}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row" rowspan="2">{$lang->admin_id}</th>
<td class="wide">
<select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}" class="w200">
<!--@foreach($admin_member as $key => $val)-->
<option value="{$val->user_id}">{$val->nick_name} ({$val->user_id})</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th class="wide">
<input type="text" name="admin_id" class="inputTypeText w100" />
<span class="button black strong"><button type="button" onclick="doInsertAdmin()">{$lang->cmd_insert}</button></span>
<span class="button"><button type="button" onclick="doDeleteAdmin()">{$lang->cmd_delete}</button></span>
</th>
</tr>
</table>
</div>
<h4 class="xeAdmin">{$lang->about_grant}</h4>
<p class="summary">{$lang->about_grant_deatil}</p>
<table cellspacing="0" class="crossTable">
<thead>
<tr>
<th scope="col"><div>{$lang->grant}</div></th>
<th scope="col" colspan="3"><div>{$lang->target}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($grant_list as $grant_name => $grant_item)-->
<tr class="row{$cycle_idx}">
<th scope="row"><div>{$grant_item->title}</div></th>
<td class="wide">
<select name="{$grant_name}_default" class="grant_default">
<!--@if($grant_item->default == 'guest')--><option value="0" <!--@if($default_grant[$grant_name]=='all')-->selected="selected"<!--@end-->>{$lang->grant_to_all}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-1" <!--@if($default_grant[$grant_name]=='member')-->selected="selected"<!--@end-->>{$lang->grant_to_login_user}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-2" <!--@if($default_grant[$grant_name]=='site')-->selected="selected"<!--@end-->>{$lang->grant_to_site_user}</option><!--@end-->
<option value="" <!--@if($default_grant[$grant_name]=='group')-->selected="selected"<!--@end-->>{$lang->grant_to_group}</option>
</select>
<div id="zone_{$grant_name}" style="display:none">
<!--@foreach($group_list as $group_srl => $group_item)-->
<input type="checkbox" class="checkbox" name="{$grant_name}" value="{$group_item->group_srl}" id="grant_{$grant_name}_{$group_srl}" <!--@if(is_array($selected_group[$grant_name])&&in_array($group_srl,$selected_group[$grant_name]))-->checked="checked"<!--@end-->/>
<label for="grant_{$grant_name}_{$group_srl}">{$group_item->title}</label>
<!--@end-->
</div>
</td>
</tr>
<!--@end-->
<tr>
<th class="button" colspan="2">
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}" accesskey="s" /></span>
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="history.back(); return false;" /></span>
</th>
</tr>
</tbody>
</table>
<h3 class="h3">{$lang->about_grant}</h3>
<p>{$lang->about_grant_deatil}</p>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th scope="col">{$lang->grant}</th>
<th scope="col" colspan="3">{$lang->target}</th>
</tr>
</thead>
<tbody>
<!--@foreach($grant_list as $grant_name => $grant_item)-->
<tr class="row{$cycle_idx}">
<th scope="row">{$grant_item->title}</th>
<td class="wide">
<select name="{$grant_name}_default" class="grant_default">
<!--@if($grant_item->default == 'guest')--><option value="0" <!--@if($default_grant[$grant_name]=='all')-->selected="selected"<!--@end-->>{$lang->grant_to_all}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-1" <!--@if($default_grant[$grant_name]=='member')-->selected="selected"<!--@end-->>{$lang->grant_to_login_user}</option><!--@end-->
<!--@if($grant_item->default != 'manager')--><option value="-2" <!--@if($default_grant[$grant_name]=='site')-->selected="selected"<!--@end-->>{$lang->grant_to_site_user}</option><!--@end-->
<option value="" <!--@if($default_grant[$grant_name]=='group')-->selected="selected"<!--@end-->>{$lang->grant_to_group}</option>
</select>
<div id="zone_{$grant_name}" style="display:none">
<!--@foreach($group_list as $group_srl => $group_item)-->
<input type="checkbox" class="checkbox" name="{$grant_name}" value="{$group_item->group_srl}" id="grant_{$grant_name}_{$group_srl}" <!--@if(is_array($selected_group[$grant_name])&&in_array($group_srl,$selected_group[$grant_name]))-->checked="checked"<!--@end-->/>
<label for="grant_{$grant_name}_{$group_srl}">{$group_item->title}</label>
<!--@end-->
</div>
</td>
</tr>
<!--@end-->
<tr>
<th class="button" colspan="2">
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}" accesskey="s" /></span>
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="history.back(); return false;" /></span>
</th>
</tr>
</tbody>
</table>
</div>
</form>

View file

@ -1,16 +1,12 @@
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->module_maker}</h3>
</div>
<div id="popBody">
<table cellspacing="0" class="rowTable">
<h1 class="h1">{$lang->module_maker}</h1>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row"><div>{$lang->title}</div></th>
<th scope="row">{$lang->title}</th>
<td>{$module_info->title} ver {$module_info->version}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->author}</div></th>
<th scope="row">{$lang->author}</th>
<td class="blue">
<!--@foreach($module_info->author as $author)-->
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
@ -19,17 +15,17 @@
</tr>
<!--@if($module_info->homepage)-->
<tr>
<th scope="row"><div>{$lang->homepage}</div></th>
<th scope="row">{$lang->homepage}</th>
<td class="blue"><a href="{$module_info->homepage}" onclick="window.open(this.href);return false;">{$module_info->homepage}</a></td>
</tr>
<!--@endif-->
<tr>
<th scope="row"><div>{$lang->regdate}</div></th>
<th scope="row">{$lang->regdate}</th>
<td>{zdate($module_info->date, 'Y-m-d')}</td>
</tr>
<!--@if($module_info->license || $module_info->license_link)-->
<tr>
<th scope="row"><div>{$lang->module_license}</div></th>
<th scope="row">{$lang->module_license}</th>
<td>
{nl2br(trim($module_info->license))}
<!--@if($module_info->license_link)-->
@ -39,21 +35,18 @@
</tr>
<!--@endif--><!--@if($module_info->description)-->
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<th scope="row">{$lang->description}</th>
<td>{nl2br(trim($module_info->description))}</td>
</tr>
<!--@endif-->
</table>
</div>
<!--@if($module_info->history)-->
<div id="popHistoryHeadder">
<h3 class="xeAdmin">{$lang->module_history}</h3>
</div>
<h1 class="h1">{$lang->module_history}</h1>
<div id="popHistoryBody">
<table cellspacing="0" class="rowTable">
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="100" />
<col />

View file

@ -1,81 +1,76 @@
<load target="./js/module_admin.js" usecdn="true" />
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->bundle_setup}</h3>
</div>
<h1 class="h1">{$lang->bundle_setup}</h1>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="insertModuleSetup" action="./" method="post" enctype="multipart/form-data">
<input type="hidden" name="act" value="procModuleAdminModuleSetup" />
<input type="hidden" name="module_srls" value="{$module_srls}" />
<div id="popBody">
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->module_category}</div></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="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<p>{$lang->about_module_category}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->layout}</div></th>
<td>
<select name="layout_srl">
<option value="0">{$lang->notuse}</option>
<!--@foreach($layout_list as $key => $val)-->
<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
<!--@end-->
</select>
<p>{$lang->about_layout}</p>
</td>
</tr>
<!--@if(count($skin_list))-->
<tr>
<th scope="row"><div>{$lang->skin}</div></th>
<td>
<select name="skin">
<!--@foreach($skin_list as $key=>$val)-->
<option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='xe_board'))-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<p>{$lang->about_skin}</p>
</td>
</tr>
<!--@end-->
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<td>
<textarea name="description" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->description)}</textarea>
<p>{$lang->about_description}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->header_text}</div></th>
<td>
<textarea name="header_text" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->header_text)}</textarea>
<p>{$lang->about_header_text}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->footer_text}</div></th>
<td>
<textarea name="footer_text" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->footer_text)}</textarea>
<p>{$lang->about_footer_text}</p>
</td>
</tr>
</table>
</div>
<div id="popFooter" class="tCenter gap1">
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>
<input type="hidden" name="act" value="procModuleAdminModuleSetup" />
<input type="hidden" name="module_srls" value="{$module_srls}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row">{$lang->module_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="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<p>{$lang->about_module_category}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->layout}</th>
<td>
<select name="layout_srl">
<option value="0">{$lang->notuse}</option>
<!--@foreach($layout_list as $key => $val)-->
<option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
<!--@end-->
</select>
<p>{$lang->about_layout}</p>
</td>
</tr>
<!--@if(count($skin_list))-->
<tr>
<th scope="row">{$lang->skin}</th>
<td>
<select name="skin">
<!--@foreach($skin_list as $key=>$val)-->
<option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='xe_board'))-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<p>{$lang->about_skin}</p>
</td>
</tr>
<!--@end-->
<tr>
<th scope="row">{$lang->description}</th>
<td>
<textarea name="description" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->description)}</textarea>
<p>{$lang->about_description}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->header_text}</th>
<td>
<textarea name="header_text" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->header_text)}</textarea>
<p>{$lang->about_header_text}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->footer_text}</th>
<td>
<textarea name="footer_text" class="inputTypeTextArea fixWidth">{htmlspecialchars($module_info->footer_text)}</textarea>
<p>{$lang->about_footer_text}</p>
</td>
</tr>
</table>
</div>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>
</form>

View file

@ -1,150 +1,150 @@
<form action="{Context::getRequestUri()}" method="post" enctype="multipart/form-data" target="hidden_iframe">
<input type="hidden" name="module" value="module" />
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="procModuleAdminUpdateSkinInfo" />
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="module" value="module" />
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="procModuleAdminUpdateSkinInfo" />
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
<input type="hidden" name="page" value="{$page}" />
<h3 class="h3">{$lang->skin_default_info}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row">{$lang->skin}</th>
<td class="wide" >{$skin_info->title}</td>
</tr>
<tr>
<th scope="row">{$lang->skin_author}</th>
<td>
<!--@foreach($skin_info->author as $author)-->
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
<!--@endforeach-->
</td>
</tr>
<!--@if($skin_info->homepage)-->
<tr>
<th scope="row">{$lang->homepage}</th>
<td><a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a></td>
</tr><!--@end-->
<tr>
<th scope="row">{$lang->date}</th>
<td>{zdate($skin_info->date, 'Y-m-d')}&nbsp;</td>
</tr>
<!--@if($skin_info->license || $skin_info->license_link)-->
<tr>
<th scope="row">{$lang->skin_license}</th>
<td>
{nl2br(trim($skin_info->license))}
<!--@if($skin_info->license_link)-->
<p><a href="{$skin_info->license_link}" onclick="window.close(); return false;">{$skin_info->license_link}</a></p>
<!--@end-->
</td>
</tr><!--@end-->
<!--@if($skin_info->description)-->
<tr>
<th scope="row">{$lang->description}</th>
<td>{nl2br(trim($skin_info->description))}</td>
</tr><!--@end-->
</table>
</div>
<h4 class="xeAdmin">{$lang->skin_default_info}</h4>
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->skin}</div></th>
<td class="wide" >{$skin_info->title}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->skin_author}</div></th>
<td>
<!--@foreach($skin_info->author as $author)-->
{$author->name} <!--@if($author->homepage || $author->email_address)-->(<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a><!--@end--><!--@if($author->homepage && $author->email_address)-->, <!--@end--><!--@if($author->email_address)--><a href="mailto:{$author->email_address}">{$author->email_address}</a><!--@end-->)<!--@end--><br />
<!--@endforeach-->
</td>
</tr>
<!--@if($skin_info->homepage)-->
<tr>
<th scope="row"><div>{$lang->homepage}</div></th>
<td><a href="{$skin_info->homepage}" onclick="window.open(this.href);return false;">{$skin_info->homepage}</a></td>
</tr><!--@end-->
<tr>
<th scope="row"><div>{$lang->date}</div></th>
<td>{zdate($skin_info->date, 'Y-m-d')}&nbsp;</td>
</tr>
<!--@if($skin_info->license || $skin_info->license_link)-->
<tr>
<th scope="row"><div>{$lang->skin_license}</div></th>
<td>
{nl2br(trim($skin_info->license))}
<!--@if($skin_info->license_link)-->
<p><a href="{$skin_info->license_link}" onclick="window.close(); return false;">{$skin_info->license_link}</a></p>
<!--@end-->
</td>
</tr><!--@end-->
<!--@if($skin_info->description)-->
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<td>{nl2br(trim($skin_info->description))}</td>
</tr><!--@end-->
</table>
<h4 class="xeAdmin">{$lang->extra_vars}</h4>
<table cellspacing="0" class="rowTable">
<tr valign="top">
<th scope="row"><div>{$lang->colorset}</div></th>
<td class="wide">
<!--@foreach($skin_info->colorset as $key => $val)-->
<!--@if($val->screenshot)-->
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
<!--@else-->
{@ $_width = 200; $_height = 20; $_talign = "left"; }
<!--@end-->
<div style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
<input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" <!--@if($skin_vars['colorset']->value==$val->name)-->checked="checked"<!--@end-->/>
<label for="colorset_{$key}">{$val->title}</label>
<!--@if($val->screenshot)-->
<br />
<img src="../../../{$val->screenshot}" alt="{$val->title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
<!--@end-->
</div>
<!--@end-->
</td>
</tr>
<!--@foreach($skin_info->extra_vars as $key => $val)-->
<!--@if($val->group && ((!$group) || $group != $val->group))-->
{@$group = $val->group}
</table>
<h4 class="xeAdmin">{$group}</h4>
<table cellspacing="0" class="rowTable">
<h3 class="h3">{$lang->extra_vars}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr valign="top">
<th scope="row"><div>{$lang->colorset}</div></th>
<td class="wide">
<!--@foreach($skin_info->colorset as $key => $val)-->
<!--@if($val->screenshot)-->
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
<!--@else-->
{@ $_width = 200; $_height = 20; $_talign = "left"; }
<!--@end-->
<div style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
<input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" <!--@if($skin_vars['colorset']->value==$val->name)-->checked="checked"<!--@end-->/>
<label for="colorset_{$key}">{$val->title}</label>
<!--@if($val->screenshot)-->
<br />
<img src="../../../{$val->screenshot}" alt="{$val-&gt;title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
<!--@end-->
</div>
<!--@end-->
</td>
</tr>
<!--@foreach($skin_info->extra_vars as $key => $val)-->
<!--@if($val->group && ((!$group) || $group != $val->group))-->
{@$group = $val->group}
</table>
</div>
<h3 class="h3">{$group}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<!--@end-->
<tr>
<th scope="row"><div>{$val->title}</div></th>
<td class="wide">
<!--@if($val->type=="text")-->
<input type="text" name="{$val->name}" value="{$val->value}" id="target{$val->name}" class="inputTypeText w400" />
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','target'.$val->name)}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<!--@elseif($val->type=="textarea")-->
<textarea name="{$val->name}" class="inputTypeTextArea w400" id="target{$val->name}">{$val->value}</textarea>
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','target'.$val->name)}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<!--@elseif($val->type=="select")-->
<select name="{$val->name}">
<!--@foreach($val->options as $k=>$v)-->
<option value="{$v->value}" <!--@if($v->value == $val->value)-->selected="selected"<!--@end-->>{$v->title}</option>
<!--@end-->
</select>
<!--@elseif($val->type=="checkbox")-->
<!--@foreach($val->options as $k=>$v)-->
<span>
<input type="checkbox" name="{$val->name}[]" value="{$v->value}" id="ch_{$key}_{$k}" <!--@if(in_array($v->value, $val->value))-->checked="checked"<!--@end--> class="checkbox" />
<label for="ch_{$key}_{$k}">{$v->value}</label>
</span>
<!--@end-->
<!--@elseif($val->type=="radio")-->
<!--@foreach($val->options as $k=>$v)-->
<span>
<input type="radio" name="{$val->name}" value="{$v->value}" id="ch_{$key}_{$k}" <!--@if($v->value==$val->value)-->checked="checked"<!--@end-->/>
<label for="ch_{$key}_{$k}">{$v->value}</label>
</span>
<!--@end-->
<!--@elseif($val->type=="image")-->
<!--@if($val->value)-->
<div>
<img src="{$val->value}" /><br />
<input type="checkbox" name="del_{$val->name}" value="Y" id="del_{$val->name}" class="checkbox" />
<label for="del_{$val->name}">{$lang->cmd_delete}</label>
</div>
<!--@end-->
<input type="file" name="{$val->name}" value="" />
<!--@end-->
<!--@if($val->description)-->
<p>{nl2br(trim($val->description))}</p>
<!--@end-->
</td>
</tr>
<!--@end-->
<!--@if($group)-->
</table>
</div>
<!--@end-->
<tr>
<th scope="row"><div>{$val->title}</div></th>
<td class="wide">
<!--@if($val->type=="text")-->
<input type="text" name="{$val->name}" value="{$val->value}" id="target{$val->name}" class="inputTypeText w400" />
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','target'.$val->name)}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<!--@elseif($val->type=="textarea")-->
<textarea name="{$val->name}" class="inputTypeTextArea w400" id="target{$val->name}">{$val->value}</textarea>
<a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','target'.$val->name)}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
<!--@elseif($val->type=="select")-->
<select name="{$val->name}">
<!--@foreach($val->options as $k=>$v)-->
<option value="{$v->value}" <!--@if($v->value == $val->value)-->selected="selected"<!--@end-->>{$v->title}</option>
<!--@end-->
</select>
<!--@elseif($val->type=="checkbox")-->
<!--@foreach($val->options as $k=>$v)-->
<span>
<input type="checkbox" name="{$val->name}[]" value="{$v->value}" id="ch_{$key}_{$k}" <!--@if(in_array($v->value, $val->value))-->checked="checked"<!--@end--> class="checkbox" />
<label for="ch_{$key}_{$k}">{$v->value}</label>
</span>
<!--@end-->
<!--@elseif($val->type=="radio")-->
<!--@foreach($val->options as $k=>$v)-->
<span>
<input type="radio" name="{$val->name}" value="{$v->value}" id="ch_{$key}_{$k}" <!--@if($v->value==$val->value)-->checked="checked"<!--@end-->/>
<label for="ch_{$key}_{$k}">{$v->value}</label>
</span>
<!--@end-->
<!--@elseif($val->type=="image")-->
<!--@if($val->value)-->
<div>
<img src="{$val->value}" /><br />
<input type="checkbox" name="del_{$val->name}" value="Y" id="del_{$val->name}" class="checkbox" />
<label for="del_{$val->name}">{$lang->cmd_delete}</label>
</div>
<!--@end-->
<input type="file" name="{$val->name}" value="" />
<!--@end-->
<!--@if($val->description)-->
<p>{nl2br(trim($val->description))}</p>
<!--@end-->
</td>
</tr>
<!--@end-->
<!--@if($group)-->
</table>
<table cellspacing="0" class="rowTable">
<!--@end-->
<tr>
<th colspan="2" class="button">
<span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</th>
</tr>
</table>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>
</form>
<iframe name="hidden_iframe" frameborder="0" style="display:none"></iframe>

View file

@ -1,10 +1,7 @@
<load target="../../admin/tpl/css/admin.css" usecdn="true" />
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$skin_info->title}</h3>
</div>
<div id="popBody">
<table cellspacing="0" class="rowTable">
<h1 class="h1">{$skin_info->title}</h1>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="100" />
<col />
<tr>
@ -50,12 +47,9 @@
</div>
<!--@if($skin_info->history)-->
<div id="popHistoryHeadder">
<h3 class="xeAdmin">{$lang->skin_history}</h3>
</div>
<div id="popHistoryBody">
<table cellspacing="0" class="rowTable">
<h1 class="h1">{$lang->skin_history}</h1>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="100" />
<col />