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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt (-25 / +23 lines)
Lines 210-216 Link Here
210
210
211
            [% END %]
211
            [% END %]
212
        </ol>
212
        </ol>
213
    </nav>
213
    </nav> <!-- /#breadcrumbs -->
214
214
215
    <div class="main container-fluid">
215
    <div class="main container-fluid">
216
        <div class="row">
216
        <div class="row">
Lines 235-241 Link Here
235
                            <button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button>
235
                            <button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button>
236
                        </form>
236
                        </form>
237
                    </div>
237
                    </div>
238
                [% END %]
238
                [% END # /IF duplicateauthid %]
239
239
240
                <form method="post" name="f" action="/cgi-bin/koha/authorities/authorities.pl">
240
                <form method="post" name="f" action="/cgi-bin/koha/authorities/authorities.pl">
241
                    <input type="hidden" name="op" value="add" />
241
                    <input type="hidden" name="op" value="add" />
Lines 262-268 Link Here
262
                                <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a>
262
                                <a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a>
263
                            [% END %]
263
                            [% END %]
264
                        </div>
264
                        </div>
265
                    </div>
265
                    </div> <!-- /#toolbar -->
266
266
267
                    <div id="authoritytabs" class="toptabs numbered">
267
                    <div id="authoritytabs" class="toptabs numbered">
268
                        <ul>
268
                        <ul>
Lines 334-340 Link Here
334
                                                            size="1"
334
                                                            size="1"
335
                                                            maxlength="1"
335
                                                            maxlength="1"
336
                                                            value="[% innerloo.indicator2 | html %]" />
336
                                                            value="[% innerloo.indicator2 | html %]" />
337
                                                    [% END %] -
337
                                                    [% END # /IF ( innerloo.fixedfield ) %] -
338
                                                [% ELSE %]
338
                                                [% ELSE %]
339
                                                    [% IF ( innerloo.fixedfield ) %]
339
                                                    [% IF ( innerloo.fixedfield ) %]
340
                                                        <input type="hidden"
340
                                                        <input type="hidden"
Lines 354-361 Link Here
354
                                                            tabindex="1"
354
                                                            tabindex="1"
355
                                                            name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
355
                                                            name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]"
356
                                                            value="[% innerloo.indicator2 | html %]" />
356
                                                            value="[% innerloo.indicator2 | html %]" />
357
                                                    [% END %]
357
                                                    [% END # /IF ( innerloo.fixedfield ) %]
358
                                                [% END %]
358
                                                [% END # /UNLESS hide_marc %]
359
359
360
                                                [% UNLESS advancedMARCEditor %]
360
                                                [% UNLESS advancedMARCEditor %]
361
                                                    <a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib | html %]</a>
361
                                                    <a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib | html %]</a>
Lines 393-399 Link Here
393
                                                            <input type="hidden"
393
                                                            <input type="hidden"
394
                                                                name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
394
                                                                name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]"
395
                                                                value="[% subfield_loo.subfield | html %]" />
395
                                                                value="[% subfield_loo.subfield | html %]" />
396
                                                        [% END %]
396
                                                        [% END # /UNLESS hide_marc %]
397
397
398
                                                        [% UNLESS advancedMARCEditor %]
398
                                                        [% UNLESS advancedMARCEditor %]
399
                                                            [% IF ( subfield_loo.mandatory ) %]
399
                                                            [% IF ( subfield_loo.mandatory ) %]
Lines 408-415 Link Here
408
                                                                [% END %]
408
                                                                [% END %]
409
                                                                    [% subfield_loo.marc_lib | $raw %]
409
                                                                    [% subfield_loo.marc_lib | $raw %]
410
                                                                </label>
410
                                                                </label>
411
                                                            </div>
411
                                                            </div> <!-- /.subfield -->
412
                                                        [% END %]
412
                                                        [% END # UNLESS advancedMARCEditor %]
413
413
414
                                                        [% SET mv = subfield_loo.marc_value %]
414
                                                        [% SET mv = subfield_loo.marc_value %]
415
                                                        <div id="field_marceditor[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]" class="field_marceditor">
415
                                                        <div id="field_marceditor[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]" class="field_marceditor">
Lines 439-446 Link Here
439
                                                                <input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
439
                                                                <input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" />
440
                                                            [% ELSIF ( mv.type == 'hidden_simple' ) %]
440
                                                            [% ELSIF ( mv.type == 'hidden_simple' ) %]
441
                                                                <input type="hidden" name="[%- mv.name | html -%]" />
441
                                                                <input type="hidden" name="[%- mv.name | html -%]" />
442
                                                            [% END %]
442
                                                            [% END # /IF mv.type %]
443
                                                        </div>
443
                                                        </div> <!-- /.field_marceditor -->
444
444
445
                                                        [% IF ( subfield_loo.mandatory ) %]
445
                                                        [% IF ( subfield_loo.mandatory ) %]
446
                                                            <div class="subfield_loop_mandatory">
446
                                                            <div class="subfield_loop_mandatory">
Lines 458-464 Link Here
458
                                                                    <a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a>
458
                                                                    <a href="#" id="buttonDot_[% mv.id | html %]" class="buttonDot tag_editor" title="Tag editor">...</a>
459
                                                                [% END %]
459
                                                                [% END %]
460
                                                                [% mv.javascript | $raw %]
460
                                                                [% mv.javascript | $raw %]
461
                                                            [% END %]
461
                                                            [% END #/IF ( mv.type == 'text1' ) %]
462
                                                            [% IF ( subfield_loo.repeatable ) %]
462
                                                            [% IF ( subfield_loo.repeatable ) %]
463
                                                                <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;">
463
                                                                <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;">
464
                                                                    <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
464
                                                                    <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
Lines 466-484 Link Here
466
                                                                <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;">
466
                                                                <a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;">
467
                                                                    <img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" />
467
                                                                    <img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" />
468
                                                                </a>
468
                                                                </a>
469
                                                            [% END %]
469
                                                            [% END # /IF ( subfield_loo.repeatable ) %]
470
                                                        </div>
470
                                                        </div> <!-- /.subfield_controls -->
471
                                                    </li>
471
                                                    </li> <!-- /.subfield_line -->
472
                                                    <!-- End of the line -->
472
                                                [% END # /FOREACH subfield_loo %]
473
                                                [% END %]
474
                                            </ul> <!-- /.sortable_subfield -->
473
                                            </ul> <!-- /.sortable_subfield -->
475
                                        </li>
474
                                        </li> <!-- /.tag -->
476
                                    [% END %]<!-- if innerloo.tag -->
475
                                    [% END # /IF ( innerloo.tag ) %]
477
                                [% END %]<!-- BIG_LOO.innerloop -->
476
                                [% END # /FOREACH innerloo %]
478
                                </ul> <!-- /.sortable_field -->
477
                                </ul> <!-- /.sortable_field -->
479
                            </div>
478
                            </div> <!-- /#tab[% BIG_LOO.number | html %]XX -->
480
                        [% END %]<!-- BIG_LOOP -->
479
                        [% END #/FOREACH BIG_LOO %]
481
                    </div><!-- tabs -->
480
                    </div> <!-- /#authoritytabs -->
482
481
483
                    <div name="hidden" id="hidden" class="tab">
482
                    <div name="hidden" id="hidden" class="tab">
484
                        [% FOREACH hidden_loo IN hidden_loop %]
483
                        [% FOREACH hidden_loo IN hidden_loop %]
Lines 488-494 Link Here
488
                            <input type="hidden" name="kohafield" value="[% hidden_loo.kohafield | html %]" />
487
                            <input type="hidden" name="kohafield" value="[% hidden_loo.kohafield | html %]" />
489
                            <input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" />
488
                            <input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" />
490
                        [% END %]
489
                        [% END %]
491
                    </div>
490
                    </div> <!-- /.tab -->
492
                    [% IF ( oldauthnumtagfield ) %]
491
                    [% IF ( oldauthnumtagfield ) %]
493
                        <input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" />
492
                        <input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" />
494
                        <input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" />
493
                        <input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" />
495
- 

Return to bug 26975