summaryrefslogtreecommitdiff
path: root/tpl/default
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/default')
-rw-r--r--tpl/default/footer.html56
-rw-r--r--tpl/default/main.php12
2 files changed, 67 insertions, 1 deletions
diff --git a/tpl/default/footer.html b/tpl/default/footer.html
new file mode 100644
index 000000000..323fdb686
--- /dev/null
+++ b/tpl/default/footer.html
@@ -0,0 +1,56 @@
+<?php
+/**
+ * Example footer include
+ *
+ * This file shows you how to use the include hooks. However I recommend to
+ * create your own complete new template instead.
+ */
+?>
+
+<div align="center" class="footerinc">
+ <a target="_blank" href="feed.php" title="Recent changes RSS feed"><img src="<?=DOKU_TPL?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" border="0" /></a>
+
+ <a target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/2.0/" rel="license" title="Creative Commons License"><img src="<?=DOKU_TPL?>images/button-cc.gif" width="80" height="15" alt="Creative Commons License" border="0" /></a>
+
+ <a target="_blank" href="https://www.paypal.com/xclick/business=andi%40splitbrain.org&amp;item_name=DokuWiki+Donation&amp;no_shipping=1&amp;no_note=1&amp;tax=0&amp;currency_code=EUR&amp;lc=US" title="Donate"><img src="<?=DOKU_TPL?>images/button-donate.gif" alt="Donate" border="0" /></a>
+
+ <a target="_blank" href="http://www.php.net" title="Powered by PHP"><img src="<?=DOKU_TPL?>images/button-php.gif" width="80" height="15" alt="Powered by PHP" border="0" /></a>
+
+ <a target="_blank" href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="<?=DOKU_TPL?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" border="0" /></a>
+
+ <a target="_blank" href="http://jigsaw.w3.org/css-validator/check/referer" title="Valid CSS"><img src="<?=DOKU_TPL?>images/button-css.png" width="80" height="15" alt="Valid CSS" border="0" /></a>
+
+ <a target="_blank" href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?=DOKU_TPL?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" border="0" /></a>
+
+
+<?php
+/*
+ * The following stuff in HTML comments declares a Creative Commons
+ * License - remove this if you don't want this license for your Wiki
+ */
+?>
+
+<!--
+
+<rdf:RDF xmlns="http://web.resource.org/cc/"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+<Work rdf:about="">
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" />
+ <license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/" />
+</Work>
+
+<License rdf:about="http://creativecommons.org/licenses/by-nc-sa/2.0/">
+ <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
+ <permits rdf:resource="http://web.resource.org/cc/Distribution" />
+ <requires rdf:resource="http://web.resource.org/cc/Notice" />
+ <requires rdf:resource="http://web.resource.org/cc/Attribution" />
+ <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
+ <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
+ <requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
+</License>
+
+</rdf:RDF>
+
+-->
+</div>
diff --git a/tpl/default/main.php b/tpl/default/main.php
index 091717142..1ce58f407 100644
--- a/tpl/default/main.php
+++ b/tpl/default/main.php
@@ -9,7 +9,6 @@
* You should leave the doctype at the very top - It should
* always be the very first line of a document.
*
- * @todo read the include hooks, add the CSS!
* @link http://wiki.splitbrain.org/wiki:tpl:templates
* @author Andreas Gohr <andi@splitbrain.org>
*/
@@ -33,9 +32,12 @@
img { behavior: url("<?=DOKU_BASE?>/pngbehavior.htc"); }
</style>
<![endif]-->
+
+ <?/*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
</head>
<body>
+<?/*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
<div class="dokuwiki">
<?html_msgarea()?>
@@ -49,6 +51,8 @@
<?tpl_link(wl(),$conf['title'],'name="top" accesskey="h" title="[ALT+H]"')?>
</div>
</div>
+
+ <?/*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
<div class="bar" id="bar_top">
<div class="bar-left" id="bar_topleft">
@@ -65,12 +69,15 @@
<?if($conf['breadcrumbs']){?>
<div class="breadcrumbs">
<?tpl_breadcrumbs()?>
+ <?//tpl_youarehere() //(some people prefer this)?>
</div>
<?}?>
</div>
<?flush()?>
+ <?/*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
+
<div class="page">
<!-- wikipage start -->
<?tpl_content()?>
@@ -92,6 +99,8 @@
</div>
</div>
+ <?/*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
+
<div class="bar" id="bar_bottom">
<div class="bar-left" id="bar_bottomleft">
<?tpl_button('edit')?>
@@ -108,4 +117,5 @@
</div>
</div>
+<?/*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
</body>