function theme_autologout_block in Automated Logout 6.4
Same name and namespace in other branches
- 6.3 autologout.module \theme_autologout_block()
- 7.4 autologout.module \theme_autologout_block()
Returns HTML for the autologout block.
1 theme call to theme_autologout_block()
- autologout_create_timer in ./
autologout.module - Get the timer HTML markup.
File
- ./
autologout.module, line 233 - Used to automagically log out a user after a preset time.
Code
function theme_autologout_block($variables) {
$time_remaining = $variables['time_remaining'];
$timeformat = $variables['timeformat'];
return "<div id='timer'><span class='jst_timer'>\n <span class='interval' style='display: none;'>{$time_remaining}</span>\n <span class='format_txt' style='display:none;'>{$timeformat}</span>\n </span></div>";
}