From 77db927501b6cd19d5e811eacb41ed7c4d7a070d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 2 Oct 2001 04:17:19 +0000 Subject: [PATCH] formatting --- phpgwapi/inc/class.resultbox.inc.php | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/phpgwapi/inc/class.resultbox.inc.php b/phpgwapi/inc/class.resultbox.inc.php index 0b7d30237b..c3e532bf0e 100644 --- a/phpgwapi/inc/class.resultbox.inc.php +++ b/phpgwapi/inc/class.resultbox.inc.php @@ -33,11 +33,11 @@ space for variables. In this circumstance it is not necessary. */ //constructor - function resultbox($title="", $primary="", $secondary="", $tertiary="") + function resultbox($title='', $primary='', $secondary='', $tertiary='') { $this->portalbox($title, $primary, $secondary, $tertiary); - $this->setvar("outerwidth",400); - $this->setvar("innerwidth",400); + $this->setvar('outerwidth',400); + $this->setvar('innerwidth',400); } /* @@ -46,15 +46,19 @@ */ function draw() { - echo ''; - echo ''; + echo '
'.$this->getvar("title").'
'; + echo ''; echo '
'.$this->getvar("title") . '
'; - echo ''; + echo '
'; for ($x = 0; $x < count($this->data); $x++) { echo ''; - echo ''; - echo ''; + echo ''; + echo ''; echo ''; } echo '
'.$this->data[$x][0].''.$this->data[$x][1].'' . $this->data[$x][0] . '' . $this->data[$x][1] . '
';