diff --git a/addressbook/inc/hook_preferences.inc.php b/addressbook/inc/hook_preferences.inc.php index e899cc8bcb..148de2fd8e 100644 --- a/addressbook/inc/hook_preferences.inc.php +++ b/addressbook/inc/hook_preferences.inc.php @@ -15,10 +15,10 @@ // Only Modify the $file and $title variables..... $title = $appname; $file = array(); - $file['Preferences'] = $GLOBALS['egw']->link('/index.php','menuaction=addressbook.uiaddressbook.preferences'); - if(!$GLOBALS['egw_info']['server']['deny_user_grants_access']) - $file['Grant Access'] = $GLOBALS['egw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname); - $file['Edit Categories'] = $GLOBALS['egw']->link('/index.php','menuaction=preferences.uicategories.index&cats_app='.$appname . '&cats_level=True&global_cats=True'); + $file['Preferences'] = $GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.preferences'); + if(!$GLOBALS['phpgw_info']['server']['deny_user_grants_access']) + $file['Grant Access'] = $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname); + $file['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 display_section($appname,$title,$file);