[%- # Currently the only two modes are debug and release, but this # might be expanded in the future. IF CPANEL.is_debug_mode_enabled(); SET mode = 'debug'; SET optimized = 0; ELSE; SET mode = 'release'; SET optimized = 1; END; SET disp_apps = { 'whostmgrd' => 'WHM', 'webmaild' => 'Webmail', 'cpaneld' => 'cPanel', }; SET disp_app = disp_apps.item(app_name) || 'cPanel'; SET app_images = { 'whostmgrd' => 'whm-logo_white.svg', 'webmaild' => 'webmail-logo.svg', 'cpaneld' => 'wp-squared.svg', }; # get app modules based on $app_name SET app_image = app_images.$app_name || app_images.cpaneld; SET app_image = MagicRevision(get_theme_url("images/" _ app_image)); SET stylesheets = [ MagicRevision(get_theme_url('wpsq_style_login_optimized.css')) ]; -%]