[% IF data.menuid ; THEN ; editmode = 'Edit' ; ELSE ; editmode = 'Add' ; END ; title = editmode _ ' Menu' ; crumb2_name = 'Menu' ; crumb2_href = '/cgi-bin/pages.cgi?act=menu-admin' ; crumb1_name = editmode ; %] [% IF user.access > 4 ; THEN ; master = 1 ; END %] [% IF thanks %]

Menu saved successfully.

[% END %]

Fields marked * are mandatory fields and must be completed.

[% IF errmess %] [% IF errmess == 1 %]

There are invalid or missing fields, as noted by the "∅" symbol.

[% ELSE %]

[% errmess %]

[% END %] [% END %]
[% IF data.menuid %] [% END %]
ID [% data.menuid %]
Name * [% data.name_err %] (internal reference name only)
Title [% data.title_err %] (displayed menu title)
Type * [% data.typeid_err %] [% data.ddtypes %]
Realm * [% data.realm_err %] [% data.ddrealms %]
Parent [% data.parentid_err %] [% data.ddparent %]

[% IF data.menuid %]

Edit Options

[% IF data.typeid == 2 %] [% END %] [% IF data.typeid == 3 %] [% END %] [% IF data.typeid == 4 %] [% END %] [% IF master == 1 %] [% END %] [% FOREACH opt = data.options %] [% IF data.typeid == 2 %] [% END %] [% IF data.typeid == 3 %] [% END %] [% IF data.typeid == 4 %] [% END %] [% IF master == 1 %] [% END %] [% END %]
Order Text HrefImageImage RolloverImage Rollover SelectedAccess Action

[% IF opt.image1 %][% END %]

[% IF opt.image1 %][% END %]

[% IF opt.image2 %][% END %]

[% IF opt.image1 %][% END %]

[% IF opt.image2 %][% END %]

[% IF opt.image3 %][% END %]
[% opt.ddaccess %]

[% IF master == 1 %] [% END %]

Note that options that are left blank will not be displayed.

[% END %]