You are here

function theme_service_links_fisheye_format in Service links 6.2

Same name and namespace in other branches
  1. 7.2 service_links.theme.inc \theme_service_links_fisheye_format()

Format the items shown in the Fisheye block.

2 theme calls to theme_service_links_fisheye_format()
service_links_block in ./service_links.module
Implementation of hook_block().
theme_sld_group_fisheye in plugins/service_links_displays.module
Apply the FishEye format to the field Service Links Group.

File

./service_links.theme.inc, line 129
Theme functions used by Service Links.

Code

function theme_service_links_fisheye_format($items) {
  drupal_add_js(service_links_expand_path('interface.js', 'javascript'));
  drupal_add_js(service_links_expand_path('service_links_fisheye.js', 'javascript'));
  drupal_add_css(service_links_expand_path('service_links_fisheye.css', 'css'));
  return "<div class=\"fisheye\"><div class=\"fisheyeContainer\">\r\n" . implode("\r\n", $items) . "\r\n</div></div>";
}