* adjust var name and add notes for custom.

This commit is contained in:
wangyidong
2016-03-14 13:25:45 +08:00
parent b5059fa0a5
commit 5dfd9e57e9
5 changed files with 14 additions and 7 deletions
+9 -3
View File
@@ -29,11 +29,17 @@
<div class='main'>
<form method='post' class='form-condensed' target='hiddenwin'>
<table class='table table-form'>
<tr><th class='w-100px'><?php echo $lang->custom->select;?></th><th></th><th></th></tr>
<?php $checkedKey = isset($config->custom->productproject) ? $config->custom->productproject : '0_0' ?>
<?php foreach($lang->custom->productproject->relation as $key => $value):?>
<tr>
<th class='w-100px'><?php echo $lang->custom->select;?></th>
<td class='w-300px'><?php echo html::radio('productproject', $lang->custom->productproject->relation, isset($config->custom->productproject) ? $config->custom->productproject : '0_0');?></td>
<td><?php echo html::submitButton()?></td>
<td></td>
<td class='w-300px'>
<label class="radio-inline"><input type="radio" name="productproject" value="<?php echo $key?>"<?php echo $key == $checkedKey ? " checked='checked'" : ''?> id="productproject<?php echo $key;?>"><?php echo $value;?></label>
</td>
</tr>
<?php endforeach;?>
<tr><td></td><td><?php echo html::submitButton()?></td></tr>
<tr>
<td colspan='3' class='pd-0'>
<div class='alert alert-info alert-block'><strong><?php echo $lang->custom->productproject->notice?></strong></div>