Change category list links

This commit is contained in:
Nathan Gray 2011-06-21 21:14:51 +00:00
parent 0ecbc8b54d
commit 275a1d3f27
7 changed files with 12 additions and 12 deletions

View File

@ -44,7 +44,7 @@ class addressbook_hooks
$file = array( $file = array(
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname),
'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
'Edit Categories' => egw::link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') 'Edit Categories' => egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=' . $appname . '&cats_level=True&global_cats=True')
); );
if ($GLOBALS['egw_info']['server']['contact_repository'] == 'ldap' || $GLOBALS['egw_info']['server']['deny_user_grants_access']) if ($GLOBALS['egw_info']['server']['contact_repository'] == 'ldap' || $GLOBALS['egw_info']['server']['deny_user_grants_access'])
{ {
@ -68,7 +68,7 @@ class addressbook_hooks
'appname' => $appname, 'appname' => $appname,
)), )),
'Global Categories' => egw::link('/index.php',array( 'Global Categories' => egw::link('/index.php',array(
'menuaction' => 'admin.uicategories.index', 'menuaction' => 'admin.admin_categories.index',
'appname' => $appname, 'appname' => $appname,
'global_cats'=> True, 'global_cats'=> True,
)), )),

View File

@ -449,7 +449,7 @@ class addressbook_ui extends addressbook_bo
), ),
'cat_edit' => array( 'cat_edit' => array(
'caption' => 'Edit categories', 'caption' => 'Edit categories',
'url' => 'menuaction=preferences.uicategories.index&cats_app=addressbook&cats_level=True&global_cats=True', 'url' => 'menuaction=preferences.preferences_categories_ui.index&cats_app=addressbook&cats_level=True&global_cats=True',
'icon' => 'edit', 'icon' => 'edit',
'group' => $group, 'group' => $group,
), ),

View File

@ -115,7 +115,7 @@ class calendar_hooks
'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=calendar'), 'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=calendar'),
'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname=calendar'), 'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname=calendar'),
'Calendar Holiday Management' => egw::link('/index.php','menuaction=calendar.uiholiday.admin'), 'Calendar Holiday Management' => egw::link('/index.php','menuaction=calendar.uiholiday.admin'),
'Global Categories' => egw::link('/index.php','menuaction=admin.uicategories.index&appname=calendar'), 'Global Categories' => egw::link('/index.php','menuaction=admin.admin_categories.index&appname=calendar'),
'Category ACL' => egw::link('/index.php','menuaction=calendar.calendar_uiforms.cat_acl'), 'Category ACL' => egw::link('/index.php','menuaction=calendar.calendar_uiforms.cat_acl'),
'Update timezones' => egw::link('/index.php','menuaction=calendar.calendar_timezones.update'), 'Update timezones' => egw::link('/index.php','menuaction=calendar.calendar_timezones.update'),
); );
@ -130,7 +130,7 @@ class calendar_hooks
$file = array( $file = array(
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname=calendar'), 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname=calendar'),
'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=calendar'), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=calendar'),
'Edit Categories' => egw::link('/index.php','menuaction=preferences.uicategories.index&cats_app=calendar&cats_level=True&global_cats=True'), 'Edit Categories' => egw::link('/index.php','menuaction=preferences.admin_categories.index&cats_app=calendar&cats_level=True&global_cats=True'),
'Import CSV-File' => egw::link('/calendar/csv_import.php'), 'Import CSV-File' => egw::link('/calendar/csv_import.php'),
); );
display_section('calendar','calendar',$file); display_section('calendar','calendar',$file);

View File

@ -863,7 +863,7 @@ function load_cal(url,id) {
$file = Array( $file = Array(
'Calendar preferences'=>egw::link('/index.php','menuaction=preferences.uisettings.index&appname=calendar'), 'Calendar preferences'=>egw::link('/index.php','menuaction=preferences.uisettings.index&appname=calendar'),
'Grant Access'=>egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=calendar'), 'Grant Access'=>egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app=calendar'),
'Edit Categories' =>egw::link('/index.php','menuaction=preferences.uicategories.index&cats_app=calendar&cats_level=True&global_cats=True'), 'Edit Categories' =>egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=calendar&cats_level=True&global_cats=True'),
); );
display_sidebox($appname,$menu_title,$file); display_sidebox($appname,$menu_title,$file);
} }
@ -875,7 +875,7 @@ function load_cal(url,id) {
'Configuration'=>egw::link('/index.php','menuaction=admin.uiconfig.index&appname=calendar'), 'Configuration'=>egw::link('/index.php','menuaction=admin.uiconfig.index&appname=calendar'),
'Custom Fields'=>egw::link('/index.php','menuaction=admin.customfields.edit&appname=calendar'), 'Custom Fields'=>egw::link('/index.php','menuaction=admin.customfields.edit&appname=calendar'),
'Holiday Management'=>egw::link('/index.php','menuaction=calendar.uiholiday.admin'), 'Holiday Management'=>egw::link('/index.php','menuaction=calendar.uiholiday.admin'),
'Global Categories' =>egw::link('/index.php','menuaction=admin.uicategories.index&appname=calendar'), 'Global Categories' =>egw::link('/index.php','menuaction=admin.admin_categories.index&appname=calendar'),
); );
display_sidebox($appname,$menu_title,$file); display_sidebox($appname,$menu_title,$file);
} }

View File

@ -99,7 +99,7 @@ class infolog_hooks
$file = array( $file = array(
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname),
'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
'Edit Categories' => egw::link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') 'Edit Categories' => egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=' . $appname . '&cats_level=True&global_cats=True')
); );
if ($location == 'preferences') if ($location == 'preferences')
{ {
@ -117,7 +117,7 @@ class infolog_hooks
'Site configuration' => egw::link('/index.php',array( 'Site configuration' => egw::link('/index.php',array(
'menuaction' => 'infolog.infolog_ui.admin' )), 'menuaction' => 'infolog.infolog_ui.admin' )),
'Global Categories' => egw::link('/index.php',array( 'Global Categories' => egw::link('/index.php',array(
'menuaction' => 'admin.uicategories.index', 'menuaction' => 'admin.admin_categories.index',
'appname' => $appname, 'appname' => $appname,
'global_cats'=> True)), 'global_cats'=> True)),
'Custom fields, typ and status' => egw::link('/index.php',array( 'Custom fields, typ and status' => egw::link('/index.php',array(

View File

@ -62,7 +62,7 @@ class resources_hooks
{ {
$file = Array( $file = Array(
'Global Categories' => egw::link('/index.php',array( 'Global Categories' => egw::link('/index.php',array(
'menuaction' => 'admin.uicategories.index', 'menuaction' => 'admin.admin_categories.index',
'appname' => $appname, 'appname' => $appname,
'global_cats'=> true)), 'global_cats'=> true)),
'Configure Access Permissions' => egw::link('/index.php', 'Configure Access Permissions' => egw::link('/index.php',

View File

@ -109,7 +109,7 @@ class timesheet_hooks
$file = array( $file = array(
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname), 'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$appname),
'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname), 'Grant Access' => egw::link('/index.php','menuaction=preferences.uiaclprefs.index&acl_app='.$appname),
'Edit Categories' => egw::link('/index.php','menuaction=preferences.uicategories.index&cats_app=' . $appname . '&cats_level=True&global_cats=True') 'Edit Categories' => egw::link('/index.php','menuaction=preferences.preferences_categories_ui.index&cats_app=' . $appname . '&cats_level=True&global_cats=True')
); );
if ($location == 'preferences') if ($location == 'preferences')
@ -128,7 +128,7 @@ class timesheet_hooks
'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname), 'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname),
'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname='.$appname), 'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname='.$appname),
'Global Categories' => egw::link('/index.php',array( 'Global Categories' => egw::link('/index.php',array(
'menuaction' => 'admin.uicategories.index', 'menuaction' => 'admin.admin_categories.index',
'appname' => $appname, 'appname' => $appname,
'global_cats'=> True)), 'global_cats'=> True)),
'Edit Status' => egw::link('/index.php','menuaction=timesheet.timesheet_ui.editstatus'), 'Edit Status' => egw::link('/index.php','menuaction=timesheet.timesheet_ui.editstatus'),