Changeset 1057 for trunk/picture.php
- Timestamp:
- Feb 24, 2006, 6:58:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r1056 r1057 794 794 { 795 795 $val = format_date($picture['current']['date_creation']); 796 if ( $conf['calendar_datefield'] == 'date_creation' ) 797 { 798 $infos['INFO_CREATION_DATE'] = '<a href="'. 799 PHPWG_ROOT_PATH.'category.php?calendar=c-'. 796 $infos['INFO_CREATION_DATE'] = '<a href="'. 797 PHPWG_ROOT_PATH.'category.php?calendar=created-c-'. 800 798 $picture['current']['date_creation'].'">'.$val.'</a>'; 801 }802 else803 {804 $infos['INFO_CREATION_DATE'] = $val;805 }806 799 } 807 800 else … … 812 805 // date of availability 813 806 $val = format_date($picture['current']['date_available'], 'mysql_datetime'); 814 if ( $conf['calendar_datefield'] == 'date_available' ) 815 { 816 $infos['INFO_AVAILABILITY_DATE'] = '<a href="'. 817 PHPWG_ROOT_PATH.'category.php?calendar=c-'. 818 substr($picture['current']['date_available'],0,10).'">'.$val.'</a>'; 819 } 820 else 821 { 822 $infos['INFO_AVAILABILITY_DATE'] = $val; 823 } 807 $infos['INFO_AVAILABILITY_DATE'] = '<a href="'. 808 PHPWG_ROOT_PATH.'category.php?calendar=posted-c-'. 809 substr($picture['current']['date_available'],0,10).'">'.$val.'</a>'; 824 810 825 811 // size in pixels
Note: See TracChangeset
for help on using the changeset viewer.