gnomeweb-wml r6603 - trunk/www.gnome.org/friends



Author: lucasr
Date: Tue Jan 13 23:42:45 2009
New Revision: 6603
URL: http://svn.gnome.org/viewvc/gnomeweb-wml?rev=6603&view=rev

Log:
One more test in step2.wml


Modified:
   trunk/www.gnome.org/friends/step2.wml

Modified: trunk/www.gnome.org/friends/step2.wml
==============================================================================
--- trunk/www.gnome.org/friends/step2.wml	(original)
+++ trunk/www.gnome.org/friends/step2.wml	Tue Jan 13 23:42:45 2009
@@ -59,40 +59,32 @@
                         <input type="radio" value="You will receive a postcard from Stormy Peters" name="os0"/>Stormy Peters<br/>
                         <input type="radio" value="You will receive a postcard from Lucas Rocha" name="os0"/>Lucas Rocha<br/>
                         <input type="radio" value="You will receive a postcard from Vincent Untz" name="os0"/>Vincent Untz<br/>
-                        <input type="radio" value="You will receive a postcard from Luis Villa" name="os0"/>Luis Villa<br/>
-			<h3>Select a t-shirt size</h3>
-                        <input type="hidden" value="T-shirt Size" name="on3"/>
-			<select name="os3">
-			<option value="P">S</option>
-			<option value="M">M</option>
-			<option value="G" selected>L</option>
-			<option value="GG">XL</option>
-			</select>';
+                        <input type="radio" value="You will receive a postcard from Luis Villa" name="os0"/>Luis Villa<br/>';
 			break;
 			case 'associate':
 			echo 'You have chosen to become a <strong>associate</strong> <a href="index.html">(change)</a> for a one time amount of <input type="text" id="amount" name="amount" value="$25" size=5>';
-
 			break;
 			case 'sponsor':
-			echo 'You have chosen to become a <strong>sponsor</strong> <a href="index.html">(change)</a> for a one time  <input type="text" id="amount" name="amount" value="$500" size=5>
-			<h3>Select a t-shirt size</h3>
-                        <input type="hidden" value="T-shirt Size" name="on3"/>
-			<select name="os3">
-			<option value="P">S</option>
-			<option value="M">M</option>
-			<option value="G" selected>L</option>
-			<option value="GG">XL</option>
-			</select>';
-
+			echo 'You have chosen to become a <strong>sponsor</strong> <a href="index.html">(change)</a> for a one time  <input type="text" id="amount" name="amount" value="$500" size=5>';
 			break;
 			case 'philanthropist':
-				echo 'You have chosen to become a <strong>philanthropist</strong> <a href="index.html">(change)</a> for a one time  <input type="text" id="amount" name="amount" value="$1200" size=5>';
+			echo 'You have chosen to become a <strong>philanthropist</strong> <a href="index.html">(change)</a> for a one time  <input type="text" id="amount" name="amount" value="$1200" size=5>';
 			break;
 			default:
 				header('location: ./index.html');
 				die('No type selected.');
 			break;
 		}
+
+		
+		if ($_POST['aidtype'] == 'adopt' || $_POST['aidtype'] == 'sponsor') {
+			echo '<h3>Select a t-shirt size:</h3>
+                        <input type="hidden" value="T-shirt Size" name="on3"/>
+                        <input type="radio" value="S" name="os3"/>S
+                        <input type="radio" value="M" name="os3"/>M
+                        <input type="radio" value="L" name="os3" checked/>L
+                        <input type="radio" value="XL" name="os3"/>XL<br/>';
+		}
 	}
 	else header('location: ./index.html');
 ?>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]