[%
USE Whostmgr;
USE JSON;
USE String;
SET PAGE_BASE = '/scripts2/updateconf/';
WRAPPER 'master_templates/master.tmpl'
header = locale.maketext('Update Preferences'),
breadcrumburl = PAGE_BASE,
base = PAGE_BASE,
stylesheets = [ '/templates/common/revised_notices.min.css',
'/templates/upcp/updateconf.min.css',
Whostmgr.find_file_url('/templates/update_config/index.min.css') ],
theme = 'bootstrap'
app_key = 'update_preferences';
%]
[% locale.maketext('Loading …') %]
[%- locale.maketext("You can use this interface to choose when and how the system updates your server. For more information, read our [output,url,_1,documentation about release tiers and updates,target,_2].", 'https://go.cpanel.net/versionformat', 'cpdocs-version-format') %]
[% locale.maketext('Automatic updates are disabled for this server. We strongly recommend enabling automatic updates.') %]
[% PROCESS 'warnings/_mysql_version.tmpl' %]
[% locale.maketext('The system saved your settings locally and will apply your changes during the next update. To update now, click [output,url,_1,here,id,updateNowBtn].','../scripts2/upcpform') %]
[%- FOREACH server_result IN data.cluster_server_info.results -%]
[%- server_result.server -%]
[%- IF server_result.status == 'OK' -%]
[%- ELSE -%]
[%- END -%]
[%- IF server_result.exists('message') -%]
[%- server_result.message -%]
[%- END -%]
[%- END -%]
[% END -%]
[% IF data.save_fail_reason -%]
[% locale.maketext('The system failed to save your new settings: [_1]', data.save_fail_reason.html()) %]
[% ELSE -%]
[% locale.maketext('The system failed to save your new settings.') %]
[% END -%]
[%- locale.maketext("[output,strong,About Development Releases:] Odd-numbered builds are development builds. [output,strong,Don’t] install them in a production environment. They change often and we may not have fully tested or documented them yet.") %]