mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
update edit_cats to move the subtree with the cat if the parent changes
This commit is contained in:
parent
be05bc6e25
commit
5cc3837622
@ -152,7 +152,7 @@
|
||||
|
||||
if ($level > 0)
|
||||
{
|
||||
$space = ' ';
|
||||
$space = '-';
|
||||
$spaceset = str_repeat($space,$level);
|
||||
$cat_name = $spaceset . $cat_name;
|
||||
}
|
||||
|
@ -389,7 +389,7 @@
|
||||
$s .= '>';
|
||||
for ($j=0;$j<$cats[$i]['level'];$j++)
|
||||
{
|
||||
$s .= ' ';
|
||||
$s .= '-';
|
||||
}
|
||||
$s .= $GLOBALS['phpgw']->strip_html($cats[$i]['name']);
|
||||
if ($cats[$i]['app_name'] == 'phpgw')
|
||||
|
@ -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