svn: /web/php/trunk/include/ shared-manual.inc

From: Date: Sun, 26 Dec 2010 17:31:04 +0000
Subject: svn: /web/php/trunk/include/ shared-manual.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-9831@lists.php.net to get a copy of this message
bjori Sun, 26 Dec 2010 17:31:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306694 Log: - Fix wrong function call - Enable user notes Changed paths: U web/php/trunk/include/shared-manual.inc Modified: web/php/trunk/include/shared-manual.inc =================================================================== --- web/php/trunk/include/shared-manual.inc 2010-12-26 17:25:13 UTC (rev 306693) +++ web/php/trunk/include/shared-manual.inc 2010-12-26 17:31:04 UTC (rev 306694) @@ -161,7 +161,7 @@ function manual_footer() { if (myphpnet_beta()) { - return manual_header_beta(); + return manual_footer_beta(); } global $PGI; @@ -443,6 +443,13 @@ /* vim: set et ts=4 sw=4: */ function manual_setup_beta($setup) { + global $PGI, $MYSITE; + $PGI = $setup; + // Set base href for this manual page + $_SERVER['BASE_PAGE'] = 'manual/' . language_convert($setup['head'][1]) . "/" . $setup['this'][0]; + $_SERVER['BASE_HREF'] = $MYSITE . $_SERVER['BASE_PAGE']; + + $siblings = array(); foreach($setup["toc"] as $entry) { $siblings[] = array( @@ -476,6 +483,11 @@ function manual_header_beta(){} function manual_footer_beta() { + + echo "<br /><br />"; + manual_notes(); + echo "<br />"; + echo '</div>'; // layout-content site_footer(); }

« previous php.webmaster (#9831) next »