aboutsummaryrefslogtreecommitdiff
path: root/templates/inlinepage.tmpl
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-28 19:43:07 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-08-28 19:43:07 +0000
commit1aeb64e14858dc7dbce6ac553fc6dc43efb29fae (patch)
tree38b6b82ff8efe60ccc3bad9a93d4e72e4b121003 /templates/inlinepage.tmpl
parent4895955ceaf264c5f17b10c4009e1ab1afcc55ee (diff)
downloadikiwiki-1aeb64e14858dc7dbce6ac553fc6dc43efb29fae.tar
ikiwiki-1aeb64e14858dc7dbce6ac553fc6dc43efb29fae.tar.gz
* Patch from James Westby to add an actions option to inline; this
adds Edit and Discussion links at the end of blog entries.
Diffstat (limited to 'templates/inlinepage.tmpl')
-rw-r--r--templates/inlinepage.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl
index eecb5a60e..8210874ef 100644
--- a/templates/inlinepage.tmpl
+++ b/templates/inlinepage.tmpl
@@ -28,4 +28,18 @@ Tags:
</TMPL_LOOP>
</TMPL_IF>
</span>
+
+<TMPL_IF NAME="HAVE_ACTIONS">
+<span class="actions">
+<ul>
+<TMPL_IF NAME="EDITURL">
+<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
+</TMPL_IF>
+<TMPL_IF NAME="DISCUSSIONLINK">
+<li><TMPL_VAR DISCUSSIONLINK></li>
+</TMPL_IF>
+</ul>
+</span>
+</TMPL_IF>
+
</div>