From 2c3f92a9f1769188b24f8399b576be2717eb7b51 Mon Sep 17 00:00:00 2001 From: ceb Date: Sat, 12 Jan 2002 04:17:42 +0000 Subject: [PATCH] update hook_prefs --- addressbook/inc/hook_preferences.inc.php | 2 +- calendar/inc/hook_preferences.inc.php | 2 +- preferences/templates/default/listcats.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/inc/hook_preferences.inc.php b/addressbook/inc/hook_preferences.inc.php index 30976ab066..9074a9573a 100644 --- a/addressbook/inc/hook_preferences.inc.php +++ b/addressbook/inc/hook_preferences.inc.php @@ -17,7 +17,7 @@ $file = Array( 'Preferences' => $GLOBALS['phpgw']->link('/index.php','menuaction=addressbook.uiaddressbook.preferences'), 'Grant Access' => $GLOBALS['phpgw']->link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), - 'Edit Categories' => $GLOBALS['phpgw']->link('/preferences/categories.php','cats_app='.$appname . '&cats_level=True&global_cats=True') + '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); diff --git a/calendar/inc/hook_preferences.inc.php b/calendar/inc/hook_preferences.inc.php index 5a192ce0a7..710c99ee47 100644 --- a/calendar/inc/hook_preferences.inc.php +++ b/calendar/inc/hook_preferences.inc.php @@ -20,7 +20,7 @@ ) ), 'Grant Access' => $GLOBALS['phpgw']->link('/preferences/acl_preferences.php','acl_app='.$appname), - 'Edit Categories' => $GLOBALS['phpgw']->link('/preferences/categories.php','cats_app='.$appname.'&global_cats=True') + '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); diff --git a/preferences/templates/default/listcats.tpl b/preferences/templates/default/listcats.tpl index 9f5a3c3a50..6e0e0a8e8c 100644 --- a/preferences/templates/default/listcats.tpl +++ b/preferences/templates/default/listcats.tpl @@ -3,7 +3,7 @@
- +
{lang_app} {title_categories}: {user_name}<{lang_app} {title_categories}: {user_name}