[% IF action == 'setquestions'; SET warning = locale.maketext('You have not set up security questions for your account.') _ " " _ locale.maketext('Please take a moment to set up your security questions.'); ELSIF action == 'challenge'; SET warning = locale.maketext('You appear to be logging in from an unknown location.') _ " " _ locale.maketext('Please verify your identity by answering the following security questions:'); END; SET body_class = ''; SWITCH app_name; CASE 'cpaneld'; SET app = 'cPanel'; SET body_class = "cp"; CASE 'whostmgrd'; SET app = 'WHM'; SET body_class = "whm"; CASE DEFAULT; SET app = 'Webmail'; SET body_class = "wm"; END; SET title = locale.maketext('[_1] Login Security',app); SET app_images = { 'whostmgrd' => 'whm-logo_white.svg', 'webmaild' => 'webmail-logo.svg', 'cpaneld' => 'cpanel-logo.svg', }; SET app_image = app_images.$app_name || app_images.cpaneld; SET app_image = MagicRevision(get_theme_url("images/$app_image")); -%]