Changeset 17856 for trunk/admin/batch_manager_unit.php
- Timestamp:
- Sep 11, 2012, 4:47:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/batch_manager_unit.php
r17765 r17856 199 199 200 200 $query = ' 201 SELECT id,path,representative_ext,name,date_creation,comment,author,level,file201 SELECT * 202 202 FROM '.IMAGES_TABLE; 203 203 … … 264 264 265 265 $template->append( 266 'elements', 266 'elements', array_merge($row, 267 267 array( 268 268 'ID' => $row['id'], … … 271 271 'LEGEND' => $legend, 272 272 'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'], 273 'NAME' => !empty($row['name'])?$row['name']:'',274 'AUTHOR' => !empty($row['author'])?htmlspecialchars($row['author']):'',273 'NAME' => htmlspecialchars(@$row['name']), 274 'AUTHOR' => htmlspecialchars(@$row['author']), 275 275 'LEVEL' => !empty($row['level'])?$row['level']:'0', 276 'DESCRIPTION' => !empty($row['comment'])?$row['comment']:'',276 'DESCRIPTION' => htmlspecialchars(@$row['comment']), 277 277 'DATE_CREATION_YEAR' => $year, 278 278 'DATE_CREATION_MONTH' => (int)$month, … … 280 280 'TAGS' => $tag_selection, 281 281 ) 282 ) ;282 )); 283 283 } 284 284
Note: See TracChangeset
for help on using the changeset viewer.