summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-29 19:46:29 +0400
committerAndrew Dolgov <[email protected]>2013-03-29 19:46:29 +0400
commit9e662b4d0fb3971ae4efba9350c48dbb81262e20 (patch)
tree721f26f988b6c4781044af7a9b7a8e8ed68949af /prefs.php
parent255b0f65d6a30719918687035a05f1c56574222d (diff)
make prefs footer version respect HIDE_VERSION
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/prefs.php b/prefs.php
index 0581a6c55..387ea97b4 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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 ?> &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"
href="http://fakecake.org/">Andrew Dolgov</a>
</div> <!-- footer -->