[pLog-svn] r5169 - plog/branches/lifetype-1.2/templates/admin
Mark Wu
markplace at gmail.com
Fri Mar 30 06:24:20 EDT 2007
Hi Oscar:
We need this because the "Blog it to LifeType function".
The bookmarklet will pass the postText to LifeType through the GET HTTP
request...
So, if we remove this, then .... The bookmarklet won't work.
Mark
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
> oscar at devel.lifetype.net
> Sent: Saturday, March 24, 2007 6:47 AM
> To: plog-svn at devel.lifetype.net
> Subject: [pLog-svn] r5169 - plog/branches/lifetype-1.2/templates/admin
>
> Author: oscar
> Date: 2007-03-23 18:47:27 -0400 (Fri, 23 Mar 2007) New Revision: 5169
>
> Modified:
> plog/branches/lifetype-1.2/templates/admin/newpost.template
> Log:
> possible fix for mantis issue 1230
> (http://bugs.lifetype.net/view.php?id=1230), where the
> content of the text area would appear escaped with
> backslashes when magic_quotes_gpc was set to on. The problem
> was that $smarty.request.postText did not contain the
> unescaped version of the content, and therefore backslashes
> were not being removed.
> If somebody knows why, when or who this Smarty code was
> added, please let me know but for the time being, it seems to
> fix this problem.
>
>
> Modified: plog/branches/lifetype-1.2/templates/admin/newpost.template
> ===================================================================
> ---
> plog/branches/lifetype-1.2/templates/admin/newpost.template
> 2007-03-23 12:28:55 UTC (rev 5168)
> +++
> plog/branches/lifetype-1.2/templates/admin/newpost.template
> 2007-03-23 22:47:27 UTC (rev 5169)
> @@ -1,8 +1,5 @@
> {include file="$admintemplatepath/header.template"}
> {include file="$admintemplatepath/navigation.template"
> showOpt=newPost title=$locale->tr("newPost")} -{if
> $smarty.request.postText}
> - {assign var=postText value=$smarty.request.postText}
> -{/if}
> {assign var=htmlarea
> value=$blogsettings->getValue("htmlarea_enabled")}
> <script type="text/javascript" src="js/ui/plogui.js"></script>
> <script type="text/javascript"
> src="js/calendar/datetimepicker.js"></script>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list