diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-03-10 17:26:30 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-03-10 17:27:36 +0100 |
commit | 0cec12dbebb29837b4bc322d5c1931cd79dc3848 (patch) | |
tree | 48f36749451f4730b9e86f2b16d0a2e244b46101 | |
parent | 80083a41ce7a4ccf3132621757c333c535179dbe (diff) | |
download | rpg-0cec12dbebb29837b4bc322d5c1931cd79dc3848.tar.gz rpg-0cec12dbebb29837b4bc322d5c1931cd79dc3848.tar.bz2 |
readded footer buttons from the old template
as discussed at https://github.com/splitbrain/dokuwiki/pull/82#r419699
-rw-r--r-- | lib/tpl/dokuwiki/css/design.css | 14 | ||||
-rw-r--r-- | lib/tpl/dokuwiki/images/button-css.png | bin | 0 -> 299 bytes | |||
-rw-r--r-- | lib/tpl/dokuwiki/images/button-donate.gif | bin | 0 -> 187 bytes | |||
-rw-r--r-- | lib/tpl/dokuwiki/images/button-dw.png | bin | 0 -> 404 bytes | |||
-rw-r--r-- | lib/tpl/dokuwiki/images/button-php.gif | bin | 0 -> 207 bytes | |||
-rw-r--r-- | lib/tpl/dokuwiki/images/button-rss.png | bin | 0 -> 191 bytes | |||
-rw-r--r-- | lib/tpl/dokuwiki/images/button-xhtml.png | bin | 0 -> 321 bytes | |||
-rw-r--r-- | lib/tpl/dokuwiki/tpl_footer.php | 15 |
8 files changed, 24 insertions, 5 deletions
diff --git a/lib/tpl/dokuwiki/css/design.css b/lib/tpl/dokuwiki/css/design.css index 9e76be6ae..f80251dfe 100644 --- a/lib/tpl/dokuwiki/css/design.css +++ b/lib/tpl/dokuwiki/css/design.css @@ -453,11 +453,17 @@ #dokuwiki__footer > .pad { font-size: 0.875em; } -#dokuwiki__footer div.license { +#dokuwiki__footer div.license, +#dokuwiki__footer div.footerbuttons { text-align: center; } -#dokuwiki__footer .license img { - margin: 0 .5em 0 0; - float: none; +#dokuwiki__footer div.license { + margin-bottom: 0.5em; +} +#dokuwiki__footer div.footerbuttons img { + opacity: 0.5; } +#dokuwiki__footer div.footerbuttons a:hover img { + opacity: 1; +} diff --git a/lib/tpl/dokuwiki/images/button-css.png b/lib/tpl/dokuwiki/images/button-css.png Binary files differnew file mode 100644 index 000000000..706325e1c --- /dev/null +++ b/lib/tpl/dokuwiki/images/button-css.png diff --git a/lib/tpl/dokuwiki/images/button-donate.gif b/lib/tpl/dokuwiki/images/button-donate.gif Binary files differnew file mode 100644 index 000000000..bba284e21 --- /dev/null +++ b/lib/tpl/dokuwiki/images/button-donate.gif diff --git a/lib/tpl/dokuwiki/images/button-dw.png b/lib/tpl/dokuwiki/images/button-dw.png Binary files differnew file mode 100644 index 000000000..97272d968 --- /dev/null +++ b/lib/tpl/dokuwiki/images/button-dw.png diff --git a/lib/tpl/dokuwiki/images/button-php.gif b/lib/tpl/dokuwiki/images/button-php.gif Binary files differnew file mode 100644 index 000000000..19aefb08f --- /dev/null +++ b/lib/tpl/dokuwiki/images/button-php.gif diff --git a/lib/tpl/dokuwiki/images/button-rss.png b/lib/tpl/dokuwiki/images/button-rss.png Binary files differnew file mode 100644 index 000000000..f2438043f --- /dev/null +++ b/lib/tpl/dokuwiki/images/button-rss.png diff --git a/lib/tpl/dokuwiki/images/button-xhtml.png b/lib/tpl/dokuwiki/images/button-xhtml.png Binary files differnew file mode 100644 index 000000000..ec686442c --- /dev/null +++ b/lib/tpl/dokuwiki/images/button-xhtml.png diff --git a/lib/tpl/dokuwiki/tpl_footer.php b/lib/tpl/dokuwiki/tpl_footer.php index fcc9d21c7..e6fb7661d 100644 --- a/lib/tpl/dokuwiki/tpl_footer.php +++ b/lib/tpl/dokuwiki/tpl_footer.php @@ -1,6 +1,19 @@ <!-- ********** FOOTER ********** --> <div id="dokuwiki__footer"><div class="pad"> - <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?> + <?php + $tgt = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : ''; + tpl_license(''); // text only + ?> + + <div class="footerbuttons"> + + <?php tpl_license('button',true,false,false); // button, no wrapper?> + <a <?php echo $tgt?> href="http://www.dokuwiki.org/donate" title="Donate"><img src="<?php echo tpl_basedir(); ?>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 tpl_basedir(); ?>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 tpl_basedir(); ?>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 tpl_basedir(); ?>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 tpl_basedir(); ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a> + </div> </div></div><!-- /footer --> <?php _tpl_include('footer.html') ?> |