From 1047ded3d7f933052a7fd00f4e6e00499830bb95 Mon Sep 17 00:00:00 2001 From: Imran Hussain <imranh@sucs.org> Date: Mon, 1 Dec 2014 09:52:18 +0000 Subject: [PATCH] feedback tweaks --- lib/page-feedback.php | 2 +- templates/feedback.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/page-feedback.php b/lib/page-feedback.php index 6abc603..51bfa71 100644 --- a/lib/page-feedback.php +++ b/lib/page-feedback.php @@ -7,7 +7,7 @@ $contact = "imranh@sucs.org"; 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"; diff --git a/templates/feedback.tpl b/templates/feedback.tpl index c514c3a..cd83ced 100644 --- a/templates/feedback.tpl +++ b/templates/feedback.tpl @@ -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> -- GitLab