|
Lines 167-185
function populateHiddenCheckboxes(tab) {
Link Here
|
| 167 |
[% INCLUDE 'cat-search.inc' %] |
167 |
[% INCLUDE 'cat-search.inc' %] |
| 168 |
|
168 |
|
| 169 |
<div id="breadcrumbs"> |
169 |
<div id="breadcrumbs"> |
| 170 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> › <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]&searchfield=[% tagfield %]">[% IF ( frameworkcode ) %][% frameworkcode %][% ELSE %]Default[% END %] framework structure</a> › |
170 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> › <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode %]&searchfield=[% tagfield | uri %]">[% IF ( frameworkcode ) %][% frameworkcode %][% ELSE %]Default[% END %] framework structure</a> › |
| 171 |
[% IF ( add_form ) %] |
171 |
[% IF ( add_form ) %] |
| 172 |
[% IF ( use_heading_flags_p ) %] |
172 |
[% IF ( use_heading_flags_p ) %] |
| 173 |
[% IF ( heading_edit_subfields_p ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield %] subfield structure</a> › Edit subfields constraints |
173 |
[% IF ( heading_edit_subfields_p ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] subfield structure</a> › Edit subfields constraints |
| 174 |
[% END %] |
174 |
[% END %] |
| 175 |
[% ELSE %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield %] Subfield structure</a> › [% action %] |
175 |
[% ELSE %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] Subfield structure</a> › [% action %] |
| 176 |
[% END %] |
176 |
[% END %] |
| 177 |
[% END %] |
177 |
[% END %] |
| 178 |
[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield %] Subfield structure</a> › Confirm deletion of subfield [% tagsubfield %] |
178 |
[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] Subfield structure</a> › Confirm deletion of subfield [% tagsubfield %] |
| 179 |
[% END %] |
179 |
[% END %] |
| 180 |
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield %] subfield structure</a> › Subfield deleted |
180 |
[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&frameworkcode=[% frameworkcode %]">Tag [% tagfield | html %] subfield structure</a> › Subfield deleted |
| 181 |
[% END %] |
181 |
[% END %] |
| 182 |
[% IF ( else ) %]Tag [% tagfield %] Subfield structure[% END %] |
182 |
[% IF ( else ) %]Tag [% tagfield | html %] Subfield structure[% END %] |
| 183 |
</div> |
183 |
</div> |
| 184 |
|
184 |
|
| 185 |
<div id="doc" class="yui-t7"> |
185 |
<div id="doc" class="yui-t7"> |
|
Lines 191-204
function populateHiddenCheckboxes(tab) {
Link Here
|
| 191 |
[% IF ( add_form ) %] |
191 |
[% IF ( add_form ) %] |
| 192 |
<h1> |
192 |
<h1> |
| 193 |
[% IF ( use_heading_flags_p ) %] |
193 |
[% IF ( use_heading_flags_p ) %] |
| 194 |
[% IF ( heading_edit_subfields_p ) %]Tag [% tagfield %] Subfield constraints[% END %] |
194 |
[% IF ( heading_edit_subfields_p ) %]Tag [% tagfield | html %] Subfield constraints[% END %] |
| 195 |
[% ELSE %] |
195 |
[% ELSE %] |
| 196 |
[% action %] |
196 |
[% action %] |
| 197 |
[% END %] |
197 |
[% END %] |
| 198 |
</h1> |
198 |
</h1> |
| 199 |
<form action="[% script_name %]" name="Aform" method="post"> |
199 |
<form action="[% script_name %]" name="Aform" method="post"> |
| 200 |
<input type="hidden" name="op" value="add_validate" /> |
200 |
<input type="hidden" name="op" value="add_validate" /> |
| 201 |
<input type="hidden" name="tagfield" value="[% tagfield %]" /> |
201 |
<input type="hidden" name="tagfield" value="[% tagfield | html %]" /> |
| 202 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
202 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
| 203 |
<div id="subfieldtabs" class="toptabs numbered"> |
203 |
<div id="subfieldtabs" class="toptabs numbered"> |
| 204 |
<ul> |
204 |
<ul> |
|
Lines 339-345
function populateHiddenCheckboxes(tab) {
Link Here
|
| 339 |
[% END %] |
339 |
[% END %] |
| 340 |
</div><!-- /content --> |
340 |
</div><!-- /content --> |
| 341 |
<fieldset class="action"> |
341 |
<fieldset class="action"> |
| 342 |
<input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield %]&frameworkcode=[% frameworkcode %]" class="cancel">Cancel</a> |
342 |
<input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield | uri %]&frameworkcode=[% frameworkcode %]" class="cancel">Cancel</a> |
| 343 |
</fieldset> |
343 |
</fieldset> |
| 344 |
</form> |
344 |
</form> |
| 345 |
[% END %] |
345 |
[% END %] |
|
Lines 352-358
function populateHiddenCheckboxes(tab) {
Link Here
|
| 352 |
|
352 |
|
| 353 |
<form action="[% delete_link %]" method="post"><input type="hidden" name="op" value="delete_confirmed" /> |
353 |
<form action="[% delete_link %]" method="post"><input type="hidden" name="op" value="delete_confirmed" /> |
| 354 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
354 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
| 355 |
<input type="hidden" name="tagfield" value="[% tagfield %]" /> |
355 |
<input type="hidden" name="tagfield" value="[% tagfield | html %]" /> |
| 356 |
<input type="hidden" name="tagsubfield" value="[% tagsubfield %]" /> |
356 |
<input type="hidden" name="tagsubfield" value="[% tagsubfield %]" /> |
| 357 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
357 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
| 358 |
<input type="submit" value="Yes, delete this subfield" /> |
358 |
<input type="submit" value="Yes, delete this subfield" /> |
|
Lines 360-366
function populateHiddenCheckboxes(tab) {
Link Here
|
| 360 |
|
360 |
|
| 361 |
<form action="[% script_name %]" method="post"> |
361 |
<form action="[% script_name %]" method="post"> |
| 362 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
362 |
<input type="hidden" name="searchfield" value="[% searchfield %]" /> |
| 363 |
<input type="hidden" name="tagfield" value="[% tagfield %]" /> |
363 |
<input type="hidden" name="tagfield" value="[% tagfield | html %]" /> |
| 364 |
<input type="hidden" name="tagsubfield" value="[% tagsubfield %]" /> |
364 |
<input type="hidden" name="tagsubfield" value="[% tagsubfield %]" /> |
| 365 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
365 |
<input type="hidden" name="frameworkcode" value="[% frameworkcode %]" /> |
| 366 |
<input type="submit" value="No, do not delete" /> |
366 |
<input type="submit" value="No, do not delete" /> |
|
Lines 371-384
function populateHiddenCheckboxes(tab) {
Link Here
|
| 371 |
|
371 |
|
| 372 |
<h3>Data deleted</h3> |
372 |
<h3>Data deleted</h3> |
| 373 |
<form action="[% script_name %]" method="post"> |
373 |
<form action="[% script_name %]" method="post"> |
| 374 |
<input type="hidden" name="tagfield" value="[% tagfield %]" /> |
374 |
<input type="hidden" name="tagfield" value="[% tagfield | html %]" /> |
| 375 |
<input type="submit" value="OK" /> |
375 |
<input type="submit" value="OK" /> |
| 376 |
</form> |
376 |
</form> |
| 377 |
[% END %] |
377 |
[% END %] |
| 378 |
|
378 |
|
| 379 |
|
379 |
|
| 380 |
[% IF ( else ) %] |
380 |
[% IF ( else ) %] |
| 381 |
<h1>MARC subfield structure admin for [% tagfield %] [% IF ( frameworkcode ) %](framework [% frameworkcode %])[% ELSE %](default framework)[% END %]</h1> |
381 |
<h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode %])[% ELSE %](default framework)[% END %]</h1> |
| 382 |
<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> |
382 |
<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> |
| 383 |
<p>The column Koha field shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, or a Koha interface. This link ensures that both DB are synchronized, thus you can change from a MARC to a Koha interface easily.</p> |
383 |
<p>The column Koha field shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, or a Koha interface. This link ensures that both DB are synchronized, thus you can change from a MARC to a Koha interface easily.</p> |
| 384 |
|
384 |
|
|
Lines 428-434
function populateHiddenCheckboxes(tab) {
Link Here
|
| 428 |
<input type="hidden" name="tagfield" value="[% edit_tagfield %]" /> |
428 |
<input type="hidden" name="tagfield" value="[% edit_tagfield %]" /> |
| 429 |
<input type="hidden" name="frameworkcode" value="[% edit_frameworkcode %]" /> |
429 |
<input type="hidden" name="frameworkcode" value="[% edit_frameworkcode %]" /> |
| 430 |
<input type="submit" value="Edit subfields" /> |
430 |
<input type="submit" value="Edit subfields" /> |
| 431 |
<a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield %]&frameworkcode=[% frameworkcode %]">Cancel</a> |
431 |
<a class="cancel" href="marctagstructure.pl?searchfield=[% tagfield | uri %]&frameworkcode=[% frameworkcode %]">Cancel</a> |
| 432 |
</fieldset> |
432 |
</fieldset> |
| 433 |
</form> |
433 |
</form> |
| 434 |
|
434 |
|
| 435 |
- |
|
|