svn: /web/php/trunk/include/ layout.inc
| From: | Stewart Lord | Date: | Fri, 12 Aug 2011 05:52:24 +0000 |
| Subject: | svn: /web/php/trunk/include/ layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-11897@lists.php.net to get a copy of this message | ||
stewartlord Fri, 12 Aug 2011 05:52:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=314807
Log:
Fixed styling of the documentation mega-drop-down menu. Modified the fourth
column under documentation to use dl/dt/dd markup to be consistent with the
rest of the menu. Gave the last column a heading of 'Miscellaneous'.
Alternatively, we could consider a less formal heading such as: 'Odds & Ends'.
Couldn't help but notice that the 'Installation and Configuration' chapter
looks out of place. At a glance, it would fit better under the 'Getting
Started' section.
Changed paths:
U web/php/trunk/include/layout.inc
Modified: web/php/trunk/include/layout.inc
===================================================================
--- web/php/trunk/include/layout.inc 2011-08-12 01:28:38 UTC (rev 314806)
+++ web/php/trunk/include/layout.inc 2011-08-12 05:52:24 UTC (rev 314807)
@@ -903,15 +903,16 @@
doc_toc_list($lang, $TOC, "funcref");
echo "</dl>\n";
- echo "<ul>";
- doc_toc_title($lang, $TOC, "install", "li");
- doc_toc_title($lang, $TOC, "internals2", "li");
- 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";
+ echo "<dl>\n";
+ echo "<dt>Miscellaneous</dt>";
+ doc_toc_title($lang, $TOC, "install", "dd");
+ doc_toc_title($lang, $TOC, "internals2", "dd");
+ doc_toc_title($lang, $TOC, "faq", "dd");
+ doc_toc_title($lang, $TOC, "appendices", "dd");
+ echo "<dd><a href='/quickref.php'>Quick Function
Reference</a></dd>\n";
+ echo "<dd><a
href='/docs.php'>Translations</a></dd>\n";
+ echo "<dd><a href='/download-docs.php'>Documentation
Downloads</a></dd>\n";
+ echo "</dl>\n";
}
function doc_toc_list($lang, $index, $file) {