mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2108 added: user upload removed from core. It will come back as a
"new generation" user upload in the Community plugin. git-svn-id: http://piwigo.org/svn/trunk@8651 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -239,25 +239,6 @@ SELECT MIN(date_available)
|
||||
);
|
||||
}
|
||||
|
||||
// waiting elements
|
||||
$query = '
|
||||
SELECT COUNT(*)
|
||||
FROM '.WAITING_TABLE.'
|
||||
WHERE validated=\'false\'
|
||||
;';
|
||||
list($nb_waiting) = pwg_db_fetch_row(pwg_query($query));
|
||||
|
||||
if ($nb_waiting > 0)
|
||||
{
|
||||
$template->assign(
|
||||
'waiting',
|
||||
array(
|
||||
'URL' => PHPWG_ROOT_PATH.'admin.php?page=upload',
|
||||
'INFO' => sprintf(l10n('%d waiting for validation'), $nb_waiting)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// unvalidated comments
|
||||
$query = '
|
||||
SELECT COUNT(*)
|
||||
|
||||
Reference in New Issue
Block a user