You are here

function simple_dialog_init in Simple Dialog 7

Implements hook_init().

File

./simple_dialog.module, line 12

Code

function simple_dialog_init() {
  if (variable_get('simple_dialog_js_all', 1)) {
    simple_dialog_add_js();
  }
  drupal_add_css(drupal_get_path('module', 'simple_dialog') . '/css/simple_dialog.css');
}