Commit c62df20d authored by chirag shah's avatar chirag shah Committed by Bostjan Kovac
Browse files

Issue #2739114 by chishah92, Charles Belov, mayurjadhav: Change warning...

Issue #2739114 by chishah92, Charles Belov, mayurjadhav: Change warning message to be more user friendly
parent 195d9278
Loading
Loading
Loading
Loading
+1 −1
Changes for autologout.admin.inc: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -83,7 +83,7 @@ function autologout_settings() {
  $form['autologout_message']  = array(
    '#type' => 'textarea',
    '#title' => t('Message to display in the logout dialog'),
    '#default_value' => variable_get('autologout_message', 'Your session is about to expire. Do you want to reset it?'),
    '#default_value' => variable_get('autologout_message', 'We are about to log you out for inactivity. If we do, you will lose any unsaved work. Do you need more time?'),
    '#size' => 40,
    '#description' => t('This message must be plain text as it might appear in a JavaScript confirm dialog.')
      . ' ' . t('This text will passed through <a href="!url">filter_xss</a>.',
+1 −1
Changes for autologout.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -384,7 +384,7 @@ function autologout_init() {
  drupal_alter('autologout_redirect_url', $redirect_url, $redirect_query);

  // Get all settings JS will need for dialog.
  $msg = t(variable_get('autologout_message', 'Your session is about to expire. Do you want to reset it?'));
  $msg = t(variable_get('autologout_message', 'We are about to log you out for inactivity. If we do, you will lose any unsaved work. Do you need more time?'));
  $settings = array(
    'timeout' => $refresh_only ? ($timeout * 500) : ($timeout * 1000),
    'timeout_padding' => $timeout_padding * 1000,