Loading autologout.admin.inc +1 −1 Changes for autologout.admin.inc: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ function autologout_admin_settings() { ); $form['autologout']['markup1'] = array( '#type' => 'markup', '#value' => theme('autologout_generic', 1), '#value' => t('Set-up your site policy by role:-'), ); $form['autologout']['enabled'] = array( '#type' => 'checkbox', Loading autologout.module +0 −39 Changes for autologout.module: 0 added lines, 39 removed lines. Original line number Diff line number Diff line Loading @@ -594,45 +594,6 @@ function _autologout_local_settings($name = FALSE) { /* }}} */ /* {{{ autologout_theme() */ /** * Implementation of hook_theme(). */ function autologout_theme($existing, $type, $theme, $path) { $themes = array( 'autologout_generic' => array( 'variables' => array('arg' => 0) ) ); return $themes; } /* }}} */ /** * theme_autologout_generic() * * A general theme function used when HTML is being inserted into * a text string. Allows themers the oppertunity to alter html the * module may want to output to suit their site/theme. * * @param integer $arg * A constant defining what string to return. * @return string * The actual string. */ function theme_autologout_generic($variables) { switch ($variables['arg']) { case 0: return '<br/><b>'. t('Set-up your site policy by role:-') .'</b>'; default: return ''; } } /* {{{ _autologout_debug() */ function _autologout_debug($s) { if (defined("AUTOLOGOUT_DEBUG") && AUTOLOGOUT_DEBUG) { Loading Loading
autologout.admin.inc +1 −1 Changes for autologout.admin.inc: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ function autologout_admin_settings() { ); $form['autologout']['markup1'] = array( '#type' => 'markup', '#value' => theme('autologout_generic', 1), '#value' => t('Set-up your site policy by role:-'), ); $form['autologout']['enabled'] = array( '#type' => 'checkbox', Loading
autologout.module +0 −39 Changes for autologout.module: 0 added lines, 39 removed lines. Original line number Diff line number Diff line Loading @@ -594,45 +594,6 @@ function _autologout_local_settings($name = FALSE) { /* }}} */ /* {{{ autologout_theme() */ /** * Implementation of hook_theme(). */ function autologout_theme($existing, $type, $theme, $path) { $themes = array( 'autologout_generic' => array( 'variables' => array('arg' => 0) ) ); return $themes; } /* }}} */ /** * theme_autologout_generic() * * A general theme function used when HTML is being inserted into * a text string. Allows themers the oppertunity to alter html the * module may want to output to suit their site/theme. * * @param integer $arg * A constant defining what string to return. * @return string * The actual string. */ function theme_autologout_generic($variables) { switch ($variables['arg']) { case 0: return '<br/><b>'. t('Set-up your site policy by role:-') .'</b>'; default: return ''; } } /* {{{ _autologout_debug() */ function _autologout_debug($s) { if (defined("AUTOLOGOUT_DEBUG") && AUTOLOGOUT_DEBUG) { Loading