From 5c673ec8effecfbdd0e8bbcdfe7b24e749e54798 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 21 Aug 2006 02:56:54 +0000 Subject: [PATCH] r1115: No longer need $lang --- includes/class_admin_navigation.php | 48 ++++++++++++++--------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/includes/class_admin_navigation.php b/includes/class_admin_navigation.php index fee9ba9..e0bfd89 100644 --- a/includes/class_admin_navigation.php +++ b/includes/class_admin_navigation.php @@ -41,7 +41,7 @@ class NavLinks */ function optionsPages() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'options-pages', 'options', _('Options'), null); $navigator->add_component('link', 'options-pages-home', 'options-pages', _('Home'), 'index.php'); @@ -58,7 +58,7 @@ class NavLinks */ function languagesAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'options-languages', 'options', _('Languages'), null); $navigator->add_component('link', 'options-languages-add', 'options-languages', _('Add New Language'), 'language.php?do=add'); @@ -74,7 +74,7 @@ class NavLinks */ function languagesEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::languagesAdd(); $navigator->add_component('link', 'options-languages-edit', 'options-languages', _('Edit Language'), 'language.php?do=edit&languageid=' . $id); @@ -89,7 +89,7 @@ class NavLinks */ function userhelpAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'options-userhelp', 'options', _('User Help Items'), null); $navigator->add_component('link', 'options-userhelp-add', 'options-userhelp', _('Add New Item'), 'userhelp.php?do=add'); @@ -103,7 +103,7 @@ class NavLinks */ function productsAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'products', 'products', _('Products'), null); $navigator->add_component('link', 'products-manage', 'products', _('Manage Products'), 'product.php'); @@ -120,7 +120,7 @@ class NavLinks */ function productsEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::productsAdd(); $navigator->add_component('section', 'products-edit', 'products', _('Edit Product'), null); @@ -137,7 +137,7 @@ class NavLinks */ function fieldsPages() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'fields-pages', 'fields', _('Fields'), null); $navigator->add_component('link', 'fields-pages-fields', 'fields-pages', _('Custom Fields'), 'field.php'); @@ -156,7 +156,7 @@ class NavLinks */ function fieldsAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'fields', 'fields', _('Custom Fields'), null); $navigator->add_component('link', 'fields-add', 'fields', _('Add New Custom Field'), 'field.php?do=add'); @@ -172,7 +172,7 @@ class NavLinks */ function fieldsEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::fieldsAdd(); $navigator->add_component('link', 'fields-delete', 'fields', _('Delete'), 'field.php?do=delete&fieldid=' . $id); @@ -186,7 +186,7 @@ class NavLinks */ function prioritiesAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'priorities', 'fields', _('Priorities'), null); $navigator->add_component('link', 'priorities-add', 'priorities', _('Add New Priority'), 'priority.php?do=add'); @@ -202,7 +202,7 @@ class NavLinks */ function prioritiesEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::prioritiesAdd(); $navigator->add_component('link', 'priorities-delete', 'priorities', _('Delete'), 'priority.php?do=delete&priorityid=' . $id); @@ -216,7 +216,7 @@ class NavLinks */ function resolutionsAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'resolutions', 'fields', _('Resolutions'), null); $navigator->add_component('link', 'resolutions-add', 'resolutions', _('Add New Resolution'), 'resolution.php?do=add'); @@ -232,7 +232,7 @@ class NavLinks */ function resolutionsEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::resolutionsAdd(); $navigator->add_component('link', 'resolutions-delete', 'resolutions', _('Delete'), 'resolution.php?do=delete&resolutionid=' . $id); @@ -246,7 +246,7 @@ class NavLinks */ function severitiesAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'severities', 'fields', _('Severities'), null); $navigator->add_component('link', 'severities-add', 'severities', _('Add New Severity'), 'severity.php?do=add'); @@ -262,7 +262,7 @@ class NavLinks */ function severitiesEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::severitiesAdd(); $navigator->add_component('link', 'severities-delete', 'severities', _('Delete'), 'severity.php?do=delete&severityid=' . $id); @@ -276,7 +276,7 @@ class NavLinks */ function statusesAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'statuses', 'fields', _('Severities'), null); $navigator->add_component('link', 'statuses-add', 'statuses', _('Add New Status'), 'status.php?do=add'); @@ -292,7 +292,7 @@ class NavLinks */ function statusesEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::statusesAdd(); $navigator->add_component('link', 'statuses-delete', 'statuses', _('Delete'), 'status.php?do=delete&statusid=' . $id); @@ -306,7 +306,7 @@ class NavLinks */ function autoactionsAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'autoactions', 'fields', _('Automatic Actions'), null); $navigator->add_component('link', 'autoactions-add', 'autoactions', _('Add New Automatic Action'), 'autoaction.php?do=add'); @@ -322,7 +322,7 @@ class NavLinks */ function autoactionsEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::autoactionsAdd(); $navigator->add_component('link', 'autoactions-delete', 'autoactions', _('Delete'), 'autoaction.php?do=delete&actionid=' . $id); @@ -336,7 +336,7 @@ class NavLinks */ function usersPages() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'users-pages', 'users', _('Users & Permissions'), null); $navigator->add_component('link', 'users-pages-users', 'users-pages', _('Users'), 'user.php'); @@ -352,7 +352,7 @@ class NavLinks */ function usersAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'users', 'users', _('Users'), null); $navigator->add_component('link', 'users-add', 'users', _('Add New User'), 'user.php?do=add'); @@ -368,7 +368,7 @@ class NavLinks */ function usersEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::usersAdd(); $navigator->add_component('link', 'users-delete', 'users', _('Delete'), 'user.php?do=delete&userid=' . $id); @@ -382,7 +382,7 @@ class NavLinks */ function usergroupsAdd() { - global $navigator, $lang; + global $navigator; $navigator->add_component('section', 'usergroups', 'users', _('Usergroups'), null); $navigator->add_component('link', 'usergroups-add', 'usergroups', _('Add New Usergroup'), 'usergroup.php?do=add'); @@ -398,7 +398,7 @@ class NavLinks */ function usergroupsEdit($id) { - global $navigator, $lang; + global $navigator; NavLinks::usergroupsAdd(); $navigator->add_component('link', 'usergroups-delete', 'usergroups', _('Delete'), 'usergroup.php?do=delete&userid=' . $id); -- 2.43.5