From acdd4ea9600761c72e1c0f026bd5de71c92cae8b Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 12 Jan 2002 15:46:47 +0000 Subject: [PATCH] Using ntier acl_prefs --- admin/inc/class.uiaccounts.inc.php | 6 +++--- infolog/inc/hook_preferences.inc.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index dada96fb2a..6bd74295be 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -806,9 +806,9 @@ $perm_html .= '' . lang($perm_display[$i][1]) . '' . '' - .($apps_with_acl[$app] && $group_info['account_id']?''
-					.lang('Grant Access').'':' ').''.($i & 1?'':'')."\n"; + . ($apps_with_acl[$app] && $group_info['account_id']?''
+					. lang('Grant Access').'':' ').''.($i & 1?'':'')."\n"; } if($i & 1) { diff --git a/infolog/inc/hook_preferences.inc.php b/infolog/inc/hook_preferences.inc.php index b330e2a51b..b574abf11d 100644 --- a/infolog/inc/hook_preferences.inc.php +++ b/infolog/inc/hook_preferences.inc.php @@ -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