Changes to pear-format-html.php

From: Date: Thu, 02 Dec 2004 18:55:23 +0000
Subject: Changes to pear-format-html.php
Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-3501@lists.php.net to get a copy of this message
Hi all! While implementing trackbacks, I had to add a new optional parameter to the resonse_header() function. Just wanted to check with you, that all is fine with that. Please review: cvs diff -u pear-format-html.php Index: pear-format-html.php =================================================================== RCS file: /repository/pearweb/include/pear-format-html.php,v retrieving revision 1.156 diff -u -r1.156 pear-format-html.php
--- pear-format-html.php        23 Nov 2004 01:21:27 -0000      1.156
+++ pear-format-html.php        2 Dec 2004 18:51:06 -0000
@@ -85,7 +85,7 @@ * @param string $style * @return void */ -function response_header($title = 'The PHP Extension and Application Repository', $style = false) +function response_header($title = 'The PHP Extension and Application Repository', $style = false, $extraHead = '') {
     global $_style, $_header_done, $SIDEBAR_DATA, $encoding, $extra_styles;
@@ -129,6 +129,9 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> +<?php +echo $extraHead; +?> Thx! Toby -- Tobias Schlitt GPG Key: 0xA6529579 a passion for php http://www.schlitt.info Like to say "thank you"? - http://pear.php.net/wishlist.php/toby

« previous php.pear.webmaster (#3501) next »