aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_unit.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/batch_manager_unit.php')
-rw-r--r--admin/batch_manager_unit.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php
index 02e1d487c..24ef9a47c 100644
--- a/admin/batch_manager_unit.php
+++ b/admin/batch_manager_unit.php
@@ -265,11 +265,8 @@ SELECT
'ID' => $row['id'],
'TN_SRC' => $src,
'FILE_SRC' => $row['path'],
- 'LEGEND' => !empty($row['name']) ?
- $row['name'] : get_name_from_file($row['file']),
- 'U_EDIT' =>
- PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
- '&image_id='.$row['id'],
+ 'LEGEND' => render_element_name($row),
+ 'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'],
'NAME' => !empty($row['name'])?$row['name']:'',
'AUTHOR' => !empty($row['author'])?htmlspecialchars($row['author']):'',
'LEVEL' => !empty($row['level'])?$row['level']:'0',