diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-28 19:43:07 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-28 19:43:07 +0000 |
commit | 1aeb64e14858dc7dbce6ac553fc6dc43efb29fae (patch) | |
tree | 38b6b82ff8efe60ccc3bad9a93d4e72e4b121003 /templates | |
parent | 4895955ceaf264c5f17b10c4009e1ab1afcc55ee (diff) | |
download | ikiwiki-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.tmpl | 14 | ||||
-rw-r--r-- | templates/inlinepagetitle.tmpl | 1 | ||||
-rw-r--r-- | templates/page.tmpl | 2 |
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> |