MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //var/cpanel/template_compiles/usr/local/cpanel/shared/templates/sslinstall_include.tmpl
#------------------------------------------------------------------------
# Compiled template generated by the Template Toolkit version 2.25
#------------------------------------------------------------------------

Template::Document->new({
    METADATA => {
        'modtime' => '1421143868',
        'name' => '/usr/local/cpanel/shared/templates/sslinstall_include.tmpl',
    },
    BLOCK => sub {
        my $context = shift || die "template sub called without context\n";
        my $stash   = $context->stash;
        my $output  = '';
        my $_tt_error;
        
        eval { BLOCK: {
#line 6 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    # USE
    $stash->set('HTMLOptions',
                $context->plugin('HTMLOptions'));
#line 6 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    # USE
    $stash->set('NVData',
                $context->plugin('NVData'));
#line 6 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $stash->set('browse_source_is_apache', ($stash->get(['NVData', 0, 'get_page_nvdata', 0, 'browse_source', 0]) eq 'apache'));
    
    $output .=  "\n<script type=\"text/plain\" id=\"browsessl_default_form\">\n    <p>{{{introBlurb_html}}}</p>\n    ";
#line 33 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    if ($stash->get(['CPANEL', 0, 'is_whm', 0]) && ! $stash->get(['CPANEL', 0, 'is_dnsonly', 0])) {
    $output .=  "\n        <input id=\"cert_browser_users_radio\" type=\"radio\" name=\"browse_source\" value=\"user\" ";
#line 15 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get('browse_source_is_apache') ? '' : 'checked';
    $output .=  ">\n        <label for=\"cert_browser_users_radio\">";
#line 16 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ 'Browse Account:' ]]);
    $output .=  "</label>\n\n        <select id=\"users\" name=\"users\" ";
#line 18 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get('browse_source_is_apache') ? 'disabled' : '';
    $output .=  ">";
    
    $output .=  "        ";
#line 20 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['cert_browser_users', 0, 'options_as_html', [ { 'value' => 'user', 'text' => 'user', 'class' => 'class', 'selected' => $stash->get(['CPANEL', 0, 'authuser', 0])  } ]]);
    $output .=  "        </select>\n\n        <p>\n        <input id=\"cert_browser_apache_radio\" type=\"radio\" name=\"browse_source\" value=\"apache\" ";
#line 29 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get('browse_source_is_apache') ? 'checked' : '';
    $output .=  ">\n        <label for=\"cert_browser_apache_radio\">";
#line 30 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ 'Browse Apache' ]]);
    $output .=  "</label>\n        </p>\n\n    ";
    }
    
    $output .=  "\n    <label for=\"certlist\">";
#line 34 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ 'Certificate:' ]]);
    $output .=  "</label>\n    <div id=\"certlist\">\n    </div>\n</script>\n\n<script type=\"text/x-handlebars-template\" id=\"hiddenWhiteSpaceListTemplate\">\n<ul>\n  {{#each data}}\n  <li title={{{this.title}}}>{{{this.value}}}</li>\n  {{/each}}\n</ul>\n</script>\n\n<script type=\"text/x-handlebars-template\" id=\"nonSniUpdateSuccessTemplate\">\n<div class=\"success-popup\">\n    <div class=\"success-popup-body\">\n        <p>";
#line 50 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ 'You have successfully updated the certificate for “[_1]” and all other SSL websites on its IP address ([_2]).', '{{domain}}', '{{ip}}' ]]);
    $output .=  "</p>\n        ";
#line 51 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ 'Click “[_1]” to reload this page.', $stash->get(['locale', 0, 'maketext', [ 'OK' ]]) ]]);
    $output .=  "\n    </div>\n</div>\n</script>\n\n<script type=\"text/x-handlebars-template\" id=\"ipSelectorItemTemplate\">\n<div class=\"ip_combo_item {{#if hasssl}}ip_combo_hasssl{{else}}ip_combo_nossl{{/if}}\">\n{{#if isShared}}\n    ";
#line 59 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ '[_1], shared', '{{{ip}}}' ]]);
    $output .=  "\n{{else}}\n    {{{ip}}}\n{{/if}}\n{{#if ipInfo_html}}\n    ({{{ipInfo_html}}})\n{{/if}}\n</div>\n</script>\n\n<script type=\"text/x-handlebars-template\" id=\"installSuccessTemplate\">\n<div class=\"success-popup\">\n    <div class=\"success-popup-body\">\n        <p>{{{statusMessageHTML}}}</p>\n        <p>\n            {{{workingDomainsMessage}}}\n            <ul class='working-domains'>\n            {{#each workingDomains}}\n                {{#if this.makeLink}}\n                    <li><a target=\"_blank\" href=\"https://{{this.domain}}\">{{this.domain}}</a></li>\n                {{else}}\n                    <li>{{{this.domain}}}</li>\n                {{/if}}\n            {{/each}}\n            </ul>\n\n            {{#if warningDomains}}\n                {{{warningDomainsMessage}}}\n                <ul class='warning-domains'>\n                {{#each warningDomains}}\n                    {{#if this.makeLink}}\n                        <li><a target=\"_blank\" href=\"https://{{this.domain}}\">{{this.domain}}</a></li>\n                    {{else}}\n                        <li>{{{this.domain}}}</li>\n                    {{/if}}\n                {{/each}}\n                </ul>\n            {{/if}}\n\n            {{#if extraCertificateDomains}}\n                {{{extraCertificateDomainsMessage}}}\n                <ul class='extra-certificate-domains'>\n                {{#each extraCertificateDomains}}\n                    {{#if this.makeLink}}\n                        <li><a target=\"_blank\" href=\"https://{{this.domain}}\">{{this.domain}}</a></li>\n                    {{else}}\n                        <li>{{this.domain}}</li>\n                    {{/if}}\n                {{/each}}\n                </ul>\n            {{/if}}\n        </p>\n        {{#if needReload}}\n            ";
#line 112 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['locale', 0, 'maketext', [ 'Click “[_1]” to reload this page.', $stash->get(['locale', 0, 'maketext', [ 'OK' ]]) ]]);
    $output .=  "\n        {{/if}}\n    </div>\n</div>\n</script>\n\n";
#line 118 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $stash->set('sslinstall_lexicon', { 'Certificate Authority Bundle' => $stash->get(['locale', 0, 'lextext', [ 'Certificate Authority Bundle' ]]), 'Certificate' => $stash->get(['locale', 0, 'lextext', [ 'Certificate' ]]), 'Description' => $stash->get(['locale', 0, 'lextext', [ 'Description' ]]), 'Domain names on the certificate.' => $stash->get(['locale', 0, 'lextext', [ 'Domain names on the certificate.' ]]), 'Domain' => $stash->get(['locale', 0, 'lextext', [ 'Domain' ]]), 'Domains' => $stash->get(['locale', 0, 'lextext', [ 'Domains' ]]), 'The certificate’s expiration date' => $stash->get(['locale', 0, 'lextext', [ 'The certificate’s expiration date' ]]), 'Expiration' => $stash->get(['locale', 0, 'lextext', [ 'Expiration' ]]), 'Hide' => $stash->get(['locale', 0, 'lextext', [ 'Hide' ]]), 'IP' => $stash->get(['locale', 0, 'lextext', [ 'IP' ]]), 'Installing …' => $stash->get(['locale', 0, 'lextext', [ 'Installing …' ]]), 'Issuer organization name.' => $stash->get(['locale', 0, 'lextext', [ 'Issuer organization name.' ]]), 'Issuer' => $stash->get(['locale', 0, 'lextext', [ 'Issuer' ]]), 'Key' => $stash->get(['locale', 0, 'lextext', [ 'Key' ]]), 'Loading certificates for “[output,strong,_1]” …' => $stash->get(['locale', 0, 'lextext', [ 'Loading certificates for “[output,strong,_1]” …' ]]), 'Choose a domain.' => $stash->get(['locale', 0, 'lextext', [ 'Choose a domain.' ]]), 'Provide or retrieve a certificate.' => $stash->get(['locale', 0, 'lextext', [ 'Provide or retrieve a certificate.' ]]), 'Provide or retrieve a key.' => $stash->get(['locale', 0, 'lextext', [ 'Provide or retrieve a key.' ]]), 'Enter a valid IP address.' => $stash->get(['locale', 0, 'lextext', [ 'Enter a valid IP address.' ]]), 'SSL Certificate List' => $stash->get(['locale', 0, 'lextext', [ 'SSL Certificate List' ]]), 'SSL Certificate Successfully Updated' => $stash->get(['locale', 0, 'lextext', [ 'SSL Certificate Successfully Updated' ]]), 'SSL Host Successfully Installed' => $stash->get(['locale', 0, 'lextext', [ 'SSL Host Successfully Installed' ]]), 'Select a certificate below:' => $stash->get(['locale', 0, 'lextext', [ 'Select a certificate below:' ]]), 'Self-Signed' => $stash->get(['locale', 0, 'lextext', [ 'Self-Signed' ]]), 'Show' => $stash->get(['locale', 0, 'lextext', [ 'Show' ]]), 'The CA bundle does not match the certificate.' => $stash->get(['locale', 0, 'lextext', [ 'The CA bundle does not match the certificate.' ]]), 'The CA bundle is invalid.' => $stash->get(['locale', 0, 'lextext', [ 'The CA bundle is invalid.' ]]), 'The IP address “[_1]” is not available, or you do not have permission to use it.' => $stash->get(['locale', 0, 'lextext', [ 'The IP address “[_1]” is not available, or you do not have permission to use it.' ]]), 'The SSL certificate also supports [numerate,_1,this domain,these domains], but [numerate,_1,this domain does,these domains do] not refer to the SSL website mentioned above:' => $stash->get(['locale', 0, 'lextext', [ 'The SSL certificate also supports [numerate,_1,this domain,these domains], but [numerate,_1,this domain does,these domains do] not refer to the SSL website mentioned above:' ]]), 'The SSL website is also accessible via [numerate,_1,this domain,these domains], but the certificate does not support [numerate,_1,this domain,these domains]. Web browsers will show a warning when a user accesses [numerate,_1,this domain,these domains] via HTTPS:' => $stash->get(['locale', 0, 'lextext', [ 'The SSL website is also accessible via [numerate,_1,this domain,these domains], but the certificate does not support [numerate,_1,this domain,these domains]. Web browsers will show a warning when a user accesses [numerate,_1,this domain,these domains] via HTTPS:' ]]), 'The SSL website is now active and accessible via HTTPS on [numerate,_1,this domain,these domains]:' => $stash->get(['locale', 0, 'lextext', [ 'The SSL website is now active and accessible via HTTPS on [numerate,_1,this domain,these domains]:' ]]), 'The certificate does not match your selected domain.' => $stash->get(['locale', 0, 'lextext', [ 'The certificate does not match your selected domain.' ]]), 'The certificate information could not be retrieved because of an error: [_1]' => $stash->get(['locale', 0, 'lextext', [ 'The certificate information could not be retrieved because of an error: [_1]' ]]), 'The certificate is not valid.' => $stash->get(['locale', 0, 'lextext', [ 'The certificate is not valid.' ]]), 'The certificate list could not be retrieved because of an error: [_1]' => $stash->get(['locale', 0, 'lextext', [ 'The certificate list could not be retrieved because of an error: [_1]' ]]), 'The key does not match the certificate.' => $stash->get(['locale', 0, 'lextext', [ 'The key does not match the certificate.' ]]), 'The key is invalid.' => $stash->get(['locale', 0, 'lextext', [ 'The key is invalid.' ]]), 'The lookup failed because of an error: [_1]' => $stash->get(['locale', 0, 'lextext', [ 'The lookup failed because of an error: [_1]' ]]), 'This SSL certificate was already installed.' => $stash->get(['locale', 0, 'lextext', [ 'This SSL certificate was already installed.' ]]), 'Use Certificate' => $stash->get(['locale', 0, 'lextext', [ 'Use Certificate' ]]), 'A user-defined description for the certificate.' => $stash->get(['locale', 0, 'lextext', [ 'A user-defined description for the certificate.' ]]), 'When [output,asis,cPanel] installs an SSL certificate onto one of your domains, it also installs the same certificate onto that domain’s “[_1]” subdomain, and vice-versa. Unless your certificate matches both domains, however, only one of the two domains will show as a secure site in a user’s web browser.' => $stash->get(['locale', 0, 'lextext', [ 'When [output,asis,cPanel] installs an SSL certificate onto one of your domains, it also installs the same certificate onto that domain’s “[_1]” subdomain, and vice-versa. Unless your certificate matches both domains, however, only one of the two domains will show as a secure site in a user’s web browser.' ]]), 'You have successfully configured SSL.' => $stash->get(['locale', 0, 'lextext', [ 'You have successfully configured SSL.' ]]), 'You have successfully updated the SSL website’s certificate.' => $stash->get(['locale', 0, 'lextext', [ 'You have successfully updated the SSL website’s certificate.' ]]), 'Because your server does not support [output,acronym,SNI,Server Name Indication], all of your IP address’s SSL websites must use the same certificate; thus, this table only shows certificates that match at least one domain on each of your SSL websites.' => $stash->get(['locale', 0, 'lextext', [ 'Because your server does not support [output,acronym,SNI,Server Name Indication], all of your IP address’s SSL websites must use the same certificate; thus, this table only shows certificates that match at least one domain on each of your SSL websites.' ]]), 'Cancel' => $stash->get(['locale', 0, 'lextext', [ 'Cancel' ]]), 'Certificates that do not have a domain associated with your account are not listed here.' => $stash->get(['locale', 0, 'lextext', [ 'Certificates that do not have a domain associated with your account are not listed here.' ]]), 'Choose a certificate to install.' => $stash->get(['locale', 0, 'lextext', [ 'Choose a certificate to install.' ]]), 'Choose the account that contains the desired certificate to install. Then, select the certificate.' => $stash->get(['locale', 0, 'lextext', [ 'Choose the account that contains the desired certificate to install. Then, select the certificate.' ]]), 'The SSL website is also accessible via [numerate,_1,this domain,these domains], but the certificate does not support [numerate,_1,it,them]. Web browsers will show a warning when accessing [numerate,_1,this domain,these domains] via HTTPS:' => $stash->get(['locale', 0, 'lextext', [ 'The SSL website is also accessible via [numerate,_1,this domain,these domains], but the certificate does not support [numerate,_1,it,them]. Web browsers will show a warning when accessing [numerate,_1,this domain,these domains] via HTTPS:' ]]), 'This account does not have any installable certificates.' => $stash->get(['locale', 0, 'lextext', [ 'This account does not have any installable certificates.' ]]), 'You can manage all of your saved certificates on the [output,url,_1,“Certificates” page].' => $stash->get(['locale', 0, 'lextext', [ 'You can manage all of your saved certificates on the [output,url,_1,“Certificates” page].' ]]), 'SSL is installed; “[_1]” ([numerate,_2,alias,aliases] [list_and,_3]) is primary.' => $stash->get(['locale', 0, 'lextext', [ 'SSL is installed; “[_1]” ([numerate,_2,alias,aliases] [list_and,_3]) is primary.' ]]), 'SSL is installed; “[_1]” is primary.' => $stash->get(['locale', 0, 'lextext', [ 'SSL is installed; “[_1]” is primary.' ]]), 'We recommend that users manage individual subdomains (e.g., “[_1]”, “[_2]”) instead of a single wildcard subdomain (e.g., “[_3]”).' => $stash->get(['locale', 0, 'lextext', [ 'We recommend that users manage individual subdomains (e.g., “[_1]”, “[_2]”) instead of a single wildcard subdomain (e.g., “[_3]”).' ]])  });
    $output .=  "<script>\nYAHOO.lang.augmentObject( LOCALE.LEXICON, ";
#line 176 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $stash->get(['JSON', 0, 'stringify', [ $stash->get('sslinstall_lexicon') ]]);
    $output .=  " );\n</script>\n\n";
#line 179 "/usr/local/cpanel/shared/templates/sslinstall_include.tmpl"
    $output .=  $context->process('ssl_certificate_parse.tmpl');
        } };
        if ($@) {
            $_tt_error = $context->catch($@, \$output);
            die $_tt_error unless $_tt_error->type eq 'return';
        }
    
        return $output;
    },
    DEFBLOCKS => {

    },
});