[Xfce4-commits] <wiki:master> Add recent button.

Nick Schermer noreply at xfce.org
Thu Jan 5 21:42:02 CET 2012


Updating branch refs/heads/master
         to 1573b0f2fe016dfaa47f6bffa3d5f4854798f206 (commit)
       from e9b8817f54a68a1fef6901195e0047ab240fd300 (commit)

commit 1573b0f2fe016dfaa47f6bffa3d5f4854798f206
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Jan 5 21:40:04 2012 +0100

    Add recent button.

 lib/tpl/docs/footer.html |   41 -----------------------------------------
 lib/tpl/docs/main.php    |    1 +
 2 files changed, 1 insertions(+), 41 deletions(-)

diff --git a/lib/tpl/docs/footer.html b/lib/tpl/docs/footer.html
deleted file mode 100644
index 38aab72..0000000
--- a/lib/tpl/docs/footer.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<?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.
- */
-
-$tgt = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
-?>
-
-<div class="footerinc">
-
-  <a <?php echo $tgt?> href="<?php echo DOKU_BASE; ?>feed.php" title="Recent changes RSS feed"><img src="<?php echo DOKU_TPL; ?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a>
-
-  <?php
-    $lic = license_img('button');
-    if($lic){
-  ?>
-      <a <?php echo $tgt?> href="<?php echo $license[$conf['license']]['url']?>" rel="license" title="<?php echo $license[$conf['license']]['name']?>"><img src="<?php echo DOKU_BASE.$lic ?>" width="80" height="15" alt="" /></a>
-  <?php } ?>
-
-  <a <?php echo $tgt?> href="http://www.dokuwiki.org/donate" title="Donate"><img src="<?php echo DOKU_TPL; ?>images/button-donate.gif" alt="Donate" width="80" height="15" /></a>
-
-  <a <?php echo $tgt?> href="http://www.php.net" title="Powered by PHP"><img src="<?php echo DOKU_TPL; ?>images/button-php.gif" width="80" height="15" alt="Powered by PHP" /></a>
-
-  <a <?php echo $tgt?> href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0"><img src="<?php echo DOKU_TPL; ?>images/button-xhtml.png" width="80" height="15" alt="Valid XHTML 1.0" /></a>
-
-  <a <?php echo $tgt?> href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS"><img src="<?php echo DOKU_TPL; ?>images/button-css.png" width="80" height="15" alt="Valid CSS" /></a>
-
-  <a <?php echo $tgt?> href="http://dokuwiki.org/" title="Driven by DokuWiki"><img src="<?php echo DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
-
-<?php
-if ($conf['allowdebug']) {
-    echo '<!-- page made in '.round(delta_time(DOKU_START_TIME), 3).' seconds -->';
-}
-?>
-
-
-</div>
-<?php include(dirname(__FILE__).'/dwtb.html') ?>
diff --git a/lib/tpl/docs/main.php b/lib/tpl/docs/main.php
index 0571cda..e61ae3e 100644
--- a/lib/tpl/docs/main.php
+++ b/lib/tpl/docs/main.php
@@ -133,6 +133,7 @@ if (!defined('DOKU_INC')) die();
       <?php tpl_button('edit')?>
       <?php tpl_button('history')?>
       <?php tpl_button('revert')?>
+      <?php tpl_button('recent')?>
     </div>
     <div class="bar-right" id="bar__bottomright">
       <?php tpl_button('subscribe')?>


More information about the Xfce4-commits mailing list