Changeset 2856
- Timestamp:
- 11/09/08 22:44:44 (5 years ago)
- Location:
- trunk/include
- Files:
-
- 2 modified
-
category_default.inc.php (modified) (2 diffs)
-
functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_default.inc.php
r2853 r2856 118 118 'FILE_POSTED' => format_date($row['date_available'], 'mysql_datetime'), 119 119 'FILE_CREATED' => (empty($row['date_creation'])) ? 120 '-': format_date($row['date_creation'], ' us'),120 '-': format_date($row['date_creation'], 'mysql_date'), 121 121 'FILE_DESC' => (empty($row['comment'])) ? '-' : $row['comment'], 122 122 'FILE_AUTHOR' => (empty($row['author'])) ? '-' : $row['author'], … … 126 126 'FILE_HEIGHT' => (empty($row['height'])) ? '-' : $row['height'], 127 127 'FILE_METADATE' => (empty($row['date_metadata_update'])) ? 128 '-': format_date($row['date_metadata_update'], ' us'),128 '-': format_date($row['date_metadata_update'], 'mysql_date'), 129 129 'FILE_RATE' => (empty($row['rate'])) ? '-' : $row['rate'], 130 130 'FILE_HAS_HD' => ($row['has_high'] and $user['enabled_high']=='true') ? -
trunk/include/functions.inc.php
r2790 r2856 602 602 break; 603 603 } 604 case 'mysql_date' : 605 { 606 preg_match('/^(\d{4})-(\d{2})-(\d{2})$/', 607 $date, $out); 608 list($year,$month,$day) = 609 array($out[1],$out[2],$out[3]); 610 break; 611 } 604 612 } 605 613 $formated_date = '';
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)