mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
@@ -259,13 +259,19 @@ SELECT
|
||||
;';
|
||||
$tag_selection = get_taglist($query);
|
||||
|
||||
$legend = render_element_name($row);
|
||||
if ($legend != get_name_from_file($row['file']))
|
||||
{
|
||||
$legend.= ' ('.$row['file'].')';
|
||||
}
|
||||
|
||||
$template->append(
|
||||
'elements',
|
||||
array(
|
||||
'ID' => $row['id'],
|
||||
'TN_SRC' => $src,
|
||||
'FILE_SRC' => $row['path'],
|
||||
'LEGEND' => render_element_name($row),
|
||||
'LEGEND' => $legend,
|
||||
'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'],
|
||||
'NAME' => !empty($row['name'])?$row['name']:'',
|
||||
'AUTHOR' => !empty($row['author'])?htmlspecialchars($row['author']):'',
|
||||
|
||||
Reference in New Issue
Block a user