feature 2555: add original file name on Batch Manager

git-svn-id: http://piwigo.org/svn/trunk@13457 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-03-02 13:52:37 +00:00
parent 54ce78ca76
commit 7a28277196
2 changed files with 11 additions and 5 deletions
+4 -4
View File
@@ -758,10 +758,10 @@ SELECT id,path,representative_ext,file,filesize,level,name
$nb_thumbs_page++;
$src = DerivativeImage::thumb_url($row);
$title = $row['name'];
if (empty($title))
{
$title = get_name_from_file($row['file']);
$title = render_element_name($row);
if ($title != get_name_from_file($row['file']))
{
$title.= ' ('.$row['file'].')';
}
$template->append(