mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
take "deny grant access" into account again
This commit is contained in:
parent
dab5e19ef8
commit
e6ebaff6fb
@ -342,6 +342,10 @@
|
|||||||
}
|
}
|
||||||
else
|
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['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'] = '';
|
$var['target'] = '';
|
||||||
if(is_array($item_link))
|
if(is_array($item_link))
|
||||||
|
@ -356,6 +356,10 @@
|
|||||||
}
|
}
|
||||||
else
|
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['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'] = '';
|
$var['target'] = '';
|
||||||
if(is_array($item_link))
|
if(is_array($item_link))
|
||||||
|
@ -599,6 +599,10 @@
|
|||||||
}
|
}
|
||||||
else
|
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['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'] = '';
|
$var['target'] = '';
|
||||||
if(is_array($item_link))
|
if(is_array($item_link))
|
||||||
|
@ -343,6 +343,10 @@
|
|||||||
}
|
}
|
||||||
else
|
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['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'] = '';
|
$var['target'] = '';
|
||||||
if(is_array($item_link))
|
if(is_array($item_link))
|
||||||
|
@ -179,6 +179,10 @@
|
|||||||
}
|
}
|
||||||
else
|
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['icon_or_star']='<font color="#ff9933">*</font>';
|
||||||
$var['lang_item']=lang($item_text);
|
$var['lang_item']=lang($item_text);
|
||||||
$var['item_link']=$item_link;
|
$var['item_link']=$item_link;
|
||||||
|
@ -348,6 +348,10 @@
|
|||||||
}
|
}
|
||||||
else
|
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['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'] = '';
|
$var['target'] = '';
|
||||||
if(is_array($item_link))
|
if(is_array($item_link))
|
||||||
|
Loading…
Reference in New Issue
Block a user