X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/fe242ad996e2778ef4203d18c61e3e660d8f3a38..ea753782b222bf4ba2fb4683b6363afdd9055b64:/templates/page.tmpl?ds=inline diff --git a/templates/page.tmpl b/templates/page.tmpl index d39c9aa2a..29ba688c7 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -13,6 +13,7 @@ <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" /> </TMPL_IF> <TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF> +<TMPL_IF NAME="RELVCS"><TMPL_VAR RELVCS></TMPL_IF> <TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF> </head> <body> @@ -20,11 +21,15 @@ <div class="pageheader"> <div class="header"> <span> +<span class="parentlinks"> <TMPL_LOOP NAME="PARENTLINKS"> -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/ +<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/ </TMPL_LOOP> +</span> +<span class="title"> <TMPL_VAR TITLE> </span> +</span><!--.header--> <TMPL_IF NAME="SEARCHFORM"> <TMPL_VAR SEARCHFORM> </TMPL_IF> @@ -45,9 +50,13 @@ <TMPL_IF NAME="PREFSURL"> <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li> </TMPL_IF> +<TMPL_IF NAME="COMMENTSLINK"> +<li><TMPL_VAR COMMENTSLINK><br /></li> +<TMPL_ELSE> <TMPL_IF NAME="DISCUSSIONLINK"> <li><TMPL_VAR DISCUSSIONLINK><br /></li> </TMPL_IF> +</TMPL_IF> </ul> </div> </TMPL_IF> @@ -63,6 +72,19 @@ <TMPL_VAR CONTENT> </div> +<TMPL_IF COMMENTS> +<div id="comments"> +<TMPL_VAR COMMENTS> +<TMPL_IF ADDCOMMENTURL> +<div class="addcomment"> +<a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a> +</div> +<TMPL_ELSE> +<div class="addcomment">Comments on this page are closed.</div> +</TMPL_IF> +</div> +</TMPL_IF> + <div id="footer" class="pagefooter"> <div id="pageinfo"> @@ -70,7 +92,7 @@ <div class="tags"> Tags: <TMPL_LOOP NAME="TAGS"> -<TMPL_VAR NAME=LINK> +<TMPL_VAR LINK> </TMPL_LOOP> </div> </TMPL_IF> @@ -79,13 +101,13 @@ Tags: <div id="backlinks"> Links: <TMPL_LOOP NAME="BACKLINKS"> -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> +<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> </TMPL_LOOP> <TMPL_IF NAME="MORE_BACKLINKS"> <span class="popup">... <span class="balloon"> <TMPL_LOOP NAME="MORE_BACKLINKS"> -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> +<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> </TMPL_LOOP> </span> </span> @@ -108,13 +130,13 @@ License: <TMPL_VAR LICENSE> </TMPL_IF> <div class="pagedate"> -Last edited <TMPL_VAR NAME=MTIME> -<!-- Created <TMPL_VAR NAME=CTIME> --> +Last edited <TMPL_VAR MTIME> +<!-- Created <TMPL_VAR CTIME> --> </div> </div><!-- #pageinfo --> <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF> -<!-- from <TMPL_VAR NAME=WIKINAME> --> +<!-- from <TMPL_VAR WIKINAME> --> </div><!-- .pagefooter #footer --> </body>