1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <h1>Authority MARC framework for <!-- TMPL_IF NAME="authtypecode" --><!-- TMPL_VAR NAME="authtypecode" --><!-- TMPL_ELSE -->default framework<!-- /TMPL_IF --></h1>
6 <script language="javascript" type="text/javascript">
7 function _(s) { return s } // dummy function for gettext
8 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
9 function isNotNull(f,noalert) {
10 if (f.value.length ==0) {
15 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
17 var x=f.value.toUpperCase();
21 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
22 function isNum(v,maybenull) {
23 var n = new Number(v.value);
27 if (maybenull==0 && v.value=='') {
32 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
34 var t = Date.parse(f.value);
39 /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
44 if (f.tagfield.value.length==0) {
45 _alertString += "\n- " + _("tag number missing");
47 if (_alertString.length==0) {
48 document.Aform.submit();
50 alertString2 = _("Form not submitted because of the following problem(s)");
51 alertString2 += "\n------------------------------------------------------------------------------------\n";
52 alertString2 += _alertString;
58 <!-- TMPL_IF NAME="add_form" -->
61 <!-- TMPL_IF NAME="use-heading-flags-p" -->
62 <!-- TMPL_IF NAME="heading-modify-tag-p" -->Modify tag<!-- /TMPL_IF -->
63 <!-- TMPL_IF NAME="heading-add-tag-p" -->Add tag<!-- /TMPL_IF -->
64 <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF -->
66 <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
67 <input type="hidden" name="op" value="add_validate" />
68 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
69 <p><label>Tag<label><!-- TMPL_VAR NAME="searchfield" --></p>
70 <p><label>Text for librarians</label><input type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" escape=HTML -->" size="80" maxlength="100" /></p>
71 <p><label>Text for opac</label><input type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" escape=HTML -->" size="80" maxlength="100" /></p>
72 <p><label>Repeatable</label><!-- TMPL_VAR NAME="repeatable" --></p>
73 <p><label>Mandatory</label><!-- TMPL_VAR NAME="mandatory" --></p>
74 <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>
75 <p><label> </label><input type="button" value="OK" onclick="Check(this.form)" /></p>
80 <!-- TMPL_IF NAME="delete_confirm" -->
85 <td><!-- TMPL_VAR NAME="searchfield" --></td>
88 <td> </td><td><!-- TMPL_VAR NAME="liblibrarian" --></td>
90 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
91 <input type="hidden" name="op" value="delete_confirmed" />
92 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR name="authtypecode" -->">
93 <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
94 <tr><td colspan="2" align="center">CONFIRM DELETION</td></tr>
95 <tr><td><input type="submit" value="YES"></form></td><td><form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input type="submit" value="NO" /></form></td></tr>
98 <!-- TMPL_IF NAME="delete_confirmed" -->
101 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
102 <input type="submit" value="OK" />
105 <!-- TMPL_IF NAME="authtype_create" -->
107 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
108 <input type="hidden" name="op" value="authtype_create_confirm" />
109 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
110 Create authority framework for <!-- TMPL_VAR NAME="authtypecode" --> using
111 <select name="existingauthtypecode">
112 <option value="">Default</option>
113 <!-- TMPL_LOOP NAME="existingauthtypeloop" -->
114 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
117 <input type="submit" value="OK" />
122 <!-- TMPL_IF NAME="else" -->
124 <h2>Select an authority framework</h2>
125 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
126 <select name="authtypecode">
127 <option value="">Default</option>
128 <!-- TMPL_LOOP NAME="authtypeloop" -->
129 <option value="<!-- TMPL_VAR NAME="value" -->" <!-- TMPL_IF NAME="selected" -->selected<!-- /TMPL_IF -->>
130 <!-- TMPL_VAR NAME="authtypetext" -->
134 <input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
135 <input type="submit" value="OK" />
145 <th>Authorised<br />value</th>
149 <!-- TMPL_LOOP NAME="loop" -->
151 <td><!-- TMPL_VAR NAME="tagfield" --></td>
152 <td><!-- TMPL_VAR NAME="liblibrarian" --></td>
153 <td><!-- TMPL_IF NAME="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
154 <td><!-- TMPL_IF NAME="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
155 <td><!-- TMPL_VAR NAME="authorised_value" --></td>
156 <td><a href="<!-- TMPL_VAR NAME="subfield_link" -->">subfields</a></td>
157 <td><a href="<!-- TMPL_VAR NAME="edit" -->">Edit</a></td>
158 <td><a href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
162 <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
163 <input type="hidden" name="op" value="add_form" />
164 <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
165 <input type="hidden" name="op" value="add_form" />
166 <input type="submit" value="Add Tag" />
167 <!-- TMPL_IF NAME="isprevpage" -->
168 <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->">Previous Page</a>
170 <!-- TMPL_IF NAME="nextpage" -->
171 <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->&searchfield=<!-- TMPL_VAR NAME="searchfield" -->">Next Page</a>
177 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->