* adjust for custom-score.

This commit is contained in:
wangyidong
2018-05-11 09:55:38 +08:00
parent b2b0766275
commit 4793ee5dd0
3 changed files with 41 additions and 14 deletions
+9 -3
View File
@@ -11,12 +11,18 @@
*/
?>
<?php include 'header.html.php';?>
<div id='mainContent' class='main-content'>
<div class='center-block'>
<div id='mainContent' class='main-row'>
<div class='side-col' id='sidebar'></div>
<div class='main-col main-content'>
<form method='post' target='hiddenwin'>
<div class='main-header'>
<div class='heading'>
<strong><?php echo $lang->custom->flow?></strong>
</div>
</div>
<table class='table table-form'>
<tr>
<th class='w-150px text-top'><?php echo $lang->custom->select;?></th>
<th class='w-120px text-top'><?php echo $lang->custom->select;?></th>
<?php $checkedKey = isset($config->custom->productProject) ? $config->custom->productProject : '0_0' ?>
<td>
<?php foreach($lang->custom->productProject->relation as $key => $value):?>
+17 -7
View File
@@ -10,18 +10,28 @@
*/
?>
<?php include 'header.html.php';?>
<div id='mainContent' class='main-content'>
<div class='center-block mw-400px'>
<div class='main-header'>
<h2><?php echo $lang->custom->score;?></h2>
</div>
<div id='mainContent' class='main-row'>
<div class='side-col' id='sidebar'></div>
<div class='main-col main-content'>
<form method='post' target='hiddenwin'>
<div class='main-header'>
<div class='heading'>
<strong><?php echo $lang->custom->score?></strong>
</div>
</div>
<table class='table table-form'>
<tr>
<td><?php echo html::radio('score', $lang->custom->scoreStatus, isset($config->global->scoreStatus) ? $config->global->scoreStatus : 0, '', 'block');?></td>
<th class='w-100px text-top'><?php echo $lang->custom->score;?></th>
<td>
<?php $checkedKey = isset($config->global->scoreStatus) ? $config->global->scoreStatus : 0;?>
<?php foreach($lang->custom->scoreStatus as $key => $value):?>
<p><label class="radio-inline"><input type="radio" name="flow" value="<?php echo $key?>"<?php echo $key == $checkedKey ? " checked='checked'" : ''?> id="flow<?php echo $key;?>"><?php echo $value;?></label></p>
<?php endforeach;?>
</td>
</tr>
<tr>
<td class='text-center'>
<th></th>
<td>
<?php echo html::submitButton();?>
<?php common::printLink('score', 'reset', '', "<i class='icon-refresh'></i> " . $lang->custom->scoreReset, '', ' id="scoreRefresh" class="btn iframe" data-width="480"', true, true);?>
</td>
+15 -4
View File
@@ -11,13 +11,24 @@
*/
?>
<?php include 'header.html.php';?>
<div id='mainContent' class='main-content'>
<div class='center-block'>
<form method='post' class='form-condensed' target='hiddenwin'>
<div id='mainContent' class='main-row'>
<div class='side-col' id='sidebar'></div>
<div class='main-col main-content'>
<form method='post' target='hiddenwin'>
<div class='main-header'>
<div class='heading'>
<strong><?php echo $lang->custom->working?></strong>
</div>
</div>
<table class='table table-form'>
<tr>
<th class='w-100px text-top'><?php echo $lang->custom->working;?></th>
<td><?php echo html::radio('flow', $lang->custom->workingList, isset($config->global->flow) ? $config->global->flow : 'full', '', 'block');?></td>
<td>
<?php $checkedKey = isset($config->global->flow) ? $config->global->flow : 'full';?>
<?php foreach($lang->custom->workingList as $key => $value):?>
<p><label class="radio-inline"><input type="radio" name="flow" value="<?php echo $key?>"<?php echo $key == $checkedKey ? " checked='checked'" : ''?> id="flow<?php echo $key;?>"><?php echo $value;?></label></p>
<?php endforeach;?>
</td>
</tr>
<tr><td></td><td><?php echo html::submitButton()?></td></tr>
</table>