delete replace_space function, modify get_cat_display_name_* functions

git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2013-11-10 16:18:55 +00:00
commit e6722ac1b4
10 changed files with 13 additions and 85 deletions

View file

@ -203,8 +203,7 @@ if (isset($_GET['parent_id']))
$navigation.= get_cat_display_name_from_id(
$_GET['parent_id'],
$base_url.'&parent_id=',
false
$base_url.'&parent_id='
);
}
// +-----------------------------------------------------------------------+

View file

@ -392,8 +392,7 @@ while ($row = pwg_db_fetch_assoc($result))
$name =
get_cat_display_name_cache(
$row['uppercats'],
get_root_url().'admin.php?page=album-',
false
get_root_url().'admin.php?page=album-'
);
if ($row['category_id'] == $storage_category_id)

View file

@ -128,7 +128,7 @@ if (pwg_db_num_rows($result) > 0)
{
$template->append(
'categories_because_of_groups',
get_cat_display_name_cache($category['uppercats'], null, false)
get_cat_display_name_cache($category['uppercats'], null)
);
}
}