[geeklog-hg] geeklog: Custom _createHTMLDocument function now passes correct ...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Thu Dec 20 17:58:19 EST 2012
changeset 8880:7087f2654989
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/7087f2654989
user: Tom <websitemaster at cogeco.net>
date: Thu Dec 20 17:47:02 2012 -0500
description:
Custom _createHTMLDocument function now passes correct variables (bug #0001531)
diffstat:
public_html/lib-common.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 57b84b53fa79 -r 7087f2654989 public_html/lib-common.php
--- a/public_html/lib-common.php Sat Nov 24 09:10:30 2012 -0500
+++ b/public_html/lib-common.php Thu Dec 20 17:47:02 2012 -0500
@@ -1587,7 +1587,7 @@
* @param array $information An array defining variables to be used when creating the output
* string 'what' If 'none' then no left blocks are returned, if 'menu' (default) then right blocks are returned
* string 'pagetitle' Optional content for the page's <title>
-* string 'breadcrumbs' Optional content for the page's <title>
+* string 'breadcrumbs' Optional content for the page's breadcrumb
* string 'headercode' Optional code to go into the page's <head>
* boolean 'rightblock' Whether or not to show blocks on right hand side default is no (-1)
* array 'custom' An array defining custom function to be used to format Rightblocks
@@ -1643,7 +1643,7 @@
$function = $_CONF['theme'] . '_createHTMLDocument';
if( function_exists($function)) {
- return $function( $content, $what, $pagetitle, $headercode, $rightblock, $custom );
+ return $function(&$content, $information);
}
// If we reach here then either we have the default theme OR
More information about the geeklog-cvs
mailing list