* code for icons.

* add icon for unlock a user.
This commit is contained in:
chencongzhi520@gmail.com
2013-01-10 06:26:41 +00:00
parent 461e311fd6
commit 3eff65eeb0
4 changed files with 4 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ $lang->company->website = 'Web site';
$lang->company->backyard = 'Internal Site';
$lang->company->pms = 'ZenTaoPMS Site';
$lang->company->guest = 'Guest visit';
$lang->company->unlock = 'Unlock';
$lang->company->guestList[0] = 'Deny';
$lang->company->guestList[1] = 'Allow';

View File

@@ -34,7 +34,6 @@ $lang->company->website = '公司官网';
$lang->company->backyard = '公司内网';
$lang->company->pms = 'PMS网站';
$lang->company->guest = '匿名登录';
$lang->company->unlock = '解锁';
$lang->company->guestList[0] = '不允许';
$lang->company->guestList[1] = '允许';

View File

@@ -69,7 +69,10 @@ js::set('deptID', $deptID);
<?php
common::printIcon('user', 'edit', "userID=$user->id&from=company", '', 'list');
common::printIcon('user', 'delete', "userID=$user->id", '', 'list', '', "hiddenwin");
if((strtotime($user->locked) - strtotime(date('Y-m-d'))) >= 0) common::printLink('user', 'unlock', "userID=$user->account", $lang->company->unlock, "hiddenwin");
if((strtotime($user->locked) - strtotime(date('Y-m-d'))) >= 0)
{
common::printIcon('user', 'unlock', "userID=$user->account", '', 'list', '', "hiddenwin");
}
?>
</td>
</tr>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 64 KiB