Issue 1521 : Integration of LinkRoot plugin in Piwigo core

git-svn-id: http://piwigo.org/svn/branches/2.0@5254 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
laurent.duretz
2010-03-22 11:09:32 +00:00
parent 9b86ed4be7
commit d6cc2b0a0a
3 changed files with 10 additions and 14 deletions
+4 -11
View File
@@ -239,8 +239,8 @@ function get_cat_display_name($cat_informations,
{
global $conf;
$output = '';
$is_first = true;
$output = '<a href="'.PHPWG_ROOT_PATH.$conf['home_page'].'">'.l10n('no_category').'</a>';
foreach ($cat_informations as $cat)
{
is_array($cat) or trigger_error(
@@ -253,14 +253,7 @@ function get_cat_display_name($cat_informations,
'get_cat_display_name'
);
if ($is_first)
{
$is_first = false;
}
else
{
$output.= $conf['level_separator'];
}
$output.= $conf['level_separator'];
if ( !isset($url) )
{
@@ -814,4 +807,4 @@ function register_default_menubar_blocks( $menu_ref_arr )
$menu->register_block( new RegisteredBlock( 'mbIdentification', 'identification', 'piwigo') );
}
?>
?>