diff --git a/admin/fundraising.php b/admin/fundraising.php
index 69a2fa2..4cce950 100644
--- a/admin/fundraising.php
+++ b/admin/fundraising.php
@@ -155,13 +155,13 @@ echo "";
echo "
\n";
echo "
\n";
- echo "Manage Sponsorship Levels\n";
+ echo "Manage Donation Levels\n";
echo "
\n";
- echo "Manage Sponsors\n";
+ echo "Manage Donors\n";
echo "
\n";
?>
-
".i18n("Sponsor Type")." | "; + echo "|
---|---|
".i18n("Donor Type")." | "; echo ""; echo " ".i18n("Organization"); echo " "; echo " "; echo " "; echo " ".i18n("Individual"); echo " |
".i18n("Sponsor")." | "; + echo "|
".i18n("Donor")." | "; echo ""; $q=mysql_query("SELECT * FROM sponsors ORDER BY organization"); @@ -98,19 +98,19 @@ function typechange() { } else { - echo " |
".i18n("Sponsor Type")." | "; + echo "|
".i18n("Donor Type")." | "; echo ""; if($sponsorship->sponsors_id) echo i18n("Organization"); else echo i18n("Individual"); echo " |
".i18n("Sponsor")." | "; + echo "|
".i18n("Donor")." | "; echo ""; echo $sponsorship->organization; } echo " |
".i18n("Type")." | "; + echo "|
".i18n("Donation Allocation")." | "; echo "";
$q=mysql_query("SELECT * FROM fundraising WHERE year='{$config['FAIRYEAR']}' ORDER BY name");
echo mysql_error();
diff --git a/admin/fundraising_sponsorship_handler.inc.php b/admin/fundraising_sponsorship_handler.inc.php
index 09762a7..284b22a 100644
--- a/admin/fundraising_sponsorship_handler.inc.php
+++ b/admin/fundraising_sponsorship_handler.inc.php
@@ -20,6 +20,7 @@ if($_POST['action']=="sponsorshipedit" || $_POST['action']=="sponsorshipadd") {
}
if($_POST['action']=="sponsorshipedit") {
+
if($sponsorships_id && $fundraising_type && $value) {
$q=mysql_query("SELECT * FROM sponsorships WHERE id='$sponsorships_id'");
$current=mysql_fetch_object($q);
@@ -58,7 +59,7 @@ if($_POST['action']=="sponsorshipedit") {
echo error_("No changes were made");
}
else {
- echo error_("Required fields were missing, please try again");
+ echo error_("Required fields were missing, please try again".print_r($_POST,true));
}
exit;
}
diff --git a/admin/sponsors.php b/admin/sponsors.php
index f92fd45..2232120 100644
--- a/admin/sponsors.php
+++ b/admin/sponsors.php
@@ -145,7 +145,7 @@
break;
}
- send_header("Sponsors",
+ send_header("Donor Management",
array('Committee Main' => 'committee_main.php',
'Administration' => 'admin/index.php',
'Fundraising Main' => 'admin/fundraising.php')
@@ -304,11 +304,11 @@ function activityinfo_save() {
-
+
|