[pLog-svn] r4432 - in plog/trunk/templates: default misc standard

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Dec 25 14:28:42 GMT 2006


Author: oscar
Date: 2006-12-25 14:28:42 +0000 (Mon, 25 Dec 2006)
New Revision: 4432

Added:
   plog/trunk/templates/default/commentform.template
Removed:
   plog/trunk/templates/misc/commentform.template
Modified:
   plog/trunk/templates/standard/postandcomments.template
Log:
moved commentform.template from misc/ to default/ where it should live now, and modified the path in standard/postandcomments.template 


Copied: plog/trunk/templates/default/commentform.template (from rev 4430, plog/trunk/templates/misc/commentform.template)

Deleted: plog/trunk/templates/misc/commentform.template
===================================================================
--- plog/trunk/templates/misc/commentform.template	2006-12-25 14:25:57 UTC (rev 4431)
+++ plog/trunk/templates/misc/commentform.template	2006-12-25 14:28:42 UTC (rev 4432)
@@ -1,31 +0,0 @@
-{if $allowComments}
-<div id="CommentForm">
-<form id="NewComment" action="{$url->getIndexUrl()}" method="post">
-<fieldset>
-<legend>{$locale->tr("add_comment")}</legend>
-{dynamic}
-<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>
-	{if $authuser}
-	{$authuser->getUsername()} (<b>Authenticated</b>)<br />
-	<input type="hidden" name="userName" id="userName" value="{if $authuser}{$authuser->getUsername()}{/if}" /></div>
-	{else}
-	<input type="text" name="userName" id="userName" value="" /></div>
-	{/if}
-<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>
-{/dynamic}
-{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>
-{/if}
\ No newline at end of file

Modified: plog/trunk/templates/standard/postandcomments.template
===================================================================
--- plog/trunk/templates/standard/postandcomments.template	2006-12-25 14:25:57 UTC (rev 4431)
+++ plog/trunk/templates/standard/postandcomments.template	2006-12-25 14:28:42 UTC (rev 4432)
@@ -35,5 +35,5 @@
 </div>
 </div>
 	{/foreach}			
-{include file="$misctemplatepath/commentform.template"}					
-{include file="$blogtemplate/footer.template"} 
\ No newline at end of file
+{include file="$blogtemplate/commentform.template"}					
+{include file="$blogtemplate/footer.template"} 



More information about the pLog-svn mailing list