Skip to content
Snippets Groups Projects
Commit 1047ded3 authored by Imran Hussain's avatar Imran Hussain
Browse files

feedback tweaks

parent 94665081
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment