[pLog-svn] r545 - plog/trunk/templates/admin

subaochen at devel.plogworld.net subaochen at devel.plogworld.net
Sun Dec 19 15:20:43 GMT 2004


Author: subaochen
Date: 2004-12-19 15:20:42 +0000 (Sun, 19 Dec 2004)
New Revision: 545

Modified:
   plog/trunk/templates/admin/blogsettings.template
Log:
no need to escape html when show blog name in a input text area,because the blog name is fetched from the database. The blog name is verified before add into the db.

escape html just break Chinese word:-(



Modified: plog/trunk/templates/admin/blogsettings.template
===================================================================
--- plog/trunk/templates/admin/blogsettings.template	2004-12-19 14:57:53 UTC (rev 544)
+++ plog/trunk/templates/admin/blogsettings.template	2004-12-19 15:20:42 UTC (rev 545)
@@ -25,7 +25,7 @@
       <label for="blogName">{$locale->tr("blog_name")}</label>
       <span class="required">*</span>
       <div class="formHelp">{$locale->tr("blog_name")}</div>
-      <input type="text" name="blogName" style="width:100%" value="{$blogName|escape:"html"}" />
+      <input type="text" name="blogName" style="width:100%" value="{$blogName}" />
       {include file="$admintemplatepath/validate.template" field=blogName message=$locale->tr("error_no_blog_name")}
     </div>
 
@@ -205,4 +205,4 @@
      <input type="hidden" name="op" value="updateBlogSettings" />
 	</div> 
  </form>
-{include file="$admintemplatepath/footer.template"}
\ No newline at end of file
+{include file="$admintemplatepath/footer.template"}




More information about the pLog-svn mailing list