mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
take "deny grant access" into account again
This commit is contained in:
parent
dab5e19ef8
commit
e6ebaff6fb
@ -342,6 +342,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
||||
$var['target'] = '';
|
||||
if(is_array($item_link))
|
||||
|
@ -356,6 +356,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$var['icon_or_star']='<img src="'.$GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
||||
$var['target'] = '';
|
||||
if(is_array($item_link))
|
||||
|
@ -599,6 +599,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
||||
$var['target'] = '';
|
||||
if(is_array($item_link))
|
||||
|
@ -343,6 +343,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$var['icon_or_star']='<img src="'.$GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/jerryr/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
||||
$var['target'] = '';
|
||||
if(is_array($item_link))
|
||||
|
@ -179,6 +179,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$var['icon_or_star']='<font color="#ff9933">*</font>';
|
||||
$var['lang_item']=lang($item_text);
|
||||
$var['item_link']=$item_link;
|
||||
|
@ -348,6 +348,10 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strtolower($item_text) == 'grant access' && $GLOBALS['egw_info']['server']['deny_user_grants_access']) {
|
||||
return;
|
||||
}
|
||||
|
||||
$var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/prisma/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>';
|
||||
$var['target'] = '';
|
||||
if(is_array($item_link))
|
||||
|
Loading…
Reference in New Issue
Block a user