diff --git a/admin/index.php b/admin/index.php index 852195a8..67701a87 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,109 +1,110 @@ - Copyright (C) 2005-2008 James Grant - - 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. -*/ +/* + * 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 + * Copyright (C) 2005-2008 James Grant + * + * 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. + */ ?> 'committee_main.php'), + 'administration'); - send_header("Administration", - array('Committee Main' => 'committee_main.php'), - "administration"); +echo ''; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo "
' . theme_icon('participant_registration') . '
' . i18n('Participant Registration') . '
' . theme_icon('committee_management') . '
' . i18n('Committee Management') . '
' . theme_icon('judging_management') . '
' . i18n('Judging Management') . '
'; +if ($config['volunteer_enable'] == 'yes') + echo '' . theme_icon('volunteer_management') . '
' . i18n('Volunteer Management') . '
'; +else + // {echo theme_icon("volunteer_management")."
".i18n("Volunteer Management")."
(".i18n("disabled").")"}; + echo '
\n"; +echo '
'; +echo ''; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo " \n"; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo ''; +echo " \n"; - echo "
' . theme_icon('awards_management') . '
' . i18n('Awards Management') . '
' . theme_icon('schools_management') . '
' . i18n('Schools Management') . '
'; +if ($config['tours_enable'] == 'yes') + echo '' . theme_icon('tour_management') . '
' . i18n('Tour Management') . '
'; +else + // {echo theme_icon("tour_management")."
".i18n("Tour Management")."
(".i18n("disabled").")";} + echo '
'; +if ($config['participant_regfee_items_enable'] == 'yes') + echo '' . theme_icon('registration_fee_items_management') . '
' . i18n('Registration Fee Items Management') . '
'; +else + // {echo theme_icon("registration_fee_items_management")."
".i18n("Registration Fee Items Management")."
(".i18n("disabled").")";} + echo '
' . theme_icon('print/export_reports') . '
' . i18n('Print / Export Reports') . '
' . theme_icon('print_awards_ceremony_scripts') . '
' . i18n('Print Award Ceremony Scripts') . '
' . theme_icon('report_management') . '
' . i18n('Report Management') . '
' . theme_icon('translations_management') . '
' . i18n('Translations Management') . '
"; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo "
".theme_icon("participant_registration")."
".i18n("Participant Registration")."
".theme_icon("committee_management")."
".i18n("Committee Management")."
".theme_icon("judging_management")."
".i18n("Judging Management")."
"; - if($config['volunteer_enable'] == 'yes') - echo "".theme_icon("volunteer_management")."
".i18n("Volunteer Management")."
"; - else - // {echo theme_icon("volunteer_management")."
".i18n("Volunteer Management")."
(".i18n("disabled").")"}; - echo "
\n"; - echo "
"; - echo ""; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - echo " \n"; +echo ' '; +echo "\n"; +echo " \n"; +echo "
".theme_icon("awards_management")."
".i18n("Awards Management")."
".theme_icon("schools_management")."
".i18n("Schools Management")."
"; - if($config['tours_enable'] == 'yes') - echo "".theme_icon("tour_management")."
".i18n("Tour Management")."
"; - else - // {echo theme_icon("tour_management")."
".i18n("Tour Management")."
(".i18n("disabled").")";} - echo "
"; - if($config['participant_regfee_items_enable'] == 'yes') - echo "".theme_icon("registration_fee_items_management")."
".i18n("Registration Fee Items Management")."
"; - else - // {echo theme_icon("registration_fee_items_management")."
".i18n("Registration Fee Items Management")."
(".i18n("disabled").")";} - echo "
\n"; +echo '
'; +echo ''; +echo ' '; +echo ' '; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - - echo ""; - echo " \n"; +/* + * echo " "; + * echo " "; + * echo " "; + */ +if (get_value_from_array($config, 'score_entry_enable') == 'yes') { + echo ''; +} +echo " \n"; +echo "
' . theme_icon('enter_winning_projects') . '
' . i18n('Enter Winning Projects') . '
".theme_icon("print/export_reports")."
".i18n("Print / Export Reports")."
".theme_icon("print_awards_ceremony_scripts")."
".i18n("Print Award Ceremony Scripts")."
".theme_icon("report_management")."
".i18n("Report Management")."
".theme_icon("translations_management")."
".i18n("Translations Management")."
".theme_icon("one-click_cwsf_registration")."
".i18n("One-Click CWSF Registration")."
".theme_icon("fair_stats")."
".i18n("Upload Fair Statistics")."
".theme_icon("sciencefair_management")."
".i18n("Feeder/Upstream Fair Management")."
' . theme_icon('judging_score_entry') . '
' . i18n('Judging Score Entry') . '
\n"; +echo '
'; +echo ''; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +echo ' '; +if (get_value_from_array($config, 'score_entry_enable') == 'yes') { + echo ''; +} +// echo " "; +echo " \n"; +echo "
' . theme_icon('communication') . '
' . i18n('Communication (Send Emails)') . '
' . theme_icon('internal_document_management') . '
' . i18n('Internal Document Management') . '
' . theme_icon('website_content_management') . '
' . i18n('Website Content Management') . '
' . theme_icon('fundraising') . '
' . i18n('Fundraising') . '
' . theme_icon('judging_score_entry') . '
' . i18n('Evaluations Plugin') . '
Go To Evaluations
\n"; - echo " "; - echo "\n"; - echo " \n"; - echo "\n"; - echo "
"; - echo ""; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; -if(get_value_from_array($config, 'score_entry_enable') == 'yes') { - echo ""; - } - echo " \n"; - echo "
".theme_icon("enter_winning_projects")."
".i18n("Enter Winning Projects")."
".theme_icon("one-click_cwsf_registration")."
".i18n("One-Click CWSF Registration")."
".theme_icon("fair_stats")."
".i18n("Upload Fair Statistics")."
".theme_icon("sciencefair_management")."
".i18n("Feeder/Upstream Fair Management")."
".theme_icon("judging_score_entry")."
".i18n("Judging Score Entry")."
\n"; - echo "
"; - echo ""; - echo " "; - echo " "; - echo " "; - echo " "; - echo " "; - if(get_value_from_array($config, 'score_entry_enable') == 'yes') { - echo ""; - } - //echo " "; - echo " \n"; - echo "
".theme_icon("communication")."
".i18n("Communication (Send Emails)")."
".theme_icon("internal_document_management")."
".i18n("Internal Document Management")."
".theme_icon("website_content_management")."
".i18n("Website Content Management")."
".theme_icon("fundraising")."
".i18n("Fundraising")."
".theme_icon("judging_score_entry")."
".i18n("Evaluations Plugin")."
Go To Evaluations
\n"; - - send_footer(); +send_footer(); ?> diff --git a/config/index.php b/config/index.php index a0c8ccc6..b72f8f6c 100644 --- a/config/index.php +++ b/config/index.php @@ -56,7 +56,7 @@ echo ' '; echo " \n"; echo "\n"; echo '
'; -echo ''; +/* echo '
'; echo ' '; echo ' '; echo ' '; @@ -64,7 +64,7 @@ echo " \n"; echo " \n"; echo ' '; echo "
' . theme_icon('language_pack_installer') . '
' . i18n('Language Pack Installer') . '
' . theme_icon('new_version_checker') . '
' . i18n('New Version Checker') . '
\n"; -echo '
'; +echo '
'; */ echo ''; echo ' '; echo ' ';
' . theme_icon('rollover_fair_year') . '
' . i18n('Rollover Fair Year') . '