forked from extern/egroupware
Change category list links
This commit is contained in:
parent
0ecbc8b54d
commit
275a1d3f27
@ -44,7 +44,7 @@ class addressbook_hooks
|
||||
$file = array(
|
||||
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$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'])
|
||||
{
|
||||
@ -68,7 +68,7 @@ class addressbook_hooks
|
||||
'appname' => $appname,
|
||||
)),
|
||||
'Global Categories' => egw::link('/index.php',array(
|
||||
'menuaction' => 'admin.uicategories.index',
|
||||
'menuaction' => 'admin.admin_categories.index',
|
||||
'appname' => $appname,
|
||||
'global_cats'=> True,
|
||||
)),
|
||||
|
@ -449,7 +449,7 @@ class addressbook_ui extends addressbook_bo
|
||||
),
|
||||
'cat_edit' => array(
|
||||
'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',
|
||||
'group' => $group,
|
||||
),
|
||||
|
@ -115,7 +115,7 @@ class calendar_hooks
|
||||
'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&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'),
|
||||
'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'),
|
||||
'Update timezones' => egw::link('/index.php','menuaction=calendar.calendar_timezones.update'),
|
||||
);
|
||||
@ -130,7 +130,7 @@ class calendar_hooks
|
||||
$file = array(
|
||||
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname=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'),
|
||||
);
|
||||
display_section('calendar','calendar',$file);
|
||||
|
@ -863,7 +863,7 @@ function load_cal(url,id) {
|
||||
$file = Array(
|
||||
'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'),
|
||||
'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);
|
||||
}
|
||||
@ -875,7 +875,7 @@ function load_cal(url,id) {
|
||||
'Configuration'=>egw::link('/index.php','menuaction=admin.uiconfig.index&appname=calendar'),
|
||||
'Custom Fields'=>egw::link('/index.php','menuaction=admin.customfields.edit&appname=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'),
|
||||
);
|
||||
display_sidebox($appname,$menu_title,$file);
|
||||
}
|
||||
|
@ -99,7 +99,7 @@ class infolog_hooks
|
||||
$file = array(
|
||||
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$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')
|
||||
{
|
||||
@ -117,7 +117,7 @@ class infolog_hooks
|
||||
'Site configuration' => egw::link('/index.php',array(
|
||||
'menuaction' => 'infolog.infolog_ui.admin' )),
|
||||
'Global Categories' => egw::link('/index.php',array(
|
||||
'menuaction' => 'admin.uicategories.index',
|
||||
'menuaction' => 'admin.admin_categories.index',
|
||||
'appname' => $appname,
|
||||
'global_cats'=> True)),
|
||||
'Custom fields, typ and status' => egw::link('/index.php',array(
|
||||
|
@ -62,7 +62,7 @@ class resources_hooks
|
||||
{
|
||||
$file = Array(
|
||||
'Global Categories' => egw::link('/index.php',array(
|
||||
'menuaction' => 'admin.uicategories.index',
|
||||
'menuaction' => 'admin.admin_categories.index',
|
||||
'appname' => $appname,
|
||||
'global_cats'=> true)),
|
||||
'Configure Access Permissions' => egw::link('/index.php',
|
||||
|
@ -109,7 +109,7 @@ class timesheet_hooks
|
||||
$file = array(
|
||||
'Preferences' => egw::link('/index.php','menuaction=preferences.uisettings.index&appname='.$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')
|
||||
@ -128,7 +128,7 @@ class timesheet_hooks
|
||||
'Site Configuration' => egw::link('/index.php','menuaction=admin.uiconfig.index&appname=' . $appname),
|
||||
'Custom fields' => egw::link('/index.php','menuaction=admin.customfields.edit&appname='.$appname),
|
||||
'Global Categories' => egw::link('/index.php',array(
|
||||
'menuaction' => 'admin.uicategories.index',
|
||||
'menuaction' => 'admin.admin_categories.index',
|
||||
'appname' => $appname,
|
||||
'global_cats'=> True)),
|
||||
'Edit Status' => egw::link('/index.php','menuaction=timesheet.timesheet_ui.editstatus'),
|
||||
|
Loading…
Reference in New Issue
Block a user