mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
issue #1019 photo upload redesign
* Hide album selection after creation * Correctly center the welcome box * Better alignment for select files info * Remove summary for select files info, always display details * Fix dynamic margins in album popin * Simplify show/hide blocks when no album available * Make file selection button secondary when files added to queue
This commit is contained in:
committed by
Pierrick Le Gall
parent
f5f555e1f2
commit
038a42dd46
@@ -150,6 +150,15 @@ SELECT category_id
|
||||
// existing album
|
||||
$template->assign('selected_category', $selected_category);
|
||||
|
||||
// how many existing albums?
|
||||
$query = '
|
||||
SELECT
|
||||
COUNT(*)
|
||||
FROM '.CATEGORIES_TABLE.'
|
||||
;';
|
||||
list($nb_albums) = pwg_db_fetch_row(pwg_query($query));
|
||||
// $nb_albums = 0;
|
||||
$template->assign('NB_ALBUMS', $nb_albums);
|
||||
|
||||
// image level options
|
||||
$selected_level = isset($_POST['level']) ? $_POST['level'] : 0;
|
||||
|
||||
Reference in New Issue
Block a user