[pLog-svn] r4366 - plog/trunk/templates/misc

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue Nov 28 22:15:04 GMT 2006


Author: oscar
Date: 2006-11-28 22:15:04 +0000 (Tue, 28 Nov 2006)
New Revision: 4366

Added:
   plog/trunk/templates/misc/commentform.template
Log:
forgot to commit this one


Added: plog/trunk/templates/misc/commentform.template
===================================================================
--- plog/trunk/templates/misc/commentform.template	2006-11-28 22:01:13 UTC (rev 4365)
+++ plog/trunk/templates/misc/commentform.template	2006-11-28 22:15:04 UTC (rev 4366)
@@ -0,0 +1,31 @@
+{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


Property changes on: plog/trunk/templates/misc/commentform.template
___________________________________________________________________
Name: svn:executable
   + *



More information about the pLog-svn mailing list