feature 2836: display the number of comments/tags in the menubar

git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2013-03-24 06:46:35 +00:00
parent 55275efb66
commit ea10c19ac5
6 changed files with 100 additions and 17 deletions
+9 -8
View File
@@ -191,14 +191,6 @@ function initialize_menu()
);
}
$block->data['random'] =
array(
'URL' => get_root_url().'random.php',
'TITLE' => l10n('display a set of random photos'),
'NAME' => l10n('Random photos'),
'REL'=> 'rel="nofollow"'
);
$block->data['recent_pics'] =
array(
'URL' => make_index_url(array('section' => 'recent_pics')),
@@ -213,6 +205,13 @@ function initialize_menu()
'NAME' => l10n('Recent albums'),
);
$block->data['random'] =
array(
'URL' => get_root_url().'random.php',
'TITLE' => l10n('display a set of random photos'),
'NAME' => l10n('Random photos'),
'REL'=> 'rel="nofollow"'
);
$block->data['calendar'] =
array(
@@ -246,6 +245,7 @@ function initialize_menu()
'TITLE' => l10n('display available tags'),
'NAME' => l10n('Tags'),
'URL'=> get_root_url().'tags.php',
'COUNTER' => get_nb_available_tags(),
);
// search link
@@ -265,6 +265,7 @@ function initialize_menu()
'TITLE'=>l10n('display last user comments'),
'NAME'=>l10n('Comments'),
'URL'=> get_root_url().'comments.php',
'COUNTER' => get_nb_available_comments(),
);
}