[% USE JSON; SET account_locale = locale.get_user_locale(), #The account's locale name, in the session locale. direction = locale.get_html_dir_attr(), form = CPANEL.FORM, security_token = CPANEL.ENV.cp_security_token, directory_path = form.dir, file_name = form.file, charset = form.charset, file_charset = form.file_charset, base_url = form.baseurl, base_dir = form.basedir, theme = CPANEL.CPDATA.RS, home_dir_path = CPANEL.ENV.HOME, url = "http://" _ CPANEL.ENV.DOMAIN ; SET file_open_results = execute ("Fileman", "get_file_content", { dir => directory_path, file=> file_name, from_charset => charset}); SET file_info = file_open_results.data; %]
[% IF CPANEL.is_debug_mode_enabled() %] [% ELSE %] [% END %] [% SET lex_path = locale.cpanel_get_lex_path('/usr/local/cpanel/base/frontend/' _ theme _ '/filemanager/editors/html_editor.js', './html_editor.js') %] [% IF lex_path %][% END %] [% PROCESS "_assets/_ajaxapp.html.tt" -%]