Lines 33-47
$(document).ready(function() {
Link Here
|
33 |
› <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
33 |
› <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
34 |
› <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> |
34 |
› <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> |
35 |
[% IF ( add_form ) %] |
35 |
[% IF ( add_form ) %] |
36 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% frameworktext %] ([% frameworkcode %])</a> |
36 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% frameworktext %] ([% framework.frameworkcode %])</a> |
37 |
› [% action %] [% searchfield %] |
37 |
› [% action %] [% searchfield %] |
38 |
[% ELSIF ( else ) %] |
38 |
[% ELSIF ( else ) %] |
39 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]Default MARC framework[% END %]</a> |
39 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% IF framework %][% framework.frameworktext %] ([% framework.frameworkcode %])[% ELSE %]Default MARC framework[% END %]</a> |
40 |
[% ELSIF ( delete_confirm ) %] |
40 |
[% ELSIF ( delete_confirm ) %] |
41 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% frameworktext %] ([% frameworkcode %])</a> |
41 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% framwork.frameworktext %] ([% framework.frameworkcode %])</a> |
42 |
› Confirm deletion of tag '[% searchfield %]' |
42 |
› Confirm deletion of tag '[% searchfield %]' |
43 |
[% ELSIF ( delete_confirmed ) %] |
43 |
[% ELSIF ( delete_confirmed ) %] |
44 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% frameworktext %] ([% frameworkcode %])</a> |
44 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% framework.frameworktext %] ([% framework.frameworkcode %])</a> |
45 |
› Data deleted |
45 |
› Data deleted |
46 |
[% END %] |
46 |
[% END %] |
47 |
</div> |
47 |
</div> |
Lines 53-69
$(document).ready(function() {
Link Here
|
53 |
|
53 |
|
54 |
[% IF ( else ) %] |
54 |
[% IF ( else ) %] |
55 |
<div id="toolbar" class="btn-toolbar"> |
55 |
<div id="toolbar" class="btn-toolbar"> |
56 |
<a class="btn btn-small" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% frameworkcode %]"><i class="fa fa-plus"></i> New tag</a> |
56 |
<a class="btn btn-small" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% framework.frameworkcode %]"><i class="fa fa-plus"></i> New tag</a> |
57 |
</div>[% END %] |
57 |
</div>[% END %] |
58 |
|
58 |
|
59 |
<h1>MARC Framework for [% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> |
59 |
<h1>MARC Framework for [% IF framework %][% framework.frameworktext %] ([% framework.frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> |
60 |
|
60 |
|
61 |
[% IF ( add_form ) %] |
61 |
[% IF ( add_form ) %] |
62 |
|
62 |
|
63 |
<form action="[% script_name %]" name="Aform" method="post" class="validated"> |
63 |
<form action="[% script_name %]" name="Aform" method="post" class="validated"> |
64 |
|
64 |
|
65 |
<fieldset class="rows"><legend>[% IF ( use_heading_flags_p ) %][% IF ( heading_modify_tag_p ) %]Modify tag <input type="hidden" name="modif" value="1" />[% searchfield %][% END %][% IF ( heading_add_tag_p ) %]Add tag[% END %][% ELSE %][% action %][% END %]</legend> <input type="hidden" name="op" value="add_validate" /> |
65 |
<fieldset class="rows"><legend>[% IF ( use_heading_flags_p ) %][% IF ( heading_modify_tag_p ) %]Modify tag <input type="hidden" name="modif" value="1" />[% searchfield %][% END %][% IF ( heading_add_tag_p ) %]Add tag[% END %][% ELSE %][% action %][% END %]</legend> <input type="hidden" name="op" value="add_validate" /> |
66 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
66 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
67 |
|
67 |
|
68 |
<ol> |
68 |
<ol> |
69 |
<li> |
69 |
<li> |
Lines 107-113
$(document).ready(function() {
Link Here
|
107 |
</ol></fieldset> |
107 |
</ol></fieldset> |
108 |
<fieldset class="action"> |
108 |
<fieldset class="action"> |
109 |
<input type="submit" value="Save changes" /> |
109 |
<input type="submit" value="Save changes" /> |
110 |
<a class="cancel" href="[% script_name %]?frameworkcode=[% frameworkcode %]">Cancel</a> |
110 |
<a class="cancel" href="[% script_name %]?frameworkcode=[% framework.frameworkcode %]">Cancel</a> |
111 |
</fieldset> |
111 |
</fieldset> |
112 |
</form> |
112 |
</form> |
113 |
[% END %] |
113 |
[% END %] |
Lines 120-135
$(document).ready(function() {
Link Here
|
120 |
<p>Description: [% liblibrarian %]</p> |
120 |
<p>Description: [% liblibrarian %]</p> |
121 |
<form action="[% script_name %]" method="post"> |
121 |
<form action="[% script_name %]" method="post"> |
122 |
<input type="hidden" name="op" value="delete_confirmed" /> |
122 |
<input type="hidden" name="op" value="delete_confirmed" /> |
123 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
123 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
124 |
<input type="submit" class="approve" value="Yes, delete this tag" /></form> |
124 |
<input type="submit" class="approve" value="Yes, delete this tag" /></form> |
125 |
|
125 |
|
126 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /><input type="submit" value="No, do not delete" class="deny" /></form></div> |
126 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /><input type="submit" value="No, do not delete" class="deny" /></form></div> |
127 |
[% END %] |
127 |
[% END %] |
128 |
|
128 |
|
129 |
[% IF ( delete_confirmed ) %] |
129 |
[% IF ( delete_confirmed ) %] |
130 |
|
130 |
|
131 |
<div class="dialog message"><h3>Tag deleted</h3> |
131 |
<div class="dialog message"><h3>Tag deleted</h3> |
132 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
132 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
133 |
<input type="submit" value="OK" class="approve" /> |
133 |
<input type="submit" value="OK" class="approve" /> |
134 |
</form></div> |
134 |
</form></div> |
135 |
[% END %] |
135 |
[% END %] |
Lines 137-144
$(document).ready(function() {
Link Here
|
137 |
|
137 |
|
138 |
<form action="[% script_name %]" method="post"> |
138 |
<form action="[% script_name %]" method="post"> |
139 |
<input type="hidden" name="op" value="framework_create_confirm" /> |
139 |
<input type="hidden" name="op" value="framework_create_confirm" /> |
140 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
140 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
141 |
Create framework for [% frameworkcode %] ([% frameworktext %]) using |
141 |
Create framework for [% frameworkcode %] ([% framework.frameworktext %]) using |
142 |
<select name="existingframeworkcode"> |
142 |
<select name="existingframeworkcode"> |
143 |
<option value="">Default</option> |
143 |
<option value="">Default</option> |
144 |
[% FOREACH existingframeworkloo IN existingframeworkloop %] |
144 |
[% FOREACH existingframeworkloo IN existingframeworkloop %] |
Lines 159-169
$(document).ready(function() {
Link Here
|
159 |
<label for="frameworkcode"><strong>In framework:</strong> </label> |
159 |
<label for="frameworkcode"><strong>In framework:</strong> </label> |
160 |
<select id="frameworkcode" name="frameworkcode"> |
160 |
<select id="frameworkcode" name="frameworkcode"> |
161 |
<option value="">Default</option> |
161 |
<option value="">Default</option> |
162 |
[% FOREACH framework IN frameworks %] |
162 |
[% FOREACH f IN frameworks %] |
163 |
[% IF framework.frameworkcode == frameworkcode %] |
163 |
[% IF f.frameworkcode == framework.frameworkcode %] |
164 |
<option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option> |
164 |
<option value="[% f.frameworkcode %]" selected="selected">[% f.frameworktext %]</option> |
165 |
[% ELSE %] |
165 |
[% ELSE %] |
166 |
<option value="[% framework.frameworkcode %]">[% framework.frameworktext %]</option> |
166 |
<option value="[% f.frameworkcode %]">[% f.frameworktext %]</option> |
167 |
[% END %] |
167 |
[% END %] |
168 |
[% END %] |
168 |
[% END %] |
169 |
</select> |
169 |
</select> |
170 |
- |
|
|