]> git.wh0rd.org Git - tt-rss.git/commitdiff
make prefs footer version respect HIDE_VERSION
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 15:46:29 +0000 (19:46 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 15:46:29 +0000 (19:46 +0400)
prefs.php

index 0581a6c550adf556e0caa007b9dc2d8454ddee68..387ea97b436697f5fa1f5deaa1b95d3d17809a54 100644 (file)
--- a/prefs.php
+++ b/prefs.php
 
 <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 -->