|
Lines 151-156
Link Here
|
| 151 |
</option> |
151 |
</option> |
| 152 |
[% END %] |
152 |
[% END %] |
| 153 |
</select> |
153 |
</select> |
|
|
154 |
[% ELSIF ( CHUNK.type_multiple_sortable ) %] |
| 155 |
<ul class="sortable" style="max-width: 30em;"> |
| 156 |
[% FOREACH CHOICE IN CHUNK.CHOICES %] |
| 157 |
<li> |
| 158 |
<i class="fa-solid fa-fw fa-grip-vertical" aria-hidden="true" style="color:#B7B7B7"></i> |
| 159 |
<label for="pref_[% CHUNK.name | html %]_[% CHOICE.value | html %]">[% CHOICE.text | html %]</label> |
| 160 |
[% IF ( CHOICE.selected ) %] |
| 161 |
<input type="checkbox" id="pref_[% CHUNK.name | html %]_[% CHOICE.value | html %]" name="pref_[% CHUNK.name | html %]" value="[% CHOICE.value | html %]" checked="checked" class="preference preference-checkbox"> |
| 162 |
[% ELSE %] |
| 163 |
<input type="checkbox" id="pref_[% CHUNK.name | html %]_[% CHOICE.value | html %]" name="pref_[% CHUNK.name | html %]" value="[% CHOICE.value | html %]" class="preference preference-checkbox"> |
| 164 |
[% END %] |
| 165 |
</li> |
| 166 |
[% END %] |
| 167 |
</ul> |
| 154 |
[% ELSIF ( CHUNK.type_textarea )%] |
168 |
[% ELSIF ( CHUNK.type_textarea )%] |
| 155 |
[% IF ( CHUNK.syntax == "text/html" && Koha.Preference('UseWYSIWYGinSystemPreferences') ) %] |
169 |
[% IF ( CHUNK.syntax == "text/html" && Koha.Preference('UseWYSIWYGinSystemPreferences') ) %] |
| 156 |
<textarea name="pref_[% CHUNK.name | html %]" id="pref_[% CHUNK.name | html %]" class="preference preference-[% CHUNK.class or "short" | html %] mce" rows="20" cols="60">[% CHUNK.value | html %]</textarea> |
170 |
<textarea name="pref_[% CHUNK.name | html %]" id="pref_[% CHUNK.name | html %]" class="preference preference-[% CHUNK.class or "short" | html %] mce" rows="20" cols="60">[% CHUNK.value | html %]</textarea> |