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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-15 / +14 lines)
Lines 27-37 function displayMoreConstraint(numlayer){ Link Here
27
[% INCLUDE 'cat-search.inc' %]
27
[% INCLUDE 'cat-search.inc' %]
28
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
28
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
29
  <a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> &rsaquo;
29
  <a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a> &rsaquo;
30
  [% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode %]">[% authtypecode %] framework</a> &rsaquo;
30
  [% IF ( authtypecode ) %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl?authtypecode=[% authtypecode | uri%]">[% authtypecode |html%] framework</a> &rsaquo;
31
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a> &rsaquo;
31
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a> &rsaquo;
32
  [% END %]
32
  [% END %]
33
  [% IF ( else ) %]Authority MARC subfield structure for [% tagfield %]
33
  [% IF ( else ) %]Authority MARC subfield structure for [% tagfield | html %]
34
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield %]&amp;tagsubfield=[% tagsubfield %]&amp;authtypecode=[% authtypecode %]">Authority MARC subfield structure for [% tagfield %]</a> &rsaquo;
34
  [% ELSE %]<a href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;tagsubfield=[% tagsubfield %]&amp;authtypecode=[% authtypecode |uri %]">Authority MARC subfield structure for [% tagfield | html %]</a> &rsaquo;
35
  [% END %]
35
  [% END %]
36
  [% IF ( delete_confirm ) %]Confirm deletion of subfield [% tagsubfield %]?[% END %]
36
  [% IF ( delete_confirm ) %]Confirm deletion of subfield [% tagsubfield %]?[% END %]
37
  [% IF ( delete_confirmed ) %]Data deleted[% END %]
37
  [% IF ( delete_confirmed ) %]Data deleted[% END %]
Lines 51-63 function displayMoreConstraint(numlayer){ Link Here
51
[% IF ( add_form ) %]
51
[% IF ( add_form ) %]
52
52
53
    <h1>[% IF ( use_heading_flags_p ) %]
53
    <h1>[% IF ( use_heading_flags_p ) %]
54
    [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield %] authority [% authtypecode %][% END %]
54
    [% IF ( heading_edit_subfields_p ) %]Edit MARC subfields constraints for field [% tagfield | html %] authority [% authtypecode |html%][% END %]
55
    [% ELSE %][% action %][% END %]</h1>
55
    [% ELSE %][% action %][% END %]</h1>
56
    <form action="[% script_name %]" name="Aform" method="post">
56
    <form action="[% script_name %]" name="Aform" method="post">
57
        <input type="hidden" name="op" value="add_validate" />
57
        <input type="hidden" name="op" value="add_validate" />
58
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
58
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
59
        <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
59
        <input type="hidden" name="authtypecode" value="[% authtypecode | html%]" />
60
        <fieldset class="action"><input type="submit" class="submit" value="Save changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield %]&amp;authtypecode=[% authtypecode %]">Cancel</a></fieldset>
60
        <fieldset class="action"><input type="submit" class="submit" value="Save changes" /> <a class="cancel" href="/cgi-bin/koha/admin/auth_subfields_structure.pl?tagfield=[% tagfield | uri %]&amp;authtypecode=[% authtypecode |uri %]">Cancel</a></fieldset>
61
        <div id="subfieldtabs" class="toptabs numbered">
61
        <div id="subfieldtabs" class="toptabs numbered">
62
            <ul>
62
            <ul>
63
                [% FOREACH loo IN loop %]
63
                [% FOREACH loo IN loop %]
Lines 222-237 function displayMoreConstraint(numlayer){ Link Here
222
    <table><tr><th scope="row">Subfield:</th> <td>[% tagsubfield %]</td></tr>
222
    <table><tr><th scope="row">Subfield:</th> <td>[% tagsubfield %]</td></tr>
223
    <tr><th scope="row">Description:</th> <td>[% liblibrarian %]</td></tr></table>
223
    <tr><th scope="row">Description:</th> <td>[% liblibrarian %]</td></tr></table>
224
        <input type="hidden" name="searchfield" value="[% searchfield %]" />
224
        <input type="hidden" name="searchfield" value="[% searchfield %]" />
225
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
225
        <input type="hidden" name="tagfield" value="[% tagfield | html%]" />
226
        <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
226
        <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
227
        <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
227
        <input type="hidden" name="authtypecode" value="[% authtypecode | html%]" />
228
        <input type="submit" class="approve" value="Yes, delete this subfield" />
228
        <input type="submit" class="approve" value="Yes, delete this subfield" />
229
        </form>
229
        </form>
230
        <form action="[% delete_link %]" method="get">
230
        <form action="[% delete_link %]" method="get">
231
         <input type="hidden" name="searchfield" value="[% searchfield %]" />
231
         <input type="hidden" name="searchfield" value="[% searchfield %]" />
232
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
232
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
233
        <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
233
        <input type="hidden" name="tagsubfield" value="[% tagsubfield %]" />
234
        <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
234
        <input type="hidden" name="authtypecode" value="[% authtypecode |html%]" />
235
        <input type="submit" class="deny" value="No, do not delete" />
235
        <input type="submit" class="deny" value="No, do not delete" />
236
        </form>
236
        </form>
237
    </form></div>
237
    </form></div>
Lines 241-254 function displayMoreConstraint(numlayer){ Link Here
241
241
242
   <div class="dialog message"> <h3>Data deleted</h3>
242
   <div class="dialog message"> <h3>Data deleted</h3>
243
    <form action="[% script_name %]" method="post">
243
    <form action="[% script_name %]" method="post">
244
        <input type="hidden" name="tagfield" value="[% tagfield %]" />
244
        <input type="hidden" name="tagfield" value="[% tagfield | html %]" />
245
        <input type="submit" class="approve" value="OK" />
245
        <input type="submit" class="approve" value="OK" />
246
    </form></div>
246
    </form></div>
247
[% END %]
247
[% END %]
248
248
249
249
250
[% IF ( else ) %]
250
[% IF ( else ) %]
251
<h1>Authority MARC subfield structure admin for [% tagfield %] (authority: [% authtypecode %])</h1>
251
<h1>Authority MARC subfield structure admin for [% tagfield | html %] (authority: [% authtypecode | html%])</h1>
252
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit. </p>
252
<p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit. </p>
253
<p>The column <b>Koha field</b> shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, and a Koha interface. This link ensures that both DB are synchronized</p>
253
<p>The column <b>Koha field</b> shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, and a Koha interface. This link ensures that both DB are synchronized</p>
254
254
Lines 300-306 function displayMoreConstraint(numlayer){ Link Here
300
    <input type="hidden" name="tagfield" value="[% edit_tagfield %]" />
300
    <input type="hidden" name="tagfield" value="[% edit_tagfield %]" />
301
    <input type="hidden" name="authtypecode" value="[% edit_authtypecode %]" />
301
    <input type="hidden" name="authtypecode" value="[% edit_authtypecode %]" />
302
    <input type="submit" value="Edit subfields" />
302
    <input type="submit" value="Edit subfields" />
303
    <a class="cancel" href="auth_tag_structure.pl?searchfield=[% tagfield %]&amp;authtypecode=[% authtypecode %]">Cancel</a></fieldset>
303
    <a class="cancel" href="auth_tag_structure.pl?searchfield=[% tagfield | uri%]&amp;authtypecode=[% authtypecode | uri %]">Cancel</a></fieldset>
304
    </form>
304
    </form>
305
305
306
    [% IF ( previous ) %]
306
    [% IF ( previous ) %]
307
- 

Return to bug 14423