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

Bug #14764 html output is ugly
Submitted: 2008-10-08 23:25 UTC
From: kguest Assigned: kguest
Status: Closed Package: PEAR_Size (version 0.1.8)
PHP Version: 5.2.4 OS:
Roadmaps: 0.1.9    
Subscription  


 [2008-10-08 23:25 UTC] kguest (Ken Guest)
Description: ------------ unmodified the html displayed is not the prettiest - need some class/id values to be able to hook in some CSS and make it more presentable Expected result: ---------------- something that can help make the report[s] look good when output is in HTML format.

Comments

 [2008-10-08 23:30 UTC] kguest (Ken Guest)
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. fixed in: Size/Size.php Size/Size_Factory.php Size/Size_Output_html.php Size/Size_Output_text.php the following now looks "presentable": <html> <head> <style type="text/css" media="screen" title="Default"> <!-- div.pear-size { color: black; } div.channel-name { font-weight: bold; font-size: larger; } div.message { font-size: smaller; } table.pear-size { border: thin solid black; width:1000; } td.first { color:black; background-color:#eee; } td.second { color:black; background-color:#ccc; } --> </style> </head> <?php include 'PEAR/Size.php'; $pearsize = new PEAR_Size(); $pearsize->setOutputDriver('html'); $pearsize->setAllChannels(); $pearsize->setVerbose(); $pearsize->setDontDisplayZeroValues(true); $pearsize->analyse(); $pearsize->generateReport(); ?> </html>