mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
New manual layouts
This commit is contained in:
parent
b5453e9b73
commit
5af7116030
60
addressbook/help/addressbook.php
Executable file
60
addressbook/help/addressbook.php
Executable file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - User manual *
|
||||
* http://www.phpgroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_info["flags"] = array("currentapp" => "manual", "enable_utilities_class" => True);
|
||||
include("../../header.inc.php");
|
||||
?>
|
||||
<img src="<?php echo $phpgw->common->image('addressbook','navbar.gif'); ?>" border=0>
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
<p>
|
||||
A searchable address book for keeping contact information of business
|
||||
associates or friends and family.
|
||||
<ul>
|
||||
<li><b>Add:</b>
|
||||
<br> Click on the add button, a form page will be presented with the following fields:
|
||||
<table width="80%">
|
||||
<td bgcolor="#ccddeb" width=50% valign="top">
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
Last name:
|
||||
<br>E-mail:
|
||||
<br>Home phone:
|
||||
<br>Work phone:
|
||||
<br>Mobile:
|
||||
<br>Street:
|
||||
<br>City:
|
||||
<br>State:
|
||||
<br>ZIP code:
|
||||
<br>Access:
|
||||
<br>Group settings:
|
||||
<br>Notes:
|
||||
</td>
|
||||
<td bgcolor="#ccddeb" width="50%" valign="top">
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
First name:
|
||||
<br>Company name:
|
||||
<br>Fax:
|
||||
<br>Pager:
|
||||
<br>Other number:
|
||||
<br>Birthday:
|
||||
</td>
|
||||
</table>
|
||||
Simply fill in the fields, and click OK.
|
||||
<p>
|
||||
</ul>
|
||||
Access can be restricted to, private, group readable (that is the members of the
|
||||
same groups as you are in, will be able to see the too, and globally readable, all
|
||||
users to the system will be able to see the entry.
|
||||
<p>
|
||||
Users can only edit their own entries, regardless of readability settings.
|
||||
<?php $phpgw->common->phpgw_footer(); ?>
|
||||
|
21
addressbook/inc/hook_manual.inc.php
Executable file
21
addressbook/inc/hook_manual.inc.php
Executable file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - Calendar Holidays *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Mark Peters <skeeter@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
$treemenu .= '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n";
|
||||
// Modify the $treemenu variables from here down.....
|
||||
?>
|
24
admin/inc/hook_manual.inc.php
Executable file
24
admin/inc/hook_manual.inc.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - Calendar Holidays *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Mark Peters <skeeter@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
$treemenu .= '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n";
|
||||
// Modify the $treemenu variables from here down.....
|
||||
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Account Management</font>|'.$phpgw->link('/'.$appname.'/help/account.php')."\n";
|
||||
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Session Management</font>|'.$phpgw->link('/'.$appname.'/help/session.php')."\n";
|
||||
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Other</font>|'.$phpgw->link('/'.$appname.'/help/other.php')."\n";
|
||||
?>
|
56
calendar/help/add.php
Executable file
56
calendar/help/add.php
Executable file
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - User manual *
|
||||
* http://www.phpgroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
$phpgw_flags = Array(
|
||||
'currentapp' => 'manual',
|
||||
'enable_utilities_class' => True
|
||||
);
|
||||
$phpgw_info['flags'] = $phpgw_flags;
|
||||
include('../../header.inc.php');
|
||||
?>
|
||||
<img src="<?php echo $phpgw->common->image('calendar','navbar.gif'); ?>" border=0>
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
<p>
|
||||
A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
|
||||
<br>
|
||||
<ul>
|
||||
<p>
|
||||
<li><b>Adding an entry:</b> <img src="<?php echo $phpgw->common->image('calendar','new.gif'); ?>">
|
||||
<br>To add a new entry for yourself other members of your group click on the small icon as shown above.
|
||||
A form page will be presented, where you can input the relevant fields.
|
||||
<p>
|
||||
<table width="80%">
|
||||
<td bgcolor="#ccddeb" width=50% valign="top">
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
Brief Description:
|
||||
<br>Full Description:
|
||||
<br>Date:
|
||||
<br>Time:
|
||||
<br>Duration:
|
||||
<br>Priority:
|
||||
<br>Acccess:
|
||||
</td>
|
||||
<td bgcolor="#ccddeb" width="50%" valign="top">
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
Group selection:
|
||||
<br>Participants;
|
||||
<br>Repeat type:
|
||||
<br>Repeat end date:
|
||||
<br>Frequency:
|
||||
</td>
|
||||
</table>
|
||||
Simply fill in the fields, and click Submit.
|
||||
</ul>
|
||||
<br><b>Note:</b> Access can be set as with other applications in this suite, Private,Group Readable,Globally
|
||||
Readable.
|
||||
<p>
|
||||
<?php $phpgw->common->phpgw_footer(); ?>
|
76
calendar/help/calendar.php
Executable file
76
calendar/help/calendar.php
Executable file
@ -0,0 +1,76 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - User manual *
|
||||
* http://www.phpgroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = Array(
|
||||
'currentapp' => 'manual',
|
||||
'enable_utilities_class' => True
|
||||
);
|
||||
$phpgw_info['flags'] = $phpgw_flags;
|
||||
include('../../header.inc.php');
|
||||
?>
|
||||
<img src="<?php echo $phpgw->common->image('calendar','navbar.gif'); ?>" border=0>
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
<p>
|
||||
A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
|
||||
<br> For viewing in either hourly/day,current week or monthly option, click on the relevant
|
||||
icons at the top left hand corner.
|
||||
<br>
|
||||
<ul>
|
||||
<li><b>Viewing:</b><img src="<?php echo $phpgw->common->image('calendar','today.gif'); ?>">Day <img src="<?php echo $phpgw->common->image('calendar','week.gif'); ?>">Week <img src="<?php echo $phpgw->common->image('calendar','month.gif'); ?>">Month <img src="<?php echo $phpgw->common->image('calendar','year.gif'); ?>">Year
|
||||
<br><i>Day:</i>
|
||||
<br>Current day is displayed, broken down in hour slots. Start and end time of the day
|
||||
can be set in the preferences.
|
||||
<br><i>Week:</i>
|
||||
<br>Current week is displayed. Start day of week can be set in preferences.
|
||||
<br><i>Month:</i>
|
||||
<br>Default entry is to the current month, viewed in monthly option, with both prior and future
|
||||
months easily accessible with one click.
|
||||
<br><i>Year:</i>
|
||||
<br>Current year is displayed. This displays the current year using the small calendar month
|
||||
views.
|
||||
<p>
|
||||
<li><b>Adding an entry:</b> <img src="<?php echo $phpgw->common->image('calendar','new.gif'); ?>">
|
||||
<br>To add a new entry for yourself other members of your group click on the small icon as shown above.
|
||||
A form page will be presented, where you can input the relevant fields.
|
||||
<table width="80%">
|
||||
<td bgcolor="#ccddeb" width=50% valign="top">
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
Brief Description:
|
||||
<br>Full Description:
|
||||
<br>Date:
|
||||
<br>Time:
|
||||
<br>Duration:
|
||||
<br>Priority:
|
||||
<br>Acccess:
|
||||
</td>
|
||||
<td bgcolor="#ccddeb" width="50%" valign="top">
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
Group selection:
|
||||
<br>Participants;
|
||||
<br>Repeat type:
|
||||
<br>Repeat end date:
|
||||
<br>Frequency:
|
||||
</td>
|
||||
</table>
|
||||
Simply fill in the fields, and click Submit.
|
||||
<br><b>Note:</b> Access can be set as with other applications in this suite, Private,Group Readable,Globally
|
||||
Readable.
|
||||
<p>
|
||||
<li><b>Edit:Delete</b>  <img src="<?php echo $phpgw->common->image('calendar','circle.gif'); ?>">
|
||||
<br>To edit an entry group click on the small icon as shown above.
|
||||
A form page will be presented, where you can edit the relevant fields.
|
||||
Chose edit or delete from the bottom of the page.
|
||||
<br><b>Note:</b>You can only make changes or delete those calendar entries created by you.
|
||||
<p>
|
||||
</ul>
|
||||
<?php $phpgw->common->phpgw_footer(); ?>
|
35
calendar/help/edit_delete.php
Executable file
35
calendar/help/edit_delete.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - User manual *
|
||||
* http://www.phpgroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = Array(
|
||||
'currentapp' => 'manual',
|
||||
'enable_utilities_class' => True
|
||||
);
|
||||
$phpgw_info['flags'] = $phpgw_flags;
|
||||
include('../../header.inc.php');
|
||||
?>
|
||||
<img src="<?php echo $phpgw->common->image('calendar','navbar.gif'); ?>" border=0>
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
<p>
|
||||
A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
|
||||
<br>
|
||||
<ul>
|
||||
<p>
|
||||
<li><b>Edit:Delete</b>  <img src="<?php echo $phpgw->common->image('calendar','circle.gif'); ?>">
|
||||
<br>To edit an entry group click on the small icon as shown above.
|
||||
A form page will be presented, where you can edit the relevant fields.
|
||||
Chose edit or delete from the bottom of the page.
|
||||
<p><b>Note:</b>You can only make changes or delete those calendar entries created by you.
|
||||
<p>
|
||||
</ul>
|
||||
<?php $phpgw->common->phpgw_footer(); ?>
|
40
calendar/help/view.php
Executable file
40
calendar/help/view.php
Executable file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - User manual *
|
||||
* http://www.phpgroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
$phpgw_flags = Array(
|
||||
'currentapp' => 'manual',
|
||||
'enable_utilities_class' => True
|
||||
);
|
||||
$phpgw_info['flags'] = $phpgw_flags;
|
||||
include('../../header.inc.php');
|
||||
?>
|
||||
<img src="<?php echo $phpgw->common->image('calendar','navbar.gif'); ?>" border=0>
|
||||
<font face="<?php echo $phpgw_info['theme']['font']; ?>" size="2">
|
||||
<p>
|
||||
A searchable daily,weekly,monthly calendar/scheduling application with alerts for high priority events.
|
||||
<br> For viewing in either hourly/day,current week or monthly option, click on the relevant
|
||||
icons at the top left hand corner.
|
||||
<br>
|
||||
<ul>
|
||||
<li><b>Viewing:</b><img src="<?php echo $phpgw->common->image('calendar','today.gif'); ?>">Day <img src="<?php echo $phpgw->common->image('calendar','week.gif'); ?>">Week <img src="<?php echo $phpgw->common->image('calendar','month.gif'); ?>">Month <img src="<?php echo $phpgw->common->image('calendar','year.gif'); ?>">Year
|
||||
<p><i>Day:</i>
|
||||
<br>Current day is displayed, broken down in hour slots. Start and end time of the day
|
||||
can be set in the preferences.
|
||||
<p><i>Week:</i>
|
||||
<br>Current week is displayed. Start day of week can be set in preferences.
|
||||
<p><i>Month:</i>
|
||||
<br>Default entry is to the current month, viewed in monthly option, with both prior and future
|
||||
months easily accessible with one click.
|
||||
<p>
|
||||
</ul>
|
||||
<?php $phpgw->common->phpgw_footer(); ?>
|
24
calendar/inc/hook_manual.inc.php
Executable file
24
calendar/inc/hook_manual.inc.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare - Calendar Holidays *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Mark Peters <skeeter@phpgroupware.org> *
|
||||
* -------------------------------------------- *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms of the GNU General Public License as published by the *
|
||||
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||
* option) any later version. *
|
||||
\**************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
if (floor(phpversion()) == 4) {
|
||||
global $phpgw, $phpgw_info, $treemenu;
|
||||
}
|
||||
|
||||
$treemenu .= '..<img src="'.$phpgw->common->image($appname,'navbar.gif').'" border="0" alt="'.ucwords($appname).'">'.ucwords($appname).'|'.$phpgw->link('/'.$appname.'/help/'.$appname.'.php')."\n";
|
||||
// Modify the $treemenu variables from here down.....
|
||||
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Viewing</font>|'.$phpgw->link('/'.$appname.'/help/view.php')."\n";
|
||||
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Adding</font>|'.$phpgw->link('/'.$appname.'/help/add.php')."\n";
|
||||
$treemenu .= '...<font face="'.$phpgw_info['theme']['font'].'">Edit/Deleting</font>|'.$phpgw->link('/'.$appname.'/help/edit_delete.php')."\n";
|
||||
?>
|
@ -643,6 +643,57 @@
|
||||
return False;
|
||||
}
|
||||
}
|
||||
|
||||
function find_image($appname,$image)
|
||||
{
|
||||
global $phpgw_info;
|
||||
|
||||
$imagedir = '/'.$appname.'/templates/'.$phpgw_info['server']['template_set'].'/images';
|
||||
$imagedir_default = '/'.$appname.'/templates/default/images';
|
||||
$imagedir_olddefault = '/'.$appname.'/images';
|
||||
|
||||
if(file_exists(PHPGW_SERVER_ROOT.$imagedir.'/'.$image))
|
||||
{
|
||||
$imgfile = $phpgw_info['server']['webserver_url'].$imagedir.'/'.$image;
|
||||
}
|
||||
elseif(file_exists(PHPGW_SERVER_ROOT.$imagedir_default.'/'.$image))
|
||||
{
|
||||
$imgfile = $phpgw_info['server']['webserver_url'].$imagedir_default.'/'.$image;
|
||||
}
|
||||
elseif(file_exists(PHPGW_SERVER_ROOT.$imagedir_olddefault.'/'.$image))
|
||||
{
|
||||
$imgfile = $phpgw_info['server']['webserver_url'].$imagedir_olddefault.'/'.$image;
|
||||
}
|
||||
else
|
||||
{
|
||||
$imgfile = '';
|
||||
}
|
||||
return $imgfile;
|
||||
}
|
||||
|
||||
function image($appname,$image='')
|
||||
{
|
||||
if(is_array($image))
|
||||
{
|
||||
$i = 0;
|
||||
$image_found = $this->find_image($appname,$image[$i]);
|
||||
$c_image = count($image);
|
||||
while($image_found == '' && $i<$c_image)
|
||||
{
|
||||
$image_found = $this->find_image($appname,$image[$i]);
|
||||
$i++;
|
||||
}
|
||||
return $image_found;
|
||||
}
|
||||
elseif($image != '')
|
||||
{
|
||||
return $this->find_image($appname,$image);
|
||||
}
|
||||
else
|
||||
{
|
||||
return '';
|
||||
}
|
||||
}
|
||||
/*!
|
||||
@function navbar
|
||||
@abstract none yet
|
||||
|
@ -29,22 +29,32 @@ 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
|
||||
|
||||
function menutree()
|
||||
function menutree($read_from_file='T')
|
||||
{
|
||||
$this->read_from_file = True;
|
||||
if($read_from_file == 'T')
|
||||
{
|
||||
settype($read_from_file,'integer');
|
||||
$read_from_file = 1;
|
||||
}
|
||||
elseif($read_from_file == 'F')
|
||||
{
|
||||
settype($read_from_file,'integer');
|
||||
$read_from_file = 0;
|
||||
}
|
||||
$this->read_from_file = $read_from_file;
|
||||
}
|
||||
|
||||
function showtree($treefile, $expandlevels='', $num_menus = 50, $invisible_menus = Null)
|
||||
{
|
||||
global $phpgw_info, $phpgw, $SCRIPT_FILENAME;
|
||||
global $phpgw_info, $phpgw, $SCRIPT_FILENAME, $REQUEST_URI;
|
||||
|
||||
$img_expand = 'templates/default/images/tree_expand.gif';
|
||||
$img_collapse = 'templates/default/images/tree_collapse.gif';
|
||||
$img_line = 'templates/default/images/tree_vertline.gif';
|
||||
$img_split = 'templates/default/images/tree_split.gif';
|
||||
$img_end = 'templates/default/images/tree_end.gif';
|
||||
$img_leaf = 'templates/default/images/tree_leaf.gif';
|
||||
$img_spc = 'templates/default/images/tree_space.gif';
|
||||
$img_expand = $phpgw->common->image('manual','tree_expand.gif');
|
||||
$img_collapse = $phpgw->common->image('manual','tree_collapse.gif');
|
||||
$img_line = $phpgw->common->image('manual','tree_vertline.gif');
|
||||
$img_split = $phpgw->common->image('manual','tree_split.gif');
|
||||
$img_end = $phpgw->common->image('manual','tree_end.gif');
|
||||
$img_leaf = $phpgw->common->image('manual','tree_leaf.gif');
|
||||
$img_spc = $phpgw->common->image('manual','tree_space.gif');
|
||||
|
||||
/*********************************************/
|
||||
/* Read text file with tree structure */
|
||||
@ -260,6 +270,11 @@ var $root_level_value; // This is what the top level name or image will b
|
||||
$params='';
|
||||
}
|
||||
|
||||
if($params != '')
|
||||
{
|
||||
$params = '&'.$params;
|
||||
}
|
||||
|
||||
/****************************************/
|
||||
/* Always display the extreme top level */
|
||||
/****************************************/
|
||||
@ -316,13 +331,21 @@ var $root_level_value; // This is what the top level name or image will b
|
||||
/********************************************/
|
||||
if($tree[$cnt+1][0]>$tree[$cnt][0])
|
||||
{
|
||||
$src = $REQUEST_URI;
|
||||
if(strpos($src,'&p=') != 0)
|
||||
{
|
||||
$src = str_replace(substr($REQUEST_URI,strpos($src,'&p=')),'',$REQUEST_URI);
|
||||
}
|
||||
// echo 'Src = '.$src."<br>\n";
|
||||
if($expand[$cnt]==0)
|
||||
{
|
||||
$str .= '<td><a href="'.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/'.basename($SCRIPT_FILENAME),$params).'"><img src="'.$img_expand.'" border="no" alt="+"></a></td>';
|
||||
// $str .= '<td><a href="'.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/'.basename($SCRIPT_FILENAME),$params).'"><img src="'.$img_expand.'" border="no" alt="+"></a></td>';
|
||||
$str .= '<td><a href="'.$src.$params.'"><img src="'.$img_expand.'" border="no" alt="+"></a></td>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$str .= '<td><a href="'.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/'.basename($SCRIPT_FILENAME),$params).'"><img src="'.$img_collapse.'" border="no" alt="-"></a></td>';
|
||||
// $str .= '<td><a href="'.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/'.basename($SCRIPT_FILENAME),$params).'"><img src="'.$img_collapse.'" border="no" alt="-"></a></td>';
|
||||
$str .= '<td><a href="'.$src.$params.'"><img src="'.$img_collapse.'" border="no" alt="-"></a></td>';
|
||||
}
|
||||
}
|
||||
elseif(isset($tree[$cnt+1][0]))
|
||||
@ -342,7 +365,7 @@ var $root_level_value; // This is what the top level name or image will b
|
||||
}
|
||||
else
|
||||
{
|
||||
$str .= '<td colspan="'.($maxlevel-$tree[$cnt][0]).'"><font face="'.$phpgw_info['theme']['font'].'" size="2"><a href="'.$phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/'.$tree[$cnt][2],$params).'" target="'.$tree[$cnt][3].'">'.$tree[$cnt][1].'</a></td>';
|
||||
$str .= '<td colspan="'.($maxlevel-$tree[$cnt][0]).'"><font face="'.$phpgw_info['theme']['font'].'" size="2"><a href="'.$tree[$cnt][2].$params.'" target="'.$tree[$cnt][3].'">'.$tree[$cnt][1].'</a></td>';
|
||||
}
|
||||
|
||||
/****************************************/
|
||||
|
@ -395,8 +395,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||
|
||||
/************************************************************************\
|
||||
* This function will return a properly formatted account_id. *
|
||||
* This needs to be placed here, or some classes will have a problem *
|
||||
@ -435,4 +433,5 @@
|
||||
}
|
||||
}
|
||||
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user