Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.5

Request #8859 BASE tag
Submitted: 2006-10-05 10:27 UTC
From: iwarner Assigned: iwarner
Status: Closed Package: HTML_Page2 (version 0.5.0beta)
PHP Version: 5.2.0 RC4 OS: Win XP
Roadmaps: (Not assigned)    
Subscription  


 [2006-10-05 10:27 UTC] iwarner (Ian Warner)
Description: ------------ http://phpfi.com/160448 Sorry I am not a competent user with DIF programs yet but will try and learn and send these next time instead of a modified file. but it is alll addtions - search on base to find changes, but listed below. /** * HTML page Base * * @var string * @access private * @since 2.0 */ var $_base = ''; // Generate the base tag. // Pre-XHTML compatibility: // This comes after meta tags because of possible // http-equiv character set declarations. $strHtml .= $tab . '<base href="' . $this->getBase() . '" />' . $lnEnd; /** * Return the title of the page. * * @return string * @access public */ function getBase() { return $this->_base; } // end func getBase /** * Sets the base of the page * * <p>Usage:</p> * * <code> * $page->setBase('My URL'); * </code> * * @param string $base * @access public * @return void */ function setBase($base) { $this->_base = $base; } // end func setTitle Expected result: ---------------- Adds BASE tag to header in HTML Actual result: -------------- Works

Comments

 [2006-11-01 01:43 UTC] iwarner at php dot net (Ian Warner)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2006-11-01 03:22 UTC] iwarner at php dot net (Ian Warner)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.