[% USE Whostmgr; USE JSON; SET stylesheet_includes = [ Whostmgr.find_file_url('/templates/backup_configuration/index.min.css') ]; SET jb_logo = Whostmgr.find_file_url('/images/jetbackup.svg'); SET PAGE_BASE = '/scripts/backup_configuration/'; SET PAGE_NAME = Whostmgr.get_page_name_by_url(PAGE_BASE); SET PAGE_DATA = { MAIN_TITLE => PAGE_NAME, # common parent of all views (untranslated) }; WRAPPER 'master_templates/master.tmpl' header = locale.makevar(PAGE_NAME), breadcrumburl = PAGE_BASE, base = PAGE_BASE, stylesheets = stylesheet_includes, CJT2_EXCLUSIVE = 1, theme = 'bootstrap', app_key = 'backup_configuration'; %] [% IF data.show_jetbackup %] [% PROCESS 'backup_configuration/views/jet_backup.ptt' %] [% END %]
[% port_validation_message = locale.maketext('The port number must be between [numf,1] and [numf,65535].') -%] [% std_timeout_validation_message = locale.maketext('You must enter a timeout value between [numf,30] and [numf,300] seconds.') %] [% std_timeout_number_message = locale.maketext('You must enter a positive integer for the timeout value.') %] [% PROCESS 'master_templates/cjt2_header_include.tt' %] [% END %]