2007-07-19 12:40:28 +02:00
|
|
|
<div class="EditableCheckboxGroupField EditableMultiOptionFormField EditableFormField" id="$Name.Attr">
|
|
|
|
<div class="FieldInfo">
|
|
|
|
<% if isReadonly %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<img class="handle" src="sapphire/images/drag_readonly.gif" alt="<% _t('LOCKED', 'These fields cannot be modified') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% else %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<img class="handle" src="sapphire/images/drag.gif" alt="<% _t('DRAG', 'Drag to rearrange order of fields') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<img class="icon" src="sapphire/images/fe_icons/checkboxes.png" alt="<% _t('CHECKBOXGROUP', 'Checkbox group') %>" title="<% _t('CHECKBOXGROUP', 'Checkbox group') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
$TitleField
|
|
|
|
<input type="hidden" name="hiddenDefaultOption" value="$DefaultOption" />
|
2008-01-10 04:28:13 +01:00
|
|
|
<a class="toggler" href="#" title="<% _t('MORE', 'More options') %>"><img src="cms/images/edit.gif" alt="<% _t('MORE', 'More options') %>" /></a>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% if isReadonly %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<img src="cms/images/locked.gif" alt="<% _t('LOCKED', 'These fields cannot be modified') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% else %>
|
|
|
|
<% if CanDelete %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<a class="delete" href="#" title="<% _t('DELETE', 'Delete this field') %>"><img src="cms/images/delete.gif" alt="<% _t('DELETE', 'Delete this field') %>" /></a>
|
2007-07-19 12:40:28 +02:00
|
|
|
<% else %>
|
2008-01-10 04:28:13 +01:00
|
|
|
<img src="cms/images/locked.gif" alt="<% _t('REQUIRED', 'This field is required for this form and cannot be deleted') %>" />
|
2007-07-19 12:40:28 +02:00
|
|
|
<% end_if %>
|
|
|
|
<% end_if %>
|
|
|
|
</div>
|
|
|
|
<div class="hidden">
|
|
|
|
$TemplateOption
|
|
|
|
</div>
|
|
|
|
<div class="ExtraOptions" id="$Name.Attr-extraOptions">
|
|
|
|
<div class="EditableDropdownBox FieldDefault">
|
|
|
|
<ul class="EditableDropdownOptions" id="$Name.Attr-list">
|
|
|
|
<% if isReadonly %>
|
|
|
|
<% control Options %>
|
|
|
|
$ReadonlyOption
|
|
|
|
<% end_control %>
|
|
|
|
<% else %>
|
|
|
|
<% control Options %>
|
|
|
|
$Option
|
|
|
|
<% end_control %>
|
|
|
|
<li class="AddDropdownOption">
|
|
|
|
<input class="text" type="text" name="$Name.Attr[NewOption]" value="" />
|
2008-01-10 04:28:13 +01:00
|
|
|
<a href="#" title="<% _t('ADD', 'Add option to field') %>"><img src="cms/images/add.gif" alt="<% _t('ADD', 'Add new option') %>" /></a>
|
2007-07-19 12:40:28 +02:00
|
|
|
</li>
|
|
|
|
<% end_if %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<% control ExtraOptions %>
|
|
|
|
$FieldHolder
|
|
|
|
<% end_control %>
|
|
|
|
</div>
|
|
|
|
<input type="hidden" name="$Name.Attr[Deleted]" value="" />
|
|
|
|
<input type="hidden" name="$Name.Attr[CustomParameter]" value="$CustomParameter" />
|
|
|
|
<input type="hidden" name="$Name.Attr[Type]" value="EditableCheckboxGroupField" />
|
|
|
|
<input type="hidden" name="$Name.Attr[Sort]" value="-1" />
|
|
|
|
</div>
|