From: Siddhesh P. <sid...@us...> - 2009-10-03 20:13:24
|
Update of /cvsroot/ayttm/ayttm-html In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1854 Modified Files: Footer.php files.php Added Files: release.php Log Message: Added release.php to ease the release changes a bit and also to use it as input for ayttm "Check Latest Release" feature. In future, a release update should only require the comment and $RELEASE variable to be updated in release.php for it to reflect in the website and on older clients. --- NEW FILE: release.php --- <!--0.6.0--> <? $RELEASE="0.6.0"; ?> Index: Footer.php =================================================================== RCS file: /cvsroot/ayttm/ayttm-html/Footer.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Footer.php 11 Sep 2009 14:58:54 -0000 1.2 +++ Footer.php 3 Oct 2009 20:13:07 -0000 1.3 @@ -5,12 +5,14 @@ src="http://sourceforge.net/sflogo.php?group_id=77614&type=2" border="0" width=125 height=37 align="right" alt="Visit our project page on SourceForge.net"></a> -<?}?> +<?} +include("release.php"); +?> <small><b>Latest version</b>: <a title="Download" -href="https://sourceforge.net/projects/ayttm/files/">0.6.0</a> +href="https://sourceforge.net/projects/ayttm/files/"><?printf($RELEASE);?></a> (<a title="Read about this release" -href="https://sourceforge.net/projects/ayttm/files/ayttm/0.6.0/release.txt/download">Release notes and Changelog</a>) +href="https://sourceforge.net/projects/ayttm/files/ayttm/<?printf($RELEASE)?>/release.txt/download">Release notes and Changelog</a>) <br> <b>Contact: </b><a title="Join our mailing list (subscribers only)" href="http://lists.sourceforge.net/lists/listinfo/ayttm-users">ayt...@li...</a>. Index: files.php =================================================================== RCS file: /cvsroot/ayttm/ayttm-html/files.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- files.php 11 Sep 2009 14:58:54 -0000 1.2 +++ files.php 3 Oct 2009 20:13:07 -0000 1.3 @@ -1,6 +1,7 @@ <?php $TITLE = "Download"; include("Header.php"); + include("release.php"); ?> <div> <!--p>Most files have signatures signed with Colin's pgp key. You can @@ -22,10 +23,10 @@ </p--> Latest stable release: -<a href="https://sourceforge.net/projects/ayttm/files/">0.6.0</a><br><br> -<a href="https://sourceforge.net/projects/ayttm/files/ayttm/0.6.0/ayttm_0.6.0-0.src.rpm/download">Source RPM Package</a><br> -<a href="https://sourceforge.net/projects/ayttm/files/ayttm/0.6.0/ayttm-0.6.0.tar.bz2/download">Source .bz2 tarball</a><br> -<a href="https://sourceforge.net/projects/ayttm/files/ayttm/0.6.0/ayttm-0.6.0.tar.gz/download">Source .gz tarball</a><br> +<a href="https://sourceforge.net/projects/ayttm/files/"><?=$RELEASE?></a><br><br> +<a href="https://sourceforge.net/projects/ayttm/files/ayttm/<?=$RELEASE?>/ayttm_<?=$RELEASE?>-0.src.rpm/download">Source RPM Package</a><br> +<a href="https://sourceforge.net/projects/ayttm/files/ayttm/<?=$RELEASE?>/ayttm-<?=$RELEASE?>.tar.bz2/download">Source .bz2 tarball</a><br> +<a href="https://sourceforge.net/projects/ayttm/files/ayttm/<?=$RELEASE?>/ayttm-<?=$RELEASE?>.tar.gz/download">Source .gz tarball</a><br> <p> Download <a href="https://sourceforge.net/projects/ayttm/files/ayttm-win32/Ayttm-0.4.6-pre8/ayttm-win32-0.4.6-pre8.zip/download">Ayttm for windows</a> |