You are here

function fontyourface_ui_browse_tabs in @font-your-face 7.2

Returns tab header for provider browsing.

2 calls to fontyourface_ui_browse_tabs()
fonts_com_browse in modules/fonts_com/fonts_com.module
Over-rides default browse interface for Fonts.com.
fontyourface_ui_views_pre_render in modules/fontyourface_ui/fontyourface_ui.module
Implements hook_views_pre_render().

File

modules/fontyourface_ui/fontyourface_ui.module, line 1542

Code

function fontyourface_ui_browse_tabs() {
  $providers = module_implements('fontyourface_info');
  $tabs = '<ul class="tabs">';
  foreach ($providers as $provider) {
    $function = $provider . '_fontyourface_info';
    $info = $function();
    $tabs .= '<li>' . l($info['name'], 'admin/appearance/fontyourface/browse/' . $provider) . '</li>';
  }

  // foreach
  $tabs .= '</ul>';
  return $tabs;
}