function disclaimer_footer in Disclaimer 6
Declare footer hook
Return value
string A string containing HTML to be inserted for jqModal
File
- ./
disclaimer.module, line 84 - Create and show disclaimer for your site. Visotors need js enabled and accept cookie
Code
function disclaimer_footer() {
global $user;
if (!user_access('bypass disclaimer') || variable_get('disclaimer_logged', 1) == 1 && $user->uid) {
if (variable_get('disclaimer_modal', 'thickbox') == 'jqModal') {
return '<div id="disclaimer" class="jqmWindow" style="display: none;"> </div>';
}
}
}