포인트 모듈, 포인트 활성화 애드온, 포인트 레벨 아이콘 표시 애드온 추가

git-svn-id: http://xe-core.googlecode.com/svn/trunk@2032 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-26 11:15:51 +00:00
parent d3c3350fe9
commit eb9bd1d30b
64 changed files with 1242 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1,45 @@
<!--%import("filter/insert_act_config.xml")-->
<!--#include("./header.html")-->
<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 />
<tr>
<th>{$lang->point_insert_document}</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>
<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>
<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>
<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>
<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>
<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>
<td><input type="text" name="download_file_act" value="{$config->download_file_act}" class="inputTypeText w100" /></td>
</tr>
</table>
<!-- 버튼 -->
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>

View file

@ -0,0 +1,64 @@
<!--%import("filter/insert_config.xml")-->
<!--#include("./header.html")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_config);">
<div class="infoText">{$lang->about_point_module}</div>
<table cellspacing="0" class="tableType2 gap1">
<col width="200" />
<col width="40" />
<col width="40" />
<col />
<tr>
<th scope="col">{$lang->max_level}</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>
<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">{$lang->level_icon}</th>
<td colspan="3">
<select name="level_icon">
<!--@foreach($level_icon_list as $key => $val)-->
<option value="{$val}" <!--@if($config->level_icon == $val)-->selected="selected"<!--@end-->>{$val}</option>
<!--@end-->
</select>
<p>{$lang->about_level_icon}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->disable_download}</th>
<td colspan="3">
<input type="checkbox" name="disable_download" value="Y" <!--@if($config->disable_download=='Y')-->checked="checked"<!--@end--> />
{$lang->about_disable_download}
</td>
</tr>
<tr>
<th scope="col" rowspan="{$config->max_level}">{$lang->level_point}</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>
</tr>
<!--@for($i=2;$i<=$config->max_level;$i++)-->
<tr>
<td>{$i}</td>
<td><img src="{getUrl()}/modules/point/icons/{$config->level_icon}/{$i}.gif" alt="" /></td>
<td><input type="text" name="level_step_{$i}" value="{$config->level_step[$i]}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<!--@end-->
</table>
<!-- 버튼 -->
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>

View file

@ -0,0 +1,8 @@
<filter name="insert_act_config" module="point" act="procPointAdminInsertActConfig" confirm_msg_code="confirm_update">
<form />
<parameter />
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,8 @@
<filter name="insert_config" module="point" act="procPointAdminInsertConfig" confirm_msg_code="confirm_update">
<form />
<parameter />
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,8 @@
<filter name="insert_module_config" module="point" act="procPointAdminInsertModuleConfig" confirm_msg_code="confirm_update">
<form />
<parameter />
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,12 @@
<!--%import("js/point_admin.js")-->
<h3>{$lang->point} <span class="gray">{$lang->cmd_management}</span></h3>
<!--@if($module=='admin')-->
<div class="header4">
<ul class="localNavigation">
<li <!--@if($act=='dispPointAdminConfig')-->class="on"<!--@end-->><a href="{getUrl('act','dispPointAdminConfig')}">{$lang->cmd_point_config}</a></li>
<li <!--@if($act=='dispPointAdminModuleConfig')-->class="on"<!--@end-->><a href="{getUrl('act','dispPointAdminModuleConfig')}">{$lang->cmd_point_module_config}</a></li>
<li <!--@if($act=='dispPointAdminActConfig')-->class="on"<!--@end-->><a href="{getUrl('act','dispPointAdminActConfig')}">{$lang->cmd_point_act_config}</a></li>
</ul>
</div>
<!--@end-->

View file

@ -0,0 +1,6 @@
/**
* @file modules/point/js/point_admin.js
* @author zero (zero@nzeo.com)
* @brief point 모듈의 관리자용 javascript
**/

View file

@ -0,0 +1,38 @@
<!--%import("filter/insert_module_config.xml")-->
<!--#include("./header.html")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_module_config);" id="fo_point">
<div class="infoText">{$lang->about_module_point}</div>
<table cellspacing="0" class="tableType2 gap1">
<tr>
<th>&nbsp;</th>
<th>{$lang->point_insert_document}</th>
<th>{$lang->point_insert_comment}</th>
<th>{$lang->point_upload_file}</th>
<th>{$lang->point_download_file}</th>
</tr>
<tr>
<th scope="col">{$lang->is_default}</th>
<td><input type="text" name="insert_document" value="{$config->insert_document}" class="inputTypeText w80" /> {$config->point_name}</td>
<td><input type="text" name="insert_comment" value="{$config->insert_comment}" class="inputTypeText w80" /> {$config->point_name}</td>
<td><input type="text" name="upload_file" value="{$config->upload_file}" class="inputTypeText w80" /> {$config->point_name}</td>
<td><input type="text" name="download_file" value="{$config->download_file}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<!--@foreach($mid_list as $key => $val)-->
<tr>
<th scope="col">{$val->browser_title} ({$val->mid})</th>
<td><input type="text" name="insert_document_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['insert_document']}" class="inputTypeText w80" /> {$config->point_name}</td>
<td><input type="text" name="insert_comment_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['insert_comment']}" class="inputTypeText w80" /> {$config->point_name}</td>
<td><input type="text" name="upload_file_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['upload_file']}" class="inputTypeText w80" /> {$config->point_name}</td>
<td><input type="text" name="download_file_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['download_file']}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<!--@end-->
</table>
<!-- 버튼 -->
<div class="tRight gap1">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
</form>