function theme_service_links_node_format in Service links 6.2
Same name and namespace in other branches
- 5 service_links.module \theme_service_links_node_format()
- 6 service_links.module \theme_service_links_node_format()
- 7.2 service_links.theme.inc \theme_service_links_node_format()
Format the items shown in the node.
1 theme call to theme_service_links_node_format()
- service_links_nodeapi in ./
service_links.module - Implementation of hook_nodeapi().
File
- ./
service_links.theme.inc, line 97 - Theme functions used by Service Links.
Code
function theme_service_links_node_format($links, $label = NULL) {
if (isset($label) && !empty($label)) {
return '<div class="service-links"><div class="service-label">' . t('@label', array(
'@label' => $label,
)) . ' </div>' . theme('links', $links) . '</div>';
}
else {
return '<div class="service-links">' . theme('links', $links) . '</div>';
}
}