[% USE Whostmgr; USE JSON; SET stylesheet_includes = [ Whostmgr.find_file_url('/templates/support/create_support_ticket/index.min.css') ]; SET PAGE_BASE = '/scripts7/create_support_ticket/'; SET PAGE_NAME = Whostmgr.get_page_name_by_url(PAGE_BASE); SET PAGE_DATA = { MAIN_TITLE => PAGE_NAME, # common parent of all views (untranslated) access_id => data.access_id, main_ip => data.main_ip, is_dns_only => data.is_dns_only ? 1: 0, is_tickets_authenticated => data.is_tickets_authenticated ? 1: 0, tickets_hostname => data.tickets_hostname, new_ticket_urls => data.new_ticket_urls, oauth2 => data.oauth2, has_cloud_linux => data.has_cloud_linux ? 1 : 0, has_lite_speed => data.has_lite_speed ? 1: 0, is_cpanel_direct => data.is_cpanel_direct ? 1: 0, is_internal => data.is_internal ? 1: 0, }; 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 = 'create_support_ticket'; %] [% IF PAGE_DATA.is_cpanel_direct OR PAGE_DATA.is_internal %]
[% locale.maketext('This feature is only available if you have purchased a license directly from [asis,cPanel].') %]