update edit_cats to move the subtree with the cat if the parent changes

This commit is contained in:
ceb 2002-10-12 22:03:35 +00:00
parent be05bc6e25
commit 5cc3837622
3 changed files with 3 additions and 3 deletions

View File

@ -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;
} }

View File

@ -389,7 +389,7 @@
$s .= '>'; $s .= '>';
for ($j=0;$j<$cats[$i]['level'];$j++) for ($j=0;$j<$cats[$i]['level'];$j++)
{ {
$s .= '&nbsp;'; $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')

View File

@ -181,7 +181,7 @@
if ($level > 0) if ($level > 0)
{ {
$space = '&nbsp;&nbsp;'; $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;
} }