Skip to content

Commit

Permalink
Changes to allow pop-up terms of service
Browse files Browse the repository at this point in the history
  • Loading branch information
drlippman committed May 7, 2013
1 parent 7071e19 commit 45859a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
echo "<span class=form><label for=\"msgnot\">Notify me by email when I receive a new message:</label></span><span class=formright><input type=checkbox id=msgnot name=msgnot checked=\"checked\" /></span><BR class=form>\n";
if (isset($studentTOS)) {
echo "<span class=form><label for=\"agree\">I have read and agree to the Terms of Use (below)</label></span><span class=formright><input type=checkbox name=agree></span><br class=form />\n";
} else if (isset($CFG['GEN']['TOSpage'])) {
echo "<span class=form><label for=\"agree\">I have read and agree to the <a href=\"#\" onclick=\"GB_show('Terms of Use','".$CFG['GEN']['TOSpage']."',700,500);return false;\">Terms of Use</a></label></span><span class=formright><input type=checkbox name=agree></span><br class=form />\n";
}

if (!$emailconfirmation) {
$query = "SELECT id,name FROM imas_courses WHERE (istemplate&4)=4 AND available<4 ORDER BY name";
$result = mysql_query($query) or die("Query failed : " . mysql_error());
Expand Down

0 comments on commit 45859a0

Please sign in to comment.