Koha/koha-tmpl/intranet-tmpl/prog/en/admin/stopwords.tmpl

97 lines
2.6 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
Koha -- System Administration: Stop Words Administration
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
<script>
function toUC(f) {
var x=f.value.toUpperCase();
f.value=x;
return true;
}
</script>
<h1>Stop Words Administration</h1>
<ul id="admin_stopwords_informations">
<!-- TMPL_IF NAME="stopword_added" -->
<li>Stop Words Added</li>
<!-- /TMPL_IF --> <!-- stopword_added -->
<!-- TMPL_IF NAME="delete_confirmed" -->
<li>Stop Words Deleted</li>
<!-- /TMPL_IF --> <!-- delete_confirmed -->
</ul>
<form action="<!-- TMPL_VAR NAME=script_name -->" method="post">
<!-- TMPL_IF NAME="delete_confirm" -->
<fieldset id="admin_stopwords_confirmation">
<legend>Confirm</legend>
<p>Confirm Deletion of the following Stop Words:</p>
<ul>
<!-- TMPL_LOOP NAME="stopwords_to_delete" -->
<li>
<!-- TMPL_VAR NAME="word" -->
<input type="hidden" name="confirmed_stopwords[]" value="<!-- TMPL_VAR NAME="word" -->" />
</li>
<!-- /TMPL_LOOP -->
</ul>
<p id="action">
<input type="submit" name="confirmDeletion" value="Confirm Deletion" />
<input type="submit" name="doNotConfirmDeletion" value="Do Not Confirm" />
</p>
</fieldset>
<!-- /TMPL_IF -->
<fieldset id="admin_stopwords_add">
<legend>Add Stop Words</legend>
<table>
<tr>
<th>Stop Words</th>
<td>
<input type="text" name="word" size="50" maxlength="250" onblur="toUC(this);" />
</td>
</tr>
</table>
<p id="action">
<input type="submit" name="add" value="Add Stop Words" />
<input type="reset" value="Reset" />
</p>
</fieldset>
<fieldset id="admin_stopwords_select">
<legend>Stop Words selection</legend>
<p>
<input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" />
<input type="submit" name="filter" value="Filter" />
</p>
<ul>
<!-- TMPL_LOOP NAME="loop" -->
<li style="display: inline;">
<label>
<input type="checkbox" name="stopwords[]" value="<!-- TMPL_VAR NAME="word" -->" />
<!-- TMPL_VAR NAME="word" -->
</label>
</li>
<!-- /TMPL_LOOP -->
</ul>
<div class="paginationBar"><!-- TMPL_VAR NAME="pagination_bar" --></div>
<p id="action">
<input type="submit" name="deleteSelected" value="Delete selected Stop Words" />
<input type="reset" value="Reset" />
</p>
</fieldset>
</form>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->