cvs: pearweb /include pear-format-html.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Mon, 26 Apr 2004 19:06:47 +0000 |
| Subject: | cvs: pearweb /include pear-format-html.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18773@lists.php.net to get a copy of this message | ||
dufuz Mon Apr 26 15:06:47 2004 EDT
Modified files:
/pearweb/include pear-format-html.php
Log:
just CS change really :) function foo() { changed to function foo()
{
http://cvs.php.net/diff.php/pearweb/include/pear-format-html.php?r1=1.93&r2=1.94&ty=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.93 pearweb/include/pear-format-html.php:1.94
--- pearweb/include/pear-format-html.php:1.93 Sun Apr 25 15:45:56 2004
+++ pearweb/include/pear-format-html.php Mon Apr 26 15:06:47 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.93 2004/04/25 19:45:56 toby Exp $
+ $Id: pear-format-html.php,v 1.94 2004/04/26 19:06:47 dufuz Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -352,16 +352,18 @@
class BorderBox {
function BorderBox($title, $width = '90%', $indent = '', $cols = 1,
- $open = false) {
- $this->title = $title;
- $this->width = $width;
+ $open = false)
+ {
+ $this->title = $title;
+ $this->width = $width;
$this->indent = $indent;
- $this->cols = $cols;
- $this->open = $open;
+ $this->cols = $cols;
+ $this->open = $open;
$this->start();
}
- function start() {
+ function start()
+ {
$title = $this->title;
if (is_array($title)) {
$title = implode('</th><th>', $title);
@@ -385,7 +387,8 @@
}
}
- function end() {
+ function end()
+ {
$i = $this->indent;
if (!$this->open) {
print "$i </td>\n";
@@ -398,7 +401,8 @@
print "<!-- border box ends -->\n";
}
- function horizHeadRow($heading /* ... */) {
+ function horizHeadRow($heading /* ... */)
+ {
$i = $this->indent;
print "$i <tr>\n";
print "$i <th style=\"vertical-align: top; background-color:
#CCCCCC;\">$heading</th>\n";
@@ -416,7 +420,8 @@
}
- function headRow() {
+ function headRow()
+ {
$i = $this->indent;
print "$i <tr>\n";
for ($j = 0; $j < $this->cols; $j++) {
@@ -432,7 +437,8 @@
print "$i </tr>\n";
}
- function plainRow(/* ... */) {
+ function plainRow(/* ... */)
+ {
$i = $this->indent;
print "$i <tr>\n";
for ($j = 0; $j < $this->cols; $j++) {
@@ -448,7 +454,8 @@
print "$i </tr>\n";
}
- function fullRow($text) {
+ function fullRow($text)
+ {
$i = $this->indent;
print "$i <tr>\n";
print "$i <td style=\"background-color: #E8E8E8;\"";