1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Administration ›
3 [% IF ( add_form ) %] Koha to MARC mapping › Connect [% tablename %].[% kohafield %] to a MARC subfield[% END %]
4 [% IF ( else ) %]Koha to MARC mapping [% tagfield %][% END %]</title>
6 [% INCLUDE 'doc-head-close.inc' %]
8 <body id="admin_koha2marclinks" class="admin">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'cat-search.inc' %]
12 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › [% IF ( add_form ) %] <a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC Mapping</a> › Connect [% tablename %].[% kohafield %] to a MARC subfield[% END %]
13 [% IF ( else ) %]Koha to MARC mapping[% tagfield %][% END %]</div>
15 <div id="doc" class="yui-t7">
21 <div id="doc3" class="yui-t2">
29 <h1>Connect [% tablename %].[% kohafield %] to a MARC subfield</h1>
30 <p>Choose and validate 1 MARC subfield for <strong>[% tablename %].[% kohafield %]</strong>.</p>
31 <p><b>Note: </b>All frameworks will be modified which is usually what you need, but you have been warned.</p>
32 <fieldset class="rows">
34 [% FOR i IN [ 0 .. 9 ] %]
35 [% marclist = "marclist$i" %]
37 <form action="[% script_name %]" method="post">
38 <input type="hidden" name="op" value="add_validate" />
39 <input type="hidden" name="tablename" value="[% tablename %]" />
40 <input type="hidden" name="kohafield" value="[% kohafield %]" />
41 <label>[% i %]00s</label>
42 <select name="marc" id="marc" size="1" width="570" style="width: 570px;">
43 [% FOREACH value IN $marclist.values %]
44 [% IF ( value == $marclist.default ) %]
45 <option value="[% value %]" selected="selected">[% value %]</option>
47 <option value="[% value %]">[% value %]</option>
51 <input type="submit" value="OK" />
57 <fieldset class="action">
58 <form action="[% script_name %]" name="Aform" method="post">
59 <input type="hidden" name="op" value="add_validate" />
60 <input type="hidden" name="tablename" value="[% tablename %]" />
61 <input type="hidden" name="kohafield" value="[% kohafield %]" />
62 <input type="hidden" name="choice" value="" />
63 <input type="submit" value="Click to "Unmap"" />
65 <a class="cancel" href="/cgi-bin/koha/admin/koha2marclinks.pl">Cancel</a>
72 <h1>Koha to MARC mapping [% tagfield %]</h1>
73 <form action="[% script_name %]" method="post">
75 <select name="tablename" id="tablename" size="1">
76 [% FOREACH value IN tablename.values %]
77 [% IF ( value == tablename.default ) %]
78 <option value="[% value %]" selected="selected">[% value %]</option>
80 <option value="[% value %]">[% value %]</option>
84 <input type="submit" value="OK" />
95 [% FOREACH loo IN loop %]
97 <td><a href="[% loo.edit %]">[% loo.kohafield %]</a></td>
98 <td>[% loo.tagfield %]</td>
99 <td>[% loo.tagsubfield %]</td>
100 <td>[% loo.liblibrarian %]</td>
101 <td><a href="[% loo.edit %]">Edit</a></td>
109 [% UNLESS ( add_form ) %]
111 [% INCLUDE 'admin-menu.inc' %]
115 [% INCLUDE 'intranet-bottom.inc' %]