[pLog-svn] r2463 - plog/branches/plog-1.0.2/templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Sep 11 17:11:02 GMT 2005


Author: oscar
Date: 2005-09-11 17:11:01 +0000 (Sun, 11 Sep 2005)
New Revision: 2463

Modified:
   plog/branches/plog-1.0.2/templates/admin/editpost.template
   plog/branches/plog-1.0.2/templates/admin/newpost.template
   plog/branches/plog-1.0.2/templates/admin/newpost_customfields.template
Log:
fixed mantis issue 702 (http://bugs.plogworld.net/view.php?id=702)


Modified: plog/branches/plog-1.0.2/templates/admin/editpost.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/editpost.template	2005-09-11 11:32:08 UTC (rev 2462)
+++ plog/branches/plog-1.0.2/templates/admin/editpost.template	2005-09-11 17:11:01 UTC (rev 2463)
@@ -33,7 +33,7 @@
 	     <label for="postTopic">{$locale->tr("topic")}</label>
 		 <span class="required">*</span>
 		 <div class="formHelp">{$locale->tr("topic_help")}</div>
-	     <input type="text" id="postTopic" name="postTopic" style="width:100%" value="{$postTopic}" />
+	     <input type="text" id="postTopic" name="postTopic" style="width:100%" value="{$postTopic|escape:"html"}" />
 	     {include file="$admintemplatepath/validate.template" field=postTopic message=$locale->tr("error_missing_post_topic")}
 	   </div>
 	   
@@ -63,11 +63,11 @@
 	     {/if}
 	   </div>
 
-	   <div class="field">
+	   <!--<div class="field">
 	     <label for="trackbackUrls">{$locale->tr("trackback_urls")}</label>
 		 <div class="formHelp">{$locale->tr("trackback_urls_help")}</div>
 	     <textarea rows="5" id="trackbackUrls" name="trackbackUrls" style="width:100%">{$trackbackUrls}</textarea>
-	   </div>	   
+	   </div>-->
 	   
 	   <!-- text area custom fields -->
       {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}
@@ -78,7 +78,7 @@
 	   <div class="field">
 	     <label for="postSlug">{$locale->tr("post_slug")}</label>
 		 <div class="formHelp">{$locale->tr("post_slug_help")}</div>
-	     <input type="text" name="postSlug" id="postSlug" style="width:100%" value="{$postSlug}" />
+	     <input type="text" name="postSlug" id="postSlug" style="width:100%" value="{$postSlug|escape:"html"}" />
 	   </div>
 	   
        <div class="field">

Modified: plog/branches/plog-1.0.2/templates/admin/newpost.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/newpost.template	2005-09-11 11:32:08 UTC (rev 2462)
+++ plog/branches/plog-1.0.2/templates/admin/newpost.template	2005-09-11 17:11:01 UTC (rev 2463)
@@ -59,7 +59,7 @@
 	     <label for="postTopic">{$locale->tr("topic")}</label>
 		 <span class="required">*</span>
 		 <div class="formHelp">{$locale->tr("topic_help")}</div>
-	     <input type="text" name="postTopic" style="width:100%" id="postTopic" value="{$postTopic}" />
+	     <input type="text" name="postTopic" style="width:100%" id="postTopic" value="{$postTopic|escape:"html"}" />
 	     {include file="$admintemplatepath/validate.template" field=postTopic message=$locale->tr("error_missing_post_topic")}
 	   </div>
 	   
@@ -88,11 +88,11 @@
 	     {/if}
 	   </div>
 
-	   <div class="field">
+	   <!--<div class="field">
 	     <label for="trackbackUrls">{$locale->tr("trackback_urls")}</label>
 		 <div class="formHelp">{$locale->tr("trackback_urls_help")}</div>
 	     <textarea rows="5" id="trackbackUrls" name="trackbackUrls" style="width:100%">{$trackbackUrls}</textarea>
-	   </div>	      	   
+	   </div>-->
 	   
 	   <!-- text area custom fields -->
       {include file="$admintemplatepath/newpost_customfields.template" type=2 fields=$customfields}
@@ -103,7 +103,7 @@
 	   <div class="field">
 	     <label for="postSlug">{$locale->tr("post_slug")}</label>
 		 <div class="formHelp">{$locale->tr("post_slug_help")}</div>
-	     <input type="text" name="postSlug" id="postSlug" style="width:100%" value="{$postSlug}" />
+	     <input type="text" name="postSlug" id="postSlug" style="width:100%" value="{$postSlug|escape:"html"}" />
 	   </div>
    
        <div class="field">

Modified: plog/branches/plog-1.0.2/templates/admin/newpost_customfields.template
===================================================================
--- plog/branches/plog-1.0.2/templates/admin/newpost_customfields.template	2005-09-11 11:32:08 UTC (rev 2462)
+++ plog/branches/plog-1.0.2/templates/admin/newpost_customfields.template	2005-09-11 17:11:01 UTC (rev 2463)
@@ -4,7 +4,7 @@
     <div class="field">
 	  <label for="customField[{$fieldId}]">{$field->getName()}</label>
 	  <div class="formHelp">{$field->getDescription()}</div>
-      <input type="text" name="customField[{$fieldId}]" id="customField[{$fieldId}]" value="{$customField[$fieldId]}" />
+      <input type="text" name="customField[{$fieldId}]" id="customField[{$fieldId}]" value="{$customField[$fieldId]|escape:"html"}" />
 	</div>  
   {elseif $field->getType() == 2 && ($type == 2 || $type == "")}
     <div class="field">




More information about the pLog-svn mailing list