1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › System Administration</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 <!-- TMPL_INCLUDE NAME="menus.inc" -->
7 <!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
9 <h1>Authority MARC framework for <!-- TMPL_IF NAME="authtypecode" --><!-- TMPL_VAR NAME="authtypecode" --><!-- TMPL_ELSE -->default framework<!-- /TMPL_IF --></h1>
10 <script language="javascript" type="text/javascript">
11 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
12 function isNotNull(f,noalert) {
13 if (f.value.length ==0) {
18 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
20 var x=f.value.toUpperCase();
24 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
25 function isNum(v,maybenull) {
26 var n = new Number(v.value);
30 if (maybenull==0 && v.value=='') {
35 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
37 var t = Date.parse(f.value);
42 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
47 if (f.tagfield.value.length==0) {
48 _alertString += "\n- " + _("tag number missing");
50 if (_alertString.length==0) {
51 document.Aform.submit();
53 alertString2 = _("Form not submitted because of the following problem(s)");
54 alertString2 += "\n------------------------------------------------------------------------------------\n";
55 alertString2 += _alertString;
61 <!-- TMPL_IF NAME="add_form" -->
64 <!-- TMPL_IF NAME="use-heading-flags-p" -->
65 <!-- TMPL_IF NAME="heading-modify-tag-p" -->Modify tag<!-- /TMPL_IF -->
66 <!-- TMPL_IF NAME="heading-add-tag-p" -->Add tag<!-- /TMPL_IF -->
67 <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
69 <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
70 <input type="hidden" name="op" value="add_validate" />
71 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
72 <p><label>Tag</label><!-- TMPL_VAR NAME="searchfield" --></p>
73 <p><label>Text for librarians</label><input type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" escape="HTML" -->" size="40" maxlength="100" /></p>
74 <p><label>Text for opac</label><input type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" escape="HTML" -->" size="40" maxlength="100" /></p>
75 <p><label for="repeatable">Repeatable</label>
76 <!-- TMPL_IF NAME="repeatable" -->
77 <input type="checkbox" name="repeatable" id="repeatable" value="1" checked="checked" />
79 <input type="checkbox" name="repeatable" id="repeatable" value="1" />
83 <p><label for="mandatory">Mandatory</label>
84 <!-- TMPL_IF NAME="mandatory" -->
85 <input type="checkbox" name="mandatory" id="mandatory" value="1" checked="checked" />
87 <input type="checkbox" name="mandatory" id="mandatory" value="1" />
91 <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>
92 <p><label> </label><input type="button" value="OK" class="button" onclick="Check(this.form)" /></p>
97 <!-- TMPL_IF NAME="delete_confirm" -->
102 <td><!-- TMPL_VAR NAME="searchfield" --></td>
105 <td> </td><td><!-- TMPL_VAR NAME="liblibrarian" --></td>
107 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
108 <input type="hidden" name="op" value="delete_confirmed" />
109 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->" />
110 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
111 <tr><td colspan="2" align="center">CONFIRM DELETION</td></tr>
112 <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>
115 <!-- TMPL_IF NAME="delete_confirmed" -->
118 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
119 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->" />
120 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
121 <input type="submit" value="OK" class="submit" />
124 <!-- TMPL_IF NAME="authtype_create" -->
126 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
127 <input type="hidden" name="op" value="authtype_create_confirm" />
128 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
129 Create authority framework for <!-- TMPL_VAR NAME="authtypecode" --> using
130 <select name="existingauthtypecode">
131 <option value="">Default</option>
132 <!-- TMPL_LOOP NAME="existingauthtypeloop" -->
133 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
136 <input type="submit" value="OK" class="submit" />
141 <!-- TMPL_IF NAME="else" -->
143 <h2>Select an authority framework</h2>
144 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
145 <select name="authtypecode">
146 <option value="">Default</option>
147 <!-- TMPL_LOOP NAME="authtypeloop" -->
148 <!-- TMPL_IF NAME="selected" -->
149 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="authtypetext" --></option>
151 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
156 <input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
157 <input type="submit" value="OK" class="submit" />
167 <th>Authorised<br />value</th>
171 <!-- TMPL_LOOP NAME="loop" -->
172 <tr valign="top" bgcolor="<!-- TMPL_VAR NAME="bgcolor" -->">
173 <td><b><!-- TMPL_VAR NAME="tagfield" --></b></td>
174 <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
175 <td><!-- TMPL_IF NAME="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
176 <td><!-- TMPL_IF NAME="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
177 <td><!-- TMPL_VAR NAME="authorised_value" --></td>
178 <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->" class="button">subfields</a></td>
179 <td><a href="<!-- TMPL_VAR NAME="edit" -->">Edit</a></td>
180 <td><a href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
184 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
185 <input type="hidden" name="op" value="add_form" />
186 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
187 <input type="hidden" name="op" value="add_form" />
188 <input type="submit" class="submit" value="Add Tag" />
189 <!-- TMPL_IF NAME="isprevpage" -->
190 <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>
192 <!-- TMPL_IF NAME="nextpage" -->
193 <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>
199 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->