From cdf08d942f1a35d16110163c23db9fe864d687d7 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 10 Jul 2005 06:26:35 +0000 Subject: [PATCH] r287: Renamig files in admin/; part 1 of a 2-stage commit. --- admin/fields.php | 14 +++++++------- admin/global.php | 4 ++-- admin/options.php | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/admin/fields.php b/admin/fields.php index 9a6c9f2..a8091fd 100644 --- a/admin/fields.php +++ b/admin/fields.php @@ -45,7 +45,7 @@ if ($_REQUEST['do'] == 'kill') $db->query("ALTER TABLE " . TABLE_PREFIX . "bugvaluefill DROP field$field[fieldid]"); $db->query("OPTIMIZE TABLE " . TABLE_PREFIX . "bugvaluefill"); - $admin->redirect('fields.php?do=modify', 'The field has been successfully removed from the system.'); + $admin->redirect('field.php?do=modify', 'The field has been successfully removed from the system.'); } // ################################################################### @@ -58,7 +58,7 @@ if ($_REQUEST['do'] == 'delete') $admin->error(lang::p('error_invalid_id')); } - $admin->page_confirm('Are you sure you want to delete this bug field? Doing so will remove everything for this field and it cannot be undone!', "fields.php?do=kill&fieldid=$field[fieldid]"); + $admin->page_confirm('Are you sure you want to delete this bug field? Doing so will remove everything for this field and it cannot be undone!', "field.php?do=kill&fieldid=$field[fieldid]"); } // ################################################################### @@ -153,7 +153,7 @@ if ($_REQUEST['do'] == 'update') ); } - $admin->redirect('fields.php?do=modify', (($add) ? 'The custom bug field has been added.' : 'The bug field has been updated.')); + $admin->redirect('field.php?do=modify', (($add) ? 'The custom bug field has been added.' : 'The bug field has been updated.')); } // ################################################################### @@ -165,7 +165,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') $edit = (($add) ? false : true); $admin->page_start(lang::p((($add) ? 'add_new_field' : 'edit_field'))); - $admin->form_start('fields.php', (($typeselect) ? 'add' : 'update')); + $admin->form_start('field.php', (($typeselect) ? 'add' : 'update')); if ($add AND !$typeselect) { $admin->form_hidden_field('type', $bugsys->in['type']); @@ -248,7 +248,7 @@ if ($_REQUEST['do'] == 'add' OR $_REQUEST['do'] == 'edit') } // end table - $admin->row_submit((($edit) ? '[Delete Field]' : '')); + $admin->row_submit((($edit) ? '[Delete Field]' : '')); $admin->table_end(); $admin->form_end(); } @@ -273,12 +273,12 @@ if ($_REQUEST['do'] == 'modify') array( "$field[name]
$field[description]
" => 'l', "(fieldid: $field[fieldid])" => 'c', - "[Edit] [Delete]" => 'c' + "[Edit] [Delete]" => 'c' ) ); } - $admin->row_span('', 'tfoot', 'center', 3); + $admin->row_span('', 'tfoot', 'center', 3); $admin->table_end(); $admin->page_end(); diff --git a/admin/global.php b/admin/global.php index 4d719a8..180a8a0 100755 --- a/admin/global.php +++ b/admin/global.php @@ -25,7 +25,7 @@ $globalnav = array( ), 'Options' => array( - 'BugStrike Options' => 'options.php', + 'BugStrike Settings' => 'setting.php', //'Manage Languages' => 'language.php' ), @@ -35,7 +35,7 @@ $globalnav = array( 'Resolutions' => 'resolution.php', 'Severities' => 'severity.php', 'Statuses' => 'status.php', - 'Custom Bug Fields' => 'fields.php', + 'Custom Bug Fields' => 'field.php', 'Automatic Actions' => 'autoaction.php' ), diff --git a/admin/options.php b/admin/options.php index b10682c..97bd645 100755 --- a/admin/options.php +++ b/admin/options.php @@ -39,16 +39,16 @@ if ($_POST['do'] == 'update') build_settings(); - $admin->redirect('options.php'); + $admin->redirect('setting.php'); } // ################################################################### if ($_REQUEST['do'] == 'modify') { - $admin->page_start('Options'); + $admin->page_start('Settings'); - $admin->form_start('options.php', 'update'); + $admin->form_start('setting.php', 'update'); $settings = $db->query("SELECT * FROM " . TABLE_PREFIX . "setting "); while ($setting = $db->fetch_array($settings)) -- 2.43.5