MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //var/cpanel/perl/easy/Cpanel/Easy/easy_apache_ui/ea_wizard_wrapper.tmpl
[% MACRO uriencode BLOCK -%][% key | uri -%]=[% value | uri -%]&[% END -%]
<form name="ea3_form" method="post" action="[% wizardData.pageUrl %]">
    [% SET stepUrl = '' -%]

    [% FOREACH item IN wizardData.formData.keys -%]
        <input type="hidden" name="[% item | html %]" value="[% wizardData.formData.$item | html %]" />
        [%# Construct the url part for the steps navigation -%]
        [% stepUrl = stepUrl _ uriencode(key=item, value=wizardData.formData.$item) -%]
    [% END -%]

    [% IF wizardData.nextStepKey -%]
        [%# RENDER form data as input hidden stuff -%]
        <input type="hidden" name="action" value="[% wizardData.nextStepKey %]" />
    [% END -%]

    [%# Remove trailing '&' and encode the step's url part -%]
    [% stepUrl = stepUrl.remove('\&$') -%]

    [%# RENDER Wizard Navigation -%]
    <ul id="eaNavMenu" class="navMenu">
        [% FOREACH step IN wizardData.wizardSteps -%]
            [% IF !step.isVisited %]
                <li class="notVisited">
                    [% step.stepOrder _ ". " _ step.stepName -%]
                </li>
            [% ELSIF step.isCurrent %]
                <li class="current">
                    [% step.stepOrder _ ". " _ step.stepName -%]
                </li>
            [% ELSE %]
                <li class="visited">
                    <a href="[% wizardData.pageUrl %]?action=[% step.stepKey %]&[% stepUrl %]">
                        [% step.stepOrder _ ". " _ step.stepName -%]
                    </a>
                </li>
            [% END -%]
            [% IF !loop.last -%]
                <li class="stepSeparator"> &#8594; </li>
            [% END -%]
        [% END -%]
    </ul>

    <hr />

    [%- content -%]
</form>