new (undocumented) option HIDE_VERSION

This commit is contained in:
Andrew Dolgov 2008-08-08 06:08:38 +01:00
parent bbf673953d
commit 8865bdc010
3 changed files with 15 additions and 3 deletions

View File

@ -127,7 +127,11 @@
<?php if (!$go) { ?>
<div id="footer">
<a href="http://tt-rss.spb.ru/">Tiny-Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2008 Andrew Dolgov
<a href="http://tt-rss.spb.ru/">Tiny-Tiny RSS</a>
<?php if (!defined('HIDE_VERSION')) { ?>
v<?php echo VERSION ?>
<?php } ?>
&copy; 2005-2008 Andrew Dolgov
</div>
<?php } ?>

View File

@ -174,7 +174,11 @@ window.onload = init;
?>
</select>
<?php } ?>
<a href="http://tt-rss.org/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005&ndash;2008 <a href="http://bah.org.ru/">Andrew Dolgov</a>
<a href="http://tt-rss.org/">Tiny Tiny RSS</a>
<?php if (!defined('HIDE_VERSION')) { ?>
v<?php echo VERSION ?>
<?php } ?>
&copy; 2005&ndash;2008 <a href="http://bah.org.ru/">Andrew Dolgov</a>
</div>
<?php db_close($link); ?>

View File

@ -257,7 +257,11 @@ window.onload = init;
?>
</select>
<?php } ?>
<a href="http://tt-rss.org/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005&ndash;2008 <a href="http://bah.org.ru/">Andrew Dolgov</a>
<a href="http://tt-rss.org/">Tiny Tiny RSS</a>
<?php if (!defined('HIDE_VERSION')) { ?>
v<?php echo VERSION ?>
<?php } ?>
&copy; 2005&ndash;2008 <a href="http://bah.org.ru/">Andrew Dolgov</a>
</div>
<?php db_close($link); ?>