2005-01-24 18:00:03 +00:00
|
|
|
<?
|
|
|
|
/*
|
|
|
|
This file is part of the 'Science Fair In A Box' project
|
|
|
|
SFIAB Website: http://www.sfiab.ca
|
|
|
|
|
|
|
|
Copyright (C) 2005 Sci-Tech Ontario Inc <info@scitechontario.org>
|
2008-08-22 19:12:53 +00:00
|
|
|
Copyright (C) 2005-2008 James Grant <james@lightbox.org>
|
2005-01-24 18:00:03 +00:00
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public
|
|
|
|
License as published by the Free Software Foundation, version 2.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; see the file COPYING. If not, write to
|
|
|
|
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
?>
|
2004-11-10 13:59:32 +00:00
|
|
|
<?
|
2007-11-17 21:59:59 +00:00
|
|
|
require_once("../common.inc.php");
|
2007-11-21 16:44:50 +00:00
|
|
|
require_once("../user.inc.php");
|
2007-11-17 21:59:59 +00:00
|
|
|
require_once("../committee.inc.php");
|
|
|
|
|
|
|
|
user_auth_required('committee','admin');
|
|
|
|
|
|
|
|
send_header("Administration",
|
2008-08-26 21:42:17 +00:00
|
|
|
array('Committee Main' => 'committee_main.php'),
|
|
|
|
"administration");
|
2004-11-10 13:59:32 +00:00
|
|
|
|
2008-07-24 16:20:16 +00:00
|
|
|
echo "<table class=\"adminconfigtable\">";
|
|
|
|
echo " <tr>";
|
|
|
|
echo " <td><a href=\"registration.php\">".theme_icon("participant_registration")."<br />".i18n("Participant Registration")."</a></td>";
|
|
|
|
echo " <td><a href=\"committees.php\">".theme_icon("committee_management")."<br />".i18n("Committee Management")."</a></td>";
|
2008-07-24 16:32:43 +00:00
|
|
|
echo " <td><a href=\"judges.php\">".theme_icon("judging_management")."<br />".i18n("Judging Management")."</a></td>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo " <td>";
|
2008-07-24 17:27:59 +00:00
|
|
|
if($config['volunteer_enable'] == 'yes')
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "<a href=\"volunteers.php\">".theme_icon("volunteer_management")."<br />".i18n("Volunteer Management")."</a>";
|
2008-07-24 17:27:59 +00:00
|
|
|
else
|
|
|
|
echo theme_icon("volunteer_management")."<br />".i18n("Volunteer Management")."<br /><i>(".i18n("disabled").")</i>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "</td>";
|
2008-08-26 20:45:29 +00:00
|
|
|
echo " </tr>";
|
|
|
|
echo "</table>\n";
|
|
|
|
echo "<hr />";
|
|
|
|
echo "<table class=\"adminconfigtable\">";
|
|
|
|
echo " <tr>";
|
|
|
|
echo " <td><a href=\"awards.php\">".theme_icon("awards_management")."<br />".i18n("Awards Management")."</a></td>";
|
|
|
|
echo " <td><a href=\"schools.php\">".theme_icon("schools_management")."<br />".i18n("Schools Management")."</a></td>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo " <td>";
|
2008-07-24 17:27:59 +00:00
|
|
|
if($config['tours_enable'] == 'yes')
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "<a href=\"tours.php\">".theme_icon("tour_management")."<br />".i18n("Tour Management")."</a>";
|
2008-07-24 17:27:59 +00:00
|
|
|
else
|
|
|
|
echo theme_icon("tour_management")."<br />".i18n("Tour Management")."<br /><i>(".i18n("disabled").")</i>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "</td>";
|
2008-07-24 17:27:59 +00:00
|
|
|
echo " <td>";
|
|
|
|
if($config['participant_regfee_items_enable'] == 'yes')
|
|
|
|
echo "<a href=\"regfee_items_manager.php\">".theme_icon("registration_fee_items_management")."<br />".i18n("Registration Fee Items Management")."</a>";
|
|
|
|
else
|
|
|
|
echo theme_icon("registration_fee_items_management")."<br />".i18n("Registration Fee Items Management")."<br /><i>(".i18n("disabled").")</i>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "</td>";
|
2008-08-26 20:45:29 +00:00
|
|
|
echo " </tr>\n";
|
|
|
|
echo " <tr>";
|
|
|
|
echo " <td><a href=\"reports.php\">".theme_icon("print/export_reports")."<br />".i18n("Print / Export Reports")."</a></td>";
|
|
|
|
echo " <td><a href=\"reports_ceremony.php\">".theme_icon("print_awards_ceremony_scripts")."<br />".i18n("Print Award Ceremony Scripts")."</a></td>";
|
|
|
|
echo " <td><a href=\"reports_editor.php\">".theme_icon("report_management")."<br />".i18n("Report Management")."</a></td>";
|
|
|
|
echo " <td><a href=\"translations.php\">".theme_icon("translations_management")."<br />".i18n("Translations Management")."</a></td>";
|
|
|
|
echo " <td>";
|
|
|
|
echo "</td>";
|
|
|
|
echo " </tr>\n";
|
|
|
|
echo " <tr>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "<td></td><td></td>\n";
|
|
|
|
echo " </tr>\n";
|
|
|
|
echo "</table>\n";
|
2005-03-02 18:47:19 +00:00
|
|
|
echo "<hr />";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "<table class=\"adminconfigtable\">";
|
|
|
|
echo " <tr>";
|
2009-01-17 19:45:42 +00:00
|
|
|
if($config['score_entry_enable'] == 'yes') {
|
|
|
|
echo "<td><a href=\"judging_score_entry.php\">".theme_icon("judging_score_entry")."<br />".i18n("Judging Score Entry")."</a></td>";
|
|
|
|
}
|
2008-07-24 17:15:42 +00:00
|
|
|
echo " <td><a href=\"winners.php\">".theme_icon("enter_winning_projects")."<br />".i18n("Enter Winning Projects")."</a></td>";
|
|
|
|
echo " <td><a href=\"cwsfregister.php\">".theme_icon("one-click_cwsf_registration")."<br />".i18n("One-Click CWSF Registration")."</a></td>";
|
|
|
|
echo " <td><a href=\"ysfstats.php\">".theme_icon("one-click_ysf_affiliation_stats")."<br />".i18n("One-Click YSF Affiliation Stats")."</a></td>";
|
|
|
|
echo " <td></td>";
|
|
|
|
echo " </tr>\n";
|
|
|
|
echo "</table>\n";
|
2005-05-04 21:23:00 +00:00
|
|
|
echo "<hr />";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo "<table class=\"adminconfigtable\">";
|
|
|
|
echo " <tr>";
|
|
|
|
echo " <td><a href=\"communication.php\">".theme_icon("communication")."<br />".i18n("Communication (Send Emails)")."</a></td>";
|
2008-09-17 14:30:18 +00:00
|
|
|
echo " <td><a href=\"documents.php\">".theme_icon("internal_document_management")."<br />".i18n("Internal Document Management")."</a></td>";
|
2008-08-22 20:48:50 +00:00
|
|
|
echo " <td><a href=\"cms.php\">".theme_icon("website_content_management")."<br />".i18n("Website Content Management")."</a></td>";
|
2008-07-24 17:15:42 +00:00
|
|
|
echo " <td></td>";
|
|
|
|
echo " </tr>\n";
|
|
|
|
echo "</table>\n";
|
2004-11-10 13:59:32 +00:00
|
|
|
|
|
|
|
send_footer();
|
|
|
|
?>
|