[pLog-svn] r3061 - in plog/trunk/templates: standard standard-with-plugins

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sun Mar 12 21:55:21 GMT 2006


Author: oscar
Date: 2006-03-12 21:55:21 +0000 (Sun, 12 Mar 2006)
New Revision: 3061

Modified:
   plog/trunk/templates/standard-with-plugins/commentform.template
   plog/trunk/templates/standard/commentform.template
Log:
replaced {$url->getBaseUrl()}/index.php with {$url->getIndexUrl()}


Modified: plog/trunk/templates/standard/commentform.template
===================================================================
--- plog/trunk/templates/standard/commentform.template	2006-03-12 21:24:51 UTC (rev 3060)
+++ plog/trunk/templates/standard/commentform.template	2006-03-12 21:55:21 UTC (rev 3061)
@@ -1,19 +1,24 @@
-<div id="CommentForm">
-  
-	<form id="NewComment" action="{$url->getBaseUrl()}/index.php" method="post">
-	<fieldset>
- 	<legend>{$locale->tr("add_comment")}</legend>
-   	<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")}</label><textarea rows="10" cols="30" name="commentText" id="commentText"></textarea></div>
-   	<div><label for="userName">{$locale->pr("comment_username")}</label><input type="text" name="userName" id="userName" value="" /></div>
-   	<div><label for="userEmail">Email</label><input type="text" name="userEmail" id="userEmail" value="" /></div>
-   	<div><label for="userUrl">Web</label><input type="text" name="userUrl" id="userUrl" value="" /></div>
-   	<div id="Submit"><input id="Add" type="submit" value="{$locale->pr("comment_send")}" name="Add" />
-   	<input type="hidden" name="op" value="AddComment" />
-   	<input type="hidden" name="articleId" value="{$post->getId()}" />
-   	<input type="hidden" name="blogId" value="{$blog->getId()}" />
-   	<input type="hidden" name="parentId" value="{$parentId}" /></div>
-	</fieldset>
-  	</form>
-  	
-</div>
+<div id="CommentForm">
+
+<form id="NewComment" action="{$url->getIndexUrl()}" method="post">
+<fieldset>
+<legend>{$locale->tr("add_comment")}</legend>
+<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")}</label><textarea rows="10" cols="30" name="commentText" id="commentText"></textarea></div>
+<div><label for="userName">{$locale->pr("comment_username")}</label><input type="text" name="userName" id="userName" value="" /></div>
+<div><label for="userEmail">Email</label><input type="text" name="userEmail" id="userEmail" value="" /></div>
+<div><label for="userUrl">Web</label><input type="text" name="userUrl" id="userUrl" value="" /></div>
+{if $authimage}{if $authimage->isEnabled()}
+<div><label for="authImage">Please type the 6-digit code you can see here:</label><br/>
+<input type="text" name="authImage" id="authImage" value="" />&nbsp;{$authimage->show()}</div>
+{/if}{/if}
+
+<div id="Submit"><input id="Add" type="submit" value="{$locale->pr("comment_send")}" name="Add" />
+<input type="hidden" name="op" value="AddComment" />
+<input type="hidden" name="articleId" value="{$post->getId()}" />
+<input type="hidden" name="blogId" value="{$blog->getId()}" />
+<input type="hidden" name="parentId" value="{$parentId}" /></div>
+</fieldset>
+</form>
+
+</div>
\ No newline at end of file

Modified: plog/trunk/templates/standard-with-plugins/commentform.template
===================================================================
--- plog/trunk/templates/standard-with-plugins/commentform.template	2006-03-12 21:24:51 UTC (rev 3060)
+++ plog/trunk/templates/standard-with-plugins/commentform.template	2006-03-12 21:55:21 UTC (rev 3061)
@@ -1,6 +1,6 @@
 <div id="CommentForm">
   
-	<form id="NewComment" name="NewComment" action="{$url->getBaseUrl()}/index.php" method="post">
+	<form id="NewComment" name="NewComment" action="{$url->getIndexUrl()}" method="post">
 	<fieldset>
  	<legend>{$locale->tr("add_comment")}</legend>
    	<div><label for="commentTopic">{$locale->pr("comment_topic")}</label><input type="text" name="commentTopic" id="commentTopic" value="{$topic}" /></div>



More information about the pLog-svn mailing list