mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 17:32:25 +02:00
related to #1679 first go on title uniformization still work to do
This commit is contained in:
@@ -15,4 +15,16 @@ $tabsheet->set_id('albums');
|
||||
$tabsheet->select($page['tab']);
|
||||
$tabsheet->assign();
|
||||
|
||||
$query = '
|
||||
SELECT COUNT(*)
|
||||
FROM '.CATEGORIES_TABLE.'
|
||||
;';
|
||||
|
||||
list($nb_cats) = pwg_db_fetch_row(pwg_query($query));
|
||||
$template->assign(
|
||||
array(
|
||||
'nb_cats' => $nb_cats,
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user