aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-26 15:18:12 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-26 15:18:12 +0000
commit526044e1da808a3ab291e21be5401e7d84ebecc0 (patch)
tree9674a8d78f6f392b76dd14484971669b9389baef /templates
parent2e95062df8326a46d91112214a0a80886692b1a4 (diff)
downloadikiwiki-526044e1da808a3ab291e21be5401e7d84ebecc0.tar
ikiwiki-526044e1da808a3ab291e21be5401e7d84ebecc0.tar.gz
better fix for empty actions list issue
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 930d173c2..c2430f044 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -20,31 +20,27 @@
</TMPL_IF>
</div>
+<TMPL_IF NAME="HAVE_ACTIONS">
<div id="actions">
<ul>
<TMPL_IF NAME="EDITURL">
<li><a href="<TMPL_VAR EDITURL>">Edit</a></li>
</TMPL_IF>
-
<TMPL_IF NAME="RECENTCHANGESURL">
<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
</TMPL_IF>
-
<TMPL_IF NAME="HISTORYURL">
<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
</TMPL_IF>
-
<TMPL_IF NAME="PREFSURL">
<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
</TMPL_IF>
-
<TMPL_IF NAME="DISCUSSIONLINK">
<li><TMPL_VAR DISCUSSIONLINK><br /></li>
</TMPL_IF>
-
-<li></li>
</ul>
</div>
+</TMPL_IF>
<div id="content">
<TMPL_VAR CONTENT>