Fix Issue 0000605: Not linked elements failure with no virtual categories galleries
Add missing translations git-svn-id: http://piwigo.org/svn/trunk@1831 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
92192fdd7c
commit
856f707fe6
3 changed files with 45 additions and 7 deletions
|
@ -147,6 +147,8 @@ SELECT id
|
|||
;';
|
||||
$virtual_categories = array_from_query($query, 'id');
|
||||
|
||||
if (!empty($virtual_categories))
|
||||
{
|
||||
$query = '
|
||||
SELECT DISTINCT(image_id)
|
||||
FROM '.IMAGE_CATEGORY_TABLE.'
|
||||
|
@ -161,6 +163,11 @@ SELECT DISTINCT(image_id)
|
|||
$linked_to_virtual = array_from_query($query, 'image_id');
|
||||
|
||||
$page['cat_elements_id'] = array_diff($all_elements, $linked_to_virtual);
|
||||
}
|
||||
else
|
||||
{
|
||||
$page['cat_elements_id'] = array();
|
||||
}
|
||||
}
|
||||
else if ('duplicates' == $_GET['cat'])
|
||||
{
|
||||
|
|
|
@ -550,5 +550,21 @@ $lang['FORUM'] = 'FORUM';
|
|||
$lang['BUGS'] = 'BUGS';
|
||||
$lang['EXTENSIONS'] = 'EXTENSIONS';
|
||||
$lang['WIKI / DOC'] = 'WIKI / DOC';
|
||||
$lang['Export data'] = 'Export data';
|
||||
$lang['Overall'] = 'Overall';
|
||||
$lang['Year'] = 'Year';
|
||||
$lang['Month'] = 'Month';
|
||||
$lang['Day'] = 'Day';
|
||||
$lang['Pages seen'] = 'Pages seen';
|
||||
//$lang['only'] = 'only';
|
||||
$lang['Pictures'] = 'Pictures';
|
||||
$lang['High quality'] = 'High quality';
|
||||
$lang['time'] = 'time';
|
||||
$lang['user'] = 'user';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['image'] = '';
|
||||
$lang['high quality'] = 'high quality';
|
||||
$lang['section'] = 'section';
|
||||
$lang['tags'] = 'tags';
|
||||
|
||||
?>
|
||||
|
|
|
@ -549,5 +549,20 @@ $lang['FORUM'] = 'FORUM';
|
|||
$lang['BUGS'] = 'BOGUES';
|
||||
$lang['EXTENSIONS'] = 'EXTENSIONS';
|
||||
$lang['WIKI / DOC'] = 'WIKI / DOC';
|
||||
|
||||
$lang['Export data'] = 'Exporter les données';
|
||||
$lang['Overall'] = 'Vue globale';
|
||||
$lang['Year'] = 'Année';
|
||||
$lang['Month'] = 'Mois';
|
||||
$lang['Day'] = 'Jour';
|
||||
$lang['Pages seen'] = 'Pages vues';
|
||||
//$lang['only'] = 'uniquement';
|
||||
$lang['Pictures'] = 'Images';
|
||||
$lang['High quality'] = 'Haute résolution';
|
||||
$lang['time'] = 'heure';
|
||||
$lang['user'] = 'utilisateur';
|
||||
$lang['IP'] = 'IP';
|
||||
$lang['image'] = 'images';
|
||||
$lang['high quality'] = 'haute résolution';
|
||||
$lang['section'] = 'section';
|
||||
$lang['tags'] = 'tags';
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue