function quicktabs_add_css in Quick Tabs 6.2
Same name and namespace in other branches
- 5 quicktabs.module \quicktabs_add_css()
- 6.3 quicktabs.module \quicktabs_add_css()
- 6 quicktabs.module \quicktabs_add_css()
Fetch the necessary CSS files for the tab styles.
1 call to quicktabs_add_css()
- quicktabs_render in ./
quicktabs.module - Render quicktabs.
File
- ./
quicktabs.module, line 386
Code
function quicktabs_add_css($style) {
// Add quicktabs CSS.
drupal_add_css(drupal_get_path('module', 'quicktabs') . '/css/quicktabs.css');
if ($style == 'default') {
// Get the default style.
$style = variable_get('quicktabs_tabstyle', 'nostyle');
}
$style_css = _quicktabs_get_style_css($style);
if ($style_css != 'nostyle') {
drupal_add_css($style_css, 'module');
}
}