[llvm-commits] CVS: llvm-www/devmtg/students.php
Tanya Lattner
tonic at nondot.org
Thu Jul 9 11:06:36 PDT 2009
Changes in directory llvm-www/devmtg:
students.php updated: 1.4 -> 1.5
---
Log message:
Updating student funding request form.
---
Diffs of the changes: (+12 -8)
students.php | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
Index: llvm-www/devmtg/students.php
diff -u llvm-www/devmtg/students.php:1.4 llvm-www/devmtg/students.php:1.5
--- llvm-www/devmtg/students.php:1.4 Fri Jul 18 12:38:58 2008
+++ llvm-www/devmtg/students.php Thu Jul 9 13:06:21 2009
@@ -10,21 +10,23 @@
function notify() {
-$to = "llvm-devmtg08-admin at nondot.org";
+$to = "llvm-devmtg-admin at nondot.org";
//$to = "tonic at nondot.org";
-$subject = "LLVM Dev Meeting Student Funding Request";
+$subject = "LLVM Dev Meeting Student & Active Contributor Funding Request";
$body = '<html><body>';
$body .= '<p>Name: ' . $_POST['first'] . ' ' . $_POST['last'] . '</p>';
-$body .= '<p>School: ' . $_POST['school'] . '</p>';
+$body .= '<p>School/Organization: ' . $_POST['school'] . '</p>';
$body .= '<p>Email: ' . $_POST['email'] . '</p>';
$body .= '<p>Location: ' . $_POST['location'] . '</p>';
if($_POST['level'] == 1)
$level = "Undergraduate";
-else
+else if($_POST['level'] == 2)
$level = "Graduate";
+else
+$level = "Not a student";
$body .= '<p>Level: ' . $level . '</p>';
@@ -76,7 +78,7 @@
array_push($errors, "Email must be provided");
if ($_POST['school'] == "")
- array_push($errors, "School must be provided");
+ array_push($errors, "School/Organization must be provided");
if ($_POST['location']=="")
array_push($errors, "Location must be provided");
@@ -223,6 +225,8 @@
print ' Undergraduate ';
inputRadioCheck("level", $_POST, 2);
print ' Graduate</p>';
+inputRadioCheck("level", $_POST, 2);
+print ' Not a student</p>';
print '<p>Amount of funding : ';
inputRadioCheck("type", $_POST, 1);
print ' Partial ';
@@ -239,11 +243,11 @@
}
?>
-<div class="www_sectiontitle">LLVM Developers' Meeting - Student Funding Request</div>
+<div class="www_sectiontitle">LLVM Developers' Meeting - Student & Active Contributor Funding Request</div>
-<b>Student Funding is closed for this year. </b>
+<!--- <b>Student Funding is closed for this year. </b> -->
-<? exit; ?>
+<? //exit; ?>
<?
More information about the llvm-commits
mailing list