134 lines
9.1 KiB
Cheetah
134 lines
9.1 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration:
|
|
<!-- TMPL_IF name="add_form" --><!-- TMPL_IF NAME="modify" -->Modify system preference '<!-- TMPL_VAR NAME="searchfield" -->'<!-- TMPL_ELSE -->Add a system preference<!-- /TMPL_IF --><!-- /TMPL_IF --><!-- TMPL_IF name="add_validate" -->Data Added<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="delete_confirm" -->Confirm Deletion of Parameter '<!-- TMPL_VAR name="searchfield" -->'<!-- /TMPL_IF --><!-- TMPL_IF name="delete_confirmed" -->Parameter Deleted<!-- /TMPL_IF --><!-- TMPL_IF name="else" -->Preferences<!-- /TMPL_IF -->
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
|
|
<!-- TMPL_INCLUDE NAME="menus.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
|
|
|
|
<!-- TMPL_IF NAME="add_form" -->
|
|
|
|
<h1><!-- TMPL_IF NAME="use-heading-flags-p" -->
|
|
<!-- TMPL_IF NAME="heading-edit-subfields-p" -->Edit MARC subfields constraints<!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE --><!-- TMPL_VAR NAME="action" --><!-- /TMPL_IF --></h1>
|
|
<form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
|
|
<input type="hidden" name="op" value="add_validate" />
|
|
<input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
|
|
<!-- TMPL_LOOP NAME="loop" -->
|
|
<div class="data <!-- TMPL_VAR NAME="toggle" -->"><h2>Tag <!-- TMPL_VAR NAME="tagfield" -->, Subfield <!-- TMPL_VAR NAME="tagsubfield" --></h2>
|
|
<table>
|
|
<caption>MARC constraints</caption>
|
|
<tr><th><label for="repeatable<!-- TMPL_VAR NAME="row" -->">Repeatable:</label></th><td><!-- TMPL_VAR NAME="repeatable" --></td></tr>
|
|
<tr><th><label for="mandatory<!-- TMPL_VAR NAME="row" -->">Mandatory:</label></th><td><!-- TMPL_VAR NAME="mandatory" --> </td></tr>
|
|
<tr><th><label for="seealso<!-- TMPL_VAR NAME="row" -->">Search also:</label></th><td><input type="text" id="seealso<!-- TMPL_VAR NAME="row" -->" name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size="20" /> (example for 200a: '200c','200d','200e'...)</td></tr>
|
|
<tr><th><label for="kohafield<!-- TMPL_VAR NAME="row" -->">Koha link:</label></th><td><!-- TMPL_VAR NAME="kohafield" --></td></tr>
|
|
</table>
|
|
<table>
|
|
<caption>Editor constaints</caption>
|
|
<tr><th><label for="liblibrarian<!-- TMPL_VAR NAME="row" -->">Text for librarian:</label></th><td><input id="liblibrarian<!-- TMPL_VAR NAME="row" -->" type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" -->" size="40" maxlength="80" /></td></tr>
|
|
<tr><th><label for="libopac<!-- TMPL_VAR NAME="row" -->">Text for OPAC:</label></th><td><input type="text" id="libopac<!-- TMPL_VAR NAME="row" -->" name="libopac" value="<!-- TMPL_VAR NAME="libopac" -->" size="40" maxlength="80" /></td></tr>
|
|
<tr><th><label for="tab<!-- TMPL_VAR NAME="row" -->">Managed in tab:</label></th><td><!-- TMPL_VAR NAME="tab" --> (ignore means that the subfield is NOT managed by Koha)</td></tr>
|
|
<tr><th><label for="hidden<!-- TMPL_VAR NAME="row" -->">Hidden: </label></th><td><!-- TMPL_VAR NAME="hidden" --> (subfield is managed, but hidden. -should be filled by a plugin or thesaurus-)</td></tr>
|
|
<tr><th><label for="isurl<!-- TMPL_VAR NAME="row" -->">Is a URL: </label></th><td><!-- TMPL_VAR NAME="isurl" --> (if checked, it means that the subfield is an URL and can be clicked</td></tr>
|
|
<tr><th><label>Default Options: <p>(choose one)</p></label></th><td>
|
|
<ul>
|
|
<li>Authorized Value: <!-- TMPL_VAR NAME="authorised_value" --></li>
|
|
<li>Thesaurus: <!-- TMPL_VAR NAME="authtypes" --></li>
|
|
<li>Plugin: <!-- TMPL_VAR NAME="value_builder" --></li>
|
|
<li>Link: <input type="text" name="link" value="<!-- TMPL_VAR NAME="link" -->" size="10" maxlength="5" /> (exemple:200b)</li>
|
|
</ul>
|
|
</td></tr>
|
|
</table>
|
|
|
|
<!-- /TMPL_LOOP -->
|
|
<input type="submit" value="Save Changes" />
|
|
<p>Note: in the last column, you can choose:
|
|
<ul><li>An "authorised value": it refers to a list of authorised values for this subfield. See the corresponding admin table.</li>
|
|
<li>A "thesaurus category": it refers to a thesaurus category. See the corresponding admin table.</li>
|
|
<li>A "value builder": values builders are perl programs that help you select the value of the field. They are MARC-flavor dependant and sometimes fill another subfield automatically.</li>
|
|
</ul>
|
|
</p>
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="delete_confirm" -->
|
|
|
|
<table>
|
|
<caption>Confirm Deletion of Subfield <!-- TMPL_VAR NAME="tagsubfield" -->?</span></caption>
|
|
<tr>
|
|
<th>Subfield</th>
|
|
<td><!-- TMPL_VAR NAME="tagsubfield" --></td>
|
|
</tr>
|
|
<tr><th>Description</th><td><!-- TMPL_VAR NAME="liblibrarian" --></td></tr>
|
|
</table>
|
|
<form class="inline" action="<!-- TMPL_VAR NAME="delete_link" -->" method="post"><input type="hidden" name="op" value="delete_confirmed" />
|
|
<input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
|
|
<input type="hidden" name="tagfield" value="<!-- TMPL_VAR NAME="tagfield" -->" /><input type="hidden" name="tagsubfield" value="<!-- TMPL_VAR NAME="tagsubfield" -->" /><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" /><input type="submit" value="Yes, Delete this Subfield" />
|
|
</form> <form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="post"> <input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" /> <input type="hidden" name="tagfield" value="<!-- TMPL_VAR NAME="tagfield" -->" /> <input type="hidden" name="tagsubfield" value="<!-- TMPL_VAR NAME="tagsubfield" -->" /> <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" /> <input type="submit" value="No, Do Not Delete" />
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF NAME="delete_confirmed" -->
|
|
|
|
Data deleted
|
|
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post"><input type="hidden" name="tagfield" value="<!-- TMPL_VAR NAME="tagfield" -->">
|
|
<input type="submit" value="OK" />
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_IF NAME="else" -->
|
|
<h1>MARC subfield structure admin for <!-- TMPL_VAR NAME="tagfield" --> (framework <!--TMPL_VAR NAME="frameworkcode" -->)</h1>
|
|
<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>
|
|
<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>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Subfield</th>
|
|
<th>Text</th>
|
|
<th>Constraints</th>
|
|
<th>Delete</th>
|
|
<!-- TMPL_LOOP NAME="loop" -->
|
|
<!-- TMPL_IF NAME="toggle" --><tr class="highlighted"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
|
|
<td><!-- TMPL_VAR NAME="tagsubfield" --></td>
|
|
<td>
|
|
<!-- TMPL_IF NAME="subfield_ignored" -->
|
|
<i><!-- TMPL_VAR NAME="liblibrarian" --></i>
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_VAR NAME="liblibrarian" -->
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_IF NAME="subfield_ignored" -->
|
|
<i>subfield ignored</i>
|
|
<!-- TMPL_ELSE -->
|
|
Tab:<!-- TMPL_VAR NAME="tab" -->,
|
|
<!-- TMPL_IF NAME="kohafield" --> | Koha field: <!-- TMPL_VAR NAME="kohafield" -->, <!--/TMPL_IF -->
|
|
<!-- TMPL_IF NAME="repeatable" -->Repeatable, <!-- TMPL_ELSE -->Not repeatable,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="mandatory" -->Mandatory, <!-- TMPL_ELSE -->Not mandatory,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="seealso" --> | See Also: <!-- TMPL_VAR NAME="seealso" -->,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="hidden" -->hidden,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="isurl" -->is an url,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="authorised_value" --> | Auth value:<!-- TMPL_VAR NAME="authorised_value" -->,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="authtypecode" --> | Authority:<!-- TMPL_VAR NAME="authtypecode" -->,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="value_builder" --> | Plugin:<!-- TMPL_VAR NAME="value_builder" -->,<!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="link" --> | Link:<!-- TMPL_VAR NAME="link" -->,<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
</td>
|
|
<td><a href="<!-- TMPL_VAR NAME="delete" -->">Delete</a></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<form class="inline" action="<!-- TMPL_VAR NAME="script_name" -->" method="get"><input type="hidden" name="op" value="add_form" /><input type="hidden" name="tagfield" value="<!-- TMPL_VAR NAME="edit_tagfield" -->" /><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="edit_frameworkcode" -->" /><input type="submit" value="Edit Subfields" /></form> <form class="inline" action="marctagstructure.pl" method="get"><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="tagfield" -->" /><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" /><input type="submit" value="Return to Marc Structure" /></form>
|
|
<!-- TMPL_IF NAME="previous" -->
|
|
<input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1leftarrow.png" title="previous" alt="previous" border="0" >
|
|
</a><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF NAME="next" -->
|
|
<!-- TMPL_VAR NAME="next" -->
|
|
<input type="image" src="<!-- TMPL_VAR NAME="interface" -->/<!-- TMPL_VAR NAME="theme" -->/images/1rightarrow.png" title="next" alt="next" border="0" />
|
|
</a>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|