function fonts_com_browse in @font-your-face 7.2
Over-rides default browse interface for Fonts.com.
1 string reference to 'fonts_com_browse'
- fonts_com_menu in modules/
fonts_com/ fonts_com.module - Implements hook_menu().
File
- modules/
fonts_com/ fonts_com.module, line 927
Code
function fonts_com_browse() {
drupal_set_title(t('Browse fonts: Fonts.com'));
$breadcrumb = drupal_get_breadcrumb();
$breadcrumb[] = 'Fonts.com';
drupal_set_breadcrumb($breadcrumb);
drupal_add_css(drupal_get_path('module', 'fontyourface_ui') . '/css/fontyourface_ui.css');
drupal_add_js(drupal_get_path('module', 'fontyourface_ui') . '/js/browse.js');
$browse_form = drupal_get_form('fonts_com_browse_form');
return '<div class="view view-fontyourface-browse view-id-fontyourface_browse view-display-id-page_1 view-dom-id-1"><div class="view-header"><div><p>' . fontyourface_ui_enabled_count() . '</p></div>' . fontyourface_ui_browse_tabs() . '</div>' . drupal_render($browse_form) . '</div>';
}