[pLog-svn] r4664 - templates/branches/lifetype-1.2/unported/Blix
reto at devel.lifetype.net
reto at devel.lifetype.net
Thu Feb 1 18:36:38 EST 2007
Author: reto
Date: 2007-02-01 18:36:38 -0500 (Thu, 01 Feb 2007)
New Revision: 4664
Added:
templates/branches/lifetype-1.2/unported/Blix/commentform.template
Modified:
templates/branches/lifetype-1.2/unported/Blix/postandcomments.template
Log:
portet Blix
Added: templates/branches/lifetype-1.2/unported/Blix/commentform.template
===================================================================
--- templates/branches/lifetype-1.2/unported/Blix/commentform.template (rev 0)
+++ templates/branches/lifetype-1.2/unported/Blix/commentform.template 2007-02-01 23:36:38 UTC (rev 4664)
@@ -0,0 +1,43 @@
+<div id="commentsform">
+
+<form action="{$url->getIndexUrl()}" method="post" id="commentform">
+ <fieldset>
+
+{dynamic}
+<p>
+<label for="author">{$locale->pr("comment_username")}</label>
+{if $authuser}
+ <input type="text" name="userName" id="author" value="{if $authuser}{$authuser->getUsername()}{/if}" tabindex="1" readonly="readonly" />
+{else}
+ <input type="text" name="userName" id="author" value="" tabindex="1" />
+{/if}
+ <em>Required</em>
+</p>
+
+<p>
+<label for="email">Email</label>
+<input type="text" name="userEmail" id="email" value="" tabindex="2" /> <em>Required, hidden</em>
+</p>
+
+<p>
+<label for="url">Url</label>
+<input type="text" name="userUrl" id="url" value="" tabindex="3" />
+</p>
+
+<p>
+<label for="commentTopic">{$locale->pr("comment_topic")}</label>
+<input type="text" name="commentTopic" id="commentTopic" value="{$topic}" tabindex="4" />
+</p>
+{/dynamic}
+
+<p><label for="comment">{$locale->pr("comment_text")}</label> <textarea name="commentText" id="comment" cols="45" rows="10" tabindex="5"></textarea></p>
+<p><input type="hidden" name="comment_post_ID" value="1" />
+<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}"/>
+<input type="submit" name="submit" value="Submit" class="button" tabindex="6" /></p>
+
+ </fieldset>
+ </form>
+</div>
Modified: templates/branches/lifetype-1.2/unported/Blix/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/unported/Blix/postandcomments.template 2007-02-01 23:32:16 UTC (rev 4663)
+++ templates/branches/lifetype-1.2/unported/Blix/postandcomments.template 2007-02-01 23:36:38 UTC (rev 4664)
@@ -47,7 +47,8 @@
<div id="comments">
<h2>{$post->getTotalComments()} Comments <a href="#commentform" class="more">Add your own</a></h2>
-
+ {pager style="links"}
+ <br/>
<ul>
{assign var="counter" value=1}
@@ -65,14 +66,14 @@
{assign var="counter" value="`$counter+1`"}
{/foreach}
</UL>
+ {pager style="links"}<br/>
+ <a name="commentform"></a>
- <a name="comments"></a>
-
<h2 id="commentsformheader">Leave a Reply</h2>
{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
- {include file="$misctemplatepath/commentform.template"}
+ {include file="$blogtemplate/commentform.template"}
{/if}
</div> <!-- /comments -->
{include file="$blogtemplate/links.template"}
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+{include file="$blogtemplate/footer.template"}
More information about the pLog-svn
mailing list