mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Using ntier acl_prefs
This commit is contained in:
parent
3b3cca558a
commit
acdd4ea960
@ -806,9 +806,9 @@
|
||||
$perm_html .= '<td width="40%">' . lang($perm_display[$i][1]) . '</td>'
|
||||
. '<td width="5%"><input type="checkbox" name="account_apps['
|
||||
. $perm_display[$i][0] . ']" value="True"'.($group_info['account_apps'][$app]?' checked':'').'></td><td width="5%">'
|
||||
.($apps_with_acl[$app] && $group_info['account_id']?'<a href="'.$GLOBALS['phpgw']->link('/preferences/acl_preferences.php','acl_app='.$app.'&owner='.$group_info['account_id'])
|
||||
.'" target="_blank"><img src="'.$GLOBALS['phpgw']->common->image('admin','dot').'" border="0" hspace="3" align="absmiddle" alt="'
|
||||
.lang('Grant Access').'"></a>':' ').'</td>'.($i & 1?'</tr>':'')."\n";
|
||||
. ($apps_with_acl[$app] && $group_info['account_id']?'<a href="'.$GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$app.'&owner='.$group_info['account_id'])
|
||||
. '" target="_blank"><img src="'.$GLOBALS['phpgw']->common->image('admin','dot').'" border="0" hspace="3" align="absmiddle" alt="'
|
||||
. lang('Grant Access').'"></a>':' ').'</td>'.($i & 1?'</tr>':'')."\n";
|
||||
}
|
||||
if($i & 1)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
$title = $appname;
|
||||
$file = array(
|
||||
'Preferences' => $GLOBALS['phpgw']->link('/index.php','menuaction=infolog.uiinfolog.preferences'),
|
||||
'Grant Access' => $GLOBALS['phpgw']->link('/preferences/acl_preferences.php','acl_app='.$appname),
|
||||
'Grant Access' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
|
||||
'Edit Categories' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True')
|
||||
);
|
||||
//Do not modify below this line
|
||||
|
Loading…
Reference in New Issue
Block a user