Lines 13-22
Link Here
|
13 |
|
13 |
|
14 |
<title>[% FILTER collapse %] |
14 |
<title>[% FILTER collapse %] |
15 |
[% IF op == 'edit' %] |
15 |
[% IF op == 'edit' %] |
16 |
[% tx("Modify {servertype} server {servername}", { servertype = servertype, servername = server.servername }) | html %] › |
16 |
[% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %] › |
17 |
[% END %] |
17 |
[% ELSIF op == 'add' %] |
18 |
[% IF op == 'add' %] |
|
|
19 |
[% tx("New {servertype} server", { servertype = servertype }) | html %] › |
18 |
[% tx("New {servertype} server", { servertype = servertype }) | html %] › |
|
|
19 |
[% ELSIF searchfield %] |
20 |
[% tx("Search results for '{search_keyword}'", { search_keyword = searchfield }) | html %] › |
20 |
[% END %] |
21 |
[% END %] |
21 |
[% t("Z39.50/SRU servers") | html %] › |
22 |
[% t("Z39.50/SRU servers") | html %] › |
22 |
[% t("Administration") | html %] › |
23 |
[% t("Administration") | html %] › |
Lines 36-61
Link Here
|
36 |
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
37 |
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
37 |
[% END %] |
38 |
[% END %] |
38 |
|
39 |
|
39 |
[% IF op == 'edit' || op == 'add' %] |
40 |
[% IF op == 'edit' || op == 'add' || searchfield %] |
40 |
[% WRAPPER breadcrumb_item %] |
41 |
[% WRAPPER breadcrumb_item %] |
41 |
<a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a> |
42 |
<a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a> |
42 |
[% END %] |
43 |
[% END %] |
43 |
[% END %] |
44 |
[% END %] |
44 |
|
45 |
|
45 |
[% IF op == 'edit' %] |
46 |
[% IF op == 'edit' %] |
46 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
47 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
47 |
<span>Modify [% servertype | html %] server [% server.servername | html %]</span> |
48 |
[% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %] |
48 |
[% END %] |
49 |
[% END %] |
49 |
|
50 |
|
50 |
[% ELSIF op == 'add' %] |
51 |
[% ELSIF op == 'add' %] |
51 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
52 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
52 |
<span>New [% servertype | html %] server</span> |
53 |
[% tx("New {servertype} server", { servertype = servertype }) | html %] |
53 |
[% END %] |
54 |
[% END %] |
54 |
|
55 |
|
|
|
56 |
[% ELSIF searchfield %] |
57 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
58 |
[% tx("Search results for '{search_keyword}'", { search_keyword = searchfield }) | html %] |
59 |
[% END %] |
55 |
[% ELSE %] |
60 |
[% ELSE %] |
56 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
61 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
57 |
<span>Z39.50/SRU servers</span> |
62 |
<span>Z39.50/SRU servers</span> |
58 |
[% END %] |
63 |
[% END %] |
59 |
[% END %] |
64 |
[% END %] |
60 |
[% END #/ WRAPPER breadcrumbs %] |
65 |
[% END #/ WRAPPER breadcrumbs %] |
61 |
[% END #/ WRAPPER sub-header.inc %] |
66 |
[% END #/ WRAPPER sub-header.inc %] |
Lines 77-90
Link Here
|
77 |
|
82 |
|
78 |
[% IF ( add_form ) %] |
83 |
[% IF ( add_form ) %] |
79 |
<form action="[% script_name | html %]" name="Aform" method="post" id="serverentry"> |
84 |
<form action="[% script_name | html %]" name="Aform" method="post" id="serverentry"> |
80 |
<input type="hidden" name="op" value="add_validated" /> |
|
|
81 |
<input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/> |
82 |
[% IF op == 'edit' %] |
85 |
[% IF op == 'edit' %] |
83 |
<h1>Modify [% servertype | html %] server</h1> |
86 |
<h1>[% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %]</h1> |
84 |
<input type="hidden" name="id" value="[% server.id | html %]" /> |
87 |
<input type="hidden" name="id" value="[% server.id | html %]" /> |
85 |
[% ELSE %] |
88 |
[% ELSE %] |
86 |
<h1>New [% servertype | html %] server</h1> |
89 |
<h1>[% tx("New {servertype} server", { servertype = servertype }) | html %]</h1> |
87 |
[% END %] |
90 |
[% END %] |
|
|
91 |
|
92 |
<input type="hidden" name="op" value="add_validated" /> |
93 |
<input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/> |
88 |
<fieldset class="rows"> |
94 |
<fieldset class="rows"> |
89 |
<ol> |
95 |
<ol> |
90 |
<li><label for="name" class="required">Server name: </label> |
96 |
<li><label for="name" class="required">Server name: </label> |
Lines 205-215
Link Here
|
205 |
<a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed"><i class="fa fa-plus"></i> New Z39.50 server</a> |
211 |
<a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed"><i class="fa fa-plus"></i> New Z39.50 server</a> |
206 |
<a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=sru"><i class="fa fa-plus"></i> New SRU server</a> |
212 |
<a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=sru"><i class="fa fa-plus"></i> New SRU server</a> |
207 |
</div> |
213 |
</div> |
208 |
<h1>Z39.50/SRU servers administration</h1> |
214 |
<h1>Z39.50/SRU servers</h1> |
209 |
[% IF id %] |
215 |
[% IF searchfield %] |
210 |
You searched for record [% id | html %] |
216 |
<h2> |
211 |
[% ELSIF searchfield %] |
217 |
[% tx("Searching by target starting with '{search_keyword}'", { search_keyword = searchfield }) | html %] |
212 |
You searched for [% searchfield | html %] |
218 |
</h2> |
213 |
[% END %] |
219 |
[% END %] |
214 |
|
220 |
|
215 |
<div class="page-section"> |
221 |
<div class="page-section"> |
216 |
- |
|
|