[pLog-svn] r5169 - plog/branches/lifetype-1.2/templates/admin

Reto Hugi plog at hugi.to
Fri Mar 30 17:04:41 EDT 2007


is it me or is the non-wysiwyg mode broken at the moment? I thought I
didn't do anything but an svn update. and svn status doesn't show any
changes on my side either. I even cleared /tmp/...

at the moment the right column is beyond the left.

On 03/23/2007 11:47 PM, oscar at devel.lifetype.net wrote:
> 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