function fontyourface_admin_page in @font-your-face 7
Same name and namespace in other branches
- 6.2 fontyourface.module \fontyourface_admin_page()
- 6 fontyourface.module \fontyourface_admin_page()
Admin page shows enabled fonts with link to add.
1 string reference to 'fontyourface_admin_page'
- fontyourface_menu in ./
fontyourface.module - Implements hook_menu().
File
- ./
fontyourface.module, line 555
Code
function fontyourface_admin_page() {
$view = views_get_view('fontyourface_enabled');
$view
->set_display('block_1');
$output = $view
->preview();
$output .= '<div>' . l('Browse fonts to enable.', 'admin/appearance/fontyourface/add') . '</div>';
return $output;
}