Lines 5-10
Link Here
|
5 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title>[% FILTER collapse %] |
7 |
<title>[% FILTER collapse %] |
|
|
8 |
[% IF (field) %] |
9 |
[% tx("Modify search field '{field}'", { field = field.name }) | html %] |
10 |
[% ELSE %] |
11 |
[% t("New search field") | html %] |
12 |
[% END %] › |
8 |
[% t("Item search fields") | html %] › |
13 |
[% t("Item search fields") | html %] › |
9 |
[% t("Administration") | html %] › |
14 |
[% t("Administration") | html %] › |
10 |
[% t("Koha") | html %] |
15 |
[% t("Koha") | html %] |
Lines 23-39
Link Here
|
23 |
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
28 |
<a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> |
24 |
[% END %] |
29 |
[% END %] |
25 |
|
30 |
|
|
|
31 |
[% WRAPPER breadcrumb_item %] |
32 |
<a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a> |
33 |
[% END %] |
26 |
[% IF (field) %] |
34 |
[% IF (field) %] |
27 |
[% WRAPPER breadcrumb_item %] |
|
|
28 |
<a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a> |
29 |
[% END %] |
30 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
35 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
31 |
<span>Modify search field [% field.name | html %]</span> |
36 |
[% tx("Modify search field '{field}'", { field = field.name }) | html %] |
32 |
[% END %] |
37 |
[% END %] |
33 |
|
38 |
|
34 |
[% ELSE %] |
39 |
[% ELSE %] |
35 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
40 |
[% WRAPPER breadcrumb_item bc_active= 1 %] |
36 |
<span>Item search fields</span> |
41 |
<span>New search field</span> |
37 |
[% END %] |
42 |
[% END %] |
38 |
[% END %] |
43 |
[% END %] |
39 |
[% END #/ WRAPPER breadcrumbs %] |
44 |
[% END #/ WRAPPER breadcrumbs %] |
Lines 44-58
Link Here
|
44 |
<div class="col-sm-10 col-sm-push-2"> |
49 |
<div class="col-sm-10 col-sm-push-2"> |
45 |
<main> |
50 |
<main> |
46 |
|
51 |
|
47 |
<h1>Item search field: [% field.label | html %]</h1> |
52 |
<h1> |
|
|
53 |
[% IF (field) %] |
54 |
[% tx("Modify search field '{field}'", { field = field.name }) | html %] |
55 |
[% ELSE %] |
56 |
[% t("New search field") | html %] |
57 |
[% END %] |
58 |
</h1> |
48 |
|
59 |
|
49 |
<form action="/cgi-bin/koha/admin/items_search_field.pl" method="POST" id="edit_search_fields"> |
60 |
<form action="/cgi-bin/koha/admin/items_search_field.pl" method="POST" id="search_fields"> |
50 |
<fieldset class="rows"> |
61 |
<fieldset class="rows"> |
51 |
<legend>Edit field</legend> |
62 |
[% INCLUDE 'admin-items-search-field-form.inc' field=field %] |
52 |
[% INCLUDE 'admin-items-search-field-form.inc' field=field %] |
63 |
[% IF (field) %] |
53 |
<div> |
64 |
<input type="hidden" name="op" value="mod" /> |
54 |
<input type="hidden" name="op" value="mod" /> |
65 |
[% ELSE %] |
55 |
</div> |
66 |
<input type="hidden" name="op" value="add" /> |
|
|
67 |
[% END %] |
56 |
</fieldset> |
68 |
</fieldset> |
57 |
<fieldset class="action"> |
69 |
<fieldset class="action"> |
58 |
<input type="submit" class="btn btn-primary" value="Submit" /> |
70 |
<input type="submit" class="btn btn-primary" value="Submit" /> |