Ticket #7981: links-show-names.diff
| File links-show-names.diff, 1012 bytes (added by , 18 years ago) |
|---|
-
bookmark-template.php
51 51 function _walk_bookmarks($bookmarks, $args = '' ) { 52 52 $defaults = array( 53 53 'show_updated' => 0, 'show_description' => 0, 54 'show_images' => 1, 'show_name' => 1,54 'show_images' => 1, 'show_name' => 0, 55 55 'before' => '<li>', 'after' => '</li>', 'between' => "\n", 56 56 'show_rating' => 0, 'link_before' => '', 'link_after' => '' 57 57 ); … … 105 105 $output .= "<img src=\"$bookmark->link_image\" $alt $title />"; 106 106 else // If it's a relative path 107 107 $output .= "<img src=\"" . get_option('siteurl') . "$bookmark->link_image\" $alt $title />"; 108 109 if ($show_name) $output .= $name; 110 } else { 111 $output .= $name; 108 112 } 109 113 110 if ($show_name) $output .= $name;111 112 114 $output .= $link_after; 113 115 114 116 $output .= '</a>'; … … 249 251 echo $output; 250 252 } 251 253 252 ?> 253 No newline at end of file 254 ?>
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)