Update of /cvsroot/php-blog/serendipity/templates/default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18260/templates/default
Modified Files:
Tag: branch-smarty
commentform.tpl entries.tpl
Log Message:
* Do not use RBLs by default
* Do not perform IP-restriction by default
* Jump to notification area after comment submission
* If moderation is performed, we should display that to the user
Index: entries.tpl
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/Attic/entries.tpl,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -d -r1.1.2.12 -r1.1.2.13
--- entries.tpl 26 Sep 2004 20:57:07 -0000 1.1.2.12
+++ entries.tpl 27 Sep 2004 12:13:51 -0000 1.1.2.13
@@ -123,6 +123,8 @@
</div>
{$COMMENTS}
+ <a id="feedback"></a>
+
{section name=message loop=$comments_messagestack}
<div class="serendipity_center serendipity_msg_important">{$comments_messagestack[message]}</div>
{/section}
@@ -132,6 +134,11 @@
<br />
<div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}</div>
+ {elseif $is_comment_moderate}
+
+ <br />
+ <div class="serendipity_center serendipity_msg_notice">{$CONST.COMMENT_ADDED}<br />{$CONST.THIS_COMMENT_NEEDS_REVIEW}</div>
+
{elseif $is_comment_closed}
<br />
Index: commentform.tpl
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/default/Attic/commentform.tpl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- commentform.tpl 22 Sep 2004 15:25:33 -0000 1.1.2.4
+++ commentform.tpl 27 Sep 2004 12:13:51 -0000 1.1.2.5
@@ -1,6 +1,6 @@
<div class="serendipityCommentForm">
<a id="serendipity_CommentForm"></a>
- <form id="serendipity_comment" action="{$commentform_url}" method="post">
+ <form id="serendipity_comment" action="{$commentform_url}#feedback" method="post">
<div><input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}" /></div>
<table border="0" width="100%" cellpadding="3">
<tr>
|