mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-27 15:42:08 +01:00
update edit_cats to move the subtree with the cat if the parent changes
This commit is contained in:
parent
5cc3837622
commit
fd64b8f0f8
@ -152,7 +152,7 @@
|
||||
|
||||
if ($level > 0)
|
||||
{
|
||||
$space = '-';
|
||||
$space = ' . ';
|
||||
$spaceset = str_repeat($space,$level);
|
||||
$cat_name = $spaceset . $cat_name;
|
||||
}
|
||||
@ -168,7 +168,7 @@
|
||||
|
||||
if ($GLOBALS['appname'] && $categories[$i]['app_name'] == 'phpgw')
|
||||
{
|
||||
$appendix = '<' . lang('Global') . '>';
|
||||
$appendix = ' <' . lang('Global') . '>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -166,11 +166,11 @@
|
||||
|
||||
if ($cats[$i]['app_name'] == 'phpgw')
|
||||
{
|
||||
$appendix = '<' . lang('Global') . '>';
|
||||
$appendix = ' <' . lang('Global') . '>';
|
||||
}
|
||||
elseif ($cats[$i]['owner'] == '-1')
|
||||
{
|
||||
$appendix = '<' . lang('Global') . ' ' . $GLOBALS['phpgw_info']['apps'][$cats_app]['title'] . '>';
|
||||
$appendix = ' <' . lang('Global') . ' ' . $GLOBALS['phpgw_info']['apps'][$cats_app]['title'] . '>';
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -181,7 +181,7 @@
|
||||
|
||||
if ($level > 0)
|
||||
{
|
||||
$space = '-';
|
||||
$space = ' . ';
|
||||
$spaceset = str_repeat($space,$level);
|
||||
$name = $spaceset . $GLOBALS['phpgw']->strip_html($cats[$i]['name']) . $appendix;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user