|
Lines 185-191
function confirmnotdup(redirect){
Link Here
|
| 185 |
|
185 |
|
| 186 |
<div class="main container-fluid"> |
186 |
<div class="main container-fluid"> |
| 187 |
<div class="row"> |
187 |
<div class="row"> |
| 188 |
<div class="col-md-8 col-md-offset-2"> |
188 |
<div class="col-md-10 col-md-offset-1"> |
| 189 |
|
189 |
|
| 190 |
[% IF ( authid ) %] |
190 |
[% IF ( authid ) %] |
| 191 |
<h1>Modify authority #[% authid | html %] [% authtypetext | html %]</h1> |
191 |
<h1>Modify authority #[% authid | html %] [% authtypetext | html %]</h1> |
|
Lines 253-267
function confirmnotdup(redirect){
Link Here
|
| 253 |
</ul> |
253 |
</ul> |
| 254 |
[% END %] |
254 |
[% END %] |
| 255 |
[% previous = innerloo.tag %] |
255 |
[% previous = innerloo.tag %] |
| 256 |
<ul class="sortable_field"> |
256 |
[% IF ( innerloo.repeatable ) %] |
|
|
257 |
<ul class="sortable_field"> |
| 258 |
[% ELSE %] |
| 259 |
<ul> |
| 260 |
[% END %] |
| 261 |
[% END %] |
| 262 |
[% IF ( innerloo.repeatable ) %] |
| 263 |
<li class="tag sortable_tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
| 264 |
[% ELSE %] |
| 265 |
<li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
| 257 |
[% END %] |
266 |
[% END %] |
| 258 |
<li class="tag clearfix" id="tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
|
|
| 259 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
267 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]"> |
| 260 |
[% UNLESS hide_marc %] |
268 |
[% UNLESS hide_marc %] |
| 261 |
[% IF advancedMARCEditor %] |
269 |
[% IF advancedMARCEditor %] |
| 262 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a> |
270 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a> |
| 263 |
[% ELSE %] |
271 |
[% ELSE %] |
| 264 |
<span title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span> |
272 |
<span class="tagnum" title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span> |
| 265 |
[% END %] |
273 |
[% END %] |
| 266 |
[% IF ( innerloo.fixedfield ) %] |
274 |
[% IF ( innerloo.fixedfield ) %] |
| 267 |
<input type="text" |
275 |
<input type="text" |
|
Lines 330-352
function confirmnotdup(redirect){
Link Here
|
| 330 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag"> |
338 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag"> |
| 331 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" /> |
339 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" /> |
| 332 |
</a> |
340 |
</a> |
| 333 |
</span> |
341 |
</span> <!-- /.field_controls --> |
| 334 |
|
342 |
|
| 335 |
</div> |
343 |
</div> <!-- /div.tag_title --> |
| 336 |
|
344 |
|
| 337 |
<ul class="sortable_subfield"> |
345 |
<ul class="sortable_subfield"> |
| 338 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
346 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
| 339 |
<!-- One line on the marc editor --> |
347 |
<!-- One line on the marc editor --> |
| 340 |
<li class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]"> |
348 |
<li class="subfield_line" style="[% subfield_loo.visibility | html %]" id="subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]"> |
| 341 |
|
349 |
|
| 342 |
[% UNLESS advancedMARCEditor %] |
|
|
| 343 |
[% IF ( subfield_loo.fixedfield ) %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield"> |
| 344 |
[% ELSE %]<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> |
| 345 |
[% END %] |
| 346 |
[% END %] |
| 347 |
|
| 348 |
[% UNLESS hide_marc %] |
350 |
[% UNLESS hide_marc %] |
| 349 |
<span class="subfieldcode"> |
351 |
<div class="subfieldcode"> |
| 350 |
<input type="text" |
352 |
<input type="text" |
| 351 |
title="[% subfield_loo.marc_lib | $raw %]" |
353 |
title="[% subfield_loo.marc_lib | $raw %]" |
| 352 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
354 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
|
Lines 356-362
function confirmnotdup(redirect){
Link Here
|
| 356 |
maxlength="1" |
358 |
maxlength="1" |
| 357 |
class="flat" |
359 |
class="flat" |
| 358 |
tabindex="0" /> |
360 |
tabindex="0" /> |
| 359 |
</span> |
361 |
</div> |
| 360 |
[% ELSE %] |
362 |
[% ELSE %] |
| 361 |
<input type="hidden" |
363 |
<input type="hidden" |
| 362 |
name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" |
364 |
name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" |
|
Lines 364-377
function confirmnotdup(redirect){
Link Here
|
| 364 |
[% END %] |
366 |
[% END %] |
| 365 |
|
367 |
|
| 366 |
[% UNLESS advancedMARCEditor %] |
368 |
[% UNLESS advancedMARCEditor %] |
| 367 |
[% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] |
369 |
[% IF ( subfield_loo.mandatory ) %] |
| 368 |
[% subfield_loo.marc_lib | $raw %] |
370 |
<div class="subfield subfield_mandatory"> |
| 369 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] |
371 |
[% ELSE %] |
| 370 |
</span> |
372 |
<div class="subfield"> |
| 371 |
</label> |
373 |
[% END %] |
|
|
374 |
[% IF ( subfield_loo.fixedfield ) %] |
| 375 |
<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" style="display:none;" class="labelsubfield"> |
| 376 |
[% ELSE %] |
| 377 |
<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> |
| 378 |
[% END %] |
| 379 |
[% subfield_loo.marc_lib | $raw %] |
| 380 |
</label> |
| 381 |
</div> |
| 372 |
[% END %] |
382 |
[% END %] |
| 373 |
|
383 |
|
| 374 |
[% SET mv = subfield_loo.marc_value %] |
384 |
[% SET mv = subfield_loo.marc_value %] |
|
|
385 |
<div id="field_marceditor[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]" class="field_marceditor"> |
| 375 |
[% IF ( mv.type == 'select' ) %] |
386 |
[% IF ( mv.type == 'select' ) %] |
| 376 |
[% IF mv.category AND CAN_user_parameters_manage_auth_values %] |
387 |
[% IF mv.category AND CAN_user_parameters_manage_auth_values %] |
| 377 |
<select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]" data-category="[% mv.category | html %]"> |
388 |
<select name="[%- mv.name | html -%]" tabindex="1" size="1" class="input_marceditor" id="[%- mv.id | html -%]" data-category="[% mv.category | html %]"> |
|
Lines 389-403
function confirmnotdup(redirect){
Link Here
|
| 389 |
</select> |
400 |
</select> |
| 390 |
[% ELSIF ( mv.type == 'text1' ) %] |
401 |
[% ELSIF ( mv.type == 'text1' ) %] |
| 391 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.id | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" /> |
402 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.id | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" /> |
| 392 |
<a href="#" class="buttonDot" onclick="openAuth(this.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode | html -%]','auth'); return false;" tabindex="1" title="Tag editor">...</a> |
|
|
| 393 |
[% ELSIF ( mv.type == 'text2' ) %] |
403 |
[% ELSIF ( mv.type == 'text2' ) %] |
| 394 |
<input type="text" id="[%- mv.id | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" /> |
404 |
<input type="text" id="[%- mv.id | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" /> |
| 395 |
[% IF mv.noclick %] |
|
|
| 396 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a> |
| 397 |
[% ELSE %] |
| 398 |
<a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a> |
| 399 |
[% END %] |
| 400 |
[% mv.javascript | $raw %] |
| 401 |
[% ELSIF ( mv.type == 'text' ) %] |
405 |
[% ELSIF ( mv.type == 'text' ) %] |
| 402 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength | html -%]" /> |
406 |
<input type="text" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" value="[%- mv.value | html -%]" class="input_marceditor" tabindex="1" size="67" maxlength="[%- mv.maxlength | html -%]" /> |
| 403 |
[% ELSIF ( mv.type == 'textarea' ) %] |
407 |
[% ELSIF ( mv.type == 'textarea' ) %] |
|
Lines 407-423
function confirmnotdup(redirect){
Link Here
|
| 407 |
[% ELSIF ( mv.type == 'hidden_simple' ) %] |
411 |
[% ELSIF ( mv.type == 'hidden_simple' ) %] |
| 408 |
<input type="hidden" name="[%- mv.name | html -%]" /> |
412 |
<input type="hidden" name="[%- mv.name | html -%]" /> |
| 409 |
[% END %] |
413 |
[% END %] |
| 410 |
|
414 |
</div> |
| 411 |
<span class="subfield_controls"> |
415 |
[% IF ( subfield_loo.mandatory ) %] |
| 412 |
[% IF ( subfield_loo.repeatable ) %] |
416 |
<div class="subfield_loop_mandatory"> |
| 413 |
<a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;"> |
417 |
<span class="required">Required</span> |
| 414 |
<img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> |
418 |
</div> |
| 415 |
</a> |
|
|
| 416 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;"> |
| 417 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
| 418 |
</a> |
| 419 |
[% END %] |
419 |
[% END %] |
| 420 |
</span> |
420 |
<div class="subfield_controls"> |
|
|
421 |
[% IF ( mv.type == 'text1' ) %] |
| 422 |
<a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtypecode | html -%]','auth'); return false;" tabindex="1" title="Tag editor">Tag editor</a> |
| 423 |
[% ELSIF ( mv.type == 'text2' ) %] |
| 424 |
[% IF mv.noclick %] |
| 425 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup">...</a> |
| 426 |
[% ELSE %] |
| 427 |
<a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a> |
| 428 |
[% END %] |
| 429 |
[% mv.javascript | $raw %] |
| 430 |
[% END %] |
| 431 |
[% IF ( subfield_loo.repeatable ) %] |
| 432 |
<a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]','[% advancedMARCEditor | html %]'); return false;"> |
| 433 |
<img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> |
| 434 |
</a> |
| 435 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;"> |
| 436 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
| 437 |
</a> |
| 438 |
[% END %] |
| 439 |
</div> |
| 421 |
</li> |
440 |
</li> |
| 422 |
<!-- End of the line --> |
441 |
<!-- End of the line --> |
| 423 |
[% END %] |
442 |
[% END %] |
| 424 |
- |
|
|