summaryrefslogtreecommitdiff
path: root/srv/templates/comment.tmpl
diff options
context:
space:
mode:
authorroot <root@piny.svcs.cs.pdx.edu>2009-09-06 04:26:13 -0700
committerroot <root@piny.svcs.cs.pdx.edu>2009-09-06 04:26:13 -0700
commit29355a1653a12742928ce563e4c077a77f67c9f9 (patch)
treea502a34c06c33c08cfb8050527e2c7ae5ceb47ad /srv/templates/comment.tmpl
parent3d47e7f272d128780a2c6c5d94e4c61d7888c3d1 (diff)
downloadpiny-code-29355a1653a12742928ce563e4c077a77f67c9f9.tar.gz
piny-code-29355a1653a12742928ce563e4c077a77f67c9f9.zip
Import of unversioned piny code.
Diffstat (limited to 'srv/templates/comment.tmpl')
-rw-r--r--srv/templates/comment.tmpl59
1 files changed, 59 insertions, 0 deletions
diff --git a/srv/templates/comment.tmpl b/srv/templates/comment.tmpl
new file mode 100644
index 0000000..fb76ea0
--- /dev/null
+++ b/srv/templates/comment.tmpl
@@ -0,0 +1,59 @@
+<div class="comment" id="<TMPL_VAR NAME=COMMENTID>">
+
+<div class="comment-subject">
+<TMPL_IF PERMALINK>
+<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
+<TMPL_ELSE>
+<TMPL_VAR TITLE>
+</TMPL_IF>
+</div>
+
+<div class="inlinecontent">
+<TMPL_VAR CONTENT>
+</div>
+
+<div class="comment-header">
+Comment by
+
+<TMPL_IF NAME="COMMENTUSER">
+<TMPL_IF NAME="COMMENTOPENID">
+<span class="author" title="OpenID">
+<a href="<TMPL_VAR NAME=COMMENTOPENID>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
+</span>
+<TMPL_ELSE>
+<span class="author" title="Signed in">
+<TMPL_IF NAME="COMMENTAUTHORURL">
+<a href="<TMPL_VAR NAME=COMMENTAUTHORURL>"><TMPL_VAR NAME=COMMENTAUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR NAME=COMMENTAUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF>
+<TMPL_ELSE><!-- !COMMENTUSER -->
+<TMPL_IF NAME=COMMENTIP>
+<span class="author" title="Unauthenticated, from <TMPL_VAR NAME=COMMENTIP>">
+<TMPL_ELSE><!-- !COMMENTIP -->
+<span class="author" title="Unauthenticated, from unknown IP address">
+</TMPL_IF>
+<TMPL_IF NAME="AUTHORURL">
+<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a>
+<TMPL_ELSE>
+<TMPL_VAR NAME=AUTHOR>
+</TMPL_IF>
+</span>
+</TMPL_IF><!-- !COMMENTUSER -->
+
+&mdash; <TMPL_VAR CTIME>
+</div>
+
+<TMPL_IF NAME="HAVE_ACTIONS">
+<div class="actions">
+<ul>
+<TMPL_IF NAME="REMOVEURL">
+<li><a href="<TMPL_VAR REMOVEURL>" rel="nofollow">Remove comment</a></li>
+</TMPL_IF>
+</ul>
+</div><!--.actions-->
+</TMPL_IF>
+
+</div><!--.comment-->