diff --git a/config/categories.php b/config/categories.php
index b93a9bd..f6003e6 100644
--- a/config/categories.php
+++ b/config/categories.php
@@ -23,10 +23,18 @@
?>
require("../common.inc.php");
- auth_required('config');
+ user_auth_required('committee', 'config');
- send_header("Configuration - Categories and Divisions");
- echo "<< ".i18n("Back to Configuration")."
";
+ if($_GET['action']=="edit" || $_GET['action']=="new") {
+ send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category',
+ array('Committee Main' => 'committee_main.php',
+ 'SFIAB Configuration' => 'config/index.php',
+ 'Age Categories' => 'config/categories.php'));
+ } else {
+ send_header("Age Categories",
+ array('Committee Main' => 'committee_main.php',
+ 'SFIAB Configuration' => 'config/index.php'));
+ }
if($_POST['action']=="edit")
{
@@ -96,7 +104,6 @@
}
echo "