diff --git a/htdocs/css/sucs.css b/htdocs/css/sucs.css index 7ce8a82a8768935f6f74ccf394a0a9f950485416..5099ec5b10a618201ff1a2b40d955b95eebbee63 100644 --- a/htdocs/css/sucs.css +++ b/htdocs/css/sucs.css @@ -3,8 +3,9 @@ -------------------------------------------------- */ body { - background: #fff; + background: #fff0cd; min-width: 600px; + margin: 0px; } hr { @@ -34,12 +35,12 @@ a:hover { /* -------------------------------------------------- Page corners -------------------------------------------------- */ -#branding, #brandingC { +/*#branding, #brandingC { border-top-left-radius: 15px; border-top-right-radius: 15px; -moz-border-radius-topleft: 15px; -moz-border-radius-topright: 15px; -} +}*/ #footer { border-bottom-left-radius: 15px; @@ -110,7 +111,7 @@ a:hover { background: #fff0cd; padding: 0; clear: both; - border: 2px solid #e76808; + /*border: 2px solid #e76808;*/ border-top: 0; border-bottom: 0; } @@ -264,6 +265,7 @@ ul#valid { margin: 0; margin-bottom: 0.5em; background: url('/images/orangefade-bottom.png') top repeat-x #ffc62b; + visibility: hidden; } #footer p { diff --git a/lib/member_functions.php b/lib/member_functions.php index f5f4d7be93954a1775fc12f1b574ef2642dc99da..be31e5ffd979a18157ae64d034cb883484b42fcb 100644 --- a/lib/member_functions.php +++ b/lib/member_functions.php @@ -126,7 +126,7 @@ function renew_membership($username) $sucsDB->Execute("UPDATE members SET paid=?, lastupdate=DEFAULT, lastedit=? WHERE username=?", array(paidUntil(time()), "99999", $username)); // Give them their 200 print credits - exec("/usr/local/sbin/printerrenew.apache ${username} 200"); + exec("sudo /usr/local/sbin/printerrenew.apache ${username} 200"); // apprently sending them an email confirming so is nice $message = "Your Swansea University Computer Society (SUCS) membership has been renewed\n\n";