diff --git a/module/company/view/browse.html.php b/module/company/view/browse.html.php index ffef983157..f037d4dfde 100644 --- a/module/company/view/browse.html.php +++ b/module/company/view/browse.html.php @@ -91,10 +91,10 @@ js::set('confirmDelete', $lang->user->confirmDelete);
ranzhi) common::printIcon('user', 'unbind', "userID=$user->account", '', 'list', 'unlink', "hiddenwin"); - if((strtotime(date('Y-m-d H:i:s')) - strtotime($user->locked)) < $this->config->user->lockMinutes * 60) + if(true or $user->ranzhi) common::printIcon('user', 'unbind', "userID=$user->account", '', 'list', 'unlink', "hiddenwin"); + if(true or (strtotime(date('Y-m-d H:i:s')) - strtotime($user->locked)) < $this->config->user->lockMinutes * 60) { - common::printIcon('user', 'unlock', "userID=$user->account", '', 'list', '', "hiddenwin"); + common::printIcon('user', 'unlock', "userID=$user->account", '', 'list', 'unlock', "hiddenwin"); } ?>
diff --git a/module/group/view/browse.html.php b/module/group/view/browse.html.php index 02ed975ed1..5152c420b3 100644 --- a/module/group/view/browse.html.php +++ b/module/group/view/browse.html.php @@ -54,11 +54,11 @@ if(common::hasPriv('group', 'delete') and $group->role != 'limited') { $deleteURL = $this->createLink('group', 'delete', "groupID=$group->id&confirm=yes"); - echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"groupList\", confirmDelete)", '', '', "title='{$lang->group->delete}' class='btn'"); + echo html::a("javascript:ajaxDelete(\"$deleteURL\", \"groupList\", confirmDelete)", '', '', "title='{$lang->group->delete}' class='btn'"); } else { - echo ""; + echo ""; } ?> diff --git a/module/task/view/recordestimate.html.php b/module/task/view/recordestimate.html.php index f574012cb4..f0b1f638ab 100644 --- a/module/task/view/recordestimate.html.php +++ b/module/task/view/recordestimate.html.php @@ -36,17 +36,17 @@
- - + - + + @@ -67,16 +67,6 @@ status, array('wait', 'pause', 'doing'))):?> - - - - - - - - - - @@ -87,14 +77,13 @@ +
idAB;?>task->date;?>task->date;?> task->consumedThisTime;?> task->leftThisTime;?> comment;?>actions;?>
id;?>
idAB;?>task->date;?>task->consumedThisTime;?>task->leftThisTime;?>comment;?>
-
-