From 8b6b94537dc219c428fefb604ef6679619bfb107 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 20 Jul 2006 21:46:00 +0000 Subject: [PATCH] r909: Removing all the help links as the ISSO.Printer framework doesn't have that feature --- admin/autoaction.php | 4 ++-- admin/field.php | 4 ++-- admin/language.php | 4 ++-- admin/permission.php | 4 ++-- admin/priority.php | 6 +++--- admin/product.php | 10 +++++----- admin/resolution.php | 6 +++--- admin/setting.php | 2 +- admin/severity.php | 6 +++--- admin/status.php | 6 +++--- admin/user.php | 4 ++-- admin/usergroup.php | 6 +++--- admin/userhelp.php | 4 ++-- 13 files changed, 33 insertions(+), 33 deletions(-) diff --git a/admin/autoaction.php b/admin/autoaction.php index 07d9a15..ee55014 100644 --- a/admin/autoaction.php +++ b/admin/autoaction.php @@ -169,7 +169,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') } $admin->table_start(); - $admin->table_head(($add ? $lang->string('New Automatic Action') : $lang->string('Edit Automatic Action')), 2, 'automatic_actions'); + $admin->table_head(($add ? $lang->string('New Automatic Action') : $lang->string('Edit Automatic Action'))); $admin->row_input($lang->string('Name'), 'name', $action['name']); $admin->row_textarea($lang->string('Description'), 'description', $action['description']); @@ -251,7 +251,7 @@ if ($_REQUEST['do'] == 'modify') $admin->page_start($lang->string('Automatic Actions')); $admin->table_start(); - $admin->table_head($lang->string('Automatic Actions'), 2, 'automatic_actions'); + $admin->table_head($lang->string('Automatic Actions')); $actions = $db->query("SELECT * FROM " . TABLE_PREFIX . "autoaction ORDER BY name ASC"); while ($action = $db->fetch_array($actions)) diff --git a/admin/field.php b/admin/field.php index 2f72117..55db768 100644 --- a/admin/field.php +++ b/admin/field.php @@ -166,12 +166,12 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') { $admin->form_hidden_field('step', 1); $admin->table_start(true, '40%'); - $admin->table_head($lang->string('Select Type'), 2, 'custom_bug_fields'); + $admin->table_head($lang->string('Select Type')); } else { $admin->table_start(); - $admin->table_head(($add ? $lang->string('Add New Bug Field') . ' - ' . FieldAPI::field_types($bugsys->in['type']) : $lang->string('Edit Field')), 2, 'custom_bug_fields_options'); + $admin->table_head(($add ? $lang->string('Add New Bug Field') . ' - ' . FieldAPI::field_types($bugsys->in['type']) : $lang->string('Edit Field'))); } if ($edit) diff --git a/admin/language.php b/admin/language.php index c5bd021..c2a452d 100644 --- a/admin/language.php +++ b/admin/language.php @@ -98,7 +98,7 @@ if ($_REQUEST['do'] == 'add') $admin->form_start('language.php', 'insert'); $admin->table_start(); - $admin->table_head($lang->string('New Language'), 2, 'language_edit'); + $admin->table_head($lang->string('New Language')); $admin->row_input($lang->string('Title'), 'title'); $admin->row_input($lang->string('Character Set'), 'charset', 'utf-8'); @@ -155,7 +155,7 @@ if ($_REQUEST['do'] == 'edit') $admin->form_start('language.php', 'update'); $admin->table_start(); - $admin->table_head(sprintf($lang->string('Edit Language - %1$s'), $language['title']), 2, 'language_edit'); + $admin->table_head(sprintf($lang->string('Edit Language - %1$s'), $language['title'])); $admin->form_hidden_field('languageid', $language['languageid']); diff --git a/admin/permission.php b/admin/permission.php index e830a85..ab12474 100755 --- a/admin/permission.php +++ b/admin/permission.php @@ -117,7 +117,7 @@ if ($_REQUEST['do'] == 'edit') // Permission $admin->table_start(); - $admin->table_head(sprintf($lang->string('Permissions: %1$s - %2$s'), $usergroup['title'], $product['title']), 2, 'usergroups_permissions_details'); + $admin->table_head(sprintf($lang->string('Permissions: %1$s - %2$s'), $usergroup['title'], $product['title'])); foreach ($permissions AS $group => $settings) { @@ -170,7 +170,7 @@ if ($_REQUEST['do'] == 'modify') $admin->page_start($lang->string('Permission Manager')); $admin->table_start(); - $admin->table_head($lang->string('Permission Manager'), 2, 'usergroups_permissions'); + $admin->table_head($lang->string('Permission Manager')); $groups = $db->query("SELECT * FROM " . TABLE_PREFIX . "usergroup ORDER BY usergroupid ASC"); while ($group = $db->fetch_array($groups)) diff --git a/admin/priority.php b/admin/priority.php index ddafdaf..ec87e98 100755 --- a/admin/priority.php +++ b/admin/priority.php @@ -79,7 +79,7 @@ if ($_REQUEST['do'] == 'add') $admin->form_start('priority.php', 'insert'); $admin->table_start(); - $admin->table_head($lang->string('New Priority'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('New Priority')); $admin->row_input($lang->string('Priority Title
The title of this priority flag (eg: `Slated for Development` or `Address Now`)
'), 'priority'); $admin->row_input($lang->string('Display Order
The order in which the priorities are displayed. The higher the number, the lower down in the list it is.
'), 'displayorder'); $admin->row_submit(); @@ -115,7 +115,7 @@ if ($_REQUEST['do'] == 'edit') $priority->set_condition(); $priority->fetch(); - $admin->page_start($lang->string('Edit Priority'), 2, 'standard_bug_fields'); + $admin->page_start($lang->string('Edit Priority')); $admin->form_start('priority.php', 'update'); $admin->form_hidden_field('priorityid', $priority->objdata['priorityid']); @@ -143,7 +143,7 @@ if ($_REQUEST['do'] == 'modify') $admin->form_start('priority.php', 'null'); $admin->table_start(); - $admin->table_head($lang->string('Priority Manager'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('Priority Manager')); while ($priority = $db->fetch_array($priorities)) { diff --git a/admin/product.php b/admin/product.php index 82f9052..ef25ad4 100755 --- a/admin/product.php +++ b/admin/product.php @@ -129,7 +129,7 @@ if ($_REQUEST['do'] == 'addversion') $admin->form_start('product.php', 'insertversion'); $admin->form_hidden_field('productid', $bugsys->in['productid']); $admin->table_start(); - $admin->table_head($lang->string('Add New Version'), 2, 'products_and_versions'); + $admin->table_head($lang->string('Add New Version')); $admin->row_input($lang->string('Version Number
This is the version string for this product.
'), 'version'); $admin->row_input($lang->string('Display Order
The order in which the versions are displayed.
'), 'displayorder'); $admin->row_submit(); @@ -169,7 +169,7 @@ if ($_REQUEST['do'] == 'editversion') $admin->form_start('product.php', 'updateversion'); $admin->form_hidden_field('versionid', $version['versionid']); $admin->table_start(); - $admin->table_head(sprintf($lang->string('Edit Version - %1$s'), $version['version']), 2, 'products_and_versions'); + $admin->table_head(sprintf($lang->string('Edit Version - %1$s'), $version['version'])); $admin->row_input($lang->string('Version Number
This is the version string for this product.
'), 'version', $version['version']); $admin->row_input($lang->string('Display Order
The order in which the versions are displayed.
'), 'displayorder', $version['displayorder']); $admin->row_submit(); @@ -247,7 +247,7 @@ if ($_REQUEST['do'] == 'addproduct') $admin->form_start('product.php', 'insertproduct'); $admin->form_hidden_field('componentmother', $bugsys->in['productid']); $admin->table_start(); - $admin->table_head($lang->string('Add Product'), 2, 'products_and_versions'); + $admin->table_head($lang->string('Add Product')); $admin->row_input($lang->string('Title'), 'title'); $admin->row_textarea($lang->string('Description
A short description of this product.
'), 'description'); $admin->row_input($lang->string('Display Order
The order in which the products are displayed.
'), 'displayorder'); @@ -296,7 +296,7 @@ if ($_REQUEST['do'] == 'editproduct') $admin->form_start('product.php', 'updateproduct'); $admin->form_hidden_field('productid', $product['productid']); $admin->table_start(); - $admin->table_head(sprintf($lang->string('Edit Product - %1$s'), $product['title']), 2, 'products_and_versions'); + $admin->table_head(sprintf($lang->string('Edit Product - %1$s'), $product['title'])); $admin->row_input($lang->string('Title'), 'title', $product['title']); $admin->row_textarea($lang->string('Description
A short description of this product.
'), 'description', $product['description']); $admin->row_input($lang->string('Display Order
The order in which the products are displayed.
'), 'displayorder', $product['displayorder']); @@ -373,7 +373,7 @@ EOF; $versions = (array)$version; $admin->table_start(); - $admin->table_head($lang->string('Products / Versions'), 2, 'products_and_versions'); + $admin->table_head($lang->string('Products / Versions')); // Handle our global versions if (is_array($versions['0'])) diff --git a/admin/resolution.php b/admin/resolution.php index 4d771da..1b4a311 100755 --- a/admin/resolution.php +++ b/admin/resolution.php @@ -79,7 +79,7 @@ if ($_REQUEST['do'] == 'add') $admin->form_start('resolution.php', 'insert'); $admin->table_start(); - $admin->table_head($lang->string('New Resolution'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('New Resolution')); $admin->row_input($lang->string('Resolution Title
The title of this resolution flag (eg: `Fixed` or `Bogus`)
'), 'resolution'); $admin->row_input($lang->string('Display Order
The order in which the resolutions are displayed. The higher the number, the lower down in the list it is.
'), 'displayorder'); $admin->row_submit(); @@ -115,7 +115,7 @@ if ($_REQUEST['do'] == 'edit') $resolution->set_condition(); $resolution->fetch(); - $admin->page_start($lang->string('Edit Resolution'), 2, 'standard_bug_fields'); + $admin->page_start($lang->string('Edit Resolution')); $admin->form_start('resolution.php', 'update'); $admin->form_hidden_field('resolutionid', $resolution->objdata['resolutionid']); @@ -143,7 +143,7 @@ if ($_REQUEST['do'] == 'modify') $admin->form_start('resolution.php', 'null'); $admin->table_start(); - $admin->table_head($lang->string('Resolution Manager'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('Resolution Manager')); while ($resolution = $db->fetch_array($resolutions)) { diff --git a/admin/setting.php b/admin/setting.php index ad594b8..10c9201 100755 --- a/admin/setting.php +++ b/admin/setting.php @@ -89,7 +89,7 @@ if ($_REQUEST['do'] == 'modify') foreach ($define AS $group => $name) { $admin->table_start(); - $admin->table_head($name, 2, 'admin_settings_' . $group); + $admin->table_head($name); foreach ($settings["$group"] AS $opt) { if (!isset($options["$opt[1]"])) diff --git a/admin/severity.php b/admin/severity.php index abc19b0..0693234 100755 --- a/admin/severity.php +++ b/admin/severity.php @@ -79,7 +79,7 @@ if ($_REQUEST['do'] == 'add') $admin->form_start('severity.php', 'insert'); $admin->table_start(); - $admin->table_head($lang->string('New Severity'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('New Severity')); $admin->row_input($lang->string('Severity Title
The title of this severity flag (eg: `Major` or `Critical`)
'), 'severity'); $admin->row_input($lang->string('Display Order
The order in which the severities are displayed. The higher the number, the lower down in the list it is.
'), 'displayorder'); $admin->row_submit(); @@ -120,7 +120,7 @@ if ($_REQUEST['do'] == 'edit') $admin->form_start('severity.php', 'update'); $admin->form_hidden_field('severityid', $severity->objdata['severityid']); $admin->table_start(); - $admin->table_head(sprintf($lang->string('Edit Severity - %1$s (id: %2$s)'), $severity->objdata['severity'], $severity->objdata['severityid']), 2, 'standard_bug_fields'); + $admin->table_head(sprintf($lang->string('Edit Severity - %1$s (id: %2$s)'), $severity->objdata['severity'], $severity->objdata['severityid'])); $admin->row_input($lang->string('Severity Title
The title of this severity flag (eg: `Major` or `Critical`)
'), 'severity', $severity->objdata['severity']); $admin->row_input($lang->string('Display Order
The order in which the severities are displayed. The higher the number, the lower down in the list it is.
'), 'displayorder', $severity->objdata['displayorder']); $admin->row_submit(); @@ -143,7 +143,7 @@ if ($_REQUEST['do'] == 'modify') $admin->form_start('severity.php', 'null'); $admin->table_start(); - $admin->table_head($lang->string('Severity Manager'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('Severity Manager')); while ($severity = $db->fetch_array($severities)) { diff --git a/admin/status.php b/admin/status.php index d976fee..3a86246 100755 --- a/admin/status.php +++ b/admin/status.php @@ -80,7 +80,7 @@ if ($_REQUEST['do'] == 'add') $admin->form_start('status.php', 'insert'); $admin->table_start(); - $admin->table_head($lang->string('New Status'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('New Status')); $admin->row_input($lang->string('Status Title
The title of this status flag (eg: `Confirmed` or `Closed (Fixed)`)
'), 'status'); $admin->row_input($lang->string('Display Order
The order in which the statuses ar displayed.
'), 'displayorder'); $admin->row_input($lang->string('Status Colour
The colour of the status. This will be displayed on bug listings page to make viewing easier. Note: you must enter the # sign if you are using HEX values.
'), 'color'); @@ -123,7 +123,7 @@ if ($_REQUEST['do'] == 'edit') $admin->form_start('status.php', 'update'); $admin->form_hidden_field('statusid', $status->objdata['statusid']); $admin->table_start(); - $admin->table_head(sprintf($lang->string('Edit Status - %1$s (id: %2$s)'), $status->objdata['status'], $status->objdata['statusid']), 2, 'standard_bug_fields'); + $admin->table_head(sprintf($lang->string('Edit Status - %1$s (id: %2$s)'), $status->objdata['status'], $status->objdata['statusid'])); $admin->row_input($lang->string('Status Title
The title of this status flag (eg: `Confirmed` or `Closed (Fixed)`)
'), 'status', $status->objdata['status']); $admin->row_input($lang->string('Display Order
The order in which the statuses ar displayed.
'), 'displayorder', $status->objdata['displayorder']); $admin->row_input($lang->string('Status Colour
The colour of the status. This will be displayed on bug listings page to make viewing easier. Note: you must enter the # sign if you are using HEX values.
'), 'color', $status->objdata['color']); @@ -146,7 +146,7 @@ if ($_REQUEST['do'] == 'modify') $statuses = $db->query("SELECT * FROM " . TABLE_PREFIX . "status"); $admin->table_start(); - $admin->table_head($lang->string('Status Manager'), 2, 'standard_bug_fields'); + $admin->table_head($lang->string('Status Manager')); while ($status = $db->fetch_array($statuses)) { diff --git a/admin/user.php b/admin/user.php index 0abe215..dad192f 100644 --- a/admin/user.php +++ b/admin/user.php @@ -107,7 +107,7 @@ if ($_REQUEST['do'] == 'edit' OR $_REQUEST['do'] == 'add') } } - $admin->page_start(($add ? $lang->string('Add User') : $lang->string('Edit User')), 2, 'user_manage'); + $admin->page_start(($add ? $lang->string('Add User') : $lang->string('Edit User'))); $admin->form_start('user.php', ($add ? 'insert' : 'update')); @@ -219,7 +219,7 @@ if ($_REQUEST['do'] == 'modify') $admin->form_start('user.php', 'search'); $admin->table_start(true, '45%'); - $admin->table_head($lang->string('User Search'), 2, 'user_manage'); + $admin->table_head($lang->string('User Search')); $admin->row_input($lang->string('Name/Email/ID'), 'userdata'); $admin->row_submit('', ':save:', ''); diff --git a/admin/usergroup.php b/admin/usergroup.php index ebfb924..ca37863 100755 --- a/admin/usergroup.php +++ b/admin/usergroup.php @@ -126,7 +126,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') // Details $admin->table_start(); - $admin->table_head($lang->string('Usergroup Details'), 2, 'usergroups'); + $admin->table_head($lang->string('Usergroup Details')); $admin->row_input($lang->string('Usergroup Title'), 'title', $bugsys->sanitize($usergroup->objdata['title'])); $admin->row_input($lang->string('Display Title
This is the title that others will be able to see when comments are posted.
'), 'displaytitle', $bugsys->sanitize($usergroup->objdata['displaytitle'])); $admin->table_end(); @@ -134,7 +134,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') // Permission $admin->table_start(); - $admin->table_head($lang->string('Permission Settings'), 2, 'usergroups'); + $admin->table_head($lang->string('Permission Settings')); foreach ($permissions AS $group => $settings) { @@ -149,7 +149,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') // custom field permissions $admin->table_start(); - $admin->table_head($lang->string('Custom Field Permissions'), 2, 'usergroups'); + $admin->table_head($lang->string('Custom Field Permissions')); if ($edit) { diff --git a/admin/userhelp.php b/admin/userhelp.php index 5bc437c..77ac1c4 100755 --- a/admin/userhelp.php +++ b/admin/userhelp.php @@ -83,7 +83,7 @@ if ($_REQUEST['do'] == 'add') $admin->form_start('userhelp.php', 'insert'); $admin->table_start(); - $admin->table_head($lang->string('New Help Text'), 2, 'user_help_manager'); + $admin->table_head($lang->string('New Help Text')); $admin->row_input($lang->string('Topic Title'), 'title'); $admin->row_input($lang->string('Unique Key
(lowercase letters, underscores, and numbers only)'), 'keystring'); @@ -129,7 +129,7 @@ if ($_REQUEST['do'] == 'modify') $admin->form_start('userhelp.php', 'update'); $admin->table_start(); - $admin->table_head($lang->string('Edit User Help'), 2, 'user_help_manager'); + $admin->table_head($lang->string('Edit User Help')); $topics = $db->query("SELECT * FROM " . TABLE_PREFIX . "fieldhelp ORDER BY keystring ASC"); while ($topic = $db->fetch_array($topics)) -- 2.22.5