[Analogue-commits] r114 - in www: . include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Apr 25 13:01:30 CEST 2009
Author: gsimpson
Date: 2009-04-25 13:01:30 +0200 (Sat, 25 Apr 2009)
New Revision: 114
Modified:
www/devel.php
www/documentation.php
www/downloads.php
www/include/menu.inc
www/index.php
www/news.php
www/support.php
Log:
fix the menu current status
Modified: www/devel.php
===================================================================
--- www/devel.php 2009-04-25 10:48:11 UTC (rev 113)
+++ www/devel.php 2009-04-25 11:01:30 UTC (rev 114)
@@ -4,6 +4,7 @@
$TITLE = "analogue — Get involved and help improve analogue";
$AUTHOR = "Gavin L. Simpson";
$KEYWORDS = "analogue, R, modern analogue technique, analogue matching, transfer functions, palaeoecology, palaeolimnology";
+ $current = "development";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: www/documentation.php
===================================================================
--- www/documentation.php 2009-04-25 10:48:11 UTC (rev 113)
+++ www/documentation.php 2009-04-25 11:01:30 UTC (rev 114)
@@ -4,6 +4,7 @@
$TITLE = "analogue — Documentation";
$AUTHOR = "Gavin L. Simpson";
$KEYWORDS = "analogue, R, modern analogue technique, analogue matching, transfer functions, palaeoecology, palaeolimnology";
+ $current = "documentation";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: www/downloads.php
===================================================================
--- www/downloads.php 2009-04-25 10:48:11 UTC (rev 113)
+++ www/downloads.php 2009-04-25 11:01:30 UTC (rev 114)
@@ -4,6 +4,7 @@
$TITLE = "analogue — download and install the package";
$AUTHOR = "Gavin L. Simpson";
$KEYWORDS = "analogue, R, modern analogue technique, analogue matching, transfer functions, palaeoecology, palaeolimnology";
+ $current = "downloads";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: www/include/menu.inc
===================================================================
--- www/include/menu.inc 2009-04-25 10:48:11 UTC (rev 113)
+++ www/include/menu.inc 2009-04-25 11:01:30 UTC (rev 114)
@@ -2,12 +2,12 @@
echo "
<div id=\"menu\">
<ul>
- <li id=\"current\"><a href=\"index.php\">Home</a></li>
- <li><a href=\"news.php\">Project News</a></li>
- <li><a href=\"downloads.php\">Downloads</a></li>
- <li><a href=\"documentation.php\">Documentation</a></li>
- <li><a href=\"devel.php\">Development</a></li>
- <li><a href=\"support.php\">Support</a></li>
+ <li" . $current == "home" ? "id=\"current\"" : "" . "><a href=\"index.php\">Home</a></li>
+ <li" . $current == "news" ? "id=\"current\"" : "" . "><a href=\"news.php\">Project News</a></li>
+ <li" . $current == "downloads" ? "id=\"current\"" : "" . "><a href=\"downloads.php\">Downloads</a></li>
+ <li" . $current == "documentation" ? "id=\"current\"" : "" . "><a href=\"documentation.php\">Documentation</a></li>
+ <li" . $current == "development" ? "id=\"current\"" : "" . "><a href=\"devel.php\">Development</a></li>
+ <li" . $current == "support" ? "id=\"current\"" : "" . "><a href=\"support.php\">Support</a></li>
</ul>
</div>
";
Modified: www/index.php
===================================================================
--- www/index.php 2009-04-25 10:48:11 UTC (rev 113)
+++ www/index.php 2009-04-25 11:01:30 UTC (rev 114)
@@ -4,6 +4,7 @@
$TITLE = "analogue — an R package for quantitative palaeoecology";
$AUTHOR = "Gavin L. Simpson";
$KEYWORDS = "analogue, R, modern analogue technique, analogue matching, transfer functions, palaeoecology, palaeolimnology";
+ $current = "home";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: www/news.php
===================================================================
--- www/news.php 2009-04-25 10:48:11 UTC (rev 113)
+++ www/news.php 2009-04-25 11:01:30 UTC (rev 114)
@@ -4,6 +4,7 @@
$TITLE = "analogue — Project News";
$AUTHOR = "Gavin L. Simpson";
$KEYWORDS = "analogue, R, modern analogue technique, analogue matching, transfer functions, palaeoecology, palaeolimnology";
+ $current = "news";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Modified: www/support.php
===================================================================
--- www/support.php 2009-04-25 10:48:11 UTC (rev 113)
+++ www/support.php 2009-04-25 11:01:30 UTC (rev 114)
@@ -4,6 +4,7 @@
$TITLE = "analogue — Support Details";
$AUTHOR = "Gavin L. Simpson";
$KEYWORDS = "analogue, R, modern analogue technique, analogue matching, transfer functions, palaeoecology, palaeolimnology";
+ $current = "support";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
More information about the Analogue-commits
mailing list