* code for icons.
* add icon for unlock a user.
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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] = '允许';
|
||||
|
||||
@@ -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 |
Reference in New Issue
Block a user