forked from extern/egroupware
formatting
This commit is contained in:
parent
b7b205a2fa
commit
77db927501
@ -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 '<table border="'.$this->getvar("outerborderwidth").'" cellpadding="0" cellspacing="0" width="'.$this->getvar("outerwidth").'" bordercolor="'.$this->getvar("outerbordercolor").'" bgcolor="'.$this->getvar("titlebgcolor").'">';
|
||||
echo '<tr><td align="center">'.$this->getvar("title").'</td></tr>';
|
||||
echo '<table border="'.$this->getvar('outerborderwidth')
|
||||
. '" cellpadding="0" cellspacing="0" width="' . $this->getvar('outerwidth')
|
||||
. '" bordercolor="' . $this->getvar('outerbordercolor')
|
||||
. '" bgcolor="' . $this->getvar('titlebgcolor') . '">';
|
||||
echo '<tr><td align="center">'.$this->getvar("title") . '</td></tr>';
|
||||
echo '<tr><td>';
|
||||
echo '<table border="0" cellpadding="0" cellspacing="0" width="'.$this->getvar("innerwidth").'" bgcolor="'.$this->getvar("innerbgcolor").'">';
|
||||
echo '<table border="0" cellpadding="0" cellspacing="0" width="'.$this->getvar('innerwidth')
|
||||
. '" bgcolor="' . $this->getvar('innerbgcolor') . '">';
|
||||
for ($x = 0; $x < count($this->data); $x++)
|
||||
{
|
||||
echo '<tr>';
|
||||
echo '<td width="50%">'.$this->data[$x][0].'</td>';
|
||||
echo '<td width="50%">'.$this->data[$x][1].'</td>';
|
||||
echo '<td width="50%">' . $this->data[$x][0] . '</td>';
|
||||
echo '<td width="50%">' . $this->data[$x][1] . '</td>';
|
||||
echo '</tr>';
|
||||
}
|
||||
echo '</table>';
|
||||
|
Loading…
Reference in New Issue
Block a user