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.
|
space for variables. In this circumstance it is not necessary.
|
||||||
*/
|
*/
|
||||||
//constructor
|
//constructor
|
||||||
function resultbox($title="", $primary="", $secondary="", $tertiary="")
|
function resultbox($title='', $primary='', $secondary='', $tertiary='')
|
||||||
{
|
{
|
||||||
$this->portalbox($title, $primary, $secondary, $tertiary);
|
$this->portalbox($title, $primary, $secondary, $tertiary);
|
||||||
$this->setvar("outerwidth",400);
|
$this->setvar('outerwidth',400);
|
||||||
$this->setvar("innerwidth",400);
|
$this->setvar('innerwidth',400);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -46,10 +46,14 @@
|
|||||||
*/
|
*/
|
||||||
function draw()
|
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 '<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 align="center">'.$this->getvar("title") . '</td></tr>';
|
||||||
echo '<tr><td>';
|
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++)
|
for ($x = 0; $x < count($this->data); $x++)
|
||||||
{
|
{
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
|
Loading…
Reference in New Issue
Block a user