From 62c715b30633b58dbedf74fb996245bfa702fe24 Mon Sep 17 00:00:00 2001
From: Robert Scott James <rjames93@sucs.org>
Date: Mon, 9 Dec 2013 18:25:24 +0000
Subject: [PATCH] M    htdocs/index.php M    templates/susignup.tpl M   
 templates/societies.tpl

---
 htdocs/index.php        | 2 +-
 templates/societies.tpl | 2 +-
 templates/susignup.tpl  | 8 +++++++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/htdocs/index.php b/htdocs/index.php
index 73b6cf4..0551d56 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 1dd4c8e..8e06e78 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 48f0250..66b7bfc 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}
 
-- 
GitLab