function pagestyle_init in Page Style 6
Same name and namespace in other branches
- 5 pagestyle.module \pagestyle_init()
- 7 pagestyle.module \pagestyle_init()
Implement hook_init().
File
- ./
pagestyle.module, line 347 - Display a style changer on the page and in the browser menu for a better web accessibility.
Code
function pagestyle_init() {
// Execute the defined functions.
pagestyle_print_html();
pagestyle_print_js_css();
pagestyle_jq_plugin();
if (function_exists('variable_get')) {
$pagestyle_javascript = variable_get('pagestyle_javascript', 1);
if ($pagestyle_javascript == 0 || $pagestyle_javascript == 1) {
pagestyle_check();
}
}
}