[pLog-svn] r6541 - plog/branches/lifetype-1.2/templates/LifeType

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Jun 13 16:38:43 EDT 2008


Author: oscar
Date: 2008-06-13 16:38:43 -0400 (Fri, 13 Jun 2008)
New Revision: 6541

Added:
   plog/branches/lifetype-1.2/templates/LifeType/commentform.template
Log:
this wasn't checked in

Added: plog/branches/lifetype-1.2/templates/LifeType/commentform.template
===================================================================
--- plog/branches/lifetype-1.2/templates/LifeType/commentform.template	                        (rev 0)
+++ plog/branches/lifetype-1.2/templates/LifeType/commentform.template	2008-06-13 20:38:43 UTC (rev 6541)
@@ -0,0 +1,37 @@
+{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>{$locale->tr("form_authenticated")}</b>)<br />
+	<input type="hidden" name="userName" id="userNameHidden" value="{if $authuser}{$authuser->getUsername()}{/if}" /></div>
+	{else}
+	<input type="text" name="userName" id="userName" value="" /></div>
+	{/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}
+{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>
+{/if}{/if}
+{if $hiddeninput}
+  {foreach from=$hiddeninput->getHiddenFields() item=hiddenField}
+    <input style="display: none" type="text" name="{$hiddenField}"
+  value="" />
+  {/foreach}
+{/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}



More information about the pLog-svn mailing list