[Xerte-dev] Re: the 1.8 trunk merge

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Mar 8 14:18:11 GMT 2012


I added it as an issue, labelled 'feature request'. Not sure if google code has any direct support for feature requests.

-----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 14:14
To: For Xerte technical developers
Subject: [Xerte-dev] Re: the 1.8 trunk merge

It'd be an if statement in the php around certain bits of the code,
depends on the functionality.

On Thu, Mar 8, 2012 at 2:13 PM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:
> Is it just a case of remove the includes?
>
> -----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 12:31
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: the 1.8 trunk merge
>
> Also - on a localhost demo.php page - no point showing certain tabs as
> certain tabs are pointless - sharing makes no sense on demo
>
> On Thu, Mar 8, 2012 at 11:16 AM, Pat Lockley
> <patrick.lockley at googlemail.com> wrote:
>> This goes back to the question on the other thread - should we enable
>> pages that won't work.
>>
>> This page won't work unless you're PHP has email set up.
>>
>> On Thu, Mar 8, 2012 at 10:40 AM, Tom Reijnders <reijnders at tor.nl> wrote:
>>> I'll test it (not today though)
>>>
>>> Op 8-3-2012 11:34, Julian Tenney schreef:
>>>
>>>> OK, please update and commit the code when you get a minute. I can't test
>>>> it either.
>>>>
>>>> -----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 10:27
>>>> To: For Xerte technical developers
>>>> Subject: [Xerte-dev] Re: the 1.8 trunk merge
>>>>
>>>> I can fix the php, but have no ability to test the page as I can't use
>>>> mail
>>>>
>>>> On Thu, Mar 8, 2012 at 10:24 AM, Julian Tenney
>>>> <Julian.Tenney at nottingham.ac.uk>  wrote:
>>>>>
>>>>> 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
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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.
>>>>
>>>
>>> --
>>> --
>>>
>>> Tom Reijnders
>>> TOR Informatica
>>> Chopinlaan 27
>>> 5242HM Rosmalen
>>> Tel: 073 5226191
>>> Fax: 073 5226196
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>
> _______________________________________________
> 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