Merge branch 'sprint/master_lanzongjun_fixbug_lite' into 'sprint/165_package'
* fix bug classic vision See merge request easycorp/zentaopms!2529
This commit is contained in:
@@ -2731,8 +2731,6 @@ class userModel extends model
|
||||
{
|
||||
$visionList = $this->lang->visionList;
|
||||
|
||||
if($this->config->systemMode != 'new') unset($visionList['lite']);
|
||||
|
||||
foreach($visionList as $visionKey => $visionName)
|
||||
{
|
||||
if(strpos($this->config->visions, ",{$visionKey},") === false) unset($visionList[$visionKey]);
|
||||
|
||||
@@ -82,8 +82,7 @@
|
||||
<th><?php echo $lang->user->commiter;?></th>
|
||||
<td><?php echo html::input('commiter', $user->commiter, "class='form-control'");?></td>
|
||||
<th><?php echo $lang->user->visions;?></th>
|
||||
<?php $multiple = $config->systemMode == 'new' ? 'multiple' : '';?>
|
||||
<td><?php echo html::select('visions[]', $visionList, $user->visions, "class='form-control chosen' $multiple");?></td>
|
||||
<td><?php echo html::select('visions[]', $visionList, $user->visions, "class='form-control chosen' multiple");?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table align='center' class='table table-form'>
|
||||
|
||||
Reference in New Issue
Block a user