Ticket #8733: 8733.patch
| File 8733.patch, 1.2 KB (added by , 17 years ago) |
|---|
-
(a) bookmark-template.php vs. (b) 8733
a b 28 28 * available. 29 29 * 'show_name' - Default is 1 (integer). Whether to show link name if 30 30 * available. 31 * 'show_feed' - Default is 0 (integer). Whether to show feed link if 32 * available. 31 33 * 'before' - Default is '<li>' (string). The html or text to prepend to each 32 34 * bookmarks. 33 35 * 'after' - Default is '</li>' (string). The html or text to append to each … … function _walk_bookmarks($bookmarks, $ar 53 55 'show_updated' => 0, 'show_description' => 0, 54 56 'show_images' => 1, 'show_name' => 0, 55 57 'before' => '<li>', 'after' => '</li>', 'between' => "\n", 58 'show_feed' => 0, 56 59 'show_rating' => 0, 'link_before' => '', 'link_after' => '' 57 60 ); 58 61 … … function _walk_bookmarks($bookmarks, $ar 121 124 if ( $show_description && '' != $desc ) 122 125 $output .= $between . $desc; 123 126 127 if ($show_feed) { 128 $output .= $between . "<a class='feedlink' href='" . sanitize_bookmark_field('link_feed', $bookmark->link_rss, $bookmark->link_id, 'display') . "'>feed</a>"; 129 } 130 124 131 if ($show_rating) { 125 132 $output .= $between . sanitize_bookmark_field('link_rating', $bookmark->link_rating, $bookmark->link_id, 'display'); 126 133 }