From e338278e9604a92bd319f9c67b0d941d9152245a Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 25 Feb 2009 00:11:57 +0000 Subject: add code to be able to do online login/registration when posting comment --- templates/comments_post_inc.tpl | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/templates/comments_post_inc.tpl b/templates/comments_post_inc.tpl index 9155d2e..79d1199 100644 --- a/templates/comments_post_inc.tpl +++ b/templates/comments_post_inc.tpl @@ -33,13 +33,34 @@ {if !$gBitUser->isRegistered()} -
- {formlabel label="Name" for="comments-name"} +
+ {assign var=loginLabel value=$gBitSystem->mConfig.site_title|default:Site} + {formlabel label="`$loginLabel` Login" for="login-email"} + {forminput} +
+ +
{tr}Email{/tr}
+
+
+ +
{tr}Password{/tr}
+
+ + {/forminput} +
+ +
+ {forminput} + {tr}Anonymous Post{/tr} + {formhelp note=""} + {/forminput} +
{/if} {textarea id="commentpost" name="comment_data" rows=$gBitSystem->getConfig('comments_default_post_lines', 6)}{$postComment.data}{/textarea} -- cgit v1.3