Upps portalbox in home also used phpgw_info based themes

This commit is contained in:
Ralf Becker 2006-12-17 11:45:09 +00:00
parent ddccca1c55
commit 347f0c5649
2 changed files with 4 additions and 10 deletions

View File

@ -72,6 +72,7 @@
if ($var=='' || !isset($this->$var))
{
echo 'Programming Error: '.$this->getvar('classname').'->getvar('.$var.')!<br>'."\n";
echo function_backtrace(1);
$GLOBALS['phpgw']->common->phpgw_exit();
}
//echo "Var = ".$var."<br>\n";
@ -109,14 +110,9 @@
$this->p->set_block('PORTAL','link_field','link_field');
$var = Array(
'outer_border' => $this->getvar('outerborderwidth'),
'outer_width' => $this->getvar('width'),
'outer_bordercolor' => $this->getvar('outerbordercolor'),
'outer_bgcolor' => $this->getvar('titlebgcolor'),
'title' => $this->getvar('title'),
'inner_width' => $this->getvar('width'),
'inner_bgcolor' => $this->getvar('innerbgcolor'),
'header_background_image' => $this->getvar('header_background_image'),
'control_link' => ''
);
$this->p->set_var($var);

View File

@ -1,21 +1,19 @@
<!-- BEGIN portal_box -->
<p>
<div style="border: #9c9c9c 1px solid;">
<div class="portal_box">
<table border="0" cellpadding="0" cellspacing="0" width="{outer_width}">
<tr nowrap align="center">
<td align="left">
<div class="divSideboxHeader" style="height: 15px; padding-top: 0px">
<table border="0" cellpadding="1" cellspacing="0" width="{outer_width}">
<table class="portal_box_header" border="0" cellpadding="1" cellspacing="0">
<tr>
<td align="left">&nbsp;<strong>{title}</strong></td>{portal_controls}
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<table border="0" cellpadding="0" cellspacing="0" width="{inner_width}" bgcolor="#eeeeee">
<table border="0" cellpadding="0" cellspacing="0">
{row}
</table>
</td>