X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2d4bf757fb63d7d9e7ccfbbbd0e1913fa5dacae5..eaa782a1856cff50df68f1135955d58dc97bb833:/templates/page.tmpl diff --git a/templates/page.tmpl b/templates/page.tmpl index 4531157ba..e71ba316d 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -1,41 +1,167 @@ -<html> -<head><title><TMPL_VAR TITLE></title></head> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title><TMPL_VAR TITLE></title> +<TMPL_IF NAME="FAVICON"> +<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" /> +</TMPL_IF> +<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" /> +<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" /> +<TMPL_IF NAME="EDITURL"> +<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> -<h1> +<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> -</h1> +<TMPL_IF NAME="ISTRANSLATION"> + (<TMPL_VAR NAME="PERCENTTRANSLATED">%) +</TMPL_IF> +</span> +</span><!--.header--> +<TMPL_IF NAME="SEARCHFORM"> +<TMPL_VAR SEARCHFORM> +</TMPL_IF> +</div> +<TMPL_IF NAME="HAVE_ACTIONS"> +<div class="actions"> +<ul> <TMPL_IF NAME="EDITURL"> -<a href="<TMPL_VAR EDITURL>">Edit</a> +<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li> </TMPL_IF> - <TMPL_IF NAME="RECENTCHANGESURL"> -<a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a> +<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li> </TMPL_IF> - <TMPL_IF NAME="HISTORYURL"> -<a href="<TMPL_VAR HISTORYURL>">History</a> +<li><a href="<TMPL_VAR HISTORYURL>">History</a></li> +</TMPL_IF> +<TMPL_IF NAME="GETSOURCEURL"> +<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li> +</TMPL_IF> +<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> + +<TMPL_IF NAME="OTHERLANGUAGES"> +<div id="otherlanguages"> +<ul> +<TMPL_LOOP NAME="OTHERLANGUAGES"> +<li> +<a href="<TMPL_VAR NAME="URL">"><TMPL_VAR NAME="LANGUAGE"></a> +<TMPL_IF NAME="MASTER"> +(master) +<TMPL_ELSE> + (<TMPL_VAR NAME="PERCENT">%) +</TMPL_IF> +</li> +</TMPL_LOOP> +</ul> +</div> <!-- #otherlanguages --> </TMPL_IF> -<TMPL_VAR DISCUSSIONLINK><br> +</div> <!-- .pageheader --> -<hr> +<TMPL_IF SIDEBAR> +<div id="sidebar"> +<TMPL_VAR SIDEBAR> +</div> +</TMPL_IF> + +<div id="content"> <TMPL_VAR CONTENT> -<hr> +</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"> + +<TMPL_IF NAME="TAGS"> +<div class="tags"> +Tags: +<TMPL_LOOP NAME="TAGS"> +<TMPL_VAR LINK> +</TMPL_LOOP> +</div> +</TMPL_IF> <TMPL_IF NAME="BACKLINKS"> -<p>Links: +<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 URL>"><TMPL_VAR PAGE></a> </TMPL_LOOP> -</p> +</span> +</span> +</TMPL_IF> +</div><!-- #backlinks --> +</TMPL_IF> + +<TMPL_IF COPYRIGHT> +<div class="pagecopyright"> +<a name="pagecopyright"></a> +<TMPL_VAR COPYRIGHT> +</div> +</TMPL_IF> + +<TMPL_IF LICENSE> +<div class="pagelicense"> +<a name="pagelicense"></a> +License: <TMPL_VAR LICENSE> +</div> </TMPL_IF> -<!-- from <TMPL_VAR NAME=WIKINAME> --> +<div class="pagedate"> +Last edited <TMPL_VAR MTIME> +<!-- Created <TMPL_VAR CTIME> --> +</div> + +</div><!-- #pageinfo --> +<TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF> +<!-- from <TMPL_VAR WIKINAME> --> +</div><!-- .pagefooter #footer --> </body> </html>