Bug and Typo fixes are per John Meskes

This commit is contained in:
james 2005-12-15 22:28:04 +00:00
parent 5b35723e8a
commit d8321449f9
5 changed files with 28 additions and 18 deletions

View File

@ -80,7 +80,7 @@
echo happy("Sponsor successfully unconfirmed");
}
if($_GET['action']=="edit" || $action=="add")
if($_GET['action']=="edit" || $_GET['action']=="add")
{
echo "<a href=\"award_sponsors.php\">&lt;&lt; ".i18n("Back to Award Sponsors")."</a>\n";
@ -91,7 +91,7 @@
$q=mysql_query("SELECT * FROM award_sponsors WHERE id='".$_GET['edit']."'");
$r=mysql_fetch_object($q);
}
else if($action=="add")
else if($_GET['action']=="add")
{
echo "<h3>".i18n("Add New Award Sponsor")."</h3>\n";
$buttontext="Add Sponsor";

View File

@ -347,15 +347,18 @@ if( ($action=="edit" || $action=="assign" ) && $edit)
echo "<td width=\"200\">";
echo "<b>".$team['name']." (#".$team['num'].")</b><br />";
$memberlist="";
foreach($team['members'] AS $member)
if(count($team['members']))
{
echo "&nbsp;&nbsp;";
if($member['captain']=="yes")
echo "<i>";
echo $member['firstname']." ".$member['lastname']."<br />";
if($member['captain']=="yes")
echo "</i>";
foreach($team['members'] AS $member)
{
echo "&nbsp;&nbsp;";
if($member['captain']=="yes")
echo "<i>";
echo $member['firstname']." ".$member['lastname']."<br />";
if($member['captain']=="yes")
echo "</i>";
}
}
echo "</td>";
echo "<td>";

View File

@ -165,15 +165,18 @@ function checkinvert(what)
echo "<td>";
echo "<b>".$team['name']." (#".$team['num'].")</b><br />";
$memberlist="";
foreach($team['members'] AS $member)
if(count($team['members']))
{
echo "&nbsp;&nbsp;";
if($member['captain']=="yes")
echo "<i>";
echo $member['firstname']." ".$member['lastname']."<br />";
if($member['captain']=="yes")
echo "</i>";
foreach($team['members'] AS $member)
{
echo "&nbsp;&nbsp;";
if($member['captain']=="yes")
echo "<i>";
echo $member['firstname']." ".$member['lastname']."<br />";
if($member['captain']=="yes")
echo "</i>";
}
}
echo "</td>";
echo "<td>";

View File

@ -71,7 +71,7 @@
echo happy("School successfully deleted");
}
if($_GET['action']=="edit" || $action=="add")
if($_GET['action']=="edit" || $_GET['action']=="add")
{
echo "<a href=\"schools.php\">&lt;&lt; ".i18n("Back to Schools")."</a>\n";
@ -82,7 +82,7 @@
$q=mysql_query("SELECT * FROM schools WHERE id='".$_GET['edit']."'");
$r=mysql_fetch_object($q);
}
else if($action=="add")
else if($_GET['action']=="add")
{
echo "<h3>".i18n("Add New School")."</h3>\n";
$buttontext="Add School";

View File

@ -0,0 +1,4 @@
UPDATE `pagetext` SET `text`='Welcome to the online registration and management system for the fair. Using the links on the left the public can register as a participant or register as a judge. \r\n\r\nThe committee can use the Fair Administration link to manage the fair, see who''s registered, generate reports, etc. \r\n\r\nThe SFIAB configuration link is for the committee webmaster to manage the configuration of the Science Fair In A Box for the fair.\r\n' WHERE `textname`='index' AND `year`='-1';
UPDATE `emails` SET `body`='A new registration account has been created for you. To access your registration account, please enter the following registration number into the registration website:\r\n\r\nRegistration Number: [REGNUM]\r\n' WHERE `val`='new_participant';
UPDATE `emails` SET `body`='We have received a request for the retrieval of your registration number from this email address. Please find your existing registration number below\r\n\r\nRegistration Number: [REGNUM]\r\n' WHERE `val`='register_participants_resend_regnum';
UPDATE `config` SET `description`='The single password to use for participant registration if participant_registration_type is singlepassword. Leave blank if not using singlepassword participant registration' WHERE `var`='participant_registration_singlepassword' AND `year`='-1';