* Adjust the custom module.

This commit is contained in:
hufangzhou
2021-03-05 13:11:47 +08:00
parent d829157cb1
commit 876a0be2eb
10 changed files with 239 additions and 218 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
<?php
/**
* The project view file of custom module of ZenTaoPMS.
* The execution view file of custom module of ZenTaoPMS.
* @copyright Copyright 2009-2020 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Liyuchun <liyuchun@cnezsoft.com>
@@ -14,14 +14,14 @@
<form class="load-indicator main-form form-ajax" method='post'>
<table class='table table-form'>
<tr>
<th class='w-150px'><?php echo $lang->custom->closedProject;?></th>
<th class='w-150px'><?php echo $lang->custom->closedExecution;?></th>
<td class='w-300px text-left'>
<?php $checkedKey = isset($config->CRProject) ? $config->CRProject : 0;?>
<?php foreach($lang->custom->CRProject as $key => $value):?>
<label class="radio-inline"><input type="radio" name="project" value="<?php echo $key?>"<?php echo $key == $checkedKey ? " checked='checked'" : ''?> id="project<?php echo $key;?>"><?php echo $value;?></label>
<?php $checkedKey = isset($config->CRExecution) ? $config->CRExecution : 0;?>
<?php foreach($lang->custom->CRExecution as $key => $value):?>
<label class="radio-inline"><input type="radio" name="execution" value="<?php echo $key?>"<?php echo $key == $checkedKey ? " checked='checked'" : ''?> id="execution<?php echo $key;?>"><?php echo $value;?></label>
<?php endforeach;?>
</td>
<td><span class='alert alert-info no-margin'><?php echo $lang->custom->notice->readOnlyOfProject;?></span></td>
<td><span class='alert alert-info no-margin'><?php echo $lang->custom->notice->readOnlyOfExecution;?></span></td>
</tr>
<tr>
<th></th>