summaryrefslogtreecommitdiff
path: root/htroot/BlogComments.html
diff options
context:
space:
mode:
authorlow012 <low012@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-01-12 23:48:47 +0000
committerlow012 <low012@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-01-12 23:48:47 +0000
commit352f733a86920f4792ab8d9b50f1e72495518481 (patch)
tree5c865ac173a3e45243dd752a3a2720a069031050 /htroot/BlogComments.html
parent2018f33e7bbed645d765d89adf9e282a27e722c0 (diff)
*) added "previous" and "next" links that make it possible to navigate through lists of comments (needed if there are more than 10 comments to one postig)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4328 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'htroot/BlogComments.html')
-rw-r--r--htroot/BlogComments.html188
1 files changed, 101 insertions, 87 deletions
diff --git a/htroot/BlogComments.html b/htroot/BlogComments.html
index c912353e7..b66e5ca7d 100644
--- a/htroot/BlogComments.html
+++ b/htroot/BlogComments.html
@@ -7,96 +7,110 @@
<body id="Blog">
#%env/templates/header.template%#
#(mode)#
- <!-- 0: viewing -->
- <div class="Post">
- <h2 class="PostSubject"><a href="Blog.html?page=#[pageid]#">#[subject]#</a></h2>
- <div class="PostBody">#[page]#</div>
- <p class="PostInfo">
- #[date]# | by #[author]# | <a href="BlogComments.html?page=#[pageid]#">#[comments]# Comments</a>
+ <!-- 0: viewing -->
+ <div class="Post">
+ <h2 class="PostSubject"><a href="Blog.html?page=#[pageid]#">#[subject]#</a></h2>
+ <div class="PostBody">#[page]#</div>
+ <p class="PostInfo">
+ #[date]# | by #[author]# | <a href="BlogComments.html?page=#[pageid]#">#[comments]# Comments</a>
+ </p>
+ </div>
+ <p class="Navigation">
+ #(admin)#<a href="Blog.html?login=true">Login</a> - ::#(/admin)#<a href="Blog.html">Blog-Home</a>
</p>
- </div>
- <p class="Navigation">
- #(admin)#<a href="Blog.html?login=true">Login</a> - ::#(/admin)#<a href="Blog.html">Blog-Home</a>
- </p>
- #{entries}#
- <div class="BlogCommentPost">
- <h2 class="PostSubject">#[subject]#</h2>
- <div class="PostBody">#[page]#</div>
- <p class="PostInfo">
- #[date]# | by #[author]#
- #(admin)#::| <a href="BlogComments.html?page=#[pageid]#&amp;comment=#[commentid]#&amp;delete=try">delete</a> #(moderate)#::| <a href="BlogComments.html?page=#[pageid]#&amp;comment=#[commentid]#&amp;allow=try">allow</a>#(/moderate)##(/admin)#
- </p>
- </div>
- #{/entries}#
- #(allow)#
- <fieldset>
- <p>Comments are not allowed for this posting!</p>
- </fieldset>
- ::
- <form action="BlogComments.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
- <fieldset>
- <dl>
- <dt><label for="author">Author:</label></dt>
- <dd>
- <input name="author" id="author" type="text" size="20" maxlength="80" value="#[author]#" />
- </dd>
- <dt><label for="subject">Subject:</label></dt>
- <dd>
- <input name="subject" id="subject" type="text" size="20" maxlength="80" value="" />
- </dd>
- <dt><label for="content">Text:</label></dt>
- <dd>
- <textarea name="content" id="content" cols="80" rows="12"></textarea>
- <p class="help">
- You can use <a href="WikiHelp.html" onclick="window.open('WikiHelp.html','WikiHelp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');return false;">Yacy-Wiki Code</a> here.
- </p>
- </dd>
- </dl>
- <input type="hidden" name="page" value="#[pageid]#" />
- <input type="submit" name="submit" value="Submit" />
- <input type="submit" name="preview" value="Preview" />
- <input type="submit" name="view" value="Discard" />
- </fieldset>
- </form>
- #(/allow)#
+ <h3>Comments:</h3>
+ #{entries}#
+ <div class="BlogCommentPost">
+ <h2 class="PostSubject">#[subject]#</h2>
+ <div class="PostBody">#[page]#</div>
+ <p class="PostInfo">
+ #[date]# | by #[author]#
+ #(admin)#::| <a href="BlogComments.html?page=#[pageid]#&amp;comment=#[commentid]#&amp;delete=try">delete</a> #(moderate)#::| <a href="BlogComments.html?page=#[pageid]#&amp;comment=#[commentid]#&amp;allow=try">allow</a>#(/moderate)##(/admin)#
+ </p>
+ </div>
+ #{/entries}#
+ <div class="BlogCommentPrevNext">
+ #(preventries)#
+ &lt;&lt; previous entries
+ ::
+ <a href="BlogComments.html?page=#[pageid]#&start=#[start]#&num=#[num]#">&lt;&lt; previous entries</a>
+ #(/preventries)#
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ #(moreentries)#
+ next entries &gt;&gt;
+ ::
+ <a href="BlogComments.html?page=#[pageid]#&start=#[start]#&num=#[num]#">next entries &gt;&gt;</a>
+ #(/moreentries)#
+ </div>
+ #(allow)#
+ <fieldset>
+ <p>Comments are not allowed for this posting!</p>
+ </fieldset>
+ ::
+ <form action="BlogComments.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
+ <fieldset>
+ <dl>
+ <dt><label for="author">Author:</label></dt>
+ <dd>
+ <input name="author" id="author" type="text" size="20" maxlength="80" value="#[author]#" />
+ </dd>
+ <dt><label for="subject">Subject:</label></dt>
+ <dd>
+ <input name="subject" id="subject" type="text" size="20" maxlength="80" value="" />
+ </dd>
+ <dt><label for="content">Text:</label></dt>
+ <dd>
+ <textarea name="content" id="content" cols="80" rows="12"></textarea>
+ <p class="help">
+ You can use <a href="WikiHelp.html" onclick="window.open('WikiHelp.html','WikiHelp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');return false;">Yacy-Wiki Code</a> here.
+ </p>
+ </dd>
+ </dl>
+ <input type="hidden" name="page" value="#[pageid]#" />
+ <input type="submit" name="submit" value="Submit" />
+ <input type="submit" name="preview" value="Preview" />
+ <input type="submit" name="view" value="Discard" />
+ </fieldset>
+ </form>
+ #(/allow)#
::
- <!-- 1: preview -->
- <div class="Post">
- <h2 class="PostSubject"><a href="Blog.html?page=#[pageid]#">#[subject]#</a></h2>
- <div class="PostBody">#[page]#</div>
- <p class="PostInfo">
- #[date]# | by #[author]#
+ <!-- 1: preview -->
+ <div class="Post">
+ <h2 class="PostSubject"><a href="Blog.html?page=#[pageid]#">#[subject]#</a></h2>
+ <div class="PostBody">#[page]#</div>
+ <p class="PostInfo">
+ #[date]# | by #[author]#
+ </p>
+ </div>
+ <p class="Navigation">
+ #(admin)#<a href="Blog.html?login=true">Login</a> - ::<a href="Blog.html?edit=true">new entry</a> - <a href="Blog.html?import=xml">import XML-File</a> - <a href="Blog.xml?xml=1">export as XML</a> - #(/admin)#<a href="Blog.html">Blog-Home</a>
</p>
- </div>
- <p class="Navigation">
- #(admin)#<a href="Blog.html?login=true">Login</a> - ::<a href="Blog.html?edit=true">new entry</a> - <a href="Blog.html?import=xml">import XML-File</a> - <a href="Blog.xml?xml=1">export as XML</a> - #(/admin)#<a href="Blog.html">Blog-Home</a>
- </p>
- <form action="BlogComments.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
- <fieldset>
- <dl>
- <dt><label for="author">Author:</label></dt>
- <dd>
- <input name="author" id="author" type="text" size="20" maxlength="80" value="#[author]#" />
- </dd>
- <dt><label for="subject">Subject:</label></dt>
- <dd>
- <input name="subject" id="subject" type="text" size="20" maxlength="80" value="#[subject]#" />
- </dd>
- <dt><label for="content">Text:</label></dt>
- <dd>
- <textarea name="content" id="conten t" cols="80" rows="12">#[page-code]#</textarea>
- <p class="help">
- You can use <a href="WikiHelp.html" onclick="window.open('WikiHelp.html','WikiHelp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');return false;">Yacy-Wiki Code</a> here.
- </p>
- </dd>
- </dl>
- <input type="hidden" name="page" value="#[pageid]#" />
- <input type="text" name="page" value="#[pageid]#" />
- <input type="submit" name="submit" value="Submit" />
- <input type="submit" name="preview" value="Preview" />
- <input type="submit" name="view" value="Discard" />
- </fieldset>
- </form>
+ <form action="BlogComments.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
+ <fieldset>
+ <dl>
+ <dt><label for="author">Author:</label></dt>
+ <dd>
+ <input name="author" id="author" type="text" size="20" maxlength="80" value="#[author]#" />
+ </dd>
+ <dt><label for="subject">Subject:</label></dt>
+ <dd>
+ <input name="subject" id="subject" type="text" size="20" maxlength="80" value="#[subject]#" />
+ </dd>
+ <dt><label for="content">Text:</label></dt>
+ <dd>
+ <textarea name="content" id="conten t" cols="80" rows="12">#[page-code]#</textarea>
+ <p class="help">
+ You can use <a href="WikiHelp.html" onclick="window.open('WikiHelp.html','WikiHelp','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=640,height=480');return false;">Yacy-Wiki Code</a> here.
+ </p>
+ </dd>
+ </dl>
+ <input type="hidden" name="page" value="#[pageid]#" />
+ <input type="text" name="page" value="#[pageid]#" />
+ <input type="submit" name="submit" value="Submit" />
+ <input type="submit" name="preview" value="Preview" />
+ <input type="submit" name="view" value="Discard" />
+ </fieldset>
+ </form>
#(/mode)#
#%env/templates/footer.template%#