Viewing File: /usr/local/cpanel/whostmgr/docroot/templates/components/banner.tmpl

<!-- Allow mixpanel tracking if user consent is given. -->
[%
# These checks are taken from /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl
# Ideally this should be part of Whostmgr to make it reusable.
# Copied the checks here so that we do not depend on main.tmpl
USE Whostmgr;
USE JSON;
USE VarCache;
USE NVData;

SET NVDATA_STORE = 'warning-banner';

SET has_analytics = template_exists("/var/cpanel/customizations/whm/includes/cp_analytics_whm.html.tt");
SET server_analytics_setting = CPANEL.analytics_ui_includes_are_enabled();
SET user_consent_analytics_setting = NVData.get('analytics', undef, 0, 'whm') == "on";

SET banner_analytics = "";
IF has_analytics && server_analytics_setting && user_consent_analytics_setting;
    banner_analytics = "banner-analytics";
END;

%]

<div style="margin-top: 1.25rem">
<warning-banner
    title="[% locale.maketext('ATTENTION!') %]"
    campaign-id=[% campaign_id.json %]
    description="[% locale.maketext('To avoid disruption of server administration functionality, below are options for upgrading, or deferring upgrades if necessary.') %]"
    image-url="[% image_url %]"
    image-size="small"
    show-again-in="[% show_again_in %]"
    cp-security-token="[% cp_security_token %]"
    collapsible
    [% banner_analytics %]
>
    <h2>[% locale.maketext('In-place Upgrade') %]</h2>
    <p>
        [% locale.maketext('If you wish to retain licensing services from Hetzner, please upgrade your server to a supported OS version by December 31, 2024, to avoid license cancellation.') %]
        [% locale.maketext('The cPanel [output,url,_1,ELevate,title,ELevate,target,_blank] tool is designed to facilitate in-place upgrades between CloudLinux 7/CentOS 7 and AlmaLinux 8 based installations.','https://cpanel.github.io/elevate/') %]
    </p>

    <h2>[% locale.maketext('Preserve your Existing License via cPanel Online Store') %]</h2>
    <p>
        [% locale.maketext('Not quite ready to upgrade your server’s underlying operating system? Keep your current server configuration and receive license support by setting up an account with cPanel’s Online Store.') %]
        [% locale.maketext('To become a cPanel direct customer, and to get a special price for your monthly product subscription for 12 months, click the following link:') %]
        [% locale.maketext('[output,url,_1,Online Store Special Offer,title,Online Store Special Offer,target,_blank]','https://go.cpanel.net/hetzner') %].
    </p>
    <br/>
    <p>
        [% locale.maketext('[output,strong,Promotion Details]') %]
        <ul>
            <li>[% locale.maketext('The special promotional price is available until February 1, 2025') %]</li>
            <li>[% locale.maketext('20% off the base cPanel license cost') %]</li>
            <li>[% locale.maketext('Bulk account charges for licenses with more than 100 accounts are waived for January 2025') %]</li>
            <li>[% locale.maketext('Extended Lifecycle Program charges are waived for January 2025') %]</li>
        </ul>
    </p>

    <h2>[% locale.maketext('Extended Support directly from cPanel') %]</h2>
    <p>
        [% locale.maketext('In the event your server cannot be updated by December 31, 2024, you can still receive license support as a cPanel Online Store customer – however, the server will be automatically enrolled in the Extended Lifecycle Program (ELS). The ELS program will support an unsupported operating system with a cPanel license until the end of 2025. An additional 20% of the base license cost will be applied to cover security updates. Learn more about cPanel’s Extended Lifecycle Support program here:') %]
        [% locale.maketext('[output,url,_1,Extended Lifecycle Support Program,title,Extended Lifecycle Support Program,target,_blank]','https://cpanel.net/blog/announcements/extended-lifecycle-support-oses-update/') %]
    </p>

</warning-banner>
</div>
Back to Directory File Manager