-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtpl_footer.php
34 lines (31 loc) · 1.78 KB
/
tpl_footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* Template footer, included in the main and detail files
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
?> <footer><!-- BEGIN FOOTER -->
<div id="staticfooter">
<?php tpl_includeFile('footer.html'); ?>
</div>
<div id="ftLicenseButtons">
<div class="license">
<!-- license text -->
<?php tpl_license('');?>
<!-- alternatively include file: licenseinfo.html -->
<?php tpl_includeFile('licenseinfo.html'); ?>
<!-- end of license info -->
</div>
<?php if($conf['license'] != null): ?> <p class="buttons noprint">
<?php
$target = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
my_license_button($target);
?>
<a href="https://www.dokuwiki.org/donate" title="Donate" <?php echo $target?>><img src="<?php echo tpl_basedir(); ?>images/button/donate.svg" width="80" height="15" alt="Donate"></a>
<a href="https://php.net" title="Powered by PHP" <?php echo $target?>><img src="<?php echo tpl_basedir(); ?>images/button/php8.svg" width="80" height="15" alt="Powered by PHP"></a>
<a href="//validator.w3.org/check/referer" title="Valid HTML5" <?php echo $target?>><img src="<?php echo tpl_basedir(); ?>images/button/html5.svg" width="80" height="15" alt="Valid HTML5"></a>
<a href="//jigsaw.w3.org/css-validator/check/referer?profile=css3" title="Valid CSS" <?php echo $target?>><img src="<?php echo tpl_basedir(); ?>images/button/css.svg" width="80" height="15" alt="Valid CSS"></a>
<a href="https://dokuwiki.org/" title="Driven by DokuWiki" <?php echo $target?>><img src="<?php echo tpl_basedir(); ?>images/button/dw.svg" width="80" height="15" alt="Driven by DokuWiki"></a>
</p><?php endif; ?>
</div>
</footer><!-- END OF FOOTER -->