[pLog-svn] r6866 - plog/branches/lifetype-1.2/templates/default
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Apr 16 16:03:33 EDT 2009
Author: jondaley
Date: 2009-04-16 16:03:33 -0400 (Thu, 16 Apr 2009)
New Revision: 6866
Modified:
plog/branches/lifetype-1.2/templates/default/commentform.template
Log:
added some other plugins to be used if they're installed. Added a logout link for authenticated commenters
Modified: plog/branches/lifetype-1.2/templates/default/commentform.template
===================================================================
--- plog/branches/lifetype-1.2/templates/default/commentform.template 2009-04-16 16:20:44 UTC (rev 6865)
+++ plog/branches/lifetype-1.2/templates/default/commentform.template 2009-04-16 20:03:33 UTC (rev 6866)
@@ -8,7 +8,7 @@
<div><label for="commentText">{$locale->pr("comment_text")} ({$locale->tr("required")})</label><textarea rows="10" cols="30" name="commentText" id="commentText"></textarea></div>
<div><label for="userName">{$locale->pr("comment_username")} ({$locale->tr("required")})</label>
{if $authuser}
- <span id="AuthUser">{$authuser->getUsername()} ({$locale->tr("form_authenticated")})</span>
+ <span id="AuthUser">{$authuser->getUsername()} (<a href="{$url->getAdminUrl()}?op=Logout">{$locale->tr("form_authenticated")}</a>)</span>
<input type="hidden" name="userName" id="userNameHidden" value="{if $authuser}{$authuser->getUsername()}{/if}" /></div>
{else}
<input type="text" name="userName" id="userName" value="" /></div>
@@ -16,10 +16,19 @@
<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="" /> {$authimage->show()}</div>
-{/if}{/if}
+ {if $authimage && $authimage->isEnabled()}
+ <div><label for="authImage">{$locale->tr("authimage_type_code")}</label>
+ <input type="text" name="authImage" id="authImage" value="" /> {$authimage->show()}
+ </div>
+ {/if}
+ {if $subscribe && $subscribe->isEnabled()}
+ <input type="checkbox" name="subscribe" />
+ E-mail me when comments occur on this article
+ {/if}
+ {if $hiddeninput && $hiddeninput->isEnabled()}
+ {$hiddeninput->printHiddenFields()}
+ {/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()}" />
More information about the pLog-svn
mailing list