Update /config files too

This commit is contained in:
dave 2010-07-13 03:30:23 +00:00
parent ad0468e4e1
commit 2a4b64588d
13 changed files with 13 additions and 13 deletions

View File

@ -25,7 +25,7 @@
require_once("../user.inc.php"); require_once("../user.inc.php");
require("../tableeditor.class.php"); require("../tableeditor.class.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("External Award Sources Manager", send_header("External Award Sources Manager",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php'), 'SFIAB Configuration' => 'config/index.php'),

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
if($_GET['action']=="edit" || $_GET['action']=="new") { if($_GET['action']=="edit" || $_GET['action']=="new") {
send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category', send_header(($_GET['action']=="edit") ? 'Edit Category' : 'New Category',

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("Dates", send_header("Dates",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'Conference Configuration' => 'config/index.php') 'Conference Configuration' => 'config/index.php')

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
if($_GET['action']=="edit" || $_GET['action']=="new") { if($_GET['action']=="edit" || $_GET['action']=="new") {
send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division", send_header(($_GET['action']=="edit") ? "Edit Division" : "New Division",

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("CWSF Project Divisions", send_header("CWSF Project Divisions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')

View File

@ -24,7 +24,7 @@
<? <?
require_once('../common.inc.php'); require_once('../common.inc.php');
require_once('../user.inc.php'); require_once('../user.inc.php');
user_auth_required('committee', 'config'); user_auth_required('config');
$title=$conference['name']." Logo Image"; $title=$conference['name']." Logo Image";
$cstr=$conference['id']."-"; $cstr=$conference['id']."-";

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("Conference Configuration", send_header("Conference Configuration",
array('Committee Main' => 'committee_main.php') array('Committee Main' => 'committee_main.php')

View File

@ -25,7 +25,7 @@
require("../questions.inc.php"); require("../questions.inc.php");
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("Judge Registration Questions", send_header("Judge Registration Questions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
//make sure storage folder exists //make sure storage folder exists
if(!file_exists("../data/userfiles")) if(!file_exists("../data/userfiles"))

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("Safety Questions", send_header("Safety Questions",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
send_header("Signature Page", send_header("Signature Page",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',
'SFIAB Configuration' => 'config/index.php') 'SFIAB Configuration' => 'config/index.php')

View File

@ -24,7 +24,7 @@
<? <?
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
if($_GET['action']=="edit" || $_GET['action']=="new") { if($_GET['action']=="edit" || $_GET['action']=="new") {
send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division", send_header(($_GET['action']=="edit") ? "Edit Sub-Division" : "New Sub-Division",
array('Committee Main' => 'committee_main.php', array('Committee Main' => 'committee_main.php',

View File

@ -25,7 +25,7 @@
require("../common.inc.php"); require("../common.inc.php");
require_once("../user.inc.php"); require_once("../user.inc.php");
require_once("../config_editor.inc.php"); require_once("../config_editor.inc.php");
user_auth_required('committee', 'config'); user_auth_required('config');
$q=mysql_query("SELECT * FROM config WHERE conferences_id='-1' AND conferencetypes LIKE '%{$conference['type']}%'"); $q=mysql_query("SELECT * FROM config WHERE conferences_id='-1' AND conferencetypes LIKE '%{$conference['type']}%'");
while($r=mysql_fetch_object($q)) { while($r=mysql_fetch_object($q)) {