mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Merge #939 댓글에 대한 추천, 비추천시 증감할 포인트 별도 설정 기능 및 포인트 변동 구현 by sejin7940
* pr/939: Update point.admin.controller.php Update module_config.html Update point.view.php Update point.admin.controller.php Update point_module_config.html Update point.controller.php Update config.html Update point.class.php Conflicts: modules/point/point.admin.controller.php modules/point/point.class.php
This commit is contained in:
commit
a215c41503
7 changed files with 88 additions and 10 deletions
|
|
@ -58,6 +58,12 @@
|
|||
<br />
|
||||
<input type="number" name="blamed" value="{$config->blamed}" id="blamed" style="text-align:right" /> :
|
||||
<label for="blamed" class="x_inline">{$lang->point_blamed}</label>
|
||||
<br />
|
||||
<input type="number" name="voted_comment" value="{$config->voted_comment}" style="text-align:right" id="voted_comment" /> :
|
||||
<label for="voted_comment" class="x_inline">{$lang->comment} {$lang->point_voted}</label>
|
||||
<br />
|
||||
<input type="number" name="blamed_comment" value="{$config->blamed_comment}" id="blamed_comment" style="text-align:right" /> :
|
||||
<label for="blamed_comment" class="x_inline">{$lang->comment} {$lang->point_blamed}</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
@ -190,4 +196,4 @@ jQuery(function($){
|
|||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
<th scope="col">{$lang->point_read_document}</th>
|
||||
<th scope="col">{$lang->point_voted}</th>
|
||||
<th scope="col">{$lang->point_blamed}</th>
|
||||
<th scope="col">{$lang->comment} {$lang->point_voted}</th>
|
||||
<th scope="col">{$lang->comment} {$lang->point_blamed}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -30,6 +32,8 @@
|
|||
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="read_document[{$val->module_srl}]" value="{$module_config[$val->module_srl]['read_document']}" title="{$config->point_name}" /> {$config->point_name}</td>
|
||||
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="voted[{$val->module_srl}]" value="{$module_config[$val->module_srl]['voted']}" title="{$config->point_name}" /> {$config->point_name}</td>
|
||||
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="blamed[{$val->module_srl}]" value="{$module_config[$val->module_srl]['blamed']}" title="{$config->point_name}" /> {$config->point_name}</td>
|
||||
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="voted_comment[{$val->module_srl}]" value="{$module_config[$val->module_srl]['voted_comment']}" title="{$config->point_name}" /> {$config->point_name}</td>
|
||||
<td class="nowr"><input type="number" style="width:40px;text-align:right" name="blamed_comment[{$val->module_srl}]" value="{$module_config[$val->module_srl]['blamed_comment']}" title="{$config->point_name}" /> {$config->point_name}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -50,6 +50,18 @@
|
|||
<input type="number" name="blamed" id="blamed" value="{$module_config['blamed']}" /> {$module_config['point_name']}
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="voted_comment" class="x_control-label">{$lang->comment} {$lang->point_voted}</label>
|
||||
<div class="x_controls">
|
||||
<input type="number" name="voted_comment" id="voted_comment" value="{$module_config['voted_comment']}" /> {$module_config['point_name']}
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="blamed_comment" class="x_control-label">{$lang->comment} {$lang->point_blamed}</label>
|
||||
<div class="x_controls">
|
||||
<input type="number" name="blamed_comment" id="blamed_comment" value="{$module_config['blamed_comment']}" /> {$module_config['point_name']}
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_clearfix btnArea">
|
||||
<button class="x_btn x_btn-warning x_pull-left" type="button" onclick="doPointReset('{$module_config['module_srl']?$module_config['module_srl']:$module_srls}')">{$lang->cmd_reset}</button>
|
||||
<span class="x_pull-right">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue