Changeset 1825
- Timestamp:
- Feb 15, 2007, 10:20:52 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r1820 r1825 606 606 'favorite', 607 607 array( 608 'FAVORITE_IMG' => get_root_url().get_themeconf('icon_dir').'/favorite.png', 608 'FAVORITE_IMG' => 609 get_root_url().get_themeconf('icon_dir').'/favorite.png', 609 610 'FAVORITE_HINT' => $lang['add_favorites_hint'], 610 611 'FAVORITE_ALT' => $lang['add_favorites_alt'], 611 612 'U_FAVORITE' => add_url_params( 612 613 614 613 $url_self, 614 array('action'=>'add_to_favorites') 615 ), 615 616 ) 616 617 ); … … 621 622 'favorite', 622 623 array( 623 'FAVORITE_IMG' => get_root_url().get_themeconf('icon_dir').'/del_favorite.png', 624 'FAVORITE_IMG' => 625 get_root_url().get_themeconf('icon_dir').'/del_favorite.png', 624 626 'FAVORITE_HINT' => $lang['del_favorites_hint'], 625 627 'FAVORITE_ALT' => $lang['del_favorites_alt'], 626 628 'U_FAVORITE' => add_url_params( 627 628 629 )629 $url_self, 630 array('action'=>'remove_from_favorites') 631 ), 630 632 ) 631 633 ); … … 658 660 { 659 661 $infos['INFO_AUTHOR'] = 660 661 662 662 // FIXME because of search engine partial rewrite, giving the author 663 // name threw GET is not supported anymore. This feature should come 664 // back later, with a better design 663 665 // '<a href="'. 664 666 // PHPWG_ROOT_PATH.'category.php?cat=search'. … … 678 680 $val = format_date($picture['current']['date_creation']); 679 681 $url = make_index_url( 680 array( 681 'chronology_field'=>'created', 682 'chronology_style'=>'monthly', 683 'chronology_view'=>'list', 684 'chronology_date' => explode('-', $picture['current']['date_creation']) 685 ) 686 ); 687 $infos['INFO_CREATION_DATE'] = '<a href="'.$url.'" rel="nofollow">'.$val.'</a>'; 682 array( 683 'chronology_field'=>'created', 684 'chronology_style'=>'monthly', 685 'chronology_view'=>'list', 686 'chronology_date' => explode('-', $picture['current']['date_creation']) 687 ) 688 ); 689 $infos['INFO_CREATION_DATE'] = 690 '<a href="'.$url.'" rel="nofollow">'.$val.'</a>'; 688 691 } 689 692 else … … 695 698 $val = format_date($picture['current']['date_available'], 'mysql_datetime'); 696 699 $url = make_index_url( 697 array( 698 'chronology_field'=>'posted', 699 'chronology_style'=>'monthly', 700 'chronology_view'=>'list', 701 'chronology_date'=>explode('-', substr($picture['current']['date_available'],0,10)) 702 ) 703 ); 700 array( 701 'chronology_field'=>'posted', 702 'chronology_style'=>'monthly', 703 'chronology_view'=>'list', 704 'chronology_date' => explode( 705 '-', 706 substr($picture['current']['date_available'], 0, 10) 707 ) 708 ) 709 ); 704 710 $infos['INFO_POSTED_DATE'] = '<a href="'.$url.'" rel="nofollow">'.$val.'</a>'; 705 711
Note: See TracChangeset
for help on using the changeset viewer.