1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › System administration › Stop words
3 [% IF ( add_form ) %]› [% IF ( searchfield ) %]Modify[% ELSE %]New[% END %] stop word
4 [% ELSIF ( add_validate ) %]› Data recorded
5 [% ELSIF ( delete_confirm ) %]› Delete stop word '[% searchfield %]' ?
6 [% ELSIF ( delete_confirmed ) %]› Data deleted
9 [% INCLUDE 'doc-head-close.inc' %]
10 <script language="javascript" type="text/javascript">
12 $(document).ready(function() {
13 new YAHOO.widget.Button("newstopword");
16 var x=f.value.toUpperCase();
21 if (f.word.value.length==0) {
22 alert(_("Form not submitted: word missing"));
24 document.Aform.submit();
30 <body id="admin_stopwords" class="admin">
31 [% INCLUDE 'header.inc' %]
32 [% INCLUDE 'stopwords-admin-search.inc' %]
34 <div id="breadcrumbs">
35 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
36 › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
37 › <a href="/cgi-bin/koha/admin/stopwords.pl">Stop words</a>
39 › [% IF ( searchfield ) %]Modify[% ELSE %]New[% END %] Stop word
40 [% ELSIF ( add_validate ) %]
41 › Data recorded
42 [% ELSIF ( delete_confirm ) %]
43 › Delete stop word '[% searchfield %]' ?
44 [% ELSIF ( delete_confirmed ) %]
49 <div id="doc3" class="yui-t2">
56 [% IF ( searchfield ) %]
61 <form action="[% script_name %]" name="Aform" method="post">
62 <input type="hidden" name="op" value="add_validate" />
63 <fieldset class="rows">
65 [% IF ( searchfield ) %]
66 <span class="label">Word</span>
67 <input type="hidden" name="word" value="[% searchfield %]" />[% searchfield %]
69 <label for="word">Word</label>
70 <input type="text" name="word" id="word" size="50" maxlength="250" onblur="toUC(this)" />
75 <fieldset class="action">
76 <input type="button" value="Save" onclick="Check(this.form)" />
77 <a class="cancel" href="/cgi-bin/koha/admin/stopwords.pl">Cancel</a>
82 [% IF ( add_validate ) %]
83 <div class="dialog message"> <h3>Data recorded</h3>
84 <form action="[% script_name %]" method="post">
85 <input type="submit" value="OK" class="approve" />
89 [% IF ( delete_confirm ) %]
90 <div class="dialog alert">
91 <h3>Delete stop word <span class="ex">'[% searchfield %]'</span></h3>
92 <form action="[% script_name %]" method="post">
93 <input type="hidden" name="op" value="delete_confirmed" />
94 <input type="hidden" name="searchfield" value="[% searchfield %]" />
95 <input type="submit" value="Yes, Delete" class="approve" />
97 <form action="[% script_name %]" method="get">
98 <input type="submit" class="deny" value="No, Do Not Delete" />
102 [% IF ( delete_confirmed ) %]
103 <div class="dialog message"> <h3>Data deleted</h3>
104 <form action="[% script_name %]" method="post">
105 <input type="submit" value="OK" class="approve" />
113 <li><a id="newstopword" href="/cgi-bin/koha/admin/stopwords.pl?op=add_form">New stop word</a></li>
117 <p class="message">NOTE : if you change something in this table, ask your administrator to run misc/batchRebuildBiblioTables.pl script.</p>
119 [% IF ( searchfield ) %]
120 <p>You searched for <b>[% searchfield %]</b></p>
127 [% FOREACH loo IN loop %]
128 [% IF ( loop.odd ) %]<tr>
129 [% ELSE %]<tr class="highlight">
131 <td>[% loo.word %]</td>
132 <td><a href="[% loo.script_name %]?op=delete_confirm&searchfield=[% loo.word %]">Delete</a></td>
138 [% IF ( offsetgtzero ) %]
139 <a href="[% script_name %]?offset=[% prevpage %]"><< Previous</a>
142 <a href="[% script_name %]?offset=[% nextpage %]">Next >></a>
150 [% INCLUDE 'admin-menu.inc' %]
153 [% INCLUDE 'intranet-bottom.inc' %]