Changeset 28500 for trunk/admin/picture_modify.php
- Timestamp:
- May 18, 2014, 12:58:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/picture_modify.php
r28497 r28500 128 128 if (!empty($_POST['date_creation'])) 129 129 { 130 $data['date_creation'] = $_POST['date_creation'] .' '.$_POST['date_creation_time'];130 $data['date_creation'] = $_POST['date_creation']; 131 131 } 132 132 else … … 255 255 : @$row['author'] 256 256 ), 257 258 'DATE_CREATION' => $row['date_creation'], 257 259 258 260 'DESCRIPTION' => … … 317 319 ); 318 320 319 // creation date 320 unset($day, $month, $year); 321 322 if (!empty($row['date_creation'])) 323 { 324 list($date, $time) = explode(' ', $row['date_creation']); 325 } 326 else 327 { 328 $date = ''; 329 $time = '00:00:00'; 330 } 331 332 $template->assign( 333 array( 334 'DATE_CREATION' => $date, 335 'DATE_CREATION_TIME' => $time, 336 ) 337 ); 338 321 // categories 339 322 $query = ' 340 323 SELECT category_id, uppercats
Note: See TracChangeset
for help on using the changeset viewer.