관리자 페이지 패키지별 UI 적용을 위한 1차 작업 마무리

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-10-15 11:10:08 +00:00
parent 856ab513ec
commit ba4e9e26e2
248 changed files with 3520 additions and 3424 deletions

View file

@ -45,15 +45,14 @@
<version>0.1</version>
<date>2007-07-26</date>
<category>accessory</category>
<link>http://www.zeroboard.com</link>
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com">
<name xml:lang="ko">제로</name>
<name xml:lang="zh-CN">Zero</name>
<name xml:lang="jp">Zero</name>
<author email_address="zero@zeroboard.com" link="blog.nzeo.com">
<name xml:lang="ko">zero</name>
<name xml:lang="zh-CN">zero</name>
<name xml:lang="jp">zero</name>
<name xml:lang="en">zero</name>
<name xml:lang="es">zero</name>
<name xml:lang="ru">zero</name>
<name xml:lang="zh-TW">zero</name>
</author>
</module>
</module>

View file

@ -4,42 +4,41 @@
<form action="./" method="get" onsubmit="return procFilter(this, insert_act_config);" id="fo_point">
<div class="infoText">{$lang->about_act_config}</div>
<table cellspacing="0" class="tableType2 gap1">
<col width="200" />
<col />
<table cellspacing="0" class="tableType2 topGap">
<tr>
<th>{$lang->point_insert_document}</th>
<th><div>{$lang->point_insert_document}</div></th>
<td><input type="text" name="insert_document_act" value="{$config->insert_document_act}" class="inputTypeText w100" /></td>
</tr>
<tr>
<th>{$lang->point_delete_document}</th>
<tr class="row2">
<th><div>{$lang->point_delete_document}</div></th>
<td><input type="text" name="delete_document_act" value="{$config->delete_document_act}" class="inputTypeText w100" /></td>
</tr>
<tr>
<th>{$lang->point_insert_comment}</th>
<th><div>{$lang->point_insert_comment}</div></th>
<td><input type="text" name="insert_comment_act" value="{$config->insert_comment_act}" class="inputTypeText w100" /></td>
</tr>
<tr>
<th>{$lang->point_delete_comment}</th>
<tr class="row2">
<th><div>{$lang->point_delete_comment}</div></th>
<td><input type="text" name="delete_comment_act" value="{$config->delete_comment_act}" class="inputTypeText w100" /></td>
</tr>
<tr>
<th>{$lang->point_upload_file}</th>
<th><div>{$lang->point_upload_file}</div></th>
<td><input type="text" name="upload_file_act" value="{$config->upload_file_act}" class="inputTypeText w100" /></td>
</tr>
<tr>
<th>{$lang->point_delete_file}</th>
<tr class="row2">
<th><div>{$lang->point_delete_file}</div></th>
<td><input type="text" name="delete_file_act" value="{$config->delete_file_act}" class="inputTypeText w100" /></td>
</tr>
<tr>
<th>{$lang->point_download_file}</th>
<th><div>{$lang->point_download_file}</div></th>
<td><input type="text" name="download_file_act" value="{$config->download_file_act}" class="inputTypeText w100" /></td>
</tr>
<tr class="row2">
<td colspan="2" class="right">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</td>
</tr>
</table>
<!-- 버튼 -->
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>

View file

@ -3,88 +3,77 @@
<form action="./" method="get" onsubmit="return procFilter(this, insert_config);">
<div class="adminLeftContent">
<table cellspacing="0" class="adminTable">
<col width="180" />
<col width="120" />
<col width="120" />
<col />
<caption>{$lang->cmd_point_recal}</caption>
<tr>
<th scope="col">{$lang->cmd_point_recal}</th>
<td colspan="3">
<span class="button"><input type="button" value="{$lang->cmd_point_recal}" onclick="doPointRecal(); return false;"/></span>
<td>
<p>{$lang->about_cmd_point_recal}</p>
<div id="pointReCal"></div>
<p id="pointReCal"></p>
<span class="button"><input type="button" value="{$lang->cmd_point_recal}" onclick="doPointRecal(); return false;"/></span>
</td>
</tr>
<tr>
<th scope="col" rowspan="{(count($group_list)+2)}">{$lang->point_link_group}</th>
<th colspan="2">{$lang->group}</th>
<th>{$lang->level}</th>
</tr>
<!--@foreach($group_list as $key => $val)-->
<tr>
<td colspan="2">{$val->title}</td>
<td><input type="text" class="inputTypeText w80" value="{$config->point_group[$key]}" name="point_group_{$key}" /></td>
<!--@end-->
<tr>
<td colspan="3"><p>{$lang->about_point_link_group}</p></td>
</tr>
<tr>
<th scope="col">{$lang->max_level}</th>
</table>
<table cellspacing="0" class="adminTable">
<caption>{$lang->cmd_setup}</caption>
<tr class="row2">
<th scope="col"><div>{$lang->max_level}</div></th>
<td colspan="3">
<input type="text" class="inputTypeText w80" value="{$config->max_level}" name="max_level" />
<p>{$lang->about_max_level}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->point_name}</th>
<th scope="col"><div>{$lang->point_name}</div></th>
<td colspan="3">
<input type="text" class="inputTypeText w80" value="{$config->point_name}" name="point_name" />
<p>{$lang->about_point_name}</p>
</td>
</tr>
<tr>
<th scope="col" rowspan="9">{$lang->is_default}</th>
<td colspan="2">{$lang->point_signup}</th>
<tr class="row2">
<th scope="col" rowspan="9"><div>{$lang->is_default}</div></th>
<th colspan="2"><div>{$lang->point_signup}</div></th>
<td>
<input type="text" class="inputTypeText w80" value="{$config->signup_point}" name="signup_point" /> {$config->point_name}
<p>{$lang->about_point_signup}</p>
</td>
</tr>
<tr>
<td colspan="2">{$lang->cmd_login}</th>
<tr class="row2">
<th colspan="2"><div>{$lang->cmd_login}</div></th>
<td><input type="text" class="inputTypeText w80" value="{$config->login_point}" name="login_point" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_insert_document}</td>
<tr class="row2">
<th colspan="2"><div>{$lang->point_insert_document}</div></th>
<td><input type="text" name="insert_document" value="{$config->insert_document}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_insert_comment}</td>
<th colspan="2"><div>{$lang->point_insert_comment}</div></th>
<td><input type="text" name="insert_comment" value="{$config->insert_comment}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_upload_file}</td>
<tr class="row2">
<th colspan="2"><div>{$lang->point_upload_file}</div></th>
<td><input type="text" name="upload_file" value="{$config->upload_file}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_download_file}</td>
<th colspan="2"><div>{$lang->point_download_file}</div></th>
<td><input type="text" name="download_file" value="{$config->download_file}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_read_document}</td>
<tr class="row2">
<th colspan="2"><div>{$lang->point_read_document}</div></th>
<td><input type="text" name="read_document" value="{$config->read_document}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_voted}</td>
<th colspan="2"><div>{$lang->point_voted}</div></th>
<td><input type="text" name="voted" value="{$config->voted}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<td colspan="2">{$lang->point_blamed}</td>
<tr class="row2">
<th colspan="2"><div>{$lang->point_blamed}</div></th>
<td><input type="text" name="blamed" value="{$config->blamed}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<th scope="col">{$lang->level_icon}</th>
<th scope="col"><div>{$lang->level_icon}</div></th>
<td colspan="3">
<select name="level_icon">
<!--@foreach($level_icon_list as $key => $val)-->
@ -95,19 +84,55 @@
</td>
</tr>
<tr>
<th scope="col">{$lang->disable_download}</th>
<th scope="col"><div>{$lang->disable_download}</div></th>
<td colspan="3">
<input type="checkbox" name="disable_download" value="Y" <!--@if($config->disable_download=='Y')-->checked="checked"<!--@end--> />
{$lang->about_disable_download}
<p>{$lang->about_disable_download}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->level_point_calc}</th>
<td colspan="3"><input name="expression" value="{$config->expression}" /> <input type="button" onclick="exp_calc(this.form)" value="{$lang->cmd_exp_calc}" /> <input type="button" onclick="exp_calc(this.form, true)" value="{$lang->cmd_exp_reset}" /><p>{$lang->expression}</p>
<td colspan="4" class="right">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</td>
</tr>
</table>
<table cellspacing="0" class="adminTable">
<caption>{$lang->point_link_group}</caption>
<thead>
<tr>
<th class="half_wide"><div>{$lang->group}<div></th>
<th class="half_wide"><div>{$lang->level}<div></th>
</tr>
</thead>
<tbody>
<!--@foreach($group_list as $key => $val)-->
<tr class="row{$cycle_idx}">
<td class="center"><div>{$val->title}</div></td>
<td class="center"><input type="text" class="inputTypeText w80" value="{$config->point_group[$key]}" name="point_group_{$key}" /></td>
</tr>
<!--@end-->
<tr>
<td colspan="3"><p>{$lang->about_point_link_group}</p></td>
</tr>
<tr>
<td colspan="3" class="right">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="adminRightExtra">
<table cellspacing="0" class="adminTable">
<tr>
<th scope="col"><div>{$lang->level_point_calc}</div></th>
<td colspan="3"><input name="expression" value="{$config->expression}" size="4"/> <input type="button" onclick="exp_calc(this.form)" value="{$lang->cmd_exp_calc}" /> <input type="button" onclick="exp_calc(this.form, true)" value="{$lang->cmd_exp_reset}" /><p>{$lang->expression}</p>
</td>
</tr>
<tr>
<th scope="col" rowspan="{$config->max_level}">{$lang->level_point}</th>
<th scope="col" rowspan="{$config->max_level}"><div>{$lang->level_point}</div></th>
<td>1</td>
<td><img src="{getUrl()}/modules/point/icons/{$config->level_icon}/1.gif" alt="" /></td>
<td><input type="text" name="level_step_1" value="{$config->level_step[1]}" class="inputTypeText w80" /> {$config->point_name}</td>
@ -119,11 +144,12 @@
<td><input type="text" id="level_step_{$i}" name="level_step_{$i}" value="{$config->level_step[$i]}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<!--@end-->
<tr>
<td colspan="4" class="right">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</td>
</tr>
</table>
<!-- 버튼 -->
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>

View file

@ -8,12 +8,6 @@
<!--@if($module=='admin')-->
<div class="header4">
<!-- Á¤º¸ -->
<!--@if($total_count)-->
<div class="summary">
<strong>Total</strong> <em>{number_format($total_count)}</em>, Page <em>{number_format($page)}/{number_format($total_page)}</em>
</div>
<!--@end-->
<ul class="localNavigation">
<li <!--@if($act=='dispPointAdminConfig')-->class="on"<!--@end-->><a href="{getUrl('act','dispPointAdminConfig')}">{$lang->cmd_point_config}</a></li>

View file

@ -1,81 +1,36 @@
<!--%import("filter/update_point.xml")-->
<!--#include("header.html")-->
<!-- 목록 -->
<div class="summary">
<strong>Total</strong> <em>{number_format($total_count)}</em>, Page <em>{number_format($page)}/{number_format($total_page)}</em>
</div>
<table cellspacing="0" class="adminTable">
<!--@if($lang_type == 'ko')-->
<col width="50" />
<col />
<col />
<col />
<col width="175" />
<col width="45" />
<!--@else if($lang_type == 'en')-->
<col width="50" />
<col />
<col />
<col />
<col width="185" />
<col width="50" />
<!--@else if($lang_type == 'zh-CN')-->
<col width="50" />
<col />
<col />
<col />
<col width="185" />
<col width="50" />
<!--@else if($lang_type == 'jp')-->
<col width="50" />
<col />
<col />
<col />
<col width="185" />
<col width="60" />
<!--@else if($lang_type == 'es')-->
<col width="50" />
<col />
<col />
<col />
<col width="200" />
<col width="50" />
<!--@else if($lang_type == 'ru')-->
<col width="50" />
<col />
<col />
<col />
<col width="220" />
<col width="70" />
<!--@end-->
<thead>
<tr>
<th scope="col">{$lang->no}</th>
<th scope="col">{$lang->user_id}</th>
<th scope="col">{$lang->user_name}</th>
<th scope="col">{$lang->nick_name}</th>
<th scope="col">{$lang->point}</th>
<th scope="col">{$lang->level}</th>
<th scope="col"><div>{$lang->no}</div></th>
<th scope="col"><div>{$lang->user_id}</div></th>
<th scope="col"><div>{$lang->user_name}</div></th>
<th scope="col"><div>{$lang->nick_name}</div></th>
<th scope="col"><div>{$lang->point}</div></th>
<th scope="col"><div>{$lang->level}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($member_list as $no => $val)-->
<tr>
<td class="tahoma">{$no}</td>
<td class="blue">{htmlspecialchars($val->user_id)}</td>
<td>{htmlspecialchars($val->user_name)}</td>
<td class="left"><div class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</div></td>
<td class="tahoma">
<td class="number">{$no}</td>
<td class="nowrap">{htmlspecialchars($val->user_id)}</td>
<td class="nowrap">{htmlspecialchars($val->user_name)}</td>
<td class="nowrap"><span class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</span></td>
<td class="nowrap">
<form action="./" method="get" onsubmit="return procFilter(this, update_point);">
<input type="hidden" name="member_srl" value="{$val->member_srl}" />
<input type="text" name="point" value="{$val->point}" class="inputTypeText w80" />
<span class="button"><input type="submit" value="{$lang->cmd_save}" /></span>
</form>
</td>
<td class="tahoma">{$val->level}</td>
<td class="number center">{$val->level}</td>
</tr>
<!--@end-->
</tbody>

View file

@ -4,19 +4,29 @@
<form action="./" method="get" onsubmit="return procFilter(this, insert_module_config);" id="fo_point">
<table cellspacing="0" class="adminTable">
<tr>
<th>{$lang->point_insert_document}</th>
<th>{$lang->point_insert_comment}</th>
<th>{$lang->point_upload_file}</th>
<th>{$lang->point_download_file}</th>
<th>{$lang->point_read_document}</th>
<th>{$lang->point_voted}</th>
<th>{$lang->point_blamed}</th>
</tr>
<col width="14%" />
<col width="14%" />
<col width="14%" />
<col width="14%" />
<col width="14%" />
<col width="14%" />
<col width="14%" />
<thead>
<tr>
<th><div>{$lang->point_insert_document}</div></th>
<th><div>{$lang->point_insert_comment}</div></th>
<th><div>{$lang->point_upload_file}</div></th>
<th><div>{$lang->point_download_file}</div></th>
<th><div>{$lang->point_read_document}</div></th>
<th><div>{$lang->point_voted}</div></th>
<th><div>{$lang->point_blamed}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($mid_list as $key => $val)-->
<!--@if(in_array($val->module,array('guestbook','board','blog')))-->
<tr>
<th colspan="7" scope="col">{$val->browser_title} ({$val->mid})</th>
<th colspan="7" scope="col"><div><strong>{$val->browser_title}</strong> ({$val->mid})</div></th>
</tr>
<tr>
<td><input type="text" name="insert_document_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['insert_document']}" class="inputTypeText w40" /> {$config->point_name}</td>
@ -29,11 +39,12 @@
</tr>
<!--@end-->
<!--@end-->
<tr>
<td colspan="7" class="right">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</td>
</tr>
</tbody>
</table>
<!-- 버튼 -->
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>

View file

@ -1,46 +0,0 @@
<!--%import("filter/insert_point_module_config.xml")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_point_module_config);" id="fo_point">
<input type="hidden" name="target_module_srl" value="{$module_config['module_srl']?$module_config['module_srl']:$module_srls}" />
<table cellspacing="0" class="adminTable">
<col width="200" />
<col />
<caption>{$lang->point}</caption>
<tr>
<th>{$lang->point_insert_document}</th>
<td><input type="text" name="insert_document" value="{$module_config['insert_document']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th>{$lang->point_insert_comment}</th>
<td><input type="text" name="insert_comment" value="{$module_config['insert_comment']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th>{$lang->point_upload_file}</th>
<td><input type="text" name="upload_file" value="{$module_config['upload_file']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th>{$lang->point_download_file}</th>
<td><input type="text" name="download_file" value="{$module_config['download_file']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th>{$lang->point_read_document}</th>
<td><input type="text" name="read_document" value="{$module_config['read_document']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th>{$lang->point_voted}</th>
<td><input type="text" name="voted" value="{$module_config['voted']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th>{$lang->point_blamed}</th>
<td><input type="text" name="blamed" value="{$module_config['blamed']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<th colspan="2" class="button"><span class="button"><input type="submit" value="{$lang->cmd_save}" /></span></th>
</tr>
</table>
<!-- 버튼 -->
</form>
<div class="gap1"></div>