This commit is contained in:
Catouse
2018-05-23 16:26:23 +08:00
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ $lang->cron->confirmDelete = '是否删除该计划任务?';
$lang->cron->confirmTurnon = '是否关闭计划任务?';
$lang->cron->introduction = <<<EOD
<p>计划任务功能可以定时执行诸如更新燃尽图、备份等操作,免除自己布置计划任务。</p>
<p>该功能还有待完善,所以默认关闭该功能</p>
<p>该功能还有待完善,所以默认关闭该功能</p>
EOD;
$lang->cron->confirmOpen = <<<EOD
<p>是否开启该功能?<a href="%s" target='hiddenwin'><strong>打开计划任务</strong></a></p>
+5 -5
View File
@@ -21,9 +21,9 @@ $itemRow = <<<EOT
<td>
<input type='text' class="form-control" autocomplete='off' value="" name="values[]">
</td>
<td class='text-left'>
<a href="javascript:void(0)" class='btn-icon' onclick="addItem(this)"><i class='icon-plus'></i></a>
<a href="javascript:void(0)" class='btn-icon' onclick="delItem(this)"><i class='icon-remove'></i></a>
<td class='c-actions'>
<a href="javascript:void(0)" class='btn btn-link' onclick="addItem(this)"><i class='icon-plus'></i></a>
<a href="javascript:void(0)" class='btn btn-link' onclick="delItem(this)"><i class='icon-trash'></i></a>
</td>
</tr>
EOT;
@@ -54,9 +54,9 @@ EOT;
<?php if(($module == 'story' or $module == 'testcase') and $field == 'review'):?>
<table class='table table-form mw-800px'>
<tr>
<th class='w-120px'><?php echo $lang->custom->storyReview;?></th>
<th class='w-80px'><?php echo $lang->custom->storyReview;?></th>
<td><?php echo html::radio('needReview', $lang->custom->reviewList, $needReview);?></td>
<td class='w-100px'></td>
<td></td>
</tr>
<tr <?php if($needReview and $module == 'testcase') echo "class='hidden'"?>>
<th><?php echo $lang->custom->forceReview;?></th>
+1 -1
View File
@@ -221,7 +221,7 @@ class scoreModel extends model
$data->time = empty($time) ? helper::now() : $time;
$this->dao->insert(TABLE_SCORE)->data($data)->exec();
$this->dao->update(TABLE_USER)->set("`score`=`score` + " . $rule['score'])->set("`scoreLevel`=`scoreLevel` + " . $rule['score'])->where('account')->eq($account)->exec();
$this->dao->update(TABLE_USER)->set("`score`=`score` + " . (int)$rule['score'])->set("`scoreLevel`=`scoreLevel` + " . $rule['score'])->where('account')->eq($account)->exec();
}
/**