File manager - Edit - /usr/local/cpanel/base/frontend/jupiter/backup/wizard.html.tt
Back
[% USE Services; USE ServerRoles; SET CPANEL.CPVAR.headerimg = "../images/tools.gif"; SET CPANEL.CPVAR.dprefix = "../"; SET errors = []; SET under_quota = 0; SET quota_info = execute( 'Quota', 'get_quota_info' ); IF quota_info.status == 0; errors = errors.merge(quota_info.errors); ELSE; under_quota = quota_info.data.under_backup_threshold; threshold_pct = quota_info.data.backup_warning_threshold_pct; END; SET can_backup_db = CPANEL.feature("mysql") && Services.is_service_provided("mysql"); %] [% WRAPPER '_assets/master.html.tt' app_key = 'backup_wizard' include_legacy_stylesheets = 0 include_legacy_scripts = 1 include_cjt = 1 page_stylesheets = ["css2-min/backup.css"] -%] <div class="body-content"> [% IF !CPANEL.feature('backup') %] <meta http-equiv="refresh" content="0;url=../index.html" /> [% ELSE %] <div class="section"> <div id="backup-nav" class="row"> <div class="col-xs-12"> <h2 id="hdrSteps">[% locale.maketext('Steps:') %]</h2> <ol> <li id="tabBackupRestore" class="one"><span class="current">[% locale.maketext("Back Up or Restore") %]</span></li> <li id="tabFullPartial" class="two"><span>[% locale.maketext("Full or Partial Backup") %]</span></li> <li id="tabDownload" class="three"><span>[% locale.maketext("Download") %]</span></li> </ol> </div> </div> <div id="br-wrap" class="row"> <div id="br-content-main" class="col-xs-12 col-sm-6 col-md-6 col-lg-6"> <h4 id="hdrBackup">[% locale.maketext("Back Up") %]</h4> [% IF !under_quota %] <div class="alert alert-warning" id="overdiskquota-backup" role="alert"> <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <span class="alert-message"> <strong class="alert-title">[% locale.maketext('Warning:') %]</strong> <span class="alert-body"> [% locale.maketext("Backup is disabled. Your disk usage is at [numf,_1]% or more of your quota. Free up disk space to continue.", threshold_pct) %] </span> </span> </div> [% END %] <p>[% locale.maketext("This feature allows you to download a compressed copy of all or part of your website.") %]</p> <p>[% locale.maketext("The system will include the following items in the backup file:") %]</p> <ul> [% IF ServerRoles.is_role_enabled('FileStorage') -%] <li>[% locale.maketext("The home directory.") %]</li> [% END -%] [% IF can_backup_db %]<li>[% locale.maketext("Databases.") %]</li>[% END %] [% IF ServerRoles.is_role_enabled('MailReceive') -%] [% IF CPANEL.feature("forwarders") %]<li>[% locale.maketext("Email forwarder configurations.") %]</li>[% END %] [% IF CPANEL.feature("blockers") %]<li>[% locale.maketext("Email filter configurations.") %]</li>[% END %] [% END -%] </ul> <p><a [% IF under_quota %]href="wizard-backup.html"[% ELSE %]disabled[% END %] id="wizard-backup" class="btn btn-primary">[% locale.maketext("Back Up") %]</a></p> </div> <div id="br-content-sec" class="col-xs-12 col-sm-6 col-md-6 col-lg-6"> <h4 id="hdrRestore">[% locale.maketext("Restore") %]</h4> [% IF !under_quota %] <div class="alert alert-warning" id="overdiskquota" role="alert"> <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> <span class="alert-message"> <strong class="alert-title">[% locale.maketext('Warning:') %]</strong> <span class="alert-body"> [% locale.maketext("Restore is disabled. Your disk usage is at [numf,_1]% or more of your quota. Free up disk space to continue.", threshold_pct) %] </span> </span> </div> [% END %] <p>[% locale.maketext("This feature allows you to upload an existing partial backup file in order to restore parts of your website.") %]</p> <p>[% locale.maketext("The system will restore the following items if they exist in the backup file:") %]</p> <ul> [% IF ServerRoles.is_role_enabled('FileStorage') -%] <li>[% locale.maketext("The home directory.") %]</li> [% END -%] [% IF can_backup_db %]<li>[% locale.maketext("Databases.") %]</li>[% END %] [% IF ServerRoles.is_role_enabled('MailReceive') -%] [% IF CPANEL.feature("forwarders") %]<li>[% locale.maketext("Email forwarder configurations.") %]</li>[% END %] [% IF CPANEL.feature("blockers") %]<li>[% locale.maketext("Email filter configurations.") %]</li>[% END %] [% END -%] </ul> <p><a [% IF under_quota %]href="wizard-restore.html"[% ELSE %]disabled[% END %] id="wizard-restore" class="btn btn-primary">[% locale.maketext("Restore") %]</a></p> </div> </div> </div> [% END %] </div> [% END %]
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings