User: knarf Date: 2011/06/14 10:35 AM
Modified: /documentation/ request.php, send-account.php
Log: fix email script: include advisor
File Changes:
Directory: /documentation/ ==========================
File [modified]: request.php Delta lines: +3 -1 =================================================================== --- documentation/request.php 2011-06-14 03:14:34 UTC (rev 594) +++ documentation/request.php 2011-06-14 15:35:18 UTC (rev 595) @@ -11,7 +11,9 @@ </tr> <tr> <td>Email: </td> -<td><input type="text" name="email" /></td> +<td><input type="text" name="email" /><br> + Please use an email account at the institution you are affiliated with.<br> + Free providers like yahoo or google cannot be accepted.</td> </tr> <tr> <td>Department: </td>
File [modified]: send-account.php Delta lines: +4 -1 =================================================================== --- documentation/send-account.php 2011-06-14 03:14:34 UTC (rev 594) +++ documentation/send-account.php 2011-06-14 15:35:18 UTC (rev 595) @@ -12,9 +12,12 @@ $position = $_POST['position']; $advisor = $_POST['advisor'];
-if ($position=='undergraduate' || $position=='graduate') { +if ($position=='an undergraduate ' || $position=='a graduate student ') { $mentionadvisor = 'This student's advisor is '.$advisor.'.'; } +else { +$mentionadvisor = '"$advisor" was mentioned as advisor.'; +}
if (! empty($department)){ if ($position=='faculty ') {
commits@lists.einsteintoolkit.org