|
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 %]">[% framework.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 121-130
$(document).ready(function() {
Link Here
|
| 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 %]" /> |
123 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
| 124 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
124 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
| 125 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button> |
125 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this tag</button> |
| 126 |
</form> |
126 |
</form> |
| 127 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
127 |
<form action="[% script_name %]" method="get"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
| 128 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
128 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
| 129 |
</form> |
129 |
</form> |
| 130 |
</div> |
130 |
</div> |
|
Lines 133-139
$(document).ready(function() {
Link Here
|
| 133 |
[% IF ( delete_confirmed ) %] |
133 |
[% IF ( delete_confirmed ) %] |
| 134 |
|
134 |
|
| 135 |
<div class="dialog message"><h3>Tag deleted</h3> |
135 |
<div class="dialog message"><h3>Tag deleted</h3> |
| 136 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
136 |
<form action="[% script_name %]" method="post"><input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
| 137 |
<input type="submit" value="OK" class="approve" /> |
137 |
<input type="submit" value="OK" class="approve" /> |
| 138 |
</form></div> |
138 |
</form></div> |
| 139 |
[% END %] |
139 |
[% END %] |
|
Lines 141-148
$(document).ready(function() {
Link Here
|
| 141 |
|
141 |
|
| 142 |
<form action="[% script_name %]" method="post"> |
142 |
<form action="[% script_name %]" method="post"> |
| 143 |
<input type="hidden" name="op" value="framework_create_confirm" /> |
143 |
<input type="hidden" name="op" value="framework_create_confirm" /> |
| 144 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
144 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
| 145 |
Create framework for [% frameworkcode %] ([% frameworktext %]) using |
145 |
Create framework for [% frameworkcode %] ([% framework.frameworktext %]) using |
| 146 |
<select name="existingframeworkcode"> |
146 |
<select name="existingframeworkcode"> |
| 147 |
<option value="">Default</option> |
147 |
<option value="">Default</option> |
| 148 |
[% FOREACH existingframeworkloo IN existingframeworkloop %] |
148 |
[% FOREACH existingframeworkloo IN existingframeworkloop %] |
|
Lines 163-173
$(document).ready(function() {
Link Here
|
| 163 |
<label for="frameworkcode"><strong>In framework:</strong> </label> |
163 |
<label for="frameworkcode"><strong>In framework:</strong> </label> |
| 164 |
<select id="frameworkcode" name="frameworkcode"> |
164 |
<select id="frameworkcode" name="frameworkcode"> |
| 165 |
<option value="">Default</option> |
165 |
<option value="">Default</option> |
| 166 |
[% FOREACH framework IN frameworks %] |
166 |
[% FOREACH f IN frameworks %] |
| 167 |
[% IF framework.frameworkcode == frameworkcode %] |
167 |
[% IF f.frameworkcode == framework.frameworkcode %] |
| 168 |
<option value="[% framework.frameworkcode %]" selected="selected">[% framework.frameworktext %]</option> |
168 |
<option value="[% f.frameworkcode %]" selected="selected">[% f.frameworktext %]</option> |
| 169 |
[% ELSE %] |
169 |
[% ELSE %] |
| 170 |
<option value="[% framework.frameworkcode %]">[% framework.frameworktext %]</option> |
170 |
<option value="[% f.frameworkcode %]">[% f.frameworktext %]</option> |
| 171 |
[% END %] |
171 |
[% END %] |
| 172 |
[% END %] |
172 |
[% END %] |
| 173 |
</select> |
173 |
</select> |
| 174 |
- |
|
|