You are here

function shadowbox_init in Shadowbox 6

Same name and namespace in other branches
  1. 6.4 shadowbox.module \shadowbox_init()
  2. 6.2 shadowbox.module \shadowbox_init()
  3. 6.3 shadowbox.module \shadowbox_init()
  4. 7.4 shadowbox.module \shadowbox_init()
  5. 7.3 shadowbox.module \shadowbox_init()

Implementation of hook_init().

File

./shadowbox.module, line 70
Shadowbox, a JavaScript media viewer application for displaying content in a modal dialog.

Code

function shadowbox_init() {
  if (shadowbox_active() && variable_get('shadowbox_enabled', TRUE)) {
    shadowbox_header();
  }
}