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

This commit is contained in:
ceb 2002-10-12 22:32:10 +00:00
parent 5cc3837622
commit fd64b8f0f8
2 changed files with 5 additions and 5 deletions

View File

@ -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
{

View File

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