com web/php: Parent menu items are no longer links, remove boguf filename reference from the href: include/header.inc include/layout.inc
| From: | Paul Dragoonis | Date: | Sun, 02 Jan 2011 12:03:57 +0000 |
| Subject: | com web/php: Parent menu items are no longer links, remove boguf filename reference from the href: include/header.inc include/layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23670@lists.php.net to get a copy of this message | ||
Commit: 28b7268c621c30a260eb213c826688775ce3239a
Author: Hannes Magnusson <bjori@php.net> Sun, 2 Jan 2011 12:03:57 +0000
Parents: 40c1375ce238b2733756aed667e26668c2022bb9
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=28b7268c621c30a260eb213c826688775ce3239a
Log:
Parent menu items are no longer links, remove boguf filename reference from the
href
Changed paths:
M include/header.inc
M include/layout.inc
Diff:
diff --git a/include/header.inc b/include/header.inc
index c42b089..9074caf 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -72,15 +72,15 @@ if ($MYSITE == "http://www.php.net/") {
<a href="/downloads.php" class="menu-link">Downloads</a>
</li>
<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">
+ <a href="#docs" class="menu-link">Documentation</a>
+ <div class="children" id="docs"><div
class="children-1"><div class="children-2">
<?php doc_toc($lang); ?>
<br style="clear: both;" />
</div></div></div>
</li>
<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">
+ <a href="#community" class="menu-link">Community</a>
+ <div class="children" id="community"><div
class="children-1"><div class="children-2">
<?php news_toc(array('news')) ?>
<?php news_toc(array('conferences', 'papers')) ?>
<dl>
@@ -112,8 +112,8 @@ if ($MYSITE == "http://www.php.net/") {
</div></div></div>
</li>
<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">
+ <a href="#support" class="menu-link">Help</a>
+ <div class="children" id="support"><div
class="children-1"><div class="children-2">
<dl>
<dt><a href="#">Navigation tips</a></dt>
<dd><a href="/sidebars.php">Search sidebars</a></dd>
diff --git a/include/layout.inc b/include/layout.inc
index d5aae02..6979362 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -892,6 +892,7 @@ function doc_toc($lang) {
doc_toc_title($lang, $TOC, "faq", "li");
doc_toc_title($lang, $TOC, "appendices", "li");
echo "<li><a href='/quickref.php'>Quick function
reference</a></li>\n";
+ echo "<li><a
href='/docs.php'>Translations</a></li>\n";
echo "<li><a href='/download-docs.php'>Documentation
downloads</a></li>\n";
echo "</ul>\n";