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 type="text/javascript">
12 $(document).ready(function() {
13 new YAHOO.widget.Button("newstopword");
16 if (f.word.value.length==0) {
17 alert(_("Form not submitted: word missing"));
19 document.Aform.submit();
25 <body id="admin_stopwords" class="admin">
26 [% INCLUDE 'header.inc' %]
27 [% INCLUDE 'stopwords-admin-search.inc' %]
29 <div id="breadcrumbs">
30 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
31 › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
32 › <a href="/cgi-bin/koha/admin/stopwords.pl">Stop words</a>
34 › [% IF ( searchfield ) %]Modify[% ELSE %]New[% END %] Stop word
35 [% ELSIF ( add_validate ) %]
36 › Data recorded
37 [% ELSIF ( delete_confirm ) %]
38 › Delete stop word '[% searchfield %]' ?
39 [% ELSIF ( delete_confirmed ) %]
44 <div id="doc3" class="yui-t2">
51 [% IF ( searchfield ) %]
56 <form action="[% script_name %]" name="Aform" method="post">
57 <input type="hidden" name="op" value="add_validate" />
58 <fieldset class="rows">
60 [% IF ( searchfield ) %]
61 <span class="label">Word</span>
62 <input type="hidden" name="word" value="[% searchfield %]" />[% searchfield %]
64 <label for="word">Word</label>
65 <input type="text" name="word" id="word" size="50" maxlength="250" onblur="toUC(this)" />
70 <fieldset class="action">
71 <input type="button" value="Save" onclick="Check(this.form)" />
72 <a class="cancel" href="/cgi-bin/koha/admin/stopwords.pl">Cancel</a>
77 [% IF ( add_validate ) %]
78 <div class="dialog message"> <h3>Data recorded</h3>
79 <form action="[% script_name %]" method="post">
80 <input type="submit" value="OK" class="approve" />
84 [% IF ( delete_confirm ) %]
85 <div class="dialog alert">
86 <h3>Delete stop word <span class="ex">'[% searchfield %]'</span></h3>
87 <form action="[% script_name %]" method="post">
88 <input type="hidden" name="op" value="delete_confirmed" />
89 <input type="hidden" name="searchfield" value="[% searchfield %]" />
90 <input type="submit" value="Yes, Delete" class="approve" />
92 <form action="[% script_name %]" method="get">
93 <input type="submit" class="deny" value="No, Do Not Delete" />
97 [% IF ( delete_confirmed ) %]
98 <div class="dialog message"> <h3>Data deleted</h3>
99 <form action="[% script_name %]" method="post">
100 <input type="submit" value="OK" class="approve" />
108 <li><a id="newstopword" href="/cgi-bin/koha/admin/stopwords.pl?op=add_form">New stop word</a></li>
112 <p class="message">NOTE : if you change something in this table, ask your administrator to run misc/batchRebuildBiblioTables.pl script.</p>
114 [% IF ( searchfield ) %]
115 <p>You searched for <b>[% searchfield %]</b></p>
122 [% FOREACH loo IN loop %]
123 [% IF ( loop.odd ) %]<tr>
124 [% ELSE %]<tr class="highlight">
126 <td>[% loo.word %]</td>
127 <td><a href="[% loo.script_name %]?op=delete_confirm&searchfield=[% loo.word %]">Delete</a></td>
133 [% IF ( offsetgtzero ) %]
134 <a href="[% script_name %]?offset=[% prevpage %]"><< Previous</a>
137 <a href="[% script_name %]?offset=[% nextpage %]">Next >></a>
145 [% INCLUDE 'admin-menu.inc' %]
148 [% INCLUDE 'intranet-bottom.inc' %]