aboutsummaryrefslogtreecommitdiff
path: root/templates
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
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')
-rw-r--r--templates/inlinepage.tmpl14
-rw-r--r--templates/inlinepagetitle.tmpl1
-rw-r--r--templates/page.tmpl2
3 files changed, 16 insertions, 1 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>
diff --git a/templates/inlinepagetitle.tmpl b/templates/inlinepagetitle.tmpl
index 3aa6a2415..6bc789dfb 100644
--- a/templates/inlinepagetitle.tmpl
+++ b/templates/inlinepagetitle.tmpl
@@ -3,4 +3,5 @@
<i>
Posted <TMPL_VAR CTIME>
</i>
+
</p>
diff --git a/templates/page.tmpl b/templates/page.tmpl
index e8b30d707..650d90ed1 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -25,7 +25,7 @@
</div>
<TMPL_IF NAME="HAVE_ACTIONS">
-<div id="actions">
+<div class="actions">
<ul>
<TMPL_IF NAME="EDITURL">
<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>