File manager - Edit - /usr/local/cpanel/base/frontend/jupiter/account-preferences/index.html.tt
Back
[% # Copyright 2024 WebPros International, LLC # All rights reserved. # copyright@cpanel.net http://cpanel.net # This code is subject to the cPanel license. Unauthorized copying is prohibited. %] [% USE ExpVar; USE JSON; USE NVData; SET user_analytics_consent_setting_analytics = NVData.get('analytics', undef, 0, 'cpanel'); SET systemNotificationData = NVData.get('common-alertList', undef, 0, 'cpanel'); SET localeFullName = locale.get_user_locale_name(); SET account_locale = locale.get_user_locale(); SET account_locale_name = locale.get_locale_name_or_nothing(account_locale,1) || "($account_locale)"; SET webdav_check_digest = Api2.exec("WebDisk", "hasdigest", {} ); IF webdav_check_digest.size; SET webdav_hasdigest = webdav_check_digest.0.hasdigest; END; Api2.pre_exec("CustInfo", "contactemails"); SET contactInfo=Api2.exec("CustInfo" , "contactemails" , {}); Api2.post_exec("CustInfo", "contactemails"); Api2.pre_exec("CustInfo", "contactprefs"); SET contactPreferences=Api2.exec("CustInfo" , "contactprefs" , {}); Api2.post_exec("CustInfo", "contactprefs"); -%] [% USE JSON; SET CPANEL.CPVAR.dprefix = "../"; SET TEMPLATE_PATH = 'account-preferences/'; SET APP_KEY = 'account_preferences'; SET ROUTER_PATH = cp_security_token _ breadcrumb_url; SET style_sheets = []; SET scripts = []; # Do not change this name unless it is also changed in the partials below. # The following content is inserted by underscore-template-loader's require macro. # #---------------------------------------------------- # ∨∨∨ THIS IS GENERATED CODE, DO NOT MODIFY IT ∨∨∨ #---------------------------------------------------- # # Build webpack css bundle list style_sheets.push(TEMPLATE_PATH _ 'styles.040f0746cb571e42.css'); # Build webpack javascript bundle list scripts.push(TEMPLATE_PATH _ 'runtime.bf4cab736aed20b4.js'); scripts.push(TEMPLATE_PATH _ 'vendor-c0d76f48.64521372489a2aed.js'); scripts.push(TEMPLATE_PATH _ 'vendor-0bc5b059.a2854b26b0657517.js'); scripts.push(TEMPLATE_PATH _ 'vendor-89d5c698.435faf2638f3408a.js'); scripts.push(TEMPLATE_PATH _ 'polyfills.c8222267498c376b.js'); scripts.push(TEMPLATE_PATH _ 'main.77cd45ddb2049f4b.js'); # #---------------------------------------------------- # ^^^ THIS IS GENERATED CODE, DO NOT MODIFY IT ^^^ #---------------------------------------------------- WRAPPER '_assets/master.html.tt' app_key = APP_KEY, base = RESOURCE_PATH, page_js = js_code include_legacy_stylesheets = 0, include_legacy_scripts = 0, include_cjt = 0, use_master_bootstrap = 1, page_stylesheets = style_sheets, page_scripts = scripts, is_jupiter_style = 1, is_ng = 1, theme = 'jupiter', skipbreadcrumb = 1, %] <cp-acct-pref-root></cp-acct-pref-root> <script> var PAGE = window.PAGE || {}; PAGE.base = [% ROUTER_PATH.json() %]; PAGE.systemNotification = [% systemNotificationData.json %]; PAGE.analytics_info = {}; PAGE.analytics_info.analytics = [% user_analytics_consent_setting_analytics.json %]; PAGE.localeFullName = [% localeFullName.json %]; PAGE.account_locale = [% account_locale.json %]; PAGE.account_locale_name = [% account_locale_name.json %]; PAGE.contactInfo = [% contactInfo.json %] PAGE.contactEmails = [% contactEmails.json %] PAGE.user = [% CPANEL.user.json %]; PAGE.mainDomain = [% CPANEL.CPDATA.DNS.html.json() %]; PAGE.webdav_hasdigest = [% webdav_hasdigest.html || 'null' %] PAGE.contactPreferences = [% contactPreferences.json %]; PAGE.features = { setlang: [% CPANEL.feature('setlang') %], updatecontact: [% CPANEL.feature('updatecontact') %], updatenotificationprefs: [% CPANEL.feature('updatenotificationprefs') %], password: [% CPANEL.feature('password') %], isUserAnalyticsRequiredByLeika: [% is_user_analytics_required_by_leika ? 'true' : 'false' %], }; </script> [% # This is a workaround to preload the font for the ng-select element. # Without it, the font needed for some characters is not loaded until the # user ineracts with the ng-select element. That delay causes fonts to 'flash' # very briefly for the first interaction with ng-select. %] <span style="visibility:hidden; font-weight: 600; font-family: var(--cp-body-font-family)"></span> [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings