update portal plus tpl

This commit is contained in:
ceb
2002-10-06 16:18:03 +00:00
parent bfd5f43148
commit afa2d68758
3 changed files with 31 additions and 17 deletions

View File

@ -43,10 +43,6 @@
*/
function listbox($param)
{
$this->setvar('outerwidth',300);
$this->setvar('innerwidth',300);
$this->setvar('width',300);
@reset($param);
while(list($key,$value) = each($param))
{
@ -57,7 +53,25 @@
}
}
$this->portalbox($param['title']);
//$this->start_template();
if($param['app_id'])
{
$app_id = $this->getvar('app_id');
$var = Array
(
'up' => Array('url' => '/set_box.php', 'app' => $app_id),
'down' => Array('url' => '/set_box.php', 'app' => $app_id),
'close' => Array('url' => '/set_box.php', 'app' => $app_id),
'question' => Array('url' => '/set_box.php', 'app' => $app_id),
'edit' => Array('url' => '/set_box.php', 'app' => $app_id)
);
while(list($key,$value) = each($var))
{
$this->set_controls($key,$value);
}
}
}
/*