[Xerte-dev] Re: the 1.8 trunk merge
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Thu Mar 8 10:24:40 GMT 2012
Can you? Or do you want me to?
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 08 March 2012 09:43
To: For Xerte technical developers
Subject: [Xerte-dev] Re: the 1.8 trunk merge
The trunk
I've not made a commit for this page
On Thu, Mar 8, 2012 at 8:32 AM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:
> Is this for the zip, or for the trunk? Did you commit it?
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 07 March 2012 17:11
> To: For Xerte technical developers
> Subject: [Xerte-dev] the 1.8 trunk merge
>
> Just went to look at the feedback page for Oliver - the merge appears
> to have killed all the page logic?
>
> New code
>
> -------------------------------------
>
> <div class="mainbody">
>
> echo "<p>" . FEEDBACK_RESPONSE . "</p></div></body></html>";
>
> mail($xerte_toolkits_site->feedback_list, FEEDBACK_EMAIL_TITLE,
> FEEDBACK_GIVER . mysql_real_escape_string($_POST['name']) . "<br>" .
> FEEDBACK_MESSAGE_INTRO . "<br>" .
> mysql_real_escape_string($_POST['feedback']),
> $xerte_toolkits_site->headers);
>
> echo "<p>Thank you for your feedback</p></div></body></html>";
>
> echo "<div class=\"title\"><p>" . FEEDBACK_PAGE_TITLE .
> "</p></div><div style=\"width:45%; float:left; position:relative;
> margin-right:20px;\">" . FEEDBACK_DESCRIPTION . "</div><div
> style=\"width:50%; float:left; position:relative;\">";
>
> echo "<form action=\"\" method=\"post\">Name<textarea
> name=\"name\" style=\"width:100%;\" rows=\"1\"></textarea>" .
> FEEDBACK_TEXTAREA . "<textarea name=\"feedback\" style=\"width:100%;\"
> rows=\"25\"></textarea><input type=\"submit\" value=\"" .
> FEEDBACK_BUTTON . "\"></form>";
>
> /**
> * Else display the page
> */
>
> echo "<div class=\"title\"><p>Welcome to Xerte on-line Toolkits
> Feedback page</p></div><div style=\"width:45%; float:left;
> position:relative; margin-right:20px;\">Please leave your feedback
> here. All feedback is anonymous, unless you would like a response, and
> if you do, please leave your name opposite and some contact details in
> the box below. Thank you, the IS Learning Team.</div><div
> style=\"width:50%; float:left; position:relative;\">";
>
> echo "<form action=\"\" method=\"post\">Name<textarea
> name=\"name\" style=\"width:100%;\"
> rows=\"1\"></textarea>Feedback<textarea name=\"feedback\"
> style=\"width:100%;\" rows=\"25\"></textarea><input type=\"submit\"
> value=\"Send Feedback\"></form>";
>
> echo "</div></div></body></html>";
>
> }
>
> ?>
> </div>
>
> ---------------------------------------
>
> old code (from the zip)
> ---------------------------------------
>
> <div class="mainbody">
>
> <?PHP /**
> * If something is posted, send this feedback
> */
>
> if(isset($_POST['feedback'])){
>
> echo "<p>Thank you for your feedback</p></div></body></html>";
>
> mail($xerte_toolkits_site->feedback_list, "Xerte Online Feedback",
> "Name " . mysql_real_escape_string($_POST['name']) . "<br>Message<br>"
> . mysql_real_escape_string($_POST['feedback']),
> $xerte_toolkits_site->headers);
>
> }else{
>
> /**
> * Else display the page
> */
>
> echo "<div class=\"title\"><p>Welcome to Xerte on-line Toolkits
> Feedback page</p></div><div style=\"width:45%; float:left;
> position:relative; margin-right:20px;\">Please leave your feedback
> here. All feedback is anonymous, unless you would like a response, and
> if you do, please leave your name opposite and some contact details in
> the box below. Thank you, the IS Learning Team.</div><div
> style=\"width:50%; float:left; position:relative;\">";
>
> echo "<form action=\"\" method=\"post\">Name<textarea
> name=\"name\" style=\"width:100%;\"
> rows=\"1\"></textarea>Feedback<textarea name=\"feedback\"
> style=\"width:100%;\" rows=\"25\"></textarea><input type=\"submit\"
> value=\"Send Feedback\"></form>";
>
> echo "</div></div></body></html>";
>
> }
>
> ?>
> </div>
>
> ---------------------------------------
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
More information about the Xerte-dev
mailing list