diff options
author | Andrew Dolgov <[email protected]> | 2013-03-29 19:46:29 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-29 19:46:29 +0400 |
commit | 9e662b4d0fb3971ae4efba9350c48dbb81262e20 (patch) | |
tree | 721f26f988b6c4781044af7a9b7a8e8ed68949af | |
parent | 255b0f65d6a30719918687035a05f1c56574222d (diff) |
make prefs footer version respect HIDE_VERSION
-rw-r--r-- | prefs.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -142,7 +142,11 @@ <div id="footer" dojoType="dijit.layout.ContentPane" region="bottom"> <a class="insensitive" target="_blank" href="http://tt-rss.org/"> - Tiny Tiny RSS</a> <?php echo VERSION ?> © 2005-<?php echo date('Y') ?> + Tiny Tiny RSS</a> + <?php if (!defined('HIDE_VERSION')) { ?> + v<?php echo VERSION ?> + <?php } ?> + © 2005-<?php echo date('Y') ?> <a class="insensitive" target="_blank" href="http://fakecake.org/">Andrew Dolgov</a> </div> <!-- footer --> |