You are here

function _login_shadowbox_js_css in Shadowbox 7.4

3 calls to _login_shadowbox_js_css()
login_shadowbox_login in login_shadowbox/login_shadowbox.pages.inc
login_shadowbox_password in login_shadowbox/login_shadowbox.pages.inc
login_shadowbox_register in login_shadowbox/login_shadowbox.pages.inc

File

login_shadowbox/login_shadowbox.pages.inc, line 74

Code

function _login_shadowbox_js_css() {
  $path = drupal_get_path('module', 'login_shadowbox');
  $css_path = variable_get('login_shadowbox_css', $path . '/css/login_shadowbox.css');
  drupal_add_css($css_path, array(
    'group' => 'CSS_DEFAULT',
  ));
  drupal_add_js($path . '/scripts/login_shadowbox_messages.js');
}