Revision: 4072
http://svn.sourceforge.net/winmerge/?rev=4072&view=rev
Author: gerundt
Date: 2007-01-21 11:13:58 -0800 (Sun, 21 Jan 2007)
Log Message:
-----------
PATCH: [ 1640934 ] Web: Centralize "This is an old version" info
Modified Paths:
--------------
trunk/Web/1.7/index.php
trunk/Web/2.0/index.php
trunk/Web/2.2/index.php
trunk/Web/2.4/index.php
trunk/Web/Changes.txt
trunk/Web/page.inc
Modified: trunk/Web/1.7/index.php
===================================================================
--- trunk/Web/1.7/index.php 2007-01-20 11:37:40 UTC (rev 4071)
+++ trunk/Web/1.7/index.php 2007-01-21 19:13:58 UTC (rev 4072)
@@ -4,7 +4,6 @@
$page = new Page;
$page->printHead('WinMerge 1.7', WINMERGE_1_7);
?>
-<p class="important">This is an old version of WinMerge, for the latest version go to the <a href="../index.php">main site</a>.</p>
<p>WinMerge is the result of my dissatisfaction with existing diff / merge tools available
on the web. They always seemed so lacking, and the one that ships with SourceSafe
doesn't work in standalone mode. So one day, I bit the bullet, grabbed a copy of the
Modified: trunk/Web/2.0/index.php
===================================================================
--- trunk/Web/2.0/index.php 2007-01-20 11:37:40 UTC (rev 4071)
+++ trunk/Web/2.0/index.php 2007-01-21 19:13:58 UTC (rev 4072)
@@ -4,7 +4,6 @@
$page = new Page;
$page->printHead('WinMerge 2.0', WINMERGE_2_0);
?>
-<p class="important">This is an old version of WinMerge, for the latest version go to the <a href="../index.php">main site</a>.</p>
<p>WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms. It is highly useful for determing what has changed between project versions, and then merging changes between versions.</p>
<h2>Features</h2>
<ul>
Modified: trunk/Web/2.2/index.php
===================================================================
--- trunk/Web/2.2/index.php 2007-01-20 11:37:40 UTC (rev 4071)
+++ trunk/Web/2.2/index.php 2007-01-21 19:13:58 UTC (rev 4072)
@@ -4,7 +4,6 @@
$page = new Page;
$page->printHead('WinMerge 2.2', WINMERGE_2_2);
?>
-<p class="important">This is an old version of WinMerge, for the latest version go to the <a href="../index.php">main site</a>.</p>
<p>WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms. It is highly useful for determing what has changed between project versions, and then merging changes between versions.</p>
<h2>Features</h2>
<ul>
Modified: trunk/Web/2.4/index.php
===================================================================
--- trunk/Web/2.4/index.php 2007-01-20 11:37:40 UTC (rev 4071)
+++ trunk/Web/2.4/index.php 2007-01-21 19:13:58 UTC (rev 4072)
@@ -4,7 +4,6 @@
$page = new Page;
$page->printHead('WinMerge 2.4', WINMERGE_2_4);
?>
-<p class="important">This is an old version of WinMerge, for the latest version go to the <a href="../index.php">main site</a>.</p>
<p>WinMerge is an Open Source visual text file differencing and merging tool for Win32 platforms. It is highly useful for determing what has changed between project versions, and then merging changes between versions.</p>
<h2>Features</h2>
<ul>
Modified: trunk/Web/Changes.txt
===================================================================
--- trunk/Web/Changes.txt 2007-01-20 11:37:40 UTC (rev 4071)
+++ trunk/Web/Changes.txt 2007-01-21 19:13:58 UTC (rev 4072)
@@ -1,3 +1,11 @@
+2007-01-21 Tim
+ PATCH: [ 1640934 ] Web: Centralize "This is an old version" info
+ Web: page.inc
+ Web\1.7: index.php
+ Web\2.0: index.php
+ Web\2.2: index.php
+ Web\2.4: index.php
+
2007-01-18 Tim
PATCH: [ 1638998 ] Web: Changes for new stable release 2.6.4
Web: downloads.php index.php page.inc WinMergePAD.xml
Modified: trunk/Web/page.inc
===================================================================
--- trunk/Web/page.inc 2007-01-20 11:37:40 UTC (rev 4071)
+++ trunk/Web/page.inc 2007-01-21 19:13:58 UTC (rev 4072)
@@ -107,6 +107,14 @@
$temp .= $this->getMenu();
$temp .= "</div>\n";
$temp .= "<div id=\"content\">\n";
+ switch ($this->_version) {
+ case WINMERGE_1_7: //if WinMerge 1.7 ...
+ case WINMERGE_2_0: //if WinMerge 2.0 ...
+ case WINMERGE_2_2: //if WinMerge 2.2 ...
+ case WINMERGE_2_4: //if WinMerge 2.4 ...
+ $temp .= "<p class=\"important\">This is an old version of WinMerge, for the latest version go to the <a href=\"/index.php\">main site</a>.</p>\n";
+ break;
+ }
print($temp);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|