Author: ralfbecker
New Revision: 29437
URL: http://www.egroupware.org/viewvc/egroupware?rev=29437&view=rev
Log:
“only add content for the active nav_type, as otherwise we can NOT longer uncheck checkboxes,
if the same name is used for multiple nav_type’s”
Modified:
trunk/sitemgr/modules/class.module_navigation.inc.php
Modified: trunk/sitemgr/modules/class.module_navigation.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/sitemgr/modules/class.module_navigation.inc.php?rev=29437&r1=29436&r2=29437&view=diff
— trunk/sitemgr/modules/class.module_navigation.inc.php (original)
+++ trunk/sitemgr/modules/class.module_navigation.inc.php Sun Mar 7 19:02:48 2010
@@ -269,9 +269,22 @@
$tabs .= ‘
if(count($this->nav_args[$id]) >= 1)
{
-
// only add content for the active nav_type, as otherwise we can NOT longer uncheck checkboxes, -
// if the same name is used for multiple nav_type's -
if ($id != $this->block->arguments['nav_type']) -
{ -
$save_args =& $this->block->arguments; -
unset($this->block->arguments); -
} foreach (parent::get_user_interface() as $param) { $tabs .= '<tr><td>'.$param['label'].'</td><td>'.$param['form'].'</td></tr>'; -
} -
// restore arguments -
if ($save_args) -
{ -
$this->block->arguments =& $save_args; -
unset($save_args); } } else
@@ -500,7 +513,7 @@
}
}
array_push($cat_tree,$cat_id); array_push($cat_tree_data,$cat);
-
if($arguments['expand'] && $cat_id == $this->page->cat_id && $cat['depth'] >= $arguments['max_cat_depth']) { $cat_tree2 = $cat_tree; $cat_tree_data2 = $cat_tree_data;
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs