Download & Extend

_links_related_format_list needs to be a theme function

Project:Links Package
Version:6.x-1.x-dev
Component:Code: links_related.module
Category:bug report
Priority:normal
Assigned:tom friedhof
Status:needs work

Issue Summary

I created a patch to allow the output of related links to be customized in your own theme.

Changed _links_related_format_list() to a theme function and moved code out of the "Internal Functions" section of the module and put it with the rest of the theme functions.

AttachmentSize
links.theme_.patch2.98 KB

Comments

#1

Version:5.x-1.4» 6.x-1.x-dev
Status:reviewed & tested by the community» needs work

I agree that output should be themable. What about using theme_links for this rather than having a separate theme function? Moving back to needs work for discussion. Also bumping the issue to D6 since Drupal 5 quite long in the tooth.