Revision: 4272
http://svn.sourceforge.net/winmerge/?rev=4272&view=rev
Author: gerundt
Date: 2007-05-10 13:39:33 -0700 (Thu, 10 May 2007)
Log Message:
-----------
PATCH: [ 1714596 ] Web: Rename "Users" tab to "Home"
Modified Paths:
--------------
trunk/Web/Changes.txt
trunk/Web/WinMergePAD.php
trunk/Web/downloads.php
trunk/Web/index.php
trunk/Web/links.php
trunk/Web/page.inc
Modified: trunk/Web/Changes.txt
===================================================================
--- trunk/Web/Changes.txt 2007-05-07 20:17:39 UTC (rev 4271)
+++ trunk/Web/Changes.txt 2007-05-10 20:39:33 UTC (rev 4272)
@@ -1,3 +1,7 @@
+2007-05-10 Tim
+ PATCH: [ 1714596 ] Web: Rename "Users" tab to "Home"
+ Web: downloads.php index.php links.php page.inc WinMergePAD.php
+
2007-05-07 Tim
Rename function setVersion() to setTab().
Web: page.inc
Modified: trunk/Web/WinMergePAD.php
===================================================================
--- trunk/Web/WinMergePAD.php 2007-05-07 20:17:39 UTC (rev 4271)
+++ trunk/Web/WinMergePAD.php 2007-05-10 20:39:33 UTC (rev 4272)
@@ -2,7 +2,7 @@
include('page.inc');
$page = new Page;
- $page->printHead('WinMerge: PAD file', WINMERGE_USR);
+ $page->printHead('WinMerge: PAD file', TAB_HOME);
?>
<h2>PAD file</h2>
<p>The easiest way to get informations about the latest stable version from WinMerge for your web site is the <a href="http://www.asp-shareware.org/pad/">Portable Application Description</a> file, which you find here:</p>
Modified: trunk/Web/downloads.php
===================================================================
--- trunk/Web/downloads.php 2007-05-07 20:17:39 UTC (rev 4271)
+++ trunk/Web/downloads.php 2007-05-10 20:39:33 UTC (rev 4272)
@@ -2,7 +2,7 @@
include('page.inc');
$page = new Page;
- $page->printHead('WinMerge: Downloads', WINMERGE_USR);
+ $page->printHead('WinMerge: Downloads', TAB_HOME);
?>
<h2>Downloads</h2>
<h3><a href="http://sourceforge.net/project/showfiles.php?group_id=13216&package_id=11248&release_id=497312">WinMerge 2.6.6</a></h3>
Modified: trunk/Web/index.php
===================================================================
--- trunk/Web/index.php 2007-05-07 20:17:39 UTC (rev 4271)
+++ trunk/Web/index.php 2007-05-10 20:39:33 UTC (rev 4272)
@@ -2,7 +2,7 @@
include('page.inc');
$page = new Page;
- $page->printHead('WinMerge', WINMERGE_USR);
+ $page->printHead('WinMerge', TAB_HOME);
?>
<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>
Modified: trunk/Web/links.php
===================================================================
--- trunk/Web/links.php 2007-05-07 20:17:39 UTC (rev 4271)
+++ trunk/Web/links.php 2007-05-10 20:39:33 UTC (rev 4272)
@@ -2,7 +2,7 @@
include('page.inc');
$page = new Page;
- $page->printHead('WinMerge: Links', WINMERGE_USR);
+ $page->printHead('WinMerge: Links', TAB_HOME);
?>
<h2>Links</h2>
<p>Here is a collection of links to tools and reference material that we find is generally useful when you work with WinMerge.</p>
Modified: trunk/Web/page.inc
===================================================================
--- trunk/Web/page.inc 2007-05-07 20:17:39 UTC (rev 4271)
+++ trunk/Web/page.inc 2007-05-10 20:39:33 UTC (rev 4272)
@@ -9,7 +9,7 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
- define ('WINMERGE_USR', 'usr');
+ define ('TAB_HOME', 'home');
define ('WINMERGE_1_7', '1.7');
define ('WINMERGE_2_0', '2.0');
define ('WINMERGE_2_2', '2.2');
@@ -133,11 +133,11 @@
*/
function getTabs() {
$temp = "<ul>\n";
- if ($this->_tab == WINMERGE_USR) { //if "Users" ...
- $temp .= " <li class=\"selected\"><a href=\"/index.php\">Users</a></li>\n";
+ if ($this->_tab == TAB_HOME) { //if "Home" ...
+ $temp .= " <li class=\"selected\"><a href=\"/index.php\">Home</a></li>\n";
}
- else { //if NOT "Users" ...
- $temp .= " <li><a href=\"/index.php\">Users</a></li>\n";
+ else { //if NOT "Home" ...
+ $temp .= " <li><a href=\"/index.php\">Home</a></li>\n";
}
if ($this->_tab == WINMERGE_2_6) { //if WinMerge 2.6 ...
$temp .= " <li class=\"selected\"><a href=\"/2.6/index.php\">2.6</a></li>\n";
@@ -271,7 +271,7 @@
$temp .= "</ul>\n";
break;
case WINMERGE_2_6: //if WinMerge 2.6 ...
- case WINMERGE_USR: //OR if "Users" ...
+ case TAB_HOME: //OR if "Home" ...
$temp .= "<h2><a href=\"/2.6/index.php\">WinMerge 2.6</a></h2>\n";
$temp .= "<ul>\n";
$temp .= " <li><a href=\"/2.6/manual/index.html\">Manual</a></li>\n";
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|