diff --git a/htdocs/index.php b/htdocs/index.php index 73b6cf4831d1e242d7c971d9cf2052cf693a3a38..0551d56c680d4a40b717bd333de9c8aeebd43426 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -39,7 +39,7 @@ $smarty->assign("baseurl", $baseurl); // Initialise the database require("/usr/share/php/adodb/adodb.inc.php"); -$DB = NewADOConnection('postgres8'); +$DB = NewADOConnection('postgres9'); $DB->Connect('dbname='.$dbname.' user='.$dbuser); $DB->SetFetchMode(ADODB_FETCH_ASSOC); diff --git a/templates/societies.tpl b/templates/societies.tpl index 1dd4c8e4a426d24f07b250c768379a3d1bc1324b..8e06e78b1475db8dd48b1a81b512f1aac801afa5 100644 --- a/templates/societies.tpl +++ b/templates/societies.tpl @@ -1,4 +1,4 @@ -<p>The Student Union's societies website can be found at <a href="http://www.societies.swansea-union.co.uk/">http://www.societies.swansea-union.co.uk/</a>.</p> +<p>The Student Union's societies website can be found at <a href="http://swansea-union.co.uk/societies">http://swansea-union.co.uk/societies</a>.</p> <p>The following societies' websites are hosted by SUCS:</p> diff --git a/templates/susignup.tpl b/templates/susignup.tpl index 48f025014f9f8f2f3f47263502a532c817088fb8..66b7bfc35a44c1d6cc7e0cff290c14ff2ba3860c 100644 --- a/templates/susignup.tpl +++ b/templates/susignup.tpl @@ -4,7 +4,7 @@ <div class="boxhead"><h2>Membership Signup</h2></div> <div class="boxcontent"> - <p>Please enter your Transation ID from the email you recieved from the Union after your purchase.</p> + <p>Please enter your Transation ID. It can be found by logging into <a href='http://swansea-union.co.uk'>swansea-union.com</a> and selecting purchase history.</p> <div class="row"> <label for="sid">Student Number:</label> @@ -47,8 +47,14 @@ {elseif $mode=='numpty2'} <p>You appear to have already completed this step and registered with SUCS with the username <strong>{$username}</strong>.<br/>If you have forgotten your login password please email <a href='mailto:admin@sucs.org'>admin@sucs.org</a> or drop by the SUCS room and find an admin.</p> +{elseif $mode=='renew'} + <h1>Renewed</h1> + <p>Thankyou for renewing your membership, it has completed succesfully</p> {else} <h1>Error</h1> + <div class='errorbar'> + <strong>Error: </strong> {$error_text} + </div> An error occured during signup, please email, with as much information as you can provide, <a href='mailto:admin@sucs.org'>admin@sucs.org</a> for assistance. {/if}