mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
This is skeeter's attempt at making eldaptir and bookmarks work with the API menutree.
This commit is contained in:
parent
06fc371ea4
commit
e21101da21
@ -28,6 +28,7 @@ class menutree {
|
||||
|
||||
var $read_from_file; // You can send the tree info from a string or file
|
||||
var $root_level_value; // This is what the top level name or image will be
|
||||
var $last_column_size;
|
||||
|
||||
function menutree($read_from_file='T')
|
||||
{
|
||||
@ -299,14 +300,14 @@ var $root_level_value; // This is what the top level name or image will b
|
||||
if($cnt==0)
|
||||
{
|
||||
// $str = '<table cellspacing="0" cellpadding="0" border="0" cols="'.($maxlevel+3).'" width="'.($maxlevel*16+100).'">'."\n";
|
||||
$str = '<table cellspacing="0" cellpadding="0" border="0" cols="'.($maxlevel+3).'" width="'.($maxlevel*16+300).'">'."\n";
|
||||
$str = '<table cellspacing="0" cellpadding="0" border="0" cols="'.($maxlevel+3).'" width="'.($maxlevel * 16 + $this->last_column_size).'">'."\n";
|
||||
$str .= '<a href="' . $phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/index.php',$params) . '" target="_parent">' . $this->root_level_value . '</a>';
|
||||
$str .= "\n".'<tr>';
|
||||
for ($k=0; $k<$maxlevel; $k++)
|
||||
{
|
||||
$str .= '<td width=16></td>';
|
||||
}
|
||||
$str .= '<td width=300></td></tr>'."\n";
|
||||
$str .= '<td width='.$this->last_column_size.'></td></tr>'."\n";
|
||||
}
|
||||
|
||||
/****************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user