[SUCS Devel] site r614 - in branches/sucs-site: lib templates
imranh at sucs.org
imranh at sucs.org
Mon Dec 1 09:52:20 GMT 2014
Author: imranh
Date: 2014-12-01 09:52:18 +0000 (Mon, 01 Dec 2014)
New Revision: 614
Modified:
branches/sucs-site/lib/page-feedback.php
branches/sucs-site/templates/feedback.tpl
Log:
feedback tweaks
Modified: branches/sucs-site/lib/page-feedback.php
===================================================================
--- branches/sucs-site/lib/page-feedback.php 2014-12-01 09:37:27 UTC (rev 613)
+++ branches/sucs-site/lib/page-feedback.php 2014-12-01 09:52:18 UTC (rev 614)
@@ -7,7 +7,7 @@
if ($session->loggedin) {
if ($_REQUEST["action"] == "feedback") {
$feedback = $_REQUEST["feedback"];
-
+
$msgbody = "{$session->username} had this to say about the page {$_SERVER['REQUEST_URI']}:\r\n\r\n";
$msgbody .= "\"{$feedback}\"\r\n";
Modified: branches/sucs-site/templates/feedback.tpl
===================================================================
--- branches/sucs-site/templates/feedback.tpl 2014-12-01 09:37:27 UTC (rev 613)
+++ branches/sucs-site/templates/feedback.tpl 2014-12-01 09:52:18 UTC (rev 614)
@@ -6,7 +6,7 @@
<p>Your comments have been sent to the SUCS admin team</p>
{else}
<h3>Something you think we should know?</h3>
-<form action="{$baseurl}{$path}" method="post">
+<form name="feedback" action="{$baseurl}{$path}" method="post">
<input type="hidden" name="action" value="feedback" />
<p>Spotted a mistake on this page? Have some useful info? Let us know below:</p>
<div>
More information about the Devel
mailing list