View | Details | Raw Unified | Return to bug 29052
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-7 / +12 lines)
Lines 806-838 fieldset { Link Here
806
806
807
        div {
807
        div {
808
            &.hint {
808
            &.hint {
809
                margin: .5em 0;
809
                font-size: 105%;
810
                margin-left: 10.5em;
810
                margin: .5rem 0;
811
                margin-left: 10.5rem;
811
            }
812
            }
812
        }
813
        }
813
814
814
        label {
815
        label {
815
            float: left;
816
            float: left;
816
            font-weight: bold;
817
            font-weight: bold;
817
            margin-right: 1em;
818
            margin-right: 1rem;
818
            text-align: right;
819
            text-align: right;
819
            width: 9em;
820
            width: 9rem;
820
821
821
            &.error {
822
            &.error {
822
                float: none;
823
                float: none;
823
                margin-left: 1em;
824
                margin-left: 1rem;
824
                width: auto;
825
                width: auto;
825
            }
826
            }
826
827
827
            &.inline {
828
            &.inline {
828
                display: inline;
829
                display: inline;
829
                float: none;
830
                float: none;
830
                margin-left: 1em;
831
                margin-left: 1rem;
831
            }
832
            }
832
833
833
            &.radio {
834
            &.radio {
834
                display: inline-block;
835
                display: inline-block;
835
                margin: 0 1em 0 0;
836
                margin: 0 1rem 0 0;
836
                padding: 0;
837
                padding: 0;
837
                width: auto;
838
                width: auto;
838
            }
839
            }
Lines 941-946 fieldset { Link Here
941
                text-align: right;
942
                text-align: right;
942
                width: 9em;
943
                width: 9em;
943
            }
944
            }
945
946
            &.hint {
947
                font-size: 105%;
948
            }
944
        }
949
        }
945
950
946
        table {
951
        table {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt (-3 / +3 lines)
Lines 125-131 Link Here
125
                <thead>
125
                <thead>
126
                    <tr>
126
                    <tr>
127
                        <th>Name</th>
127
                        <th>Name</th>
128
                        <th>Authorised value category</th>
128
                        <th>Authorized value category</th>
129
                        [% IF show_marcfield %]
129
                        [% IF show_marcfield %]
130
                            <th>MARC field</th>
130
                            <th>MARC field</th>
131
                        [% END %]
131
                        [% END %]
Lines 170-177 Link Here
170
                        <span class="required">Required</span>
170
                        <span class="required">Required</span>
171
                    </li>
171
                    </li>
172
                    <li>
172
                    <li>
173
                        <label for="av">Authorised value category: </label>
173
                        <label for="av">Authorized value category: </label>
174
                        <select name="authorised_value_category">
174
                        <select id="av" name="authorised_value_category">
175
                            <option value="">None</option>
175
                            <option value="">None</option>
176
                            [% PROCESS options_for_authorised_value_categories authorised_value_categories = AuthorisedValues.GetCategories({selected => field.authorised_value_category}) %]
176
                            [% PROCESS options_for_authorised_value_categories authorised_value_categories = AuthorisedValues.GetCategories({selected => field.authorised_value_category}) %]
177
                        </select>
177
                        </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-2 / +2 lines)
Lines 149-155 Link Here
149
                        [%- END -%]
149
                        [%- END -%]
150
                    [%- END -%]
150
                    [%- END -%]
151
                    </select>
151
                    </select>
152
                    (ignore means that the subfield does not display in the record editor)
152
                    <div class="hint">Ignore means that the subfield does not display in the record editor</div>
153
                </li>
153
                </li>
154
                <li>
154
                <li>
155
                    <fieldset>
155
                    <fieldset>
Lines 181-187 Link Here
181
                                [% ELSE %]
181
                                [% ELSE %]
182
                                    <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
182
                                    <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
183
                                [% END %]
183
                                [% END %]
184
                                (if checked, it means that the subfield is a URL and can be clicked)
184
                                <span class="hint">If checked, it means that the subfield is a URL and can be clicked.</span>
185
                            </li>
185
                            </li>
186
                            <li>
186
                            <li>
187
                                <label for="defaultvalue[% loo.row | html %]">Default value:</label>
187
                                <label for="defaultvalue[% loo.row | html %]">Default value:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-1 / +1 lines)
Lines 214-220 Authority MARC framework &rsaquo; Administration &rsaquo; Koha Link Here
214
                <option value=""></option>
214
                <option value=""></option>
215
                [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %]
215
                [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => authorised_value ) %]
216
            </select>
216
            </select>
217
            (if you select a value here, the indicators will be limited to the authorized value list)
217
            <div class="hint">If you select a value here, the indicators will be limited to the authorized value list</div>
218
        </li>
218
        </li>
219
        </ol>
219
        </ol>
220
        </fieldset>
220
        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-1 / +1 lines)
Lines 133-139 Authorized values &rsaquo; Administration &rsaquo; Koha Link Here
133
                  [% END %]
133
                  [% END %]
134
                [% END %]
134
                [% END %]
135
            </select>
135
            </select>
136
            <span>Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.</span>
136
            <div class="hint">Select 'All libraries' if this authorized value must be displayed all the time. Otherwise select libraries you want to associate with this value.</div>
137
        </li>
137
        </li>
138
138
139
		</ol>
139
		</ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt (-2 / +2 lines)
Lines 122-128 Link Here
122
                                    [% ELSE %]
122
                                    [% ELSE %]
123
                                        <input type="checkbox" name="credit_number_enabled" id="credit_number_enabled" value="1" />
123
                                        <input type="checkbox" name="credit_number_enabled" id="credit_number_enabled" value="1" />
124
                                    [% END %]
124
                                    [% END %]
125
                                    <span>Enable automatic generation of credit number (see <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AutoCreditNumber">AutoCreditNumber</a>)</span>
125
                                    <span class="hint">Enable automatic generation of credit number (see <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=AutoCreditNumber">AutoCreditNumber</a>)</span>
126
                                </li>
126
                                </li>
127
                                <li>
127
                                <li>
128
                                    <label for="branches">Libraries limitation: </label>
128
                                    <label for="branches">Libraries limitation: </label>
Lines 139-145 Link Here
139
                                            [% END %]
139
                                            [% END %]
140
                                            [% END %]
140
                                            [% END %]
141
                                        </select>
141
                                        </select>
142
                                        <span>Select 'All libraries' if this credit type should be available at all libraries. Otherwise select libraries you want to associate credit type with.</span>
142
                                        <div class="hint">Select 'All libraries' if this credit type should be available at all libraries. Otherwise select libraries you want to associate credit type with.</div>
143
                                    [% END %]
143
                                    [% END %]
144
                                </li>
144
                                </li>
145
                            </ol>
145
                            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-1 / +1 lines)
Lines 131-137 Link Here
131
                                        [% END %]
131
                                        [% END %]
132
                                        [% END %]
132
                                        [% END %]
133
                                    </select>
133
                                    </select>
134
                                    <span>Select 'All libraries' if this debit type should be available at all libraries. Otherwise select libraries you want to associate debit type with.</span>
134
                                    <div class="hint">Select 'All libraries' if this debit type should be available at all libraries. Otherwise select libraries you want to associate debit type with.</div>
135
                                </li>
135
                                </li>
136
                            </ol>
136
                            </ol>
137
                        </fieldset>
137
                        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-9 / +15 lines)
Lines 182-188 Item types &rsaquo; Administration &rsaquo; Koha Link Here
182
                    <input type="text" id="parent_type" value="[% parent_type | html %]" name="parent_type" size="10" maxlength="10" disabled/>
182
                    <input type="text" id="parent_type" value="[% parent_type | html %]" name="parent_type" size="10" maxlength="10" disabled/>
183
                    <p>No available parent types</p>
183
                    <p>No available parent types</p>
184
                    [% END %]
184
                    [% END %]
185
                    <span class="hint">Defining a parent type will apply checkout limits for all children as described on the circulation rules page.</span>
185
                    <div class="hint">Defining a parent type will apply checkout limits for all children as described on the circulation rules page.</div>
186
                </li>
186
                </li>
187
                <li>
187
                <li>
188
                    <label for="description" class="required">Description: </label>
188
                    <label for="description" class="required">Description: </label>
Lines 192-198 Item types &rsaquo; Administration &rsaquo; Koha Link Here
192
                    [% END %]
192
                    [% END %]
193
                </li>
193
                </li>
194
                <li>
194
                <li>
195
                    <span class="label">Search category</span>
195
                    <label for="searchcategory">Search category: </label>
196
                    <select id="searchcategory" name="searchcategory">
196
                    <select id="searchcategory" name="searchcategory">
197
                    <option value="">None</option>
197
                    <option value="">None</option>
198
                        [% FOREACH cat IN searchcategory %]
198
                        [% FOREACH cat IN searchcategory %]
Lines 207-213 Item types &rsaquo; Administration &rsaquo; Koha Link Here
207
                            [% END %]
207
                            [% END %]
208
                        [% END %]
208
                        [% END %]
209
                    </select>
209
                    </select>
210
                    <span class="hint">Options are defined as the authorized values for the ITEMTYPECAT category.</span>
210
                    <div class="hint">
211
                        [% IF ( CAN_user_parameters_manage_auth_values ) %]
212
                            Options are defined by the authorized value <a target="_blank" href="/cgi-bin/koha/admin/authorised_values.pl?searchfield=ITEMTYPECAT">ITEMTYPECAT</a>.
213
                        [% ELSE %]
214
                            Options are defined by the authorized value ITEMTYPECAT.
215
                        [% END %]
216
                    </div>
211
                </li>
217
                </li>
212
                [% IF ( Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') ) %]
218
                [% IF ( Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') ) %]
213
                    <li>
219
                    <li>
Lines 312-323 Item types &rsaquo; Administration &rsaquo; Koha Link Here
312
                <li>
318
                <li>
313
                    <label for="rentalcharge">Rental charge: </label>
319
                    <label for="rentalcharge">Rental charge: </label>
314
                    <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% itemtype.rentalcharge | $Price on_editing => 1 %]" min="0" />
320
                    <input type="text" id="rentalcharge" name="rentalcharge" size="10" value="[% itemtype.rentalcharge | $Price on_editing => 1 %]" min="0" />
315
                    <span class="hint">This fee is charged once per checkout/renewal per item</span>
321
                    <div class="hint">This fee is charged once per checkout/renewal per item</div>
316
                </li>
322
                </li>
317
                <li>
323
                <li>
318
                    <label for="rentalcharge_daily">Daily rental charge: </label>
324
                    <label for="rentalcharge_daily">Daily rental charge: </label>
319
                    <input type="text" id="rentalcharge_daily" name="rentalcharge_daily" size="10" value="[% itemtype.rentalcharge_daily | $Price on_editing => 1 %]" min="0" />
325
                    <input type="text" id="rentalcharge_daily" name="rentalcharge_daily" size="10" value="[% itemtype.rentalcharge_daily | $Price on_editing => 1 %]" min="0" />
320
                    <span class="hint">This fee is charged at checkout/renewal time for each day between the checkout/renewal date and due date for loans specified in days.</span>
326
                    <div class="hint">This fee is charged at checkout/renewal time for each day between the checkout/renewal date and due date for loans specified in days.</div>
321
                </li>
327
                </li>
322
                <li>
328
                <li>
323
                    <label for="rentalcharge_daily_calendar">Daily rentals use calendar: </label>
329
                    <label for="rentalcharge_daily_calendar">Daily rentals use calendar: </label>
Lines 331-337 Item types &rsaquo; Administration &rsaquo; Koha Link Here
331
                <li>
337
                <li>
332
                    <label for="rentalcharge_hourly">Hourly rental charge: </label>
338
                    <label for="rentalcharge_hourly">Hourly rental charge: </label>
333
                    <input type="text" id="rentalcharge_hourly" name="rentalcharge_hourly" size="10" value="[% itemtype.rentalcharge_hourly | $Price on_editing => 1 %]" min="0" />
339
                    <input type="text" id="rentalcharge_hourly" name="rentalcharge_hourly" size="10" value="[% itemtype.rentalcharge_hourly | $Price on_editing => 1 %]" min="0" />
334
                    <span class="hint">This fee is charged at checkout/renewal time for each hour between the checkout/renewal date and due date for loans specified in hours.</span>
340
                    <div class="hint">This fee is charged at checkout/renewal time for each hour between the checkout/renewal date and due date for loans specified in hours.</div>
335
                </li>
341
                </li>
336
                <li>
342
                <li>
337
                    <label for="rentalcharge_hourly_calendar">Hourly rentals use calendar: </label>
343
                    <label for="rentalcharge_hourly_calendar">Hourly rentals use calendar: </label>
Lines 387-399 Item types &rsaquo; Administration &rsaquo; Koha Link Here
387
                        <option value="">All libraries</option>
393
                        <option value="">All libraries</option>
388
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => itemtype.get_library_limits, unfiltered => 1, do_not_select_my_library => 1 ) %]
394
                        [% PROCESS options_for_libraries libraries => Branches.all( selected => itemtype.get_library_limits, unfiltered => 1, do_not_select_my_library => 1 ) %]
389
                    </select>
395
                    </select>
390
                    <span class="hint">Select 'All libraries' if all libraries use this item type. Otherwise, select the specific libraries that use this item type.</span>
396
                    <div class="hint">Select 'All libraries' if all libraries use this item type. Otherwise, select the specific libraries that use this item type.</div>
391
                </li>
397
                </li>
392
                <li>
398
                <li>
393
                    <label for="summary">Summary: </label>
399
                    <label for="summary">Summary: </label>
394
                   <textarea id="summary" name="summary" cols="55" rows="5">[% itemtype.summary | html %]</textarea>
400
                   <textarea id="summary" name="summary" cols="55" rows="5">[% itemtype.summary | html %]</textarea>
395
                    <p>Enter a summary that will overwrite the default one in search results lists. Example, for a website itemtype : </p>
401
                    <div class="hint">Enter a summary that will overwrite the default one in search results lists. Example, for a website itemtype : </div>
396
                    <p><strong>&lt;a href="[856u]"&gt;open site&lt;/a&gt;</strong> will show the link just below the title</p>
402
                    <div class="hint"><strong>&lt;a href="[856u]"&gt;open site&lt;/a&gt;</strong> will show the link just below the title</div>
397
                </li>
403
                </li>
398
            </ol>
404
            </ol>
399
        </fieldset>
405
        </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-1 / +1 lines)
Lines 251-257 Link Here
251
                                                        [% ELSE %]
251
                                                        [% ELSE %]
252
                                                            <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
252
                                                            <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
253
                                                        [% END %]
253
                                                        [% END %]
254
                                                        <div class="hint">If checked, it means that the subfield is a URL and can be clicked</div>
254
                                                        <span class="hint">If checked, it means that the subfield is a URL and can be clicked</span>
255
                                                    </li>
255
                                                    </li>
256
                                                    <li>
256
                                                    <li>
257
                                                        <label for="link[% loo.row | html %]">Link:</label>
257
                                                        <label for="link[% loo.row | html %]">Link:</label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-8 / +8 lines)
Lines 126-132 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
126
            [% ELSE %]
126
            [% ELSE %]
127
                <input type="checkbox" id="repeatable" name="repeatable" />
127
                <input type="checkbox" id="repeatable" name="repeatable" />
128
            [% END %]
128
            [% END %]
129
            <span>Check to let a patron record have multiple values of this attribute.</span>
129
            <span class="hint">Check to let a patron record have multiple values of this attribute.</span>
130
        </li>
130
        </li>
131
131
132
        [% IF attribute_type AND not can_be_set_to_unique %]
132
        [% IF attribute_type AND not can_be_set_to_unique %]
Lines 147-153 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
147
            [% ELSE %]
147
            [% ELSE %]
148
                <input type="checkbox" id="unique_id" name="unique_id" />
148
                <input type="checkbox" id="unique_id" name="unique_id" />
149
            [% END %]
149
            [% END %]
150
            <span>If checked, attribute will be a unique identifier &mdash; if a value is given to a patron record, the same value
150
            <span class="hint">If checked, attribute will be a unique identifier. If a value is given to a patron record, the same value
151
                  cannot be given to a different record.</span>
151
                  cannot be given to a different record.</span>
152
        </li>
152
        </li>
153
153
Lines 157-163 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
157
          [% ELSE %]
157
          [% ELSE %]
158
            <input type="checkbox" id="opac_display" name="opac_display" />
158
            <input type="checkbox" id="opac_display" name="opac_display" />
159
          [% END %]
159
          [% END %]
160
            <span>Check to display this attribute on a patron's details page in the OPAC.</span>
160
            <span class="hint">Check to display this attribute on a patron's details page in the OPAC.</span>
161
       </li>
161
       </li>
162
       <li><label for="opac_editable">Editable in OPAC: </label>
162
       <li><label for="opac_editable">Editable in OPAC: </label>
163
          [% IF attribute_type AND attribute_type.opac_editable %]
163
          [% IF attribute_type AND attribute_type.opac_editable %]
Lines 165-171 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
165
          [% ELSE %]
165
          [% ELSE %]
166
            <input type="checkbox" id="opac_editable" name="opac_editable" />
166
            <input type="checkbox" id="opac_editable" name="opac_editable" />
167
          [% END %]
167
          [% END %]
168
            <span>Check to allow patrons to edit this attribute from their details page in the OPAC. (Requires above, does not work during <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=PatronSelfRegistration" target="_blank">self-registration</a> if <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=PatronSelfRegistrationVerifyByEmail" target="_blank">PatronSelfRegistrationVerifyByEmail</a> is set.)</span>
168
            <span class="hint">Check to allow patrons to edit this attribute from their details page in the OPAC. (Requires above, does not work during <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=PatronSelfRegistration" target="_blank">self-registration</a> if <a href="/cgi-bin/koha/admin/preferences.pl?op=search&amp;searchfield=PatronSelfRegistrationVerifyByEmail" target="_blank">PatronSelfRegistrationVerifyByEmail</a> is set.)</span>
169
       </li>
169
       </li>
170
       <li><label for="staff_searchable">Searchable: </label>
170
       <li><label for="staff_searchable">Searchable: </label>
171
          [% IF attribute_type AND attribute_type.staff_searchable %]
171
          [% IF attribute_type AND attribute_type.staff_searchable %]
Lines 173-179 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
173
          [% ELSE %]
173
          [% ELSE %]
174
            <input type="checkbox" id="staff_searchable" name="staff_searchable" />
174
            <input type="checkbox" id="staff_searchable" name="staff_searchable" />
175
          [% END %]
175
          [% END %]
176
            <span>Check to make this attribute staff_searchable in the staff patron search.</span>
176
            <span class="hint">Check to make this attribute staff_searchable in the staff patron search.</span>
177
       </li>
177
       </li>
178
       <li><label for="mandatory">Mandatory: </label>
178
       <li><label for="mandatory">Mandatory: </label>
179
          [% IF attribute_type AND attribute_type.mandatory %]
179
          [% IF attribute_type AND attribute_type.mandatory %]
Lines 181-187 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
181
          [% ELSE %]
181
          [% ELSE %]
182
            <input type="checkbox" id="mandatory" name="mandatory" />
182
            <input type="checkbox" id="mandatory" name="mandatory" />
183
          [% END %]
183
          [% END %]
184
            <span>Check to make this attribute mandatory when creating or editing a patron.</span>
184
            <span class="hint">Check to make this attribute mandatory when creating or editing a patron.</span>
185
       </li>
185
       </li>
186
       <li><label for="display_checkout">Display in patron's brief information: </label>
186
       <li><label for="display_checkout">Display in patron's brief information: </label>
187
            [% IF attribute_type AND attribute_type.display_checkout %]
187
            [% IF attribute_type AND attribute_type.display_checkout %]
Lines 189-195 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
189
	    [% ELSE %]
189
	    [% ELSE %]
190
	        <input type="checkbox" id="display_checkout" name="display_checkout" />
190
	        <input type="checkbox" id="display_checkout" name="display_checkout" />
191
	    [% END %]
191
	    [% END %]
192
            <span>Check to show this attribute in the brief information panel in the patron's record (staff interface).</span>
192
            <span class="hint">Check to show this attribute in the brief information panel in the patron's record (staff interface).</span>
193
       </li>
193
       </li>
194
194
195
        [% IF Koha.Preference('Pseudonymization') %]
195
        [% IF Koha.Preference('Pseudonymization') %]
Lines 200-206 Patron attribute types &rsaquo; Administration &rsaquo; Koha Link Here
200
                [% ELSE %]
200
                [% ELSE %]
201
                    <input type="checkbox" id="keep_for_pseudonymization" name="keep_for_pseudonymization" />
201
                    <input type="checkbox" id="keep_for_pseudonymization" name="keep_for_pseudonymization" />
202
                [% END %]
202
                [% END %]
203
                <span>Check to make this attribute copied to the patron's pseudonymized attributes.</span>
203
                <span class="hint">Check to make this attribute copied to the patron's pseudonymized attributes.</span>
204
            </li>
204
            </li>
205
        [% END %]
205
        [% END %]
206
206
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt (-1 / +1 lines)
Lines 97-103 Link Here
97
                                    [% ELSE %]
97
                                    [% ELSE %]
98
                                        <input id="autosharewithmana" type="checkbox" name="autosharewithmana" checked="checked">
98
                                        <input id="autosharewithmana" type="checkbox" name="autosharewithmana" checked="checked">
99
                                    [% END %]
99
                                    [% END %]
100
                                    <div class="hint">If checked, new subscriptions you create will be automatically shared with Mana KB.</div>
100
                                    <span class="hint">If checked, new subscriptions you create will be automatically shared with Mana KB.</span>
101
                                </li>
101
                                </li>
102
                            </ol>
102
                            </ol>
103
                            <fieldset class="action">
103
                            <fieldset class="action">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-7 / +20 lines)
Lines 111-131 Link Here
111
        </li>
111
        </li>
112
        <li><label for="password">Password: </label> <input type="text" name="password" id="password" value="[% server.password | html %]" />
112
        <li><label for="password">Password: </label> <input type="text" name="password" id="password" value="[% server.password | html %]" />
113
        </li>
113
        </li>
114
        <li><label for="checked">Preselected (searched by default): </label>
114
        <li>
115
            <label for="checked">Preselected: </label>
115
        [% IF ( server.checked ) %]
116
        [% IF ( server.checked ) %]
116
            <input type="checkbox" name="checked" id="checked" value="1" checked="checked" />
117
            <input type="checkbox" name="checked" id="checked" value="1" checked="checked" />
117
        [% ELSE %]
118
        [% ELSE %]
118
            <input type="checkbox" name="checked" id="checked" value="1" />
119
            <input type="checkbox" name="checked" id="checked" value="1" />
119
        [% END %]
120
        [% END %]
121
            <span class="hint">Searched by default.</span>
120
        </li>
122
        </li>
121
        <li><label for="rank">Rank (display order): </label> <input type="text" name="rank" id="rank" size="4" value="[% server.rank | html %]" />
123
        <li>
124
            <label for="rank">Rank: </label>
125
            <input type="text" name="rank" id="rank" size="4" value="[% server.rank | html %]" />
126
            <div class="hint">Display order.</div>
122
        </li>
127
        </li>
123
        [% IF (server.servertype||type) == 'zed' %]
128
        [% IF (server.servertype||type) == 'zed' %]
124
        <li><label for="attributes">Attributes (additional PQF attributes added to each query): </label><input type="text" name="attributes" id="attributes" size="30" value="[% server.attributes | html %]" />
129
        <li>
130
            <label for="attributes">Attributes: </label>
131
            <input type="text" name="attributes" id="attributes" size="30" value="[% server.attributes | html %]" />
132
            <div class="hint">Additional PQF attributes added to each query.</div>
125
        </li>
133
        </li>
126
        [% END %]
134
        [% END %]
127
135
128
        <li><label for="syntax">Syntax (z3950 can send<br /> records in various format. Choose one): </label>
136
        <li>
137
            <label for="syntax">Syntax: </label>
129
        <select name="syntax" id="syntax">
138
        <select name="syntax" id="syntax">
130
            <option value="UNIMARC">UNIMARC</option>
139
            <option value="UNIMARC">UNIMARC</option>
131
            <option value="INTERMARC">INTERMARC</option>
140
            <option value="INTERMARC">INTERMARC</option>
Lines 144-161 Link Here
144
            <option value="CATMARC">CATMARC</option>
153
            <option value="CATMARC">CATMARC</option>
145
            <option value="MALMARC">MALMARC</option>
154
            <option value="MALMARC">MALMARC</option>
146
        </select>
155
        </select>
156
            <div class="hint">Z39.50 can send records in various formats. Choose one.</div>
147
        </li>
157
        </li>
148
158
149
        <li><label for="encoding">Encoding (z3950 can send<br /> records in various encodings. Choose one): </label>
159
        <li>
160
            <label for="encoding">Encoding: </label>
150
        <select name="encoding" id="encoding">
161
        <select name="encoding" id="encoding">
151
            [% FOREACH enc IN [ 'utf8' 'EUC-KR' 'ISO_5426' 'ISO_6937' 'ISO_8859-1' 'MARC-8' ] %]
162
            [% FOREACH enc IN [ 'utf8' 'EUC-KR' 'ISO_5426' 'ISO_6937' 'ISO_8859-1' 'MARC-8' ] %]
152
                <option value="[% enc | html %]">[% enc | html %]</option>
163
                <option value="[% enc | html %]">[% enc | html %]</option>
153
            [% END %]
164
            [% END %]
154
        </select>
165
        </select>
166
            <div class="hint">Z39.50 can send records in various encodings. Choose one.</div>
155
        </li>
167
        </li>
156
168
157
        <li><label for="timeout">Timeout (0 its like not set): </label>
169
        <li>
170
            <label for="timeout">Timeout: </label>
158
        <input type="text" name="timeout" id="timeout" size="4" value="[% server.timeout | html %]" /> seconds
171
        <input type="text" name="timeout" id="timeout" size="4" value="[% server.timeout | html %]" /> seconds
172
            <div class="hint">Enter 0 to disable.</div>
159
        </li>
173
        </li>
160
        <li><label for="recordtype">Record type: </label>
174
        <li><label for="recordtype">Record type: </label>
161
        <select name="recordtype" id="recordtype">
175
        <select name="recordtype" id="recordtype">
162
- 

Return to bug 29052