function shadowbox_init in Shadowbox 6
Same name and namespace in other branches
- 6.4 shadowbox.module \shadowbox_init()
- 6.2 shadowbox.module \shadowbox_init()
- 6.3 shadowbox.module \shadowbox_init()
- 7.4 shadowbox.module \shadowbox_init()
- 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();
}
}