Lines 38-52
$(document).ready(function() {
Link Here
|
38 |
› <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
38 |
› <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
39 |
› <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> |
39 |
› <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> |
40 |
[% IF ( add_form ) %] |
40 |
[% IF ( add_form ) %] |
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 %]">[% framework.frameworktext %] ([% framework.frameworkcode %])</a> |
42 |
› [% action %] [% searchfield %] |
42 |
› [% action %] [% searchfield %] |
43 |
[% ELSIF ( else ) %] |
43 |
[% ELSIF ( else ) %] |
44 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]Default MARC framework[% END %]</a> |
44 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% IF framework %][% framework.frameworktext %] ([% framework.frameworkcode %])[% ELSE %]Default MARC framework[% END %]</a> |
45 |
[% ELSIF ( delete_confirm ) %] |
45 |
[% ELSIF ( delete_confirm ) %] |
46 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% frameworktext %] ([% frameworkcode %])</a> |
46 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% framwork.frameworktext %] ([% framework.frameworkcode %])</a> |
47 |
› Confirm deletion of tag '[% searchfield %]' |
47 |
› Confirm deletion of tag '[% searchfield %]' |
48 |
[% ELSIF ( delete_confirmed ) %] |
48 |
[% ELSIF ( delete_confirmed ) %] |
49 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]">[% frameworktext %] ([% frameworkcode %])</a> |
49 |
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% framework.frameworkcode %]">[% framework.frameworktext %] ([% framework.frameworkcode %])</a> |
50 |
› Data deleted |
50 |
› Data deleted |
51 |
[% END %] |
51 |
[% END %] |
52 |
</div> |
52 |
</div> |
Lines 58-74
$(document).ready(function() {
Link Here
|
58 |
|
58 |
|
59 |
[% IF ( else ) %] |
59 |
[% IF ( else ) %] |
60 |
<div id="toolbar" class="btn-toolbar"> |
60 |
<div id="toolbar" class="btn-toolbar"> |
61 |
<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> |
61 |
<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> |
62 |
</div>[% END %] |
62 |
</div>[% END %] |
63 |
|
63 |
|
64 |
<h1>MARC Framework for [% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> |
64 |
<h1>MARC Framework for [% IF framework %][% framework.frameworktext %] ([% framework.frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> |
65 |
|
65 |
|
66 |
[% IF ( add_form ) %] |
66 |
[% IF ( add_form ) %] |
67 |
|
67 |
|
68 |
<form action="[% script_name %]" name="Aform" method="post" class="validated"> |
68 |
<form action="[% script_name %]" name="Aform" method="post" class="validated"> |
69 |
|
69 |
|
70 |
<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" /> |
70 |
<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" /> |
71 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
71 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
72 |
|
72 |
|
73 |
<ol> |
73 |
<ol> |
74 |
<li> |
74 |
<li> |
Lines 112-118
$(document).ready(function() {
Link Here
|
112 |
</ol></fieldset> |
112 |
</ol></fieldset> |
113 |
<fieldset class="action"> |
113 |
<fieldset class="action"> |
114 |
<input type="submit" value="Save changes" /> |
114 |
<input type="submit" value="Save changes" /> |
115 |
<a class="cancel" href="[% script_name %]?frameworkcode=[% frameworkcode %]">Cancel</a> |
115 |
<a class="cancel" href="[% script_name %]?frameworkcode=[% framework.frameworkcode %]">Cancel</a> |
116 |
</fieldset> |
116 |
</fieldset> |
117 |
</form> |
117 |
</form> |
118 |
[% END %] |
118 |
[% END %] |
Lines 126-135
$(document).ready(function() {
Link Here
|
126 |
<form action="[% script_name %]" method="post"> |
126 |
<form action="[% script_name %]" method="post"> |
127 |
<input type="hidden" name="op" value="delete_confirmed" /> |
127 |
<input type="hidden" name="op" value="delete_confirmed" /> |
128 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
128 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
129 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
129 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
130 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button> |
130 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button> |
131 |
</form> |
131 |
</form> |
132 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
132 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
133 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
133 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
134 |
</form> |
134 |
</form> |
135 |
</div> |
135 |
</div> |
Lines 138-144
$(document).ready(function() {
Link Here
|
138 |
[% IF ( delete_confirmed ) %] |
138 |
[% IF ( delete_confirmed ) %] |
139 |
|
139 |
|
140 |
<div class="dialog message"><h3>Tag deleted</h3> |
140 |
<div class="dialog message"><h3>Tag deleted</h3> |
141 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
141 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
142 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> |
142 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> |
143 |
</form></div> |
143 |
</form></div> |
144 |
[% END %] |
144 |
[% END %] |
Lines 146-153
$(document).ready(function() {
Link Here
|
146 |
|
146 |
|
147 |
<form action="[% script_name %]" method="post"> |
147 |
<form action="[% script_name %]" method="post"> |
148 |
<input type="hidden" name="op" value="framework_create_confirm" /> |
148 |
<input type="hidden" name="op" value="framework_create_confirm" /> |
149 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
149 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
150 |
Create framework for [% frameworkcode %] ([% frameworktext %]) using |
150 |
Create framework for [% frameworkcode %] ([% framework.frameworktext %]) using |
151 |
<select name="existingframeworkcode"> |
151 |
<select name="existingframeworkcode"> |
152 |
<option value="">Default</option> |
152 |
<option value="">Default</option> |
153 |
[% FOREACH existingframeworkloo IN existingframeworkloop %] |
153 |
[% FOREACH existingframeworkloo IN existingframeworkloop %] |
Lines 168-178
$(document).ready(function() {
Link Here
|
168 |
<label for="frameworkcode"><strong>In framework:</strong> </label> |
168 |
<label for="frameworkcode"><strong>In framework:</strong> </label> |
169 |
<select id="frameworkcode" name="frameworkcode"> |
169 |
<select id="frameworkcode" name="frameworkcode"> |
170 |
<option value="">Default</option> |
170 |
<option value="">Default</option> |
171 |
[% FOREACH framework IN frameworks %] |
171 |
[% FOREACH f IN frameworks %] |
172 |
[% IF framework.frameworkcode == frameworkcode %] |
172 |
[% IF f.frameworkcode == framework.frameworkcode %] |
173 |
<option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option> |
173 |
<option value="[% f.frameworkcode %]" selected="selected">[% f.frameworktext %]</option> |
174 |
[% ELSE %] |
174 |
[% ELSE %] |
175 |
<option value="[% framework.frameworkcode %]">[% framework.frameworktext %]</option> |
175 |
<option value="[% f.frameworkcode %]">[% f.frameworktext %]</option> |
176 |
[% END %] |
176 |
[% END %] |
177 |
[% END %] |
177 |
[% END %] |
178 |
</select> |
178 |
</select> |
179 |
- |
|
|