For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2007 > cvs: phd /themes/php phpweb.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phd /themes/php phpweb.php
Hannes Magnusson

2007-08-25, 8:00 am

bjori Sat Aug 25 11:10:22 2007 UTC

Modified files:
/phd/themes/php phpweb.php
Log:
Add "parents" links to the TOC


http://cvs.php.net/viewvc.cgi/phd/t...1&diff_format=u
Index: phd/themes/php/phpweb.php
diff -u phd/themes/php/phpweb.php:1.10 phd/themes/php/phpweb.php:1.11
--- phd/themes/php/phpweb.php:1.10 Mon Aug 20 12:54:35 2007
+++ phd/themes/php/phpweb.php Sat Aug 25 11:10:21 2007
@@ -1,5 +1,5 @@
<?php
-/* $Id: phpweb.php,v 1.10 2007/08/20 12:54:35 bjori Exp $ */
+/* $Id: phpweb.php,v 1.11 2007/08/25 11:10:21 bjori Exp $ */

class phpweb extends phpdotnet implements PhDTheme {
protected $streams = array();
@@ -62,7 +62,7 @@
$parents = array();
$p = $parent;
while (($p = PhDHelper::getParent($p)) && $p != "ROOT") {
- $parents[] = array($p, PhDHelper::getDescription($p, true));
+ $parents[] = array($p.$ext, PhDHelper::getDescription($p, true));
}

$content = '<?php
@@ -93,9 +93,11 @@
return '<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
+$PARENTS = array();
'.$incl.'
$setup = '.$var.';
$setup["toc"] = $TOC;
+$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com