svn: /web/php/trunk/include/ header.inc
| From: | Hannes Magnusson | Date: | Sun, 26 Dec 2010 17:21:28 +0000 |
| Subject: | svn: /web/php/trunk/include/ header.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9829@lists.php.net to get a copy of this message | ||
bjori Sun, 26 Dec 2010 17:21:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306692
Log:
Fix logic and kill 5.3 requirement
Changed paths:
U web/php/trunk/include/header.inc
Modified: web/php/trunk/include/header.inc
===================================================================
--- web/php/trunk/include/header.inc 2010-12-26 16:40:00 UTC (rev 306691)
+++ web/php/trunk/include/header.inc 2010-12-26 17:21:28 UTC (rev 306692)
@@ -48,14 +48,14 @@
<li>
<a href="/downloads.php" class="menu-link">Downloads</a>
</li>
- <li class="parent <?php echo $curr != "docs" ?:
"current"?>">
+ <li class="parent <?php echo $curr == "docs" ? "current" :
""?>">
<a href="/docs.php" class="menu-link">Documentation</a>
<div class="children"><div class="children-1"><div
class="children-2">
<?php echo doc_toc($lang); ?>
<br style="clear: both;" />
</div></div></div>
</li>
- <li class="parent <?php echo $curr != "community" ?:
"current"?>">
+ <li class="parent <?php echo $curr == "community" ? "current" :
""?>">
<a href="/community.php" class="menu-link">Community</a>
<div class="children"><div class="children-1"><div
class="children-2">
<dl style="width: 300px;">
@@ -91,7 +91,7 @@
<br style="clear: both;" />
</div></div></div>
</li>
- <li class="parent <?php echo $curr != "help" ?:
"current"?>">
+ <li class="parent <?php echo $curr == "help" ? "current" :
""?>">
<a href="/support.php" class="menu-link">Help</a>
<div class="children"><div class="children-1"><div
class="children-2">
<dl style="width: 250px;">