You are here

function _mb_load_css in More Buttons 7

Load CSS files.

Parameters

string $op: Possible values: admin, frontend

4 calls to _mb_load_css()
theme_mb_comment_admin in mb_comment/mb_comment.admin.inc
Display a central MB Content settings form page.
theme_mb_content_admin in mb_content/mb_content.admin.inc
Display a central MB Content settings form page.
theme_mb_extra_admin in mb_extra/mb_extra.admin.inc
Display the MB Extra settings form page.
theme_mb_user_admin in mb_user/mb_user.admin.inc
Display the MB User settings form page.

File

mb/mb.module, line 314
The More Buttons (MB) module allows to use additional buttons with Drupal.

Code

function _mb_load_css($op) {
  switch ($op) {
    case 'admin':
      drupal_add_css(drupal_get_path('module', 'mb') . '/mb_admin.css');
      break;
    case 'frontend':
      drupal_add_css(drupal_get_path('module', 'mb') . '/mb_frontend.css');
      break;
  }
}