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

(-)a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css (-3 / +3 lines)
Lines 178-185 a.tagnum { Link Here
178
}
178
}
179
179
180
.input_marceditor {
180
.input_marceditor {
181
	float:left;
181
    float: left;
182
	width:30em;
182
    width: 50%;
183
}
183
}
184
184
185
#cat_addbiblio .input_marceditor, #authoritytabs .input_marceditor {
185
#cat_addbiblio .input_marceditor, #authoritytabs .input_marceditor {
Lines 215-221 a.tagnum { Link Here
215
}
215
}
216
216
217
#cataloguing_additem_newitem .input_marceditor {
217
#cataloguing_additem_newitem .input_marceditor {
218
    width: auto;
218
    width: 50%;
219
}
219
}
220
220
221
#cataloguing_additem_newitem textarea.input_marceditor {
221
#cataloguing_additem_newitem textarea.input_marceditor {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-10 / +9 lines)
Lines 165-176 Link Here
165
165
166
                [% SET mv = ite.marc_value %]
166
                [% SET mv = ite.marc_value %]
167
                [% IF ( mv.type == 'hidden' ) %]
167
                [% IF ( mv.type == 'hidden' ) %]
168
                    <input type="hidden" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]">
168
                    <input type="hidden" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]">
169
                [% ELSIF ( mv.type == 'select' ) %]
169
                [% ELSIF ( mv.type == 'select' ) %]
170
                    [% IF ( mv.readonly || ite.IS_RETURN_CLAIM ) %]
170
                    [% IF ( mv.readonly || ite.IS_RETURN_CLAIM ) %]
171
                        <select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" readonly="readonly" disabled="disabled">
171
                        <select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" readonly="readonly" disabled="disabled" data-width="50%">
172
                    [% ELSE %]
172
                    [% ELSE %]
173
                        <select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" data-category="[% mv.category | html %]">
173
                        <select name="field_value" id="[%- mv.id | html -%]" class="input_marceditor" data-category="[% mv.category | html %]"  data-width="50%">
174
                    [% END %]
174
                    [% END %]
175
                    [% FOREACH aval IN mv.values %]
175
                    [% FOREACH aval IN mv.values %]
176
                        [% IF aval == mv.default %]
176
                        [% IF aval == mv.default %]
Lines 186-202 Link Here
186
                    </select>
186
                    </select>
187
                [% ELSIF ( mv.type == 'text_auth' ) %]
187
                [% ELSIF ( mv.type == 'text_auth' ) %]
188
                    [% IF mv.readonly %]
188
                    [% IF mv.readonly %]
189
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
189
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
190
                    [% ELSE %]
190
                    [% ELSE %]
191
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
191
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
192
                        [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %]
192
                        [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %]
193
                        <a href="#" class="buttonDot"  onclick="[%- dopop | html -%]; return false;" title="Tag editor">...</a>
193
                        <a href="#" class="buttonDot"  onclick="[%- dopop | html -%]; return false;" title="Tag editor">...</a>
194
                    [% END %]
194
                    [% END %]
195
                [% ELSIF ( mv.type == 'text_plugin' ) %]
195
                [% ELSIF ( mv.type == 'text_plugin' ) %]
196
                    [% IF mv.readonly %]
196
                    [% IF mv.readonly %]
197
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
197
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
198
                    [% ELSE %]
198
                    [% ELSE %]
199
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
199
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
200
                        [% IF ( mv.nopopup ) %]
200
                        [% IF ( mv.nopopup ) %]
201
                            <a href="#" id="buttonDot_[%- mv.id | html -%]" class="[%- mv.class | html -%]" title="No popup">...</a>
201
                            <a href="#" id="buttonDot_[%- mv.id | html -%]" class="[%- mv.class | html -%]" title="No popup">...</a>
202
                        [% ELSE  %]
202
                        [% ELSE  %]
Lines 206-214 Link Here
206
                    [% END %]
206
                    [% END %]
207
                [% ELSIF ( mv.type == 'text' ) %]
207
                [% ELSIF ( mv.type == 'text' ) %]
208
                    [% IF mv.readonly %]
208
                    [% IF mv.readonly %]
209
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
209
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" readonly="readonly" />
210
                    [% ELSE %]
210
                    [% ELSE %]
211
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
211
                        <input type="text" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
212
                    [% END %]
212
                    [% END %]
213
                [% ELSIF ( mv.type == 'textarea' ) %]
213
                [% ELSIF ( mv.type == 'textarea' ) %]
214
                    [% IF mv.readonly %]
214
                    [% IF mv.readonly %]
215
- 

Return to bug 28611