글 조회시 포인트 차감 또는 증감 할 수 있도록 기능 추가. 모듈 업데이트 필요. 중복 부과 안됨

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3501 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-01-08 07:35:51 +00:00
parent 860cb7e686
commit 480d7582f2
14 changed files with 76 additions and 12 deletions

View file

@ -31,7 +31,7 @@
</td>
</tr>
<tr>
<th scope="col" rowspan="6">{$lang->is_default}</th>
<th scope="col" rowspan="7">{$lang->is_default}</th>
<td colspan="2">{$lang->point_signup}</th>
<td>
<input type="text" class="inputTypeText w80" value="{$config->signup_point}" name="signup_point" /> {$config->point_name}
@ -58,6 +58,10 @@
<td colspan="2">{$lang->point_download_file}</td>
<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>
<td><input type="text" name="read_document" value="{$config->read_document}" class="inputTypeText w80" /> {$config->point_name}</td>
</tr>
<tr>
<th scope="col">{$lang->level_icon}</th>
<td colspan="3">

View file

@ -9,17 +9,19 @@
<th>{$lang->point_insert_comment}</th>
<th>{$lang->point_upload_file}</th>
<th>{$lang->point_download_file}</th>
<th>{$lang->point_read_document}</th>
</tr>
<!--@foreach($mid_list as $key => $val)-->
<!--@if(in_array($val->module,array('guestbook','board','blog')))-->
<tr>
<th colspan="4" scope="col">{$val->browser_title} ({$val->mid})</th>
<th colspan="5" scope="col">{$val->browser_title} ({$val->mid})</th>
</tr>
<tr>
<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>
<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>
<td><input type="text" name="insert_comment_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['insert_comment']}" class="inputTypeText w40" /> {$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 w40" /> {$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 w40" /> {$config->point_name}</td>
<td><input type="text" name="read_document_{$val->module_srl}" value="{$config->module_point[$val->module_srl]['read_document']}" class="inputTypeText w40" /> {$config->point_name}</td>
</tr>
<!--@end-->
<!--@end-->

View file

@ -7,18 +7,26 @@
<caption>{$lang->point}</caption>
<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>
<td><input type="text" name="insert_document" value="{$module_config['insert_document']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
</tr>
<tr>
<td><input type="text" name="insert_document" value="{$module_config['insert_document']}" class="inputTypeText w80" /> {$module_config['point_name']}</td>
<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 colspan="4" class="button"><span class="button"><input type="submit" value="{$lang->cmd_save}" /></span></th>
<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 colspan="2" class="button"><span class="button"><input type="submit" value="{$lang->cmd_save}" /></span></th>
</tr>
</table>