File manager - Edit - /usr/local/cpanel/base/frontend/jupiter/_assets/temporary_domain_banner.html.tt
Back
[% # Acceptable app_name values: # - forwarders # - email_routing # - autoresponders # - default_address # - mailing_lists SET domains_count = domains_count, app_name = app_name, banner_id = banner_id || 'no-registered-domains-banner', banner_testid = data_testid || 'no-registered-domains-banner', has_addon_feature = CPANEL.feature("addondomains"); SET info_string = ""; SWITCH app_name; CASE 'email_routing'; IF has_addon_feature; info_string = locale.maketext("You cannot configure email routing for a temporary domain. Contact your hosting provider to update your main domain with a registered domain. Alternatively, you can create an addon domain in the [output,url,_1,Domains,data-testid,_2] interface.",CPANEL.CPVAR.dprefix _ "domains/index.html#/create","create-domain-link"); ELSE; info_string = locale.maketext("You cannot configure email routing for a temporary domain. Contact your hosting provider to update your main domain with a registered domain."); END; CASE 'forwarders'; IF has_addon_feature; info_string = locale.maketext("You cannot create a forwarder for a temporary domain. Contact your hosting provider to update your main domain with a registered domain. Alternatively, you can create an addon domain in the [output,url,_1,Domains,data-testid,_2] interface.",CPANEL.CPVAR.dprefix _ "domains/index.html#/create","create-domain-link"); ELSE; info_string = locale.maketext("You cannot create a forwarder for a temporary domain. Contact your hosting provider to update your main domain with a registered domain."); END; CASE 'autoresponders'; IF has_addon_feature; info_string = locale.maketext("You cannot configure autoresponders for a temporary domain. Contact your hosting provider to update your main domain with a registered domain. Alternatively, you can create an addon domain in the [output,url,_1,Domains,data-testid,_2] interface.",CPANEL.CPVAR.dprefix _ "domains/index.html#/create","create-domain-link"); ELSE; info_string = locale.maketext("You cannot configure autoresponders for a temporary domain. Contact your hosting provider to update your main domain with a registered domain."); END; CASE 'default_address'; IF has_addon_feature; info_string = locale.maketext("You cannot configure a default address for a temporary domain. Contact your hosting provider to update your main domain with a registered domain. Alternatively, you can create an addon domain in the [output,url,_1,Domains,data-testid,_2] interface.",CPANEL.CPVAR.dprefix _ "domains/index.html#/create","create-domain-link"); ELSE; info_string = locale.maketext("You cannot configure a default address for a temporary domain. Contact your hosting provider to update your main domain with a registered domain."); END; CASE 'mailing_lists'; IF has_addon_feature; info_string = locale.maketext("You cannot configure a mailing list with a temporary domain. Contact your hosting provider to update your main domain with a registered domain. Alternatively, you can create an addon domain in the [output,url,_1,Domains,data-testid,_2] interface.",CPANEL.CPVAR.dprefix _ "domains/index.html#/create","create-domain-link"); ELSE; info_string = locale.maketext("You cannot configure a mailing list with a temporary domain. Contact your hosting provider to update your main domain with a registered domain."); END; CASE; # If the app_name is not recognized, we are not displaying the banner. app_name = ''; END; %] [% IF domains_count == 0 && app_name %] <div id="[% banner_id %]" data-testid="[% banner_testid %]" class="alert alert-info temporary-domains-banner"> <span class="glyphicon glyphicon-info-sign"></span> <div class="alert-message"> <strong id="no-registered-domains-info-alert-title" class="alert-title">[% locale.maketext("Information:") %]</strong> <span data-testid="temporary-domains-banner-text">[% info_string %]</span> </div> </div> [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings