1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Administration › Authority MARC framework</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
6 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
7 function isNotNull(f,noalert) {
8 if (f.value.length ==0) {
13 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
15 var x=f.value.toUpperCase();
19 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20 function isNum(v,maybenull) {
21 var n = new Number(v.value);
25 if (maybenull==0 && v.value=='') {
30 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
32 var t = Date.parse(f.value);
37 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
42 if (f.tagfield.value.length==0) {
43 _alertString += "\n- " + _("tag number missing");
45 if (_alertString.length==0) {
46 document.Aform.submit();
48 alertString2 = _("Form not submitted because of the following problem(s)");
49 alertString2 += "\n------------------------------------------------------------------------------------\n";
50 alertString2 += _alertString;
58 <!-- TMPL_INCLUDE NAME="header.inc" -->
60 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › Authority MARC framework</div>
62 <div id="doc3" class="yui-t2">
68 <h1>Authority MARC framework for <!-- TMPL_IF NAME="authtypecode" --><!-- TMPL_VAR NAME="authtypecode" --><!-- TMPL_ELSE -->default framework<!-- /TMPL_IF --></h1>
71 <!-- TMPL_IF NAME="add_form" -->
74 <!-- TMPL_IF NAME="use-heading-flags-p" -->
75 <!-- TMPL_IF NAME="heading-modify-tag-p" -->Modify tag<!-- /TMPL_IF -->
76 <!-- TMPL_IF NAME="heading-add-tag-p" -->Add tag<!-- /TMPL_IF -->
77 <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
79 <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
80 <input type="hidden" name="op" value="add_validate" />
81 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
82 <p><label>Tag</label><!-- TMPL_VAR NAME="searchfield" --></p>
83 <p><label>Text for librarians</label><input type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" escape="HTML" -->" size="40" maxlength="100" /></p>
84 <p><label>Text for opac</label><input type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" escape="HTML" -->" size="40" maxlength="100" /></p>
85 <p><label for="repeatable">Repeatable</label>
86 <!-- TMPL_IF NAME="repeatable" -->
87 <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
89 <input type="checkbox" name="repeatable" id="repeatable" value="1" />
93 <p><label for="mandatory">Mandatory</label>
94 <!-- TMPL_IF NAME="mandatory" -->
95 <input type="checkbox" name="mandatory" id="mandatory" value="1" checked="checked" />
97 <input type="checkbox" name="mandatory" id="mandatory" value="1" />
101 <p><label>Authorised value</label><!-- TMPL_VAR NAME="authorised_value" --> (if you select a value here, the indicators will be limited to the authorised value list)</p>
102 <p><label> </label><input type="button" value="OK" class="button" onclick="Check(this.form)" /></p>
107 <!-- TMPL_IF NAME="delete_confirm" -->
112 <td><!-- TMPL_VAR NAME="searchfield" --></td>
115 <td> </td><td><!-- TMPL_VAR NAME="liblibrarian" --></td>
117 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
118 <input type="hidden" name="op" value="delete_confirmed" />
119 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->" />
120 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
121 <tr><td colspan="2" align="center">CONFIRM DELETION</td></tr>
122 <tr><td><input type="submit" value="YES"></form></td><td><form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input type="submit" value="NO" class="submit" /></form></td></tr>
125 <!-- TMPL_IF NAME="delete_confirmed" -->
128 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
129 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->" />
130 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
131 <input type="submit" value="OK" class="submit" />
134 <!-- TMPL_IF NAME="authtype_create" -->
136 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
137 <input type="hidden" name="op" value="authtype_create_confirm" />
138 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
139 Create authority framework for <!-- TMPL_VAR NAME="authtypecode" --> using
140 <select name="existingauthtypecode">
141 <option value="">Default</option>
142 <!-- TMPL_LOOP NAME="existingauthtypeloop" -->
143 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
146 <input type="submit" value="OK" class="submit" />
151 <!-- TMPL_IF NAME="else" -->
152 <h2>Select an authority framework</h2>
153 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
154 <select name="authtypecode">
155 <option value="">Default</option>
156 <!-- TMPL_LOOP NAME="authtypeloop" -->
157 <!-- TMPL_IF NAME="selected" -->
158 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="authtypetext" --></option>
160 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
165 <input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
166 <input type="submit" value="OK" class="submit" />
174 <th>Authorised<br />value</th>
178 <!-- TMPL_LOOP NAME="loop" -->
179 <tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
180 <td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
181 <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
182 <td><!-- TMPL_IF NAME="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
183 <td><!-- TMPL_IF NAME="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
184 <td><!-- TMPL_VAR NAME="authorised_value" --></td>
185 <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->" class="button">subfields</a></td>
186 <td><a href="<!-- TMPL_VAR NAME="edit" -->">Edit</a></td>
187 <td><a href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
191 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
192 <input type="hidden" name="op" value="add_form" />
193 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
194 <input type="hidden" name="op" value="add_form" />
195 <input type="submit" class="submit" value="Add Tag" />
196 <!-- TMPL_IF NAME="isprevpage" -->
197 <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->&authtypecode=<!-- TMPL_VAR NAME="authtypecode" --> ">Previous Page</a>
199 <!-- TMPL_IF NAME="nextpage" -->
200 <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->&authtypecode=<!-- TMPL_VAR NAME="authtypecode" --> ">Next Page</a>
208 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
211 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->