mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:41 +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)
|
if ($level > 0)
|
||||||
{
|
{
|
||||||
$space = ' ';
|
$space = '-';
|
||||||
$spaceset = str_repeat($space,$level);
|
$spaceset = str_repeat($space,$level);
|
||||||
$cat_name = $spaceset . $cat_name;
|
$cat_name = $spaceset . $cat_name;
|
||||||
}
|
}
|
||||||
|
@ -389,7 +389,7 @@
|
|||||||
$s .= '>';
|
$s .= '>';
|
||||||
for ($j=0;$j<$cats[$i]['level'];$j++)
|
for ($j=0;$j<$cats[$i]['level'];$j++)
|
||||||
{
|
{
|
||||||
$s .= ' ';
|
$s .= '-';
|
||||||
}
|
}
|
||||||
$s .= $GLOBALS['phpgw']->strip_html($cats[$i]['name']);
|
$s .= $GLOBALS['phpgw']->strip_html($cats[$i]['name']);
|
||||||
if ($cats[$i]['app_name'] == 'phpgw')
|
if ($cats[$i]['app_name'] == 'phpgw')
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
|
|
||||||
if ($level > 0)
|
if ($level > 0)
|
||||||
{
|
{
|
||||||
$space = ' ';
|
$space = '-';
|
||||||
$spaceset = str_repeat($space,$level);
|
$spaceset = str_repeat($space,$level);
|
||||||
$name = $spaceset . $GLOBALS['phpgw']->strip_html($cats[$i]['name']) . $appendix;
|
$name = $spaceset . $GLOBALS['phpgw']->strip_html($cats[$i]['name']) . $appendix;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user