File manager - Edit - /usr/local/cpanel/base/frontend/jupiter/security/tls_status/index.html.tt
Back
[% USE SSL; SET CPANEL.CPVAR.dprefix = "../../"; SET has_WebServer_role = ExpVar.expand("\$HASROLE{'WebServer'}"); IF !has_WebServer_role; SET domains_api_args = { 'api.filter' => 1, 'api.filter_column' => 'domain', 'api.filter_type' => 'matches', 'api.filter_term' => '^(?!www\\.)', 'hide_temporary_domains' => 1 }; ELSE; SET domains_api_args = { 'hide_temporary_domains' => 1 }; END; SET domains = execute('WebVhosts', 'list_ssl_capable_domains', domains_api_args).data; SET domain_types = execute('DomainInfo','list_domains').data; SET installed_hosts_result = execute('SSL','installed_hosts'); SET installed_hosts = installed_hosts_result.data || []; SET autossl_excluded_domains = execute('SSL','get_autossl_excluded_domains').data; SET autossl_override_enabled = SSL.autossl_override_enabled(); SET autossl_enabled = CPANEL.feature("autossl"); SET has_sslinstall = CPANEL.feature("sslinstall"); SET has_market_feature = CPANEL.feature("market"); SET ddns_enabled = CPANEL.feature("dynamicdns"); SET ddns_domains = ddns_enabled ? execute('DynamicDNS','list').data : []; SET autossl_provider = SSL.get_autossl_provider(); TRY; SET autossl_can_wildcard = SSL.autossl_supports_wildcard(); CATCH; SET autossl_can_wildcard = 0; END; SET has_market = has_market_feature ? 1 : 0; IF has_market; SET products = execute('Market', 'get_all_products', { 'api.filter'=>1, 'api.filter_type_0'=>'eq', 'api.filter_term_0'=>'ssl_certificate', 'api.filter_column_0'=>'product_group', 'api.filter_type_1'=>'eq', 'api.filter_term_1'=>'1', 'api.filter_column_1'=>'enabled', "api.sort"=>1, 'api.sort_column_0' => "recommended", "api.sort_method_0" => "numeric", "api.sort_reverse_0" => "1", 'api.sort_column_1' => "x_price_per_domain", "api.sort_method_1" => "numeric" }).data; ELSE; SET products = []; END; IF SSL.should_show_unified_ssl_ui(); SET page_title_text = locale.maketext('SSL/TLS Certificates'); ELSE; SET page_title_text = locale.maketext('SSL/TLS Status'); END; %] [% WRAPPER '_assets/master.html.tt' app_key = 'tls_status' use_master_bootstrap = 0 page_title = page_title_text embed_stylesheets = ['css/ssl.css'] page_stylesheets = ['security/tls_status/index.css'] -%] [% PROCESS '_assets/_ssl_tls_tabs.html.tt' active_tab = 'status' %] <section id="txtPageDescription" class="description"> [% locale.maketext('You can use this interface to view the [asis,SSL] status of your domains.') %] [% locale.maketext("For more information on this interface, read the [output,url,_1,documentation,target,_2,id,_3].", "https://go.cpanel.net/tlsstatus", "_blank", "lnktlsstatusDocumentation") %] </section> <div ng-controller="BaseController" class="ng-cloak" ng-cloak id="app_tlsStatus"> <div class="loading" ng-show="loading"> <div class="callout callout-info"> <span class="fas fa-spinner fa-lg fa-spin"></span> [% locale.maketext('Loading …') %] </div> </div> <!-- NOTE: leave the alert-group in single quotes --> <cp-alert-list alert-group="'tlsStatus'"></cp-alert-list> <div ng-class="{'view-disabled':loading}" class="animate-view" ng-view></div> </div> <script type="text/javascript"> PAGE = {}; PAGE.domains = [% domains.json() %]; PAGE.ddns_domains = [% ddns_domains.json() %] PAGE.domain_types = [% domain_types.json() %]; PAGE.installed_hosts = [% installed_hosts.json() %]; PAGE.products = [% products.json() %]; PAGE.hasWebServerRole = !![% has_WebServer_role || 0 %]; PAGE.has_tls_wizard_feature = [% JSON.stringify(CPANEL.feature('tls_wizard')) %]; PAGE.has_market_feature = [% has_market_feature.json() %]; PAGE.has_market = [% has_market.json() %]; PAGE.autossl_override_enabled = [% autossl_override_enabled.json() %]; PAGE.autossl_enabled = [% autossl_enabled.json() %]; PAGE.ddnsEnabled = [% ddns_enabled.json() %]; PAGE.autossl_provider = [% autossl_provider.json() %]; PAGE.autossl_excluded_domains = [% autossl_excluded_domains.json() %]; PAGE.autossl_can_wildcard = [% autossl_can_wildcard.json() %]; PAGE.has_sslinstall = [% has_sslinstall.json() %]; PAGE.show_unified_ssl_ui = [% SSL.should_show_unified_ssl_ui() ? 'true' : 'false' %]; PAGE.show_autossl_in_unified_ssl_ui = [% SSL.should_show_autossl_in_unified_ssl_ui() ? 'true' : 'false' %]; [% INSERT 'sharedjs/asn1_optimized.js' %] [% INSERT "sharedjs/ssl_optimized.js" %] [% INSERT 'cjt/ssl-min.js' %] </script> [% PROCESS '_assets/cjt2_header_include.tt' %] [% END #wrapper %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings