[pLog-svn] r6294 - in plog/trunk/templates: default summary

mark at devel.lifetype.net mark at devel.lifetype.net
Fri Apr 4 13:25:14 EDT 2008


Author: mark
Date: 2008-04-04 13:25:14 -0400 (Fri, 04 Apr 2008)
New Revision: 6294

Modified:
   plog/trunk/templates/default/commentform.template
   plog/trunk/templates/summary/index.template
Log:
Change the {dynamic} to the new {nocache} block function.

Modified: plog/trunk/templates/default/commentform.template
===================================================================
--- plog/trunk/templates/default/commentform.template	2008-04-04 17:22:55 UTC (rev 6293)
+++ plog/trunk/templates/default/commentform.template	2008-04-04 17:25:14 UTC (rev 6294)
@@ -3,7 +3,7 @@
 <form id="NewComment" action="{$url->getIndexUrl()}" method="post">
 <fieldset>
 <legend>{$locale->tr("add_comment")}</legend>
-{dynamic}
+{nocache}
 <div><label for="commentTopic">{$locale->pr("comment_topic")}</label><input type="text" name="commentTopic" id="commentTopic" value="{$topic}" /></div>
 <div><label for="commentText">{$locale->pr("comment_text")}&nbsp;({$locale->tr("required")})</label><textarea rows="10" cols="30" name="commentText" id="commentText"></textarea></div>
 <div><label for="userName">{$locale->pr("comment_username")}&nbsp;({$locale->tr("required")})</label>
@@ -15,7 +15,7 @@
 	{/if}
 <div><label for="userEmail">{$locale->tr("comment_email")}</label><input type="text" name="userEmail" id="userEmail" value="" /></div>
 <div><label for="userUrl">{$locale->tr("comment_url")}</label><input type="text" name="userUrl" id="userUrl" value="" /></div>
-{/dynamic}
+{/nocache}
 {if $authimage}{if $authimage->isEnabled()}
 <div><label for="authImage">{$locale->tr("authimage_type_code")}</label>
 <input type="text" name="authImage" id="authImage" value="" />&nbsp;{$authimage->show()}</div>

Modified: plog/trunk/templates/summary/index.template
===================================================================
--- plog/trunk/templates/summary/index.template	2008-04-04 17:22:55 UTC (rev 6293)
+++ plog/trunk/templates/summary/index.template	2008-04-04 17:25:14 UTC (rev 6294)
@@ -30,7 +30,7 @@
     <h2>{$locale->tr("login")}</h2>
     <form id="loginForm" method="post" action="admin.php">
     <fieldset class="inputField">
-	    {dynamic}		
+	    {nocache}		
 	    {if $authuser}
 	      {assign var=userName value=$authuser->getUsername()}
 	      {$locale->pr("summary_welcome_msg", $userName)}<br/>
@@ -45,7 +45,7 @@
         	<br/>
 	        <a href="?op=resetPasswordForm">{$locale->tr("password_forgotten")}</a>	
 		{/if}
-		{/dynamic}
+		{/nocache}
     </fieldset>
     </form>
     



More information about the pLog-svn mailing list