Changeset 13457
- Timestamp:
- Mar 2, 2012, 2:52:37 PM (13 years ago)
- Location:
- trunk/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/batch_manager_global.php
r13077 r13457 759 759 $src = DerivativeImage::thumb_url($row); 760 760 761 $title = $row['name'];762 if ( empty($title))763 { 764 $title = get_name_from_file($row['file']);761 $title = render_element_name($row); 762 if ($title != get_name_from_file($row['file'])) 763 { 764 $title.= ' ('.$row['file'].')'; 765 765 } 766 766 -
trunk/admin/batch_manager_unit.php
r13077 r13457 260 260 $tag_selection = get_taglist($query); 261 261 262 $legend = render_element_name($row); 263 if ($legend != get_name_from_file($row['file'])) 264 { 265 $legend.= ' ('.$row['file'].')'; 266 } 267 262 268 $template->append( 263 269 'elements', … … 266 272 'TN_SRC' => $src, 267 273 'FILE_SRC' => $row['path'], 268 'LEGEND' => render_element_name($row),274 'LEGEND' => $legend, 269 275 'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'], 270 276 'NAME' => !empty($row['name'])?$row['name']:'',
Note: See TracChangeset
for help on using the changeset viewer.