aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_global.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-03-04 09:36:30 +0000
committerrub <rub@piwigo.org>2007-03-04 09:36:30 +0000
commitb72f6620e664e321815433adcb3f9ed9ff771a43 (patch)
tree87c779711fbfe62c5f3236794105168ddc546893 /admin/element_set_global.php
parent44f057a5f0689ad05d1ac6bf4f6f4249048ac1a2 (diff)
Remove "TODO" on picture display showed on the caddie...
git-svn-id: http://piwigo.org/svn/trunk@1868 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/element_set_global.php')
-rw-r--r--admin/element_set_global.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/element_set_global.php b/admin/element_set_global.php
index cb55282e2..ad1ff8135 100644
--- a/admin/element_set_global.php
+++ b/admin/element_set_global.php
@@ -369,7 +369,7 @@ if (count($page['cat_elements_id']) > 0)
$template->assign_vars(array('NAV_BAR' => $nav_bar));
$query = '
-SELECT id,path,tn_ext
+SELECT id,path,tn_ext,file,filesize
FROM '.IMAGES_TABLE.'
WHERE id IN ('.implode(',', $page['cat_elements_id']).')
'.$conf['order_by'].'
@@ -393,8 +393,8 @@ SELECT id,path,tn_ext
array(
'ID' => $row['id'],
'SRC' => $src,
- 'ALT' => 'TODO',
- 'TITLE' => 'TODO'
+ 'ALT' => $row['file'],
+ 'TITLE' => get_thumbnail_title($row)
)
);
}