[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/events/info/conference2006/registration
From: Marcus Furlong <furlongm () gmail ! com>
Date: 2006-09-01 16:32:47
Message-ID: 1157128367.010246.11146.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 579779 by furlongm:
another try to fix registrations
M +3 -3 functions2.inc
M +9 -9 registration.php
--- trunk/www/areas/events/info/conference2006/registration/functions2.inc \
#579778:579779 @@ -69,7 +69,7 @@
echo "<p>\n";
echo "Which days and/or nights will you be attending aKademy?<br /><br />";
// echo "Note: if you select the checkboxes for accommodation below, it is assumed \
that you require space to be reserved for you in the youth hostel. If you will be \
arranging the accommodation yourself (for example in a hotel), please leave the \
accommodation boxes blank. The hostel accommodation is €17.50 per night \
including a light breakfast.";
- echo "Note: There is no KDE accommodation left, if you require changes to your \
existing accommodation, please contact akademy-team@kde.org"; + echo "<b>Note: There \
is no KDE accommodation left, if you require changes to your existing accommodation, \
please contact akademy-team@kde.org</b>"; echo "<table border=\"1\">\n";
row("Day", "Attending?", "Require accommodation?");
row("Friday 22nd", "", checkbox_disabled("accom0", $row['accom0']));
@@ -175,11 +175,11 @@
{
if ($on)
{
- return "<input type=\"checkbox\" name=\"$name\" checked \
readonly=\"readonly\" disabled=\"true\">Yes</input>"; + return \
"<input type=\"hidden\" name=\"$name\" value=\"1\" ></input><input type=\"checkbox\" \
checked disabled=\"true\">Yes</input>"; }
else
{
- return "<input type=\"checkbox\" name=\"$name\" \
readonly=\"readonly\" disabled=\"true\">Yes</input>"; + return \
"<input type=\"hidden\" name=\"$name\" value=\"0\" ></input><input type=\"checkbox\" \
disabled=\"true\">Yes</input>"; }
}
--- trunk/www/areas/events/info/conference2006/registration/registration.php \
#579778:579779 @@ -104,15 +104,15 @@
$sql .= "att6 = " . checkboxVal($_POST['att6']) . ", ";
$sql .= "att7 = " . checkboxVal($_POST['att7']) . ", ";
$sql .= "att8 = " . checkboxVal($_POST['att8']) . ", ";
-// $sql .= "accom0 = " . checkboxVal($_POST['accom0']) . ", ";
-// $sql .= "accom1 = " . checkboxVal($_POST['accom1']) . ", ";
-// $sql .= "accom2 = " . checkboxVal($_POST['accom2']) . ", ";
-// $sql .= "accom3 = " . checkboxVal($_POST['accom3']) . ", ";
-// $sql .= "accom4 = " . checkboxVal($_POST['accom4']) . ", ";
-// $sql .= "accom5 = " . checkboxVal($_POST['accom5']) . ", ";
-// $sql .= "accom6 = " . checkboxVal($_POST['accom6']) . ", ";
-// $sql .= "accom7 = " . checkboxVal($_POST['accom7']) . ", ";
-// $sql .= "accom8 = " . checkboxVal($_POST['accom8']) . ", ";
+ $sql .= "accom0 = " . checkboxVal($_POST['accom0']) . ", ";
+ $sql .= "accom1 = " . checkboxVal($_POST['accom1']) . ", ";
+ $sql .= "accom2 = " . checkboxVal($_POST['accom2']) . ", ";
+ $sql .= "accom3 = " . checkboxVal($_POST['accom3']) . ", ";
+ $sql .= "accom4 = " . checkboxVal($_POST['accom4']) . ", ";
+ $sql .= "accom5 = " . checkboxVal($_POST['accom5']) . ", ";
+ $sql .= "accom6 = " . checkboxVal($_POST['accom6']) . ", ";
+ $sql .= "accom7 = " . checkboxVal($_POST['accom7']) . ", ";
+ $sql .= "accom8 = " . checkboxVal($_POST['accom8']) . ", ";
$sql .= "roommates = '" . addslashes($_POST['roommates']) . "' ";
$sql .= "WHERE token = '$token'";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic