make prefs footer version respect HIDE_VERSION

This commit is contained in:
Andrew Dolgov 2013-03-29 19:46:29 +04:00
parent 255b0f65d6
commit 9e662b4d0f

View file

@ -142,7 +142,11 @@
<div id="footer" dojoType="dijit.layout.ContentPane" region="bottom"> <div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">
<a class="insensitive" target="_blank" href="http://tt-rss.org/"> <a class="insensitive" target="_blank" href="http://tt-rss.org/">
Tiny Tiny RSS</a> <?php echo VERSION ?> &copy; 2005-<?php echo date('Y') ?> Tiny Tiny RSS</a>
<?php if (!defined('HIDE_VERSION')) { ?>
v<?php echo VERSION ?>
<?php } ?>
&copy; 2005-<?php echo date('Y') ?>
<a class="insensitive" target="_blank" <a class="insensitive" target="_blank"
href="http://fakecake.org/">Andrew Dolgov</a> href="http://fakecake.org/">Andrew Dolgov</a>
</div> <!-- footer --> </div> <!-- footer -->