[% SET CPANEL.CPVAR.dprefix = "../"; SET return_link = "index.html?domain=" _ FORM.domain; SET fm_push_file = execute("Fileman", "get_file_content", {'dir' => RAW_FORM.dir, 'file' => RAW_FORM.file}); %] [% js_code = PROCESS js_block %] [% WRAPPER '_assets/master.html.tt' app_key = 'error_pages' page_scripts = ["libraries/editarea/0.8.2/edit_area/edit_area_full.js"] page_js = js_code -%]

[% FORM.file.remove("\n").remove("\r") %] [% FORM.desc %]

[% locale.maketext("You are editing the error pages for the domain “[_1]”.", FORM.domain) %]
[% IF !fm_push_file.status %] [% FOREACH error IN fm_push_file.errors; SET does_not_exist = error.match(locale.maketext("The file “[_1]” does not exist for the account.", '.*')); %] [% IF !does_not_exist %] [% END %] [% END %] [% END %]
[% INCLUDE _assets/return_link.html.tt id_prefix="lnkJS" return_location=return_link return_link_text=locale.maketext("Go Back") %]
[% END #wrapper %] [% BLOCK js_block %] [% END #js_block %]