View | Details | Raw Unified | Return to bug 20988
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/account_offset_type.inc (-5 / +6 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% SWITCH account_offset.type %]
2
[% SWITCH account_offset.type %]
2
    [% CASE 'Payment' %]Payment
3
    [% CASE 'Payment' %][% t('Payment') %]
3
    [% CASE 'Manual Debit' %]Manual invoice
4
    [% CASE 'Manual Debit' %][% t('Manual invoice') %]
4
    [% CASE 'Lost Item Return' %]Lost item returned
5
    [% CASE 'Lost Item Return' %][% t('Lost item returned') %]
5
    [% CASE 'Writeoff' %]Writeoff
6
    [% CASE 'Writeoff' %][% t('Writeoff') %]
6
    [% CASE 'Void Payment' %]Void payment
7
    [% CASE 'Void Payment' %][% t('Void payment') %]
7
    [% CASE %][% account_offset.type %]
8
    [% CASE %][% account_offset.type %]
8
[%- END -%]
9
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/accounttype.inc (-21 / +22 lines)
Lines 1-24 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% SWITCH account.accounttype %]
2
[% SWITCH account.accounttype %]
2
    [% CASE 'Pay' %]Payment, thanks
3
    [% CASE 'Pay' %][% t('Payment, thanks') %]
3
    [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
4
    [% CASE 'Pay00' %][% t('Payment, thanks (cash via SIP2)') %]
4
    [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
5
    [% CASE 'Pay01' %][% t('Payment, thanks (VISA via SIP2)') %]
5
    [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
6
    [% CASE 'Pay02' %][% t('Payment, thanks (credit card via SIP2)') %]
6
    [% CASE 'VOID' %]Payment, Voided
7
    [% CASE 'VOID' %][% t('Payment, Voided') %]
7
    [% CASE 'N' %]New card
8
    [% CASE 'N' %][% t('New card') %]
8
    [% CASE 'F' %]Fine
9
    [% CASE 'F' %][% t('Fine') %]
9
    [% CASE 'A' %]Account management fee
10
    [% CASE 'A' %][% t('Account management fee') %]
10
    [% CASE 'M' %]Sundry
11
    [% CASE 'M' %][% t('Sundry') %]
11
    [% CASE 'L' %]Lost item
12
    [% CASE 'L' %][% t('Lost item') %]
12
    [% CASE 'W' %]Writeoff
13
    [% CASE 'W' %][% t('Writeoff') %]
13
    [% CASE 'FU' %]Accruing fine
14
    [% CASE 'FU' %][% t('Accruing fine') %]
14
    [% CASE 'HE' %]Hold waiting too long
15
    [% CASE 'HE' %][% t('Hold waiting too long') %]
15
    [% CASE 'Rent' %]Rental fee
16
    [% CASE 'Rent' %][% t('Rental fee') %]
16
    [% CASE 'FOR' %]Forgiven
17
    [% CASE 'FOR' %][% t('Forgiven') %]
17
    [% CASE 'LR' %]Lost item fee refund
18
    [% CASE 'LR' %][% t('Lost item fee refund') %]
18
    [% CASE 'PF' %]Processing fee
19
    [% CASE 'PF' %][% t('Processing fee') %]
19
    [% CASE 'PAY' %]Payment
20
    [% CASE 'PAY' %][% t('Payment') %]
20
    [% CASE 'WO' %]Writeoff
21
    [% CASE 'WO' %][% t('Writeoff') %]
21
    [% CASE 'C' %]Credit
22
    [% CASE 'C' %][% t('Credit') %]
22
    [% CASE 'CR' %]Credit
23
    [% CASE 'CR' %][% t('Credit') %]
23
    [% CASE %][% account.accounttype %]
24
    [% CASE %][% account.accounttype %]
24
[%- END -%]
25
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-add-to-basket.inc (-10 / +11 lines)
Lines 1-27 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset class="acqui_basket_add">
2
<fieldset class="acqui_basket_add">
2
    <legend>Add order to basket</legend>
3
    <legend>[% t('Add order to basket') %]</legend>
3
    [% IF has_budgets %]
4
    [% IF has_budgets %]
4
      <ul>
5
      <ul>
5
        <li>
6
        <li>
6
          <form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post">
7
          <form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post">
7
            <label>From an existing record:
8
            <label>[% t('From an existing record:') %]
8
                <input type="text"  size="25" name="q" />
9
                <input type="text" size="25" name="q" />
9
            </label>
10
            </label>
10
            <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
11
            <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
11
            <input type="hidden" name="basketno" value="[% basketno %]" />
12
            <input type="hidden" name="basketno" value="[% basketno %]" />
12
            <input type="submit" class="submit" value="Search" />
13
            <input type="submit" class="submit" value="Search" />
13
          </form>
14
          </form>
14
        </li>
15
        </li>
15
        <li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From a suggestion</a></li>
16
        <li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">[% t('From a suggestion') %]</a></li>
16
        <li><a href="/cgi-bin/koha/acqui/newordersubscription.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From a subscription</a></li>
17
        <li><a href="/cgi-bin/koha/acqui/newordersubscription.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">[% t('From a subscription') %]</a></li>
17
        <li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From a new (empty) record</a></li>
18
        <li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">[% t('From a new (empty) record') %]</a></li>
18
        <li><a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From an external source</a></li>
19
        <li><a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">[% t('From an external source') %]</a></li>
19
        <li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]"> From a staged file</a></li>
20
        <li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]"> [% t('From a staged file') %]</a></li>
20
        [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]">From titles with highest hold ratios</a></li>[% END %]
21
        [% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">[% t('From titles with highest hold ratios') %]</a></li>[% END %]
21
      </ul>
22
      </ul>
22
    [% ELSE %]
23
    [% ELSE %]
23
        <div class="dialog alert">
24
        <div class="dialog alert">
24
          <p>You can't create any orders unless you first <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">define a budget and a fund</a>.</p>
25
          <p>[% t('You can\'t create any orders unless you first') %] <a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">[% t('define a budget and a fund') %]</a>.</p>
25
        </div>
26
        </div>
26
    [% END %]
27
    [% END %]
27
</fieldset>
28
</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc (-13 / +14 lines)
Lines 1-29 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="navmenu">
2
<div id="navmenu">
2
    <div id="navmenulist">
3
    <div id="navmenulist">
3
        <h5>Acquisitions</h5>
4
        <h5>[% t('Acquisitions') %]</h5>
4
        <ul>
5
        <ul>
5
            <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
6
            <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">[% t('Acquisitions home') %]</a></li>
6
            <li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>
7
            <li><a href="/cgi-bin/koha/acqui/lateorders.pl">[% t('Late orders') %]</a></li>
7
            [% IF ( suggestion ) %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
8
            [% IF ( suggestion ) %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">[% t('Suggestions') %]</a></li>[% END %]
8
                <li><a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a></li>
9
                <li><a href="/cgi-bin/koha/acqui/invoices.pl">[% t('Invoices') %]</a></li>
9
            [% IF CAN_user_acquisition_edi_manage %]
10
            [% IF CAN_user_acquisition_edi_manage %]
10
                <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
11
                <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">[% t('EDIFACT messages') %]</a></li>
11
            [% END %]
12
            [% END %]
12
        </ul>
13
        </ul>
13
        [% IF ( CAN_user_acquisition_budget_manage || CAN_user_parameters || CAN_user_acquisition_edi_manage ) %]
14
        [% IF ( CAN_user_acquisition_budget_manage || CAN_user_parameters || CAN_user_acquisition_edi_manage ) %]
14
            <h5>Administration</h5>
15
            <h5>[% t('Administration') %]</h5>
15
            <ul>
16
            <ul>
16
                <li><a href="/cgi-bin/koha/admin/admin-home.pl">Administration home</a></li>
17
                <li><a href="/cgi-bin/koha/admin/admin-home.pl">[% t('Administration home') %]</a></li>
17
                [% IF ( CAN_user_acquisition_budget_manage ) %]
18
                [% IF ( CAN_user_acquisition_budget_manage ) %]
18
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
19
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">[% t('Budgets') %]</a></li>
19
                    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
20
                    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">[% t('Funds') %]</a></li>
20
                [% END %]
21
                [% END %]
21
                [% IF ( CAN_user_parameters ) %]
22
                [% IF ( CAN_user_parameters ) %]
22
                    <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
23
                    <li><a href="/cgi-bin/koha/admin/currency.pl">[% t('Currencies') %]</a></li>
23
                [% END %]
24
                [% END %]
24
                [% IF CAN_user_acquisition_edi_manage %]
25
                [% IF CAN_user_acquisition_edi_manage %]
25
                    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
26
                    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">[% t('EDI accounts') %]</a></li>
26
                    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
27
                    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">[% t('Library EANs') %]</a></li>
27
                [% END %]
28
                [% END %]
28
            </ul>
29
            </ul>
29
        [% END %]
30
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-9 / +10 lines)
Lines 1-31 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div class="gradient">
2
<div class="gradient">
2
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
3
<div id="header_search">
4
<div id="header_search">
4
<div id="supplier_search" class="residentsearch">
5
<div id="supplier_search" class="residentsearch">
5
	<p class="tip">Search vendors:</p>
6
	<p class="tip">[% t('Search vendors:') %]</p>
6
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
7
        <form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
7
           <input type="text" size="25" name="supplier" id="supplier" class="focus" />
8
           <input type="text" size="25" name="supplier" id="supplier" class="focus" />
8
            <input type="submit" class="submit" value="Submit" /></form>
9
            <input type="submit" class="submit" value="Submit" /></form>
9
</div>
10
</div>
10
    <div id="orders_search" class="residentsearch">
11
    <div id="orders_search" class="residentsearch">
11
	<p class="tip">Search orders:</p>
12
	<p class="tip">[% t('Search orders:') %]</p>
12
	
13
	
13
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
14
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
14
        <label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title %]" />
15
        <label for="title">[% t('Title:') %] </label> <input type="text" id="title" name="title" size="15" value="[% title %]" />
15
        <label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" />
16
        <label for="searchsupplier">[% t('Vendor:') %]</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" />
16
        <input type="hidden" id="do_search" name="do_search" value="do" />
17
        <input type="hidden" id="do_search" name="do_search" value="do" />
17
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
18
        <span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
18
        <span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
19
        <span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
19
    <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a>
20
    <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/acqui/histsearch.pl">[% t('Advanced search') %]</a>
20
    <p id="filters" style="display:none">
21
    <p id="filters" style="display:none">
21
      <label for="basket">Basket: </label><input type="text" name="basket" id="basket" />
22
      <label for="basket">[% t('Basket:') %] </label><input type="text" name="basket" id="basket" />
22
      <label for="booksellerinvoicenumber">Invoice no.: </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
23
      <label for="booksellerinvoicenumber">[% t('Invoice no.:') %] </label><input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
23
    </p>
24
    </p>
24
	</form>
25
	</form>
25
	</div>	
26
	</div>	
26
			<ul id="tabtriggers">
27
			<ul id="tabtriggers">
27
            <li><a href="#supplier_search">Vendor search</a></li>
28
            <li><a href="#supplier_search">[% t('Vendor search') %]</a></li>
28
            <li><a href="#orders_search">Orders search</a></li>
29
            <li><a href="#orders_search">[% t('Orders search') %]</a></li>
29
			</ul>	
30
			</ul>	
30
</div><!-- /header_search -->
31
</div><!-- /header_search -->
31
</div><!-- /gradient -->
32
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-toolbar.inc (-8 / +9 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<script type="text/javascript">
3
<script type="text/javascript">
3
//<![CDATA[
4
//<![CDATA[
Lines 11-41 function confirm_deletion() { Link Here
11
<div id="toolbar" class="btn-toolbar">
12
<div id="toolbar" class="btn-toolbar">
12
    [% IF ( booksellerid ) %]
13
    [% IF ( booksellerid ) %]
13
        <div class="btn-group">
14
        <div class="btn-group">
14
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-plus"></i> New
15
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-plus"></i> [% t('New') %]
15
        <span class="caret"></span>
16
        <span class="caret"></span>
16
        </a>
17
        </a>
17
        <ul class="dropdown-menu">
18
        <ul class="dropdown-menu">
18
            [% IF CAN_user_acquisition_order_manage && active %]
19
            [% IF CAN_user_acquisition_order_manage && active %]
19
                <li><a href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&amp;op=add_form">Basket</a></li>
20
                <li><a href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form">[% t('Basket') %]</a></li>
20
            [% END %]
21
            [% END %]
21
            [% IF CAN_user_acquisition_contracts_manage && active %]
22
            [% IF CAN_user_acquisition_contracts_manage && active %]
22
                <li><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&amp;booksellerid=[% booksellerid %]">Contract</a></li>
23
                <li><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=[% booksellerid %]">[% t('Contract') %]</a></li>
23
            [% END %]
24
            [% END %]
24
            [% IF ( CAN_user_acquisition_vendors_manage ) %]
25
            [% IF ( CAN_user_acquisition_vendors_manage ) %]
25
                <li><a href="/cgi-bin/koha/acqui/supplier.pl?op=enter">Vendor</a></li>
26
                <li><a href="/cgi-bin/koha/acqui/supplier.pl?op=enter">[% t('Vendor') %]</a></li>
26
            [% END %]
27
            [% END %]
27
        </ul>
28
        </ul>
28
        </div>
29
        </div>
29
            [% IF ( CAN_user_acquisition_vendors_manage ) %]
30
            [% IF ( CAN_user_acquisition_vendors_manage ) %]
30
                <div class="btn-group"><a class="btn btn-default btn-sm" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]&amp;op=enter"><i class="fa fa-pencil"></i> Edit vendor</a></div>
31
                <div class="btn-group"><a class="btn btn-default btn-sm" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]&op=enter"><i class="fa fa-pencil"></i> [% t('Edit vendor') %]</a></div>
31
                [% UNLESS ( basketcount OR subscriptioncount ) %]
32
                [% UNLESS ( basketcount OR subscriptioncount ) %]
32
                    <div class="btn-group"><a class="btn btn-default btn-sm" id="deletesupplier" href="javascript:confirm_deletion()"><i class="fa fa-trash"></i> Delete vendor</a></div>
33
                    <div class="btn-group"><a class="btn btn-default btn-sm" id="deletesupplier" href="javascript:confirm_deletion()"><i class="fa fa-trash"></i> [% t('Delete vendor') %]</a></div>
33
                [% END %]
34
                [% END %]
34
            [% END %]
35
            [% END %]
35
            [% IF CAN_user_acquisition_order_receive && basketcount %]
36
            [% IF CAN_user_acquisition_order_receive && basketcount %]
36
                <div class="btn-group"><a class="btn btn-default btn-sm" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid %]"><i class="fa fa-inbox"></i> Receive shipments</a></div>
37
                <div class="btn-group"><a class="btn btn-default btn-sm" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid %]"><i class="fa fa-inbox"></i> [% t('Receive shipments') %]</a></div>
37
            [% END %]
38
            [% END %]
38
        [% ELSE %]
39
        [% ELSE %]
39
            <div class="btn-group"><a class="btn btn-default btn-sm" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> New vendor</a></div>
40
            <div class="btn-group"><a class="btn btn-default btn-sm" href="/cgi-bin/koha/acqui/supplier.pl?op=enter"><i class="fa fa-plus"></i> [% t('New vendor') %]</a></div>
40
        [% END %]
41
        [% END %]
41
</div>
42
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc (-10 / +11 lines)
Lines 1-27 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% PROCESS 'html_helpers.inc' %]
2
[% PROCESS 'html_helpers.inc' %]
2
<ol>
3
<ol>
3
  <li>
4
  <li>
4
      [% IF field %]
5
      [% IF field %]
5
          <span class="label">Name: </span>
6
          <span class="label">[% t('Name:') %] </span>
6
          [% field.name |html %]
7
          [% field.name |html %]
7
          <input type="hidden" name="name" value="[% field.name %]">
8
          <input type="hidden" name="name" value="[% field.name %]">
8
      [% ELSE %]
9
      [% ELSE %]
9
          <label class="required" for="name">Name: </label>
10
          <label class="required" for="name">[% t('Name:') %] </label>
10
          <input type="text" name="name" id="name" class="required" required="required" />
11
          <input type="text" name="name" id="name" class="required" required="required" />
11
          <span class="required">Required</span>
12
          <span class="required">[% t('Required') %]</span>
12
      [% END %]
13
      [% END %]
13
  </li>
14
  </li>
14
  <li>
15
  <li>
15
    <label class="required" for="label">Label: </label>
16
    <label class="required" for="label">[% t('Label:') %] </label>
16
    [% IF field %]
17
    [% IF field %]
17
        <input type="text" name="label" id="label" value="[% field.label |html %]" class="required" required="required" />
18
        <input type="text" name="label" id="label" value="[% field.label |html %]" class="required" required="required" />
18
    [% ELSE %]
19
    [% ELSE %]
19
        <input type="text" name="label" id="label" class="required" required="required" />
20
        <input type="text" name="label" id="label" class="required" required="required" />
20
    [% END %]
21
    [% END %]
21
          <span class="required">Required</span>
22
          <span class="required">[% t('Required') %]</span>
22
  </li>
23
  </li>
23
  <li>
24
  <li>
24
    <label for="tagfield" required="required">MARC field: </label>
25
    <label for="tagfield" required="required">[% t('MARC field:') %] </label>
25
    <select id="tagfield" name="tagfield" class="required" required="required">
26
    <select id="tagfield" name="tagfield" class="required" required="required">
26
      [% FOREACH tagfield IN ['001'..'999'] %]
27
      [% FOREACH tagfield IN ['001'..'999'] %]
27
        [% IF field && field.tagfield == tagfield %]
28
        [% IF field && field.tagfield == tagfield %]
Lines 31-40 Link Here
31
        [% END %]
32
        [% END %]
32
      [% END %]
33
      [% END %]
33
    </select>
34
    </select>
34
    <span class="required">Required</span>
35
    <span class="required">[% t('Required') %]</span>
35
  </li>
36
  </li>
36
  <li>
37
  <li>
37
    <label for="tagsubfield">MARC subfield: </label>
38
    <label for="tagsubfield">[% t('MARC subfield:') %] </label>
38
    <select id="tagsubfield" name="tagsubfield">
39
    <select id="tagsubfield" name="tagsubfield">
39
      [% codes = [''] %]
40
      [% codes = [''] %]
40
      [% codes = codes.merge([0..9], ['a'..'z']) %]
41
      [% codes = codes.merge([0..9], ['a'..'z']) %]
Lines 48-56 Link Here
48
    </select>
49
    </select>
49
  </li>
50
  </li>
50
  <li>
51
  <li>
51
    <label for="authorised_values_category">Authorised values category: </label>
52
    <label for="authorised_values_category">[% t('Authorised values category:') %] </label>
52
    <select id="authorised_values_category" name="authorised_values_category">
53
    <select id="authorised_values_category" name="authorised_values_category">
53
      <option value="">- None -</option>
54
      <option value="">[% t('- None -') %]</option>
54
      [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => field.authorised_values_category ) %]
55
      [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => field.authorised_values_category ) %]
55
    </select>
56
    </select>
56
  </li>
57
  </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-41 / +42 lines)
Lines 1-77 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
3
3
<div id="navmenu">
4
<div id="navmenu">
4
<div id="navmenulist">
5
<div id="navmenulist">
5
<h5>System preferences</h5>
6
<h5>[% t('System preferences') %]</h5>
6
<ul>
7
<ul>
7
    <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
8
    <li><a href="/cgi-bin/koha/admin/preferences.pl">[% t('System preferences') %]</a></li>
8
</ul>
9
</ul>
9
10
10
<h5>Basic parameters</h5>
11
<h5>[% t('Basic parameters') %]</h5>
11
<ul>
12
<ul>
12
    <li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
13
    <li><a href="/cgi-bin/koha/admin/branches.pl">[% t('Libraries') %]</a></li>
13
    <li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
14
    <li><a href="/cgi-bin/koha/admin/library_groups.pl">[% t('Library groups') %]</a></li>
14
    <li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
15
    <li><a href="/cgi-bin/koha/admin/itemtypes.pl">[% t('Item types') %]</a></li>
15
    <li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
16
    <li><a href="/cgi-bin/koha/admin/authorised_values.pl">[% t('Authorized values') %]</a></li>
16
</ul>
17
</ul>
17
18
18
<h5>Patrons and circulation</h5>
19
<h5>[% t('Patrons and circulation') %]</h5>
19
<ul>
20
<ul>
20
    <li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
21
    <li><a href="/cgi-bin/koha/admin/categories.pl">[% t('Patron categories') %]</a></li>
21
    <li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></li>
22
    <li><a href="/cgi-bin/koha/admin/smart-rules.pl">[% t('Circulation and fines rules') %]</a></li>
22
    <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
23
    <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">[% t('Patron attribute types') %]</a></li>
23
    <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
24
    <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">[% t('Library transfer limits') %]</a></li>
24
    <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
25
    <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">[% t('Transport cost matrix') %]</a></li>
25
    <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
26
    <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">[% t('Item circulation alerts') %]</a></li>
26
    <li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
27
    <li><a href="/cgi-bin/koha/admin/cities.pl">[% t('Cities and towns') %]</a></li>
27
</ul>
28
</ul>
28
29
29
<h5>Catalog</h5>
30
<h5>[% t('Catalog') %]</h5>
30
<ul>
31
<ul>
31
    <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
32
    <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">[% t('MARC bibliographic framework') %]</a></li>
32
    <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
33
    <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">[% t('Koha to MARC mapping') %]</a></li>
33
    <li><a href="/cgi-bin/koha/admin/fieldmapping.pl">Keywords to MARC mapping</a></li>
34
    <li><a href="/cgi-bin/koha/admin/fieldmapping.pl">[% t('Keywords to MARC mapping') %]</a></li>
34
    <li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
35
    <li><a href="/cgi-bin/koha/admin/checkmarc.pl">[% t('MARC bibliographic framework test') %]</a></li>
35
    <li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
36
    <li><a href="/cgi-bin/koha/admin/authtypes.pl">[% t('Authority types') %]</a></li>
36
    <li><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></li>
37
    <li><a href="/cgi-bin/koha/admin/classsources.pl">[% t('Classification sources') %]</a></li>
37
    <li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
38
    <li><a href="/cgi-bin/koha/admin/matching-rules.pl">[% t('Record matching rules') %]</a></li>
38
    <li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
39
    <li><a href="/cgi-bin/koha/admin/oai_sets.pl">[% t('OAI sets configuration') %]</a></li>
39
    <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
40
    <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">[% t('Item search fields') %]</a></li>
40
    [% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %]
41
    [% IF Koha.Preference('SearchEngine') == 'Elasticsearch' %]
41
        <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration</a></li>
42
        <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">[% t('Search engine configuration') %]</a></li>
42
    [% END %]
43
    [% END %]
43
</ul>
44
</ul>
44
45
45
<h5>Acquisition parameters</h5>
46
<h5>[% t('Acquisition parameters') %]</h5>
46
47
47
<ul>
48
<ul>
48
    <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
49
    <li><a href="/cgi-bin/koha/admin/currency.pl">[% t('Currencies and exchange rates') %]</a></li>
49
    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
50
    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">[% t('Budgets') %]</a></li>
50
    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
51
    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">[% t('Funds') %]</a></li>
51
    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
52
    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">[% t('EDI accounts') %]</a></li>
52
    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
53
    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">[% t('Library EANs') %]</a></li>
53
</ul>
54
</ul>
54
55
55
[% IF CAN_user_plugins %]
56
[% IF CAN_user_plugins %]
56
<h5>Plugins</h5>
57
<h5>[% t('Plugins') %]</h5>
57
58
58
<ul>
59
<ul>
59
    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></li>
60
    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">[% t('Manage plugins') %]</a></li>
60
</ul>
61
</ul>
61
[% END %]
62
[% END %]
62
63
63
<h5>Additional parameters</h5>
64
<h5>[% t('Additional parameters') %]</h5>
64
65
65
<ul>
66
<ul>
66
    <!-- <li><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></li> -->
67
    <!-- <li><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></li> -->
67
    <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
68
    <li><a href="/cgi-bin/koha/admin/z3950servers.pl">[% t('Z39.50/SRU servers') %]</a></li>
68
    <li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
69
    <li><a href="/cgi-bin/koha/admin/didyoumean.pl">[% t('Did you mean?') %]</a></li>
69
    <li><a href="/cgi-bin/koha/admin/columns_settings.pl">Columns settings</a></li>
70
    <li><a href="/cgi-bin/koha/admin/columns_settings.pl">[% t('Columns settings') %]</a></li>
70
    <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
71
    <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">[% t('Audio alerts') %]</a></li>
71
    [% IF Koha.Preference('SMSSendDriver') == 'Email' %]
72
    [% IF Koha.Preference('SMSSendDriver') == 'Email' %]
72
        <li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
73
        <li><a href="/cgi-bin/koha/admin/sms_providers.pl">[% t('SMS cellular providers') %]</a></li>
73
    [% END %]
74
    [% END %]
74
    <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
75
    <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">[% t('Share usage statistics') %]</a></li>
75
</ul>
76
</ul>
76
</div>
77
</div>
77
</div>
78
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/adv-search.inc (-7 / +8 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div class="gradient">
2
<div class="gradient">
2
    <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
3
    <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
3
4
Lines 6-19 Link Here
6
        [% INCLUDE 'patron-search-box.inc' %]
7
        [% INCLUDE 'patron-search-box.inc' %]
7
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
            <div id="checkin_search" class="residentsearch">
9
            <div id="checkin_search" class="residentsearch">
9
                <p class="tip">Scan a barcode to check in:</p>
10
                <p class="tip">[% t('Scan a barcode to check in:') %]</p>
10
                <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
                <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
                    <input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
12
                    <input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
12
                    <input value="Submit" class="submit" type="submit" />
13
                    <input value="Submit" class="submit" type="submit" />
13
                </form>
14
                </form>
14
            </div>
15
            </div>
15
            <div id="renew_search" class="residentsearch">
16
            <div id="renew_search" class="residentsearch">
16
                <p class="tip">Scan a barcode to renew:</p>
17
                <p class="tip">[% t('Scan a barcode to renew:') %]</p>
17
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
                <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
                    <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19
                    <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19
                    <input value="Submit" class="submit" type="submit" />
20
                    <input value="Submit" class="submit" type="submit" />
Lines 23-29 Link Here
23
24
24
        [% IF CAN_user_borrowers_edit_borrowers %]
25
        [% IF CAN_user_borrowers_edit_borrowers %]
25
            <div id="patron_search" class="residentsearch">
26
            <div id="patron_search" class="residentsearch">
26
                <p class="tip">Enter patron card number or partial name:</p>
27
                <p class="tip">[% t('Enter patron card number or partial name:') %]</p>
27
                <form action="/cgi-bin/koha/members/member.pl" method="post">
28
                <form action="/cgi-bin/koha/members/member.pl" method="post">
28
                    <input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text" />
29
                    <input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text" />
29
                    <input type="hidden" name="quicksearch" value="1" />
30
                    <input type="hidden" name="quicksearch" value="1" />
Lines 34-49 Link Here
34
35
35
        <ul>
36
        <ul>
36
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
37
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
37
                <li><a class="keep_text" href="#circ_search">Check out</a></li>
38
                <li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>
38
            [% END %]
39
            [% END %]
39
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
40
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
40
                <li><a class="keep_text" href="#checkin_search">Check in</a></li>
41
                <li><a class="keep_text" href="#checkin_search">[% t('Check in') %]</a></li>
41
            [% END %]
42
            [% END %]
42
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
43
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
43
                <li><a class="keep_text" href="#renew_search">Renew</a></li>
44
                <li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>
44
            [% END %]
45
            [% END %]
45
            [% IF CAN_user_borrowers_edit_borrowers %]
46
            [% IF CAN_user_borrowers_edit_borrowers %]
46
                <li><a class="keep_text" href="#patron_search">Search patrons</a></li>
47
                <li><a class="keep_text" href="#patron_search">[% t('Search patrons') %]</a></li>
47
            [% END %]
48
            [% END %]
48
        </ul>
49
        </ul>
49
50
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc (-53 / +54 lines)
Lines 1-40 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% PROCESS 'form-blocks.inc' %]
2
[% PROCESS 'form-blocks.inc' %]
2
3
3
<div id="toolbar" class="btn-toolbar">
4
<div id="toolbar" class="btn-toolbar">
4
    <div class="btn-group"><a href="#" id="clear" class="btn btn-default btn-sm"><i class="fa fa-trash"></i> Clear field</a></div>
5
    <div class="btn-group"><a href="#" id="clear" class="btn btn-default btn-sm"><i class="fa fa-trash"></i> [% t('Clear field') %]</a></div>
5
    <div class="btn-group"><a href="#" id="createnew" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> Create new authority</a></div>
6
    <div class="btn-group"><a href="#" id="createnew" class="btn btn-default btn-sm"><i class="fa fa-plus"></i> [% t('Create new authority') %]</a></div>
6
</div>
7
</div>
7
<form name="f" method="get" action="auth_finder.pl">
8
<form name="f" method="get" action="auth_finder.pl">
8
            <input type="hidden" name="source" value="[% source %]" />
9
            <input type="hidden" name="source" value="[% source %]" />
9
            <input type="hidden" name="op" value="do_search" />
10
            <input type="hidden" name="op" value="do_search" />
10
            <input type="hidden" name="type" value="intranet" />
11
            <input type="hidden" name="type" value="intranet" />
11
            <input type="hidden" name="index" value="[% index %]" />
12
            <input type="hidden" name="index" value="[% index %]" />
12
                <fieldset class="rows"><legend>Search options</legend>
13
                <fieldset class="rows"><legend>[% t('Search options') %]</legend>
13
                <ol><li>
14
                <ol><li>
14
                    <span class="label">Authority type: </span>
15
                    <span class="label">[% t('Authority type:') %] </span>
15
                    [% authtypecode %]
16
                    [% authtypecode %]
16
                    <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
17
                    <input type="hidden" name="authtypecode" value="[% authtypecode %]" />
17
                </li>
18
                </li>
18
                <li>
19
                <li>
19
                    <label for="mainmainentry">Search main heading ($a only): </label>
20
                    <label for="mainmainentry">[% t('Search main heading ($a only):') %] </label>
20
                    <input type="hidden" name="marclist" value="mainmainentry" />
21
                    <input type="hidden" name="marclist" value="mainmainentry" />
21
                    <input type="hidden" name="and_or" value="and" />
22
                    <input type="hidden" name="and_or" value="and" />
22
                    <input type="hidden" name="excluding" value="" />
23
                    <input type="hidden" name="excluding" value="" />
23
                    <select name="operator" id="mainmainentry">
24
                    <select name="operator" id="mainmainentry">
24
                        [% IF ( operator_mainstr == 'contains' ) %]
25
                        [% IF ( operator_mainstr == 'contains' ) %]
25
                        <option value="contains" selected="selected">contains</option>
26
                        <option value="contains" selected="selected">[% t('contains') %]</option>
26
                        [% ELSE %]
27
                        [% ELSE %]
27
                        <option value="contains">contains</option>
28
                        <option value="contains">[% t('contains') %]</option>
28
                        [% END %]
29
                        [% END %]
29
                        [% IF ( operator_mainstr == 'start' ) %]
30
                        [% IF ( operator_mainstr == 'start' ) %]
30
                        <option value="start" selected="selected">starts with</option>
31
                        <option value="start" selected="selected">[% t('starts with') %]</option>
31
                        [% ELSE %]
32
                        [% ELSE %]
32
                        <option value="start">starts with</option>
33
                        <option value="start">[% t('starts with') %]</option>
33
                        [% END %]
34
                        [% END %]
34
                        [% IF ( operator_mainstr == 'is' ) %]
35
                        [% IF ( operator_mainstr == 'is' ) %]
35
                        <option value="is" selected="selected">is exactly</option>
36
                        <option value="is" selected="selected">[% t('is exactly') %]</option>
36
                        [% ELSE %]
37
                        [% ELSE %]
37
                        <option value="is">is exactly</option>
38
                        <option value="is">[% t('is exactly') %]</option>
38
                        [% END %]
39
                        [% END %]
39
                    </select>
40
                    </select>
40
                    <input id="value_mainstr" style="width:400px;" type="text" name="value_mainstr" value="[% value_mainstr |html %]" />
41
                    <input id="value_mainstr" style="width:400px;" type="text" name="value_mainstr" value="[% value_mainstr |html %]" />
Lines 42-163 Link Here
42
                </li>
43
                </li>
43
44
44
                <li>
45
                <li>
45
                    <label for="mainentry">Search main heading: </label>
46
                    <label for="mainentry">[% t('Search main heading:') %] </label>
46
                    <input type="hidden" name="marclist" value="mainentry" />
47
                    <input type="hidden" name="marclist" value="mainentry" />
47
                    <input type="hidden" name="and_or" value="and" />
48
                    <input type="hidden" name="and_or" value="and" />
48
                    <input type="hidden" name="excluding" value="" />
49
                    <input type="hidden" name="excluding" value="" />
49
                    <select name="operator" id="mainentry">
50
                    <select name="operator" id="mainentry">
50
                        [% IF ( operator_main == 'contains' ) %]
51
                        [% IF ( operator_main == 'contains' ) %]
51
                        <option value="contains" selected="selected">contains</option>
52
                        <option value="contains" selected="selected">[% t('contains') %]</option>
52
                        [% ELSE %]
53
                        [% ELSE %]
53
                        <option value="contains">contains</option>
54
                        <option value="contains">[% t('contains') %]</option>
54
                        [% END %]
55
                        [% END %]
55
                        [% IF ( operator_main == 'start' ) %]
56
                        [% IF ( operator_main == 'start' ) %]
56
                        <option value="start" selected="selected">starts with</option>
57
                        <option value="start" selected="selected">[% t('starts with') %]</option>
57
                        [% ELSE %]
58
                        [% ELSE %]
58
                        <option value="start">starts with</option>
59
                        <option value="start">[% t('starts with') %]</option>
59
                        [% END %]
60
                        [% END %]
60
                        [% IF ( operator_main == 'is' ) %]
61
                        [% IF ( operator_main == 'is' ) %]
61
                        <option value="is" selected="selected">is exactly</option>
62
                        <option value="is" selected="selected">[% t('is exactly') %]</option>
62
                        [% ELSE %]
63
                        [% ELSE %]
63
                        <option value="is">is exactly</option>
64
                        <option value="is">[% t('is exactly') %]</option>
64
                        [% END %]
65
                        [% END %]
65
                    </select>
66
                    </select>
66
                    <input id="value_main" style="width:400px;" type="text" name="value_main" value="[% value_main |html %]" />
67
                    <input id="value_main" style="width:400px;" type="text" name="value_main" value="[% value_main |html %]" />
67
                    <div id="yvaluecontainermainentry"></div>
68
                    <div id="yvaluecontainermainentry"></div>
68
                </li>
69
                </li>
69
                <li>
70
                <li>
70
                    <label for="marclistheading">Search all headings: </label>
71
                    <label for="marclistheading">[% t('Search all headings:') %] </label>
71
                    <input type="hidden" name="marclist" value="match" />
72
                    <input type="hidden" name="marclist" value="match" />
72
                    <input type="hidden" name="and_or" value="and" />
73
                    <input type="hidden" name="and_or" value="and" />
73
                    <input type="hidden" name="excluding" value="" />
74
                    <input type="hidden" name="excluding" value="" />
74
                    <select name="operator" id="marclistheading">
75
                    <select name="operator" id="marclistheading">
75
                        [% IF ( operator_match == 'contains' ) %]
76
                        [% IF ( operator_match == 'contains' ) %]
76
                        <option value="contains" selected="selected">contains</option>
77
                        <option value="contains" selected="selected">[% t('contains') %]</option>
77
                        [% ELSE %]
78
                        [% ELSE %]
78
                        <option value="contains">contains</option>
79
                        <option value="contains">[% t('contains') %]</option>
79
                        [% END %]
80
                        [% END %]
80
                        [% IF ( operator_match == 'start' ) %]
81
                        [% IF ( operator_match == 'start' ) %]
81
                        <option value="start" selected="selected">starts with</option>
82
                        <option value="start" selected="selected">[% t('starts with') %]</option>
82
                        [% ELSE %]
83
                        [% ELSE %]
83
                        <option value="start">starts with</option>
84
                        <option value="start">[% t('starts with') %]</option>
84
                        [% END %]
85
                        [% END %]
85
                        [% IF ( operator_match == 'is' ) %]
86
                        [% IF ( operator_match == 'is' ) %]
86
                        <option value="is" selected="selected">is exactly</option>
87
                        <option value="is" selected="selected">[% t('is exactly') %]</option>
87
                        [% ELSE %]
88
                        [% ELSE %]
88
                        <option value="is">is exactly</option>
89
                        <option value="is">[% t('is exactly') %]</option>
89
                        [% END %]
90
                        [% END %]
90
                    </select>
91
                    </select>
91
                    <input type="text" name="value_match" value="[% value_match |html %]" />
92
                    <input type="text" name="value_match" value="[% value_match |html %]" />
92
                </li>
93
                </li>
93
                <li>
94
                <li>
94
                    <label for="marclistanywhere">Search entire record: </label>
95
                    <label for="marclistanywhere">[% t('Search entire record:') %] </label>
95
                    <input type="hidden" name="marclist" value="all" />
96
                    <input type="hidden" name="marclist" value="all" />
96
                    <input type="hidden" name="and_or" value="and" />
97
                    <input type="hidden" name="and_or" value="and" />
97
                    <input type="hidden" name="excluding" value="" />
98
                    <input type="hidden" name="excluding" value="" />
98
                    <select name="operator" id="marclistanywhere">
99
                    <select name="operator" id="marclistanywhere">
99
                        [% IF ( operator_any == 'contains' ) %]
100
                        [% IF ( operator_any == 'contains' ) %]
100
                        <option value="contains" selected="selected">contains</option>
101
                        <option value="contains" selected="selected">[% t('contains') %]</option>
101
                        [% ELSE %]
102
                        [% ELSE %]
102
                        <option value="contains">contains</option>
103
                        <option value="contains">[% t('contains') %]</option>
103
                        [% END %]
104
                        [% END %]
104
                        [% IF ( operator_any == 'start' ) %]
105
                        [% IF ( operator_any == 'start' ) %]
105
                        <option value="start" selected="selected">starts with</option>
106
                        <option value="start" selected="selected">[% t('starts with') %]</option>
106
                        [% ELSE %]
107
                        [% ELSE %]
107
                        <option value="start">starts with</option>
108
                        <option value="start">[% t('starts with') %]</option>
108
                        [% END %]
109
                        [% END %]
109
                        [% IF ( operator_any == 'is' ) %]
110
                        [% IF ( operator_any == 'is' ) %]
110
                        <option value="is" selected="selected">is exactly</option>
111
                        <option value="is" selected="selected">[% t('is exactly') %]</option>
111
                        [% ELSE %]
112
                        [% ELSE %]
112
                        <option value="is">is exactly</option>
113
                        <option value="is">[% t('is exactly') %]</option>
113
                        [% END %]
114
                        [% END %]
114
                    </select>
115
                    </select>
115
                    <input id="value_any" style="width:400px;" type="text" name="value_any" value="[% value_any |html %]" />
116
                    <input id="value_any" style="width:400px;" type="text" name="value_any" value="[% value_any |html %]" />
116
                    <div id="yvaluecontainermarclist"></div>
117
                    <div id="yvaluecontainermarclist"></div>
117
                </li>
118
                </li>
118
        <li>
119
        <li>
119
        <label for="orderby">Sort by: </label>
120
        <label for="orderby">[% t('Sort by:') %] </label>
120
        <select name="orderby" id="orderby">
121
        <select name="orderby" id="orderby">
121
            [% IF ( orderby == 'HeadingAsc' ) %]
122
            [% IF ( orderby == 'HeadingAsc' ) %]
122
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
123
            <option value="HeadingAsc" selected="selected">[% t('Heading A-Z') %]</option>
123
            [% ELSE %]
124
            [% ELSE %]
124
            <option value="HeadingAsc">Heading A-Z</option>
125
            <option value="HeadingAsc">[% t('Heading A-Z') %]</option>
125
            [% END %]
126
            [% END %]
126
            [% IF ( orderby == 'HeadingDsc' ) %]
127
            [% IF ( orderby == 'HeadingDsc' ) %]
127
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
128
            <option value="HeadingDsc" selected="selected">[% t('Heading Z-A') %]</option>
128
            [% ELSE %]
129
            [% ELSE %]
129
            <option value="HeadingDsc">Heading Z-A</option>
130
            <option value="HeadingDsc">[% t('Heading Z-A') %]</option>
130
            [% END %]
131
            [% END %]
131
            [% IF ( orderby == '' && op ) %]
132
            [% IF ( orderby == '' && op ) %]
132
            <option value="" selected="selected">None</option>
133
            <option value="" selected="selected">[% t('None') %]</option>
133
            [% ELSE %]
134
            [% ELSE %]
134
            <option value="">None</option>
135
            <option value="">[% t('None') %]</option>
135
            [% END %]
136
            [% END %]
136
        </select>
137
        </select>
137
        </li></ol></fieldset>
138
        </li></ol></fieldset>
138
        [% IF source == 'auth' %]
139
        [% IF source == 'auth' %]
139
        <fieldset class="rows"><legend>Relationship information</legend>
140
        <fieldset class="rows"><legend>[% t('Relationship information') %]</legend>
140
            <ol>
141
            <ol>
141
            <li>
142
            <li>
142
                <label for="relationship">Special relationship: </label>
143
                <label for="relationship">[% t('Special relationship:') %] </label>
143
                <select name="relationship" id="relationship">
144
                <select name="relationship" id="relationship">
144
                    [% selected=relationship %]
145
                    [% selected=relationship %]
145
                    [% PROCESS selectoptionopen value='' %]None specified</option>
146
                    [% PROCESS selectoptionopen value='' %][% t('None specified') %]</option>
146
                    [% PROCESS selectoptionopen value='a' %]a - Earlier heading</option>
147
                    [% PROCESS selectoptionopen value='a' %][% t('a - Earlier heading') %]</option>
147
                    [% PROCESS selectoptionopen value='b' %]b - Later heading</option>
148
                    [% PROCESS selectoptionopen value='b' %][% t('b - Later heading') %]</option>
148
                    [% PROCESS selectoptionopen value='d' %]d - Acronym</option>
149
                    [% PROCESS selectoptionopen value='d' %][% t('d - Acronym') %]</option>
149
                    [% PROCESS selectoptionopen value='f' %]f - Musical composition</option>
150
                    [% PROCESS selectoptionopen value='f' %][% t('f - Musical composition') %]</option>
150
                    [% PROCESS selectoptionopen value='g' %]g - Broader term</option>
151
                    [% PROCESS selectoptionopen value='g' %][% t('g - Broader term') %]</option>
151
                    [% PROCESS selectoptionopen value='h' %]h - Narrower term</option>
152
                    [% PROCESS selectoptionopen value='h' %][% t('h - Narrower term') %]</option>
152
                    [% PROCESS selectoptionopen value='i' %]i - Reference instruction phrase in subfield $i</option>
153
                    [% PROCESS selectoptionopen value='i' %][% t('i - Reference instruction phrase in subfield $i') %]</option>
153
                    [% PROCESS selectoptionopen value='n' %]n - Not applicable</option>
154
                    [% PROCESS selectoptionopen value='n' %][% t('n - Not applicable') %]</option>
154
                    [% PROCESS selectoptionopen value='r' %]r - Relationship designation in $i or $4</option>
155
                    [% PROCESS selectoptionopen value='r' %][% t('r - Relationship designation in $i or $4') %]</option>
155
                    [% PROCESS selectoptionopen value='t' %]t - Immediate parent body</option>
156
                    [% PROCESS selectoptionopen value='t' %][% t('t - Immediate parent body') %]</option>
156
                </select>
157
                </select>
157
            </li>
158
            </li>
158
            </ol>
159
            </ol>
159
        </fieldset>
160
        </fieldset>
160
        [% END %]
161
        [% END %]
161
        <fieldset class="action"> <input type="submit" value="Search" class="submit" id="search" /> <a id="cancel" class="cancel close" href="#">Cancel</a>
162
        <fieldset class="action"> <input type="submit" value="Search" class="submit" id="search" /> <a id="cancel" class="cancel close" href="#">[% t('Cancel') %]</a>
162
        </fieldset>
163
        </fieldset>
163
</form>
164
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc (-22 / +23 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% BLOCK showreference %]
2
[% BLOCK showreference %]
2
[%# Parameters: %]
3
[%# Parameters: %]
3
[%# heading: the heading itself %]
4
[%# heading: the heading itself %]
Lines 10-22 Link Here
10
    [% IF marcflavour == 'UNIMARC' %]
11
    [% IF marcflavour == 'UNIMARC' %]
11
        [% SWITCH type %]
12
        [% SWITCH type %]
12
        [% CASE 'broader' %]
13
        [% CASE 'broader' %]
13
            <span class="BT"><abbr title="Broader Term">BT</abbr>: [% heading | html %]</span>
14
            <span class="BT"><abbr title="[% t('Broader Term') %]">[% t('BT') %]</abbr>: [% heading | html %]</span>
14
        [% CASE 'narrower' %]
15
        [% CASE 'narrower' %]
15
            <span class="NT"><abbr title="Narrower Term">NT</abbr>: [% heading | html %]</span>
16
            <span class="NT"><abbr title="[% t('Narrower Term') %]">[% t('NT') %]</abbr>: [% heading | html %]</span>
16
        [% CASE 'seefrom' %]
17
        [% CASE 'seefrom' %]
17
            <span class="UF"><abbr title="Used For">UF</abbr>: [% heading | html %]</span>
18
            <span class="UF"><abbr title="[% t('Used For') %]">[% t('UF') %]</abbr>: [% heading | html %]</span>
18
        [% CASE 'seealso' %]
19
        [% CASE 'seealso' %]
19
            <span class="RT"><abbr title="Related Term">RT</abbr>: [% heading | html %]</span>
20
            <span class="RT"><abbr title="[% t('Related Term') %]">[% t('RT') %]</abbr>: [% heading | html %]</span>
20
        [% END %]
21
        [% END %]
21
    [% ELSE %]
22
    [% ELSE %]
22
        <span class="heading">
23
        <span class="heading">
Lines 33-45 Link Here
33
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
34
        [% UNLESS ( type=='seefrom' || type=='seealso' ) %]
34
        <span class="type">
35
        <span class="type">
35
            [% SWITCH type %]
36
            [% SWITCH type %]
36
            [% CASE 'earlier' %](Earlier heading)
37
            [% CASE 'earlier' %][% t('(Earlier heading)') %]
37
            [% CASE 'later' %](Later heading)
38
            [% CASE 'later' %][% t('(Later heading)') %]
38
            [% CASE 'acronym' %](Acronym)
39
            [% CASE 'acronym' %][% t('(Acronym)') %]
39
            [% CASE 'musical' %](Musical composition)
40
            [% CASE 'musical' %][% t('(Musical composition)') %]
40
            [% CASE 'broader' %](Broader heading)
41
            [% CASE 'broader' %][% t('(Broader heading)') %]
41
            [% CASE 'narrower' %](Narrower heading)
42
            [% CASE 'narrower' %][% t('(Narrower heading)') %]
42
            [% CASE 'parent' %](Immediate parent body)
43
            [% CASE 'parent' %][% t('(Immediate parent body)') %]
43
            [% CASE %][% IF type %]([% type | html %])
44
            [% CASE %][% IF type %]([% type | html %])
44
            [% END %]
45
            [% END %]
45
        [% END %]
46
        [% END %]
Lines 97-103 Link Here
97
        [% ELSE %]
98
        [% ELSE %]
98
            [% IF ( summary.seefrom.size >= 1 ) %]
99
            [% IF ( summary.seefrom.size >= 1 ) %]
99
            <div class="seefrom">
100
            <div class="seefrom">
100
                <span class="seefrom">used for/see from:</span>
101
                <span class="seefrom">[% t('used for/see from:') %]</span>
101
                [% FOREACH seefro IN summary.seefrom %]
102
                [% FOREACH seefro IN summary.seefrom %]
102
                    <div class="authref">
103
                    <div class="authref">
103
                    [%# Following on one line for translatability %]
104
                    [%# Following on one line for translatability %]
Lines 108-114 Link Here
108
            [% END %]
109
            [% END %]
109
            [% IF ( summary.seealso.size >= 1 ) %]
110
            [% IF ( summary.seealso.size >= 1 ) %]
110
            <div class="seealso">
111
            <div class="seealso">
111
                <span class="seealso">see also:</span>
112
                <span class="seealso">[% t('see also:') %]</span>
112
                [% FOREACH seeals IN summary.seealso %]
113
                [% FOREACH seeals IN summary.seealso %]
113
                    <div class="authref">
114
                    <div class="authref">
114
                    [%# Following on one line for translatability %]
115
                    [%# Following on one line for translatability %]
Lines 122-136 Link Here
122
[% END %]
123
[% END %]
123
[% BLOCK language %]
124
[% BLOCK language %]
124
  [% SWITCH lang %]
125
  [% SWITCH lang %]
125
   [% CASE ['en', 'eng'] %]English
126
   [% CASE ['en', 'eng'] %][% t('English') %]
126
   [% CASE ['fr', 'fre'] %]French
127
   [% CASE ['fr', 'fre'] %][% t('French') %]
127
   [% CASE ['it', 'ita'] %]Italian
128
   [% CASE ['it', 'ita'] %][% t('Italian') %]
128
   [% CASE ['de', 'ger', 'deu'] %]German
129
   [% CASE ['de', 'ger', 'deu'] %][% t('German') %]
129
   [% CASE ['es', 'spa'] %]Spanish
130
   [% CASE ['es', 'spa'] %][% t('Spanish') %]
130
   [% CASE ['heb'] %]Hebrew
131
   [% CASE ['heb'] %][% t('Hebrew') %]
131
   [% CASE ['ara'] %]Arabic
132
   [% CASE ['ara'] %][% t('Arabic') %]
132
   [% CASE ['gre'] %]Greek (modern)
133
   [% CASE ['gre'] %][% t('Greek (modern)') %]
133
   [% CASE ['grc'] %]Greek (to 1453)
134
   [% CASE ['grc'] %][% t('Greek (to 1453)') %]
134
   [% CASE %][% lang %]
135
   [% CASE %][% lang %]
135
  [% END %]
136
  [% END %]
136
[% END %]
137
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (-60 / +61 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div class="gradient">
2
<div class="gradient">
2
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
3
<!-- Begin Authorities Resident Search Box -->
4
<!-- Begin Authorities Resident Search Box -->
4
<div id="header_search" class="residentsearch">
5
<div id="header_search" class="residentsearch">
5
    <div id="mainmain_heading" class="residentsearch">
6
    <div id="mainmain_heading" class="residentsearch">
6
    <p class="tip">Enter main heading ($a only):</p>
7
    <p class="tip">[% t('Enter main heading ($a only):') %]</p>
7
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
8
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
8
        <input type="hidden" name="op" value="do_search" />
9
        <input type="hidden" name="op" value="do_search" />
9
        <input type="hidden" name="type" value="intranet" />
10
        <input type="hidden" name="type" value="intranet" />
10
        <select name="authtypecode">
11
        <select name="authtypecode">
11
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
12
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">[% t('All authority types') %]</option>[% END %]
12
        [% FOREACH authority_type IN authority_types %]
13
        [% FOREACH authority_type IN authority_types %]
13
            [% IF authority_type.authtypecode == authtypecode %]
14
            [% IF authority_type.authtypecode == authtypecode %]
14
            <option value="[% authority_type.authtypecode%]" selected="selected">[% authority_type.authtypetext %]</option>
15
            <option value="[% authority_type.authtypecode%]" selected="selected">[% authority_type.authtypetext %]</option>
Lines 22-70 Link Here
22
        <input type="hidden" name="excluding" value="" />
23
        <input type="hidden" name="excluding" value="" />
23
        <select name="operator">
24
        <select name="operator">
24
            [% IF ( operator == 'contains' ) %]
25
            [% IF ( operator == 'contains' ) %]
25
            <option value="contains" selected="selected">contains</option>
26
            <option value="contains" selected="selected">[% t('contains') %]</option>
26
            [% ELSE %]
27
            [% ELSE %]
27
            <option value="contains">contains</option>
28
            <option value="contains">[% t('contains') %]</option>
28
            [% END %]
29
            [% END %]
29
            [% IF ( operator == 'start' ) %]
30
            [% IF ( operator == 'start' ) %]
30
            <option value="start" selected="selected">starts with</option>
31
            <option value="start" selected="selected">[% t('starts with') %]</option>
31
            [% ELSE %]
32
            [% ELSE %]
32
            <option value="start">starts with</option>
33
            <option value="start">[% t('starts with') %]</option>
33
            [% END %]
34
            [% END %]
34
            [% IF ( operator == 'is' ) %]
35
            [% IF ( operator == 'is' ) %]
35
            <option value="is" selected="selected">is exactly</option>
36
            <option value="is" selected="selected">[% t('is exactly') %]</option>
36
            [% ELSE %]
37
            [% ELSE %]
37
            <option value="is">is exactly</option>
38
            <option value="is">[% t('is exactly') %]</option>
38
            [% END %]
39
            [% END %]
39
        </select>
40
        </select>
40
        <input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
41
        <input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
41
        <select name="orderby">
42
        <select name="orderby">
42
            [% IF ( orderby == 'HeadingAsc' ) %]
43
            [% IF ( orderby == 'HeadingAsc' ) %]
43
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
44
            <option value="HeadingAsc" selected="selected">[% t('Heading A-Z') %]</option>
44
            [% ELSE %]
45
            [% ELSE %]
45
            <option value="HeadingAsc">Heading A-Z</option>
46
            <option value="HeadingAsc">[% t('Heading A-Z') %]</option>
46
            [% END %]
47
            [% END %]
47
            [% IF ( orderby == 'HeadingDsc' ) %]
48
            [% IF ( orderby == 'HeadingDsc' ) %]
48
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
49
            <option value="HeadingDsc" selected="selected">[% t('Heading Z-A') %]</option>
49
            [% ELSE %]
50
            [% ELSE %]
50
            <option value="HeadingDsc">Heading Z-A</option>
51
            <option value="HeadingDsc">[% t('Heading Z-A') %]</option>
51
            [% END %]
52
            [% END %]
52
            [% IF ( orderby == '' && op ) %]
53
            [% IF ( orderby == '' && op ) %]
53
            <option value="" selected="selected">None</option>
54
            <option value="" selected="selected">[% t('None') %]</option>
54
            [% ELSE %]
55
            [% ELSE %]
55
            <option value="">None</option>
56
            <option value="">[% t('None') %]</option>
56
            [% END %]
57
            [% END %]
57
        </select>
58
        </select>
58
        <input type="submit" class="submit" value="Submit" />
59
        <input type="submit" class="submit" value="Submit" />
59
    </form>
60
    </form>
60
    </div>
61
    </div>
61
    <div id="main_heading" class="residentsearch">
62
    <div id="main_heading" class="residentsearch">
62
    <p class="tip">Enter main heading:</p>
63
    <p class="tip">[% t('Enter main heading:') %]</p>
63
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
64
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
64
        <input type="hidden" name="op" value="do_search" />
65
        <input type="hidden" name="op" value="do_search" />
65
        <input type="hidden" name="type" value="intranet" />
66
        <input type="hidden" name="type" value="intranet" />
66
        <select name="authtypecode">
67
        <select name="authtypecode">
67
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
68
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">[% t('All authority types') %]</option>[% END %]
68
        [% FOREACH authority_type IN authority_types %]
69
        [% FOREACH authority_type IN authority_types %]
69
            [% IF authority_type.authtypecode == authtypecode %]
70
            [% IF authority_type.authtypecode == authtypecode %]
70
            <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
71
            <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
Lines 78-126 Link Here
78
        <input type="hidden" name="excluding" value="" />
79
        <input type="hidden" name="excluding" value="" />
79
        <select name="operator">
80
        <select name="operator">
80
            [% IF ( operator == 'contains' ) %]
81
            [% IF ( operator == 'contains' ) %]
81
            <option value="contains" selected="selected">contains</option>
82
            <option value="contains" selected="selected">[% t('contains') %]</option>
82
            [% ELSE %]
83
            [% ELSE %]
83
            <option value="contains">contains</option>
84
            <option value="contains">[% t('contains') %]</option>
84
            [% END %]
85
            [% END %]
85
            [% IF ( operator == 'start' ) %]
86
            [% IF ( operator == 'start' ) %]
86
            <option value="start" selected="selected">starts with</option>
87
            <option value="start" selected="selected">[% t('starts with') %]</option>
87
            [% ELSE %]
88
            [% ELSE %]
88
            <option value="start">starts with</option>
89
            <option value="start">[% t('starts with') %]</option>
89
            [% END %]
90
            [% END %]
90
            [% IF ( operator == 'is' ) %]
91
            [% IF ( operator == 'is' ) %]
91
            <option value="is" selected="selected">is exactly</option>
92
            <option value="is" selected="selected">[% t('is exactly') %]</option>
92
            [% ELSE %]
93
            [% ELSE %]
93
            <option value="is">is exactly</option>
94
            <option value="is">[% t('is exactly') %]</option>
94
            [% END %]
95
            [% END %]
95
        </select>
96
        </select>
96
        <input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
97
        <input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
97
        <select name="orderby">
98
        <select name="orderby">
98
            [% IF ( orderby == 'HeadingAsc' ) %]
99
            [% IF ( orderby == 'HeadingAsc' ) %]
99
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
100
            <option value="HeadingAsc" selected="selected">[% t('Heading A-Z') %]</option>
100
            [% ELSE %]
101
            [% ELSE %]
101
            <option value="HeadingAsc">Heading A-Z</option>
102
            <option value="HeadingAsc">[% t('Heading A-Z') %]</option>
102
            [% END %]
103
            [% END %]
103
            [% IF ( orderby == 'HeadingDsc' ) %]
104
            [% IF ( orderby == 'HeadingDsc' ) %]
104
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
105
            <option value="HeadingDsc" selected="selected">[% t('Heading Z-A') %]</option>
105
            [% ELSE %]
106
            [% ELSE %]
106
            <option value="HeadingDsc">Heading Z-A</option>
107
            <option value="HeadingDsc">[% t('Heading Z-A') %]</option>
107
            [% END %]
108
            [% END %]
108
            [% IF ( orderby == '' && op ) %]
109
            [% IF ( orderby == '' && op ) %]
109
            <option value="" selected="selected">None</option>
110
            <option value="" selected="selected">[% t('None') %]</option>
110
            [% ELSE %]
111
            [% ELSE %]
111
            <option value="">None</option>
112
            <option value="">[% t('None') %]</option>
112
            [% END %]
113
            [% END %]
113
        </select>
114
        </select>
114
        <input type="submit" class="submit" value="Submit" />
115
        <input type="submit" class="submit" value="Submit" />
115
    </form>
116
    </form>
116
    </div>
117
    </div>
117
    <div id="matchheading_search" class="residentsearch">
118
    <div id="matchheading_search" class="residentsearch">
118
    <p class="tip">Enter any heading:</p>
119
    <p class="tip">[% t('Enter any heading:') %]</p>
119
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
120
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
120
        <input type="hidden" name="op" value="do_search" />
121
        <input type="hidden" name="op" value="do_search" />
121
        <input type="hidden" name="type" value="intranet" />
122
        <input type="hidden" name="type" value="intranet" />
122
        <select name="authtypecode">
123
        <select name="authtypecode">
123
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
124
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">[% t('All authority types') %]</option>[% END %]
124
        [% FOREACH authority_type IN authority_types %]
125
        [% FOREACH authority_type IN authority_types %]
125
            [% IF authority_type.authtypecode == authtypecode %]
126
            [% IF authority_type.authtypecode == authtypecode %]
126
            <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
127
            <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
Lines 132-180 Link Here
132
        <input type="hidden" name="marclist" value="match" />
133
        <input type="hidden" name="marclist" value="match" />
133
        <select name="operator">
134
        <select name="operator">
134
            [% IF ( operator == 'contains' ) %]
135
            [% IF ( operator == 'contains' ) %]
135
            <option value="contains" selected="selected">contains</option>
136
            <option value="contains" selected="selected">[% t('contains') %]</option>
136
            [% ELSE %]
137
            [% ELSE %]
137
            <option value="contains">contains</option>
138
            <option value="contains">[% t('contains') %]</option>
138
            [% END %]
139
            [% END %]
139
            [% IF ( operator == 'start' ) %]
140
            [% IF ( operator == 'start' ) %]
140
            <option value="start" selected="selected">starts with</option>
141
            <option value="start" selected="selected">[% t('starts with') %]</option>
141
            [% ELSE %]
142
            [% ELSE %]
142
            <option value="start">starts with</option>
143
            <option value="start">[% t('starts with') %]</option>
143
            [% END %]
144
            [% END %]
144
            [% IF ( operator == 'is' ) %]
145
            [% IF ( operator == 'is' ) %]
145
            <option value="is" selected="selected">is exactly</option>
146
            <option value="is" selected="selected">[% t('is exactly') %]</option>
146
            [% ELSE %]
147
            [% ELSE %]
147
            <option value="is">is exactly</option>
148
            <option value="is">[% t('is exactly') %]</option>
148
            [% END %]
149
            [% END %]
149
        </select>
150
        </select>
150
        <input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
151
        <input id="value_matchheading" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
151
        <select name="orderby">
152
        <select name="orderby">
152
            [% IF ( orderby == 'HeadingAsc' ) %]
153
            [% IF ( orderby == 'HeadingAsc' ) %]
153
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
154
            <option value="HeadingAsc" selected="selected">[% t('Heading A-Z') %]</option>
154
            [% ELSE %]
155
            [% ELSE %]
155
            <option value="HeadingAsc">Heading A-Z</option>
156
            <option value="HeadingAsc">[% t('Heading A-Z') %]</option>
156
            [% END %]
157
            [% END %]
157
            [% IF ( orderby == 'HeadingDsc' ) %]
158
            [% IF ( orderby == 'HeadingDsc' ) %]
158
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
159
            <option value="HeadingDsc" selected="selected">[% t('Heading Z-A') %]</option>
159
            [% ELSE %]
160
            [% ELSE %]
160
            <option value="HeadingDsc">Heading Z-A</option>
161
            <option value="HeadingDsc">[% t('Heading Z-A') %]</option>
161
            [% END %]
162
            [% END %]
162
            [% IF ( orderby == '' && op ) %]
163
            [% IF ( orderby == '' && op ) %]
163
            <option value="" selected="selected">None</option>
164
            <option value="" selected="selected">[% t('None') %]</option>
164
            [% ELSE %]
165
            [% ELSE %]
165
            <option value="">None</option>
166
            <option value="">[% t('None') %]</option>
166
            [% END %]
167
            [% END %]
167
         </select>
168
         </select>
168
         <input type="submit" class="submit" value="Submit" />
169
         <input type="submit" class="submit" value="Submit" />
169
    </form>
170
    </form>
170
    </div>
171
    </div>
171
    <div id="entire_record" class="residentsearch">
172
    <div id="entire_record" class="residentsearch">
172
    <p class="tip">Enter any authority field:</p>
173
    <p class="tip">[% t('Enter any authority field:') %]</p>
173
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
174
    <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
174
        <input type="hidden" name="op" value="do_search" />
175
        <input type="hidden" name="op" value="do_search" />
175
        <input type="hidden" name="type" value="intranet" />
176
        <input type="hidden" name="type" value="intranet" />
176
        <select name="authtypecode">
177
        <select name="authtypecode">
177
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
178
        [% IF (marcflavour == 'UNIMARC' ) %]<option value="">[% t('All authority types') %]</option>[% END %]
178
        [% FOREACH authority_type IN authority_types %]
179
        [% FOREACH authority_type IN authority_types %]
179
            [% IF authority_type.authtypecode == authtypecode %]
180
            [% IF authority_type.authtypecode == authtypecode %]
180
            <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
181
            <option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
Lines 188-234 Link Here
188
        <input type="hidden" name="excluding" value="" />
189
        <input type="hidden" name="excluding" value="" />
189
        <select name="operator">
190
        <select name="operator">
190
            [% IF ( operator == 'contains' ) %]
191
            [% IF ( operator == 'contains' ) %]
191
            <option value="contains" selected="selected">contains</option>
192
            <option value="contains" selected="selected">[% t('contains') %]</option>
192
            [% ELSE %]
193
            [% ELSE %]
193
            <option value="contains">contains</option>
194
            <option value="contains">[% t('contains') %]</option>
194
            [% END %]
195
            [% END %]
195
            [% IF ( operator == 'start' ) %]
196
            [% IF ( operator == 'start' ) %]
196
            <option value="start" selected="selected">starts with</option>
197
            <option value="start" selected="selected">[% t('starts with') %]</option>
197
            [% ELSE %]
198
            [% ELSE %]
198
            <option value="start">starts with</option>
199
            <option value="start">[% t('starts with') %]</option>
199
            [% END %]
200
            [% END %]
200
            [% IF ( operator == 'is' ) %]
201
            [% IF ( operator == 'is' ) %]
201
            <option value="is" selected="selected">is exactly</option>
202
            <option value="is" selected="selected">[% t('is exactly') %]</option>
202
            [% ELSE %]
203
            [% ELSE %]
203
            <option value="is">is exactly</option>
204
            <option value="is">[% t('is exactly') %]</option>
204
            [% END %]
205
            [% END %]
205
        </select>
206
        </select>
206
        <input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
207
        <input id="value_anywhere" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
207
        <select name="orderby">
208
        <select name="orderby">
208
            [% IF ( orderby == 'HeadingAsc' ) %]
209
            [% IF ( orderby == 'HeadingAsc' ) %]
209
            <option value="HeadingAsc" selected="selected">Heading A-Z</option>
210
            <option value="HeadingAsc" selected="selected">[% t('Heading A-Z') %]</option>
210
            [% ELSE %]
211
            [% ELSE %]
211
            <option value="HeadingAsc">Heading A-Z</option>
212
            <option value="HeadingAsc">[% t('Heading A-Z') %]</option>
212
            [% END %]
213
            [% END %]
213
            [% IF ( orderby == 'HeadingDsc' ) %]
214
            [% IF ( orderby == 'HeadingDsc' ) %]
214
            <option value="HeadingDsc" selected="selected">Heading Z-A</option>
215
            <option value="HeadingDsc" selected="selected">[% t('Heading Z-A') %]</option>
215
            [% ELSE %]
216
            [% ELSE %]
216
            <option value="HeadingDsc">Heading Z-A</option>
217
            <option value="HeadingDsc">[% t('Heading Z-A') %]</option>
217
            [% END %]
218
            [% END %]
218
            [% IF ( orderby == '' && op ) %]
219
            [% IF ( orderby == '' && op ) %]
219
            <option value="" selected="selected">None</option>
220
            <option value="" selected="selected">[% t('None') %]</option>
220
            [% ELSE %]
221
            [% ELSE %]
221
            <option value="">None</option>
222
            <option value="">[% t('None') %]</option>
222
            [% END %]
223
            [% END %]
223
        </select>
224
        </select>
224
        <input type="submit" class="submit" value="Submit" />
225
        <input type="submit" class="submit" value="Submit" />
225
    </form>
226
    </form>
226
    </div>
227
    </div>
227
    <ul>
228
    <ul>
228
        <li><a class="keep_text" href="#mainmain_heading">Search main heading ($a only)</a></li>
229
        <li><a class="keep_text" href="#mainmain_heading">[% t('Search main heading ($a only)') %]</a></li>
229
        <li><a class="keep_text" href="#main_heading">Search main heading</a></li>
230
        <li><a class="keep_text" href="#main_heading">[% t('Search main heading') %]</a></li>
230
        <li><a class="keep_text" href="#matchheading_search">Search all headings</a></li>
231
        <li><a class="keep_text" href="#matchheading_search">[% t('Search all headings') %]</a></li>
231
        <li><a class="keep_text" href="#entire_record">Search entire record</a></li>
232
        <li><a class="keep_text" href="#entire_record">[% t('Search entire record') %]</a></li>
232
    </ul>
233
    </ul>
233
</div><!-- /header_search -->
234
</div><!-- /header_search -->
234
</div><!-- /gradient -->
235
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc (-10 / +11 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
[% IF ( authid || CAN_user_editauthorities) %]
3
[% IF ( authid || CAN_user_editauthorities) %]
3
4
Lines 5-33 Link Here
5
6
6
[% IF ( authid ) %]
7
[% IF ( authid ) %]
7
    [% IF ( CAN_user_editauthorities ) %]
8
    [% IF ( CAN_user_editauthorities ) %]
8
        <div class="btn-group"><a class="btn btn-default btn-sm" id="editAuth" href="authorities.pl?authid=[% authid %]"><i class="fa fa-pencil"></i> Edit</a></div>
9
        <div class="btn-group"><a class="btn btn-default btn-sm" id="editAuth" href="authorities.pl?authid=[% authid %]"><i class="fa fa-pencil"></i> [% t('Edit') %]</a></div>
9
        <div class="btn-group"><a class="btn btn-default btn-sm" id="dupAuth" href="authorities.pl?authid=[% authid %]&amp;op=duplicate"><i class="fa fa-copy"></i> Duplicate</a></div>
10
        <div class="btn-group"><a class="btn btn-default btn-sm" id="dupAuth" href="authorities.pl?authid=[% authid %]&op=duplicate"><i class="fa fa-copy"></i> [% t('Duplicate') %]</a></div>
10
        [% UNLESS ( count ) %]
11
        [% UNLESS ( count ) %]
11
            <div class="btn-group"><a href="#" class="btn btn-default btn-sm" id="delAuth"><i class="fa fa-trash"></i> Delete</a></div>
12
            <div class="btn-group"><a href="#" class="btn btn-default btn-sm" id="delAuth"><i class="fa fa-trash"></i> [% t('Delete') %]</a></div>
12
        [% END %]
13
        [% END %]
13
    [% END %]
14
    [% END %]
14
15
15
    <div class="btn-group">
16
    <div class="btn-group">
16
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> Save
17
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-download"></i> [% t('Save') %]
17
        <span class="caret"></span>
18
        <span class="caret"></span>
18
        </a>
19
        </a>
19
        <ul class="dropdown-menu">
20
        <ul class="dropdown-menu">
20
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=mads&amp;op=export&amp;authid=[% authid %]">MADS (XML)</a></li>
21
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=mads&op=export&authid=[% authid %]">[% t('MADS (XML)') %]</a></li>
21
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=marcxml&amp;op=export&amp;authid=[% authid %]">MARCXML</a></li>
22
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=marcxml&op=export&authid=[% authid %]">[% t('MARCXML') %]</a></li>
22
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=marc8&amp;op=export&amp;authid=[% authid %]">MARC (non-Unicode/MARC-8)</a></li>
23
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=marc8&op=export&authid=[% authid %]">[% t('MARC (non-Unicode/MARC-8)') %]</a></li>
23
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=utf8&amp;op=export&amp;authid=[% authid %]">MARC (Unicode/UTF-8)</a></li>
24
            <li><a href="/cgi-bin/koha/authorities/export.pl?format=utf8&op=export&authid=[% authid %]">[% t('MARC (Unicode/UTF-8)') %]</a></li>
24
        </ul>
25
        </ul>
25
    </div>
26
    </div>
26
[% END %]
27
[% END %]
27
28
28
[% IF ( CAN_user_editauthorities ) %]
29
[% IF ( CAN_user_editauthorities ) %]
29
    <div class="btn-group">
30
    <div class="btn-group">
30
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-plus"></i> New authority
31
        <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#"><i class="fa fa-plus"></i> [% t('New authority') %]
31
        <span class="caret"></span>
32
        <span class="caret"></span>
32
        </a>
33
        </a>
33
        <ul class="dropdown-menu">
34
        <ul class="dropdown-menu">
Lines 38-44 Link Here
38
    </div>
39
    </div>
39
    [% IF servers.count > 0 %]
40
    [% IF servers.count > 0 %]
40
        <div class="btn-group">
41
        <div class="btn-group">
41
            <a class="btn btn-default btn-sm" id="z3950submit" href="#"><i class="fa fa-search"></i> New from Z39.50</a>
42
            <a class="btn btn-default btn-sm" id="z3950submit" href="#"><i class="fa fa-search"></i> [% t('New from Z39.50') %]</a>
42
        </div>
43
        </div>
43
    [% END %]
44
    [% END %]
44
[% END %]
45
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities.inc (-2 / +3 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% BLOCK showhierarchy %]
2
[% BLOCK showhierarchy %]
2
    [% FOREACH tree IN trees %]
3
    [% FOREACH tree IN trees %]
3
        [% PROCESS showtree tree = tree %]
4
        [% PROCESS showtree tree = tree %]
Lines 8-16 Link Here
8
        [% FOREACH node IN tree %]
9
        [% FOREACH node IN tree %]
9
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
10
            <li id="hier[% node.authid %]" class="[% node.class %] authnode">
10
            [% IF ( node.current_value ) %]
11
            [% IF ( node.current_value ) %]
11
                <span class='currentauth'>[% node.value | html %]</span>
12
                <span class="currentauth">[% node.value | html %]</span>
12
            [% ELSE %]
13
            [% ELSE %]
13
                <a href="detail.pl?authid=[% node.authid %]" title="Term">[% node.value | html %]</a>
14
                <a href="detail.pl?authid=[% node.authid %]" title="[% t('Term') %]">[% node.value | html %]</a>
14
            [% END %]
15
            [% END %]
15
            [% IF ( node.children && node.children.size > 0 ) %]
16
            [% IF ( node.children && node.children.size > 0 ) %]
16
                [% PROCESS showtree tree = node.children %]
17
                [% PROCESS showtree tree = node.children %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/av-build-dropbox.inc (-2 / +3 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[%# Parameters: %]
3
[%# Parameters: %]
3
[%# name: the name of the select element %]
4
[%# name: the name of the select element %]
Lines 11-18 Link Here
11
[% DEFAULT class = '' size = 20 %]
12
[% DEFAULT class = '' size = 20 %]
12
13
13
[% IF avs %]
14
[% IF avs %]
14
  <select id="[% name %]" name="[% name %]" class="[% class %]" >
15
  <select id="[% name %]" name="[% name %]" class="[% class %]">
15
  [% IF all %]<option value="">All</option>[% END %]
16
  [% IF all %]<option value="">[% t('All') %]</option>[% END %]
16
  [% FOR av IN avs %]
17
  [% FOR av IN avs %]
17
    [% IF av.authorised_value == default %]
18
    [% IF av.authorised_value == default %]
18
      <option value="[% av.authorised_value %]" selected="selected">[% av.lib | html_entity %]</option>
19
      <option value="[% av.authorised_value %]" selected="selected">[% av.lib | html_entity %]</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-11 / +12 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Biblio %]
3
[% USE Biblio %]
3
[% SET biblio_object_id = object || biblionumber || biblio.biblionumber %]
4
[% SET biblio_object_id = object || biblionumber || biblio.biblionumber %]
Lines 5-45 Link Here
5
<div id="menu">
6
<div id="menu">
6
<ul>
7
<ul>
7
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]
8
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]
8
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]">Normal</a></li>
9
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]">[% t('Normal') %]</a></li>
9
10
10
[% IF ( can_view_MARC ) %]
11
[% IF ( can_view_MARC ) %]
11
[% IF ( marcview ) %]<li class="active">[% ELSE %]<li>[% END %]
12
[% IF ( marcview ) %]<li class="active">[% ELSE %]<li>[% END %]
12
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">MARC</a></li>
13
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">[% t('MARC') %]</a></li>
13
[% END %]
14
[% END %]
14
15
15
[% IF ( can_view_labeledMARC ) %]
16
[% IF ( can_view_labeledMARC ) %]
16
    [% IF ( labeledmarcview ) %]<li class="active">[% ELSE %]<li>[% END %]
17
    [% IF ( labeledmarcview ) %]<li class="active">[% ELSE %]<li>[% END %]
17
    <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">Labeled MARC</a></li>
18
    <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">[% t('Labeled MARC') %]</a></li>
18
[% END %]
19
[% END %]
19
20
20
[% IF ( can_view_ISBD ) %]
21
[% IF ( can_view_ISBD ) %]
21
    [% IF ( isbdview ) %]<li class="active">[% ELSE %]<li>[% END %]
22
    [% IF ( isbdview ) %]<li class="active">[% ELSE %]<li>[% END %]
22
    <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id | url  %]">ISBD</a></li>
23
    <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id | url  %]">[% t('ISBD') %]</a></li>
23
[% END %]
24
[% END %]
24
25
25
    [% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %]
26
    [% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %]
26
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id | url  %]">Items</a></li>
27
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id | url  %]">[% t('Items') %]</a></li>
27
    [% IF ( CAN_user_reserveforothers ) %]
28
    [% IF ( CAN_user_reserveforothers ) %]
28
    [% IF ( holdsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio_object_id | url  %]">Holds ([% Biblio.HoldsCount( biblio_object_id ) %])</a></li>
29
    [% IF ( holdsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio_object_id | url  %]">[% t('Holds (') %][% Biblio.HoldsCount( biblio_object_id ) %])</a></li>
29
    [% END %]
30
    [% END %]
30
    [% IF ( EasyAnalyticalRecords ) %][% IF ( analyze ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]&amp;analyze=1">Analytics</a></li>[% END %]
31
    [% IF ( EasyAnalyticalRecords ) %][% IF ( analyze ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]&analyze=1">[% t('Analytics') %]</a></li>[% END %]
31
32
32
    [% IF Koha.Preference('ArticleRequests') %]
33
    [% IF Koha.Preference('ArticleRequests') %]
33
        [% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %]
34
        [% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %]
34
        <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object %][% ELSE %][% biblionumber %][% END %]">Article requests ([% Biblio.ArticleRequestsActiveCount( biblio_object_id ) %])</a></li>
35
        <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object %][% ELSE %][% biblionumber %][% END %]">[% t('Article requests (') %][% Biblio.ArticleRequestsActiveCount( biblio_object_id ) %])</a></li>
35
    [% END %]
36
    [% END %]
36
37
37
    [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id | url  %]">Subscription(s)</a></li>[% END %]
38
    [% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&biblionumber=[% biblio_object_id | url  %]">[% t('Subscription(s)') %]</a></li>[% END %]
38
</ul>
39
</ul>
39
<ul>
40
<ul>
40
[% IF ( issuehistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]
41
[% IF ( issuehistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]
41
<a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id | url  %]" >Checkout history</a></li>
42
<a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id | url  %]">[% t('Checkout history') %]</a></li>
42
[% IF ( CAN_user_tools_view_system_logs ) %][% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[% biblio_object_id | url  %]">Modification log</a> </li>[% END %]
43
[% IF ( CAN_user_tools_view_system_logs ) %][% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=CATALOGUING&action=MODIFY&object=[% biblio_object_id | url  %]">[% t('Modification log') %]</a> </li>[% END %]
43
</ul>
44
</ul>
44
</div>
45
</div>
45
46
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/blocked-fines.inc (-5 / +6 lines)
Lines 1-13 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Price %]
2
[% USE Price %]
2
[% SET NoIssuesCharge = Koha.Preference('noissuescharge') %]
3
[% SET NoIssuesCharge = Koha.Preference('noissuescharge') %]
3
[% IF fines and fines > 0 %]
4
[% IF fines and fines > 0 %]
4
    <li>
5
    <li>
5
        <span class="circ-hlt">Fees &amp; Charges:</span>
6
        <span class="circ-hlt">[% t('Fees &amp; Charges:') %]</span>
6
        Patron has outstanding fees &amp; charges of [% fines | $Price %].
7
        [% t('Patron has outstanding fees &amp; charges of') %] [% fines | $Price %].
7
        [% IF !Koha.Preference('AllowFineOverride') && NoIssuesCharge && fines > NoIssuesCharge %]
8
        [% IF !Koha.Preference('AllowFineOverride') && NoIssuesCharge && fines > NoIssuesCharge %]
8
           <span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
9
           <span class="circ-hlt">[% t('Checkouts are BLOCKED because fine balance is OVER THE LIMIT.') %]</span>
9
        [% END %]
10
        [% END %]
10
        <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" class="btn btn-default btn-xs" >Make payment</a>
11
        <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" class="btn btn-default btn-xs">[% t('Make payment') %]</a>
11
        <a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% borrowernumber %]" class="btn btn-default btn-xs" >Pay all fines</a></li>
12
        <a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% borrowernumber %]" class="btn btn-default btn-xs">[% t('Pay all fines') %]</a></li>
12
    </li>
13
    </li>
13
[% END %]
14
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/blocking_errors.inc (-2 / +3 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF blocking_error %]
2
[% IF blocking_error %]
2
    [% SWITCH blocking_error %]
3
    [% SWITCH blocking_error %]
3
    [% CASE 'unknown_patron' %]
4
    [% CASE 'unknown_patron' %]
4
        <div class="dialog message">This patron does not exist. <a href="/cgi-bin/koha/members/members-home.pl">Find another patron?</a></div>
5
        <div class="dialog message">[% t('This patron does not exist.') %] <a href="/cgi-bin/koha/members/members-home.pl">[% t('Find another patron?') %]</a></div>
5
    [% CASE 'cannot_see_patron_infos' %]You are not allowed to see the information of this patron.
6
    [% CASE 'cannot_see_patron_infos' %][% t('You are not allowed to see the information of this patron.') %]
6
    [% CASE %][% blocking_error %]
7
    [% CASE %][% blocking_error %]
7
    [% END %]
8
    [% END %]
8
9
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (-20 / +21 lines)
Lines 1-16 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="reldebarments">
2
<div id="reldebarments">
2
    [% IF ( not debarments.defined || debarments.size < 1 ) %]
3
    [% IF ( not debarments.defined || debarments.size < 1 ) %]
3
        <p>Patron is currently unrestricted.</p>
4
        <p>[% t('Patron is currently unrestricted.') %]</p>
4
    [% ELSE %]
5
    [% ELSE %]
5
        <table>
6
        <table>
6
            <thead>
7
            <thead>
7
                <tr>
8
                <tr>
8
                     <th>Type</th>
9
                     <th>[% t('Type') %]</th>
9
                     <th>Comment</th>
10
                     <th>[% t('Comment') %]</th>
10
                     <th>Expiration</th>
11
                     <th>[% t('Expiration') %]</th>
11
                     <th>Created</th>
12
                     <th>[% t('Created') %]</th>
12
                     [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
13
                     [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
13
                         <th>&nbsp;</th>
14
                         <th> </th>
14
                     [% END %]
15
                     [% END %]
15
                </tr>
16
                </tr>
16
            </thead>
17
            </thead>
Lines 20-47 Link Here
20
                        <td>
21
                        <td>
21
                            [% SWITCH d.type %]
22
                            [% SWITCH d.type %]
22
                                [% CASE 'MANUAL' %]
23
                                [% CASE 'MANUAL' %]
23
                                    Manual
24
                                    [% t('Manual') %]
24
                                [% CASE 'OVERDUES' %]
25
                                [% CASE 'OVERDUES' %]
25
                                    Overdues
26
                                    [% t('Overdues') %]
26
                                [% CASE 'SUSPENSION' %]
27
                                [% CASE 'SUSPENSION' %]
27
                                    Suspension
28
                                    [% t('Suspension') %]
28
                                [% CASE 'DISCHARGE' %]
29
                                [% CASE 'DISCHARGE' %]
29
                                    Discharge
30
                                    [% t('Discharge') %]
30
                            [% END %]
31
                            [% END %]
31
                        </td>
32
                        </td>
32
                        <td>
33
                        <td>
33
			    [% IF d.comment.search('OVERDUES_PROCESS') %]
34
			    [% IF d.comment.search('OVERDUES_PROCESS') %]
34
				Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %]
35
				[% t('Restriction added by overdues process') %] [% d.comment.remove('OVERDUES_PROCESS ') %]
35
			    [% ELSE %]
36
			    [% ELSE %]
36
				[% d.comment %]
37
				[% d.comment %]
37
			    [% END %]
38
			    [% END %]
38
			</td>
39
			</td>
39
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
40
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>[% t('Indefinite') %]</i> [% END %]</td>
40
                        <td>[% d.created | $KohaDates %]</td>
41
                        <td>[% d.created | $KohaDates %]</td>
41
                        [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
42
                        [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
42
                            <td>
43
                            <td>
43
                                <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% patron.borrowernumber %]&amp;borrower_debarment_id=[% d.borrower_debarment_id %]&amp;action=del">
44
                                <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% patron.borrowernumber %]&borrower_debarment_id=[% d.borrower_debarment_id %]&action=del">
44
                                    <i class="fa fa-trash"></i> Remove
45
                                    <i class="fa fa-trash"></i> [% t('Remove') %]
45
                                </a>
46
                                </a>
46
                            </td>
47
                            </td>
47
                        [% END %]
48
                        [% END %]
Lines 51-68 Link Here
51
        </table>
52
        </table>
52
    [% END %]
53
    [% END %]
53
    [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
54
    [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
54
        <p><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p>
55
        <p><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> [% t('Add manual restriction') %]</a></p>
55
        <form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix">
56
        <form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix">
56
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
57
            <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
57
            <input type="hidden" name="action" value="add" />
58
            <input type="hidden" name="action" value="add" />
58
            <fieldset class="rows" id="manual_restriction_form">
59
            <fieldset class="rows" id="manual_restriction_form">
59
                <legend>Add manual restriction</legend>
60
                <legend>[% t('Add manual restriction') %]</legend>
60
                <ol>
61
                <ol>
61
                    <li><label for="rcomment">Comment:</label> <input type="text" id="rcomment" name="comment" /></li>
62
                    <li><label for="rcomment">[% t('Comment:') %]</label> <input type="text" id="rcomment" name="comment" /></li>
62
                    <li><label for="rexpiration">Expiration:</label> <input name="expiration" id="rexpiration" size="10" value="" class="datepicker" />
63
                    <li><label for="rexpiration">[% t('Expiration:') %]</label> <input name="expiration" id="rexpiration" size="10" value="" class="datepicker" />
63
                        <a href="#" class="clear-date" id="clear-date-rexpiration">Clear date</a></li>
64
                        <a href="#" class="clear-date" id="clear-date-rexpiration">[% t('Clear date') %]</a></li>
64
                </ol>
65
                </ol>
65
            <fieldset class="action"><input type="submit" value="Add restriction" /> <a href="#" class="cancel" id="cancel_manual_restriction">Cancel</a></fieldset>
66
            <fieldset class="action"><input type="submit" value="Add restriction" /> <a href="#" class="cancel" id="cancel_manual_restriction">[% t('Cancel') %]</a></fieldset>
66
            </fieldset>
67
            </fieldset>
67
        </form>
68
        </form>
68
    [% END %]
69
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%# First check to see if we have anything selected, otherwise we select all %]
2
[%# First check to see if we have anything selected, otherwise we select all %]
2
[% selectall = 1 %]
3
[% selectall = 1 %]
3
[% FOREACH branch IN branches %]
4
[% FOREACH branch IN branches %]
Lines 6-12 Link Here
6
    [% END %]
7
    [% END %]
7
[% END %]
8
[% END %]
8
<div class="branchselector">
9
<div class="branchselector">
9
    <p><a href="#" id="checkall"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknone"> <i class="fa fa-remove"></i> Clear all</a></p>
10
    <p><a href="#" id="checkall"> <i class="fa fa-check"></i> [% t('Select all') %]</a> | <a href="#" id="checknone"> <i class="fa fa-remove"></i> [% t('Clear all') %]</a></p>
10
    <div class="branchgridrow">
11
    <div class="branchgridrow">
11
    [% FOREACH branch IN branches %]
12
    [% FOREACH branch IN branches %]
12
        <div class="branchgriditem">
13
        <div class="branchgriditem">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-active-currency.inc (-4 / +5 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( currency ) %]
2
[% IF ( currency ) %]
2
    [% IF ( not hide ) %]
3
    [% IF ( not hide ) %]
3
        <p><b>Currency = [% currency %]</b></p>
4
        <p><b>[% t('Currency =') %] [% currency %]</b></p>
4
    [% END %]
5
    [% END %]
5
[% ELSE %]
6
[% ELSE %]
6
    <div class="dialog alert">
7
    <div class="dialog alert">
7
        <h3>No active currency is defined</h3>
8
        <h3>[% t('No active currency is defined') %]</h3>
8
        [% IF CAN_user_parameters_parameters_remaining_permissions %]
9
        [% IF CAN_user_parameters_parameters_remaining_permissions %]
9
            <p><a href="/cgi-bin/koha/admin/currency.pl">Please specify an active currency.</a></p>
10
            <p><a href="/cgi-bin/koha/admin/currency.pl">[% t('Please specify an active currency.') %]</a></p>
10
        [% ELSE %]
11
        [% ELSE %]
11
            <p>Your administrator must specify an active currency.</p>
12
            <p>[% t('Your administrator must specify an active currency.') %]</p>
12
        [% END %]
13
        [% END %]
13
    </div>
14
    </div>
14
[% END %]
15
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc (-12 / +13 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
<div class="gradient">
4
<div class="gradient">
Lines 5-25 Link Here
5
6
6
<div id="header_search">
7
<div id="header_search">
7
    <div id="budgets_search" class="residentsearch">
8
    <div id="budgets_search" class="residentsearch">
8
        <p class="tip">Search funds:</p>
9
        <p class="tip">[% t('Search funds:') %]</p>
9
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
10
        <form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
10
            <label for="filter_budgetname">Fund code: </label><input class="query" type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname %]" />
11
            <label for="filter_budgetname">[% t('Fund code:') %] </label><input class="query" type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname %]" />
11
            <label for="filter_budgetbranch">Library: </label>
12
            <label for="filter_budgetbranch">[% t('Library:') %] </label>
12
            <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
13
            <select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
13
                <option value=""></option>
14
                <option value=""></option>
14
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
15
                    [% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
15
                        [% IF branchloo.selected %]
16
                        [% IF branchloo.selected %]
16
                        <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
17
                        <option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
17
                        [% ELSE %]
18
                        [% ELSE %]
18
                        <option value="[% branchloo.branchcode %]" >[% branchloo.branchname %]</option>
19
                        <option value="[% branchloo.branchcode %]">[% branchloo.branchname %]</option>
19
                        [% END %]
20
                        [% END %]
20
                    [% END %]
21
                    [% END %]
21
            </select>
22
            </select>
22
          <input type="hidden"  name="budget_period_id" value="[% budget_period_id %]" />
23
          <input type="hidden" name="budget_period_id" value="[% budget_period_id %]" />
23
          <input type="submit" class="submit" name="filter" value="Submit" />
24
          <input type="submit" class="submit" name="filter" value="Submit" />
24
        </form>
25
        </form>
25
    </div>
26
    </div>
Lines 28-44 Link Here
28
29
29
    [% IF ( CAN_user_catalogue ) %]
30
    [% IF ( CAN_user_catalogue ) %]
30
    <div id="catalog_search" class="residentsearch">
31
    <div id="catalog_search" class="residentsearch">
31
    <p class="tip">Enter search keywords:</p>
32
    <p class="tip">[% t('Enter search keywords:') %]</p>
32
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
33
        <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
33
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
34
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
34
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="query form-text" />
35
             <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="query form-text" />
35
                <input type="submit" value="Submit"  class="submit" />
36
                <input type="submit" value="Submit" class="submit" />
36
        </form>
37
        </form>
37
    </div>[% END %]
38
    </div>[% END %]
38
            <ul>
39
            <ul>
39
            <li><a class="keep_text" href="#budgets_search">Search funds</a></li>
40
            <li><a class="keep_text" href="#budgets_search">[% t('Search funds') %]</a></li>
40
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
41
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
41
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
42
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
42
            </ul>
43
            </ul>
43
</div>
44
</div>
44
</div>
45
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-toolbar.inc (-12 / +13 lines)
Lines 1-62 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
3
    [% IF ( budget_period_id ) %]
4
    [% IF ( budget_period_id ) %]
4
        <div class="btn-group">
5
        <div class="btn-group">
5
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
6
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New') %] <span class="caret"></span></button>
6
                <ul class="dropdown-menu">
7
                <ul class="dropdown-menu">
7
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form">New budget</a></li>
8
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form">[% t('New budget') %]</a></li>
8
                    [% IF ( budget_period_locked || !CAN_user_acquisition_budget_add_del ) %]
9
                    [% IF ( budget_period_locked || !CAN_user_acquisition_budget_add_del ) %]
9
                        <li class="disabled">
10
                        <li class="disabled">
10
                    [% ELSE %]
11
                    [% ELSE %]
11
                        <li>
12
                        <li>
12
                    [% END %]
13
                    [% END %]
13
                    <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&amp;budget_period_id=[% budget_period_id %]">New fund for [% budget_period_description %]</a></li>
14
                    <a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% budget_period_id %]">[% t('New fund for') %] [% budget_period_description %]</a></li>
14
                </ul>
15
                </ul>
15
        </div>
16
        </div>
16
17
17
        <div class="btn-group">
18
        <div class="btn-group">
18
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
19
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> [% t('Edit') %] <span class="caret"></span></button>
19
                <ul class="dropdown-menu">
20
                <ul class="dropdown-menu">
20
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&amp;budget_period_id=[% budget_period_id %]">Edit budget [% budget_period_description %]</a></li>
21
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=[% budget_period_id %]">[% t('Edit budget') %] [% budget_period_description %]</a></li>
21
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&amp;budget_period_id=[% budget_period_id %]">Duplicate budget [% budget_period_description %]</a></li>
22
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&budget_period_id=[% budget_period_id %]">[% t('Duplicate budget') %] [% budget_period_description %]</a></li>
22
                </ul>
23
                </ul>
23
        </div>
24
        </div>
24
25
25
        <div class="btn-group">
26
        <div class="btn-group">
26
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Planning <span class="caret"></span></button>
27
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> [% t('Planning') %] <span class="caret"></span></button>
27
                <ul class="dropdown-menu">
28
                <ul class="dropdown-menu">
28
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
29
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
29
                    <li>
30
                    <li>
30
                    [% ELSE %]
31
                    [% ELSE %]
31
                    <li class="disabled">
32
                    <li class="disabled">
32
                    [% END %]
33
                    [% END %]
33
                    <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&amp;authcat=MONTHS">Plan by months</a></li>
34
                    <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=MONTHS">[% t('Plan by months') %]</a></li>
34
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
35
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
35
                    <li>
36
                    <li>
36
                    [% ELSE %]
37
                    [% ELSE %]
37
                    <li class="disabled">
38
                    <li class="disabled">
38
                    [% END %]
39
                    [% END %]
39
                    <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&amp;authcat=BRANCHES">Plan by libraries</a></li>
40
                    <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=BRANCHES">[% t('Plan by libraries') %]</a></li>
40
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
41
                    [% IF ( CAN_user_acquisition_planning_manage ) %]
41
                    <li>
42
                    <li>
42
                    [% ELSE %]
43
                    [% ELSE %]
43
                    <li class="disabled">
44
                    <li class="disabled">
44
                    [% END %]
45
                    [% END %]
45
                    <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&amp;authcat=ITEMTYPES">Plan by item types</a></li>
46
                    <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=ITEMTYPES">[% t('Plan by item types') %]</a></li>
46
                    [% FOREACH auth_cats_loo IN auth_cats_loop %]
47
                    [% FOREACH auth_cats_loo IN auth_cats_loop %]
47
                        [% IF ( CAN_user_acquisition_planning_manage ) %]
48
                        [% IF ( CAN_user_acquisition_planning_manage ) %]
48
                        <li>
49
                        <li>
49
                        [% ELSE %]
50
                        [% ELSE %]
50
                        <li class="disabled">
51
                        <li class="disabled">
51
                        [% END %]
52
                        [% END %]
52
                        <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&amp;authcat=[% auth_cats_loo %]">Plan by [% auth_cats_loo %]</a>
53
                        <a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=[% auth_cats_loo %]">[% t('Plan by') %] [% auth_cats_loo %]</a>
53
                        </li>
54
                        </li>
54
                    [% END %]
55
                    [% END %]
55
                </ul>
56
                </ul>
56
        </div>
57
        </div>
57
58
58
    [% ELSE %]
59
    [% ELSE %]
59
        <div class="btn-group"><a class="btn btn-default btn-sm" id="newrootbudget" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form"><i class="fa fa-plus"></i> New budget</a></div>
60
        <div class="btn-group"><a class="btn btn-default btn-sm" id="newrootbudget" href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form"><i class="fa fa-plus"></i> [% t('New budget') %]</a></div>
60
    [% END %]
61
    [% END %]
61
62
62
</div>
63
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<ul>
2
<ul>
2
	<li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
3
	<li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">[% t('Lists') %]</a></li>
3
</ul>
4
</ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc (-9 / +10 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Catalogue Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Catalogue Resident Search Box -->
Lines 7-20 Link Here
7
8
8
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
9
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
9
<div id="checkin_search" class="residentsearch">
10
<div id="checkin_search" class="residentsearch">
10
    <p class="tip">Scan a barcode to check in:</p>
11
    <p class="tip">[% t('Scan a barcode to check in:') %]</p>
11
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
12
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
12
        <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" />
13
        <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" />
13
        <input value="Submit" class="submit" type="submit" />
14
        <input value="Submit" class="submit" type="submit" />
14
    </form>
15
    </form>
15
</div>
16
</div>
16
<div id="renew_search" class="residentsearch">
17
<div id="renew_search" class="residentsearch">
17
    <p class="tip">Scan a barcode to renew:</p>
18
    <p class="tip">[% t('Scan a barcode to renew:') %]</p>
18
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
19
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
19
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
20
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
20
        <input value="Submit" class="submit" type="submit" />
21
        <input value="Submit" class="submit" type="submit" />
Lines 24-43 Link Here
24
25
25
[% IF ( CAN_user_catalogue ) %]
26
[% IF ( CAN_user_catalogue ) %]
26
<div id="catalog_search" class="residentsearch">
27
<div id="catalog_search" class="residentsearch">
27
    <p class="tip">Enter search keywords:</p>
28
    <p class="tip">[% t('Enter search keywords:') %]</p>
28
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
29
    <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
29
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
30
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
30
        <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
31
        <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
31
        <input type="submit" class="submit" value="Submit" />
32
        <input type="submit" class="submit" value="Submit" />
32
    </form>
33
    </form>
33
</div>
34
</div>
34
[% END %]
35
[% END %]
35
36
36
<ul>
37
<ul>
37
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
38
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
38
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
39
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">[% t('Check in') %]</a></li>[% END %]
39
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
40
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>[% END %]
40
    [% IF ( CAN_user_catalogue ) %]<li class="keep_text ui-tabs-active"><a href="#catalog_search">Search the catalog</a></li>[% END %]
41
    [% IF ( CAN_user_catalogue ) %]<li class="keep_text ui-tabs-active"><a href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
41
</ul>
42
</ul>
42
43
43
</div><!-- /header_search -->
44
</div><!-- /header_search -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-50 / +51 lines)
Lines 1-27 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
3
4
4
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ||
5
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ||
5
CAN_user_serials_create_subscription ) %]
6
CAN_user_serials_create_subscription ) %]
6
    <div class="btn-group">
7
    <div class="btn-group">
7
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
8
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New') %] <span class="caret"></span></button>
8
        <ul class="dropdown-menu">
9
        <ul class="dropdown-menu">
9
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
10
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
10
             <li><a id="newbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl">New record</a></li>
11
             <li><a id="newbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl">[% t('New record') %]</a></li>
11
            [% END %]
12
            [% END %]
12
13
13
            [% IF ( CAN_user_editcatalogue_edit_items ) %]
14
            [% IF ( CAN_user_editcatalogue_edit_items ) %]
14
             <li><a id="newitem" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]#additema">New item</a></li>
15
             <li><a id="newitem" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]#additema">[% t('New item') %]</a></li>
15
            [% END %]
16
            [% END %]
16
            [% IF ( CAN_user_serials_create_subscription ) %]
17
            [% IF ( CAN_user_serials_create_subscription ) %]
17
             <li><a id="newsub" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber %]">New subscription</a></li>
18
             <li><a id="newsub" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber %]">[% t('New subscription') %]</a></li>
18
            [% END %]
19
            [% END %]
19
20
20
            [% IF ( EasyAnalyticalRecords && CAN_user_editcatalogue_edit_catalogue ) %]
21
            [% IF ( EasyAnalyticalRecords && CAN_user_editcatalogue_edit_catalogue ) %]
21
                <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&amp;analyze=1">Analyze items</a></li>
22
                <li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&analyze=1">[% t('Analyze items') %]</a></li>
22
            [% END %]
23
            [% END %]
23
            [% IF CAN_user_editcatalogue_edit_catalogue && ! EasyAnalyticalRecords %]
24
            [% IF CAN_user_editcatalogue_edit_catalogue && ! EasyAnalyticalRecords %]
24
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber %]">New child record</a></li>
25
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber %]">[% t('New child record') %]</a></li>
25
            [% END %]
26
            [% END %]
26
    </ul>
27
    </ul>
27
    </div>
28
    </div>
Lines 29-83 CAN_user_serials_create_subscription ) %] Link Here
29
30
30
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
31
[% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items || CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel ) or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
31
    <div class="btn-group">
32
    <div class="btn-group">
32
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
33
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> [% t('Edit') %] <span class="caret"></span></button>
33
        <ul class="dropdown-menu">
34
        <ul class="dropdown-menu">
34
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
35
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
35
            <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">Edit record</a></li>
36
            <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">[% t('Edit record') %]</a></li>
36
            [% END %]
37
            [% END %]
37
38
38
            [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
39
            [% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
39
            <li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Edit items</a></li>
40
            <li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">[% t('Edit items') %]</a></li>
40
            [% END %]
41
            [% END %]
41
42
42
            [% IF ( CAN_user_tools_items_batchmod ) %]
43
            [% IF ( CAN_user_tools_items_batchmod ) %]
43
                [% IF ( count ) %]
44
                [% IF ( count ) %]
44
                    <li><a id="batchedit" href="/cgi-bin/koha/tools/batchMod.pl?op=show&amp;biblionumber=[% biblionumber %]&amp;src=CATALOGUING">Edit items in batch</a></li>
45
                    <li><a id="batchedit" href="/cgi-bin/koha/tools/batchMod.pl?op=show&biblionumber=[% biblionumber %]&src=CATALOGUING">[% t('Edit items in batch') %]</a></li>
45
                [% ELSE %]
46
                [% ELSE %]
46
                    <li class="disabled"><a id="batchedit-disabled" href="#" data-toggle="tooltip" data-placement="left" title="This record has no items">Edit items in batch</a></li>
47
                    <li class="disabled"><a id="batchedit-disabled" href="#" data-toggle="tooltip" data-placement="left" title="[% t('This record has no items') %]">[% t('Edit items in batch') %]</a></li>
47
                [% END %]
48
                [% END %]
48
            [% END %]
49
            [% END %]
49
50
50
            [% IF ( CAN_user_tools_items_batchdel ) %]
51
            [% IF ( CAN_user_tools_items_batchdel ) %]
51
                [% IF ( count ) %]
52
                [% IF ( count ) %]
52
                    <li><a id="batchdelete" href="/cgi-bin/koha/tools/batchMod.pl?del=1&amp;op=show&amp;biblionumber=[% biblionumber %]&amp;src=CATALOGUING">Delete items in a batch</a></li>
53
                    <li><a id="batchdelete" href="/cgi-bin/koha/tools/batchMod.pl?del=1&op=show&biblionumber=[% biblionumber %]&src=CATALOGUING">[% t('Delete items in a batch') %]</a></li>
53
                [% ELSE %]
54
                [% ELSE %]
54
                    <li class="disabled"><a id="batchdelete-disabled" href="#" data-toggle="tooltip" data-placement="left" title="This record has no items">Delete items in a batch</a></li>
55
                    <li class="disabled"><a id="batchdelete-disabled" href="#" data-toggle="tooltip" data-placement="left" title="[% t('This record has no items') %]">[% t('Delete items in a batch') %]</a></li>
55
                [% END %]
56
                [% END %]
56
            [% END %]
57
            [% END %]
57
58
58
            [% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]">Attach item</a></li>[% END %]
59
            [% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]">[% t('Attach item') %]</a></li>[% END %]
59
60
60
            [% IF ( EasyAnalyticalRecords ) %][% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/linkitem.pl?biblionumber=[% biblionumber %]">Link to host item</a>[% END %][% END %]
61
            [% IF ( EasyAnalyticalRecords ) %][% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/linkitem.pl?biblionumber=[% biblionumber %]">[% t('Link to host item') %]</a>[% END %][% END %]
61
            [% IF ( LocalCoverImages || OPACLocalCoverImages) %][% IF ( CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&amp;filetype=image">Upload image</a>[% END %][% END %]
62
            [% IF ( LocalCoverImages || OPACLocalCoverImages) %][% IF ( CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image">[% t('Upload image') %]</a>[% END %][% END %]
62
63
63
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
64
            [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
64
                <li><a id="duplicatebiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&amp;op=duplicate">Edit as new (duplicate)</a></li>
65
                <li><a id="duplicatebiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&op=duplicate">[% t('Edit as new (duplicate)') %]</a></li>
65
                <li><a href="#" id="z3950copy">Replace record via Z39.50/SRU</a></li>
66
                <li><a href="#" id="z3950copy">[% t('Replace record via Z39.50/SRU') %]</a></li>
66
            [% END %]
67
            [% END %]
67
68
68
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
69
            [% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
69
                [% IF ( count ) %]
70
                [% IF ( count ) %]
70
                    <li class="disabled"><a id="deletebiblio" data-toggle="tooltip" data-placement="left" title="[% count %] item(s) are attached to this record. You must delete all items before deleting this record." href="#">Delete record</a></li>
71
                    <li class="disabled"><a id="deletebiblio" data-toggle="tooltip" data-placement="left" title="[% count %] [% t('item(s) are attached to this record. You must delete all items before deleting this record.') %]" href="#">[% t('Delete record') %]</a></li>
71
                [% ELSE %]
72
                [% ELSE %]
72
                    <li><a id="deletebiblio" data-order-manage="[% CAN_user_acquisition_order_manage %]" href="#">Delete record</a></li>
73
                    <li><a id="deletebiblio" data-order-manage="[% CAN_user_acquisition_order_manage %]" href="#">[% t('Delete record') %]</a></li>
73
                [% END %]
74
                [% END %]
74
            [% END %]
75
            [% END %]
75
76
76
            [% IF CAN_user_editcatalogue_delete_all_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
77
            [% IF CAN_user_editcatalogue_delete_all_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
77
                [% IF ( count ) %]
78
                [% IF ( count ) %]
78
                    <li><a href="#" id="deleteallitems">Delete all items</a></li>
79
                    <li><a href="#" id="deleteallitems">[% t('Delete all items') %]</a></li>
79
                [% ELSE %]
80
                [% ELSE %]
80
                    <li class="disabled"><a href="#" id="deleteallitems-disabled" data-toggle="tooltip" data-placement="left" title="This record has no items">Delete all items</a></li>
81
                    <li class="disabled"><a href="#" id="deleteallitems-disabled" data-toggle="tooltip" data-placement="left" title="[% t('This record has no items') %]">[% t('Delete all items') %]</a></li>
81
                [% END %]
82
                [% END %]
82
            [% END %]
83
            [% END %]
83
84
Lines 86-119 CAN_user_serials_create_subscription ) %] Link Here
86
[% END %]
87
[% END %]
87
88
88
    <div class="btn-group">
89
    <div class="btn-group">
89
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Save <span class="caret"></span></button>
90
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> [% t('Save') %] <span class="caret"></span></button>
90
    <ul class="dropdown-menu">
91
    <ul class="dropdown-menu">
91
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=bibtex&amp;op=export&amp;bib=[% biblionumber %]">BIBTEX</a></li>
92
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=bibtex&op=export&bib=[% biblionumber %]">[% t('BIBTEX') %]</a></li>
92
        <li><a href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
93
        <li><a href="#" data-toggle="modal" data-target="#exportModal_">[% t('Dublin Core') %]</a></li>
93
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcxml&amp;op=export&amp;bib=[% biblionumber %]">MARCXML</a></li>
94
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=[% biblionumber %]">[% t('MARCXML') %]</a></li>
94
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=marc8&amp;op=export&amp;bib=[% biblionumber %]">MARC (non-Unicode/MARC-8)</a></li>
95
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=[% biblionumber %]">[% t('MARC (non-Unicode/MARC-8)') %]</a></li>
95
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=utf8&amp;op=export&amp;bib=[% biblionumber %]">MARC (Unicode/UTF-8)</a></li>
96
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=[% biblionumber %]">[% t('MARC (Unicode/UTF-8)') %]</a></li>
96
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcstd&amp;op=export&amp;bib=[% biblionumber %]">MARC (Unicode/UTF-8, Standard)</a></li>
97
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcstd&op=export&bib=[% biblionumber %]">[% t('MARC (Unicode/UTF-8, Standard)') %]</a></li>
97
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=mods&amp;op=export&amp;bib=[% biblionumber %]">MODS (XML)</a></li>
98
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=[% biblionumber %]">[% t('MODS (XML)') %]</a></li>
98
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=ris&amp;op=export&amp;bib=[% biblionumber %]">RIS</a></li>
99
        <li><a href="/cgi-bin/koha/catalogue/export.pl?format=ris&op=export&bib=[% biblionumber %]">[% t('RIS') %]</a></li>
99
    </ul>
100
    </ul>
100
    </div>
101
    </div>
101
102
102
[% IF ( virtualshelves && intranetbookbag ) %]
103
[% IF ( virtualshelves && intranetbookbag ) %]
103
    <div class="btn-group">
104
    <div class="btn-group">
104
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">Add to <span class="caret"></span></button>
105
    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">[% t('Add to') %] <span class="caret"></span></button>
105
    <ul class="dropdown-menu">
106
    <ul class="dropdown-menu">
106
        <li><a href="#" id="addtocart">Cart</a></li>
107
        <li><a href="#" id="addtocart">[% t('Cart') %]</a></li>
107
        <li><a href="#" id="addtoshelf">List</a></li>
108
        <li><a href="#" id="addtoshelf">[% t('List') %]</a></li>
108
    </ul>
109
    </ul>
109
    </div>
110
    </div>
110
[% ELSIF ( virtualshelves ) %]
111
[% ELSIF ( virtualshelves ) %]
111
    <div class="btn-group"><a id="addtoshelf" class="btn btn-default btn-sm"><i class="fa fa-list"></i> Add to list</a> </div>
112
    <div class="btn-group"><a id="addtoshelf" class="btn btn-default btn-sm"><i class="fa fa-list"></i> [% t('Add to list') %]</a> </div>
112
[% ELSIF ( intranetbookbag ) %]
113
[% ELSIF ( intranetbookbag ) %]
113
    <div class="btn-group"><a id="addtocart" class="btn btn-default btn-sm"><i class="fa fa-shopping-cart"></i> Add to cart</a> </div>
114
    <div class="btn-group"><a id="addtocart" class="btn btn-default btn-sm"><i class="fa fa-shopping-cart"></i> [% t('Add to cart') %]</a> </div>
114
[% END %]
115
[% END %]
115
116
116
    <div class="btn-group"><a id="printbiblio" class="btn btn-default btn-sm"><i class="fa fa-print"></i> Print</a></div>
117
    <div class="btn-group"><a id="printbiblio" class="btn btn-default btn-sm"><i class="fa fa-print"></i> [% t('Print') %]</a></div>
117
118
118
[% IF ( CAN_user_reserveforothers ) %]
119
[% IF ( CAN_user_reserveforothers ) %]
119
    [% UNLESS ( norequests ) %]
120
    [% UNLESS ( norequests ) %]
Lines 121-142 CAN_user_serials_create_subscription ) %] Link Here
121
            <div class="btn-group">
122
            <div class="btn-group">
122
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
123
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
123
                    <i class="fa fa-sticky-note-o"></i>
124
                    <i class="fa fa-sticky-note-o"></i>
124
                    Place hold
125
                    [% t('Place hold') %]
125
                    <span class="caret"></span>
126
                    <span class="caret"></span>
126
                </button>
127
                </button>
127
                <ul class="dropdown-menu">
128
                <ul class="dropdown-menu">
128
                    <li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>
129
                    <li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% t('Place hold') %]</a></li>
129
                    <li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]&amp;findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
130
                    <li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]&findborrower=[% holdfor_cardnumber %]">[% t('Place hold for') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
130
                </ul>
131
                </ul>
131
            </div>
132
            </div>
132
        [% ELSE %]
133
        [% ELSE %]
133
            <div class="btn-group"><a id="placehold" class="btn btn-default btn-sm" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
134
            <div class="btn-group"><a id="placehold" class="btn btn-default btn-sm" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]"><i class="fa fa-sticky-note-o"></i> [% t('Place hold') %]</a></div>
134
        [% END %]
135
        [% END %]
135
    [% END %]
136
    [% END %]
136
[% END %]
137
[% END %]
137
138
138
[% IF Koha.Preference('ArticleRequests') %]
139
[% IF Koha.Preference('ArticleRequests') %]
139
    <div class="btn-group"><a id="placehold" class="btn btn-default btn-sm" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]"><i class="fa fa-file-text-o"></i> Request article</a></div>
140
    <div class="btn-group"><a id="placehold" class="btn btn-default btn-sm" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]"><i class="fa fa-file-text-o"></i> [% t('Request article') %]</a></div>
140
[% END %]
141
[% END %]
141
142
142
</div>
143
</div>
Lines 146-171 CAN_user_serials_create_subscription ) %] Link Here
146
        <div class="modal-dialog">
147
        <div class="modal-dialog">
147
        <div class="modal-content">
148
        <div class="modal-content">
148
        <div class="modal-header">
149
        <div class="modal-header">
149
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">&times;</button>
150
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
150
            <h3 id="exportLabelexportModal_">Exporting to Dublin Core...</h3>
151
            <h3 id="exportLabelexportModal_">[% t('Exporting to Dublin Core...') %]</h3>
151
        </div>
152
        </div>
152
        <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
153
        <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
153
        <div class="modal-body">
154
        <div class="modal-body">
154
            <fieldset>
155
            <fieldset>
155
                <input id="input-simple" type="radio" name="format" value="rdfdc">
156
                <input id="input-simple" type="radio" name="format" value="rdfdc">
156
                <label for="input-simple">Simple DC-RDF</label>
157
                <label for="input-simple">[% t('Simple DC-RDF') %]</label>
157
                <br>
158
                <br>
158
                <input id="input-oai" type="radio" name="format" value="oaidc" checked>
159
                <input id="input-oai" type="radio" name="format" value="oaidc" checked="">
159
                <label for="input-oai">OAI-DC</label>
160
                <label for="input-oai">[% t('OAI-DC') %]</label>
160
                <br>
161
                <br>
161
                <input id="input-srw" type="radio" name="format" value="srwdc">
162
                <input id="input-srw" type="radio" name="format" value="srwdc">
162
                <label for="input-srw">SRW-DC</label>
163
                <label for="input-srw">[% t('SRW-DC') %]</label>
163
                <br>
164
                <br>
164
            </fieldset>
165
            </fieldset>
165
        </div>
166
        </div>
166
        <div class="modal-footer">
167
        <div class="modal-footer">
167
            <button type="submit" class="btn btn-default">Export</button>
168
            <button type="submit" class="btn btn-default">[% t('Export') %]</button>
168
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
169
            <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</button>
169
        </div>
170
        </div>
170
        <input type="hidden" name="op" value="export" />
171
        <input type="hidden" name="op" value="export" />
171
        <input type="hidden" name="bib" value="[% biblionumber %]" />
172
        <input type="hidden" name="bib" value="[% biblionumber %]" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc (-11 / +12 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cataloging Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cataloging Resident Search Box -->
4
    <div id="header_search">
5
    <div id="header_search">
5
        <div id="addbooks_search" class="residentsearch">
6
        <div id="addbooks_search" class="residentsearch">
6
        <p class="tip">Search the catalog and the reservoir:</p>
7
        <p class="tip">[% t('Search the catalog and the reservoir:') %]</p>
7
            <form name="search" action="addbooks.pl">
8
            <form name="search" action="addbooks.pl">
8
                <input class="head-searchbox" type="text" name="q" size="40" />
9
                <input class="head-searchbox" type="text" name="q" size="40" />
9
                <input type="submit" class="submit" value="Submit" />
10
                <input type="submit" class="submit" value="Submit" />
Lines 14-27 Link Here
14
15
15
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
16
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
16
        <div id="checkin_search" class="residentsearch">
17
        <div id="checkin_search" class="residentsearch">
17
            <p class="tip">Scan a barcode to check in:</p>
18
            <p class="tip">[% t('Scan a barcode to check in:') %]</p>
18
            <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
19
            <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
19
                <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" />
20
                <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" />
20
                <input value="Submit" class="submit" type="submit" />
21
                <input value="Submit" class="submit" type="submit" />
21
            </form>
22
            </form>
22
        </div>
23
        </div>
23
        <div id="renew_search" class="residentsearch">
24
        <div id="renew_search" class="residentsearch">
24
        <p class="tip">Scan a barcode to renew:</p>
25
        <p class="tip">[% t('Scan a barcode to renew:') %]</p>
25
            <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
26
            <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
26
                <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
27
                <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
27
                <input value="Submit" class="submit" type="submit" />
28
                <input value="Submit" class="submit" type="submit" />
Lines 31-50 Link Here
31
32
32
33
33
        <div id="catalog_search" class="residentsearch">
34
        <div id="catalog_search" class="residentsearch">
34
            <p class="tip">Enter search keywords:</p>
35
            <p class="tip">[% t('Enter search keywords:') %]</p>
35
            <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
36
            <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
36
                [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
37
                [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
37
                <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
38
                <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
38
                <input type="submit" class="submit" value="Submit" />
39
                <input type="submit" class="submit" value="Submit" />
39
            </form>
40
            </form>
40
        </div>
41
        </div>
41
42
42
        <ul>
43
        <ul>
43
            <li><a class="keep_text" href="#addbooks_search">Cataloging search</a></li>
44
            <li><a class="keep_text" href="#addbooks_search">[% t('Cataloging search') %]</a></li>
44
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
45
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
45
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
46
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">[% t('Check in') %]</a></li>[% END %]
46
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
47
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>[% END %]
47
            <li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>
48
            <li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>
48
        </ul>
49
        </ul>
49
    </div><!-- /header_search -->
50
    </div><!-- /header_search -->
50
</div><!-- /gradient -->
51
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.csv.inc (-1 / +2 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE Branches -%]
2
[%- USE Branches -%]
2
[%- USE Koha -%]
3
[%- USE Koha -%]
3
[%- biblio = item.biblio -%]
4
[%- biblio = item.biblio -%]
4
[%- biblioitem = item.biblioitem -%]
5
[%- biblioitem = item.biblioitem -%]
5
"[% biblio.title |html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %]by [% END %][% biblio.author |html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", "[% item.barcode |html %]", "[% item.itemcallnumber |html %]", "[% Branches.GetName(item.homebranch) |html %]", "[% Branches.GetName(item.holdingbranch) |html %]", "[% item.location |html %]", "[% item.stocknumber |html %]", "[% item.status |html %]", "[% (item.issues || 0) |html %]"
6
"[% biblio.title |html %] [% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %][% t('by') %] [% END %][% biblio.author |html %]", "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]", "[% biblioitem.publishercode |html %]", "[% biblioitem.collectiontitle |html %]", "[% item.barcode |html %]", "[% item.itemcallnumber |html %]", "[% Branches.GetName(item.homebranch) |html %]", "[% Branches.GetName(item.holdingbranch) |html %]", "[% item.location |html %]", "[% item.stocknumber |html %]", "[% item.status |html %]", "[% (item.issues || 0) |html %]"
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc (-3 / +4 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE Branches -%]
2
[%- USE Branches -%]
2
[%- USE Koha -%]
3
[%- USE Koha -%]
3
[% USE AuthorisedValues %]
4
[% USE AuthorisedValues %]
Lines 5-17 Link Here
5
[%- biblioitem = item.biblioitem -%]
6
[%- biblioitem = item.biblioitem -%]
6
[
7
[
7
  "[% FILTER escape_quotes = replace('"', '\"') ~%]
8
  "[% FILTER escape_quotes = replace('"', '\"') ~%]
8
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="Go to record detail page">[% biblio.title |html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author |html %]
9
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="[% t('Go to record detail page') %]">[% biblio.title |html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] [% t('by') %][% END %] [% biblio.author |html %]
9
  [%~ END %]",
10
  [%~ END %]",
10
  "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]",
11
  "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]",
11
  "[% biblioitem.publishercode |html %]",
12
  "[% biblioitem.publishercode |html %]",
12
  "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) %]",
13
  "[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) %]",
13
  "[% FILTER escape_quotes ~%]
14
  "[% FILTER escape_quotes ~%]
14
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]#item[% item.itemnumber %]" title="Go to item details">[% item.barcode |html %]</a>
15
    <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]#item[% item.itemnumber %]" title="[% t('Go to item details') %]">[% item.barcode |html %]</a>
15
  [%~ END %]",
16
  [%~ END %]",
16
  "[% item.itemcallnumber |html %]",
17
  "[% item.itemcallnumber |html %]",
17
  "[% Branches.GetName(item.homebranch) |html %]",
18
  "[% Branches.GetName(item.homebranch) |html %]",
Lines 21-26 Link Here
21
  "[% item.status |html %]",
22
  "[% item.status |html %]",
22
  "[% (item.issues || 0) |html %]",
23
  "[% (item.issues || 0) |html %]",
23
  "[% FILTER escape_quotes ~%]
24
  "[% FILTER escape_quotes ~%]
24
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-pencil"></i> Edit <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit item</a></li> <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber %]">Edit record</a></li> </ul> </div>
25
    <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-pencil"></i> [% t('Edit') %] <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">[% t('Edit item') %]</a></li> <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber %]">[% t('Edit record') %]</a></li> </ul> </div>
25
  [%~ END %]"
26
  [%~ END %]"
26
]
27
]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc (-60 / +61 lines)
Lines 1-72 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="editor-widget-templates" style="display:none">
2
<div id="editor-widget-templates" style="display:none">
2
    <div id="widget-leader">
3
    <div id="widget-leader">
3
        Leader:&nbsp;<span title="Record length (autogenerated)">#####</span>
4
        [% t('Leader: ') %]<span title="[% t('Record length (autogenerated)') %]">#####</span>
4
        <select name="f5" title="Record status">
5
        <select name="f5" title="[% t('Record status') %]">
5
            <option value="a">a - Increase in encoding level</option>
6
            <option value="a">[% t('a - Increase in encoding level') %]</option>
6
            <option value="c">c - Corrected or revised</option>
7
            <option value="c">[% t('c - Corrected or revised') %]</option>
7
            <option value="d">d - Deleted</option>
8
            <option value="d">[% t('d - Deleted') %]</option>
8
            <option value="n">n - New</option>
9
            <option value="n">[% t('n - New') %]</option>
9
            <option value="p">p - Increase in encoding level from prepublication</option>
10
            <option value="p">[% t('p - Increase in encoding level from prepublication') %]</option>
10
        </select>
11
        </select>
11
        <select name="f6" title="Type of record">
12
        <select name="f6" title="[% t('Type of record') %]">
12
            <option value="a">a - Language material</option>
13
            <option value="a">[% t('a - Language material') %]</option>
13
            <option value="c">c - Notated music</option>
14
            <option value="c">[% t('c - Notated music') %]</option>
14
            <option value="d">d - Manuscript notated music</option>
15
            <option value="d">[% t('d - Manuscript notated music') %]</option>
15
            <option value="e">e - Cartographic material</option>
16
            <option value="e">[% t('e - Cartographic material') %]</option>
16
            <option value="f">f - Manuscript cartographic material</option>
17
            <option value="f">[% t('f - Manuscript cartographic material') %]</option>
17
            <option value="g">g - Projected medium</option>
18
            <option value="g">[% t('g - Projected medium') %]</option>
18
            <option value="i">i - Nonmusical sound recording</option>
19
            <option value="i">[% t('i - Nonmusical sound recording') %]</option>
19
            <option value="j">j - Musical sound recording</option>
20
            <option value="j">[% t('j - Musical sound recording') %]</option>
20
            <option value="k">k - Two-dimensional nonprojectable graphic</option>
21
            <option value="k">[% t('k - Two-dimensional nonprojectable graphic') %]</option>
21
            <option value="m">m - Computer file</option>
22
            <option value="m">[% t('m - Computer file') %]</option>
22
            <option value="o">o - Kit</option>
23
            <option value="o">[% t('o - Kit') %]</option>
23
            <option value="p">p - Mixed materials</option>
24
            <option value="p">[% t('p - Mixed materials') %]</option>
24
            <option value="r">r - Three-dimensional artifact or naturally occurring object</option>
25
            <option value="r">[% t('r - Three-dimensional artifact or naturally occurring object') %]</option>
25
            <option value="t">t - Manuscript language material</option>
26
            <option value="t">[% t('t - Manuscript language material') %]</option>
26
        </select>
27
        </select>
27
        <select name="f7" title="Bibliographic level">
28
        <select name="f7" title="[% t('Bibliographic level') %]">
28
            <option value="a">a - Monographic component part</option>
29
            <option value="a">[% t('a - Monographic component part') %]</option>
29
            <option value="b">b - Serial component part</option>
30
            <option value="b">[% t('b - Serial component part') %]</option>
30
            <option value="c">c - Collection</option>
31
            <option value="c">[% t('c - Collection') %]</option>
31
            <option value="d">d - Subunit</option>
32
            <option value="d">[% t('d - Subunit') %]</option>
32
            <option value="i">i - Integrating resource</option>
33
            <option value="i">[% t('i - Integrating resource') %]</option>
33
            <option value="m">m - Monograph/item</option>
34
            <option value="m">[% t('m - Monograph/item') %]</option>
34
            <option value="s">s - Serial</option>
35
            <option value="s">[% t('s - Serial') %]</option>
35
        </select>
36
        </select>
36
        <select name="f8" title="Type of control">
37
        <select name="f8" title="[% t('Type of control') %]">
37
                <option value=" ">_ - No specific type</option>
38
                <option value=" ">[% t('_ - No specific type') %]</option>
38
                <option value="a">a - Archival</option>
39
                <option value="a">[% t('a - Archival') %]</option>
39
        </select>
40
        </select>
40
        <span title="Encoding (forced Unicode)">a</span>
41
        <span title="[% t('Encoding (forced Unicode)') %]">[% t('a') %]</span>
41
        <span title="Indicator/subfield lengths">22</span>
42
        <span title="[% t('Indicator/subfield lengths') %]">[% t('22') %]</span>
42
        <span title="Data base address (autogenerated)">#####</span>
43
        <span title="[% t('Data base address (autogenerated)') %]">#####</span>
43
        <select name="f17" title="Encoding level">
44
        <select name="f17" title="[% t('Encoding level') %]">
44
            <option value=" ">_ - Full level</option>
45
            <option value=" ">[% t('_ - Full level') %]</option>
45
            <option value="1">1 - Full level, material not examined</option>
46
            <option value="1">[% t('1 - Full level, material not examined') %]</option>
46
            <option value="2">2 - Less-than-full level, material not examined</option>
47
            <option value="2">[% t('2 - Less-than-full level, material not examined') %]</option>
47
            <option value="3">3 - Abbreviated level</option>
48
            <option value="3">[% t('3 - Abbreviated level') %]</option>
48
            <option value="4">4 - Core level</option>
49
            <option value="4">[% t('4 - Core level') %]</option>
49
            <option value="5">5 - Partial (preliminary) level</option>
50
            <option value="5">[% t('5 - Partial (preliminary) level') %]</option>
50
            <option value="7">7 - Minimal level</option>
51
            <option value="7">[% t('7 - Minimal level') %]</option>
51
            <option value="8">8 - Prepublication level</option>
52
            <option value="8">[% t('8 - Prepublication level') %]</option>
52
            <option value="u">u - Unknown</option>
53
            <option value="u">[% t('u - Unknown') %]</option>
53
            <option value="z">z - Not applicable</option>
54
            <option value="z">[% t('z - Not applicable') %]</option>
54
        </select>
55
        </select>
55
        <select name="f18" title="Descriptive cataloging form">
56
        <select name="f18" title="[% t('Descriptive cataloging form') %]">
56
            <option value=" ">_ - Non-ISBD</option>
57
            <option value=" ">[% t('_ - Non-ISBD') %]</option>
57
            <option value="a">a - AACR 2</option>
58
            <option value="a">[% t('a - AACR 2') %]</option>
58
            <option value="c">c - ISBD punctuation omitted</option>
59
            <option value="c">[% t('c - ISBD punctuation omitted') %]</option>
59
            <option value="i">i - ISBD punctuation included</option>
60
            <option value="i">[% t('i - ISBD punctuation included') %]</option>
60
            <option value="n">n - Non-ISBD punctuation omitted</option>
61
            <option value="n">[% t('n - Non-ISBD punctuation omitted') %]</option>
61
            <option value="u">u - Unknown</option>
62
            <option value="u">[% t('u - Unknown') %]</option>
62
        </select>
63
        </select>
63
        <select name="f19" title="Multipart record resource level">
64
        <select name="f19" title="[% t('Multipart record resource level') %]">
64
            <option value=" ">_ - Not specified or not applicable</option>
65
            <option value=" ">[% t('_ - Not specified or not applicable') %]</option>
65
            <option value="a">a - Set</option>
66
            <option value="a">[% t('a - Set') %]</option>
66
            <option value="b">b - Part with independent title</option>
67
            <option value="b">[% t('b - Part with independent title') %]</option>
67
            <option value="c">c - Part with dependent title</option>
68
            <option value="c">[% t('c - Part with dependent title') %]</option>
68
        </select>
69
        </select>
69
        <span title="Length of directory elements">4500</span>
70
        <span title="[% t('Length of directory elements') %]">[% t('4500') %]</span>
70
    </div>
71
    </div>
71
</div>
72
</div>
72
73
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc (-7 / +8 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Checkin Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Checkin Resident Search Box -->
Lines 5-21 Link Here
5
[% INCLUDE 'patron-search-box.inc' %]
6
[% INCLUDE 'patron-search-box.inc' %]
6
[% IF ( CAN_user_catalogue ) %]
7
[% IF ( CAN_user_catalogue ) %]
7
<div id="catalog_search" class="residentsearch">
8
<div id="catalog_search" class="residentsearch">
8
    <p class="tip">Enter search keywords:</p>
9
    <p class="tip">[% t('Enter search keywords:') %]</p>
9
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
10
    <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
10
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
11
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
11
        <input class="head-searchbox" type="text" name="q" id="search-form" size="40" />
12
        <input class="head-searchbox" type="text" name="q" id="search-form" size="40" />
12
        <input type="submit" class="submit" value="Submit"/>
13
        <input type="submit" class="submit" value="Submit" />
13
    </form>
14
    </form>
14
</div>
15
</div>
15
[% END %]
16
[% END %]
16
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
17
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
17
<div id="renew_search" class="residentsearch">
18
<div id="renew_search" class="residentsearch">
18
    <p class="tip">Scan a barcode to renew:</p>
19
    <p class="tip">[% t('Scan a barcode to renew:') %]</p>
19
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
20
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
20
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
21
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
21
        <input value="Submit" class="submit" type="submit" />
22
        <input value="Submit" class="submit" type="submit" />
Lines 24-32 Link Here
24
[% END %]
25
[% END %]
25
26
26
<ul>
27
<ul>
27
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
28
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
28
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
29
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>[% END %]
29
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
30
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
30
</ul>   
31
</ul>   
31
32
32
</div>
33
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table-footer.inc (-3 / +4 lines)
Lines 1-13 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<tfoot>
2
<tfoot>
2
	<tr>
3
	<tr>
3
        <td colspan="11" style="text-align: right; font-weight:bold;">Totals:</td>
4
        <td colspan="11" style="text-align: right; font-weight:bold;">[% t('Totals:') %]</td>
4
        <td id="totaldue" style="text-align: right;">[% totaldue %]</td>
5
        <td id="totaldue" style="text-align: right;">[% totaldue %]</td>
5
        <td id="totalfine" style="text-align: right;">[% finetotal %]</td>
6
        <td id="totalfine" style="text-align: right;">[% finetotal %]</td>
6
        <td id="totalprice" style="text-align: right;">[% totalprice %]</td>
7
        <td id="totalprice" style="text-align: right;">[% totalprice %]</td>
7
                <td colspan="3"><div class="date-select">
8
                <td colspan="3"><div class="date-select">
8
            <p><label for="newduedate">Renewal due date:</label> <input type="text" size="12" id="newduedate" name="newduedate" value="[% newduedate %]" />
9
            <p><label for="newduedate">[% t('Renewal due date:') %]</label> <input type="text" size="12" id="newduedate" name="newduedate" value="[% newduedate %]" />
9
</p>
10
</p>
10
            <p><label for="exemptfine">Forgive fines on return: <input type="checkbox" id="exemptfine" name="exemptfine" value="1" /></label></p></div>
11
            <p><label for="exemptfine">[% t('Forgive fines on return:') %] <input type="checkbox" id="exemptfine" name="exemptfine" value="1" /></label></p></div>
11
		</td>
12
		</td>
12
	</tr>
13
	</tr>
13
</tfoot>
14
</tfoot>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc (-29 / +30 lines)
Lines 1-62 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div id="checkouts">
3
<div id="checkouts">
3
    [% IF ( issuecount ) %]
4
    [% IF ( issuecount ) %]
4
        <div id="issues-table-loading-message">
5
        <div id="issues-table-loading-message">
5
            <p>
6
            <p>
6
                <a id="issues-table-load-now-button" href="#" class="btn btn-default"><i class="fa fa-book"></i> Show checkouts</a>
7
                <a id="issues-table-load-now-button" href="#" class="btn btn-default"><i class="fa fa-book"></i> [% t('Show checkouts') %]</a>
7
            </p>
8
            </p>
8
        </div>
9
        </div>
9
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
10
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
10
            <table id="issues-table" style="width: 100% !Important;">
11
            <table id="issues-table" style="width: 100% !Important;">
11
                <thead>
12
                <thead>
12
                    <tr>
13
                    <tr>
13
                        <th scope="col">&nbsp;</th>
14
                        <th scope="col"> </th>
14
                        <th scope="col">&nbsp;</th>
15
                        <th scope="col"> </th>
15
                        <th scope="col">Due date</th>
16
                        <th scope="col">[% t('Due date') %]</th>
16
                        <th scope="col">Due date</th>
17
                        <th scope="col">[% t('Due date') %]</th>
17
                        <th scope="col">Title</th>
18
                        <th scope="col">[% t('Title') %]</th>
18
                        <th scope="col">Item type</th>
19
                        <th scope="col">[% t('Item type') %]</th>
19
                        <th scope="col">Location</th>
20
                        <th scope="col">[% t('Location') %]</th>
20
                        <th scope="col">Home library</th>
21
                        <th scope="col">[% t('Home library') %]</th>
21
                        <th scope="col">Checked out on</th>
22
                        <th scope="col">[% t('Checked out on') %]</th>
22
                        <th scope="col">Checked out from</th>
23
                        <th scope="col">[% t('Checked out from') %]</th>
23
                        <th scope="col">Call no</th>
24
                        <th scope="col">[% t('Call no') %]</th>
24
                        <th scope="col">Charge</th>
25
                        <th scope="col">[% t('Charge') %]</th>
25
                        <th scope="col">Fine</th>
26
                        <th scope="col">[% t('Fine') %]</th>
26
                        <th scope="col">Price</th>
27
                        <th scope="col">[% t('Price') %]</th>
27
                        <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
28
                        <th scope="col">[% t('Renew') %] <p class="column-tool"><a href="#" id="CheckAllRenewals">[% t('select all') %]</a> | <a href="#" id="UncheckAllRenewals">[% t('none') %]</a></p></th>
28
                        <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
29
                        <th scope="col">[% t('Check in') %] <p class="column-tool"><a href="#" id="CheckAllCheckins">[% t('select all') %]</a> | <a href="#" id="UncheckAllCheckins">[% t('none') %]</a></p></th>
29
                        <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
30
                        <th scope="col">[% t('Export') %] <p class="column-tool"><a href="#" id="CheckAllExports">[% t('select all') %]</a> | <a href="#" id="UncheckAllExports">[% t('none') %]</a></p></th>
30
                    </tr>
31
                    </tr>
31
                </thead>
32
                </thead>
32
                [% INCLUDE 'checkouts-table-footer.inc' %]
33
                [% INCLUDE 'checkouts-table-footer.inc' %]
33
            </table>
34
            </table>
34
35
35
            <label for="issues-table-load-immediately">Always show checkouts immediately</label>
36
            <label for="issues-table-load-immediately">[% t('Always show checkouts immediately') %]</label>
36
            <input id="issues-table-load-immediately" type="checkbox" />
37
            <input id="issues-table-load-immediately" type="checkbox" />
37
38
38
            <div id="issues-table-actions">
39
            <div id="issues-table-actions">
39
                <fieldset class="action">
40
                <fieldset class="action">
40
                    [% IF ( CAN_user_circulate_override_renewals ) %]
41
                    [% IF ( CAN_user_circulate_override_renewals ) %]
41
                        [% IF CAN_user_circulate_override_renewals && Koha.Preference( 'AllowRenewalLimitOverride' ) %]
42
                        [% IF CAN_user_circulate_override_renewals && Koha.Preference( 'AllowRenewalLimitOverride' ) %]
42
                            <label for="override_limit">Override renewal limit:</label>
43
                            <label for="override_limit">[% t('Override renewal limit:') %]</label>
43
                            <input type="checkbox" name="override_limit" id="override_limit" value="1" />
44
                            <input type="checkbox" name="override_limit" id="override_limit" value="1" />
44
                        [% END %]
45
                        [% END %]
45
                    [% END %]
46
                    [% END %]
46
                    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
47
                    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
47
                        <button class="btn btn-default" id="RenewCheckinChecked"><i class="fa fa-check"></i> Renew or check in selected items</button>
48
                        <button class="btn btn-default" id="RenewCheckinChecked"><i class="fa fa-check"></i> [% t('Renew or check in selected items') %]</button>
48
                        <button class="btn btn-default" id="RenewAll"><i class="fa fa-book"></i> Renew all</button>
49
                        <button class="btn btn-default" id="RenewAll"><i class="fa fa-book"></i> [% t('Renew all') %]</button>
49
                    [% END %]
50
                    [% END %]
50
                </fieldset>
51
                </fieldset>
51
52
52
                [% IF Koha.Preference('ExportCircHistory') %]
53
                [% IF Koha.Preference('ExportCircHistory') %]
53
                    <fieldset>
54
                    <fieldset>
54
                        <label for="issues-table-output-format"><b>Export checkouts using format:</b></label>
55
                        <label for="issues-table-output-format"><b>[% t('Export checkouts using format:') %]</b></label>
55
                        <select name="issues-table-output-format" id="issues-table-output-format">
56
                        <select name="issues-table-output-format" id="issues-table-output-format">
56
                            <option value="iso2709_995">ISO2709 with items</option>
57
                            <option value="iso2709_995">[% t('ISO2709 with items') %]</option>
57
                            <option value="iso2709">ISO2709 without items</option>
58
                            <option value="iso2709">[% t('ISO2709 without items') %]</option>
58
                            [% IF csv_profiles.size %]
59
                            [% IF csv_profiles.size %]
59
                                <option value="csv">CSV</option>
60
                                <option value="csv">[% t('CSV') %]</option>
60
                            [% END %]
61
                            [% END %]
61
                        </select>
62
                        </select>
62
63
Lines 67-83 Link Here
67
                                [% END %]
68
                                [% END %]
68
                            </select>
69
                            </select>
69
                        [% END %]
70
                        [% END %]
70
                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') %]" title="Use for iso2709 exports" />
71
                       <label for="export_remove_fields">[% t('Don\'t export fields:') %]</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') %]" title="[% t('Use for iso2709 exports') %]" />
71
                        <input type="hidden" name="op" value="export" />
72
                        <input type="hidden" name="op" value="export" />
72
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
73
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
73
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
74
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
74
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
75
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
75
                        <button class="btn btn-default btn-sm" id="export_submit"><i class="fa fa-download"></i> Export</button>
76
                        <button class="btn btn-default btn-sm" id="export_submit"><i class="fa fa-download"></i> [% t('Export') %]</button>
76
                    </fieldset>
77
                    </fieldset>
77
                [% END %]
78
                [% END %]
78
            </div>
79
            </div>
79
        </form>
80
        </form>
80
    [% ELSE %]
81
    [% ELSE %]
81
        <p>Patron has nothing checked out.</p>
82
        <p>[% t('Patron has nothing checked out.') %]</p>
82
    [% END %]
83
    [% END %]
83
</div>
84
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-22 / +23 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% IF ( patron.borrowernumber ) %]
3
[% IF ( patron.borrowernumber ) %]
3
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5>
4
<div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5>
Lines 44-59 Link Here
44
    [% END %]
45
    [% END %]
45
46
46
    [% UNLESS ( patron.address or patron.address2 ) %]
47
    [% UNLESS ( patron.address or patron.address2 ) %]
47
        <li><span class="empty" id="noaddressstored">No address stored.</span></li>
48
        <li><span class="empty" id="noaddressstored">[% t('No address stored.') %]</span></li>
48
    [% END %]
49
    [% END %]
49
    [% UNLESS ( patron.city ) %]
50
    [% UNLESS ( patron.city ) %]
50
        <li><span class="empty" id="nocitystored">No city stored.</span></li>
51
        <li><span class="empty" id="nocitystored">[% t('No city stored.') %]</span></li>
51
    [% END %]
52
    [% END %]
52
    [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
53
    [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
53
        <li> <span class="empty">No phone stored.</span></li>
54
        <li> <span class="empty">[% t('No phone stored.') %]</span></li>
54
    [% END %]
55
    [% END %]
55
    [% UNLESS ( patron.email or patron.emailpro) %]
56
    [% UNLESS ( patron.email or patron.emailpro) %]
56
        <li> <span class="empty">No email stored.</span></li>
57
        <li> <span class="empty">[% t('No email stored.') %]</span></li>
57
    [% END %]
58
    [% END %]
58
59
59
    [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
60
    [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
Lines 63-125 Link Here
63
            [% END %]
64
            [% END %]
64
        [% END %]
65
        [% END %]
65
    [% END %][% END %]
66
    [% END %][% END %]
66
    <li class="patroncategory">Category: [% patron.category.description %] ([% patron.categorycode %])</li>
67
    <li class="patroncategory">[% t('Category:') %] [% patron.category.description %] ([% patron.categorycode %])</li>
67
    <li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) %]</li>
68
    <li class="patronlibrary">[% t('Home library:') %] [% Branches.GetName( patron.branchcode ) %]</li>
68
    <li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber %]</li>
69
    <li class="patronborrowernumber">[% t('Borrowernumber:') %] [% patron.borrowernumber %]</li>
69
  </ul></div>
70
  </ul></div>
70
<div id="menu">
71
<div id="menu">
71
<ul>
72
<ul>
72
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
73
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
73
        [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]">Check out</a></li>
74
        [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Check out') %]</a></li>
74
        [% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ patron.categorycode _ '$').size > 0 %]
75
        [% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ patron.categorycode _ '$').size > 0 %]
75
          [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]&amp;batch=1">Batch check out</a></li>
76
          [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]&batch=1">[% t('Batch check out') %]</a></li>
76
        [% END %]
77
        [% END %]
77
    [% END %]
78
    [% END %]
78
    [% IF CAN_user_borrowers_edit_borrowers %]
79
    [% IF CAN_user_borrowers_edit_borrowers %]
79
        [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">Details</a></li>
80
        [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Details') %]</a></li>
80
    [% END %]
81
    [% END %]
81
    [% IF ( CAN_user_updatecharges ) %]
82
    [% IF ( CAN_user_updatecharges ) %]
82
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]">Fines</a></li>
83
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Fines') %]</a></li>
83
    [% END %]
84
    [% END %]
84
    [% IF ( CAN_user_circulate_circulate_remaining_permissions  )  %]
85
    [% IF ( CAN_user_circulate_circulate_remaining_permissions  )  %]
85
        [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber %]">Routing lists</a></li>[% END %]
86
        [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Routing lists') %]</a></li>[% END %]
86
    [% END %]
87
    [% END %]
87
    [% IF CAN_user_borrowers_edit_borrowers %]
88
    [% IF CAN_user_borrowers_edit_borrowers %]
88
        [% IF ( intranetreadinghistory ) %]
89
        [% IF ( intranetreadinghistory ) %]
89
            [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber %]">Circulation history</a></li>
90
            [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Circulation history') %]</a></li>
90
        [% END %]
91
        [% END %]
91
    [% END %]
92
    [% END %]
92
    [% IF CAN_user_borrowers_edit_borrowers %]
93
    [% IF CAN_user_borrowers_edit_borrowers %]
93
        [% IF ( intranetreadinghistory ) %]
94
        [% IF ( intranetreadinghistory ) %]
94
            [% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber %]">Holds history</a></li>
95
            [% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Holds history') %]</a></li>
95
        [% END %]
96
        [% END %]
96
    [% END %]
97
    [% END %]
97
    [% IF ( CAN_user_parameters ) %]
98
    [% IF ( CAN_user_parameters ) %]
98
        [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;modules=circulation&amp;object=[% patron.borrowernumber %]&amp;src=circ">Modification log</a></li>
99
        [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% patron.borrowernumber %]&src=circ">[% t('Modification log') %]</a></li>
99
    [% END %]
100
    [% END %]
100
    [% IF CAN_user_borrowers_edit_borrowers %]
101
    [% IF CAN_user_borrowers_edit_borrowers %]
101
    [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber %]">Notices</a></li>
102
    [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Notices') %]</a></li>
102
    [% END %]
103
    [% END %]
103
    [% IF CAN_user_borrowers_edit_borrowers %]
104
    [% IF CAN_user_borrowers_edit_borrowers %]
104
        [% IF (  statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber %]">Statistics</a></li>
105
        [% IF (  statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Statistics') %]</a></li>
105
    [% END %]
106
    [% END %]
106
    [% IF CAN_user_borrowers_edit_borrowers %]
107
    [% IF CAN_user_borrowers_edit_borrowers %]
107
        [% IF ( EnableBorrowerFiles ) %]
108
        [% IF ( EnableBorrowerFiles ) %]
108
            [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber %]">Files</a></li>
109
            [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Files') %]</a></li>
109
        [% END %]
110
        [% END %]
110
    [% END %]
111
    [% END %]
111
112
112
    [% IF CAN_user_borrowers_edit_borrowers %]
113
    [% IF CAN_user_borrowers_edit_borrowers %]
113
        [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber %]">Purchase suggestions</a></li>
114
        [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Purchase suggestions') %]</a></li>
114
    [% END %]
115
    [% END %]
115
    [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
116
    [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
116
        [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">Discharges</a></li>
117
        [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Discharges') %]</a></li>
117
    [% END %]
118
    [% END %]
118
    [% IF Koha.Preference('HouseboundModule') %]
119
    [% IF Koha.Preference('HouseboundModule') %]
119
        [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber %]">Housebound</a></li>
120
        [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Housebound') %]</a></li>
120
    [% END %]
121
    [% END %]
121
    [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
122
    [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
122
        <li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li>
123
        <li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Interlibrary loans') %]</a></li>
123
    [% END %]
124
    [% END %]
124
</ul></div>
125
</ul></div>
125
[% END %]
126
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc (-17 / +18 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Branches %]
2
[% USE Branches %]
2
<script type="text/javascript">//<![CDATA[
3
<script type="text/javascript">//<![CDATA[
3
    $(document).ready(function() {
4
    $(document).ready(function() {
Lines 16-53 Link Here
16
    <div id="navmenulist">
17
    <div id="navmenulist">
17
18
18
        <ul>
19
        <ul>
19
            <li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation home</a></li>
20
            <li><a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation home') %]</a></li>
20
        </ul>
21
        </ul>
21
22
22
        <h5>Circulation</h5>
23
        <h5>[% t('Circulation') %]</h5>
23
        <ul>
24
        <ul>
24
            <li><a href="/cgi-bin/koha/circ/circulation.pl">Check out</a></li>
25
            <li><a href="/cgi-bin/koha/circ/circulation.pl">[% t('Check out') %]</a></li>
25
            <li><a href="/cgi-bin/koha/circ/returns.pl">Check in</a></li>
26
            <li><a href="/cgi-bin/koha/circ/returns.pl">[% t('Check in') %]</a></li>
26
            <li><a href="/cgi-bin/koha/circ/renew.pl">Renew</a></li>
27
            <li><a href="/cgi-bin/koha/circ/renew.pl">[% t('Renew') %]</a></li>
27
            [% IF Branches.InIndependentBranchesMode %]
28
            [% IF Branches.InIndependentBranchesMode %]
28
                <li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a></li>
29
                <li><a href="/cgi-bin/koha/circ/branchtransfers.pl">[% t('Transfer') %]</a></li>
29
            [% END %]
30
            [% END %]
30
            [% IF ( AutoLocation ) %][% ELSE %][% IF ( IndependentBranches ) %][% ELSE %]
31
            [% IF ( AutoLocation ) %][% ELSE %][% IF ( IndependentBranches ) %][% ELSE %]
31
                <li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a></li>
32
                <li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">[% t('Set library') %]</a></li>
32
            [% END %][% END %]
33
            [% END %][% END %]
33
            [% IF ( fast_cataloging ) %][% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
34
            [% IF ( fast_cataloging ) %][% IF ( CAN_user_editcatalogue_fast_cataloging ) %]
34
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA">Fast cataloging</a></li>
35
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA">[% t('Fast cataloging') %]</a></li>
35
            [% END %][% END %]
36
            [% END %][% END %]
36
        </ul>
37
        </ul>
37
38
38
        <h5>Circulation reports</h5>
39
        <h5>[% t('Circulation reports') %]</h5>
39
        <ul>
40
        <ul>
40
            <li><a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a></li>
41
            <li><a href="/cgi-bin/koha/circ/view_holdsqueue.pl">[% t('Holds queue') %]</a></li>
41
            <li><a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a></li>
42
            <li><a href="/cgi-bin/koha/circ/pendingreserves.pl">[% t('Holds to pull') %]</a></li>
42
            <li><a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a></li>
43
            <li><a href="/cgi-bin/koha/circ/waitingreserves.pl">[% t('Holds awaiting pickup') %]</a></li>
43
            <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
44
            <li><a href="/cgi-bin/koha/circ/reserveratios.pl">[% t('Hold ratios') %]</a></li>
44
            <li><a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a></li>
45
            <li><a href="/cgi-bin/koha/circ/transferstoreceive.pl">[% t('Transfers to receive') %]</a></li>
45
            [% IF ( CAN_user_circulate_overdues_report ) %]
46
            [% IF ( CAN_user_circulate_overdues_report ) %]
46
                <li><a href="/cgi-bin/koha/circ/overdue.pl">Overdues</a></li>
47
                <li><a href="/cgi-bin/koha/circ/overdue.pl">[% t('Overdues') %]</a></li>
47
            [% END %]
48
            [% END %]
48
            <li><a href="/cgi-bin/koha/circ/branchoverdues.pl">Overdues with fines</a></li>
49
            <li><a href="/cgi-bin/koha/circ/branchoverdues.pl">[% t('Overdues with fines') %]</a></li>
49
            [% IF Koha.Preference('OnSiteCheckouts') %]
50
            [% IF Koha.Preference('OnSiteCheckouts') %]
50
                <li><a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a></li>
51
                <li><a href="/cgi-bin/koha/circ/on-site_checkouts.pl">[% t('Pending on-site checkouts') %]</a></li>
51
            [% END %]
52
            [% END %]
52
        </ul>
53
        </ul>
53
54
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc (-9 / +10 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE KohaDates %]
2
[% USE KohaDates %]
2
<legend>Patron selection</legend>
3
<legend>[% t('Patron selection') %]</legend>
3
<table id="table_borrowers" class="table_borrowers">
4
<table id="table_borrowers" class="table_borrowers">
4
    <thead>
5
    <thead>
5
        <tr>
6
        <tr>
6
            <th>Name</th>
7
            <th>[% t('Name') %]</th>
7
            <th>Card number</th>
8
            <th>[% t('Card number') %]</th>
8
            <th>Date of birth</th>
9
            <th>[% t('Date of birth') %]</th>
9
            <th>Category</th>
10
            <th>[% t('Category') %]</th>
10
            <th>Library</th>
11
            <th>[% t('Library') %]</th>
11
            <th>Address</th>
12
            <th>[% t('Address') %]</th>
12
        </tr>
13
        </tr>
13
    </thead>
14
    </thead>
14
    <tbody>
15
    <tbody>
Lines 18-26 Link Here
18
                    <td><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">[% borrower.surname %], [% borrower.firstname %]</a></td>
19
                    <td><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">[% borrower.surname %], [% borrower.firstname %]</a></td>
19
            [% ELSIF destination == "holds" %]
20
            [% ELSIF destination == "holds" %]
20
                [% IF multi_hold %]
21
                [% IF multi_hold %]
21
                    [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&amp;multi_hold=1&amp;biblionumbers=" _ biblionumbers %]
22
                    [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&multi_hold=1&biblionumbers=" _ biblionumbers %]
22
                [% ELSE %]
23
                [% ELSE %]
23
                    [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&amp;biblionumber=" _ biblionumber %]
24
                    [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&biblionumber=" _ biblionumber %]
24
                [% END %]
25
                [% END %]
25
                <tr class="clickable" data-url="[% data_url %]">
26
                <tr class="clickable" data-url="[% data_url %]">
26
                    <td><a href="[% data_url %]">[% borrower.surname %], [% borrower.firstname %]</a></td>
27
                    <td><a href="[% data_url %]">[% borrower.surname %], [% borrower.firstname %]</a></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-search.inc (-9 / +10 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Circulation Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Circulation Resident Search Box -->
Lines 6-19 Link Here
6
    [% INCLUDE 'patron-search-box.inc' %]
7
    [% INCLUDE 'patron-search-box.inc' %]
7
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
<div id="checkin_search" class="residentsearch">
9
<div id="checkin_search" class="residentsearch">
9
    <p class="tip">Scan a barcode to check in:</p>
10
    <p class="tip">[% t('Scan a barcode to check in:') %]</p>
10
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
        <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" />
12
        <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" />
12
        <input value="Submit" class="submit" type="submit" />
13
        <input value="Submit" class="submit" type="submit" />
13
    </form>
14
    </form>
14
</div>
15
</div>
15
<div id="renew_search" class="residentsearch">
16
<div id="renew_search" class="residentsearch">
16
    <p class="tip">Scan a barcode to renew:</p>
17
    <p class="tip">[% t('Scan a barcode to renew:') %]</p>
17
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
    <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19
        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19
        <input value="Submit" class="submit" type="submit" />
20
        <input value="Submit" class="submit" type="submit" />
Lines 22-41 Link Here
22
[% END %]
23
[% END %]
23
[% IF ( CAN_user_catalogue ) %]
24
[% IF ( CAN_user_catalogue ) %]
24
<div id="catalog_search" class="residentsearch">
25
<div id="catalog_search" class="residentsearch">
25
    <p class="tip">Enter search keywords:</p>
26
    <p class="tip">[% t('Enter search keywords:') %]</p>
26
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
27
    <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
27
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
28
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
28
        <input class="head-searchbox" type="text" name="q" id="search-form" size="40" accesskey="q" />
29
        <input class="head-searchbox" type="text" name="q" id="search-form" size="40" accesskey="q" />
29
        <input type="submit" class="submit" value="Submit"/>
30
        <input type="submit" class="submit" value="Submit" />
30
    </form>
31
    </form>
31
</div>
32
</div>
32
[% END %]
33
[% END %]
33
34
34
<ul>
35
<ul>
35
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
36
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
36
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
37
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">[% t('Check in') %]</a></li>[% END %]
37
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
38
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>[% END %]
38
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
39
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
39
</ul>   
40
</ul>   
40
41
41
</div><!-- /header_search -->
42
</div><!-- /header_search -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc (-8 / +9 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cities Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cities Resident Search Box -->
4
<div id="header_search">
5
<div id="header_search">
5
	<div id="city_search" class="residentsearch">
6
	<div id="city_search" class="residentsearch">
6
    <p class="tip">City search:</p>
7
    <p class="tip">[% t('City search:') %]</p>
7
	<form action="[% script_name %]" method="post">
8
	<form action="[% script_name %]" method="post">
8
        <input class="head-searchbox" type="text" name="city_name" value="[% searchfield %]" size="40" />
9
        <input class="head-searchbox" type="text" name="city_name" value="[% searchfield %]" size="40" />
9
		<input type="submit" name="submit" value="OK" class="submit" />
10
		<input type="submit" name="submit" value="OK" class="submit" />
Lines 14-30 Link Here
14
15
15
	[% IF ( CAN_user_catalogue ) %]
16
	[% IF ( CAN_user_catalogue ) %]
16
    <div id="catalog_search" class="residentsearch">
17
    <div id="catalog_search" class="residentsearch">
17
	<p class="tip">Enter search keywords:</p>
18
	<p class="tip">[% t('Enter search keywords:') %]</p>
18
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
19
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
19
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
20
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
20
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
21
             <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
21
				<input type="submit" value="Submit"  class="submit" />
22
				<input type="submit" value="Submit" class="submit" />
22
		</form>
23
		</form>
23
	</div>[% END %]
24
	</div>[% END %]
24
			<ul>
25
			<ul>
25
            <li><a class="keep_text" href="#city_search">Search cities</a></li>
26
            <li><a class="keep_text" href="#city_search">[% t('Search cities') %]</a></li>
26
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
27
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
27
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
28
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
28
			</ul>	
29
			</ul>	
29
</div>
30
</div>
30
</div>
31
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (-8 / +9 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
4
5
5
<div id="header_search">
6
<div id="header_search">
6
	<div id="contract_description_search" class="residentsearch">
7
	<div id="contract_description_search" class="residentsearch">
7
	<p class="tip">Search by contract name or/and description:</p>
8
	<p class="tip">[% t('Search by contract name or/and description:') %]</p>
8
	<form action="[% script_name %]" method="post">
9
	<form action="[% script_name %]" method="post">
9
        <input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield %]" />
10
        <input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield %]" />
10
		<input type="submit" class="submit" name="search" value="Search" />
11
		<input type="submit" class="submit" name="search" value="Search" />
Lines 15-32 Link Here
15
16
16
	[% IF ( CAN_user_catalogue ) %]
17
	[% IF ( CAN_user_catalogue ) %]
17
    <div id="catalog_search" class="residentsearch">
18
    <div id="catalog_search" class="residentsearch">
18
	<p class="tip">Enter search keywords:</p>
19
	<p class="tip">[% t('Enter search keywords:') %]</p>
19
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
20
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
20
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
21
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
21
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
22
             <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
22
				<input type="submit" value="Submit"  class="submit" />
23
				<input type="submit" value="Submit" class="submit" />
23
		</form>
24
		</form>
24
	</div>[% END %]
25
	</div>[% END %]
25
26
26
	<ul>
27
	<ul>
27
            <li><a class="keep_text" href="#contract_description_search">Search contracts</a></li>
28
            <li><a class="keep_text" href="#contract_description_search">[% t('Search contracts') %]</a></li>
28
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
29
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
29
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
30
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
30
	</ul>
31
	</ul>
31
</div>
32
</div>
32
</div><!-- /gradient -->
33
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/basket.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE Koha -%]
2
[%- USE Koha -%]
2
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
3
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
3
4
4
[%- BLOCK -%]Contract name[% delimiter %]Order number[% delimiter %]Entry date[% delimiter %]ISBN[% delimiter %]Author[% delimiter %]Title[% delimiter %]Publication year[% delimiter %]Publisher[% delimiter %]Collection title[% delimiter %]Note for vendor[% delimiter %]Quantity[% delimiter %]RRP[% delimiter %]Delivery place[% delimiter %]Billing place[%- END -%]
5
[%- BLOCK -%][% t('Contract name') %][% delimiter %][% t('Order number') %][% delimiter %][% t('Entry date') %][% delimiter %][% t('ISBN') %][% delimiter %][% t('Author') %][% delimiter %][% t('Title') %][% delimiter %][% t('Publication year') %][% delimiter %][% t('Publisher') %][% delimiter %][% t('Collection title') %][% delimiter %][% t('Note for vendor') %][% delimiter %][% t('Quantity') %][% delimiter %][% t('RRP') %][% delimiter %][% t('Delivery place') %][% delimiter %][% t('Billing place') %][%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/basketgroup.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE Koha -%]
2
[%- USE Koha -%]
2
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
3
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
3
4
4
[%- BLOCK -%]Account number[% delimiter %]Basket name[% delimiter %]Order number[% delimiter %]Author[% delimiter %]Title[% delimiter %]Publisher[% delimiter %]Publication year[% delimiter %]Collection title[% delimiter %]ISBN[% delimiter %]Quantity[% delimiter %]RRP tax included[% delimiter %]RRP tax excluded[% delimiter %]Discount[% delimiter %]Estimated cost tax included[% delimiter %]Estimated cost tax excluded[% delimiter %]Note for vendor[% delimiter %]Entry date[% delimiter %]Bookseller name[% delimiter %]Bookseller physical address[% delimiter %]Bookseller postal address[% delimiter %]Contract number[% delimiter %]Contract name[% delimiter %]Basket group delivery place[% delimiter %]Basket group billing place[% delimiter %]Basket delivery place[% delimiter %]Basket billing place[%- END -%]
5
[%- BLOCK -%][% t('Account number') %][% delimiter %][% t('Basket name') %][% delimiter %][% t('Order number') %][% delimiter %][% t('Author') %][% delimiter %][% t('Title') %][% delimiter %][% t('Publisher') %][% delimiter %][% t('Publication year') %][% delimiter %][% t('Collection title') %][% delimiter %][% t('ISBN') %][% delimiter %][% t('Quantity') %][% delimiter %][% t('RRP tax included') %][% delimiter %][% t('RRP tax excluded') %][% delimiter %][% t('Discount') %][% delimiter %][% t('Estimated cost tax included') %][% delimiter %][% t('Estimated cost tax excluded') %][% delimiter %][% t('Note for vendor') %][% delimiter %][% t('Entry date') %][% delimiter %][% t('Bookseller name') %][% delimiter %][% t('Bookseller physical address') %][% delimiter %][% t('Bookseller postal address') %][% delimiter %][% t('Contract number') %][% delimiter %][% t('Contract name') %][% delimiter %][% t('Basket group delivery place') %][% delimiter %][% t('Basket group billing place') %][% delimiter %][% t('Basket delivery place') %][% delimiter %][% t('Basket billing place') %][%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/lateorders.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE Koha -%]
2
[%- USE Koha -%]
2
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
3
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
3
4
4
[%- BLOCK -%]ORDER DATE[%- delimiter -%]ESTIMATED DELIVERY DATE[%- delimiter -%]VENDOR[%- delimiter -%]INFORMATION[%- delimiter -%]TOTAL COST[%- delimiter -%]BASKET[%- delimiter -%]CLAIMS COUNT[%- delimiter -%]CLAIMED DATE[%- END -%]
5
[%- BLOCK -%][% t('ORDER DATE') %][%- delimiter -%][% t('ESTIMATED DELIVERY DATE') %][%- delimiter -%][% t('VENDOR') %][%- delimiter -%][% t('INFORMATION') %][%- delimiter -%][% t('TOTAL COST') %][%- delimiter -%][% t('BASKET') %][%- delimiter -%][% t('CLAIMS COUNT') %][%- delimiter -%][% t('CLAIMED DATE') %][%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/catalogue/itemsearch.tt (-1 / +2 lines)
Line 1 Link Here
1
[%- BLOCK -%]Title, Publication date, Publisher, Collection, Barcode, Call number, Home library, Current location, Shelving location, Inventory number, Status, Checkouts[%- END -%]
1
[% PROCESS 'i18n.inc' %]
2
[%- BLOCK -%][% t('Title, Publication date, Publisher, Collection, Barcode, Call number, Home library, Current location, Shelving location, Inventory number, Status, Checkouts') %][%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/cash_register_stats.tt (-1 / +2 lines)
Line 1 Link Here
1
[%- BLOCK -%]mfirstname[% sep %]card number[% sep %]firstname[% sep %]branchname[% sep %]date[% sep %]accounttype[% sep %]amount[% sep %]title[% sep %]barcode[% sep %]itype[%- END -%]
1
[% PROCESS 'i18n.inc' %]
2
[%- BLOCK -%][% t('mfirstname') %][% sep %][% t('card number') %][% sep %][% t('firstname') %][% sep %][% t('branchname') %][% sep %][% t('date') %][% sep %][% t('accounttype') %][% sep %][% t('amount') %][% sep %][% t('title') %][% sep %][% t('barcode') %][% sep %][% t('itype') %][%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/reports/orders_by_budget.tt (-1 / +2 lines)
Line 1 Link Here
1
[%- BLOCK -%]Fund[% sep %]"Basket num"[% sep %]"Basket name"[% sep %]"Authorised by"[% sep %]"Biblio number"[% sep %]Title[% sep %]Currency[% sep %]"Vendor price"[% sep %]RRP[% sep %]"Budgeted cost"[% sep %]Quantity[% sep %]"Total RRP"[% sep %]"Total cost"[% sep %]"Entry date"[% sep %]"Date received"[% sep %]"Internal note"[% sep %]"Vendor note"[%- END -%]
1
[% PROCESS 'i18n.inc' %]
2
[%- BLOCK -%][% t('Fund') %][% sep %][% t('&#34;Basket num&#34;') %][% sep %][% t('&#34;Basket name&#34;') %][% sep %][% t('&#34;Authorised by&#34;') %][% sep %][% t('&#34;Biblio number&#34;') %][% sep %][% t('Title') %][% sep %][% t('Currency') %][% sep %][% t('&#34;Vendor price&#34;') %][% sep %][% t('RRP') %][% sep %][% t('&#34;Budgeted cost&#34;') %][% sep %][% t('Quantity') %][% sep %][% t('&#34;Total RRP&#34;') %][% sep %][% t('&#34;Total cost&#34;') %][% sep %][% t('&#34;Entry date&#34;') %][% sep %][% t('&#34;Date received&#34;') %][% sep %][% t('&#34;Internal note&#34;') %][% sep %][% t('&#34;Vendor note&#34;') %][%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc (-8 / +9 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Currencies Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Currencies Resident Search Box -->
4
<div id="header_search">
5
<div id="header_search">
5
	<div id="currency_search" class="residentsearch">
6
	<div id="currency_search" class="residentsearch">
6
    <p class="tip">Currencies search:</p>
7
    <p class="tip">[% t('Currencies search:') %]</p>
7
        <form action="[% script_name %]" method="post">
8
        <form action="[% script_name %]" method="post">
8
                <input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield %]" />
9
                <input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield %]" />
9
                <input type="submit" class="submit" name="search" value="Search" />
10
                <input type="submit" class="submit" name="search" value="Search" />
Lines 12-28 Link Here
12
    [% INCLUDE 'patron-search-box.inc' %]
13
    [% INCLUDE 'patron-search-box.inc' %]
13
	[% IF ( CAN_user_catalogue ) %]
14
	[% IF ( CAN_user_catalogue ) %]
14
    <div id="catalog_search" class="residentsearch">
15
    <div id="catalog_search" class="residentsearch">
15
	<p class="tip">Enter search keywords:</p>
16
	<p class="tip">[% t('Enter search keywords:') %]</p>
16
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
17
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
17
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
18
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
18
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
19
             <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
19
				<input type="submit" value="Submit"  class="submit" />
20
				<input type="submit" value="Submit" class="submit" />
20
		</form>
21
		</form>
21
	</div>[% END %]
22
	</div>[% END %]
22
			<ul>
23
			<ul>
23
            <li><a class="keep_text" href="#currency_search">Search currencies</a></li>
24
            <li><a class="keep_text" href="#currency_search">[% t('Search currencies') %]</a></li>
24
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
25
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
25
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
26
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
26
			</ul>	
27
			</ul>	
27
</div>
28
</div>
28
</div><!-- /gradient -->
29
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/date-format.inc (-1 / +2 lines)
Line 1 Link Here
1
[% IF ( dateformat == "us" ) %](MM/DD/YYYY)[% ELSIF ( dateformat == "metric" ) %](DD/MM/YYYY)[% ELSIF ( dateformat == "dmydot" ) %](DD.MM.YYYY)[% ELSE %](YYYY-MM-DD)[% END %]
1
[% PROCESS 'i18n.inc' %]
2
[% IF ( dateformat == "us" ) %][% t('(MM/DD/YYYY)') %][% ELSIF ( dateformat == "metric" ) %][% t('(DD/MM/YYYY)') %][% ELSIF ( dateformat == "dmydot" ) %][% t('(DD.MM.YYYY)') %][% ELSE %][% t('(YYYY-MM-DD)') %][% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/delimiter_text.inc (-6 / +7 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% SWITCH Koha.Preference('delimiter') %]
2
[% SWITCH Koha.Preference('delimiter') %]
2
    [% CASE '#' %]<span>Pound (#) separated text (.csv)</span>
3
    [% CASE '#' %]<span>[% t('Pound (#) separated text (.csv)') %]</span>
3
    [% CASE ',' %]<span>Comma separated text (.csv)</span>
4
    [% CASE ',' %]<span>[% t('Comma separated text (.csv)') %]</span>
4
    [% CASE '/' %]<span>Slash separated text (.csv)</span>
5
    [% CASE '/' %]<span>[% t('Slash separated text (.csv)') %]</span>
5
    [% CASE ';' %]<span>Semicolon separated text (.csv)</span>
6
    [% CASE ';' %]<span>[% t('Semicolon separated text (.csv)') %]</span>
6
    [% CASE '\\' %]<span>Backslash separated text (.csv)</span>
7
    [% CASE '\\' %]<span>[% t('Backslash separated text (.csv)') %]</span>
7
    [% CASE 'tabulation' %]<span>Tab separated text (.csv)</span>
8
    [% CASE 'tabulation' %]<span>[% t('Tab separated text (.csv)') %]</span>
8
[% END %]
9
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc (-18 / +19 lines)
Lines 1-41 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE AuthorisedValues %]
2
[% USE AuthorisedValues %]
2
[% IF ( opacfacets ) %]
3
[% IF ( opacfacets ) %]
3
[% IF ( facets_loop ) %]
4
[% IF ( facets_loop ) %]
4
<div id="search-facets">
5
<div id="search-facets">
5
<h4>Refine your search</h4>
6
<h4>[% t('Refine your search') %]</h4>
6
<ul>
7
<ul>
7
    <li id="availability_facet">Availability<ul><li>[% IF ( available ) %]<strong>Showing only available items</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items</a>[% END %]</li></ul>
8
    <li id="availability_facet">[% t('Availability') %]<ul><li>[% IF ( available ) %]<strong>[% t('Showing only available items') %]</strong></li><li><a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% t('Show all items') %]</a>[% ELSE %]<a href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]&limit=available">[% t('Limit to currently available items') %]</a>[% END %]</li></ul>
8
	[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
9
	[% IF ( related ) %] <li>[% t('(related searches:') %] [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
9
	</li>
10
	</li>
10
11
11
	[% FOREACH facets_loo IN facets_loop %]
12
	[% FOREACH facets_loo IN facets_loop %]
12
[% IF facets_loo.facets.size > 0 %]
13
[% IF facets_loo.facets.size > 0 %]
13
	<li id="[% facets_loo.type_id %]">
14
	<li id="[% facets_loo.type_id %]">
14
[% facets_loo.type_label %]
15
[% facets_loo.type_label %]
15
[% IF facets_loo.type_label_Authors %]<span id="facet-authors">Authors</span>[% END %]
16
[% IF facets_loo.type_label_Authors %]<span id="facet-authors">[% t('Authors') %]</span>[% END %]
16
[% IF facets_loo.type_label_Titles %]<span id="facet-titles">Titles</span>[% END %]
17
[% IF facets_loo.type_label_Titles %]<span id="facet-titles">[% t('Titles') %]</span>[% END %]
17
[% IF facets_loo.type_label_Topics %]<span id="facet-topics">Topics</span>[% END %]
18
[% IF facets_loo.type_label_Topics %]<span id="facet-topics">[% t('Topics') %]</span>[% END %]
18
[% IF facets_loo.type_label_Places %]<span id="facet-places">Places</span>[% END %]
19
[% IF facets_loo.type_label_Places %]<span id="facet-places">[% t('Places') %]</span>[% END %]
19
[% IF facets_loo.type_label_Series %]<span id="facet-series">Series</span>[% END %]
20
[% IF facets_loo.type_label_Series %]<span id="facet-series">[% t('Series') %]</span>[% END %]
20
[% IF facets_loo.type_label_ItemTypes %]<span id="facet-itemtypes">Item types</span>[% END %]
21
[% IF facets_loo.type_label_ItemTypes %]<span id="facet-itemtypes">[% t('Item types') %]</span>[% END %]
21
[% IF ( facets_loo.type_label_HomeLibrary ) %]<span id="facet-home-libraries">Home libraries</span>[% END %]
22
[% IF ( facets_loo.type_label_HomeLibrary ) %]<span id="facet-home-libraries">[% t('Home libraries') %]</span>[% END %]
22
[% IF ( facets_loo.type_label_HoldingLibrary ) %]<span id="facet-holding-libraries">Holding libraries</span>[% END %]
23
[% IF ( facets_loo.type_label_HoldingLibrary ) %]<span id="facet-holding-libraries">[% t('Holding libraries') %]</span>[% END %]
23
[% IF facets_loo.type_label_Location %]<span id="facet-locations">Locations</span>[% END %]
24
[% IF facets_loo.type_label_Location %]<span id="facet-locations">[% t('Locations') %]</span>[% END %]
24
[% IF facets_loo.type_label_CollectionCodes %]<span id="facet-locations">Collections</span>[% END %]
25
[% IF facets_loo.type_label_CollectionCodes %]<span id="facet-locations">[% t('Collections') %]</span>[% END %]
25
<ul>
26
<ul>
26
  [% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %]
27
  [% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %]
27
  [% IF ( sort_by ) %]
28
  [% IF ( sort_by ) %]
28
    [% url = BLOCK %][% url %][% "&amp;sort_by=" _ sort_by |url %][% END %]
29
    [% url = BLOCK %][% url %][% "&sort_by=" _ sort_by |url %][% END %]
29
  [% END %]
30
  [% END %]
30
  [% FOREACH facet IN facets_loo.facets %]
31
  [% FOREACH facet IN facets_loo.facets %]
31
  [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
32
  [% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
32
    <li>
33
    <li>
33
      [% IF facet.active %]
34
      [% IF facet.active %]
34
        [% SET local_url = url _ "&amp;nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
35
        [% SET local_url = url _ "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
35
        <span class="facet-label">[% facet.facet_label_value %]</span>
36
        <span class="facet-label">[% facet.facet_label_value %]</span>
36
        [<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
37
        [<a href="[% local_url %]" title="[% t('Remove facet') %] [% facet.facet_link_value | html %]">[% t('x') %]</a>]
37
      [% ELSE %]
38
      [% ELSE %]
38
        [% SET local_url = url _ "&amp;limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
39
        [% SET local_url = url _ "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
39
        <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
40
        <span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
40
        [% IF ( displayFacetCount ) %]
41
        [% IF ( displayFacetCount ) %]
41
          <span class="facet-count"> ([% facet.facet_count %])</span>
42
          <span class="facet-count"> ([% facet.facet_count %])</span>
Lines 45-51 Link Here
45
  [% END %]
46
  [% END %]
46
  [% IF ( facets_loo.expandable ) %]
47
  [% IF ( facets_loo.expandable ) %]
47
      <li class="showmore">
48
      <li class="showmore">
48
          <a href="[% url %][% IF offset %]&amp;offset=[% offset |url %][% END %]&amp;expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
49
          <a href="[% url %][% IF offset %]&offset=[% offset |url %][% END %]&expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">[% t('Show more') %]</a>
49
      </li>
50
      </li>
50
  [% END %]
51
  [% END %]
51
</ul></li>
52
</ul></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/form-blocks.inc (-2 / +2 lines)
Lines 1-5 Link Here
1
[% BLOCK selectoptionopen %]
1
[% BLOCK selectoptionopen %]
2
    [% IF value == selected %]<option value='[% value %]' selected='selected'>
2
    [% IF value == selected %]<option value="[% value %]" selected="selected">
3
    [% ELSE %]<option value='[% value %]'>
3
    [% ELSE %]<option value="[% value %]">
4
    [% END %]
4
    [% END %]
5
[% END %]
5
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc (-7 / +8 lines)
Lines 1-18 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="navmenu">
2
<div id="navmenu">
2
<div id="navmenulist">
3
<div id="navmenulist">
3
4
4
<h5>Run reports</h5>
5
<h5>[% t('Run reports') %]</h5>
5
<ul>
6
<ul>
6
	[% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Saved reports</a></li>[% END %]
7
	[% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">[% t('Saved reports') %]</a></li>[% END %]
7
</ul>
8
</ul>
8
<h5>Reports dictionary</h5>
9
<h5>[% t('Reports dictionary') %]</h5>
9
<ul>
10
<ul>
10
<li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li>
11
<li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">[% t('View dictionary') %]</a></li>
11
</ul>
12
</ul>
12
<h5>Useful resources</h5>
13
<h5>[% t('Useful resources') %]</h5>
13
<ul>
14
<ul>
14
<li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
15
<li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">[% t('Koha report library') %]</a></li>
15
<li><a href="http://schema.koha-community.org/" target="blank">Koha database schema</a></li>
16
<li><a href="http://schema.koha-community.org/" target="blank">[% t('Koha database schema') %]</a></li>
16
</ul>
17
</ul>
17
</div>
18
</div>
18
</div>
19
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-33 / +34 lines)
Lines 1-52 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Branches %]
2
[% USE Branches %]
2
<div id="header" class="navbar navbar-default">
3
<div id="header" class="navbar navbar-default">
3
    <div class="container-fluid">
4
    <div class="container-fluid">
4
        <ul id="toplevelmenu" class="nav navbar-nav">
5
        <ul id="toplevelmenu" class="nav navbar-nav">
5
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a></li>[% END %]
6
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a href="/cgi-bin/koha/circ/circulation-home.pl">[% t('Circulation') %]</a></li>[% END %]
6
            [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">Patrons</a></li>[% END %]
7
            [% IF CAN_user_borrowers_edit_borrowers %]<li><a href="/cgi-bin/koha/members/members-home.pl">[% t('Patrons') %]</a></li>[% END %]
7
            <li class="dropdown">
8
            <li class="dropdown">
8
                <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown">Search <b class="caret"></b></a>
9
                <a href="/cgi-bin/koha/catalogue/search.pl" class="dropdown-toggle" data-toggle="dropdown">[% t('Search') %] <b class="caret"></b></a>
9
                <ul class="dropdown-menu dropdown-menu-right">
10
                <ul class="dropdown-menu dropdown-menu-right">
10
                    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">Advanced search</a></li>
11
                    [% IF ( CAN_user_catalogue ) %]<li><a href="/cgi-bin/koha/catalogue/search.pl">[% t('Advanced search') %]</a></li>
11
                    <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">Item search</a></li>[% END %]
12
                    <li><a href="/cgi-bin/koha/catalogue/itemsearch.pl">[% t('Item search') %]</a></li>[% END %]
12
                </ul>
13
                </ul>
13
            </li>
14
            </li>
14
            [% IF ( intranetbookbag ) %]
15
            [% IF ( intranetbookbag ) %]
15
                <li>
16
                <li>
16
                    <a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a>
17
                    <a href="#" id="cartmenulink">[% t('Cart') %]<span id="basketcount"></span></a>
17
                </li>
18
                </li>
18
            [% END %]
19
            [% END %]
19
            [% IntranetNav %]
20
            [% IntranetNav %]
20
            <li class="dropdown">
21
            <li class="dropdown">
21
                <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
22
                <a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">[% t('More') %] <b class="caret"></b></a>
22
                <ul class="dropdown-menu dropdown-menu-right">
23
                <ul class="dropdown-menu dropdown-menu-right">
23
                    <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
24
                    <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">[% t('Lists') %]</a></li>
24
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
25
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
25
                        <li><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></li>
26
                        <li><a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a></li>
26
                    [% END %]
27
                    [% END %]
27
                    [% IF ( CAN_user_acquisition ) %]
28
                    [% IF ( CAN_user_acquisition ) %]
28
                        <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></li>
29
                        <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">[% t('Acquisitions') %]</a></li>
29
                    [% END %]
30
                    [% END %]
30
                    <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a></li>
31
                    <li><a href="/cgi-bin/koha/authorities/authorities-home.pl">[% t('Authorities') %]</a></li>
31
                    [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
32
                    [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
32
                        <li><a href="/cgi-bin/koha/ill/ill-requests.pl">ILL requests</a></li>
33
                        <li><a href="/cgi-bin/koha/ill/ill-requests.pl">[% t('ILL requests') %]</a></li>
33
                    [% END %]
34
                    [% END %]
34
                    [% IF ( CAN_user_serials ) %]
35
                    [% IF ( CAN_user_serials ) %]
35
                        <li><a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a></li>
36
                        <li><a href="/cgi-bin/koha/serials/serials-home.pl">[% t('Serials') %]</a></li>
36
                    [% END %]
37
                    [% END %]
37
                    [% IF ( UseCourseReserves ) %]
38
                    [% IF ( UseCourseReserves ) %]
38
                        <li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">Course reserves</a></li>
39
                        <li><a href="/cgi-bin/koha/course_reserves/course-reserves.pl">[% t('Course reserves') %]</a></li>
39
                    [% END %]
40
                    [% END %]
40
                    [% IF ( CAN_user_reports ) %]
41
                    [% IF ( CAN_user_reports ) %]
41
                        <li><a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a></li>
42
                        <li><a href="/cgi-bin/koha/reports/reports-home.pl">[% t('Reports') %]</a></li>
42
                    [% END %]
43
                    [% END %]
43
                    [% IF ( CAN_user_tools ) %]
44
                    [% IF ( CAN_user_tools ) %]
44
                        <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a></li>
45
                        <li><a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a></li>
45
                    [% END %]
46
                    [% END %]
46
                    [% IF ( CAN_user_parameters ) %]
47
                    [% IF ( CAN_user_parameters ) %]
47
                        <li><a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a></li>
48
                        <li><a href="/cgi-bin/koha/admin/admin-home.pl">[% t('Administration') %]</a></li>
48
                    [% END %]
49
                    [% END %]
49
                    <li><a href="/cgi-bin/koha/about.pl">About Koha</a></li>
50
                    <li><a href="/cgi-bin/koha/about.pl">[% t('About Koha') %]</a></li>
50
                </ul>
51
                </ul>
51
            </li>
52
            </li>
52
        </ul>
53
        </ul>
Lines 67-73 Link Here
67
                        [% ELSE %]
68
                        [% ELSE %]
68
                            <strong>
69
                            <strong>
69
                                [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
70
                                [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
70
                                    NO LIBRARY SET
71
                                    [% t('NO LIBRARY SET') %]
71
                                [% ELSE %]
72
                                [% ELSE %]
72
                                    <span class="logged-in-branch-name">[% LoginBranchname %]</span>
73
                                    <span class="logged-in-branch-name">[% LoginBranchname %]</span>
73
                                    <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode %]</span>
74
                                    <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode %]</span>
Lines 80-86 Link Here
80
                <ul class="dropdown-menu dropdown-menu-left" role="menu" aria-labelledby="logged-in-menu">
81
                <ul class="dropdown-menu dropdown-menu-left" role="menu" aria-labelledby="logged-in-menu">
81
82
82
                    <li class="loggedin-menu-label">
83
                    <li class="loggedin-menu-label">
83
                        Logged in as:<br />
84
                        [% t('Logged in as:') %]<br />
84
                        <span class="loggedinusername">[% loggedinusername %]</span>
85
                        <span class="loggedinusername">[% loggedinusername %]</span>
85
                    </li>
86
                    </li>
86
                    <li class="loggedin-menu-label">
87
                    <li class="loggedin-menu-label">
Lines 90-98 Link Here
90
                            </brand>
91
                            </brand>
91
                        [% ELSE %]
92
                        [% ELSE %]
92
                            [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
93
                            [% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
93
                                NO LIBRARY SET
94
                                [% t('NO LIBRARY SET') %]
94
                            [% ELSE %]
95
                            [% ELSE %]
95
                                Location: <br />
96
                                [% t('Location:') %] <br />
96
                                <span class="logged-in-branch-name">[% LoginBranchname %]</span>
97
                                <span class="logged-in-branch-name">[% LoginBranchname %]</span>
97
                                <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode %]</span>
98
                                <span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode %]</span>
98
                            [% END %]
99
                            [% END %]
Lines 103-148 Link Here
103
                    [% IF ( IndependentBranches ) %]
104
                    [% IF ( IndependentBranches ) %]
104
                        [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
105
                        [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
105
                    <li>
106
                    <li>
106
                        <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
107
                        <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">[% t('Set library') %]</a>
107
                    </li>
108
                    </li>
108
                        [% END %]
109
                        [% END %]
109
                    [% ELSE %]
110
                    [% ELSE %]
110
                    <li>
111
                    <li>
111
                        <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
112
                        <a class="toplinks" href="/cgi-bin/koha/circ/selectbranchprinter.pl">[% t('Set library') %]</a>
112
                    </li>
113
                    </li>
113
                    [% END %]
114
                    [% END %]
114
                    [% IF EnableSearchHistory %]
115
                    [% IF EnableSearchHistory %]
115
                    <li>
116
                    <li>
116
                        <a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">Search history</a>
117
                        <a class="toplinks" href="/cgi-bin/koha/catalogue/search-history.pl">[% t('Search history') %]</a>
117
                    </li>
118
                    </li>
118
                    [% END %]
119
                    [% END %]
119
                    [% IF loggedinusernumber %]
120
                    [% IF loggedinusernumber %]
120
                        <li class ="toplinks-myaccount">
121
                        <li class="toplinks-myaccount">
121
                            <a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber %]">My account</a>
122
                            <a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber %]">[% t('My account') %]</a>
122
                        </li>
123
                        </li>
123
                        <li class="toplinks-mycheckouts">
124
                        <li class="toplinks-mycheckouts">
124
                            <a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber %]">My checkouts</a>
125
                            <a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber %]">[% t('My checkouts') %]</a>
125
                        </li>
126
                        </li>
126
                    [% END %]
127
                    [% END %]
127
                    <li>
128
                    <li>
128
                        <a id="logout" class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log out</a>
129
                        <a id="logout" class="toplinks" href="/cgi-bin/koha/mainpage.pl?logout.x=1">[% t('Log out') %]</a>
129
                    </li>
130
                    </li>
130
                </ul>
131
                </ul>
131
            </li>
132
            </li>
132
            [% INCLUDE 'langmenu-staff-top.inc' %]
133
            [% INCLUDE 'langmenu-staff-top.inc' %]
133
            <li>
134
            <li>
134
                <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
135
                <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>[% t('Help') %]</span></a>
135
            </li>
136
            </li>
136
            [% ELSE %]
137
            [% ELSE %]
137
            <li class="loggedout">
138
            <li class="loggedout">
138
                <span>
139
                <span>
139
                    <a href="/cgi-bin/koha/mainpage.pl" id="login">Log in</a>
140
                    <a href="/cgi-bin/koha/mainpage.pl" id="login">[% t('Log in') %]</a>
140
                    <span class="separator">|</span>
141
                    <span class="separator">|</span>
141
                    <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>Help</span></a>
142
                    <a class="toplinks" href="/cgi-bin/koha/help.pl" id="helper"><i class="fa fa-question-circle"></i> <span>[% t('Help') %]</span></a>
142
                </span>
143
                </span>
143
            </li>
144
            </li>
144
            [% END %]
145
            [% END %]
145
        </ul>
146
        </ul>
146
    </div>
147
    </div>
147
    [% IF ( intranetbookbag ) %]<div id="cartDetails">Your cart is empty.</div>[% END %]
148
    [% IF ( intranetbookbag ) %]<div id="cartDetails">[% t('Your cart is empty.') %]</div>[% END %]
148
</div>
149
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc (-1 / +2 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Online help</title>
4
<title>[% t('Online help') %]</title>
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
6
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
6
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") %]
7
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/home-search.inc (-12 / +13 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box -->
Lines 6-19 Link Here
6
    [% INCLUDE 'patron-search-box.inc' %]
7
    [% INCLUDE 'patron-search-box.inc' %]
7
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
8
<div id="checkin_search" class="residentsearch">
9
<div id="checkin_search" class="residentsearch">
9
    <p class="tip">Scan a barcode to check in:</p>
10
    <p class="tip">[% t('Scan a barcode to check in:') %]</p>
10
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
11
        <input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
12
        <input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
12
        <input value="Submit" class="submit" type="submit" />
13
        <input value="Submit" class="submit" type="submit" />
13
    </form>
14
    </form>
14
</div>
15
</div>
15
<div id="renew_search" class="residentsearch">
16
<div id="renew_search" class="residentsearch">
16
    <p class="tip">Scan a barcode to renew:</p>
17
    <p class="tip">[% t('Scan a barcode to renew:') %]</p>
17
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
        <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
18
            <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19
            <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
19
            <input value="Submit" class="submit" type="submit" />
20
            <input value="Submit" class="submit" type="submit" />
Lines 23-51 Link Here
23
24
24
[% IF CAN_user_borrowers_edit_borrowers %]
25
[% IF CAN_user_borrowers_edit_borrowers %]
25
<div id="patron_search" class="residentsearch">
26
<div id="patron_search" class="residentsearch">
26
    <p class="tip">Enter patron card number or partial name:</p>
27
    <p class="tip">[% t('Enter patron card number or partial name:') %]</p>
27
    <form action="/cgi-bin/koha/members/member.pl" method="post">
28
    <form action="/cgi-bin/koha/members/member.pl" method="post">
28
        <input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text"/>
29
        <input name="searchmember" class="head-searchbox" id="searchmember" size="40" type="text" />
29
        <input type="hidden" name="quicksearch" value="1" />
30
        <input type="hidden" name="quicksearch" value="1" />
30
        <input value="Submit" class="submit" type="submit" />
31
        <input value="Submit" class="submit" type="submit" />
31
    </form>
32
    </form>
32
</div>[% END %]
33
</div>[% END %]
33
[% IF ( CAN_user_catalogue ) %]
34
[% IF ( CAN_user_catalogue ) %]
34
<div id="catalog_search" class="residentsearch">
35
<div id="catalog_search" class="residentsearch">
35
    <p class="tip">Enter search keywords:</p>
36
    <p class="tip">[% t('Enter search keywords:') %]</p>
36
    <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
37
    <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
37
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
38
        [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
38
        <input type="text" name="q" id="search-form" class="head-searchbox" size="40" accesskey="q" />
39
        <input type="text" name="q" id="search-form" class="head-searchbox" size="40" accesskey="q" />
39
        <input type="submit" class="submit" value="Submit"/>
40
        <input type="submit" class="submit" value="Submit" />
40
    </form>
41
    </form>
41
</div>[% END %]
42
</div>[% END %]
42
43
43
<ul>
44
<ul>
44
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
45
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
45
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
46
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">[% t('Check in') %]</a></li>[% END %]
46
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
47
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>[% END %]
47
    [% IF CAN_user_borrowers_edit_borrowers %]<li><a class="keep_text" href="#patron_search">Search patrons</a></li>[% END %]
48
    [% IF CAN_user_borrowers_edit_borrowers %]<li><a class="keep_text" href="#patron_search">[% t('Search patrons') %]</a></li>[% END %]
48
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
49
    [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
49
</ul>
50
</ul>
50
51
51
</div><!-- /header_search -->
52
</div><!-- /header_search -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc (-6 / +7 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
3
[% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
3
    <div id="toolbar" class="btn-toolbar">
4
    <div id="toolbar" class="btn-toolbar">
Lines 5-30 Link Here
5
          [% IF backends.size > 1 %]
6
          [% IF backends.size > 1 %]
6
            <div class="dropdown btn-group">
7
            <div class="dropdown btn-group">
7
                <button class="btn btn-sm btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
8
                <button class="btn btn-sm btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
8
                    <i class="fa fa-plus"></i> New ILL request <span class="caret"></span>
9
                    <i class="fa fa-plus"></i> [% t('New ILL request') %] <span class="caret"></span>
9
                </button>
10
                </button>
10
                <ul class="dropdown-menu" aria-labelledby="ill-backend-dropdown">
11
                <ul class="dropdown-menu" aria-labelledby="ill-backend-dropdown">
11
                    [% FOREACH backend IN backends %]
12
                    [% FOREACH backend IN backends %]
12
                        <li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=[% backend %]">[% backend %]</a></li>
13
                        <li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=[% backend %]">[% backend %]</a></li>
13
                    [% END %]
14
                    [% END %]
14
                </ul>
15
                </ul>
15
            </div>
16
            </div>
16
          [% ELSE %]
17
          [% ELSE %]
17
            <a id="ill-new" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=[% backends.0 %]">
18
            <a id="ill-new" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=[% backends.0 %]">
18
                <i class="fa fa-plus"></i> New ILL request
19
                <i class="fa fa-plus"></i> [% t('New ILL request') %]
19
            </a>
20
            </a>
20
          [% END %]
21
          [% END %]
21
        [% ELSE %]
22
        [% ELSE %]
22
            <a id="ill-new" class="btn btn-sm btn-default disabled" href="">
23
            <a id="ill-new" class="btn btn-sm btn-default disabled" href="">
23
                <i class="fa fa-plus"></i> New ILL request
24
                <i class="fa fa-plus"></i> [% t('New ILL request') %]
24
            </a>
25
            </a>
25
        [% END %]
26
        [% END %]
26
        <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl">
27
        <a id="ill-list" class="btn btn-sm btn-default btn-group" href="/cgi-bin/koha/ill/ill-requests.pl">
27
            <i class="fa fa-list"></i> List requests
28
            <i class="fa fa-list"></i> [% t('List requests') %]
28
        </a>
29
        </a>
29
    </div>
30
    </div>
30
[% END %]
31
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/labels-toolbar.inc (-10 / +11 lines)
Lines 1-21 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
3
    <div class="btn-group">
4
    <div class="btn-group">
4
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
5
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New') %] <span class="caret"></span></button>
5
        <ul class="dropdown-menu">
6
        <ul class="dropdown-menu">
6
            <li><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">Label batch</a></li>
7
            <li><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=new">[% t('Label batch') %]</a></li>
7
            <li><a href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">Layout</a></li>
8
            <li><a href="/cgi-bin/koha/labels/label-edit-layout.pl?op=new">[% t('Layout') %]</a></li>
8
            <li><a href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">Label template</a></li>
9
            <li><a href="/cgi-bin/koha/labels/label-edit-template.pl?op=new">[% t('Label template') %]</a></li>
9
            <li><a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">Printer profile</a></li>
10
            <li><a href="/cgi-bin/koha/labels/label-edit-profile.pl?op=new">[% t('Printer profile') %]</a></li>
10
        </ul>
11
        </ul>
11
    </div>
12
    </div>
12
    <div class="btn-group">
13
    <div class="btn-group">
13
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> Manage <span class="caret"></span></button>
14
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> [% t('Manage') %] <span class="caret"></span></button>
14
        <ul class="dropdown-menu">
15
        <ul class="dropdown-menu">
15
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">Label batches</a></li>
16
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=batch">[% t('Label batches') %]</a></li>
16
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Layouts</a></li>
17
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">[% t('Layouts') %]</a></li>
17
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Label templates</a></li>
18
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">[% t('Label templates') %]</a></li>
18
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">Printer profiles</a></li>
19
            <li><a href="/cgi-bin/koha/labels/label-manage.pl?label_element=profile">[% t('Printer profiles') %]</a></li>
19
        </ul>
20
        </ul>
20
    </div>
21
    </div>
21
</div>
22
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/langmenu-staff-top.inc (-5 / +6 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
2
2
[% IF ( ( ! one_language_enabled ) && ( languages_loop ) && ( Koha.Preference('StaffLangSelectorMode') == 'both' || Koha.Preference('StaffLangSelectorMode') == 'top') ) %]
3
[% IF ( ( ! one_language_enabled ) && ( languages_loop ) && ( Koha.Preference('StaffLangSelectorMode') == 'both' || Koha.Preference('StaffLangSelectorMode') == 'top') ) %]
3
<li class="dropdown">
4
<li class="dropdown">
4
    <a href="#" title="Switch languages" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button"><i class="icon-flag icon-white"></i> <span class="langlabel">Languages</span> <b class="caret"></b></a>
5
    <a href="#" title="[% t('Switch languages') %]" class="dropdown-toggle" id="langmenu" data-toggle="dropdown" role="button"><i class="icon-flag icon-white"></i> <span class="langlabel">[% t('Languages') %]</span> <b class="caret"></b></a>
5
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu dropdown-menu-left">
6
    <ul aria-labelledby="langmenu" role="menu" class="dropdown-menu dropdown-menu-left">
6
    [% FOREACH languages_loo IN languages_loop.sort('rfc4646_subtag') %]
7
    [% FOREACH languages_loo IN languages_loop.sort('rfc4646_subtag') %]
7
        [% IF ( languages_loo.group_enabled ) %]
8
        [% IF ( languages_loo.group_enabled ) %]
Lines 9-26 Link Here
9
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
10
                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
10
                    [% IF ( sublanguages_loo.enabled ) %]
11
                    [% IF ( sublanguages_loo.enabled ) %]
11
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
12
                        [% IF ( sublanguages_loo.sublanguage_current ) %]
12
                            <li role="presentation"> <a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]&nbsp;<i class="fa fa-check"></i></a></li>
13
                            <li role="presentation"> <a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] <i class="fa fa-check"></i></a></li>
13
                        [% ELSE %]
14
                        [% ELSE %]
14
                            <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]</a></li>
15
                            <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]" tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %]</a></li>
15
                        [% END %]
16
                        [% END %]
16
                    [% END # / IF sublanguages_loo.enabled %]
17
                    [% END # / IF sublanguages_loo.enabled %]
17
                [% END # / FOREACH sublanguages_loo %]
18
                [% END # / FOREACH sublanguages_loo %]
18
            [% ELSE %]
19
            [% ELSE %]
19
                [% IF ( languages_loo.group_enabled ) %]
20
                [% IF ( languages_loo.group_enabled ) %]
20
                    [% IF ( languages_loo.current ) %]
21
                    [% IF ( languages_loo.current ) %]
21
                        <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]&nbsp;<i class="fa fa-check"></i></a></li>
22
                        <li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %] <i class="fa fa-check"></i></a></li>
22
                    [% ELSE %]
23
                    [% ELSE %]
23
                        <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]"  tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
24
                        <li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]" tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description %][% ELSE %][% languages_loo.rfc4646_subtag %][% END %]</a></li>
24
                    [% END %]
25
                    [% END %]
25
                [% END # / IF languages_loo.current %]
26
                [% END # / IF languages_loo.current %]
26
            [% END # / IF ( languages_loo.plural ) %]
27
            [% END # / IF ( languages_loo.plural ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc (-8 / +9 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Notices Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Notices Resident Search Box -->
4
<div id="header_search">
5
<div id="header_search">
5
	<div id="notices_search" class="residentsearch">
6
	<div id="notices_search" class="residentsearch">
6
    <p class="tip">Search existing notices:</p>
7
    <p class="tip">[% t('Search existing notices:') %]</p>
7
<form action="/cgi-bin/koha/tools/letter.pl" method="post">
8
<form action="/cgi-bin/koha/tools/letter.pl" method="post">
8
        <input class="head-searchbox" type="text" name="searchfield" size="40" value="" />
9
        <input class="head-searchbox" type="text" name="searchfield" size="40" value="" />
9
                <input type="submit" class="submit" name="search" value="Search" />
10
                <input type="submit" class="submit" name="search" value="Search" />
Lines 12-28 Link Here
12
    [% INCLUDE 'patron-search-box.inc' %]
13
    [% INCLUDE 'patron-search-box.inc' %]
13
	[% IF ( CAN_user_catalogue ) %]
14
	[% IF ( CAN_user_catalogue ) %]
14
    <div id="catalog_search" class="residentsearch">
15
    <div id="catalog_search" class="residentsearch">
15
	<p class="tip">Enter search keywords:</p>
16
	<p class="tip">[% t('Enter search keywords:') %]</p>
16
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
17
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
17
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
18
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
18
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
19
            <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
19
				<input type="submit" name="op" value="Submit"  class="submit" />
20
				<input type="submit" name="op" value="Submit" class="submit" />
20
		</form>
21
		</form>
21
	</div>[% END %]
22
	</div>[% END %]
22
			<ul>
23
			<ul>
23
            <li><a class="keep_text" href="#notices_search">Search notices</a></li>
24
            <li><a class="keep_text" href="#notices_search">[% t('Search notices') %]</a></li>
24
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
25
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
25
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
26
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
26
			</ul>	
27
			</ul>	
27
</div>
28
</div>
28
</div><!-- /gradient -->
29
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-de.inc (-25 / +26 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
        <fieldset class="rows" id="memberentry_address">
2
        <fieldset class="rows" id="memberentry_address">
2
        <legend id="alt_address_lgd">Alternate address</legend><ol>
3
        <legend id="alt_address_lgd">[% t('Alternate address') %]</legend><ol>
3
        [% UNLESS noB_address %]
4
        [% UNLESS noB_address %]
4
            <li>
5
            <li>
5
                [% IF ( mandatoryB_address ) %]
6
                [% IF ( mandatoryB_address ) %]
Lines 7-15 Link Here
7
                [% ELSE %]
8
                [% ELSE %]
8
                    <label for="B_address">
9
                    <label for="B_address">
9
                [% END %]
10
                [% END %]
10
                Address: </label>
11
                [% t('Address:') %] </label>
11
                    <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
12
                    <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
12
      [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
13
      [% IF ( mandatoryB_address ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
            </li>
14
            </li>
14
        [% END %]
15
        [% END %]
15
16
Lines 20-26 Link Here
20
            [% ELSE %]
21
            [% ELSE %]
21
                <label for="B_streettype">
22
                <label for="B_streettype">
22
        [% END %]
23
        [% END %]
23
            Street type: </label>
24
            [% t('Street type:') %] </label>
24
            <select name="B_streettype">
25
            <select name="B_streettype">
25
            <option value=""></option>
26
            <option value=""></option>
26
            [% FOR roadtype IN roadtypes %]
27
            [% FOR roadtype IN roadtypes %]
Lines 31-37 Link Here
31
                [% END %]
32
                [% END %]
32
            [% END %]
33
            [% END %]
33
            </select>
34
            </select>
34
            [% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %]
35
            [% IF ( mandatoryB_streettype ) %]<span class="required">[% t('Required') %]</span>[% END %]
35
            </li>
36
            </li>
36
        [% END %]
37
        [% END %]
37
38
Lines 42-50 Link Here
42
                [% ELSE %]
43
                [% ELSE %]
43
                    <label for="B_streetnumber">
44
                    <label for="B_streetnumber">
44
                [% END %]
45
                [% END %]
45
                Street Number: </label>
46
                [% t('Street Number:') %] </label>
46
                    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
47
                    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
47
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
48
                [% IF ( mandatoryB_streetnumber ) %]<span class="required">[% t('Required') %]</span>[% END %]
48
            </li>
49
            </li>
49
        [% END %]
50
        [% END %]
50
51
Lines 55-63 Link Here
55
                [% ELSE %]
56
                [% ELSE %]
56
                    <label for="B_address2">
57
                    <label for="B_address2">
57
                [% END %]
58
                [% END %]
58
                Address 2: </label>
59
                [% t('Address 2:') %] </label>
59
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
60
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
60
      [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
61
      [% IF ( mandatoryB_address2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
61
            </li>
62
            </li>
62
        [% END %]
63
        [% END %]
63
        [% UNLESS noB_zipcode %]
64
        [% UNLESS noB_zipcode %]
Lines 67-99 Link Here
67
                                [% ELSE %]
68
                                [% ELSE %]
68
                                        <label for="B_zipcode">
69
                                        <label for="B_zipcode">
69
                                [% END %]
70
                                [% END %]
70
                                ZIP/Postal code: </label>
71
                                [% t('ZIP/Postal code:') %] </label>
71
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
72
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
72
          [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
73
          [% IF ( mandatoryB_zipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
73
                        </li>
74
                        </li>
74
        [% END %]
75
        [% END %]
75
        [% UNLESS noB_city %]
76
        [% UNLESS noB_city %]
76
            <li>
77
            <li>
77
                [% IF ( mandatoryB_city ) %]
78
                [% IF ( mandatoryB_city ) %]
78
                    <label for="B_city" class="required" >
79
                    <label for="B_city" class="required">
79
                [% ELSE %]
80
                [% ELSE %]
80
                    <label for="B_city">
81
                    <label for="B_city">
81
                [% END %]
82
                [% END %]
82
                City: </label>
83
                [% t('City:') %] </label>
83
                <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
84
                <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
84
      [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
85
      [% IF ( mandatoryB_city ) %]<span class="required">[% t('Required') %]</span>[% END %]
85
            </li>
86
            </li>
86
        [% END %]
87
        [% END %]
87
        [% UNLESS noB_state %]
88
        [% UNLESS noB_state %]
88
            <li>
89
            <li>
89
                [% IF ( mandatoryB_state ) %]
90
                [% IF ( mandatoryB_state ) %]
90
                    <label for="B_state" class="required" >
91
                    <label for="B_state" class="required">
91
                [% ELSE %]
92
                [% ELSE %]
92
                    <label for="B_state">
93
                    <label for="B_state">
93
                [% END %]
94
                [% END %]
94
                State: </label>
95
                [% t('State:') %] </label>
95
                <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
96
                <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
96
      [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
97
      [% IF ( mandatoryB_state ) %]<span class="required">[% t('Required') %]</span>[% END %]
97
            </li>
98
            </li>
98
        [% END %]
99
        [% END %]
99
        [% UNLESS noB_country %]
100
        [% UNLESS noB_country %]
Lines 103-111 Link Here
103
                [% ELSE %]
104
                [% ELSE %]
104
                    <label for="B_country">
105
                    <label for="B_country">
105
                [% END %]
106
                [% END %]
106
                Country: </label>
107
                [% t('Country:') %] </label>
107
                    <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
108
                    <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
108
      [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
109
      [% IF ( mandatoryB_country ) %]<span class="required">[% t('Required') %]</span>[% END %]
109
            </li>
110
            </li>
110
        [% END %]
111
        [% END %]
111
        [% UNLESS noB_phone %]
112
        [% UNLESS noB_phone %]
Lines 115-123 Link Here
115
                [% ELSE %]
116
                [% ELSE %]
116
                <label for="B_phone">
117
                <label for="B_phone">
117
                [% END %]
118
                [% END %]
118
                Phone: </label>
119
                [% t('Phone:') %] </label>
119
                    <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
120
                    <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
120
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
121
                [% IF ( mandatoryB_phone ) %]<span class="required">[% t('Required') %]</span>[% END %]
121
            </li>
122
            </li>
122
        [% END %]
123
        [% END %]
123
        [% UNLESS noB_email %]
124
        [% UNLESS noB_email %]
Lines 127-135 Link Here
127
        [% ELSE %]
128
        [% ELSE %]
128
          <label for="B_email">
129
          <label for="B_email">
129
        [% END %]
130
        [% END %]
130
        Email: </label>
131
        [% t('Email:') %] </label>
131
            <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
132
            <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
132
        [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
133
        [% IF ( mandatoryB_email ) %]<span class="required">[% t('Required') %]</span>[% END %] </li>
133
        [% END %]
134
        [% END %]
134
        [% UNLESS nocontactnote %]
135
        [% UNLESS nocontactnote %]
135
            <li>
136
            <li>
Lines 138-146 Link Here
138
                [% ELSE %]
139
                [% ELSE %]
139
                <label for="contactnote">
140
                <label for="contactnote">
140
                [% END %]
141
                [% END %]
141
                Contact note: </label>
142
                [% t('Contact note:') %] </label>
142
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote %]</textarea>
143
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote %]</textarea>
143
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
144
        [% IF ( mandatorycontactnote ) %]<span class="required">[% t('Required') %]</span>[% END %]
144
            </li>
145
            </li>
145
        [% END %]
146
        [% END %]
146
            </ol>
147
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-fr.inc (-25 / +26 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset class="rows" id="memberentry_address">
2
<fieldset class="rows" id="memberentry_address">
2
<legend id="alt_address_lgd">Alternate address</legend><ol>
3
<legend id="alt_address_lgd">[% t('Alternate address') %]</legend><ol>
3
4
4
[% UNLESS noB_streetnumber %]
5
[% UNLESS noB_streetnumber %]
5
    <li>
6
    <li>
Lines 8-16 Link Here
8
    [% ELSE %]
9
    [% ELSE %]
9
         <label for="B_streetnumber">
10
         <label for="B_streetnumber">
10
    [% END %]
11
    [% END %]
11
    Street Number: </label>
12
    [% t('Street Number:') %] </label>
12
    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
13
    <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
13
    [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
14
    [% IF ( mandatoryB_streetnumber ) %]<span class="required">[% t('Required') %]</span>[% END %]
14
    </li>
15
    </li>
15
[% END %]
16
[% END %]
16
17
Lines 21-27 Link Here
21
    [% ELSE %]
22
    [% ELSE %]
22
         <label for="B_streettype">
23
         <label for="B_streettype">
23
    [% END %]
24
    [% END %]
24
    Street type: </label>
25
    [% t('Street type:') %] </label>
25
    <select name="B_streettype">
26
    <select name="B_streettype">
26
    <option value=""></option>
27
    <option value=""></option>
27
    [% FOR roadtype IN roadtypes %]
28
    [% FOR roadtype IN roadtypes %]
Lines 32-38 Link Here
32
        [% END %]
33
        [% END %]
33
    [% END %]
34
    [% END %]
34
    </select>
35
    </select>
35
    [% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %]
36
    [% IF ( mandatoryB_streettype ) %]<span class="required">[% t('Required') %]</span>[% END %]
36
    </li>
37
    </li>
37
[% END %]
38
[% END %]
38
39
Lines 43-51 Link Here
43
    [% ELSE %]
44
    [% ELSE %]
44
        <label for="B_address">
45
        <label for="B_address">
45
    [% END %]
46
    [% END %]
46
        Address: </label>
47
        [% t('Address:') %] </label>
47
        <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
48
        <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
48
    [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
49
    [% IF ( mandatoryB_address ) %]<span class="required">[% t('Required') %]</span>[% END %]
49
        </li>
50
        </li>
50
[% END %]
51
[% END %]
51
52
Lines 56-64 Link Here
56
    [% ELSE %]
57
    [% ELSE %]
57
        <label for="B_address2">
58
        <label for="B_address2">
58
    [% END %]
59
    [% END %]
59
    Address 2: </label>
60
    [% t('Address 2:') %] </label>
60
    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
61
    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
61
    [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
62
    [% IF ( mandatoryB_address2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
62
    </li>
63
    </li>
63
[% END %]
64
[% END %]
64
[% UNLESS noB_zipcode %]
65
[% UNLESS noB_zipcode %]
Lines 68-100 Link Here
68
    [% ELSE %]
69
    [% ELSE %]
69
        <label for="B_zipcode">
70
        <label for="B_zipcode">
70
    [% END %]
71
    [% END %]
71
    ZIP/Postal code: </label>
72
    [% t('ZIP/Postal code:') %] </label>
72
    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
73
    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
73
    [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
74
    [% IF ( mandatoryB_zipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
74
    </li>
75
    </li>
75
[% END %]
76
[% END %]
76
[% UNLESS noB_city %]
77
[% UNLESS noB_city %]
77
    <li>
78
    <li>
78
    [% IF ( mandatoryB_city ) %]
79
    [% IF ( mandatoryB_city ) %]
79
        <label for="B_city" class="required" >
80
        <label for="B_city" class="required">
80
    [% ELSE %]
81
    [% ELSE %]
81
        <label for="B_city">
82
        <label for="B_city">
82
    [% END %]
83
    [% END %]
83
    City: </label>
84
    [% t('City:') %] </label>
84
    <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
85
    <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
85
    [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
86
    [% IF ( mandatoryB_city ) %]<span class="required">[% t('Required') %]</span>[% END %]
86
    </li>
87
    </li>
87
[% END %]
88
[% END %]
88
[% UNLESS noB_state %]
89
[% UNLESS noB_state %]
89
    <li>
90
    <li>
90
    [% IF ( mandatoryB_state ) %]
91
    [% IF ( mandatoryB_state ) %]
91
        <label for="B_state" class="required" >
92
        <label for="B_state" class="required">
92
    [% ELSE %]
93
    [% ELSE %]
93
        <label for="B_state">
94
        <label for="B_state">
94
    [% END %]
95
    [% END %]
95
        State: </label>
96
        [% t('State:') %] </label>
96
        <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
97
        <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
97
    [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
98
    [% IF ( mandatoryB_state ) %]<span class="required">[% t('Required') %]</span>[% END %]
98
    </li>
99
    </li>
99
[% END %]
100
[% END %]
100
[% UNLESS noB_country %]
101
[% UNLESS noB_country %]
Lines 104-112 Link Here
104
    [% ELSE %]
105
    [% ELSE %]
105
        <label for="B_country">
106
        <label for="B_country">
106
    [% END %]
107
    [% END %]
107
        Country: </label>
108
        [% t('Country:') %] </label>
108
        <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
109
        <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
109
    [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
110
    [% IF ( mandatoryB_country ) %]<span class="required">[% t('Required') %]</span>[% END %]
110
    </li>
111
    </li>
111
[% END %]
112
[% END %]
112
[% UNLESS noB_phone %]
113
[% UNLESS noB_phone %]
Lines 116-124 Link Here
116
   [% ELSE %]
117
   [% ELSE %]
117
       <label for="B_phone">
118
       <label for="B_phone">
118
   [% END %]
119
   [% END %]
119
   Phone: </label>
120
   [% t('Phone:') %] </label>
120
   <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
121
   <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
121
   [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
122
   [% IF ( mandatoryB_phone ) %]<span class="required">[% t('Required') %]</span>[% END %]
122
   </li>
123
   </li>
123
[% END %]
124
[% END %]
124
[% UNLESS noB_email %]
125
[% UNLESS noB_email %]
Lines 128-136 Link Here
128
   [% ELSE %]
129
   [% ELSE %]
129
       <label for="B_email">
130
       <label for="B_email">
130
   [% END %]
131
   [% END %]
131
       Email: </label>
132
       [% t('Email:') %] </label>
132
       <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
133
       <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
133
   [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
134
   [% IF ( mandatoryB_email ) %]<span class="required">[% t('Required') %]</span>[% END %] </li>
134
[% END %]
135
[% END %]
135
[% UNLESS nocontactnote %]
136
[% UNLESS nocontactnote %]
136
    <li>
137
    <li>
Lines 139-147 Link Here
139
    [% ELSE %]
140
    [% ELSE %]
140
        <label for="contactnote">
141
        <label for="contactnote">
141
    [% END %]
142
    [% END %]
142
        Contact note: </label>
143
        [% t('Contact note:') %] </label>
143
        <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote %]</textarea>
144
        <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote %]</textarea>
144
    [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
145
    [% IF ( mandatorycontactnote ) %]<span class="required">[% t('Required') %]</span>[% END %]
145
        </li>
146
        </li>
146
    [% END %]
147
    [% END %]
147
</ol>
148
</ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-address-style-us.inc (-25 / +26 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
        <fieldset class="rows" id="memberentry_address">
2
        <fieldset class="rows" id="memberentry_address">
2
        <legend id="alt_address_lgd">Alternate address</legend><ol>
3
        <legend id="alt_address_lgd">[% t('Alternate address') %]</legend><ol>
3
        [% UNLESS noB_streetnumber %]
4
        [% UNLESS noB_streetnumber %]
4
            <li>
5
            <li>
5
                [% IF ( mandatoryB_streetnumber ) %]
6
                [% IF ( mandatoryB_streetnumber ) %]
Lines 7-15 Link Here
7
                [% ELSE %]
8
                [% ELSE %]
8
                    <label for="B_streetnumber">
9
                    <label for="B_streetnumber">
9
                [% END %]
10
                [% END %]
10
                Street Number: </label>
11
                [% t('Street Number:') %] </label>
11
                <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
12
                <input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
12
               [% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
13
               [% IF ( mandatoryB_streetnumber ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
            </li>
14
            </li>
14
        [% END %]
15
        [% END %]
15
16
Lines 20-26 Link Here
20
            [% ELSE %]
21
            [% ELSE %]
21
                <label for="B_streettype">
22
                <label for="B_streettype">
22
        [% END %]
23
        [% END %]
23
        Street type: </label>
24
        [% t('Street type:') %] </label>
24
        <select name="B_streettype">
25
        <select name="B_streettype">
25
        <option value=""></option>
26
        <option value=""></option>
26
        [% FOR roadtype IN roadtypes %]
27
        [% FOR roadtype IN roadtypes %]
Lines 31-37 Link Here
31
            [% END %]
32
            [% END %]
32
        [% END %]
33
        [% END %]
33
        </select>
34
        </select>
34
        [% IF ( mandatoryB_streettype ) %]<span class="required">Required</span>[% END %]
35
        [% IF ( mandatoryB_streettype ) %]<span class="required">[% t('Required') %]</span>[% END %]
35
        </li>
36
        </li>
36
      [% END %]
37
      [% END %]
37
38
Lines 42-50 Link Here
42
                [% ELSE %]
43
                [% ELSE %]
43
                    <label for="B_address">
44
                    <label for="B_address">
44
                [% END %]
45
                [% END %]
45
                Address: </label>
46
                [% t('Address:') %] </label>
46
                    <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
47
                    <input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
47
      [% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
48
      [% IF ( mandatoryB_address ) %]<span class="required">[% t('Required') %]</span>[% END %]
48
            </li>
49
            </li>
49
        [% END %]
50
        [% END %]
50
        [% UNLESS noB_address2 %]
51
        [% UNLESS noB_address2 %]
Lines 54-86 Link Here
54
                [% ELSE %]
55
                [% ELSE %]
55
                    <label for="B_address2">
56
                    <label for="B_address2">
56
                [% END %]
57
                [% END %]
57
                Address 2: </label>
58
                [% t('Address 2:') %] </label>
58
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
59
                    <input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
59
      [% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
60
      [% IF ( mandatoryB_address2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
60
            </li>
61
            </li>
61
        [% END %]
62
        [% END %]
62
        [% UNLESS noB_city %]
63
        [% UNLESS noB_city %]
63
            <li>
64
            <li>
64
                [% IF ( mandatoryB_city ) %]
65
                [% IF ( mandatoryB_city ) %]
65
                    <label for="B_city" class="required" >
66
                    <label for="B_city" class="required">
66
                [% ELSE %]
67
                [% ELSE %]
67
                    <label for="B_city">
68
                    <label for="B_city">
68
                [% END %]
69
                [% END %]
69
                City: </label>
70
                [% t('City:') %] </label>
70
                <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
71
                <input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
71
      [% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
72
      [% IF ( mandatoryB_city ) %]<span class="required">[% t('Required') %]</span>[% END %]
72
            </li>
73
            </li>
73
        [% END %]
74
        [% END %]
74
        [% UNLESS noB_state %]
75
        [% UNLESS noB_state %]
75
            <li>
76
            <li>
76
                [% IF ( mandatoryB_state ) %]
77
                [% IF ( mandatoryB_state ) %]
77
                    <label for="B_state" class="required" >
78
                    <label for="B_state" class="required">
78
                [% ELSE %]
79
                [% ELSE %]
79
                    <label for="B_state">
80
                    <label for="B_state">
80
                [% END %]
81
                [% END %]
81
                State: </label>
82
                [% t('State:') %] </label>
82
                <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
83
                <input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
83
      [% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
84
      [% IF ( mandatoryB_state ) %]<span class="required">[% t('Required') %]</span>[% END %]
84
            </li>
85
            </li>
85
        [% END %]
86
        [% END %]
86
        [% UNLESS noB_zipcode %]
87
        [% UNLESS noB_zipcode %]
Lines 90-98 Link Here
90
                [% ELSE %]
91
                [% ELSE %]
91
                    <label for="B_zipcode">
92
                    <label for="B_zipcode">
92
                [% END %]
93
                [% END %]
93
                ZIP/Postal code: </label>
94
                [% t('ZIP/Postal code:') %] </label>
94
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
95
                    <input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
95
      [% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
96
      [% IF ( mandatoryB_zipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
96
            </li>
97
            </li>
97
        [% END %]
98
        [% END %]
98
        [% UNLESS noB_country %]
99
        [% UNLESS noB_country %]
Lines 102-110 Link Here
102
                [% ELSE %]
103
                [% ELSE %]
103
                    <label for="B_country">
104
                    <label for="B_country">
104
                [% END %]
105
                [% END %]
105
                Country: </label>
106
                [% t('Country:') %] </label>
106
                    <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
107
                    <input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
107
      [% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
108
      [% IF ( mandatoryB_country ) %]<span class="required">[% t('Required') %]</span>[% END %]
108
            </li>
109
            </li>
109
        [% END %]
110
        [% END %]
110
        [% UNLESS noB_phone %]
111
        [% UNLESS noB_phone %]
Lines 114-122 Link Here
114
                [% ELSE %]
115
                [% ELSE %]
115
                <label for="B_phone">
116
                <label for="B_phone">
116
                [% END %]
117
                [% END %]
117
                Phone: </label>
118
                [% t('Phone:') %] </label>
118
                    <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
119
                    <input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
119
                [% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
120
                [% IF ( mandatoryB_phone ) %]<span class="required">[% t('Required') %]</span>[% END %]
120
            </li>
121
            </li>
121
        [% END %]
122
        [% END %]
122
        [% UNLESS noB_email %]
123
        [% UNLESS noB_email %]
Lines 126-134 Link Here
126
        [% ELSE %]
127
        [% ELSE %]
127
          <label for="B_email">
128
          <label for="B_email">
128
        [% END %]
129
        [% END %]
129
        Email: </label>
130
        [% t('Email:') %] </label>
130
            <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
131
            <input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
131
        [% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
132
        [% IF ( mandatoryB_email ) %]<span class="required">[% t('Required') %]</span>[% END %] </li>
132
        [% END %]
133
        [% END %]
133
        [% UNLESS nocontactnote %]
134
        [% UNLESS nocontactnote %]
134
            <li>
135
            <li>
Lines 137-145 Link Here
137
                [% ELSE %]
138
                [% ELSE %]
138
                <label for="contactnote">
139
                <label for="contactnote">
139
                [% END %]
140
                [% END %]
140
                Contact note: </label>
141
                [% t('Contact note:') %] </label>
141
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
142
                <textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
142
        [% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
143
        [% IF ( mandatorycontactnote ) %]<span class="required">[% t('Required') %]</span>[% END %]
143
            </li>
144
            </li>
144
        [% END %]
145
        [% END %]
145
            </ol>
146
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-de.inc (-19 / +20 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
        <fieldset class="rows" id="memberentry_altaddress">
2
        <fieldset class="rows" id="memberentry_altaddress">
2
            <legend id="alt_contact_lgd">Alternate contact</legend><ol>
3
            <legend id="alt_contact_lgd">[% t('Alternate contact') %]</legend><ol>
3
        [% UNLESS noaltcontactsurname %]
4
        [% UNLESS noaltcontactsurname %]
4
            <li>
5
            <li>
5
                [% IF ( mandatoryaltcontactsurname ) %]
6
                [% IF ( mandatoryaltcontactsurname ) %]
Lines 7-15 Link Here
7
                [% ELSE %]
8
                [% ELSE %]
8
                <label for="altcontactsurname">
9
                <label for="altcontactsurname">
9
                [% END %]
10
                [% END %]
10
                Surname:</label>
11
                [% t('Surname:') %]</label>
11
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
12
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
12
                [% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
13
                [% IF ( mandatoryaltcontactsurname ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
            </li>
14
            </li>
14
        [% END %]
15
        [% END %]
15
        [% UNLESS noaltcontactfirstname %]
16
        [% UNLESS noaltcontactfirstname %]
Lines 19-27 Link Here
19
                [% ELSE %]
20
                [% ELSE %]
20
                <label for="altcontactfirstname">
21
                <label for="altcontactfirstname">
21
                [% END %]
22
                [% END %]
22
                First name:</label>
23
                [% t('First name:') %]</label>
23
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
24
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
24
                [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
25
                [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">[% t('Required') %]</span>[% END %]
25
            </li>
26
            </li>
26
        [% END %]
27
        [% END %]
27
        [% UNLESS noaltcontactaddress1 %]
28
        [% UNLESS noaltcontactaddress1 %]
Lines 31-39 Link Here
31
                [% ELSE %]
32
                [% ELSE %]
32
                <label for="altcontactaddress1">
33
                <label for="altcontactaddress1">
33
                [% END %]
34
                [% END %]
34
                Address:</label>
35
                [% t('Address:') %]</label>
35
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
36
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
36
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
37
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">[% t('Required') %]</span>[% END %]
37
            </li>
38
            </li>
38
        [% END %]
39
        [% END %]
39
        [% UNLESS noaltcontactaddress2 %]
40
        [% UNLESS noaltcontactaddress2 %]
Lines 43-51 Link Here
43
                [% ELSE %]
44
                [% ELSE %]
44
                <label for="altcontactaddress2">
45
                <label for="altcontactaddress2">
45
                [% END %]
46
                [% END %]
46
                Address 2:</label>
47
                [% t('Address 2:') %]</label>
47
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
48
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
48
                [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
49
                [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
49
            </li>
50
            </li>
50
        [% END %]
51
        [% END %]
51
        [% UNLESS noaltcontactzipcode %]
52
        [% UNLESS noaltcontactzipcode %]
Lines 55-63 Link Here
55
                                [% ELSE %]
56
                                [% ELSE %]
56
                                <label for="altcontactzipcode">
57
                                <label for="altcontactzipcode">
57
                                [% END %]
58
                                [% END %]
58
                                ZIP/Postal code:</label>
59
                                [% t('ZIP/Postal code:') %]</label>
59
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
60
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
60
                                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
61
                                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
61
                        </li>
62
                        </li>
62
        [% END %]
63
        [% END %]
63
        [% UNLESS noaltcontactaddress3 %]
64
        [% UNLESS noaltcontactaddress3 %]
Lines 67-75 Link Here
67
                [% ELSE %]
68
                [% ELSE %]
68
                <label for="altcontactaddress3">
69
                <label for="altcontactaddress3">
69
                [% END %]
70
                [% END %]
70
                City:</label>
71
                [% t('City:') %]</label>
71
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
72
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
72
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
73
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">[% t('Required') %]</span>[% END %]
73
            </li>
74
            </li>
74
        [% END %]
75
        [% END %]
75
        [% UNLESS noaltcontactstate %]
76
        [% UNLESS noaltcontactstate %]
Lines 79-87 Link Here
79
                [% ELSE %]
80
                [% ELSE %]
80
                <label for="altcontactstate">
81
                <label for="altcontactstate">
81
                [% END %]
82
                [% END %]
82
                State:</label>
83
                [% t('State:') %]</label>
83
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
84
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
84
                [% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
85
                [% IF ( mandatoryaltcontactstate ) %]<span class="required">[% t('Required') %]</span>[% END %]
85
            </li>
86
            </li>
86
        [% END %]
87
        [% END %]
87
        [% UNLESS noaltcontactcountry %]
88
        [% UNLESS noaltcontactcountry %]
Lines 91-99 Link Here
91
                [% ELSE %]
92
                [% ELSE %]
92
                <label for="altcontactcountry">
93
                <label for="altcontactcountry">
93
                [% END %]
94
                [% END %]
94
                Country:</label>
95
                [% t('Country:') %]</label>
95
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
96
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
96
                [% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
97
                [% IF ( mandatoryaltcontactcountry ) %]<span class="required">[% t('Required') %]</span>[% END %]
97
            </li>
98
            </li>
98
        [% END %]
99
        [% END %]
99
        [% UNLESS noaltcontactphone %]
100
        [% UNLESS noaltcontactphone %]
Lines 103-111 Link Here
103
                [% ELSE %]
104
                [% ELSE %]
104
                <label for="altcontactphone">
105
                <label for="altcontactphone">
105
                [% END %]
106
                [% END %]
106
                Phone:</label>
107
                [% t('Phone:') %]</label>
107
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
108
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
108
                [% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
109
                [% IF ( mandatoryaltcontactphone ) %]<span class="required">[% t('Required') %]</span>[% END %]
109
            </li>
110
            </li>
110
        [% END %]
111
        [% END %]
111
            </ol>
112
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-fr.inc (-19 / +20 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset class="rows" id="memberentry_altaddress">
2
<fieldset class="rows" id="memberentry_altaddress">
2
    <legend id="alt_contact_lgd">Alternate contact</legend><ol>
3
    <legend id="alt_contact_lgd">[% t('Alternate contact') %]</legend><ol>
3
[% UNLESS noaltcontactsurname %]
4
[% UNLESS noaltcontactsurname %]
4
    <li>
5
    <li>
5
    [% IF ( mandatoryaltcontactsurname ) %]
6
    [% IF ( mandatoryaltcontactsurname ) %]
Lines 7-15 Link Here
7
    [% ELSE %]
8
    [% ELSE %]
8
        <label for="altcontactsurname">
9
        <label for="altcontactsurname">
9
    [% END %]
10
    [% END %]
10
    Surname:</label>
11
    [% t('Surname:') %]</label>
11
    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
12
    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
12
    [% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
13
    [% IF ( mandatoryaltcontactsurname ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
    </li>
14
    </li>
14
[% END %]
15
[% END %]
15
[% UNLESS noaltcontactfirstname %]
16
[% UNLESS noaltcontactfirstname %]
Lines 19-27 Link Here
19
    [% ELSE %]
20
    [% ELSE %]
20
        <label for="altcontactfirstname">
21
        <label for="altcontactfirstname">
21
    [% END %]
22
    [% END %]
22
        First name:</label>
23
        [% t('First name:') %]</label>
23
        <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
24
        <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
24
    [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
25
    [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">[% t('Required') %]</span>[% END %]
25
    </li>
26
    </li>
26
[% END %]
27
[% END %]
27
[% UNLESS noaltcontactaddress1 %]
28
[% UNLESS noaltcontactaddress1 %]
Lines 31-39 Link Here
31
    [% ELSE %]
32
    [% ELSE %]
32
        <label for="altcontactaddress1">
33
        <label for="altcontactaddress1">
33
    [% END %]
34
    [% END %]
34
    Address:</label>
35
    [% t('Address:') %]</label>
35
    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
36
    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
36
    [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
37
    [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">[% t('Required') %]</span>[% END %]
37
    </li>
38
    </li>
38
[% END %]
39
[% END %]
39
[% UNLESS noaltcontactaddress2 %]
40
[% UNLESS noaltcontactaddress2 %]
Lines 43-51 Link Here
43
    [% ELSE %]
44
    [% ELSE %]
44
        <label for="altcontactaddress2">
45
        <label for="altcontactaddress2">
45
    [% END %]
46
    [% END %]
46
    Address 2:</label>
47
    [% t('Address 2:') %]</label>
47
    <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
48
    <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
48
    [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
49
    [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
49
    </li>
50
    </li>
50
[% END %]
51
[% END %]
51
[% UNLESS noaltcontactzipcode %]
52
[% UNLESS noaltcontactzipcode %]
Lines 55-63 Link Here
55
    [% ELSE %]
56
    [% ELSE %]
56
        <label for="altcontactzipcode">
57
        <label for="altcontactzipcode">
57
    [% END %]
58
    [% END %]
58
    ZIP/Postal code:</label>
59
    [% t('ZIP/Postal code:') %]</label>
59
    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
60
    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
60
    [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
61
    [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
61
    </li>
62
    </li>
62
[% END %]
63
[% END %]
63
[% UNLESS noaltcontactaddress3 %]
64
[% UNLESS noaltcontactaddress3 %]
Lines 67-75 Link Here
67
    [% ELSE %]
68
    [% ELSE %]
68
        <label for="altcontactaddress3">
69
        <label for="altcontactaddress3">
69
    [% END %]
70
    [% END %]
70
    City:</label>
71
    [% t('City:') %]</label>
71
    <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
72
    <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
72
    [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
73
    [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">[% t('Required') %]</span>[% END %]
73
    </li>
74
    </li>
74
[% END %]
75
[% END %]
75
[% UNLESS noaltcontactstate %]
76
[% UNLESS noaltcontactstate %]
Lines 79-87 Link Here
79
    [% ELSE %]
80
    [% ELSE %]
80
        <label for="altcontactstate">
81
        <label for="altcontactstate">
81
    [% END %]
82
    [% END %]
82
    State:</label>
83
    [% t('State:') %]</label>
83
    <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
84
    <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
84
    [% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
85
    [% IF ( mandatoryaltcontactstate ) %]<span class="required">[% t('Required') %]</span>[% END %]
85
    </li>
86
    </li>
86
[% END %]
87
[% END %]
87
[% UNLESS noaltcontactcountry %]
88
[% UNLESS noaltcontactcountry %]
Lines 91-99 Link Here
91
    [% ELSE %]
92
    [% ELSE %]
92
        <label for="altcontactcountry">
93
        <label for="altcontactcountry">
93
    [% END %]
94
    [% END %]
94
    Country:</label>
95
    [% t('Country:') %]</label>
95
    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
96
    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
96
    [% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
97
    [% IF ( mandatoryaltcontactcountry ) %]<span class="required">[% t('Required') %]</span>[% END %]
97
</li>
98
</li>
98
[% END %]
99
[% END %]
99
[% UNLESS noaltcontactphone %]
100
[% UNLESS noaltcontactphone %]
Lines 103-111 Link Here
103
    [% ELSE %]
104
    [% ELSE %]
104
        <label for="altcontactphone">
105
        <label for="altcontactphone">
105
    [% END %]
106
    [% END %]
106
    Phone:</label>
107
    [% t('Phone:') %]</label>
107
    <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
108
    <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
108
    [% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
109
    [% IF ( mandatoryaltcontactphone ) %]<span class="required">[% t('Required') %]</span>[% END %]
109
    </li>
110
    </li>
110
[% END %]
111
[% END %]
111
</ol>
112
</ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-alt-contact-style-us.inc (-19 / +20 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
        <fieldset class="rows" id="memberentry_altaddress">
2
        <fieldset class="rows" id="memberentry_altaddress">
2
            <legend id="alt_contact_lgd">Alternate contact</legend><ol>
3
            <legend id="alt_contact_lgd">[% t('Alternate contact') %]</legend><ol>
3
        [% UNLESS noaltcontactsurname %]
4
        [% UNLESS noaltcontactsurname %]
4
            <li>
5
            <li>
5
                [% IF ( mandatoryaltcontactsurname ) %]
6
                [% IF ( mandatoryaltcontactsurname ) %]
Lines 7-15 Link Here
7
                [% ELSE %]
8
                [% ELSE %]
8
                <label for="altcontactsurname">
9
                <label for="altcontactsurname">
9
                [% END %]
10
                [% END %]
10
                Surname:</label>
11
                [% t('Surname:') %]</label>
11
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
12
                    <input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
12
                [% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
13
                [% IF ( mandatoryaltcontactsurname ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
            </li>
14
            </li>
14
        [% END %]
15
        [% END %]
15
        [% UNLESS noaltcontactfirstname %]
16
        [% UNLESS noaltcontactfirstname %]
Lines 19-27 Link Here
19
                [% ELSE %]
20
                [% ELSE %]
20
                <label for="altcontactfirstname">
21
                <label for="altcontactfirstname">
21
                [% END %]
22
                [% END %]
22
                First name:</label>
23
                [% t('First name:') %]</label>
23
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
24
                    <input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
24
                [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
25
                [% IF ( mandatoryaltcontactfirstname ) %]<span class="required">[% t('Required') %]</span>[% END %]
25
            </li>
26
            </li>
26
        [% END %]
27
        [% END %]
27
        [% UNLESS noaltcontactaddress1 %]
28
        [% UNLESS noaltcontactaddress1 %]
Lines 31-39 Link Here
31
                [% ELSE %]
32
                [% ELSE %]
32
                <label for="altcontactaddress1">
33
                <label for="altcontactaddress1">
33
                [% END %]
34
                [% END %]
34
                Address:</label>
35
                [% t('Address:') %]</label>
35
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
36
                    <input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
36
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
37
                [% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">[% t('Required') %]</span>[% END %]
37
            </li>
38
            </li>
38
        [% END %]
39
        [% END %]
39
        [% UNLESS noaltcontactaddress2 %]
40
        [% UNLESS noaltcontactaddress2 %]
Lines 43-51 Link Here
43
                [% ELSE %]
44
                [% ELSE %]
44
                <label for="altcontactaddress2">
45
                <label for="altcontactaddress2">
45
                [% END %]
46
                [% END %]
46
                Address 2:</label>
47
                [% t('Address 2:') %]</label>
47
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
48
                <input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
48
                [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
49
                [% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
49
            </li>
50
            </li>
50
        [% END %]
51
        [% END %]
51
        [% UNLESS noaltcontactaddress3 %]
52
        [% UNLESS noaltcontactaddress3 %]
Lines 55-63 Link Here
55
                [% ELSE %]
56
                [% ELSE %]
56
                <label for="altcontactaddress3">
57
                <label for="altcontactaddress3">
57
                [% END %]
58
                [% END %]
58
                City:</label>
59
                [% t('City:') %]</label>
59
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
60
                <input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
60
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
61
                [% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">[% t('Required') %]</span>[% END %]
61
            </li>
62
            </li>
62
        [% END %]
63
        [% END %]
63
        [% UNLESS noaltcontactstate %]
64
        [% UNLESS noaltcontactstate %]
Lines 67-75 Link Here
67
                [% ELSE %]
68
                [% ELSE %]
68
                <label for="altcontactstate">
69
                <label for="altcontactstate">
69
                [% END %]
70
                [% END %]
70
                State:</label>
71
                [% t('State:') %]</label>
71
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
72
                <input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
72
                [% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
73
                [% IF ( mandatoryaltcontactstate ) %]<span class="required">[% t('Required') %]</span>[% END %]
73
            </li>
74
            </li>
74
        [% END %]
75
        [% END %]
75
        [% UNLESS noaltcontactzipcode %]
76
        [% UNLESS noaltcontactzipcode %]
Lines 79-87 Link Here
79
                [% ELSE %]
80
                [% ELSE %]
80
                <label for="altcontactzipcode">
81
                <label for="altcontactzipcode">
81
                [% END %]
82
                [% END %]
82
                ZIP/Postal code:</label>
83
                [% t('ZIP/Postal code:') %]</label>
83
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
84
                    <input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
84
                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
85
                [% IF ( mandatoryaltcontactzipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
85
            </li>
86
            </li>
86
        [% END %]
87
        [% END %]
87
        [% UNLESS noaltcontactcountry %]
88
        [% UNLESS noaltcontactcountry %]
Lines 91-99 Link Here
91
                [% ELSE %]
92
                [% ELSE %]
92
                <label for="altcontactcountry">
93
                <label for="altcontactcountry">
93
                [% END %]
94
                [% END %]
94
                Country:</label>
95
                [% t('Country:') %]</label>
95
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
96
                    <input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
96
                [% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
97
                [% IF ( mandatoryaltcontactcountry ) %]<span class="required">[% t('Required') %]</span>[% END %]
97
            </li>
98
            </li>
98
        [% END %]
99
        [% END %]
99
        [% UNLESS noaltcontactphone %]
100
        [% UNLESS noaltcontactphone %]
Lines 103-111 Link Here
103
                [% ELSE %]
104
                [% ELSE %]
104
                <label for="altcontactphone">
105
                <label for="altcontactphone">
105
                [% END %]
106
                [% END %]
106
                Phone:</label>
107
                [% t('Phone:') %]</label>
107
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
108
                    <input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
108
                [% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
109
                [% IF ( mandatoryaltcontactphone ) %]<span class="required">[% t('Required') %]</span>[% END %]
109
            </li>
110
            </li>
110
        [% END %]
111
        [% END %]
111
            </ol>
112
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-de.inc (-18 / +19 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset class="rows" id="memberentry_mainaddress">
2
<fieldset class="rows" id="memberentry_mainaddress">
2
    <legend id="main_address_lgd">Main address</legend><ol>
3
    <legend id="main_address_lgd">[% t('Main address') %]</legend><ol>
3
[% UNLESS nostreettype %]
4
[% UNLESS nostreettype %]
4
    [% IF roadtypes %]
5
    [% IF roadtypes %]
5
      <li>
6
      <li>
Lines 8-14 Link Here
8
      [% ELSE %]
9
      [% ELSE %]
9
      <label for="streettype">
10
      <label for="streettype">
10
      [% END %]
11
      [% END %]
11
      Street type: </label>
12
      [% t('Street type:') %] </label>
12
      <select name="streettype">
13
      <select name="streettype">
13
        <option value=""></option>
14
        <option value=""></option>
14
        [% FOR roadtype IN roadtypes %]
15
        [% FOR roadtype IN roadtypes %]
Lines 19-25 Link Here
19
          [% END %]
20
          [% END %]
20
        [% END %]
21
        [% END %]
21
      </select>
22
      </select>
22
      [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
23
      [% IF ( mandatorystreettype ) %]<span class="required">[% t('Required') %]</span>[% END %]
23
      </li>
24
      </li>
24
    [% END %]
25
    [% END %]
25
        [% END %]
26
        [% END %]
Lines 30-38 Link Here
30
      [% ELSE %]
31
      [% ELSE %]
31
      <label for="address">
32
      <label for="address">
32
      [% END %]
33
      [% END %]
33
      Address: </label>
34
      [% t('Address:') %] </label>
34
            <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
35
            <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
35
      [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
36
      [% IF ( mandatoryaddress ) %]<span class="required">[% t('Required') %]</span>[% END %]
36
    </li>
37
    </li>
37
        [% END %]
38
        [% END %]
38
        [% UNLESS nostreetnumber %]
39
        [% UNLESS nostreetnumber %]
Lines 42-50 Link Here
42
      [% ELSE %]
43
      [% ELSE %]
43
      <label for="streetnumber">
44
      <label for="streetnumber">
44
      [% END %]
45
      [% END %]
45
      Street number: </label>
46
      [% t('Street number:') %] </label>
46
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
47
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
47
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
48
[% IF ( mandatorystreetnumber ) %]<span class="required">[% t('Required') %]</span>[% END %]
48
    </li>
49
    </li>
49
        [% END %]
50
        [% END %]
50
        [% UNLESS noaddress2 %]
51
        [% UNLESS noaddress2 %]
Lines 54-62 Link Here
54
      [% ELSE %]
55
      [% ELSE %]
55
      <label for="address2">
56
      <label for="address2">
56
      [% END %]
57
      [% END %]
57
      Address 2: </label>
58
      [% t('Address 2:') %] </label>
58
            <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
59
            <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
59
      [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
60
      [% IF ( mandatoryaddress2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
60
    </li>
61
    </li>
61
        [% END %]
62
        [% END %]
62
        [% UNLESS nozipcode %]
63
        [% UNLESS nozipcode %]
Lines 66-74 Link Here
66
      [% ELSE %]
67
      [% ELSE %]
67
        <label for="zipcode">
68
        <label for="zipcode">
68
      [% END %]
69
      [% END %]
69
      ZIP/Postal code: </label>
70
      [% t('ZIP/Postal code:') %] </label>
70
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
71
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
71
          [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
72
          [% IF ( mandatoryzipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
72
    </li>
73
    </li>
73
        [% END %]
74
        [% END %]
74
        [% UNLESS nocity %]
75
        [% UNLESS nocity %]
Lines 78-86 Link Here
78
      [% ELSE %]
79
      [% ELSE %]
79
        <label for="city">
80
        <label for="city">
80
      [% END %]
81
      [% END %]
81
      City: </label>
82
      [% t('City:') %] </label>
82
        <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
83
        <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
83
        [% IF cities.count %]or choose
84
        [% IF cities.count %][% t('or choose') %]
84
        <select id="select_city" name="select_city">
85
        <select id="select_city" name="select_city">
85
            <option value="|||"></option>
86
            <option value="|||"></option>
86
            [% FOREACH c IN cities %]
87
            [% FOREACH c IN cities %]
Lines 94-100 Link Here
94
            [% END %]
95
            [% END %]
95
        </select>
96
        </select>
96
        [% END %]
97
        [% END %]
97
      [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
98
      [% IF ( mandatorycity ) %]<span class="required">[% t('Required') %]</span>[% END %]
98
    </li>
99
    </li>
99
        [% END %]
100
        [% END %]
100
        [% UNLESS nostate %]
101
        [% UNLESS nostate %]
Lines 104-112 Link Here
104
      [% ELSE %]
105
      [% ELSE %]
105
        <label for="state">
106
        <label for="state">
106
      [% END %]
107
      [% END %]
107
      State: </label>
108
      [% t('State:') %] </label>
108
      <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
109
      <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
109
      [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
110
      [% IF ( mandatorystate ) %]<span class="required">[% t('Required') %]</span>[% END %]
110
    </li>
111
    </li>
111
        [% END %]
112
        [% END %]
112
        [% UNLESS nocountry %]
113
        [% UNLESS nocountry %]
Lines 116-124 Link Here
116
      [% ELSE %]
117
      [% ELSE %]
117
        <label for="country">
118
        <label for="country">
118
      [% END %]
119
      [% END %]
119
      Country: </label>
120
      [% t('Country:') %] </label>
120
        <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
121
        <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
121
      [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
122
      [% IF ( mandatorycountry ) %]<span class="required">[% t('Required') %]</span>[% END %]
122
    </li>
123
    </li>
123
        [% END %]
124
        [% END %]
124
    </ol>
125
    </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-fr.inc (-18 / +19 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset class="rows" id="memberentry_mainaddress">
2
<fieldset class="rows" id="memberentry_mainaddress">
2
    <legend id="main_address_lgd">Main address</legend><ol>
3
    <legend id="main_address_lgd">[% t('Main address') %]</legend><ol>
3
[% UNLESS nostreettype %]
4
[% UNLESS nostreettype %]
4
    [% UNLESS nostreetnumber %]
5
    [% UNLESS nostreetnumber %]
5
        [% IF ( mandatorystreetnumber ) %]
6
        [% IF ( mandatorystreetnumber ) %]
Lines 7-15 Link Here
7
        [% ELSE %]
8
        [% ELSE %]
8
            <label for="streetnumber">
9
            <label for="streetnumber">
9
        [% END %]
10
        [% END %]
10
            Street number: </label>
11
            [% t('Street number:') %] </label>
11
            <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
12
            <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
12
        [% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
13
        [% IF ( mandatorystreetnumber ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
    [% END %]
14
    [% END %]
14
15
15
    [% IF roadtypes %]
16
    [% IF roadtypes %]
Lines 19-25 Link Here
19
        [% ELSE %]
20
        [% ELSE %]
20
            <label for="streettype">
21
            <label for="streettype">
21
        [% END %]
22
        [% END %]
22
        Street type: </label>
23
        [% t('Street type:') %] </label>
23
        <select name="streettype">
24
        <select name="streettype">
24
           <option value=""></option>
25
           <option value=""></option>
25
        [% FOR roadtype IN roadtypes %]
26
        [% FOR roadtype IN roadtypes %]
Lines 30-36 Link Here
30
            [% END %]
31
            [% END %]
31
        [% END %]
32
        [% END %]
32
        </select>
33
        </select>
33
        [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
34
        [% IF ( mandatorystreettype ) %]<span class="required">[% t('Required') %]</span>[% END %]
34
        </li>
35
        </li>
35
    [% END %]
36
    [% END %]
36
[% END %]
37
[% END %]
Lines 41-49 Link Here
41
    [% ELSE %]
42
    [% ELSE %]
42
        <label for="address">
43
        <label for="address">
43
    [% END %]
44
    [% END %]
44
    Address: </label>
45
    [% t('Address:') %] </label>
45
        <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
46
        <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
46
    [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
47
    [% IF ( mandatoryaddress ) %]<span class="required">[% t('Required') %]</span>[% END %]
47
      </li>
48
      </li>
48
[% END %]
49
[% END %]
49
[% UNLESS noaddress2 %]
50
[% UNLESS noaddress2 %]
Lines 53-61 Link Here
53
    [% ELSE %]
54
    [% ELSE %]
54
        <label for="address2">
55
        <label for="address2">
55
    [% END %]
56
    [% END %]
56
        Address 2: </label>
57
        [% t('Address 2:') %] </label>
57
        <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
58
        <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
58
    [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
59
    [% IF ( mandatoryaddress2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
59
    </li>
60
    </li>
60
[% END %]
61
[% END %]
61
[% UNLESS nozipcode %]
62
[% UNLESS nozipcode %]
Lines 65-73 Link Here
65
    [% ELSE %]
66
    [% ELSE %]
66
        <label for="zipcode">
67
        <label for="zipcode">
67
    [% END %]
68
    [% END %]
68
    ZIP/Postal code: </label>
69
    [% t('ZIP/Postal code:') %] </label>
69
    <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
70
    <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
70
    [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
71
    [% IF ( mandatoryzipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
71
    </li>
72
    </li>
72
[% END %]
73
[% END %]
73
[% UNLESS nocity %]
74
[% UNLESS nocity %]
Lines 77-85 Link Here
77
    [% ELSE %]
78
    [% ELSE %]
78
        <label for="city">
79
        <label for="city">
79
    [% END %]
80
    [% END %]
80
    City: </label>
81
    [% t('City:') %] </label>
81
    <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
82
    <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
82
    [% IF cities.count %]or choose
83
    [% IF cities.count %][% t('or choose') %]
83
        <select id="select_city" name="select_city">
84
        <select id="select_city" name="select_city">
84
            <option value="|||"></option>
85
            <option value="|||"></option>
85
        [% FOREACH c IN cities %]
86
        [% FOREACH c IN cities %]
Lines 93-99 Link Here
93
        [% END %]
94
        [% END %]
94
        </select>
95
        </select>
95
    [% END %]
96
    [% END %]
96
    [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
97
    [% IF ( mandatorycity ) %]<span class="required">[% t('Required') %]</span>[% END %]
97
    </li>
98
    </li>
98
[% END %]
99
[% END %]
99
[% UNLESS nostate %]
100
[% UNLESS nostate %]
Lines 103-111 Link Here
103
    [% ELSE %]
104
    [% ELSE %]
104
        <label for="state">
105
        <label for="state">
105
    [% END %]
106
    [% END %]
106
        State: </label>
107
        [% t('State:') %] </label>
107
        <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
108
        <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
108
    [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
109
    [% IF ( mandatorystate ) %]<span class="required">[% t('Required') %]</span>[% END %]
109
    </li>
110
    </li>
110
[% END %]
111
[% END %]
111
[% UNLESS nocountry %]
112
[% UNLESS nocountry %]
Lines 115-123 Link Here
115
    [% ELSE %]
116
    [% ELSE %]
116
      <label for="country">
117
      <label for="country">
117
    [% END %]
118
    [% END %]
118
    Country: </label>
119
    [% t('Country:') %] </label>
119
      <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
120
      <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
120
    [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
121
    [% IF ( mandatorycountry ) %]<span class="required">[% t('Required') %]</span>[% END %]
121
    </li>
122
    </li>
122
[% END %]
123
[% END %]
123
</ol>
124
</ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-main-address-style-us.inc (-18 / +19 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<fieldset class="rows" id="memberentry_mainaddress">
2
<fieldset class="rows" id="memberentry_mainaddress">
2
    <legend id="main_address_lgd">Main address</legend><ol>
3
    <legend id="main_address_lgd">[% t('Main address') %]</legend><ol>
3
        [% UNLESS nostreetnumber %]
4
        [% UNLESS nostreetnumber %]
4
    <li>
5
    <li>
5
      [% IF ( mandatorystreetnumber ) %]
6
      [% IF ( mandatorystreetnumber ) %]
Lines 7-15 Link Here
7
      [% ELSE %]
8
      [% ELSE %]
8
      <label for="streetnumber">
9
      <label for="streetnumber">
9
      [% END %]
10
      [% END %]
10
      Street number: </label>
11
      [% t('Street number:') %] </label>
11
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
12
        <input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
12
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
13
[% IF ( mandatorystreetnumber ) %]<span class="required">[% t('Required') %]</span>[% END %]
13
    </li>
14
    </li>
14
        [% END %]
15
        [% END %]
15
        [% UNLESS nostreettype %]
16
        [% UNLESS nostreettype %]
Lines 20-26 Link Here
20
      [% ELSE %]
21
      [% ELSE %]
21
      <label for="streettype">
22
      <label for="streettype">
22
      [% END %]
23
      [% END %]
23
      Street type: </label>
24
      [% t('Street type:') %] </label>
24
      <select name="streettype">
25
      <select name="streettype">
25
        <option value=""></option>
26
        <option value=""></option>
26
        [% FOR roadtype IN roadtypes %]
27
        [% FOR roadtype IN roadtypes %]
Lines 31-37 Link Here
31
          [% END %]
32
          [% END %]
32
        [% END %]
33
        [% END %]
33
      </select>
34
      </select>
34
      [% IF ( mandatorystreettype ) %]<span class="required">Required</span>[% END %]
35
      [% IF ( mandatorystreettype ) %]<span class="required">[% t('Required') %]</span>[% END %]
35
      </li>
36
      </li>
36
    [% END %]
37
    [% END %]
37
        [% END %]
38
        [% END %]
Lines 42-50 Link Here
42
      [% ELSE %]
43
      [% ELSE %]
43
      <label for="address">
44
      <label for="address">
44
      [% END %]
45
      [% END %]
45
      Address: </label>
46
      [% t('Address:') %] </label>
46
            <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
47
            <input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
47
      [% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
48
      [% IF ( mandatoryaddress ) %]<span class="required">[% t('Required') %]</span>[% END %]
48
    </li>
49
    </li>
49
        [% END %]
50
        [% END %]
50
        [% UNLESS noaddress2 %]
51
        [% UNLESS noaddress2 %]
Lines 54-62 Link Here
54
      [% ELSE %]
55
      [% ELSE %]
55
      <label for="address2">
56
      <label for="address2">
56
      [% END %]
57
      [% END %]
57
      Address 2: </label>
58
      [% t('Address 2:') %] </label>
58
            <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
59
            <input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
59
      [% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
60
      [% IF ( mandatoryaddress2 ) %]<span class="required">[% t('Required') %]</span>[% END %]
60
    </li>
61
    </li>
61
        [% END %]
62
        [% END %]
62
        [% UNLESS nocity %]
63
        [% UNLESS nocity %]
Lines 66-74 Link Here
66
      [% ELSE %]
67
      [% ELSE %]
67
        <label for="city">
68
        <label for="city">
68
      [% END %]
69
      [% END %]
69
      City: </label>
70
      [% t('City:') %] </label>
70
        <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
71
        <input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
71
        [% IF cities.count %]or choose
72
        [% IF cities.count %][% t('or choose') %]
72
        <select id="select_city" name="select_city">
73
        <select id="select_city" name="select_city">
73
            <option value="|||"></option>
74
            <option value="|||"></option>
74
            [% FOREACH c IN cities %]
75
            [% FOREACH c IN cities %]
Lines 82-88 Link Here
82
            [% END %]
83
            [% END %]
83
        </select>
84
        </select>
84
        [% END %]
85
        [% END %]
85
      [% IF ( mandatorycity ) %]<span class="required">Required</span>[% END %]
86
      [% IF ( mandatorycity ) %]<span class="required">[% t('Required') %]</span>[% END %]
86
    </li>
87
    </li>
87
        [% END %]
88
        [% END %]
88
        [% UNLESS nostate %]
89
        [% UNLESS nostate %]
Lines 92-100 Link Here
92
      [% ELSE %]
93
      [% ELSE %]
93
        <label for="state">
94
        <label for="state">
94
      [% END %]
95
      [% END %]
95
      State: </label>
96
      [% t('State:') %] </label>
96
      <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
97
      <input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
97
      [% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
98
      [% IF ( mandatorystate ) %]<span class="required">[% t('Required') %]</span>[% END %]
98
    </li>
99
    </li>
99
        [% END %]
100
        [% END %]
100
        [% UNLESS nozipcode %]
101
        [% UNLESS nozipcode %]
Lines 104-112 Link Here
104
      [% ELSE %]
105
      [% ELSE %]
105
        <label for="zipcode">
106
        <label for="zipcode">
106
      [% END %]
107
      [% END %]
107
      ZIP/Postal code: </label>
108
      [% t('ZIP/Postal code:') %] </label>
108
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
109
            <input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
109
      [% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
110
      [% IF ( mandatoryzipcode ) %]<span class="required">[% t('Required') %]</span>[% END %]
110
    </li>
111
    </li>
111
        [% END %]
112
        [% END %]
112
        [% UNLESS nocountry %]
113
        [% UNLESS nocountry %]
Lines 116-124 Link Here
116
      [% ELSE %]
117
      [% ELSE %]
117
        <label for="country">
118
        <label for="country">
118
      [% END %]
119
      [% END %]
119
      Country: </label>
120
      [% t('Country:') %] </label>
120
        <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
121
        <input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
121
      [% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
122
      [% IF ( mandatorycountry ) %]<span class="required">[% t('Required') %]</span>[% END %]
122
    </li>
123
    </li>
123
        [% END %]
124
        [% END %]
124
    </ol>
125
    </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-menu.inc (-10 / +11 lines)
Lines 1-27 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( borrowernumber ) %]
2
[% IF ( borrowernumber ) %]
2
<div id="menu">
3
<div id="menu">
3
  <ul>
4
  <ul>
4
    [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li>
5
    [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">[% t('Check out') %]</a></li>
5
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li>
6
    [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% t('Details') %]</a></li>
6
    [% IF ( CAN_user_updatecharges ) %]
7
    [% IF ( CAN_user_updatecharges ) %]
7
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
8
        [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">[% t('Fines') %]</a></li>
8
    [% END %]
9
    [% END %]
9
    [% IF ( intranetreadinghistory ) %]
10
    [% IF ( intranetreadinghistory ) %]
10
        [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li>
11
        [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">[% t('Circulation history') %]</a></li>
11
    [% END %]
12
    [% END %]
12
    [% IF ( CAN_user_parameters ) %]
13
    [% IF ( CAN_user_parameters ) %]
13
        [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=MEMBERS&amp;action=MODIFY&amp;object=[% borrowernumber %]">Modification log</a></li>
14
        [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&action=MODIFY&object=[% borrowernumber %]">[% t('Modification log') %]</a></li>
14
    [% END %]
15
    [% END %]
15
	[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li>
16
	[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">[% t('Notices') %]</a></li>
16
    [% IF (  statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li>
17
    [% IF (  statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">[% t('Statistics') %]</a></li>
17
    [% IF EnableBorrowerFiles %]
18
    [% IF EnableBorrowerFiles %]
18
        [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li>
19
        [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">[% t('Files') %]</a></li>
19
    [% END %]
20
    [% END %]
20
    [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
21
    [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
21
        [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber %]">Discharge</a></li>
22
        [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber %]">[% t('Discharge') %]</a></li>
22
    [% END %]
23
    [% END %]
23
    [% IF Koha.Preference('HouseboundModule') %]
24
    [% IF Koha.Preference('HouseboundModule') %]
24
        [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% borrowernumber %]">Housebound</a></li>
25
        [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% borrowernumber %]">[% t('Housebound') %]</a></li>
25
    [% END %]
26
    [% END %]
26
  </ul>
27
  </ul>
27
</div>
28
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc (-39 / +40 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE Borrowers %]
4
[% USE Borrowers %]
Lines 7-96 Link Here
7
<div id="toolbar" class="btn-toolbar">
8
<div id="toolbar" class="btn-toolbar">
8
    [% IF CAN_user_borrowers_edit_borrowers %]
9
    [% IF CAN_user_borrowers_edit_borrowers %]
9
        [% IF ( guarantor ) %]
10
        [% IF ( guarantor ) %]
10
            <a id="editpatron" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber %]&amp;guarantorid=[% guarantor.borrowernumber %]&amp;categorycode=[% patron.categorycode %]">
11
            <a id="editpatron" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber %]&guarantorid=[% guarantor.borrowernumber %]&categorycode=[% patron.categorycode %]">
11
        [% ELSE %]
12
        [% ELSE %]
12
            <a id="editpatron" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;destination=circ&amp;borrowernumber=[% patron.borrowernumber %]&amp;categorycode=[% patron.categorycode %]">
13
            <a id="editpatron" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber %]&categorycode=[% patron.categorycode %]">
13
        [% END %]
14
        [% END %]
14
        <i class="fa fa-pencil"></i> Edit</a>
15
        <i class="fa fa-pencil"></i> [% t('Edit') %]</a>
15
    [% END %]
16
    [% END %]
16
17
17
    [% IF CAN_user_borrowers_edit_borrowers %]
18
    [% IF CAN_user_borrowers_edit_borrowers %]
18
        [% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %]
19
        [% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %]
19
            <a id="addchild" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantorid=[% patron.borrowernumber %]"><i class="fa fa-plus"></i> Add child</a>
20
            <a id="addchild" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% patron.borrowernumber %]"><i class="fa fa-plus"></i> [% t('Add child') %]</a>
20
        [% END %]
21
        [% END %]
21
        [% IF CAN_user_borrowers_edit_borrowers %]
22
        [% IF CAN_user_borrowers_edit_borrowers %]
22
            <a id="changepassword" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber %]"><i class="fa fa-lock"></i> Change password</a>
23
            <a id="changepassword" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber %]"><i class="fa fa-lock"></i> [% t('Change password') %]</a>
23
        [% END %]
24
        [% END %]
24
        <a id="duplicate" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&amp;borrowernumber=[% patron.borrowernumber %]&amp;categorycode=[% patron.categorycode %]"><i class="fa fa-copy"></i> Duplicate</a>
25
        <a id="duplicate" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% patron.borrowernumber %]&categorycode=[% patron.categorycode %]"><i class="fa fa-copy"></i> [% t('Duplicate') %]</a>
25
    [% END %]
26
    [% END %]
26
27
27
    [% IF CAN_user_circulate_circulate_remaining_permissions %]
28
    [% IF CAN_user_circulate_circulate_remaining_permissions %]
28
    <div class="btn-group">
29
    <div class="btn-group">
29
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-print"></i> Print <span class="caret"></span></button>
30
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-print"></i> [% t('Print') %] <span class="caret"></span></button>
30
            <ul class="dropdown-menu">
31
            <ul class="dropdown-menu">
31
                <li><a id="printsummary" href="#">Print summary</a></li>
32
                <li><a id="printsummary" href="#">[% t('Print summary') %]</a></li>
32
                <li><a id="printslip" href="#">Print slip</a></li>
33
                <li><a id="printslip" href="#">[% t('Print slip') %]</a></li>
33
                <li><a id="printquickslip" href="#">Print quick slip</a></li>
34
                <li><a id="printquickslip" href="#">[% t('Print quick slip') %]</a></li>
34
                [% IF Borrowers.HasOverdues( patron.borrowernumber ) %]
35
                [% IF Borrowers.HasOverdues( patron.borrowernumber ) %]
35
                    <li><a id="print_overdues" href="#">Print overdues</a></li>
36
                    <li><a id="print_overdues" href="#">[% t('Print overdues') %]</a></li>
36
                [% END %]
37
                [% END %]
37
            </ul>
38
            </ul>
38
    </div>
39
    </div>
39
    [% END %]
40
    [% END %]
40
41
41
    [% IF ( CAN_user_reserveforothers ) %]
42
    [% IF ( CAN_user_reserveforothers ) %]
42
        <a id="searchtohold" class="btn btn-default btn-sm" href="#"><i class="fa fa-search"></i> Search to hold</a>
43
        <a id="searchtohold" class="btn btn-default btn-sm" href="#"><i class="fa fa-search"></i> [% t('Search to hold') %]</a>
43
    [% END %]
44
    [% END %]
44
45
45
    <a id="addnewmessageLabel" href="#add_message_form" data-toggle="modal" class="btn btn-default btn-sm"><i class="fa fa-comment-o"></i> Add message</a>
46
    <a id="addnewmessageLabel" href="#add_message_form" data-toggle="modal" class="btn btn-default btn-sm"><i class="fa fa-comment-o"></i> [% t('Add message') %]</a>
46
47
47
         <div class="btn-group">
48
         <div class="btn-group">
48
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></button>
49
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">[% t('More') %] <span class="caret"></span></button>
49
            <ul class="dropdown-menu">
50
            <ul class="dropdown-menu">
50
                [% IF CAN_user_borrowers_edit_borrowers %]
51
                [% IF CAN_user_borrowers_edit_borrowers %]
51
                    <li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&amp;destination=[% destination %]&amp;reregistration=y">Renew patron</a></li>
52
                    <li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&destination=[% destination %]&reregistration=y">[% t('Renew patron') %]</a></li>
52
                [% ELSE %]
53
                [% ELSE %]
53
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to renew patrons" id="renewpatron" href="#">Renew patron</a></li>
54
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="[% t('You are not authorized to renew patrons') %]" id="renewpatron" href="#">[% t('Renew patron') %]</a></li>
54
                [% END %]
55
                [% END %]
55
                [% IF ( CAN_user_permissions ) %]
56
                [% IF ( CAN_user_permissions ) %]
56
                    <li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=[% patron.borrowernumber %]">Set permissions</a></li>
57
                    <li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=[% patron.borrowernumber %]">[% t('Set permissions') %]</a></li>
57
                [% ELSE %]
58
                [% ELSE %]
58
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to set permissions" id="patronflags" href="#">Set permissions</a></li>
59
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="[% t('You are not authorized to set permissions') %]" id="patronflags" href="#">[% t('Set permissions') %]</a></li>
59
                [% END %]
60
                [% END %]
60
61
61
                [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
62
                [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
62
                    <li><a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">Discharge</a></li>
63
                    <li><a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">[% t('Discharge') %]</a></li>
63
                [% END %]
64
                [% END %]
64
65
65
                [% IF Koha.Preference('RESTOAuth2ClientCredentials') %]
66
                [% IF Koha.Preference('RESTOAuth2ClientCredentials') %]
66
                    [% IF CAN_user_borrowers_edit_borrowers %]
67
                    [% IF CAN_user_borrowers_edit_borrowers %]
67
                        <li><a id="apikeys" href="/cgi-bin/koha/members/apikeys.pl?patron_id=[% patron.borrowernumber %]">Manage API keys</a></li>
68
                        <li><a id="apikeys" href="/cgi-bin/koha/members/apikeys.pl?patron_id=[% patron.borrowernumber %]">[% t('Manage API keys') %]</a></li>
68
                    [% ELSE %]
69
                    [% ELSE %]
69
                        <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to manage API keys" id="apikeys" href="#">Manage API keys</a></li>
70
                        <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="[% t('You are not authorized to manage API keys') %]" id="apikeys" href="#">[% t('Manage API keys') %]</a></li>
70
                    [% END %]
71
                    [% END %]
71
                [% END %]
72
                [% END %]
72
73
73
                [% IF CAN_user_borrowers_edit_borrowers %]
74
                [% IF CAN_user_borrowers_edit_borrowers %]
74
                    [% IF ( NorwegianPatronDBEnable == 1 ) %]
75
                    [% IF ( NorwegianPatronDBEnable == 1 ) %]
75
                        <li><a id="deletepatronlocal" href="#">Delete local</a></li>
76
                        <li><a id="deletepatronlocal" href="#">[% t('Delete local') %]</a></li>
76
                        <li><a id="deletepatronremote" href="#">Delete remote</a></li>
77
                        <li><a id="deletepatronremote" href="#">[% t('Delete remote') %]</a></li>
77
                        <li><a id="deletepatronboth" href="#">Delete local and remote</a></li>
78
                        <li><a id="deletepatronboth" href="#">[% t('Delete local and remote') %]</a></li>
78
                    [% ELSE %]
79
                    [% ELSE %]
79
                        <li><a id="deletepatron" href="#">Delete</a></li>
80
                        <li><a id="deletepatron" href="#">[% t('Delete') %]</a></li>
80
                    [% END %]
81
                    [% END %]
81
                [% ELSE %]
82
                [% ELSE %]
82
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="You are not authorized to delete patrons" id="deletepatron" href="#">Delete</a></li>
83
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="[% t('You are not authorized to delete patrons') %]" id="deletepatron" href="#">[% t('Delete') %]</a></li>
83
                [% END %]
84
                [% END %]
84
                [% IF ( patron.is_child ) %]
85
                [% IF ( patron.is_child ) %]
85
                    <li><a id="updatechild" href="#">Update child to adult patron</a></li>
86
                    <li><a id="updatechild" href="#">[% t('Update child to adult patron') %]</a></li>
86
                [% ELSE %]
87
                [% ELSE %]
87
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Patron is an adult" id="updatechild" href="#">Update child to adult patron</a></li>
88
                    <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="[% t('Patron is an adult') %]" id="updatechild" href="#">[% t('Update child to adult patron') %]</a></li>
88
                [% END %]
89
                [% END %]
89
                [% IF Koha.Preference('intranetreadinghistory') %]
90
                [% IF Koha.Preference('intranetreadinghistory') %]
90
                    [%IF ( privacy == 2 ) %]
91
                    [%IF ( privacy == 2 ) %]
91
                        <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="Not allowed by patron's privacy settings" id="exportbarcodes" href="#">Export today's checked in barcodes</a></li>
92
                        <li class="disabled"><a data-toggle="tooltip" data-placement="left" title="[% t('Not allowed by patron\'s privacy settings') %]" id="exportbarcodes" href="#">[% t('Export today\'s checked in barcodes') %]</a></li>
92
                    [% ELSE %]
93
                    [% ELSE %]
93
                        <li><a id="exportcheckins" href="#">Export today's checked in barcodes</a></li>
94
                        <li><a id="exportcheckins" href="#">[% t('Export today\'s checked in barcodes') %]</a></li>
94
                    [% END %]
95
                    [% END %]
95
                [% END %]
96
                [% END %]
96
            </ul>
97
            </ul>
Lines 103-124 Link Here
103
        <div class="modal-content">
104
        <div class="modal-content">
104
            <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
105
            <form method="post" action="/cgi-bin/koha/circ/add_message.pl" id="message_form" name="message_f">
105
                <div class="modal-header">
106
                <div class="modal-header">
106
                    <h3>Leave a message</h3>
107
                    <h3>[% t('Leave a message') %]</h3>
107
                </div>
108
                </div>
108
                <div class="modal-body">
109
                <div class="modal-body">
109
                    <div class="form-group">
110
                    <div class="form-group">
110
                        <label for="message_type">Add a message for:</label>
111
                        <label for="message_type">[% t('Add a message for:') %]</label>
111
                        <select name="message_type" id="message_type">
112
                        <select name="message_type" id="message_type">
112
                            <option value="L">Staff - Internal note</option>
113
                            <option value="L">[% t('Staff - Internal note') %]</option>
113
                            <option value="B">OPAC - [% patron.firstname | html %] [% patron.surname | html %]</option>
114
                            <option value="B">[% t('OPAC -') %] [% patron.firstname | html %] [% patron.surname | html %]</option>
114
                        </select>
115
                        </select>
115
                    </div>
116
                    </div>
116
                    [% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
117
                    [% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
117
                    [% IF bor_notes %]
118
                    [% IF bor_notes %]
118
                        <div class="form-group">
119
                        <div class="form-group">
119
                            <label for="select_patron_messages">Predefined notes: </label>
120
                            <label for="select_patron_messages">[% t('Predefined notes:') %] </label>
120
                            <select name="type" id="select_patron_messages">
121
                            <select name="type" id="select_patron_messages">
121
                                <option value="">Select note</option>
122
                                <option value="">[% t('Select note') %]</option>
122
                                [% FOREACH bor_note IN bor_notes %]
123
                                [% FOREACH bor_note IN bor_notes %]
123
                                    <option value="[% bor_note.lib %]">[% bor_note.lib %]</option>
124
                                    <option value="[% bor_note.lib %]">[% bor_note.lib %]</option>
124
                                [% END %]
125
                                [% END %]
Lines 126-140 Link Here
126
                        </div>
127
                        </div>
127
                    [% END %]
128
                    [% END %]
128
                    <div class="form-group">
129
                    <div class="form-group">
129
                        <textarea rows="3" class="modal-textarea" name="borrower_message" id="borrower_message" ></textarea>
130
                        <textarea rows="3" class="modal-textarea" name="borrower_message" id="borrower_message"></textarea>
130
                    </div>
131
                    </div>
131
                    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
132
                    <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
132
                    <input type="hidden" name="batch" value="[% batch %]" />
133
                    <input type="hidden" name="batch" value="[% batch %]" />
133
                    <input type="hidden" name="branchcode" value="[% LoginBranchcode %]" />
134
                    <input type="hidden" name="branchcode" value="[% LoginBranchcode %]" />
134
                </div>
135
                </div>
135
                <div class="modal-footer">
136
                <div class="modal-footer">
136
                    <button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> Save</button>
137
                    <button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> [% t('Save') %]</button>
137
                    <button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> Cancel</button>
138
                    <button class="btn btn-default deny cancel" href="#" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i> [% t('Cancel') %]</button>
138
                </div>
139
                </div>
139
            </form>
140
            </form>
140
        </div>
141
        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/merge-record.inc (-3 / +4 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% BLOCK sourcetab %]
2
[% BLOCK sourcetab %]
2
    <div id="tabrecord[% record.recordid %]">
3
    <div id="tabrecord[% record.recordid %]">
3
        <div class="record">
4
        <div class="record">
Lines 46-58 Link Here
46
47
47
[% BLOCK mergesource %]
48
[% BLOCK mergesource %]
48
<div id="tabs" class="toptabs">
49
<div id="tabs" class="toptabs">
49
<h2>Source records</h2>
50
<h2>[% t('Source records') %]</h2>
50
    <ul>
51
    <ul>
51
        [% FOREACH record IN sourcerecords %]
52
        [% FOREACH record IN sourcerecords %]
52
            <li>
53
            <li>
53
                <a href="#tabrecord[% record.recordid %]">
54
                <a href="#tabrecord[% record.recordid %]">
54
                    [% record.recordid %]
55
                    [% record.recordid %]
55
                    [% IF record.reference %](ref)[% END %]
56
                    [% IF record.reference %][% t('(ref)') %][% END %]
56
                </a>
57
                </a>
57
            </li>
58
            </li>
58
        [% END %]
59
        [% END %]
Lines 67-73 Link Here
67
68
68
[% BLOCK mergetarget %]
69
[% BLOCK mergetarget %]
69
<div id="result">
70
<div id="result">
70
    <h2>Destination record</h2>
71
    <h2>[% t('Destination record') %]</h2>
71
    <div style="border:1px solid #E8E8E8;padding:1em;margin-top:2em;">
72
    <div style="border:1px solid #E8E8E8;padding:1em;margin-top:2em;">
72
        <ul id="resultul"></ul>
73
        <ul id="resultul"></ul>
73
    </div>
74
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc (-77 / +30 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<!-- snippet for form to set borrower and patron category messaging preferences -->
3
<!-- snippet for form to set borrower and patron category messaging preferences -->
3
4
Lines 5-27 Link Here
5
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
6
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
6
  <table>
7
  <table>
7
    <tr><th></th>
8
    <tr><th></th>
8
        <th>Days in advance</th>
9
        <th>[% t('Days in advance') %]</th>
9
        [% IF Koha.Preference('SMSSendDriver') %]<th>SMS</th>[% END %]
10
        [% IF Koha.Preference('SMSSendDriver') %]<th>[% t('SMS') %]</th>[% END %]
10
        [% IF Koha.Preference('TalkingTechItivaPhoneNotification') %]<th>Phone</th>[% END %]
11
        [% IF Koha.Preference('TalkingTechItivaPhoneNotification') %]<th>[% t('Phone') %]</th>[% END %]
11
        <th>Email</th>
12
        <th>[% t('Email') %]</th>
12
        <th>Digests only <i id="info_digests" data-toggle="tooltip" title="You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message." data-placement="right" class="fa fa-info-circle"></i></th>
13
        <th>[% t('Digests only') %] <i id="info_digests" data-toggle="tooltip" title="[% t('You can ask for a digest to reduce the number of messages. Messages will be saved and sent as a single message.') %]" data-placement="right" class="fa fa-info-circle"></i></th>
13
        <!-- <th>RSS</th> -->
14
        <!-- <th>RSS</th> -->
14
        [% UNLESS ( messaging_form_inactive ) %]<th>Do not notify</th>[% END %]
15
        [% UNLESS ( messaging_form_inactive ) %]<th>[% t('Do not notify') %]</th>[% END %]
15
    </tr>
16
    </tr>
16
    [% FOREACH messaging_preference IN messaging_preferences %]
17
    [% FOREACH messaging_preference IN messaging_preferences %]
17
    <tr>
18
    <tr>
18
      <td>[% IF ( messaging_preference.Item_Due ) %]Item due
19
      <td>[% IF ( messaging_preference.Item_Due ) %][% t('Item due') %]
19
          [% ELSIF ( messaging_preference.Advance_Notice ) %]Advance notice
20
          [% ELSIF ( messaging_preference.Advance_Notice ) %][% t('Advance notice') %]
20
          [% ELSIF ( messaging_preference.Upcoming_Events ) %]Upcoming events
21
          [% ELSIF ( messaging_preference.Upcoming_Events ) %][% t('Upcoming events') %]
21
          [% ELSIF ( messaging_preference.Hold_Filled ) %]Hold filled
22
          [% ELSIF ( messaging_preference.Hold_Filled ) %][% t('Hold filled') %]
22
          [% ELSIF ( messaging_preference.Item_Check_in ) %]Item check-in
23
          [% ELSIF ( messaging_preference.Item_Check_in ) %][% t('Item check-in') %]
23
          [% ELSIF ( messaging_preference.Item_Checkout ) %]Item checkout
24
          [% ELSIF ( messaging_preference.Item_Checkout ) %][% t('Item checkout') %]
24
          [% ELSE %]Unknown [% END %]</td>
25
          [% ELSE %][% t('Unknown') %] [% END %]</td>
25
      [% IF ( messaging_preference.takes_days ) %]
26
      [% IF ( messaging_preference.takes_days ) %]
26
      <td>
27
      <td>
27
          [% IF ( messaging_form_inactive ) %]
28
          [% IF ( messaging_form_inactive ) %]
Lines 45-71 Link Here
45
          <td>
46
          <td>
46
          [% IF ( messaging_form_inactive ) %]
47
          [% IF ( messaging_form_inactive ) %]
47
              [% IF ( messaging_preference.transports_sms ) %]
48
              [% IF ( messaging_preference.transports_sms ) %]
48
                 <input type="checkbox"
49
                 <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" disabled="disabled" />
49
                 id="sms[% messaging_preference.message_attribute_id %]"
50
                 name="[% messaging_preference.message_attribute_id %]"
51
                 value="sms" checked="checked" disabled="disabled" />
52
              [% ELSE %]
50
              [% ELSE %]
53
                 <input type="checkbox"
51
                 <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" disabled="disabled" />
54
                 id="sms[% messaging_preference.message_attribute_id %]"
55
                 name="[% messaging_preference.message_attribute_id %]"
56
                 value="sms" disabled="disabled" />
57
              [% END %]
52
              [% END %]
58
          [% ELSE %]
53
          [% ELSE %]
59
              [% IF ( messaging_preference.transports_sms ) %]
54
              [% IF ( messaging_preference.transports_sms ) %]
60
                 <input type="checkbox"
55
                 <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
61
                 id="sms[% messaging_preference.message_attribute_id %]"
62
                 name="[% messaging_preference.message_attribute_id %]"
63
                 value="sms" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
64
              [% ELSE %]
56
              [% ELSE %]
65
                 <input type="checkbox"
57
                 <input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
66
                 id="sms[% messaging_preference.message_attribute_id %]"
67
                 name="[% messaging_preference.message_attribute_id %]"
68
                 value="sms" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
69
              [% END %]
58
              [% END %]
70
          [% END %]
59
          [% END %]
71
          </td>
60
          </td>
Lines 79-105 Link Here
79
          <td>
68
          <td>
80
          [% IF ( messaging_form_inactive ) %]
69
          [% IF ( messaging_form_inactive ) %]
81
              [% IF ( messaging_preference.transports_phone ) %]
70
              [% IF ( messaging_preference.transports_phone ) %]
82
                 <input type="checkbox"
71
                 <input type="checkbox" id="phone[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="phone" checked="checked" disabled="disabled" />
83
                 id="phone[% messaging_preference.message_attribute_id %]"
84
                 name="[% messaging_preference.message_attribute_id %]"
85
                 value="phone" checked="checked" disabled="disabled" />
86
              [% ELSE %]
72
              [% ELSE %]
87
                 <input type="checkbox"
73
                 <input type="checkbox" id="phone[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="phone" disabled="disabled" />
88
                 id="phone[% messaging_preference.message_attribute_id %]"
89
                 name="[% messaging_preference.message_attribute_id %]"
90
                 value="phone" disabled="disabled" />
91
              [% END %]
74
              [% END %]
92
          [% ELSE %]
75
          [% ELSE %]
93
              [% IF ( messaging_preference.transports_phone ) %]
76
              [% IF ( messaging_preference.transports_phone ) %]
94
                 <input type="checkbox"
77
                 <input type="checkbox" id="phone[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="phone" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
95
                 id="phone[% messaging_preference.message_attribute_id %]"
96
                 name="[% messaging_preference.message_attribute_id %]"
97
                 value="phone" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
98
              [% ELSE %]
78
              [% ELSE %]
99
                 <input type="checkbox"
79
                 <input type="checkbox" id="phone[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="phone" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
100
                 id="phone[% messaging_preference.message_attribute_id %]"
101
                 name="[% messaging_preference.message_attribute_id %]"
102
                 value="phone" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
103
              [% END %]
80
              [% END %]
104
          [% END %]
81
          [% END %]
105
          </td>
82
          </td>
Lines 112-138 Link Here
112
      <td>
89
      <td>
113
          [% IF ( messaging_form_inactive ) %]
90
          [% IF ( messaging_form_inactive ) %]
114
              [% IF ( messaging_preference.transports_email ) %]
91
              [% IF ( messaging_preference.transports_email ) %]
115
                <input type="checkbox"
92
                <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" checked="checked" disabled="disabled" />
116
                   id="email[% messaging_preference.message_attribute_id %]"
117
                   name="[% messaging_preference.message_attribute_id %]"
118
                   value="email" checked="checked" disabled="disabled" />
119
              [% ELSE %]
93
              [% ELSE %]
120
                <input type="checkbox"
94
                <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" disabled="disabled" />
121
                   id="email[% messaging_preference.message_attribute_id %]"
122
                   name="[% messaging_preference.message_attribute_id %]"
123
                   value="email" disabled="disabled" />
124
              [% END %]
95
              [% END %]
125
          [% ELSE %]
96
          [% ELSE %]
126
              [% IF ( messaging_preference.transports_email ) %]
97
              [% IF ( messaging_preference.transports_email ) %]
127
            <input type="checkbox"
98
            <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
128
                 id="email[% messaging_preference.message_attribute_id %]"
129
                 name="[% messaging_preference.message_attribute_id %]"
130
                 value="email" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
131
              [% ELSE %]
99
              [% ELSE %]
132
            <input type="checkbox"
100
            <input type="checkbox" id="email[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="email" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
133
                 id="email[% messaging_preference.message_attribute_id %]"
134
                 name="[% messaging_preference.message_attribute_id %]"
135
                 value="email" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
136
              [% END %]
101
              [% END %]
137
          [% END %]
102
          [% END %]
138
      </td>
103
      </td>
Lines 144-170 Link Here
144
      <td>
109
      <td>
145
          [% IF ( messaging_form_inactive ) %]
110
          [% IF ( messaging_form_inactive ) %]
146
              [% IF ( messaging_preference.digest ) %]
111
              [% IF ( messaging_preference.digest ) %]
147
                <input type="checkbox"
112
                <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" checked="checked" disabled="disabled" />
148
                     id="digest[% messaging_preference.message_attribute_id %]"
149
                     value="[% messaging_preference.message_attribute_id %]"
150
                     name="digest" checked="checked" disabled="disabled" />
151
              [% ELSE %]
113
              [% ELSE %]
152
                <input type="checkbox"
114
                <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" disabled="disabled" />
153
                     id="digest[% messaging_preference.message_attribute_id %]"
154
                     value="[% messaging_preference.message_attribute_id %]"
155
                     name="digest" disabled="disabled" />
156
              [% END %]
115
              [% END %]
157
          [% ELSE %]
116
          [% ELSE %]
158
              [% IF ( messaging_preference.digest ) %]
117
              [% IF ( messaging_preference.digest ) %]
159
                <input type="checkbox"
118
                <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
160
                     id="digest[% messaging_preference.message_attribute_id %]"
161
                     value="[% messaging_preference.message_attribute_id %]"
162
                     name="digest" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
163
              [% ELSE %]
119
              [% ELSE %]
164
                <input type="checkbox"
120
                <input type="checkbox" id="digest[% messaging_preference.message_attribute_id %]" value="[% messaging_preference.message_attribute_id %]" name="digest" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
165
                     id="digest[% messaging_preference.message_attribute_id %]"
166
                     value="[% messaging_preference.message_attribute_id %]"
167
                     name="digest" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
168
              [% END %]
121
              [% END %]
169
          [% END %]
122
          [% END %]
170
      </td>
123
      </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/serials_multi_receiving.inc (-5 / +6 lines)
Lines 1-17 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="multi_receiving" class="modal" tabindex="-1" role="dialog" aria-labelledby="multi_receiving_label" aria-hidden="true">
2
<div id="multi_receiving" class="modal" tabindex="-1" role="dialog" aria-labelledby="multi_receiving_label" aria-hidden="true">
2
    <div class="modal-dialog">
3
    <div class="modal-dialog">
3
        <div class="modal-content">
4
        <div class="modal-content">
4
            <form action="/cgi-bin/koha/serials/serials-collection.pl" method="post">
5
            <form action="/cgi-bin/koha/serials/serials-collection.pl" method="post">
5
                <div class="modal-body">
6
                <div class="modal-body">
6
                    <fieldset class="rows">
7
                    <fieldset class="rows">
7
                        <legend>Multi receiving</legend>
8
                        <legend>[% t('Multi receiving') %]</legend>
8
                        <ol>
9
                        <ol>
9
                            <li>
10
                            <li>
10
                            <label for="nbissues" class="required">How many issues do you want to receive?</label>
11
                            <label for="nbissues" class="required">[% t('How many issues do you want to receive?') %]</label>
11
                            <input type="text"  size="25" id="nbissues" name="nbissues" required="required" />
12
                            <input type="text" size="25" id="nbissues" name="nbissues" required="required" />
12
                            <li>
13
                            <li>
13
                            <li>
14
                            <li>
14
                                <label for="date_received_today">Set the date received to today?</label>
15
                                <label for="date_received_today">[% t('Set the date received to today?') %]</label>
15
                                <input type="checkbox" id="date_received_today" name="date_received_today" />
16
                                <input type="checkbox" id="date_received_today" name="date_received_today" />
16
                            </li>
17
                            </li>
17
                        </ol>
18
                        </ol>
Lines 23-29 Link Here
23
                </div>
24
                </div>
24
25
25
                <div class="modal-footer">
26
                <div class="modal-footer">
26
                    <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">Cancel</a>
27
                    <a href="#" class="cancel" data-dismiss="modal" aria-hidden="true">[% t('Cancel') %]</a>
27
                    <input type="submit" class="btn btn-default approve" value="OK" />
28
                    <input type="submit" class="btn btn-default approve" value="OK" />
28
                </div>
29
                </div>
29
            </form>
30
            </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/nl-search-form.tt (-1 / +2 lines)
Lines 1-8 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<form method="POST" action="nl-search.pl" autocomplete="off"> <!-- This form will be used for things like social security numbers, so it makes sense not to remember them. -->
2
<form method="POST" action="nl-search.pl" autocomplete="off"> <!-- This form will be used for things like social security numbers, so it makes sense not to remember them. -->
2
<input type="hidden" name="op" value="search" />
3
<input type="hidden" name="op" value="search" />
3
    <fieldset>
4
    <fieldset>
4
        <legend>[% nl_search_form_title %]</legend>
5
        <legend>[% nl_search_form_title %]</legend>
5
        <label for="q">Social security or card number: </label>
6
        <label for="q">[% t('Social security or card number:') %] </label>
6
        <input type="text" name="q" value="[% q %]">
7
        <input type="text" name="q" value="[% q %]">
7
        <input type="submit" value="Search">
8
        <input type="submit" value="Search">
8
    </fieldset>
9
    </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/noadd-warnings.inc (-3 / +4 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( no_add ) %]
2
[% IF ( no_add ) %]
2
    <div class="dialog alert">
3
    <div class="dialog alert">
3
        <h3>Cannot add patron</h3>
4
        <h3>[% t('Cannot add patron') %]</h3>
4
        [% IF ( no_branches ) %]
5
        [% IF ( no_branches ) %]
5
            <p><strong>There are no libraries defined. </strong>[% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/branches.pl">Please add a library</a>.[% ELSE %]An administrator must define at least one library.[% END %]</p>
6
            <p><strong>[% t('There are no libraries defined.') %] </strong>[% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/branches.pl">[% t('Please add a library') %]</a>.[% ELSE %][% t('An administrator must define at least one library.') %][% END %]</p>
6
        [% END %]
7
        [% END %]
7
        [% IF ( no_categories ) %]
8
        [% IF ( no_categories ) %]
8
            <p><strong>There are no patron categories defined. </strong>[% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/categories.pl">Please add a patron category</a>.[% ELSE %]An administrator must define at least one patron category.[% END %]</p>
9
            <p><strong>[% t('There are no patron categories defined.') %] </strong>[% IF ( CAN_user_parameters ) %]<a href="/cgi-bin/koha/admin/categories.pl">[% t('Please add a patron category') %]</a>.[% ELSE %][% t('An administrator must define at least one patron category.') %][% END %]</p>
9
        [% END %]
10
        [% END %]
10
    </div>
11
    </div>
11
[% END %]
12
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/onboarding_messages.inc (-16 / +17 lines)
Lines 1-37 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% FOR m IN messages %]
2
[% FOR m IN messages %]
2
    [% SWITCH m.code %]
3
    [% SWITCH m.code %]
3
        [% CASE 'success_on_insert_library' %]
4
        [% CASE 'success_on_insert_library' %]
4
            <div class="alert alert-success">Library created!</div>
5
            <div class="alert alert-success">[% t('Library created!') %]</div>
5
        [% CASE 'error_on_insert_library' %]
6
        [% CASE 'error_on_insert_library' %]
6
            <div class="alert alert-danger">Library already exists and cannot be modified!</div>
7
            <div class="alert alert-danger">[% t('Library already exists and cannot be modified!') %]</div>
7
        [% CASE 'success_on_insert_category' %]
8
        [% CASE 'success_on_insert_category' %]
8
            <div class="alert alert-success">Patron category created!</div>
9
            <div class="alert alert-success">[% t('Patron category created!') %]</div>
9
        [% CASE 'error_on_insert_category' %]
10
        [% CASE 'error_on_insert_category' %]
10
            <div class="alert alert-danger">Patron category already exists and cannot be modified!</div>
11
            <div class="alert alert-danger">[% t('Patron category already exists and cannot be modified!') %]</div>
11
        [% CASE 'success_on_insert_patron' %]
12
        [% CASE 'success_on_insert_patron' %]
12
            <div class="alert alert-success">Administrator account created!</div>
13
            <div class="alert alert-success">[% t('Administrator account created!') %]</div>
13
        [% CASE 'error_on_insert_patron' %]
14
        [% CASE 'error_on_insert_patron' %]
14
            <div class="alert alert-danger">The patron has not been created! Cardnumber or Userid may already exist.</div>
15
            <div class="alert alert-danger">[% t('The patron has not been created! Cardnumber or Userid may already exist.') %]</div>
15
        [% CASE 'ERROR_cardnumber_already_exists' %]
16
        [% CASE 'ERROR_cardnumber_already_exists' %]
16
            <div class="alert alert-danger">Card number already in use.</div>
17
            <div class="alert alert-danger">[% t('Card number already in use.') %]</div>
17
        [% CASE 'ERROR_cardnumber_length' %]
18
        [% CASE 'ERROR_cardnumber_length' %]
18
            <div class="alert alert-danger">Card number length is incorrect.</div>
19
            <div class="alert alert-danger">[% t('Card number length is incorrect.') %]</div>
19
        [% CASE 'ERROR_password_mismatch' %]
20
        [% CASE 'ERROR_password_mismatch' %]
20
            <div class="alert alert-danger">Passwords do not match.</div>
21
            <div class="alert alert-danger">[% t('Passwords do not match.') %]</div>
21
        [% CASE 'success_on_insert_itemtype' %]
22
        [% CASE 'success_on_insert_itemtype' %]
22
            <div class="alert alert-success">New item type created!</div>
23
            <div class="alert alert-success">[% t('New item type created!') %]</div>
23
        [% CASE 'error_on_insert_itemtype' %]
24
        [% CASE 'error_on_insert_itemtype' %]
24
            <div class="alert alert-danger">Item type already exists!</div>
25
            <div class="alert alert-danger">[% t('Item type already exists!') %]</div>
25
        [% CASE 'success_on_insert_circ_rule' %]
26
        [% CASE 'success_on_insert_circ_rule' %]
26
            <div class="alert alert-success">Circulation rule created!</div>
27
            <div class="alert alert-success">[% t('Circulation rule created!') %]</div>
27
        [% CASE 'error_on_insert_circ_rule' %]
28
        [% CASE 'error_on_insert_circ_rule' %]
28
            <div class="alert alert-danger">Circulation rule not created!</div>
29
            <div class="alert alert-danger">[% t('Circulation rule not created!') %]</div>
29
        [% CASE 'ERROR_password_too_short' %]
30
        [% CASE 'ERROR_password_too_short' %]
30
            <div class="alert alert-danger">The patron has not been created the entered password was too short</div>
31
            <div class="alert alert-danger">[% t('The patron has not been created the entered password was too short') %]</div>
31
        [% CASE 'ERROR_password_too_weak' %]
32
        [% CASE 'ERROR_password_too_weak' %]
32
            <div class="alert alert-danger">The patron has not been created the entered password was too weak, must contain at least one uppercase, and lower case letter and one number</div>
33
            <div class="alert alert-danger">[% t('The patron has not been created the entered password was too weak, must contain at least one uppercase, and lower case letter and one number') %]</div>
33
        [% CASE 'ERROR_password_has_whitespaces' %]
34
        [% CASE 'ERROR_password_has_whitespaces' %]
34
            <div class="alert alert-danger">The patron has not been created the entered password contained whitespaces</div>
35
            <div class="alert alert-danger">[% t('The patron has not been created the entered password contained whitespaces') %]</div>
35
        [% CASE %][% message %]
36
        [% CASE %][% message %]
36
    [% END %]
37
    [% END %]
37
[% END %]
38
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/page-numbers.inc (-5 / +6 lines)
Lines 1-18 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( PAGE_NUMBERS ) %]<nav><ul class="pagination">
2
[% IF ( PAGE_NUMBERS ) %]<nav><ul class="pagination">
2
    [% IF ( previous_page_offset.defined ) %]
3
    [% IF ( previous_page_offset.defined ) %]
3
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">First</a></li>
4
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% t('First') %]</a></li>
4
        <!-- Row of numbers corresponding to search result pages -->
5
        <!-- Row of numbers corresponding to search result pages -->
5
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% previous_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">&lt;&lt; Previous</a></li>
6
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% previous_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% t('&lt;&lt; Previous') %]</a></li>
6
    [% END %]
7
    [% END %]
7
    [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
8
    [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
8
        [% IF ( PAGE_NUMBER.highlight ) %]
9
        [% IF ( PAGE_NUMBER.highlight ) %]
9
            <li class="active"><span>[% PAGE_NUMBER.pg %]</span></li>
10
            <li class="active"><span>[% PAGE_NUMBER.pg %]</span></li>
10
        [% ELSE %]
11
        [% ELSE %]
11
            <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">[% PAGE_NUMBER.pg %]</a></li>
12
            <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% PAGE_NUMBER.pg %]</a></li>
12
        [% END %]
13
        [% END %]
13
    [% END %]
14
    [% END %]
14
    [% IF ( next_page_offset ) %]
15
    [% IF ( next_page_offset ) %]
15
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% next_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Next &gt;&gt;</a></li>
16
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% next_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% t('Next &gt;&gt;') %]</a></li>
16
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;offset=[% last_page_offset %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Last</a></li>
17
        <li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% last_page_offset %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% t('Last') %]</a></li>
17
    [% END %]
18
    [% END %]
18
</ul></nav>[% END %]
19
</ul></nav>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-article-requests.inc (-18 / +19 lines)
Lines 1-20 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="article-requests">
2
<div id="article-requests">
2
[% IF patron.article_requests_current.count %]
3
[% IF patron.article_requests_current.count %]
3
    <table id="article-requests-table" class="table table-bordered table-striped">
4
    <table id="article-requests-table" class="table table-bordered table-striped">
4
        <thead>
5
        <thead>
5
            <tr>
6
            <tr>
6
                <th class="article-request-record-title anti-the">Record title</th>
7
                <th class="article-request-record-title anti-the">[% t('Record title') %]</th>
7
                <th class="article-request-created_on psort">Placed on</th>
8
                <th class="article-request-created_on psort">[% t('Placed on') %]</th>
8
                <th class="article-request-title anti-the">Title</th>
9
                <th class="article-request-title anti-the">[% t('Title') %]</th>
9
                <th class="article-request-author">Author</th>
10
                <th class="article-request-author">[% t('Author') %]</th>
10
                <th class="article-request-volume">Volume</th>
11
                <th class="article-request-volume">[% t('Volume') %]</th>
11
                <th class="article-request-issue">Issue</th>
12
                <th class="article-request-issue">[% t('Issue') %]</th>
12
                <th class="article-request-date">Date</th>
13
                <th class="article-request-date">[% t('Date') %]</th>
13
                <th class="article-request-pages">Pages</th>
14
                <th class="article-request-pages">[% t('Pages') %]</th>
14
                <th class="article-request-chapters">Chapters</th>
15
                <th class="article-request-chapters">[% t('Chapters') %]</th>
15
                <th class="article-request-notes">Notes</th>
16
                <th class="article-request-notes">[% t('Notes') %]</th>
16
                <th class="article-request-status">Status</th>
17
                <th class="article-request-status">[% t('Status') %]</th>
17
                <th class="article-request-branchcode">Pickup library</th>
18
                <th class="article-request-branchcode">[% t('Pickup library') %]</th>
18
            </tr>
19
            </tr>
19
        </thead>
20
        </thead>
20
21
Lines 27-33 Link Here
27
                            [% ar.item.enumchron %]
28
                            [% ar.item.enumchron %]
28
                        </a>
29
                        </a>
29
                        [% ar.biblio.author %]
30
                        [% ar.biblio.author %]
30
                        [% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %]
31
                        [% IF ar.itemnumber %] <i>[% t('(only') %] [% ar.item.barcode %])</i>[% END %]
31
                    </td>
32
                    </td>
32
33
33
                    <td class="article-request-created_on">
34
                    <td class="article-request-created_on">
Lines 68-80 Link Here
68
69
69
                    <td class="article-request-status">
70
                    <td class="article-request-status">
70
                        [% IF ar.status == 'PENDING' %]
71
                        [% IF ar.status == 'PENDING' %]
71
                            Pending
72
                            [% t('Pending') %]
72
                        [% ELSIF ar.status == 'PROCESSING' %]
73
                        [% ELSIF ar.status == 'PROCESSING' %]
73
                            Processing
74
                            [% t('Processing') %]
74
                        [% ELSIF ar.status == 'COMPLETED' %]
75
                        [% ELSIF ar.status == 'COMPLETED' %]
75
                            Completed
76
                            [% t('Completed') %]
76
                        [% ELSIF ar.status == 'CANCELED' %]
77
                        [% ELSIF ar.status == 'CANCELED' %]
77
                            Canceled
78
                            [% t('Canceled') %]
78
                        [% END %]
79
                        [% END %]
79
                    </td>
80
                    </td>
80
81
Lines 86-91 Link Here
86
        </tbody>
87
        </tbody>
87
    </table>
88
    </table>
88
    [% ELSE %]
89
    [% ELSE %]
89
        Patron has no current article requests.
90
        [% t('Patron has no current article requests.') %]
90
    [% END %]
91
    [% END %]
91
</div>
92
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc (-1 / +2 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
2
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
2
    <div id="circ_search" class="residentsearch">
3
    <div id="circ_search" class="residentsearch">
3
    <p class="tip">Enter patron card number or partial name:</p>
4
    <p class="tip">[% t('Enter patron card number or partial name:') %]</p>
4
    <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
5
    <form action="/cgi-bin/koha/circ/circulation.pl" id="patronsearch" method="post">
5
    [% IF ( CircAutocompl ) %]
6
    [% IF ( CircAutocompl ) %]
6
    <div class="autocomplete">
7
    <div class="autocomplete">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc (-42 / +43 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Branches %]
3
[% USE Categories %]
4
[% USE Categories %]
Lines 5-13 Link Here
5
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Resident Search Box -->
6
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Resident Search Box -->
6
<div id="header_search">
7
<div id="header_search">
7
    <div id="patron_search" class="residentsearch">
8
    <div id="patron_search" class="residentsearch">
8
    <p class="tip">Enter patron card number or partial name:</p>
9
    <p class="tip">[% t('Enter patron card number or partial name:') %]</p>
9
    <form action="/cgi-bin/koha/members/member.pl" method="post">
10
    <form action="/cgi-bin/koha/members/member.pl" method="post">
10
    <input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox focus" name="searchmember" type="text" value="[% searchmember %]"/>
11
    <input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox focus" name="searchmember" type="text" value="[% searchmember %]" />
11
    <input type="hidden" name="quicksearch" value="1" />
12
    <input type="hidden" name="quicksearch" value="1" />
12
    <span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
13
    <span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
13
    <span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
14
    <span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
Lines 15-94 Link Here
15
    <input value="Search" class="submit" type="submit" />
16
    <input value="Search" class="submit" type="submit" />
16
17
17
    <div id="filters">
18
    <div id="filters">
18
        <p><label for="searchfieldstype">Search fields:</label>
19
        <p><label for="searchfieldstype">[% t('Search fields:') %]</label>
19
            <select name="searchfieldstype" id="searchfieldstype">
20
            <select name="searchfieldstype" id="searchfieldstype">
20
              [% IF searchfieldstype == "standard" %]
21
              [% IF searchfieldstype == "standard" %]
21
                <option selected="selected" value='standard'>Standard</option>
22
                <option selected="selected" value="standard">[% t('Standard') %]</option>
22
              [% ELSE %]
23
              [% ELSE %]
23
                <option value='standard'>Standard</option>
24
                <option value="standard">[% t('Standard') %]</option>
24
              [% END %]
25
              [% END %]
25
              [% IF searchfieldstype == "surname" %]
26
              [% IF searchfieldstype == "surname" %]
26
                <option selected="selected" value='surname'>Surname</option>
27
                <option selected="selected" value="surname">[% t('Surname') %]</option>
27
              [% ELSE %]
28
              [% ELSE %]
28
                <option value='surname'>Surname</option>
29
                <option value="surname">[% t('Surname') %]</option>
29
              [% END %]
30
              [% END %]
30
              [% IF searchfieldstype == "email" %]
31
              [% IF searchfieldstype == "email" %]
31
                <option selected="selected" value='email'>Email</option>
32
                <option selected="selected" value="email">[% t('Email') %]</option>
32
              [% ELSE %]
33
              [% ELSE %]
33
                <option value='email'>Email</option>
34
                <option value="email">[% t('Email') %]</option>
34
              [% END %]
35
              [% END %]
35
              [% IF searchfieldstype == "borrowernumber" %]
36
              [% IF searchfieldstype == "borrowernumber" %]
36
                <option selected="selected" value='borrowernumber'>Borrower number</option>
37
                <option selected="selected" value="borrowernumber">[% t('Borrower number') %]</option>
37
              [% ELSE %]
38
              [% ELSE %]
38
                <option value='borrowernumber'>Borrower number</option>
39
                <option value="borrowernumber">[% t('Borrower number') %]</option>
39
              [% END %]
40
              [% END %]
40
              [% IF searchfieldstype == "userid" %]
41
              [% IF searchfieldstype == "userid" %]
41
                <option selected="selected" value='userid'>Username</option>
42
                <option selected="selected" value="userid">[% t('Username') %]</option>
42
              [% ELSE %]
43
              [% ELSE %]
43
                <option value='userid'>Username</option>
44
                <option value="userid">[% t('Username') %]</option>
44
              [% END %]
45
              [% END %]
45
              [% IF searchfieldstype == "phone" %]
46
              [% IF searchfieldstype == "phone" %]
46
                <option selected="selected" value='phone'>Phone number</option>
47
                <option selected="selected" value="phone">[% t('Phone number') %]</option>
47
              [% ELSE %]
48
              [% ELSE %]
48
                <option value='phone'>Phone number</option>
49
                <option value="phone">[% t('Phone number') %]</option>
49
              [% END %]
50
              [% END %]
50
              [% IF searchfieldstype == "address" %]
51
              [% IF searchfieldstype == "address" %]
51
                <option selected="selected" value='address'>Street Address</option>
52
                <option selected="selected" value="address">[% t('Street Address') %]</option>
52
              [% ELSE %]
53
              [% ELSE %]
53
                <option value='address'>Street Address</option>
54
                <option value="address">[% t('Street Address') %]</option>
54
              [% END %]
55
              [% END %]
55
              [% IF searchfieldstype == "dateofbirth" %]
56
              [% IF searchfieldstype == "dateofbirth" %]
56
                <option selected="selected" value='dateofbirth'>Date of birth</option>
57
                <option selected="selected" value="dateofbirth">[% t('Date of birth') %]</option>
57
              [% ELSE %]
58
              [% ELSE %]
58
                <option value='dateofbirth'>Date of birth</option>
59
                <option value="dateofbirth">[% t('Date of birth') %]</option>
59
              [% END %]
60
              [% END %]
60
              [% IF searchfieldstype == "sort1" %]
61
              [% IF searchfieldstype == "sort1" %]
61
                <option selected="selected" value='sort1'>Sort field 1</option>
62
                <option selected="selected" value="sort1">[% t('Sort field 1') %]</option>
62
              [% ELSE %]
63
              [% ELSE %]
63
                <option value='sort1'>Sort field 1</option>
64
                <option value="sort1">[% t('Sort field 1') %]</option>
64
              [% END %]
65
              [% END %]
65
              [% IF searchfieldstype == "sort2" %]
66
              [% IF searchfieldstype == "sort2" %]
66
                <option selected="selected" value='sort2'>Sort field 2</option>
67
                <option selected="selected" value="sort2">[% t('Sort field 2') %]</option>
67
              [% ELSE %]
68
              [% ELSE %]
68
                <option value='sort2'>Sort field 2</option>
69
                <option value="sort2">[% t('Sort field 2') %]</option>
69
              [% END %]
70
              [% END %]
70
            </select>
71
            </select>
71
        </p>
72
        </p>
72
73
73
        <p>
74
        <p>
74
            <label for="searchtype">Search type:</label>
75
            <label for="searchtype">[% t('Search type:') %]</label>
75
            <select name="searchtype" id="searchtype">
76
            <select name="searchtype" id="searchtype">
76
              [% IF searchtype == 'start_with' %]
77
              [% IF searchtype == 'start_with' %]
77
                  <option selected="selected" value='start_with'>Starts with</option>
78
                  <option selected="selected" value="start_with">[% t('Starts with') %]</option>
78
                  <option value='contain'>Contains</option>
79
                  <option value="contain">[% t('Contains') %]</option>
79
              [% ELSE %]
80
              [% ELSE %]
80
                  <option value='start_with'>Starts with</option>
81
                  <option value="start_with">[% t('Starts with') %]</option>
81
                  <option selected="selected" value='contain'>Contains</option>
82
                  <option selected="selected" value="contain">[% t('Contains') %]</option>
82
              [% END %]
83
              [% END %]
83
            </select>
84
            </select>
84
        </p>
85
        </p>
85
86
86
        <p>
87
        <p>
87
            <label for="branchcode">Library: </label>
88
            <label for="branchcode">[% t('Library:') %] </label>
88
            [% SET branches = Branches.all( selected => branchcode_filter, only_my_group => 1 ) %]
89
            [% SET branches = Branches.all( selected => branchcode_filter, only_my_group => 1 ) %]
89
            <select name="branchcode_filter" id="branchcode">
90
            <select name="branchcode_filter" id="branchcode">
90
                [% IF branches.size != 1 %]
91
                [% IF branches.size != 1 %]
91
                  <option value="">Any</option>
92
                  <option value="">[% t('Any') %]</option>
92
                [% END %]
93
                [% END %]
93
                [% FOREACH b IN branches %]
94
                [% FOREACH b IN branches %]
94
                    [% IF b.selected %]
95
                    [% IF b.selected %]
Lines 101-110 Link Here
101
        </p>
102
        </p>
102
103
103
        <p>
104
        <p>
104
            <label for="categorycode">Category: </label>
105
            <label for="categorycode">[% t('Category:') %] </label>
105
            [% SET categories = Categories.all() %]
106
            [% SET categories = Categories.all() %]
106
            <select name="categorycode_filter" id="categorycode">
107
            <select name="categorycode_filter" id="categorycode">
107
                <option value="">Any</option>
108
                <option value="">[% t('Any') %]</option>
108
                [% FOREACH category IN categories %]
109
                [% FOREACH category IN categories %]
109
                    [% IF category.categorycode == categorycode_filter %]
110
                    [% IF category.categorycode == categorycode_filter %]
110
                        <option value="[% category.categorycode %]" selected="selected">[% category.description |html %]</option>
111
                        <option value="[% category.categorycode %]" selected="selected">[% category.description |html %]</option>
Lines 121-134 Link Here
121
122
122
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
123
    [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
123
    <div id="checkin_search" class="residentsearch">
124
    <div id="checkin_search" class="residentsearch">
124
    <p class="tip">Scan a barcode to check in:</p>
125
    <p class="tip">[% t('Scan a barcode to check in:') %]</p>
125
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
126
    <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
126
    <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" />
127
    <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" accesskey="r" />
127
    <input value="Submit" class="submit" type="submit" />
128
    <input value="Submit" class="submit" type="submit" />
128
    </form>
129
    </form>
129
    </div>
130
    </div>
130
        <div id="renew_search" class="residentsearch">
131
        <div id="renew_search" class="residentsearch">
131
        <p class="tip">Scan a barcode to renew:</p>
132
        <p class="tip">[% t('Scan a barcode to renew:') %]</p>
132
            <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
133
            <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
133
                <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
134
                <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
134
                <input value="Submit" class="submit" type="submit" />
135
                <input value="Submit" class="submit" type="submit" />
Lines 138-157 Link Here
138
139
139
    [% IF ( CAN_user_catalogue ) %]
140
    [% IF ( CAN_user_catalogue ) %]
140
    <div id="catalog_search" class="residentsearch">
141
    <div id="catalog_search" class="residentsearch">
141
    <p class="tip">Enter search keywords:</p>
142
    <p class="tip">[% t('Enter search keywords:') %]</p>
142
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
143
        <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
143
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
144
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
144
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
145
             <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
145
             <input type="submit" name="op" id="opac-submit" value="Submit" class="submit" />
146
             <input type="submit" name="op" id="opac-submit" value="Submit" class="submit" />
146
        </form>
147
        </form>
147
    </div>[% END %]
148
    </div>[% END %]
148
149
149
    <ul>
150
    <ul>
150
        <li><a class="keep_text" href="#patron_search">Search patrons</a></li>
151
        <li><a class="keep_text" href="#patron_search">[% t('Search patrons') %]</a></li>
151
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
152
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
152
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">Check in</a></li>[% END %]
153
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#checkin_search">[% t('Check in') %]</a></li>[% END %]
153
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">Renew</a></li>[% END %]
154
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#renew_search">[% t('Renew') %]</a></li>[% END %]
154
        [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
155
        [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
155
    </ul>
156
    </ul>
156
</div><!-- /header_search -->
157
</div><!-- /header_search -->
157
</div><!-- /gradient -->
158
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- USE Koha -%]
2
[%- USE Koha -%]
2
[%- USE Branches -%]
3
[%- USE Branches -%]
3
[%- SET data = {} -%]
4
[%- SET data = {} -%]
Lines 67-73 Link Here
67
        [%- data.cardnumber | html -%]
68
        [%- data.cardnumber | html -%]
68
    [%- END -%]
69
    [%- END -%]
69
[%- ELSE -%]
70
[%- ELSE -%]
70
    A patron from library [% Branches.GetName( patron.branchcode ) -%]
71
    [% t('A patron from library') %] [% Branches.GetName( patron.branchcode ) -%]
71
[%- END -%]
72
[%- END -%]
72
73
73
[%- IF hide_patron_infos_if_needed AND ( display_patron_name OR display_cardnumber ) -%]
74
[%- IF hide_patron_infos_if_needed AND ( display_patron_name OR display_cardnumber ) -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-toolbar.inc (-5 / +6 lines)
Lines 1-3 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
[% USE Categories %]
3
[% USE Categories %]
3
[% USE Koha %]
4
[% USE Koha %]
Lines 6-26 Link Here
6
[% UNLESS ( no_add ) %]
7
[% UNLESS ( no_add ) %]
7
<div id="toolbar" class="btn-toolbar">
8
<div id="toolbar" class="btn-toolbar">
8
    <div class="btn-group" id="new-patron-button">
9
    <div class="btn-group" id="new-patron-button">
9
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button>
10
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New patron') %] <span class="caret"></span></button>
10
            <ul class="dropdown-menu">
11
            <ul class="dropdown-menu">
11
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]">[% category.description |html %]</a></li>[% END %]
12
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]">[% category.description |html %]</a></li>[% END %]
12
            </ul>
13
            </ul>
13
    </div>
14
    </div>
14
    [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
15
    [% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
15
    <div class="btn-group" id="quick-add-new-patron-button">
16
    <div class="btn-group" id="quick-add-new-patron-button">
16
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button>
17
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('Quick add new patron') %] <span class="caret"></span></button>
17
            <ul class="dropdown-menu">
18
            <ul class="dropdown-menu">
18
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;categorycode=[% category.categorycode %]&amp;quickadd=true">[% category.description |html %]</a></li>[% END %]
19
                [% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]&quickadd=true">[% category.description |html %]</a></li>[% END %]
19
            </ul>
20
            </ul>
20
    </div>
21
    </div>
21
    [% END %]
22
    [% END %]
22
    [% IF CAN_user_tools_manage_patron_lists %]
23
    [% IF CAN_user_tools_manage_patron_lists %]
23
        <a class="btn btn-default btn-sm" href="/cgi-bin/koha/patron_lists/lists.pl" id="patron-lists-button"><i class="fa fa-edit"></i> Patron lists</a>
24
        <a class="btn btn-default btn-sm" href="/cgi-bin/koha/patron_lists/lists.pl" id="patron-lists-button"><i class="fa fa-edit"></i> [% t('Patron lists') %]</a>
24
    [% END %]
25
    [% END %]
25
26
26
</div>
27
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-errors.inc (-27 / +28 lines)
Lines 1-16 Link Here
1
[% BLOCK asksysadmin %]<span>Please have your system administrator check the error log for details.</span>[% END %]
1
[% PROCESS 'i18n.inc' %]
2
[% BLOCK b_batch %]<span>Batch: </span>[% END %]
2
[% BLOCK asksysadmin %]<span>[% t('Please have your system administrator check the error log for details.') %]</span>[% END %]
3
[% BLOCK b_patronlist %]<span>Patron list: </span>[% END %]
3
[% BLOCK b_batch %]<span>[% t('Batch:') %] </span>[% END %]
4
[% BLOCK b_patronnumber %]<span>Patron number: </span>[% END %]
4
[% BLOCK b_patronlist %]<span>[% t('Patron list:') %] </span>[% END %]
5
[% BLOCK b_layout %]<span>Layout: </span>[% END %]
5
[% BLOCK b_patronnumber %]<span>[% t('Patron number:') %] </span>[% END %]
6
[% BLOCK b_template %]<span>Template: </span>[% END %]
6
[% BLOCK b_layout %]<span>[% t('Layout:') %] </span>[% END %]
7
[% BLOCK b_template %]<span>[% t('Template:') %] </span>[% END %]
7
8
8
[% IF ( error || CGI.param('pdferr') )  %]
9
[% IF ( error || CGI.param('pdferr') )  %]
9
<div class="dialog alert">
10
<div class="dialog alert">
10
  <p>
11
  <p>
11
    <strong>WARNING:</strong>
12
    <strong>[% t('WARNING:') %]</strong>
12
        [% IF CGI.param('pdferr') %]<span>Error while creating PDF file. </span>
13
        [% IF CGI.param('pdferr') %]<span>[% t('Error while creating PDF file.') %] </span>
13
            [% IF CGI.param('errnocards') %]<span>No cards created (empty batch or list?) </span>[% END %]
14
            [% IF CGI.param('errnocards') %]<span>[% t('No cards created (empty batch or list?)') %] </span>[% END %]
14
            [% IF CGI.param('errba') %][% INCLUDE b_batch %]<span class="ex">[%- CGI.param('errba') -%]</span>[% END %]
15
            [% IF CGI.param('errba') %][% INCLUDE b_batch %]<span class="ex">[%- CGI.param('errba') -%]</span>[% END %]
15
            [% IF CGI.param('errpl') %][% INCLUDE b_patronlist %]<span class="ex">[%- CGI.param('errpl') -%]</span>][% END %]
16
            [% IF CGI.param('errpl') %][% INCLUDE b_patronlist %]<span class="ex">[%- CGI.param('errpl') -%]</span>][% END %]
16
            [% IF CGI.param('errpt') %][% INCLUDE b_patronnumber %]<span class="ex">[%- CGI.param('errpt') -%]</span>[% END %]
17
            [% IF CGI.param('errpt') %][% INCLUDE b_patronnumber %]<span class="ex">[%- CGI.param('errpt') -%]</span>[% END %]
Lines 20-56 Link Here
20
        [% END %]
21
        [% END %]
21
22
22
        [% IF ( error == 101 ) %]
23
        [% IF ( error == 101 ) %]
23
           [% IF ( card_element ) %]<span>The database returned an error while saving [% card_element %] [% element_id %]. </span>
24
           [% IF ( card_element ) %]<span>[% t('The database returned an error while saving') %] [% card_element %] [% element_id %]. </span>
24
          [% ELSE %]<span>The database returned an error while attempting a save operation. </span>[% END %][% INCLUDE asksysadmin %]
25
          [% ELSE %]<span>[% t('The database returned an error while attempting a save operation.') %] </span>[% END %][% INCLUDE asksysadmin %]
25
        [% ELSIF ( error == 102 ) %]
26
        [% ELSIF ( error == 102 ) %]
26
            [% IF ( card_element ) %]<span>The database returned an error while deleting [% card_element %] [% element_id %]. </span>
27
            [% IF ( card_element ) %]<span>[% t('The database returned an error while deleting') %] [% card_element %] [% element_id %]. </span>
27
            [% ELSIF ( image_ids ) %]<span>The database returned an error while deleting [% image_ids %]. </span>
28
            [% ELSIF ( image_ids ) %]<span>[% t('The database returned an error while deleting') %] [% image_ids %]. </span>
28
            [% ELSE %]<span>The database returned an error while attempting a delete operation. </span>[% END %][% INCLUDE asksysadmin %]
29
            [% ELSE %]<span>[% t('The database returned an error while attempting a delete operation.') %] </span>[% END %][% INCLUDE asksysadmin %]
29
        [% ELSIF ( error == 201 ) %]
30
        [% ELSIF ( error == 201 ) %]
30
            [%IF ( element_id ) %]<span>An unsupported operation was attempted on [% card_element %] [% element_id %]. </span>
31
            [%IF ( element_id ) %]<span>[% t('An unsupported operation was attempted on') %] [% card_element %] [% element_id %]. </span>
31
            [% ELSE %]<span>An unsupported operation was attempted. </span>[% END %][% INCLUDE asksysadmin %]
32
            [% ELSE %]<span>[% t('An unsupported operation was attempted.') %] </span>[% END %][% INCLUDE asksysadmin %]
32
        [% ELSIF ( error == 202 ) %]
33
        [% ELSIF ( error == 202 ) %]
33
            <span>An error has occurred. </span>[% INCLUDE asksysadmin %]
34
            <span>[% t('An error has occurred.') %] </span>[% INCLUDE asksysadmin %]
34
        [% ELSIF ( error == 203 ) %]
35
        [% ELSIF ( error == 203 ) %]
35
            <span>A non-existent or invalid library code was supplied. Please verify that you have a library set. </span><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
36
            <span>[% t('A non-existent or invalid library code was supplied. Please verify that you have a library set.') %] </span><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">[% t('Set library') %]</a>
36
        [% ELSIF ( error == 301 ) %]
37
        [% ELSIF ( error == 301 ) %]
37
            <span>An error has occurred while attempting to upload the image file. </span>[% INCLUDE asksysadmin %]
38
            <span>[% t('An error has occurred while attempting to upload the image file.') %] </span>[% INCLUDE asksysadmin %]
38
        [% ELSIF ( error == 302 ) %]
39
        [% ELSIF ( error == 302 ) %]
39
            <span>Image exceeds 500KB. Please resize and import again. </span>
40
            <span>[% t('Image exceeds 500KB. Please resize and import again.') %] </span>
40
        [% ELSIF ( error == 303 ) %]
41
        [% ELSIF ( error == 303 ) %]
41
            <span>The database image quota currently only allows a maximum of [% image_limit %] images to be stored at any one time. Please delete one or more images to free up quota space. </span>
42
            <span>[% t('The database image quota currently only allows a maximum of') %] [% image_limit %] [% t('images to be stored at any one time. Please delete one or more images to free up quota space.') %] </span>
42
        [% ELSIF ( error == 304 ) %]
43
        [% ELSIF ( error == 304 ) %]
43
            <span>An image with the name '[% IMAGE_NAME %]' already exists.</span>
44
            <span>[% t('An image with the name \'') %][% IMAGE_NAME %][% t('\' already exists.') %]</span>
44
        [% ELSIF ( error == 401 ) %]
45
        [% ELSIF ( error == 401 ) %]
45
            <span>An error has occurred and no items have been added to batch [% batch_id %]. </span>[% INCLUDE asksysadmin %]
46
            <span>[% t('An error has occurred and no items have been added to batch') %] [% batch_id %]. </span>[% INCLUDE asksysadmin %]
46
        [% ELSIF ( error == 402 ) %]
47
        [% ELSIF ( error == 402 ) %]
47
            <span>No items added because the library is not set. Please set your library before adding items to a batch. </span><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a>
48
            <span>[% t('No items added because the library is not set. Please set your library before adding items to a batch.') %] </span><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">[% t('Set library') %]</a>
48
        [% ELSIF ( error == 403 ) %]
49
        [% ELSIF ( error == 403 ) %]
49
            <span>An error has occurred and the item(s) was not removed from batch [% batch_id %]. </span>[% INCLUDE asksysadmin %]
50
            <span>[% t('An error has occurred and the item(s) was not removed from batch') %] [% batch_id %]. </span>[% INCLUDE asksysadmin %]
50
        [% ELSIF ( error == 404 ) %]
51
        [% ELSIF ( error == 404 ) %]
51
            <span>An error has occurred and batch [% batch_id %] was not deleted. </span>[% INCLUDE asksysadmin %]
52
            <span>[% t('An error has occurred and batch') %] [% batch_id %] [% t('was not deleted.') %] </span>[% INCLUDE asksysadmin %]
52
        [% ELSIF ( error == 405 ) %]
53
        [% ELSIF ( error == 405 ) %]
53
            <span>An error has occurred and batch [% batch_id %] was not fully de-duplicated. </span>
54
            <span>[% t('An error has occurred and batch') %] [% batch_id %] [% t('was not fully de-duplicated.') %] </span>
54
        [% END %]
55
        [% END %]
55
  </p>
56
  </p>
56
</div>
57
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc (-12 / +13 lines)
Lines 1-23 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
3
    <div class="btn-group">
4
    <div class="btn-group">
4
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New <span class="caret"></span></button>
5
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New') %] <span class="caret"></span></button>
5
        <ul class="dropdown-menu">
6
        <ul class="dropdown-menu">
6
            <li><a href="/cgi-bin/koha/patroncards/edit-batch.pl?op=new">Card batch</a></li>
7
            <li><a href="/cgi-bin/koha/patroncards/edit-batch.pl?op=new">[% t('Card batch') %]</a></li>
7
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Image</a></li>
8
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">[% t('Image') %]</a></li>
8
            <li><a href="/cgi-bin/koha/patroncards/edit-layout.pl?op=new">Layout</a></li>
9
            <li><a href="/cgi-bin/koha/patroncards/edit-layout.pl?op=new">[% t('Layout') %]</a></li>
9
            <li><a href="/cgi-bin/koha/patroncards/edit-template.pl?op=new">Card template</a></li>
10
            <li><a href="/cgi-bin/koha/patroncards/edit-template.pl?op=new">[% t('Card template') %]</a></li>
10
            <li><a href="/cgi-bin/koha/patroncards/edit-profile.pl?op=new">Printer profile</a></li>
11
            <li><a href="/cgi-bin/koha/patroncards/edit-profile.pl?op=new">[% t('Printer profile') %]</a></li>
11
        </ul>
12
        </ul>
12
    </div>
13
    </div>
13
    <div class="btn-group">
14
    <div class="btn-group">
14
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> Manage <span class="caret"></span></button>
15
        <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> [% t('Manage') %] <span class="caret"></span></button>
15
        <ul class="dropdown-menu">
16
        <ul class="dropdown-menu">
16
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">Card batches</a></li>
17
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=batch">[% t('Card batches') %]</a></li>
17
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">Images</a></li>
18
            <li><a href="/cgi-bin/koha/patroncards/image-manage.pl">[% t('Images') %]</a></li>
18
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">Layouts</a></li>
19
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=layout">[% t('Layouts') %]</a></li>
19
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">Card templates</a></li>
20
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=template">[% t('Card templates') %]</a></li>
20
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">Printer profiles</a></li>
21
            <li><a href="/cgi-bin/koha/patroncards/manage.pl?card_element=profile">[% t('Printer profiles') %]</a></li>
21
        </ul>
22
        </ul>
22
    </div>
23
    </div>
23
</div>
24
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc (-8 / +9 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
4
<div id="header_search">
5
<div id="header_search">
5
	<div id="patron_category_search" class="residentsearch">
6
	<div id="patron_category_search" class="residentsearch">
6
    <p class="tip">Search by patron category name:</p>
7
    <p class="tip">[% t('Search by patron category name:') %]</p>
7
	<form action="[% script_name %]" method="post">
8
	<form action="[% script_name %]" method="post">
8
        <input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield %]" />
9
        <input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield %]" />
9
		<input type="submit" class="submit" name="search" value="Search" />
10
		<input type="submit" class="submit" name="search" value="Search" />
Lines 12-29 Link Here
12
    [% INCLUDE 'patron-search-box.inc' %]
13
    [% INCLUDE 'patron-search-box.inc' %]
13
	[% IF ( CAN_user_catalogue ) %]
14
	[% IF ( CAN_user_catalogue ) %]
14
    <div id="catalog_search" class="residentsearch">
15
    <div id="catalog_search" class="residentsearch">
15
	<p class="tip">Enter search keywords:</p>
16
	<p class="tip">[% t('Enter search keywords:') %]</p>
16
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
17
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
17
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
18
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
18
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
19
            <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
19
				<input type="submit" value="Submit"  class="submit" />
20
				<input type="submit" value="Submit" class="submit" />
20
		</form>
21
		</form>
21
	</div>[% END %]
22
	</div>[% END %]
22
23
23
	<ul>
24
	<ul>
24
            <li><a class="keep_text" href="#patron_category_search">Search patron categories</a></li>
25
            <li><a class="keep_text" href="#patron_category_search">[% t('Search patron categories') %]</a></li>
25
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
26
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
26
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
27
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
27
			</ul>	
28
			</ul>	
28
</div>
29
</div>
29
</div>
30
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-108 / +109 lines)
Lines 1-118 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[%- BLOCK main_permissions -%]
2
[%- BLOCK main_permissions -%]
2
    [% SWITCH name %]
3
    [% SWITCH name %]
3
    [%- CASE 'superlibrarian' -%]<span>Access to all librarian functions</span>
4
    [%- CASE 'superlibrarian' -%]<span>[% t('Access to all librarian functions') %]</span>
4
    [%- CASE 'circulate' -%]<span>Check out and check in items</span>
5
    [%- CASE 'circulate' -%]<span>[% t('Check out and check in items') %]</span>
5
    [%- CASE 'catalogue' -%]<span><b>Required for staff login.</b> Staff access, allows viewing of catalogue in staff client.</span>
6
    [%- CASE 'catalogue' -%]<span><b>[% t('Required for staff login.') %]</b> [% t('Staff access, allows viewing of catalogue in staff client.') %]</span>
6
    [%- CASE 'parameters' -%]<span>Manage Koha system settings (Administration panel)</span>
7
    [%- CASE 'parameters' -%]<span>[% t('Manage Koha system settings (Administration panel)') %]</span>
7
    [%- CASE 'borrowers' -%]<span>Add, modify and view patron information</span>
8
    [%- CASE 'borrowers' -%]<span>[% t('Add, modify and view patron information') %]</span>
8
    [%- CASE 'permissions' -%]<span>Set user permissions</span>
9
    [%- CASE 'permissions' -%]<span>[% t('Set user permissions') %]</span>
9
    [%- CASE 'reserveforothers' -%]<span>Place and modify holds for patrons</span>
10
    [%- CASE 'reserveforothers' -%]<span>[% t('Place and modify holds for patrons') %]</span>
10
    [%- CASE 'editcatalogue' -%]<span>Edit catalog (Modify bibliographic/holdings data)</span>
11
    [%- CASE 'editcatalogue' -%]<span>[% t('Edit catalog (Modify bibliographic/holdings data)') %]</span>
11
    [%- CASE 'updatecharges' -%]<span>Manage patrons fines and fees</span>
12
    [%- CASE 'updatecharges' -%]<span>[% t('Manage patrons fines and fees') %]</span>
12
    [%- CASE 'acquisition' -%]<span>Acquisition and/or suggestion management</span>
13
    [%- CASE 'acquisition' -%]<span>[% t('Acquisition and/or suggestion management') %]</span>
13
    [%- CASE 'tools' -%]<span>Use all tools (expand for granular tools permissions)</span>
14
    [%- CASE 'tools' -%]<span>[% t('Use all tools (expand for granular tools permissions)') %]</span>
14
    [%- CASE 'editauthorities' -%]<span>Edit authorities</span>
15
    [%- CASE 'editauthorities' -%]<span>[% t('Edit authorities') %]</span>
15
    [%- CASE 'serials' -%]<span>Manage serial subscriptions</span>
16
    [%- CASE 'serials' -%]<span>[% t('Manage serial subscriptions') %]</span>
16
    [%- CASE 'reports' -%]<span>Allow access to the reports module</span>
17
    [%- CASE 'reports' -%]<span>[% t('Allow access to the reports module') %]</span>
17
    [%- CASE 'staffaccess' -%]<span>Allow staff members to modify permissions for other staff members</span>
18
    [%- CASE 'staffaccess' -%]<span>[% t('Allow staff members to modify permissions for other staff members') %]</span>
18
    [%- CASE 'coursereserves' -%]<span>Course reserves</span>
19
    [%- CASE 'coursereserves' -%]<span>[% t('Course reserves') %]</span>
19
    [%- CASE 'plugins' -%]<span>Koha plugins</span>
20
    [%- CASE 'plugins' -%]<span>[% t('Koha plugins') %]</span>
20
    [%- CASE 'lists' -%]<span>Lists</span>
21
    [%- CASE 'lists' -%]<span>[% t('Lists') %]</span>
21
    [%- CASE 'clubs' -%]<span>Patron clubs</span>
22
    [%- CASE 'clubs' -%]<span>[% t('Patron clubs') %]</span>
22
    [%- CASE 'ill' -%]<span>Create and modify Interlibrary loan requests</span>
23
    [%- CASE 'ill' -%]<span>[% t('Create and modify Interlibrary loan requests') %]</span>
23
    [%- CASE 'self_check' -%]<span>Self check modules</span>
24
    [%- CASE 'self_check' -%]<span>[% t('Self check modules') %]</span>
24
    [%- END -%]
25
    [%- END -%]
25
[%- END -%]
26
[%- END -%]
26
27
27
[%- BLOCK sub_permissions -%]
28
[%- BLOCK sub_permissions -%]
28
  [% SWITCH name %]
29
  [% SWITCH name %]
29
    [%- CASE 'circulate_remaining_permissions' -%]<span>Remaining circulation permissions</span>
30
    [%- CASE 'circulate_remaining_permissions' -%]<span>[% t('Remaining circulation permissions') %]</span>
30
    [%- CASE 'force_checkout' -%]<span>Force checkout if a limitation exists</span>
31
    [%- CASE 'force_checkout' -%]<span>[% t('Force checkout if a limitation exists') %]</span>
31
    [%- CASE 'manage_restrictions' -%]<span>Manage restrictions for accounts</span>
32
    [%- CASE 'manage_restrictions' -%]<span>[% t('Manage restrictions for accounts') %]</span>
32
    [%- CASE 'overdues_report' -%]<span>Execute overdue items report</span>
33
    [%- CASE 'overdues_report' -%]<span>[% t('Execute overdue items report') %]</span>
33
    [%- CASE 'override_renewals' -%]<span>Override blocked renewals</span>
34
    [%- CASE 'override_renewals' -%]<span>[% t('Override blocked renewals') %]</span>
34
    [%- CASE 'manage_circ_rules' -%]<span>manage circulation rules</span>
35
    [%- CASE 'manage_circ_rules' -%]<span>[% t('manage circulation rules') %]</span>
35
    [%- CASE 'parameters_remaining_permissions' -%]<span>Remaining system parameters permissions</span>
36
    [%- CASE 'parameters_remaining_permissions' -%]<span>[% t('Remaining system parameters permissions') %]</span>
36
    [%- CASE 'edit_borrowers' -%]<span>Add, modify and view patron information</span>
37
    [%- CASE 'edit_borrowers' -%]<span>[% t('Add, modify and view patron information') %]</span>
37
    [%- CASE 'view_borrower_infos_from_any_libraries' -%]<span>View patron infos from any libraries. If not set the logged in user could only access patron infos from its own library or group of libraries.</span>
38
    [%- CASE 'view_borrower_infos_from_any_libraries' -%]<span>[% t('View patron infos from any libraries. If not set the logged in user could only access patron infos from its own library or group of libraries.') %]</span>
38
    [%- CASE 'modify_holds_priority' -%]<span>Modify holds priority</span>
39
    [%- CASE 'modify_holds_priority' -%]<span>[% t('Modify holds priority') %]</span>
39
    [%- CASE 'place_holds' -%]<span>Place holds for patrons</span>
40
    [%- CASE 'place_holds' -%]<span>[% t('Place holds for patrons') %]</span>
40
    [%- CASE 'delete_all_items' -%]<span>Delete all items at once</span>
41
    [%- CASE 'delete_all_items' -%]<span>[% t('Delete all items at once') %]</span>
41
    [%- CASE 'edit_catalogue' -%]<span>Edit catalog (Modify bibliographic/holdings data)</span>
42
    [%- CASE 'edit_catalogue' -%]<span>[% t('Edit catalog (Modify bibliographic/holdings data)') %]</span>
42
    [%- CASE 'edit_items' -%]<span>Edit items</span>
43
    [%- CASE 'edit_items' -%]<span>[% t('Edit items') %]</span>
43
    [%- CASE 'edit_items_restricted' -%]<span>Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)</span>
44
    [%- CASE 'edit_items_restricted' -%]<span>[% t('Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)') %]</span>
44
    [%- CASE 'fast_cataloging' -%]<span>Fast cataloging</span>
45
    [%- CASE 'fast_cataloging' -%]<span>[% t('Fast cataloging') %]</span>
45
    [%- CASE 'remaining_permissions' -%]<span>Remaining permissions for managing fines and fees</span>
46
    [%- CASE 'remaining_permissions' -%]<span>[% t('Remaining permissions for managing fines and fees') %]</span>
46
    [%- CASE 'writeoff' -%]<span>Write off fines and fees</span>
47
    [%- CASE 'writeoff' -%]<span>[% t('Write off fines and fees') %]</span>
47
    [%- CASE 'budget_add_del' -%]<span>Add and delete funds (but can't modify funds)</span>
48
    [%- CASE 'budget_add_del' -%]<span>[% t('Add and delete funds (but can\'t modify funds)') %]</span>
48
    [%- CASE 'budget_manage' -%]<span>Manage funds</span>
49
    [%- CASE 'budget_manage' -%]<span>[% t('Manage funds') %]</span>
49
    [%- CASE 'budget_manage_all' -%]<span>Manage all funds</span>
50
    [%- CASE 'budget_manage_all' -%]<span>[% t('Manage all funds') %]</span>
50
    [%- CASE 'budget_modify' -%]<span>Modify funds (can't create lines, but can modify existing ones)</span>
51
    [%- CASE 'budget_modify' -%]<span>[% t('Modify funds (can\'t create lines, but can modify existing ones)') %]</span>
51
    [%- CASE 'contracts_manage' -%]<span>Manage contracts</span>
52
    [%- CASE 'contracts_manage' -%]<span>[% t('Manage contracts') %]</span>
52
    [%- CASE 'group_manage' -%]<span>Manage basket groups</span>
53
    [%- CASE 'group_manage' -%]<span>[% t('Manage basket groups') %]</span>
53
    [%- CASE 'order_manage' -%]<span>Manage basket and order lines</span>
54
    [%- CASE 'order_manage' -%]<span>[% t('Manage basket and order lines') %]</span>
54
    [%- CASE 'order_manage_all' -%]<span>Manage all baskets and order lines, regardless of restrictions on them</span>
55
    [%- CASE 'order_manage_all' -%]<span>[% t('Manage all baskets and order lines, regardless of restrictions on them') %]</span>
55
    [%- CASE 'order_receive' -%]<span>Receive orders and manage shipments</span>
56
    [%- CASE 'order_receive' -%]<span>[% t('Receive orders and manage shipments') %]</span>
56
    [%- CASE 'period_manage' -%]<span>Manage budgets</span>
57
    [%- CASE 'period_manage' -%]<span>[% t('Manage budgets') %]</span>
57
    [%- CASE 'planning_manage' -%]<span>Manage budget plannings</span>
58
    [%- CASE 'planning_manage' -%]<span>[% t('Manage budget plannings') %]</span>
58
    [%- CASE 'vendors_manage' -%]<span>Manage vendors</span>
59
    [%- CASE 'vendors_manage' -%]<span>[% t('Manage vendors') %]</span>
59
    [%- CASE 'batch_upload_patron_images' -%]<span>Upload patron images in a batch or one at a time</span>
60
    [%- CASE 'batch_upload_patron_images' -%]<span>[% t('Upload patron images in a batch or one at a time') %]</span>
60
    [%- CASE 'delete_anonymize_patrons' -%]<span>Delete old borrowers and anonymize circulation history (deletes borrower reading history)</span>
61
    [%- CASE 'delete_anonymize_patrons' -%]<span>[% t('Delete old borrowers and anonymize circulation history (deletes borrower reading history)') %]</span>
61
    [%- CASE 'edit_calendar' -%]<span>Define days when the library is closed</span>
62
    [%- CASE 'edit_calendar' -%]<span>[% t('Define days when the library is closed') %]</span>
62
    [%- CASE 'edit_news' -%]<span>Write news for the OPAC and staff interfaces</span>
63
    [%- CASE 'edit_news' -%]<span>[% t('Write news for the OPAC and staff interfaces') %]</span>
63
    [%- CASE 'edit_notice_status_triggers' -%]<span>Set notice/status triggers for overdue items</span>
64
    [%- CASE 'edit_notice_status_triggers' -%]<span>[% t('Set notice/status triggers for overdue items') %]</span>
64
    [%- CASE 'edit_notices' -%]<span>Define notices</span>
65
    [%- CASE 'edit_notices' -%]<span>[% t('Define notices') %]</span>
65
    [%- CASE 'edit_patrons' -%]<span>Perform batch modification of patrons</span>
66
    [%- CASE 'edit_patrons' -%]<span>[% t('Perform batch modification of patrons') %]</span>
66
    [%- CASE 'edit_quotes' -%]<span>Edit quotes for quote-of-the-day feature</span>
67
    [%- CASE 'edit_quotes' -%]<span>[% t('Edit quotes for quote-of-the-day feature') %]</span>
67
    [%- CASE 'export_catalog' -%]<span>Export bibliographic and holdings data</span>
68
    [%- CASE 'export_catalog' -%]<span>[% t('Export bibliographic and holdings data') %]</span>
68
    [%- CASE 'import_patrons' -%]<span>Import patron data</span>
69
    [%- CASE 'import_patrons' -%]<span>[% t('Import patron data') %]</span>
69
    [%- CASE 'inventory' -%]<span>Perform inventory of your catalog</span>
70
    [%- CASE 'inventory' -%]<span>[% t('Perform inventory of your catalog') %]</span>
70
    [%- CASE 'items_batchdel' -%]<span>Perform batch deletion of items</span>
71
    [%- CASE 'items_batchdel' -%]<span>[% t('Perform batch deletion of items') %]</span>
71
    [%- CASE 'items_batchmod' -%]<span>Perform batch modification of items</span>
72
    [%- CASE 'items_batchmod' -%]<span>[% t('Perform batch modification of items') %]</span>
72
    [%- CASE 'items_batchmod_restricted' -%]<span>Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)</span>
73
    [%- CASE 'items_batchmod_restricted' -%]<span>[% t('Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)') %]</span>
73
    [%- CASE 'label_creator' -%]<span>Create printable labels and barcodes from catalog and patron data</span>
74
    [%- CASE 'label_creator' -%]<span>[% t('Create printable labels and barcodes from catalog and patron data') %]</span>
74
    [%- CASE 'manage_csv_profiles' -%]<span>Manage CSV export profiles</span>
75
    [%- CASE 'manage_csv_profiles' -%]<span>[% t('Manage CSV export profiles') %]</span>
75
    [%- CASE 'manage_patron_lists' -%]<span>Add, edit and delete patron lists and their contents</span>
76
    [%- CASE 'manage_patron_lists' -%]<span>[% t('Add, edit and delete patron lists and their contents') %]</span>
76
    [%- CASE 'manage_staged_marc' -%]<span>Managed staged MARC records, including completing and reversing imports</span>
77
    [%- CASE 'manage_staged_marc' -%]<span>[% t('Managed staged MARC records, including completing and reversing imports') %]</span>
77
    [%- CASE 'marc_modification_templates' -%]<span>Manage marc modification templates</span>
78
    [%- CASE 'marc_modification_templates' -%]<span>[% t('Manage marc modification templates') %]</span>
78
    [%- CASE 'moderate_comments' -%]<span>Moderate patron comments</span>
79
    [%- CASE 'moderate_comments' -%]<span>[% t('Moderate patron comments') %]</span>
79
    [%- CASE 'moderate_tags' -%]<span>Moderate patron tags</span>
80
    [%- CASE 'moderate_tags' -%]<span>[% t('Moderate patron tags') %]</span>
80
    [%- CASE 'records_batchdel' -%]<span>Perform batch deletion of records (bibliographic or authority)</span>
81
    [%- CASE 'records_batchdel' -%]<span>[% t('Perform batch deletion of records (bibliographic or authority)') %]</span>
81
    [%- CASE 'records_batchmod' -%]<span>Perform batch modification of records (biblios or authorities)</span>
82
    [%- CASE 'records_batchmod' -%]<span>[% t('Perform batch modification of records (biblios or authorities)') %]</span>
82
    [%- CASE 'rotating_collections' -%]<span>Manage rotating collections</span>
83
    [%- CASE 'rotating_collections' -%]<span>[% t('Manage rotating collections') %]</span>
83
    [%- CASE 'schedule_tasks' -%]<span>Schedule tasks to run</span>
84
    [%- CASE 'schedule_tasks' -%]<span>[% t('Schedule tasks to run') %]</span>
84
    [%- CASE 'stage_marc_import' -%]<span>Stage MARC records into the reservoir</span>
85
    [%- CASE 'stage_marc_import' -%]<span>[% t('Stage MARC records into the reservoir') %]</span>
85
    [%- CASE 'upload_local_cover_images' -%]<span>Upload local cover images</span>
86
    [%- CASE 'upload_local_cover_images' -%]<span>[% t('Upload local cover images') %]</span>
86
    [%- CASE 'view_system_logs' -%]<span>Browse the system logs</span>
87
    [%- CASE 'view_system_logs' -%]<span>[% t('Browse the system logs') %]</span>
87
    [%- CASE 'check_expiration' -%]<span>Check the expiration of a serial</span>
88
    [%- CASE 'check_expiration' -%]<span>[% t('Check the expiration of a serial') %]</span>
88
    [%- CASE 'claim_serials' -%]<span>Claim missing serials</span>
89
    [%- CASE 'claim_serials' -%]<span>[% t('Claim missing serials') %]</span>
89
    [%- CASE 'create_subscription' -%]<span>Create a new subscription</span>
90
    [%- CASE 'create_subscription' -%]<span>[% t('Create a new subscription') %]</span>
90
    [%- CASE 'delete_subscription' -%]<span>Delete an existing subscription</span>
91
    [%- CASE 'delete_subscription' -%]<span>[% t('Delete an existing subscription') %]</span>
91
    [%- CASE 'edit_subscription' -%]<span>Edit an existing subscription</span>
92
    [%- CASE 'edit_subscription' -%]<span>[% t('Edit an existing subscription') %]</span>
92
    [%- CASE 'receive_serials' -%]<span>Serials receiving</span>
93
    [%- CASE 'receive_serials' -%]<span>[% t('Serials receiving') %]</span>
93
    [%- CASE 'renew_subscription' -%]<span>Renew a subscription</span>
94
    [%- CASE 'renew_subscription' -%]<span>[% t('Renew a subscription') %]</span>
94
    [%- CASE 'routing' -%]<span>Routing</span>
95
    [%- CASE 'routing' -%]<span>[% t('Routing') %]</span>
95
    [%- CASE 'superserials' -%]<span>Manage subscriptions from any branch (only applies when IndependentBranches is used)</span>
96
    [%- CASE 'superserials' -%]<span>[% t('Manage subscriptions from any branch (only applies when IndependentBranches is used)') %]</span>
96
    [%- CASE 'delete_reports' -%]<span>Delete SQL reports</span>
97
    [%- CASE 'delete_reports' -%]<span>[% t('Delete SQL reports') %]</span>
97
    [%- CASE 'create_reports' -%]<span>Create SQL reports</span>
98
    [%- CASE 'create_reports' -%]<span>[% t('Create SQL reports') %]</span>
98
    [%- CASE 'execute_reports' -%]<span>Execute SQL reports</span>
99
    [%- CASE 'execute_reports' -%]<span>[% t('Execute SQL reports') %]</span>
99
    [%- CASE 'add_reserves' -%]<span>Add course reserves</span>
100
    [%- CASE 'add_reserves' -%]<span>[% t('Add course reserves') %]</span>
100
    [%- CASE 'delete_reserves' -%]<span>Remove course reserves</span>
101
    [%- CASE 'delete_reserves' -%]<span>[% t('Remove course reserves') %]</span>
101
    [%- CASE 'manage_courses' -%]<span>Add, edit and delete courses</span>
102
    [%- CASE 'manage_courses' -%]<span>[% t('Add, edit and delete courses') %]</span>
102
    [%- CASE 'configure' -%]<span>Configure plugins</span>
103
    [%- CASE 'configure' -%]<span>[% t('Configure plugins') %]</span>
103
    [%- CASE 'manage' -%]<span>Manage plugins ( install / uninstall )</span>
104
    [%- CASE 'manage' -%]<span>[% t('Manage plugins ( install / uninstall )') %]</span>
104
    [%- CASE 'report' -%]<span>Use report plugins</span>
105
    [%- CASE 'report' -%]<span>[% t('Use report plugins') %]</span>
105
    [%- CASE 'tool' -%]<span>Use tool plugins</span>
106
    [%- CASE 'tool' -%]<span>[% t('Use tool plugins') %]</span>
106
    [%- CASE 'delete_public_lists' -%]<span>Delete public lists</span>
107
    [%- CASE 'delete_public_lists' -%]<span>[% t('Delete public lists') %]</span>
107
    [%- CASE 'upload_general_files' -%]<span>Upload any file</span>
108
    [%- CASE 'upload_general_files' -%]<span>[% t('Upload any file') %]</span>
108
    [%- CASE 'upload_manage' -%]<span>Manage uploaded files (<i>Useless without upload_general_files</i>)</span>
109
    [%- CASE 'upload_manage' -%]<span>[% t('Manage uploaded files (') %]<i>[% t('Useless without upload_general_files') %]</i>)</span>
109
    [%- CASE 'access_files' -%]<span>Access to the files stored on the server</span>
110
    [%- CASE 'access_files' -%]<span>[% t('Access to the files stored on the server') %]</span>
110
    [%- CASE 'edit_clubs' -%]<span>Create and edit clubs</span>
111
    [%- CASE 'edit_clubs' -%]<span>[% t('Create and edit clubs') %]</span>
111
    [%- CASE 'edit_templates' -%]<span>Create and edit club templates</span>
112
    [%- CASE 'edit_templates' -%]<span>[% t('Create and edit club templates') %]</span>
112
    [%- CASE 'enroll' -%]<span>Enroll patrons in clubs</span>
113
    [%- CASE 'enroll' -%]<span>[% t('Enroll patrons in clubs') %]</span>
113
    [%- CASE 'edi_manage' -%]<span>Manage EDIFACT transmissions</span>
114
    [%- CASE 'edi_manage' -%]<span>[% t('Manage EDIFACT transmissions') %]</span>
114
  [%# self_check %]
115
  [%# self_check %]
115
    [%- CASE 'self_checkin_module' -%]<span>Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality</span>
116
    [%- CASE 'self_checkin_module' -%]<span>[% t('Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality') %]</span>
116
    [%- CASE 'self_checkout_module' -%]<span>Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID</span>
117
    [%- CASE 'self_checkout_module' -%]<span>[% t('Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID') %]</span>
117
  [%- END -%]
118
  [%- END -%]
118
[%- END -%]
119
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc (-7 / +8 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
4
<div id="header_search">
5
<div id="header_search">
5
	<div id="syspref_search" class="residentsearch">
6
	<div id="syspref_search" class="residentsearch">
6
	<p class="tip">System preference search:</p>
7
	<p class="tip">[% t('System preference search:') %]</p>
7
	    <form action="/cgi-bin/koha/admin/preferences.pl">
8
	    <form action="/cgi-bin/koha/admin/preferences.pl">
8
        <input type="hidden" name="tab" value="[% last_tab %]" />
9
        <input type="hidden" name="tab" value="[% last_tab %]" />
9
        <input type="hidden" name="op" value="search" />
10
        <input type="hidden" name="op" value="search" />
Lines 14-31 Link Here
14
    [% INCLUDE 'patron-search-box.inc' %]
15
    [% INCLUDE 'patron-search-box.inc' %]
15
	[% IF ( CAN_user_catalogue ) %]
16
	[% IF ( CAN_user_catalogue ) %]
16
    <div id="catalog_search" class="residentsearch">
17
    <div id="catalog_search" class="residentsearch">
17
<p class="tip">Enter search keywords:</p>
18
<p class="tip">[% t('Enter search keywords:') %]</p>
18
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
19
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
19
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
20
             [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
20
             <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
21
             <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
21
				<input type="submit" value="Submit" class="submit" />
22
				<input type="submit" value="Submit" class="submit" />
22
		</form>
23
		</form>
23
	</div>
24
	</div>
24
	[% END %]
25
	[% END %]
25
			<ul>
26
			<ul>
26
            <li><a class="keep_text" href="#syspref_search">Search system preferences</a></li>
27
            <li><a class="keep_text" href="#syspref_search">[% t('Search system preferences') %]</a></li>
27
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
28
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
28
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
29
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
29
			</ul>
30
			</ul>
30
</div>
31
</div>
31
</div>
32
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc (-16 / +17 lines)
Lines 1-20 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="menu">
2
<div id="menu">
2
<ul>
3
<ul>
3
[% IF ( acquisitions ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Acquisitions" href="/cgi-bin/koha/admin/preferences.pl?tab=acquisitions">Acquisitions</a></li>
4
[% IF ( acquisitions ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Acquisitions') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=acquisitions">[% t('Acquisitions') %]</a></li>
4
[% IF ( admin ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Administration" href="/cgi-bin/koha/admin/preferences.pl?tab=admin">Administration</a></li>
5
[% IF ( admin ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Administration') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=admin">[% t('Administration') %]</a></li>
5
[% IF ( authorities ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Authority Control" href="/cgi-bin/koha/admin/preferences.pl?tab=authorities">Authorities</a></li>
6
[% IF ( authorities ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Authority Control') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=authorities">[% t('Authorities') %]</a></li>
6
[% IF ( cataloguing ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Cataloging" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing">Cataloging</a></li>
7
[% IF ( cataloguing ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Cataloging') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing">[% t('Cataloging') %]</a></li>
7
[% IF ( circulation ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Circulation" href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">Circulation</a></li>
8
[% IF ( circulation ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Circulation') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=circulation">[% t('Circulation') %]</a></li>
8
[% IF ( enhanced_content ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Enhanced content settings" href="/cgi-bin/koha/admin/preferences.pl?tab=enhanced_content">Enhanced content</a></li>
9
[% IF ( enhanced_content ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Enhanced content settings') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=enhanced_content">[% t('Enhanced content') %]</a></li>
9
[% IF ( i18n_l10n ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Internationalization and localization" href="/cgi-bin/koha/admin/preferences.pl?tab=i18n_l10n">I18N/L10N</a></li>
10
[% IF ( i18n_l10n ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Internationalization and localization') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=i18n_l10n">[% t('I18N/L10N') %]</a></li>
10
[% IF ( local_use ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/admin/systempreferences.pl">Local use</a></li>
11
[% IF ( local_use ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/admin/systempreferences.pl">[% t('Local use') %]</a></li>
11
[% IF ( logs ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Transaction logs" href="/cgi-bin/koha/admin/preferences.pl?tab=logs">Logs</a></li>
12
[% IF ( logs ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Transaction logs') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=logs">[% t('Logs') %]</a></li>
12
[% IF ( opac ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Online Public Access Catalog" href="/cgi-bin/koha/admin/preferences.pl?tab=opac">OPAC</a></li>
13
[% IF ( opac ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Online Public Access Catalog') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=opac">[% t('OPAC') %]</a></li>
13
[% IF ( patrons ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Patrons" href="/cgi-bin/koha/admin/preferences.pl?tab=patrons">Patrons</a></li>
14
[% IF ( patrons ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Patrons') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=patrons">[% t('Patrons') %]</a></li>
14
[% IF ( searching ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Searching" href="/cgi-bin/koha/admin/preferences.pl?tab=searching">Searching</a></li>
15
[% IF ( searching ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Searching') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=searching">[% t('Searching') %]</a></li>
15
[% IF ( serials ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Serials" href="/cgi-bin/koha/admin/preferences.pl?tab=serials">Serials</a></li>
16
[% IF ( serials ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Serials') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=serials">[% t('Serials') %]</a></li>
16
[% IF ( staff_client ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Staff client" href="/cgi-bin/koha/admin/preferences.pl?tab=staff_client">Staff client</a></li>
17
[% IF ( staff_client ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Staff client') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=staff_client">[% t('Staff client') %]</a></li>
17
[% IF ( tools ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Tools" href="/cgi-bin/koha/admin/preferences.pl?tab=tools">Tools</a></li>
18
[% IF ( tools ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Tools') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=tools">[% t('Tools') %]</a></li>
18
[% IF ( web_services ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="Web services" href="/cgi-bin/koha/admin/preferences.pl?tab=web_services">Web services</a></li>
19
[% IF ( web_services ) %]<li class="active">[% ELSE %]<li>[% END %]<a title="[% t('Web services') %]" href="/cgi-bin/koha/admin/preferences.pl?tab=web_services">[% t('Web services') %]</a></li>
19
</ul>
20
</ul>
20
</div>
21
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/quotes-toolbar.inc (-3 / +4 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="toolbar" class="btn-toolbar">
2
<div id="toolbar" class="btn-toolbar">
2
        <div class="btn-group"><a class="btn btn-default btn-sm" id="add_quote" href="#"><i class="fa fa-plus"></i> Add quote</a></div>
3
        <div class="btn-group"><a class="btn btn-default btn-sm" id="add_quote" href="#"><i class="fa fa-plus"></i> [% t('Add quote') %]</a></div>
3
        <div class="btn-group"><a class="btn btn-default btn-sm" id="delete_quote" href="#"><i class="fa fa-trash"></i> Delete quote(s)</a></div>
4
        <div class="btn-group"><a class="btn btn-default btn-sm" id="delete_quote" href="#"><i class="fa fa-trash"></i> [% t('Delete quote(s)') %]</a></div>
4
        <div class="btn-group"><a class="btn btn-default btn-sm" id="import_quotes" href="/cgi-bin/koha/tools/quotes-upload.pl"><i class="fa fa-folder-open"></i> Import quotes</a></div>
5
        <div class="btn-group"><a class="btn btn-default btn-sm" id="import_quotes" href="/cgi-bin/koha/tools/quotes-upload.pl"><i class="fa fa-folder-open"></i> [% t('Import quotes') %]</a></div>
5
</div>
6
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/quotes-upload-toolbar.inc (-3 / +4 lines)
Lines 1-5 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="toolbar" class="btn-toolbar" style="visibility: hidden; position: absolute">
2
<div id="toolbar" class="btn-toolbar" style="visibility: hidden; position: absolute">
2
        <div class="btn-group"><a class="btn btn-default btn-sm" id="save_quotes" href="#"><i class="fa fa-save"></i> Save quotes</a></div>
3
        <div class="btn-group"><a class="btn btn-default btn-sm" id="save_quotes" href="#"><i class="fa fa-save"></i> [% t('Save quotes') %]</a></div>
3
        <div class="btn-group"><a class="btn btn-default btn-sm" id="delete_quote" href="#"><i class="fa fa-trash"></i> Delete quote(s)</a></div>
4
        <div class="btn-group"><a class="btn btn-default btn-sm" id="delete_quote" href="#"><i class="fa fa-trash"></i> [% t('Delete quote(s)') %]</a></div>
4
        <div class="btn-group"><a href="/cgi-bin/koha/tools/quotes-upload.pl" id="cancel_quotes" class="btn btn-default btn-sm"><i class="fa fa-remove"></i> Cancel import</a></div>
5
        <div class="btn-group"><a href="/cgi-bin/koha/tools/quotes-upload.pl" id="cancel_quotes" class="btn btn-default btn-sm"><i class="fa fa-remove"></i> [% t('Cancel import') %]</a></div>
5
</div>
6
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc (-26 / +27 lines)
Lines 1-57 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="navmenu">
2
<div id="navmenu">
2
    <div id="navmenulist">
3
    <div id="navmenulist">
3
4
4
        <h5>Guided reports</h5>
5
        <h5>[% t('Guided reports') %]</h5>
5
            <ul>
6
            <ul>
6
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
7
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl">[% t('Guided reports') %]</a></li>
7
                [% IF ( CAN_user_reports_create_reports ) %]
8
                [% IF ( CAN_user_reports_create_reports ) %]
8
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">Build new</a></li>
9
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">[% t('Build new') %]</a></li>
9
                [% END %]
10
                [% END %]
10
                [% IF ( CAN_user_reports_execute_reports ) %]
11
                [% IF ( CAN_user_reports_execute_reports ) %]
11
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">Use saved</a></li>
12
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved">[% t('Use saved') %]</a></li>
12
                [% END %]
13
                [% END %]
13
                [% IF ( CAN_user_reports_create_reports ) %]
14
                [% IF ( CAN_user_reports_create_reports ) %]
14
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">Create from SQL</a></li>
15
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">[% t('Create from SQL') %]</a></li>
15
                [% END %]
16
                [% END %]
16
            </ul>
17
            </ul>
17
18
18
        <h5>Statistics wizards</h5>
19
        <h5>[% t('Statistics wizards') %]</h5>
19
            <ul>
20
            <ul>
20
                <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
21
                <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">[% t('Acquisitions') %]</a></li>
21
                <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
22
                <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">[% t('Patrons') %]</a></li>
22
                <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
23
                <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">[% t('Catalog') %]</a></li>
23
                <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
24
                <li><a href="/cgi-bin/koha/reports/issues_stats.pl">[% t('Circulation') %]</a></li>
24
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
25
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">[% t('Serials') %]</a></li>
25
                <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
26
                <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">[% t('Cash register') %]</a></li>
26
                <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
27
                <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">[% t('Holds') %]</a></li>
27
            </ul>
28
            </ul>
28
29
29
        [% IF UseKohaPlugins %]
30
        [% IF UseKohaPlugins %]
30
            <h5>Report plugins</h5>
31
            <h5>[% t('Report plugins') %]</h5>
31
            <ul>
32
            <ul>
32
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
33
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">[% t('Report plugins') %]</a></li>
33
            </ul>
34
            </ul>
34
        [% END %]
35
        [% END %]
35
36
36
        <h5>Top lists</h5>
37
        <h5>[% t('Top lists') %]</h5>
37
        <ul>
38
        <ul>
38
            <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
39
            <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">[% t('Patrons with the most checkouts') %]</a></li>
39
            <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
40
            <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">[% t('Most-circulated items') %]</a></li>
40
        </ul>
41
        </ul>
41
42
42
        <h5>Inactive</h5>
43
        <h5>[% t('Inactive') %]</h5>
43
        <ul>
44
        <ul>
44
            <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
45
            <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">[% t('Patrons who haven\'t checked out') %]</a></li>
45
            <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
46
            <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">[% t('Items with no checkouts') %]</a></li>
46
        </ul>
47
        </ul>
47
48
48
49
49
        <h5>Other</h5>
50
        <h5>[% t('Other') %]</h5>
50
        <ul>
51
        <ul>
51
            <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
52
            <li><a href="/cgi-bin/koha/reports/itemslost.pl">[% t('Lost items') %]</a></li>
52
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
53
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">[% t('Orders by fund') %]</a></li>
53
            <li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Catalog by item type</a></li>
54
            <li><a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">[% t('Catalog by item type') %]</a></li>
54
            <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
55
            <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">[% t('Average loan time') %]</a></li>
55
        </ul>
56
        </ul>
56
    </div>
57
    </div>
57
</div>
58
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc (-19 / +20 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
3
    [% IF ( CAN_user_reports_create_reports ) %]
4
    [% IF ( CAN_user_reports_create_reports ) %]
4
        <div class="btn-group">
5
        <div class="btn-group">
5
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New report <span class="caret"></span></button>
6
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New report') %] <span class="caret"></span></button>
6
            <ul class="dropdown-menu">
7
            <ul class="dropdown-menu">
7
                <li id="newmenuc"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">New guided report</a> </li>
8
                <li id="newmenuc"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Build%20new">[% t('New guided report') %]</a> </li>
8
                <li id="newsql"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">New SQL report</a> </li>
9
                <li id="newsql"><a href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create%20report%20from%20SQL">[% t('New SQL report') %]</a> </li>
9
            </ul>
10
            </ul>
10
        </div>
11
        </div>
11
    [% END %]
12
    [% END %]
Lines 14-27 Link Here
14
        [% IF ( CAN_user_reports_create_reports ) %]
15
        [% IF ( CAN_user_reports_create_reports ) %]
15
            [% UNLESS ( editsql ) # Do not show edit button on edit page %]
16
            [% UNLESS ( editsql ) # Do not show edit button on edit page %]
16
                <div class="btn-group">
17
                <div class="btn-group">
17
                    <a id="editreport" class="btn btn-default btn-sm" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&amp;phase=Edit%20SQL">
18
                    <a id="editreport" class="btn btn-default btn-sm" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Edit%20SQL">
18
                        <i class="fa fa-pencil"></i> Edit
19
                        <i class="fa fa-pencil"></i> [% t('Edit') %]
19
                    </a>
20
                    </a>
20
                </div>
21
                </div>
21
            [% END %]
22
            [% END %]
22
            <div class="btn-group">
23
            <div class="btn-group">
23
                <a class="btn btn-default btn-sm" title="Duplicate this saved report" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&amp;sql=[% original_sql || sql |uri %]&amp;reportname=[% reportname |uri %]&amp;notes=[% notes |uri %]">
24
                <a class="btn btn-default btn-sm" title="[% t('Duplicate this saved report') %]" href="/cgi-bin/koha/reports/guided_reports.pl?phase=Create report from SQL&sql=[% original_sql || sql |uri %]&reportname=[% reportname |uri %]&notes=[% notes |uri %]">
24
                    <i class="fa fa-copy"></i> Duplicate
25
                    <i class="fa fa-copy"></i> [% t('Duplicate') %]
25
                </a>
26
                </a>
26
            </div>
27
            </div>
27
        [% END %]
28
        [% END %]
Lines 29-70 Link Here
29
        [% IF ( CAN_user_reports_delete_reports ) %]
30
        [% IF ( CAN_user_reports_delete_reports ) %]
30
            <div class="btn-group">
31
            <div class="btn-group">
31
                <a class="delete btn btn-default btn-sm" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Delete%20Saved">
32
                <a class="delete btn btn-default btn-sm" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Delete%20Saved">
32
                    <i class="fa fa-trash"></i> Delete
33
                    <i class="fa fa-trash"></i> [% t('Delete') %]
33
                </a>
34
                </a>
34
            </div>
35
            </div>
35
        [% END %]
36
        [% END %]
36
37
37
        [% UNLESS ( errors ) # Unless there are errors saving a report %]
38
        [% UNLESS ( errors ) # Unless there are errors saving a report %]
38
            <div class="btn-group">
39
            <div class="btn-group">
39
                <a id="runreport" class="btn btn-default btn-sm" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&amp;phase=Run%20this%20report">
40
                <a id="runreport" class="btn btn-default btn-sm" href="/cgi-bin/koha/reports/guided_reports.pl?reports=[% id %]&phase=Run%20this%20report">
40
                    <i class="fa fa-play"></i> Run report
41
                    <i class="fa fa-play"></i> [% t('Run report') %]
41
                </a>
42
                </a>
42
            </div>
43
            </div>
43
            <div class="btn-group">
44
            <div class="btn-group">
44
                <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/scheduler.pl?id=[% id %]">
45
                <a class="btn btn-default btn-sm" href="/cgi-bin/koha/tools/scheduler.pl?id=[% id %]">
45
                    <i class="fa fa-clock-o"></i> Schedule
46
                    <i class="fa fa-clock-o"></i> [% t('Schedule') %]
46
                </a>
47
                </a>
47
            </div>
48
            </div>
48
        [% END %]
49
        [% END %]
49
50
50
        [% IF ( execute ) %]
51
        [% IF ( execute ) %]
51
            [% BLOCK params %]
52
            [% BLOCK params %]
52
                [%- FOREACH param IN sql_params %]&amp;sql_params=[% param %][% END %]
53
                [%- FOREACH param IN sql_params %][% t('&amp;sql_params=') %][% param %][% END %]
53
                    [%- FOREACH param_name IN param_names %]&amp;param_name=[% param_name %][% END %]
54
                    [%- FOREACH param_name IN param_names %][% t('&amp;param_name=') %][% param_name %][% END %]
54
            [%- END %]
55
            [%- END %]
55
56
56
57
57
            <div class="btn-group">
58
            <div class="btn-group">
58
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" id="format"><i class="fa fa-upload"></i> Download <span class="caret"></span></button>
59
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" id="format"><i class="fa fa-upload"></i> [% t('Download') %] <span class="caret"></span></button>
59
                <ul class="dropdown-menu">
60
                <ul class="dropdown-menu">
60
                    <li><a id="csv" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=csv&amp;report_id=[% id %]&amp;reportname=[% name |uri %][% PROCESS params %]">[% PROCESS 'delimiter_text.inc' %]</a></li>
61
                    <li><a id="csv" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&format=csv&report_id=[% id %]&reportname=[% name |uri %][% PROCESS params %]">[% PROCESS 'delimiter_text.inc' %]</a></li>
61
                    <li><a id="tab" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=tab&amp;report_id=[% id %]&amp;reportname=[% name |uri %][% PROCESS params %]">Tab separated text</a></li>
62
                    <li><a id="tab" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&format=tab&report_id=[% id %]&reportname=[% name |uri %][% PROCESS params %]">[% t('Tab separated text') %]</a></li>
62
                    <li><a id="ods" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&amp;format=ods&amp;report_id=[% id %]&amp;reportname=[% name |uri %][% PROCESS params %]">Open Document Spreadsheet</a></li>
63
                    <li><a id="ods" href="/cgi-bin/koha/reports/guided_reports.pl?reports=1&phase=Export&format=ods&report_id=[% id %]&reportname=[% name |uri %][% PROCESS params %]">[% t('Open Document Spreadsheet') %]</a></li>
63
                </ul>
64
                </ul>
64
            </div>
65
            </div>
65
            <div class="btn-group">
66
            <div class="btn-group">
66
                <a class="btn btn-default btn-sm toggle_sql" id="toggle_sql_hid" href="#"><i class="fa fa-eye"></i> Show SQL code</a>
67
                <a class="btn btn-default btn-sm toggle_sql" id="toggle_sql_hid" href="#"><i class="fa fa-eye"></i> [% t('Show SQL code') %]</a>
67
                <a class="btn btn-default btn-sm toggle_sql" id="toggle_sql_vis" href="#" style="display:none;"><i class="fa fa-eye-slash"></i> Hide SQL code</a>
68
                <a class="btn btn-default btn-sm toggle_sql" id="toggle_sql_vis" href="#" style="display:none;"><i class="fa fa-eye-slash"></i> [% t('Hide SQL code') %]</a>
68
            </div>
69
            </div>
69
        [% END %]
70
        [% END %]
70
71
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/resort_form.inc (-30 / +31 lines)
Lines 1-86 Link Here
1
<option value="relevance">Relevance</option>
1
[% PROCESS 'i18n.inc' %]
2
<option value="relevance">[% t('Relevance') %]</option>
2
3
3
<optgroup label="Popularity">
4
<optgroup label="[% t('Popularity') %]">
4
	
5
	
5
	[% IF ( sort_by == "popularity_dsc" ) %]
6
	[% IF ( sort_by == "popularity_dsc" ) %]
6
<option value="popularity_dsc" selected="selected">Popularity (most to least)</option>
7
<option value="popularity_dsc" selected="selected">[% t('Popularity (most to least)') %]</option>
7
[% ELSE %]
8
[% ELSE %]
8
    <option value="popularity_dsc">Popularity (most to least)</option>
9
    <option value="popularity_dsc">[% t('Popularity (most to least)') %]</option>
9
 [% END %]
10
 [% END %]
10
[% IF ( sort_by == "popularity_asc" ) %]
11
[% IF ( sort_by == "popularity_asc" ) %]
11
<option value="popularity_asc" selected="selected">Popularity (least to most)</option>
12
<option value="popularity_asc" selected="selected">[% t('Popularity (least to most)') %]</option>
12
[% ELSE %]
13
[% ELSE %]
13
    <option value="popularity_asc">Popularity (least to most)</option>
14
    <option value="popularity_asc">[% t('Popularity (least to most)') %]</option>
14
 [% END %]
15
 [% END %]
15
16
16
</optgroup>
17
</optgroup>
17
18
18
<optgroup label="Author">
19
<optgroup label="[% t('Author') %]">
19
	
20
	
20
	[% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
21
	[% IF ( sort_by == "author_az" || sort_by == "author_asc" ) %]
21
<option value="author_az" selected="selected">Author (A-Z)</option>	
22
<option value="author_az" selected="selected">[% t('Author (A-Z)') %]</option>	
22
[% ELSE %]
23
[% ELSE %]
23
<option value="author_az">Author (A-Z)</option>
24
<option value="author_az">[% t('Author (A-Z)') %]</option>
24
 [% END %]
25
 [% END %]
25
[% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
26
[% IF ( sort_by == "author_za" || sort_by == "author_dsc" ) %]
26
<option value="author_za" selected="selected">Author (Z-A)</option>
27
<option value="author_za" selected="selected">[% t('Author (Z-A)') %]</option>
27
[% ELSE %]
28
[% ELSE %]
28
<option value="author_za">Author (Z-A)</option>
29
<option value="author_za">[% t('Author (Z-A)') %]</option>
29
 [% END %]
30
 [% END %]
30
31
31
</optgroup>
32
</optgroup>
32
33
33
<optgroup label="Call Number">
34
<optgroup label="[% t('Call Number') %]">
34
	
35
	
35
	[% IF ( sort_by == "call_number_asc" ) %]
36
	[% IF ( sort_by == "call_number_asc" ) %]
36
<option value="call_number_asc" selected="selected">Call Number (0-9 to A-Z)</option>
37
<option value="call_number_asc" selected="selected">[% t('Call Number (0-9 to A-Z)') %]</option>
37
[% ELSE %]
38
[% ELSE %]
38
    <option value="call_number_asc">Call number (0-9 to A-Z)</option>
39
    <option value="call_number_asc">[% t('Call number (0-9 to A-Z)') %]</option>
39
[% END %]
40
[% END %]
40
41
41
[% IF ( sort_by == "call_number_dsc" ) %]
42
[% IF ( sort_by == "call_number_dsc" ) %]
42
<option value="call_number_dsc" selected="selected">Call number (Z-A to 9-0)</option>
43
<option value="call_number_dsc" selected="selected">[% t('Call number (Z-A to 9-0)') %]</option>
43
[% ELSE %]
44
[% ELSE %]
44
    <option value="call_number_dsc">Call number (Z-A to 9-0)</option>
45
    <option value="call_number_dsc">[% t('Call number (Z-A to 9-0)') %]</option>
45
[% END %]
46
[% END %]
46
47
47
</optgroup>
48
</optgroup>
48
49
49
<optgroup label="Dates">
50
<optgroup label="[% t('Dates') %]">
50
	[% IF ( sort_by == "pubdate_dsc" ) %]
51
	[% IF ( sort_by == "pubdate_dsc" ) %]
51
<option value="pubdate_dsc" selected="selected" >Publication/Copyright date: newest to oldest</option>
52
<option value="pubdate_dsc" selected="selected">[% t('Publication/Copyright date: newest to oldest') %]</option>
52
	[% ELSE %]
53
	[% ELSE %]
53
<option value="pubdate_dsc">Publication/Copyright date: newest to oldest</option>
54
<option value="pubdate_dsc">[% t('Publication/Copyright date: newest to oldest') %]</option>
54
[% END %]
55
[% END %]
55
56
56
[% IF ( sort_by == "pubdate_asc" ) %]
57
[% IF ( sort_by == "pubdate_asc" ) %]
57
<option value="pubdate_asc" selected="selected" >Publication/Copyright date: oldest to newest</option>
58
<option value="pubdate_asc" selected="selected">[% t('Publication/Copyright date: oldest to newest') %]</option>
58
[% ELSE %]
59
[% ELSE %]
59
<option value="pubdate_asc">Publication/Copyright date: oldest to newest</option>
60
<option value="pubdate_asc">[% t('Publication/Copyright date: oldest to newest') %]</option>
60
[% END %]
61
[% END %]
61
62
62
[% IF ( sort_by == "acqdate_dsc" ) %]
63
[% IF ( sort_by == "acqdate_dsc" ) %]
63
<option value="acqdate_dsc" selected="selected">Acquisition date: newest to oldest</option>
64
<option value="acqdate_dsc" selected="selected">[% t('Acquisition date: newest to oldest') %]</option>
64
[% ELSE %]
65
[% ELSE %]
65
<option value="acqdate_dsc">Acquisition date: newest to oldest</option>
66
<option value="acqdate_dsc">[% t('Acquisition date: newest to oldest') %]</option>
66
 [% END %]
67
 [% END %]
67
68
68
 [% IF ( sort_by == "acqdate_asc" ) %]
69
 [% IF ( sort_by == "acqdate_asc" ) %]
69
<option value="acqdate_asc" selected="selected">Acquisition date: oldest to newest</option>
70
<option value="acqdate_asc" selected="selected">[% t('Acquisition date: oldest to newest') %]</option>
70
[% ELSE %]
71
[% ELSE %]
71
<option value="acqdate_asc">Acquisition date: oldest to newest</option>
72
<option value="acqdate_asc">[% t('Acquisition date: oldest to newest') %]</option>
72
 [% END %]
73
 [% END %]
73
</optgroup>
74
</optgroup>
74
75
75
<optgroup label="Title">
76
<optgroup label="[% t('Title') %]">
76
	[% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
77
	[% IF ( sort_by == "title_az" || sort_by == "title_asc" ) %]
77
<option value="title_az" selected="selected">Title (A-Z)</option>
78
<option value="title_az" selected="selected">[% t('Title (A-Z)') %]</option>
78
	[% ELSE %]
79
	[% ELSE %]
79
<option value="title_az">Title (A-Z)</option>
80
<option value="title_az">[% t('Title (A-Z)') %]</option>
80
	 [% END %]
81
	 [% END %]
81
	[% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
82
	[% IF ( sort_by == "title_za" || sort_by == "title_dsc" ) %]
82
<option value="title_za" selected="selected">Title (Z-A)</option>	
83
<option value="title_za" selected="selected">[% t('Title (Z-A)') %]</option>	
83
	[% ELSE %]
84
	[% ELSE %]
84
<option value="title_za">Title (Z-A)</option>
85
<option value="title_za">[% t('Title (Z-A)') %]</option>
85
[% END %]
86
[% END %]
86
</optgroup>
87
</optgroup>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/rotating-collections-toolbar.inc (-4 / +5 lines)
Lines 1-18 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
<div id="toolbar" class="btn-toolbar">
3
<div id="toolbar" class="btn-toolbar">
3
    <div class="btn-group">
4
    <div class="btn-group">
4
        <a class="btn btn-default btn-sm" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=new"><i class="fa fa-plus"></i> New collection</a>
5
        <a class="btn btn-default btn-sm" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=new"><i class="fa fa-plus"></i> [% t('New collection') %]</a>
5
    </div>
6
    </div>
6
7
7
    [% IF ( colId ) %]
8
    [% IF ( colId ) %]
8
        <div class="btn-group">
9
        <div class="btn-group">
9
            <a class="btn btn-default btn-sm" href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% colId %]"><i class="fa fa-exchange"></i> Transfer</a>
10
            <a class="btn btn-default btn-sm" href="/cgi-bin/koha/rotating_collections/transferCollection.pl?colId=[% colId %]"><i class="fa fa-exchange"></i> [% t('Transfer') %]</a>
10
        </div>
11
        </div>
11
        <div class="btn-group">
12
        <div class="btn-group">
12
            <a class="btn btn-default btn-sm" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&amp;colId=[% colId %]"><i class="fa fa-pencil"></i> Edit</a>
13
            <a class="btn btn-default btn-sm" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=edit&colId=[% colId %]"><i class="fa fa-pencil"></i> [% t('Edit') %]</a>
13
        </div>
14
        </div>
14
        <div class="btn-group">
15
        <div class="btn-group">
15
            <a class="btn btn-default btn-sm confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&amp;colId=[% colId %]"><i class="fa fa-trash"></i> Delete</a>
16
            <a class="btn btn-default btn-sm confirmdelete" href="/cgi-bin/koha/rotating_collections/editCollections.pl?action=delete&colId=[% colId %]"><i class="fa fa-trash"></i> [% t('Delete') %]</a>
16
        </div>
17
        </div>
17
    [% END %]
18
    [% END %]
18
</div>
19
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc (-33 / +34 lines)
Lines 1-46 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<select class="advsearch" name="idx">
3
<select class="advsearch" name="idx">
3
    <option value="kw">Keyword</option>
4
    <option value="kw">[% t('Keyword') %]</option>
4
    <option value="kw,phr">&nbsp;&nbsp;&nbsp;&nbsp; Keyword as phrase</option>
5
    <option value="kw,phr">[% t('     Keyword as phrase') %]</option>
5
    <option value="au">Author</option>
6
    <option value="au">[% t('Author') %]</option>
6
    <option value="au,phr">&nbsp;&nbsp;&nbsp;&nbsp; Author as phrase</option>
7
    <option value="au,phr">[% t('     Author as phrase') %]</option>
7
    <option value="cpn">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name</option>
8
    <option value="cpn">[% t('     Corporate name') %]</option>
8
    <option value="cfn">&nbsp;&nbsp;&nbsp;&nbsp; Conference name</option>
9
    <option value="cfn">[% t('     Conference name') %]</option>
9
    <option value="cpn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Corporate name as phrase</option>
10
    <option value="cpn,phr">[% t('     Corporate name as phrase') %]</option>
10
    <option value="cfn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Conference name as phrase</option>
11
    <option value="cfn,phr">[% t('     Conference name as phrase') %]</option>
11
    <option value="pn">&nbsp;&nbsp;&nbsp;&nbsp; Personal name</option>
12
    <option value="pn">[% t('     Personal name') %]</option>
12
    <option value="pn,phr">&nbsp;&nbsp;&nbsp;&nbsp; Personal name as phrase</option>
13
    <option value="pn,phr">[% t('     Personal name as phrase') %]</option>
13
    <option value="ti">Title</option>
14
    <option value="ti">[% t('Title') %]</option>
14
    <option value="ti,phr">&nbsp;&nbsp;&nbsp;&nbsp; Title as phrase</option>
15
    <option value="ti,phr">[% t('     Title as phrase') %]</option>
15
    <option value="se">&nbsp;&nbsp;&nbsp;&nbsp; Series title</option>
16
    <option value="se">[% t('     Series title') %]</option>
16
    <option value="su">Subject</option>
17
    <option value="su">[% t('Subject') %]</option>
17
    <option value="su,phr">&nbsp;&nbsp;&nbsp;&nbsp; Subject as phrase</option>
18
    <option value="su,phr">[% t('     Subject as phrase') %]</option>
18
    [% IF ( expanded_options ) %]
19
    [% IF ( expanded_options ) %]
19
        <option value="su-br">&nbsp;&nbsp;&nbsp;&nbsp; Subject and broader terms</option>
20
        <option value="su-br">[% t('     Subject and broader terms') %]</option>
20
        <option value="su-na">&nbsp;&nbsp;&nbsp;&nbsp; Subject and narrower terms</option>
21
        <option value="su-na">[% t('     Subject and narrower terms') %]</option>
21
        <option value="su-rl">&nbsp;&nbsp;&nbsp;&nbsp; Subject and related terms</option>
22
        <option value="su-rl">[% t('     Subject and related terms') %]</option>
22
    [% END %]
23
    [% END %]
23
    <option value="bc">Barcode</option>
24
    <option value="bc">[% t('Barcode') %]</option>
24
    <option value="location">Shelving location</option>
25
    <option value="location">[% t('Shelving location') %]</option>
25
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
26
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
26
    <option value="sn,phr">Standard number</option>
27
    <option value="sn,phr">[% t('Standard number') %]</option>
27
    [% ELSE %]
28
    [% ELSE %]
28
    <option value="sn">Standard number</option>
29
    <option value="sn">[% t('Standard number') %]</option>
29
    [% END %]
30
    [% END %]
30
    <option value="nb">&nbsp;&nbsp;&nbsp;&nbsp; ISBN</option>
31
    <option value="nb">[% t('     ISBN') %]</option>
31
    <option value="ns">&nbsp;&nbsp;&nbsp;&nbsp; ISSN</option>
32
    <option value="ns">[% t('     ISSN') %]</option>
32
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
33
    [% IF ( Koha.Preference('IntranetNumbersPreferPhrase') ) %]
33
    <option value="callnum,phr">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
34
    <option value="callnum,phr">[% t('     Call number') %]</option>
34
    [% ELSE %]
35
    [% ELSE %]
35
    <option value="callnum">&nbsp;&nbsp;&nbsp;&nbsp; Call number</option>
36
    <option value="callnum">[% t('     Call number') %]</option>
36
    [% END %]
37
    [% END %]
37
    <option value="ln,rtrn">Language</option>
38
    <option value="ln,rtrn">[% t('Language') %]</option>
38
    <option value="nt">Notes/Comments</option>
39
    <option value="nt">[% t('Notes/Comments') %]</option>
39
    [% IF (marcflavour != 'UNIMARC' ) %]
40
    [% IF (marcflavour != 'UNIMARC' ) %]
40
        <option value="curriculum">Curriculum</option>
41
        <option value="curriculum">[% t('Curriculum') %]</option>
41
    [% END %]
42
    [% END %]
42
    <option value="pb">Publisher</option>
43
    <option value="pb">[% t('Publisher') %]</option>
43
    <option value="pl">Publisher location</option>
44
    <option value="pl">[% t('Publisher location') %]</option>
44
45
45
    [%# Use non-normalized st-year instead of st-numeric, %]
46
    [%# Use non-normalized st-year instead of st-numeric, %]
46
    [%# since pubdate can include 'u' to signify unknown %]
47
    [%# since pubdate can include 'u' to signify unknown %]
Lines 48-53 Link Here
48
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
49
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
49
    [%# This search is also for date ranges due to the %]
50
    [%# This search is also for date ranges due to the %]
50
    [%# special Zebra r=r CCL mapping for 'yr' %]
51
    [%# special Zebra r=r CCL mapping for 'yr' %]
51
    <option value="yr,st-year">Publication date (yyyy-yyyy)</option>
52
    <option value="yr,st-year">[% t('Publication date (yyyy-yyyy)') %]</option>
52
    <option value="acqdate,st-date-normalized">Acquisition date (yyyy-mm-dd)</option>
53
    <option value="acqdate,st-date-normalized">[% t('Acquisition date (yyyy-mm-dd)') %]</option>
53
</select>
54
</select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc (-8 / +9 lines)
Lines 1-12 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( subscriptionid ) %]
2
[% IF ( subscriptionid ) %]
2
<ul>
3
<ul>
3
<li><a href="serials-collection.pl?subscriptionid=[% subscriptionid %]">Serial collection</a></li>
4
<li><a href="serials-collection.pl?subscriptionid=[% subscriptionid %]">[% t('Serial collection') %]</a></li>
4
  [% UNLESS closed %]
5
  [% UNLESS closed %]
5
    [% IF ( routing && CAN_user_serials_routing ) %]
6
    [% IF ( routing && CAN_user_serials_routing ) %]
6
        [% IF ( hasRouting ) %]
7
        [% IF ( hasRouting ) %]
7
             <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]">Edit routing list</a></li>
8
             <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]">[% t('Edit routing list') %]</a></li>
8
        [% ELSE %]
9
        [% ELSE %]
9
            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]&amp;op=new">Create routing list</a></li>
10
            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid %]&op=new">[% t('Create routing list') %]</a></li>
10
        [% END %]
11
        [% END %]
11
    [% END %]
12
    [% END %]
12
  [% END %]
13
  [% END %]
Lines 15-34 Link Here
15
16
16
<ul>
17
<ul>
17
    [% IF ( CAN_user_serials_claim_serials ) %]
18
    [% IF ( CAN_user_serials_claim_serials ) %]
18
	<li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
19
	<li><a href="/cgi-bin/koha/serials/claims.pl">[% t('Claims') %]</a></li>
19
    [% END %]
20
    [% END %]
20
    [% IF ( CAN_user_serials_check_expiration ) %]
21
    [% IF ( CAN_user_serials_check_expiration ) %]
21
	<li><a href="/cgi-bin/koha/serials/checkexpiration.pl">Check expiration</a></li>
22
	<li><a href="/cgi-bin/koha/serials/checkexpiration.pl">[% t('Check expiration') %]</a></li>
22
    [% END %]
23
    [% END %]
23
    <li>
24
    <li>
24
        <a href="/cgi-bin/koha/serials/subscription-frequencies.pl">
25
        <a href="/cgi-bin/koha/serials/subscription-frequencies.pl">
25
            Manage frequencies
26
            [% t('Manage frequencies') %]
26
        </a>
27
        </a>
27
    </li>
28
    </li>
28
    <li>
29
    <li>
29
        <a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl">
30
        <a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl">
30
            Manage numbering patterns
31
            [% t('Manage numbering patterns') %]
31
        </a>
32
        </a>
32
    </li>
33
    </li>
33
    <li><a href="/cgi-bin/koha/serials/add_fields.pl">Add subscription fields</a></li>
34
    <li><a href="/cgi-bin/koha/serials/add_fields.pl">[% t('Add subscription fields') %]</a></li>
34
</ul>
35
</ul>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc (-12 / +13 lines)
Lines 1-38 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
  <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Serials Resident Search Box -->
4
  <h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Serials Resident Search Box -->
4
  <div id="header_search">
5
  <div id="header_search">
5
    <div id="subscription_search" class="residentsearch">
6
    <div id="subscription_search" class="residentsearch">
6
    <p class="tip">Search subscriptions:</p>
7
    <p class="tip">[% t('Search subscriptions:') %]</p>
7
    <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
8
    <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">
8
      [% IF ( routing ) %]
9
      [% IF ( routing ) %]
9
        <input type="hidden" name="routing" value="[% routing %]" />
10
        <input type="hidden" name="routing" value="[% routing %]" />
10
      [% END %]
11
      [% END %]
11
      <input type="hidden" name="searched" value="1" />
12
      <input type="hidden" name="searched" value="1" />
12
      <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
13
      <label for="ISSN_filter">[% t('ISSN:') %]</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter | html %]" />
13
14
14
      [% IF (UNIMARC) %]
15
      [% IF (UNIMARC) %]
15
        <label for="EAN_filter">EAN:</label> <input type="text" size="20" maxlength="40" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
16
        <label for="EAN_filter">[% t('EAN:') %]</label> <input type="text" size="20" maxlength="40" name="EAN_filter" id="EAN_filter" value="[% EAN_filter | html %]" />
16
      [% END %]
17
      [% END %]
17
      <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
18
      <label for="title_filter">[% t('Title:') %]</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" />
18
      <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/serials/serials-search.pl">Advanced search</a>
19
      <input value="Submit" class="submit" type="submit" /> <a href="/cgi-bin/koha/serials/serials-search.pl">[% t('Advanced search') %]</a>
19
    </form>
20
    </form>
20
    </div>
21
    </div>
21
    [% INCLUDE 'patron-search-box.inc' %]
22
    [% INCLUDE 'patron-search-box.inc' %]
22
    [% IF ( CAN_user_catalogue ) %]
23
    [% IF ( CAN_user_catalogue ) %]
23
      <div id="catalog_search" class="residentsearch">
24
      <div id="catalog_search" class="residentsearch">
24
        <p class="tip">Enter search keywords:</p>
25
        <p class="tip">[% t('Enter search keywords:') %]</p>
25
        <form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
26
        <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
26
          [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
27
          [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
27
          <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
28
          <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
28
          <input type="submit" value="Submit"  class="submit" />
29
          <input type="submit" value="Submit" class="submit" />
29
        </form>
30
        </form>
30
      </div>
31
      </div>
31
    [% END %]
32
    [% END %]
32
    <ul>
33
    <ul>
33
      <li><a href="#subscription_search">Search subscriptions</a></li>
34
      <li><a href="#subscription_search">[% t('Search subscriptions') %]</a></li>
34
      [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
35
      [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
35
      [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
36
      [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
36
    </ul>
37
    </ul>
37
  </div><!-- /header_search -->
38
  </div><!-- /header_search -->
38
</div><!-- /gradient -->
39
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc (-14 / +15 lines)
Lines 1-38 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
[% IF subscriptionid and ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription || CAN_user_serials_receive_serials ) %]
3
[% IF subscriptionid and ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription || CAN_user_serials_receive_serials ) %]
3
    <div id="toolbar" class="btn-toolbar">
4
    <div id="toolbar" class="btn-toolbar">
4
        [% IF CAN_user_serials_create_subscription %]
5
        [% IF CAN_user_serials_create_subscription %]
5
            [% IF biblionumber_for_new_subscription %]
6
            [% IF biblionumber_for_new_subscription %]
6
                <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription %]"><i class="fa fa-plus"></i> New subscription</a></div>
7
                <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription %]"><i class="fa fa-plus"></i> [% t('New subscription') %]</a></div>
7
            [% ELSE %]
8
            [% ELSE %]
8
                <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> New subscription</a></div>
9
                <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> [% t('New subscription') %]</a></div>
9
            [% END %]
10
            [% END %]
10
        [% END %]
11
        [% END %]
11
12
12
        [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %]
13
        [% IF ( CAN_user_serials_edit_subscription || CAN_user_serials_create_subscription || CAN_user_serials_delete_subscription ) %]
13
            [% UNLESS ( cannotedit ) %]
14
            [% UNLESS ( cannotedit ) %]
14
                <div class="btn-group">
15
                <div class="btn-group">
15
                    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
16
                    <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> [% t('Edit') %] <span class="caret"></span></button>
16
                        <ul class="dropdown-menu">
17
                        <ul class="dropdown-menu">
17
                            [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
18
                            [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
18
                            <li> [% END %]
19
                            <li> [% END %]
19
                            <a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&amp;subscriptionid=[% subscriptionid %]">Edit subscription</a></li>
20
                            <a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&subscriptionid=[% subscriptionid %]">[% t('Edit subscription') %]</a></li>
20
                            [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
21
                            [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
21
                            <li> [% END %]
22
                            <li> [% END %]
22
                            <a href="/cgi-bin/koha/serials/subscription-add.pl?op=dup&amp;subscriptionid=[% subscriptionid %]">Edit as new (duplicate)</a></li>
23
                            <a href="/cgi-bin/koha/serials/subscription-add.pl?op=dup&subscriptionid=[% subscriptionid %]">[% t('Edit as new (duplicate)') %]</a></li>
23
24
24
                            [% IF CAN_user_editcatalogue_edit_catalogue %]
25
                            [% IF CAN_user_editcatalogue_edit_catalogue %]
25
                                <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">Edit record</a></li>
26
                                <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">[% t('Edit record') %]</a></li>
26
                            [% END %]
27
                            [% END %]
27
28
28
                            [% IF serialsadditems && CAN_user_editcatalogue_edit_items %]
29
                            [% IF serialsadditems && CAN_user_editcatalogue_edit_items %]
29
                                <li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Edit items</a></li>
30
                                <li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">[% t('Edit items') %]</a></li>
30
                            [% END %]
31
                            [% END %]
31
32
32
                            [% IF ( CAN_user_serials_delete_subscription ) %]
33
                            [% IF ( CAN_user_serials_delete_subscription ) %]
33
                            [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
34
                            [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %]
34
                            <li> [% END %]
35
                            <li> [% END %]
35
                            <a href="#" id="deletesub">Delete subscription</a></li>[% END %]
36
                            <a href="#" id="deletesub">[% t('Delete subscription') %]</a></li>[% END %]
36
                        </ul>
37
                        </ul>
37
                </div>
38
                </div>
38
            [% END %]
39
            [% END %]
Lines 40-55 Link Here
40
41
41
        [% IF not cannotedit or CAN_user_serials_receive_serials %]
42
        [% IF not cannotedit or CAN_user_serials_receive_serials %]
42
            [% IF CAN_user_serials_renew_subscription and not closed %]
43
            [% IF CAN_user_serials_renew_subscription and not closed %]
43
                <div class="btn-group"><a id="renew" class="btn btn-default btn-sm" href="#"><i class="fa fa-refresh"></i> Renew</a></div>
44
                <div class="btn-group"><a id="renew" class="btn btn-default btn-sm" href="#"><i class="fa fa-refresh"></i> [% t('Renew') %]</a></div>
44
            [% END %]
45
            [% END %]
45
            [% IF CAN_user_serials_receive_serials and not closed %]
46
            [% IF CAN_user_serials_receive_serials and not closed %]
46
                <div class="btn-group"><a id="receive" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscriptionid %]&amp;serstatus=1,3"><i class="fa fa-inbox"></i> Receive</a></div>
47
                <div class="btn-group"><a id="receive" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscriptionid %]&serstatus=1,3"><i class="fa fa-inbox"></i> [% t('Receive') %]</a></div>
47
            [% END %]
48
            [% END %]
48
            [% UNLESS cannotedit %]
49
            [% UNLESS cannotedit %]
49
                [% IF closed %]
50
                [% IF closed %]
50
                    <div class="btn-group"><a id="reopen" class="btn btn-default btn-sm" href="#"><i class="fa fa-repeat"></i> Reopen</a></div>
51
                    <div class="btn-group"><a id="reopen" class="btn btn-default btn-sm" href="#"><i class="fa fa-repeat"></i> [% t('Reopen') %]</a></div>
51
                [% ELSE %]
52
                [% ELSE %]
52
                    <div class="btn-group"><a id="close" class="btn btn-default btn-sm" href="#"><i class="fa fa-times-circle"></i> Close</a></div>
53
                    <div class="btn-group"><a id="close" class="btn btn-default btn-sm" href="#"><i class="fa fa-times-circle"></i> [% t('Close') %]</a></div>
53
                [% END %]
54
                [% END %]
54
            [% END %]
55
            [% END %]
55
        [% END %]
56
        [% END %]
Lines 57-65 Link Here
57
[% ELSIF CAN_user_serials_create_subscription %]
58
[% ELSIF CAN_user_serials_create_subscription %]
58
    <div id="toolbar" class="btn-toolbar">
59
    <div id="toolbar" class="btn-toolbar">
59
        [% IF ( biblionumber_for_new_subscription ) %]
60
        [% IF ( biblionumber_for_new_subscription ) %]
60
            <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription %]"><i class="fa fa-plus"></i> New subscription</a></div>
61
            <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber_for_new_subscription %]"><i class="fa fa-plus"></i> [% t('New subscription') %]</a></div>
61
        [% ELSE %]
62
        [% ELSE %]
62
            <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> New subscription</a></div>
63
            <div class="btn-group"><a id="newsubscription" class="btn btn-default btn-sm" href="/cgi-bin/koha/serials/subscription-add.pl"><i class="fa fa-plus"></i> [% t('New subscription') %]</a></div>
63
        [% END %]
64
        [% END %]
64
    </div>
65
    </div>
65
[% END %]
66
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/subscriptions-search.inc (-8 / +9 lines)
Lines 1-36 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% PROCESS 'html_helpers.inc' %]
2
[% PROCESS 'html_helpers.inc' %]
2
<div id="advsearch">
3
<div id="advsearch">
3
    <form action="" method="get">
4
    <form action="" method="get">
4
        <fieldset class="brief">
5
        <fieldset class="brief">
5
        <a href="#" class="toggle_element" data-element="#advsearch_form">Advanced search</a>
6
        <a href="#" class="toggle_element" data-element="#advsearch_form">[% t('Advanced search') %]</a>
6
            <div id="advsearch_form" style="display:none">
7
            <div id="advsearch_form" style="display:none">
7
            <ol>
8
            <ol>
8
              <li>
9
              <li>
9
                <label for="issn">ISSN:</label>
10
                <label for="issn">[% t('ISSN:') %]</label>
10
                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
11
                <input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter | html %]" />
11
              </li>
12
              </li>
12
              <li>
13
              <li>
13
                <label for="title">Title:</label>
14
                <label for="title">[% t('Title:') %]</label>
14
                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
15
                <input type="text" id="title" name="title_filter" value="[% title_filter | html %]" />
15
              </li>
16
              </li>
16
              [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
17
              [% IF Koha.Preference( 'marcflavour' ) == "UNIMARC" %]
17
              <li>
18
              <li>
18
                <label for="ean">EAN:</label>
19
                <label for="ean">[% t('EAN:') %]</label>
19
                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
20
                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
20
              </li>
21
              </li>
21
              [% END %]
22
              [% END %]
22
              <li>
23
              <li>
23
                <label for="publisher">Publisher:</label>
24
                <label for="publisher">[% t('Publisher:') %]</label>
24
                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
25
                <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
25
              </li>
26
              </li>
26
              <li>
27
              <li>
27
                <label for="supplier">Vendor:</label>
28
                <label for="supplier">[% t('Vendor:') %]</label>
28
                <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" />
29
                <input type="text" id="supplier" name="supplier_filter" value="[% supplier_filter | html %]" />
29
              </li>
30
              </li>
30
              <li>
31
              <li>
31
                <label for="branch">Library:</label>
32
                <label for="branch">[% t('Library:') %]</label>
32
                <select id="branch" name="branch_filter">
33
                <select id="branch" name="branch_filter">
33
                  <option value="">All</option>
34
                  <option value="">[% t('All') %]</option>
34
                  [%# FIXME Should not we filter the libraries? %]
35
                  [%# FIXME Should not we filter the libraries? %]
35
                  [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
36
                  [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
36
                </select>
37
                </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/subtypes_unimarc.inc (-160 / +161 lines)
Lines 1-218 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<p>
2
<p>
2
    <a id="show_coded_fields" class="toggle_element" data-element="#Coded_Fields,#show_coded_fields,#hide_coded_fields" href="#"><i class="fa fa-plus-square-o"></i> Show coded information filters</a>
3
    <a id="show_coded_fields" class="toggle_element" data-element="#Coded_Fields,#show_coded_fields,#hide_coded_fields" href="#"><i class="fa fa-plus-square-o"></i> [% t('Show coded information filters') %]</a>
3
    <a id="hide_coded_fields" class="toggle_element" data-element="#Coded_Fields,#show_coded_fields,#hide_coded_fields" href="#" style="display:none;"><i class="fa fa-minus-square-o"></i> Hide coded information filters</a>
4
    <a id="hide_coded_fields" class="toggle_element" data-element="#Coded_Fields,#show_coded_fields,#hide_coded_fields" href="#" style="display:none;"><i class="fa fa-minus-square-o"></i> [% t('Hide coded information filters') %]</a>
4
</p>
5
</p>
5
<div style="display:none;" id="Coded_Fields">
6
<div style="display:none;" id="Coded_Fields">
6
<!-- SUBTYPE LIMITS -->
7
<!-- SUBTYPE LIMITS -->
7
        <fieldset>
8
        <fieldset>
8
        <legend>Coded fields</legend>
9
        <legend>[% t('Coded fields') %]</legend>
9
        <p>
10
        <p>
10
        <label for="audience">Audience: </label>
11
        <label for="audience">[% t('Audience:') %] </label>
11
        <select id="audience" name="limit" class="subtype">
12
        <select id="audience" name="limit" class="subtype">
12
            <option value="" selected="selected" >Any</option>
13
            <option value="" selected="selected">[% t('Any') %]</option>
13
            <option value="ta:a">juvenile, general</option>
14
            <option value="ta:a">[% t('juvenile, general') %]</option>
14
            <option value="ta:b">pre-primary (0-5)</option>
15
            <option value="ta:b">[% t('pre-primary (0-5)') %]</option>
15
            <option value="ta:c">primary (5-8)</option>
16
            <option value="ta:c">[% t('primary (5-8)') %]</option>
16
            <option value="ta:d">children (9-14)</option>
17
            <option value="ta:d">[% t('children (9-14)') %]</option>
17
            <option value="ta:e">young adult</option>
18
            <option value="ta:e">[% t('young adult') %]</option>
18
            <option value="ta:k">adult, serious</option>
19
            <option value="ta:k">[% t('adult, serious') %]</option>
19
            <option value="ta:m">adult, General</option>
20
            <option value="ta:m">[% t('adult, General') %]</option>
20
            <option value="ta:u">unknown</option>
21
            <option value="ta:u">[% t('unknown') %]</option>
21
		</select>
22
		</select>
22
        </p>
23
        </p>
23
		<p>
24
		<p>
24
        <label for="physical_presentation">Physical presentation: </label>
25
        <label for="physical_presentation">[% t('Physical presentation:') %] </label>
25
        <select id="physical_presentation" name="limit" class="subtype">
26
        <select id="physical_presentation" name="limit" class="subtype">
26
            <option value="" selected="selected" >Any</option>
27
            <option value="" selected="selected">[% t('Any') %]</option>
27
            <option value="ff8-23:r">regular print</option>
28
            <option value="ff8-23:r">[% t('regular print') %]</option>
28
            <option value="ff8-23:d">large print</option>
29
            <option value="ff8-23:d">[% t('large print') %]</option>
29
            <option value="ff8-23:e">newspaper format</option>
30
            <option value="ff8-23:e">[% t('newspaper format') %]</option>
30
            <option value="ff8-23:f">Braille or Moon script</option>
31
            <option value="ff8-23:f">[% t('Braille or Moon script') %]</option>
31
            <option value="ff8-23:g">microprint</option>
32
            <option value="ff8-23:g">[% t('microprint') %]</option>
32
            <option value="ff8-23:h">hand-written</option>
33
            <option value="ff8-23:h">[% t('hand-written') %]</option>
33
            <option value="ff8-23:i">multimedia</option>
34
            <option value="ff8-23:i">[% t('multimedia') %]</option>
34
            <option value="ff8-23:j">mini-print</option>
35
            <option value="ff8-23:j">[% t('mini-print') %]</option>
35
            <option value="ff8-23:s">electronic resource</option>
36
            <option value="ff8-23:s">[% t('electronic resource') %]</option>
36
            <option value="ff8-23:t">microform</option>
37
            <option value="ff8-23:t">[% t('microform') %]</option>
37
            <option value="ff8-23:z">other form of textual material</option>
38
            <option value="ff8-23:z">[% t('other form of textual material') %]</option>
38
		</select>
39
		</select>
39
        </p>
40
        </p>
40
		<p>
41
		<p>
41
            <label for="literary_genre">Literary genre: </label>
42
            <label for="literary_genre">[% t('Literary genre:') %] </label>
42
            <select id="literary_genre" name="limit" class="subtype">
43
            <select id="literary_genre" name="limit" class="subtype">
43
			<option value="" selected="selected" >Any</option>
44
			<option value="" selected="selected">[% t('Any') %]</option>
44
            <option value="lf:a">fiction</option>
45
            <option value="lf:a">[% t('fiction') %]</option>
45
            <option value="lf:b">drama</option>
46
            <option value="lf:b">[% t('drama') %]</option>
46
            <option value="lf:c">essays</option>
47
            <option value="lf:c">[% t('essays') %]</option>
47
            <option value="lf:d">humour, satire</option>
48
            <option value="lf:d">[% t('humour, satire') %]</option>
48
            <option value="lf:e">letters</option>
49
            <option value="lf:e">[% t('letters') %]</option>
49
            <option value="lf:f">short stories</option>
50
            <option value="lf:f">[% t('short stories') %]</option>
50
            <option value="lf:g">poetry</option>
51
            <option value="lf:g">[% t('poetry') %]</option>
51
            <option value="lf:h">speeches, oratory</option>
52
            <option value="lf:h">[% t('speeches, oratory') %]</option>
52
            <option value="lf:i">libretto</option>
53
            <option value="lf:i">[% t('libretto') %]</option>
53
            <option value="lf:y">not a literary text</option>
54
            <option value="lf:y">[% t('not a literary text') %]</option>
54
            <option value="lf:z">multiple/other literary forms</option>
55
            <option value="lf:z">[% t('multiple/other literary forms') %]</option>
55
    </select>
56
    </select>
56
    </p>
57
    </p>
57
        <p>
58
        <p>
58
            <label for="biography">Biography: </label>
59
            <label for="biography">[% t('Biography:') %] </label>
59
            <select id="biography" name="limit" class="subtype">
60
            <select id="biography" name="limit" class="subtype">
60
            <option value="">Any</option>
61
            <option value="">[% t('Any') %]</option>
61
                <option value="bio:y">not a biography</option>
62
                <option value="bio:y">[% t('not a biography') %]</option>
62
                <option value="bio:a">autobiography</option>
63
                <option value="bio:a">[% t('autobiography') %]</option>
63
                <option value="bio:b">individual biography</option>
64
                <option value="bio:b">[% t('individual biography') %]</option>
64
                <option value="bio:c">collective biography</option>
65
                <option value="bio:c">[% t('collective biography') %]</option>
65
                <option value="bio:d">contains biographical data</option>
66
                <option value="bio:d">[% t('contains biographical data') %]</option>
66
		</select>
67
		</select>
67
        </p>
68
        </p>
68
        <p>
69
        <p>
69
            <label for="illustration">Illustration: </label>
70
            <label for="illustration">[% t('Illustration:') %] </label>
70
            <select id="illustration" name="limit" class="subtype">
71
            <select id="illustration" name="limit" class="subtype">
71
            <option value="">Any</option>
72
            <option value="">[% t('Any') %]</option>
72
                <option value="ff8-18-21:a">illustrations</option>
73
                <option value="ff8-18-21:a">[% t('illustrations') %]</option>
73
                <option value="ff8-18-21:b">maps</option>
74
                <option value="ff8-18-21:b">[% t('maps') %]</option>
74
                <option value="ff8-18-21:c">portraits</option>
75
                <option value="ff8-18-21:c">[% t('portraits') %]</option>
75
                <option value="ff8-18-21:d">charts</option>
76
                <option value="ff8-18-21:d">[% t('charts') %]</option>
76
                <option value="ff8-18-21:e">plans</option>
77
                <option value="ff8-18-21:e">[% t('plans') %]</option>
77
                <option value="ff8-18-21:f">plates</option>
78
                <option value="ff8-18-21:f">[% t('plates') %]</option>
78
                <option value="ff8-18-21:g">music</option>
79
                <option value="ff8-18-21:g">[% t('music') %]</option>
79
                <option value="ff8-18-21:h">facsimiles</option>
80
                <option value="ff8-18-21:h">[% t('facsimiles') %]</option>
80
                <option value="ff8-18-21:i">coats of arms</option>
81
                <option value="ff8-18-21:i">[% t('coats of arms') %]</option>
81
                <option value="ff8-18-21:j">genealogical tables</option>
82
                <option value="ff8-18-21:j">[% t('genealogical tables') %]</option>
82
                <option value="ff8-18-21:k">forms</option>
83
                <option value="ff8-18-21:k">[% t('forms') %]</option>
83
                <option value="ff8-18-21:l">samples</option>
84
                <option value="ff8-18-21:l">[% t('samples') %]</option>
84
                <option value="ff8-18-21:m">sound recordings</option>
85
                <option value="ff8-18-21:m">[% t('sound recordings') %]</option>
85
                <option value="ff8-18-21:n">transparencies</option>
86
                <option value="ff8-18-21:n">[% t('transparencies') %]</option>
86
                <option value="ff8-18-21:o">illuminations</option>
87
                <option value="ff8-18-21:o">[% t('illuminations') %]</option>
87
                <option value="ff8-18-21:y">no illustrations</option>
88
                <option value="ff8-18-21:y">[% t('no illustrations') %]</option>
88
        </select>
89
        </select>
89
        </p>
90
        </p>
90
		<p>
91
		<p>
91
            <label for="content">Content: </label>
92
            <label for="content">[% t('Content:') %] </label>
92
            <select id="content" name="limit" class="subtype">
93
            <select id="content" name="limit" class="subtype">
93
			<option value="" >Any</option>
94
			<option value="">[% t('Any') %]</option>
94
            <option value="ctype:a" >bibliography</option>
95
            <option value="ctype:a">[% t('bibliography') %]</option>
95
            <option value="ctype:b" >catalogue</option>
96
            <option value="ctype:b">[% t('catalogue') %]</option>
96
            <option value="ctype:c" >index</option>
97
            <option value="ctype:c">[% t('index') %]</option>
97
            <option value="ctype:d" >abstract</option>
98
            <option value="ctype:d">[% t('abstract') %]</option>
98
            <option value="ctype:e" >dictionary</option>
99
            <option value="ctype:e">[% t('dictionary') %]</option>
99
            <option value="ctype:f" >encyclopaedia</option>
100
            <option value="ctype:f">[% t('encyclopaedia') %]</option>
100
            <option value="ctype:g" >directory</option>
101
            <option value="ctype:g">[% t('directory') %]</option>
101
            <option value="ctype:h" >project description</option>
102
            <option value="ctype:h">[% t('project description') %]</option>
102
            <option value="ctype:i" >statistics</option>
103
            <option value="ctype:i">[% t('statistics') %]</option>
103
            <option value="ctype:j" >programmed text books</option>
104
            <option value="ctype:j">[% t('programmed text books') %]</option>
104
            <option value="ctype:k" >patent</option>
105
            <option value="ctype:k">[% t('patent') %]</option>
105
            <option value="ctype:l" >standard</option>
106
            <option value="ctype:l">[% t('standard') %]</option>
106
            <option value="ctype:m" >dissertation or thesis</option>
107
            <option value="ctype:m">[% t('dissertation or thesis') %]</option>
107
            <option value="ctype:n" >laws and legislation</option>
108
            <option value="ctype:n">[% t('laws and legislation') %]</option>
108
            <option value="ctype:o" >numeric table</option>
109
            <option value="ctype:o">[% t('numeric table') %]</option>
109
            <option value="ctype:p" >technical report</option>
110
            <option value="ctype:p">[% t('technical report') %]</option>
110
            <option value="ctype:q" >examination paper</option>
111
            <option value="ctype:q">[% t('examination paper') %]</option>
111
            <option value="ctype:r" >literature surveys/reviews</option>
112
            <option value="ctype:r">[% t('literature surveys/reviews') %]</option>
112
            <option value="ctype:s" >treaties</option>
113
            <option value="ctype:s">[% t('treaties') %]</option>
113
            <option value="ctype:t" >cartoons or comic strips</option>
114
            <option value="ctype:t">[% t('cartoons or comic strips') %]</option>
114
            <option value="ctype:v" >dissertation or thesis (revised)</option>
115
            <option value="ctype:v">[% t('dissertation or thesis (revised)') %]</option>
115
            <option value="ctype:w" >religious text</option>
116
            <option value="ctype:w">[% t('religious text') %]</option>
116
            <option value="ctype:z" >other</option>
117
            <option value="ctype:z">[% t('other') %]</option>
117
		</select>
118
		</select>
118
        </p>
119
        </p>
119
        <p>
120
        <p>
120
            <label for="video_types">Video types: </label>
121
            <label for="video_types">[% t('Video types:') %] </label>
121
            <select id="video_types" name="limit" class="subtype">
122
            <select id="video_types" name="limit" class="subtype">
122
            <option value="">Any</option>
123
            <option value="">[% t('Any') %]</option>
123
			<option value="Video-mt:a">motion picture</option>
124
			<option value="Video-mt:a">[% t('motion picture') %]</option>
124
			<option value="Video-mt:b">visual projection</option>
125
			<option value="Video-mt:b">[% t('visual projection') %]</option>
125
			<option value="Video-mt:c">video recording</option>
126
			<option value="Video-mt:c">[% t('video recording') %]</option>
126
		</select>
127
		</select>
127
        </p>
128
        </p>
128
		</fieldset>
129
		</fieldset>
129
130
130
		<fieldset>
131
		<fieldset>
131
        <legend>Serials</legend>
132
        <legend>[% t('Serials') %]</legend>
132
		<p>
133
		<p>
133
            <label for="serial_type">Serial type: </label>
134
            <label for="serial_type">[% t('Serial type:') %] </label>
134
            <select id="serial_type" name="limit" class="subtype">
135
            <select id="serial_type" name="limit" class="subtype">
135
           <option value="">Any type</option>
136
           <option value="">[% t('Any type') %]</option>
136
            <option value="ff8-21:a">Periodical</option>
137
            <option value="ff8-21:a">[% t('Periodical') %]</option>
137
            <option value="ff8-21:b">Monographic series</option>
138
            <option value="ff8-21:b">[% t('Monographic series') %]</option>
138
            <option value="ff8-21:c">Newspaper</option>
139
            <option value="ff8-21:c">[% t('Newspaper') %]</option>
139
            <option value="ff8-21:e">Updating loose-leaf</option>
140
            <option value="ff8-21:e">[% t('Updating loose-leaf') %]</option>
140
            <option value="ff8-21:f">Database</option>
141
            <option value="ff8-21:f">[% t('Database') %]</option>
141
            <option value="ff8-21:g">Updating website</option>
142
            <option value="ff8-21:g">[% t('Updating website') %]</option>
142
            <option value="ff8-21:z">Other</option>
143
            <option value="ff8-21:z">[% t('Other') %]</option>
143
		</select>
144
		</select>
144
        </p>
145
        </p>
145
        <p>
146
        <p>
146
            <label for="periodicity">Periodicity: </label>
147
            <label for="periodicity">[% t('Periodicity:') %] </label>
147
            <select id="periodicity" name="limit" class="subtype">
148
            <select id="periodicity" name="limit" class="subtype">
148
			<option value="">Any</option>
149
			<option value="">[% t('Any') %]</option>
149
            <option value="ff8-18:a">Daily</option>
150
            <option value="ff8-18:a">[% t('Daily') %]</option>
150
            <option value="ff8-18:b">Semiweekly</option>
151
            <option value="ff8-18:b">[% t('Semiweekly') %]</option>
151
            <option value="ff8-18:c">Weekly</option>
152
            <option value="ff8-18:c">[% t('Weekly') %]</option>
152
            <option value="ff8-18:d">Biweekly</option>
153
            <option value="ff8-18:d">[% t('Biweekly') %]</option>
153
            <option value="ff8-18:e">Semimonthly</option>
154
            <option value="ff8-18:e">[% t('Semimonthly') %]</option>
154
            <option value="ff8-18:f">Monthly</option>
155
            <option value="ff8-18:f">[% t('Monthly') %]</option>
155
            <option value="ff8-18:g">Bimonthly</option>
156
            <option value="ff8-18:g">[% t('Bimonthly') %]</option>
156
            <option value="ff8-18:h">Quarterly</option>
157
            <option value="ff8-18:h">[% t('Quarterly') %]</option>
157
            <option value="ff8-18:i">Three times a year</option>
158
            <option value="ff8-18:i">[% t('Three times a year') %]</option>
158
            <option value="ff8-18:j">Semiannual</option>
159
            <option value="ff8-18:j">[% t('Semiannual') %]</option>
159
            <option value="ff8-18:k">Annual</option>
160
            <option value="ff8-18:k">[% t('Annual') %]</option>
160
            <option value="ff8-18:l">Biennial</option>
161
            <option value="ff8-18:l">[% t('Biennial') %]</option>
161
            <option value="ff8-18:m">Triennial</option>
162
            <option value="ff8-18:m">[% t('Triennial') %]</option>
162
            <option value="ff8-18:n">Three times a week</option>
163
            <option value="ff8-18:n">[% t('Three times a week') %]</option>
163
            <option value="ff8-18:o">Three times a month</option>
164
            <option value="ff8-18:o">[% t('Three times a month') %]</option>
164
            <option value="ff8-18:y">Without periodicity</option>
165
            <option value="ff8-18:y">[% t('Without periodicity') %]</option>
165
            <option value="ff8-18:u">Unknown</option>
166
            <option value="ff8-18:u">[% t('Unknown') %]</option>
166
            <option value="ff8-18:z">Other</option>
167
            <option value="ff8-18:z">[% t('Other') %]</option>
167
		</select>
168
		</select>
168
        </p>
169
        </p>
169
        <p>
170
        <p>
170
            <label for="regularity">Regularity: </label>
171
            <label for="regularity">[% t('Regularity:') %] </label>
171
            <select id="regularity" name="limit" class="subtype">
172
            <select id="regularity" name="limit" class="subtype">
172
            <option value="">Any regularity</option>
173
            <option value="">[% t('Any regularity') %]</option>
173
            <option value="ff8-19:a">regular</option>
174
            <option value="ff8-19:a">[% t('regular') %]</option>
174
            <option value="ff8-19:b">normalised irregular</option>
175
            <option value="ff8-19:b">[% t('normalised irregular') %]</option>
175
            <option value="ff8-19:y">irregular</option>
176
            <option value="ff8-19:y">[% t('irregular') %]</option>
176
            <option value="ff8-19:u">unknown</option>
177
            <option value="ff8-19:u">[% t('unknown') %]</option>
177
		</select>
178
		</select>
178
        </p>
179
        </p>
179
        </fieldset>
180
        </fieldset>
180
181
181
		<fieldset>
182
		<fieldset>
182
        <legend>Picture</legend>
183
        <legend>[% t('Picture') %]</legend>
183
        <p>
184
        <p>
184
		<select name="limit" class="subtype">
185
		<select name="limit" class="subtype">
185
				<option value="">Any</option>
186
				<option value="">[% t('Any') %]</option>
186
				<option value="Graphics-type:a">collage</option>
187
				<option value="Graphics-type:a">[% t('collage') %]</option>
187
				<option value="Graphics-type:b">drawing</option>
188
				<option value="Graphics-type:b">[% t('drawing') %]</option>
188
				<option value="Graphics-type:c">painting</option>
189
				<option value="Graphics-type:c">[% t('painting') %]</option>
189
				<option value="Graphics-type:d">photomechanical reproduction</option>
190
				<option value="Graphics-type:d">[% t('photomechanical reproduction') %]</option>
190
				<option value="Graphics-type:e">photonegative</option>
191
				<option value="Graphics-type:e">[% t('photonegative') %]</option>
191
				<option value="Graphics-type:f">photoprint</option>
192
				<option value="Graphics-type:f">[% t('photoprint') %]</option>
192
				<option value="Graphics-type:h">picture</option>
193
				<option value="Graphics-type:h">[% t('picture') %]</option>
193
				<option value="Graphics-type:i">print</option>
194
				<option value="Graphics-type:i">[% t('print') %]</option>
194
				<option value="Graphics-type:k">technical drawing</option>
195
				<option value="Graphics-type:k">[% t('technical drawing') %]</option>
195
				<option value="Graphics-type:z">other non-projected graphic type</option>
196
				<option value="Graphics-type:z">[% t('other non-projected graphic type') %]</option>
196
		</select>
197
		</select>
197
		<select name="limit" class="subtype">
198
		<select name="limit" class="subtype">
198
            <option value="">Any</option>
199
            <option value="">[% t('Any') %]</option>
199
            <option value="Graphics-support:a">canvas</option>
200
            <option value="Graphics-support:a">[% t('canvas') %]</option>
200
            <option value="Graphics-support:b">bristol board</option>
201
            <option value="Graphics-support:b">[% t('bristol board') %]</option>
201
            <option value="Graphics-support:c">cardboard/illustration board</option>
202
            <option value="Graphics-support:c">[% t('cardboard/illustration board') %]</option>
202
            <option value="Graphics-support:d">glass</option>
203
            <option value="Graphics-support:d">[% t('glass') %]</option>
203
            <option value="Graphics-support:j">plaster</option>
204
            <option value="Graphics-support:j">[% t('plaster') %]</option>
204
            <option value="Graphics-support:k">hardboard</option>
205
            <option value="Graphics-support:k">[% t('hardboard') %]</option>
205
            <option value="Graphics-support:l">porcelaine</option>
206
            <option value="Graphics-support:l">[% t('porcelaine') %]</option>
206
            <option value="Graphics-support:m">stone</option>
207
            <option value="Graphics-support:m">[% t('stone') %]</option>
207
            <option value="Graphics-support:n">wood</option>
208
            <option value="Graphics-support:n">[% t('wood') %]</option>
208
            <option value="Graphics-support:v">mixed collection</option>
209
            <option value="Graphics-support:v">[% t('mixed collection') %]</option>
209
            <option value="Graphics-support:e">synthetics</option>
210
            <option value="Graphics-support:e">[% t('synthetics') %]</option>
210
            <option value="Graphics-support:f">skin</option>
211
            <option value="Graphics-support:f">[% t('skin') %]</option>
211
            <option value="Graphics-support:g">textile</option>
212
            <option value="Graphics-support:g">[% t('textile') %]</option>
212
            <option value="Graphics-support:h">metal</option>
213
            <option value="Graphics-support:h">[% t('metal') %]</option>
213
            <option value="Graphics-support:i">paper</option>
214
            <option value="Graphics-support:i">[% t('paper') %]</option>
214
            <option value="Graphics-support:z">others</option>
215
            <option value="Graphics-support:z">[% t('others') %]</option>
215
            <option value="Graphics-support:u">unknown</option>
216
            <option value="Graphics-support:u">[% t('unknown') %]</option>
216
    </select>
217
    </select>
217
        </p>
218
        </p>
218
</fieldset>
219
</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc (-11 / +12 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Suggestions Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Suggestions Resident Search Box -->
4
<div id="header_search">
5
<div id="header_search">
5
	<div id="suggestions_search" class="residentsearch">
6
	<div id="suggestions_search" class="residentsearch">
6
    <p class="tip">Suggestions search:</p>
7
    <p class="tip">[% t('Suggestions search:') %]</p>
7
	<form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
8
	<form action="/cgi-bin/koha/acqui/newordersuggestion.pl" method="get">
8
    <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
9
    <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
9
	<label for="searchtitle">Title:</label> <input type="text" id="searchtitle" name="title" size="10" value="[% title %]" />
10
	<label for="searchtitle">[% t('Title:') %]</label> <input type="text" id="searchtitle" name="title" size="10" value="[% title %]" />
10
    <label for="searchauthor">Author:</label> <input type="text" id="searchauthor" name="author" size="10" value="[% author %]" />
11
    <label for="searchauthor">[% t('Author:') %]</label> <input type="text" id="searchauthor" name="author" size="10" value="[% author %]" />
11
    <label for="searchpublishercode">Publisher:</label> <input type="text" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode %]" />
12
    <label for="searchpublishercode">[% t('Publisher:') %]</label> <input type="text" id="searchpublishercode" name="publishercode" size="10" value="[% publishercode %]" />
12
    <input type="submit" class="submit" value="Search" />
13
    <input type="submit" class="submit" value="Search" />
13
        </form>
14
        </form>
14
	</div>
15
	</div>
Lines 17-34 Link Here
17
18
18
	[% IF ( CAN_user_catalogue ) %]
19
	[% IF ( CAN_user_catalogue ) %]
19
    <div id="catalog_search" class="residentsearch">
20
    <div id="catalog_search" class="residentsearch">
20
	<p class="tip">Enter search keywords:</p>
21
	<p class="tip">[% t('Enter search keywords:') %]</p>
21
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
22
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
22
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
23
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
23
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
24
            <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
24
				<input type="submit" value="Submit"  class="submit" />
25
				<input type="submit" value="Submit" class="submit" />
25
		</form>
26
		</form>
26
	</div>
27
	</div>
27
	[% END %]
28
	[% END %]
28
			<ul>
29
			<ul>
29
            <li><a href="#suggestions_search">Search suggestions</a></li>
30
            <li><a href="#suggestions_search">[% t('Search suggestions') %]</a></li>
30
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
31
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
31
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
32
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
32
            </ul>
33
            </ul>
33
</div>
34
</div>
34
</div><!-- /gradient -->
35
</div><!-- /gradient -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc (-5 / +6 lines)
Lines 1-32 Link Here
1
[% PROCESS 'i18n.inc' %]
1
          <select name="item_action" id="item_action">
2
          <select name="item_action" id="item_action">
2
            [% IF ( item_action_always_add ) %]
3
            [% IF ( item_action_always_add ) %]
3
                <option value="always_add" selected="selected">
4
                <option value="always_add" selected="selected">
4
            [% ELSE %]
5
            [% ELSE %]
5
                <option value="always_add">
6
                <option value="always_add">
6
            [% END %]
7
            [% END %]
7
                Always add items</option>
8
                [% t('Always add items') %]</option>
8
            [% IF ( item_action_add_only_for_matches ) %]
9
            [% IF ( item_action_add_only_for_matches ) %]
9
                <option value="add_only_for_matches" selected="selected">
10
                <option value="add_only_for_matches" selected="selected">
10
            [% ELSE %]
11
            [% ELSE %]
11
                <option value="add_only_for_matches">
12
                <option value="add_only_for_matches">
12
            [% END %]
13
            [% END %]
13
                Add items only if matching bib was found</option>
14
                [% t('Add items only if matching bib was found') %]</option>
14
            [% IF ( item_action_add_only_for_new ) %]
15
            [% IF ( item_action_add_only_for_new ) %]
15
                <option value="add_only_for_new" selected="selected">
16
                <option value="add_only_for_new" selected="selected">
16
            [% ELSE %]
17
            [% ELSE %]
17
                <option value="add_only_for_new">
18
                <option value="add_only_for_new">
18
            [% END %]
19
            [% END %]
19
                Add items only if no matching bib was found</option>
20
                [% t('Add items only if no matching bib was found') %]</option>
20
            [% IF ( item_action_replace ) %]
21
            [% IF ( item_action_replace ) %]
21
                <option value="replace" selected="selected">
22
                <option value="replace" selected="selected">
22
            [% ELSE %]
23
            [% ELSE %]
23
                <option value="replace">
24
                <option value="replace">
24
            [% END %]
25
            [% END %]
25
                Replace items if matching bib was found (only for existing items)</option>
26
                [% t('Replace items if matching bib was found (only for existing items)') %]</option>
26
            [% IF ( item_action_ignore ) %]
27
            [% IF ( item_action_ignore ) %]
27
                <option value="ignore" selected="selected">
28
                <option value="ignore" selected="selected">
28
            [% ELSE %]
29
            [% ELSE %]
29
                <option value="ignore">
30
                <option value="ignore">
30
            [% END %]
31
            [% END %]
31
                Ignore items</option>
32
                [% t('Ignore items') %]</option>
32
        </select>
33
        </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-38 / +39 lines)
Lines 1-114 Link Here
1
[% PROCESS 'i18n.inc' %]
1
<div id="navmenu">
2
<div id="navmenu">
2
<div id="navmenulist">
3
<div id="navmenulist">
3
<ul>
4
<ul>
4
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
5
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools home') %]</a></li>
5
</ul>
6
</ul>
6
<h5>Patrons and circulation</h5>
7
<h5>[% t('Patrons and circulation') %]</h5>
7
<ul>
8
<ul>
8
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
9
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
9
	<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
10
	<li><a href="/cgi-bin/koha/patron_lists/lists.pl">[% t('Patron lists') %]</a></li>
10
    [% END %]
11
    [% END %]
11
    [% IF (CAN_user_clubs) %]
12
    [% IF (CAN_user_clubs) %]
12
        <li><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></li>
13
        <li><a href="/cgi-bin/koha/clubs/clubs.pl">[% t('Patron clubs') %]</a></li>
13
    [% END %]
14
    [% END %]
14
    [% IF ( CAN_user_tools_moderate_comments ) %]
15
    [% IF ( CAN_user_tools_moderate_comments ) %]
15
	<li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a></li>
16
	<li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% t('Comments') %]</a></li>
16
    [% END %]
17
    [% END %]
17
    [% IF ( CAN_user_tools_import_patrons ) %]
18
    [% IF ( CAN_user_tools_import_patrons ) %]
18
	<li><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></li>
19
	<li><a href="/cgi-bin/koha/tools/import_borrowers.pl">[% t('Import patrons') %]</a></li>
19
    [% END %]
20
    [% END %]
20
    [% IF ( CAN_user_tools_edit_notices ) %]
21
    [% IF ( CAN_user_tools_edit_notices ) %]
21
    <li><a href="/cgi-bin/koha/tools/letter.pl">Notices &amp; slips</a></li>
22
    <li><a href="/cgi-bin/koha/tools/letter.pl">[% t('Notices &amp; slips') %]</a></li>
22
    [% END %]
23
    [% END %]
23
    [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
24
    [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
24
	<li><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></li>
25
	<li><a href="/cgi-bin/koha/tools/overduerules.pl">[% t('Overdue notice/status triggers') %]</a></li>
25
    [% END %]
26
    [% END %]
26
    [% IF ( CAN_user_tools_label_creator ) %]
27
    [% IF ( CAN_user_tools_label_creator ) %]
27
    <li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></li>
28
    <li><a href="/cgi-bin/koha/patroncards/home.pl">[% t('Patron card creator') %]</a></li>
28
    [% END %]
29
    [% END %]
29
    [% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
30
    [% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
30
    <li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion/anonymization</a></li>
31
    <li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">[% t('Batch patron deletion/anonymization') %]</a></li>
31
    [% END %]
32
    [% END %]
32
    [% IF ( CAN_user_tools_edit_patrons ) %]
33
    [% IF ( CAN_user_tools_edit_patrons ) %]
33
    <li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
34
    <li><a href="/cgi-bin/koha/tools/modborrowers.pl">[% t('Batch patron modification') %]</a></li>
34
    [% END %]
35
    [% END %]
35
    [% IF ( CAN_user_tools_moderate_tags ) %]
36
    [% IF ( CAN_user_tools_moderate_tags ) %]
36
    <li><a href="/cgi-bin/koha/tags/review.pl">Tag moderation</a></li>
37
    <li><a href="/cgi-bin/koha/tags/review.pl">[% t('Tag moderation') %]</a></li>
37
    [% END %]
38
    [% END %]
38
    [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
39
    [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
39
	<li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
40
	<li><a href="/cgi-bin/koha/tools/picture-upload.pl">[% t('Upload patron images') %]</a></li>
40
    [% END %]
41
    [% END %]
41
</ul>
42
</ul>
42
<h5>Catalog</h5>
43
<h5>[% t('Catalog') %]</h5>
43
<ul>
44
<ul>
44
    [% IF ( CAN_user_tools_items_batchdel ) %]
45
    [% IF ( CAN_user_tools_items_batchdel ) %]
45
	<li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></li>
46
	<li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">[% t('Batch item deletion') %]</a></li>
46
    [% END %]
47
    [% END %]
47
    [% IF ( CAN_user_tools_items_batchmod ) %]
48
    [% IF ( CAN_user_tools_items_batchmod ) %]
48
	<li><a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a></li>
49
	<li><a href="/cgi-bin/koha/tools/batchMod.pl">[% t('Batch item modification') %]</a></li>
49
    [% END %]
50
    [% END %]
50
    [% IF CAN_user_tools_records_batchdel %]
51
    [% IF CAN_user_tools_records_batchdel %]
51
      <li><a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a></li>
52
      <li><a href="/cgi-bin/koha/tools/batch_delete_records.pl">[% t('Batch record deletion') %]</a></li>
52
    [% END %]
53
    [% END %]
53
    [% IF CAN_user_tools_records_batchmod %]
54
    [% IF CAN_user_tools_records_batchmod %]
54
      <li><a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a></li>
55
      <li><a href="/cgi-bin/koha/tools/batch_record_modification.pl">[% t('Batch record modification') %]</a></li>
55
    [% END %]
56
    [% END %]
56
    [% IF CAN_user_tools_items_batchmod %]
57
    [% IF CAN_user_tools_items_batchmod %]
57
      <li><a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Automatic item modifications by age</a></li>
58
      <li><a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">[% t('Automatic item modifications by age') %]</a></li>
58
    [% END %]
59
    [% END %]
59
    [% IF ( CAN_user_tools_export_catalog ) %]
60
    [% IF ( CAN_user_tools_export_catalog ) %]
60
    <li><a href="/cgi-bin/koha/tools/export.pl">Export data</a></li>
61
    <li><a href="/cgi-bin/koha/tools/export.pl">[% t('Export data') %]</a></li>
61
    [% END %]
62
    [% END %]
62
    [% IF ( CAN_user_tools_inventory ) %]
63
    [% IF ( CAN_user_tools_inventory ) %]
63
        <li><a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a></li>
64
        <li><a href="/cgi-bin/koha/tools/inventory.pl">[% t('Inventory') %]</a></li>
64
    [% END %]
65
    [% END %]
65
    [% IF ( CAN_user_tools_label_creator ) %]
66
    [% IF ( CAN_user_tools_label_creator ) %]
66
	<li><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></li>
67
	<li><a href="/cgi-bin/koha/labels/label-home.pl">[% t('Label creator') %]</a></li>
67
	<li><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></li>
68
	<li><a href="/cgi-bin/koha/labels/spinelabel-home.pl">[% t('Quick spine label creator') %]</a></li>
68
    [% END %]
69
    [% END %]
69
    [% IF ( CAN_user_tools_rotating_collections ) %]
70
    [% IF ( CAN_user_tools_rotating_collections ) %]
70
    <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
71
    <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">[% t('Rotating collections') %]</a></li>
71
    [% END %]
72
    [% END %]
72
    [% IF ( CAN_user_tools_marc_modification_templates ) %]
73
    [% IF ( CAN_user_tools_marc_modification_templates ) %]
73
        <li><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">Manage MARC modification templates</a></li>
74
        <li><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">[% t('Manage MARC modification templates') %]</a></li>
74
    [% END %]
75
    [% END %]
75
    [% IF ( CAN_user_tools_stage_marc_import ) %]
76
    [% IF ( CAN_user_tools_stage_marc_import ) %]
76
	<li><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC for import</a></li>
77
	<li><a href="/cgi-bin/koha/tools/stage-marc-import.pl">[% t('Stage MARC for import') %]</a></li>
77
    [% END %]
78
    [% END %]
78
    [% IF ( CAN_user_tools_manage_staged_marc ) %]
79
    [% IF ( CAN_user_tools_manage_staged_marc ) %]
79
	<li><a href="/cgi-bin/koha/tools/manage-marc-import.pl">Staged MARC management</a></li>
80
	<li><a href="/cgi-bin/koha/tools/manage-marc-import.pl">[% t('Staged MARC management') %]</a></li>
80
    [% END %]
81
    [% END %]
81
    [% IF ( CAN_user_tools_upload_local_cover_images ) %]
82
    [% IF ( CAN_user_tools_upload_local_cover_images ) %]
82
    <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></li>
83
    <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl">[% t('Upload local cover image') %]</a></li>
83
    [% END %]
84
    [% END %]
84
</ul>
85
</ul>
85
<h5>Additional tools</h5>
86
<h5>[% t('Additional tools') %]</h5>
86
<ul>
87
<ul>
87
    [% IF ( CAN_user_tools_edit_calendar ) %]
88
    [% IF ( CAN_user_tools_edit_calendar ) %]
88
	<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
89
	<li><a href="/cgi-bin/koha/tools/holidays.pl">[% t('Calendar') %]</a></li>
89
    [% END %]
90
    [% END %]
90
    [% IF ( CAN_user_tools_manage_csv_profiles ) %]
91
    [% IF ( CAN_user_tools_manage_csv_profiles ) %]
91
	<li><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></li>
92
	<li><a href="/cgi-bin/koha/tools/csv-profiles.pl">[% t('CSV profiles') %]</a></li>
92
    [% END %]
93
    [% END %]
93
    [% IF ( CAN_user_tools_view_system_logs ) %]
94
    [% IF ( CAN_user_tools_view_system_logs ) %]
94
	<li><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></li>
95
	<li><a href="/cgi-bin/koha/tools/viewlog.pl">[% t('Log viewer') %]</a></li>
95
    [% END %]
96
    [% END %]
96
    [% IF ( CAN_user_tools_edit_news ) %]
97
    [% IF ( CAN_user_tools_edit_news ) %]
97
	<li><a href="/cgi-bin/koha/tools/koha-news.pl">News</a></li>
98
	<li><a href="/cgi-bin/koha/tools/koha-news.pl">[% t('News') %]</a></li>
98
    [% END %]
99
    [% END %]
99
    [% IF ( CAN_user_tools_schedule_tasks ) %]
100
    [% IF ( CAN_user_tools_schedule_tasks ) %]
100
	<li><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></li>
101
	<li><a href="/cgi-bin/koha/tools/scheduler.pl">[% t('Task scheduler') %]</a></li>
101
    [% END %]
102
    [% END %]
102
    [% IF ( CAN_user_tools_edit_quotes ) %]
103
    [% IF ( CAN_user_tools_edit_quotes ) %]
103
       <li><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></li>
104
       <li><a href="/cgi-bin/koha/tools/quotes.pl">[% t('Quote editor') %]</a></li>
104
    [% END %]
105
    [% END %]
105
    [% IF ( UseKohaPlugins && CAN_user_plugins_tool ) %]
106
    [% IF ( UseKohaPlugins && CAN_user_plugins_tool ) %]
106
        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></li>
107
        <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">[% t('Tool plugins') %]</a></li>
107
    [% END %]
108
    [% END %]
108
    [% IF ( CAN_user_tools_upload_general_files ) %]
109
    [% IF ( CAN_user_tools_upload_general_files ) %]
109
       <li><a href="/cgi-bin/koha/tools/upload.pl">Upload any file</a></li>
110
       <li><a href="/cgi-bin/koha/tools/upload.pl">[% t('Upload any file') %]</a></li>
110
    [% END %]
111
    [% END %]
111
    [% IF ( CAN_user_tools_access_files ) %]
112
    [% IF ( CAN_user_tools_access_files ) %]
112
    <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
113
    <li><a href="/cgi-bin/koha/tools/access_files.pl">[% t('Access files') %]</a></li>
113
    [% END %]
114
    [% END %]
114
</ul></div></div>
115
</ul></div></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-nomatch-action.inc (-2 / +3 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
          <select name="nomatch_action" id="nomatch_action">
2
          <select name="nomatch_action" id="nomatch_action">
2
            [% IF ( nomatch_action_create_new ) %]
3
            [% IF ( nomatch_action_create_new ) %]
3
                <option value="create_new" selected="selected">
4
                <option value="create_new" selected="selected">
4
            [% ELSE %]
5
            [% ELSE %]
5
                <option value="create_new">
6
                <option value="create_new">
6
            [% END %]
7
            [% END %]
7
                Add incoming record</option>
8
                [% t('Add incoming record') %]</option>
8
            [% IF ( nomatch_action_ignore ) %]
9
            [% IF ( nomatch_action_ignore ) %]
9
                <option value="ignore" selected="selected">
10
                <option value="ignore" selected="selected">
10
            [% ELSE %]
11
            [% ELSE %]
11
                <option value="ignore">
12
                <option value="ignore">
12
            [% END %]
13
            [% END %]
13
                Ignore incoming record (its items may still be processed)</option>
14
                [% t('Ignore incoming record (its items may still be processed)') %]</option>
14
        </select>
15
        </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-overlay-action.inc (-4 / +5 lines)
Lines 1-20 Link Here
1
[% PROCESS 'i18n.inc' %]
1
          <select name="overlay_action" id="overlay_action">
2
          <select name="overlay_action" id="overlay_action">
2
            [% IF ( overlay_action_replace ) %]
3
            [% IF ( overlay_action_replace ) %]
3
                <option value="replace"  selected="selected">
4
                <option value="replace" selected="selected">
4
            [% ELSE %]
5
            [% ELSE %]
5
                <option value="replace">
6
                <option value="replace">
6
            [% END %]
7
            [% END %]
7
                Replace existing record with incoming record</option>
8
                [% t('Replace existing record with incoming record') %]</option>
8
            [% IF ( overlay_action_create_new ) %]
9
            [% IF ( overlay_action_create_new ) %]
9
                <option value="create_new" selected="selected">
10
                <option value="create_new" selected="selected">
10
            [% ELSE %]
11
            [% ELSE %]
11
                <option value="create_new">
12
                <option value="create_new">
12
            [% END %]
13
            [% END %]
13
                Add incoming record</option>
14
                [% t('Add incoming record') %]</option>
14
            [% IF ( overlay_action_ignore ) %]
15
            [% IF ( overlay_action_ignore ) %]
15
                <option value="ignore" selected="selected">
16
                <option value="ignore" selected="selected">
16
            [% ELSE %]
17
            [% ELSE %]
17
                <option value="ignore">
18
                <option value="ignore">
18
            [% END %]
19
            [% END %]
19
                Ignore incoming record (its items may still be processed)</option>
20
                [% t('Ignore incoming record (its items may still be processed)') %]</option>
20
        </select>
21
        </select>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/vendor-menu.inc (-6 / +7 lines)
Lines 1-14 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% IF ( booksellerid ) %]
2
[% IF ( booksellerid ) %]
2
<div id="menu">
3
<div id="menu">
3
    <ul>
4
    <ul>
4
        [% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]">Baskets</a></li>[% END %]
5
        [% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid %]">[% t('Baskets') %]</a></li>[% END %]
5
        [% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]">Basket groups</a></li>[% END %]
6
        [% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid %]">[% t('Basket groups') %]</a></li>[% END %]
6
        [% IF ( CAN_user_acquisition_contracts_manage ) %]<li><a href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid %]">Contracts</a></li>[% END %]
7
        [% IF ( CAN_user_acquisition_contracts_manage ) %]<li><a href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid %]">[% t('Contracts') %]</a></li>[% END %]
7
        <li><a href="/cgi-bin/koha/acqui/invoices.pl?supplierid=[% booksellerid %]&amp;op=do_search">Invoices</a></li>
8
        <li><a href="/cgi-bin/koha/acqui/invoices.pl?supplierid=[% booksellerid %]&op=do_search">[% t('Invoices') %]</a></li>
8
        [% IF ( CAN_user_acquisition_order_manage ) %][% IF ( basketno ) %]
9
        [% IF ( CAN_user_acquisition_order_manage ) %][% IF ( basketno ) %]
9
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&amp;basketno=[% basketno %]&amp;owner=1">Uncertain prices</a></li>
10
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]&owner=1">[% t('Uncertain prices') %]</a></li>
10
        [% ELSE %]
11
        [% ELSE %]
11
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&amp;owner=1">Uncertain prices</a></li>
12
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid %]&owner=1">[% t('Uncertain prices') %]</a></li>
12
        [% END %] [% END %]
13
        [% END %] [% END %]
13
    </ul>
14
    </ul>
14
</div>
15
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc (-11 / +12 lines)
Lines 1-31 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'blocking_errors.inc' %]
2
[% INCLUDE 'blocking_errors.inc' %]
2
3
3
<div id="toolbar" class="btn-toolbar">
4
<div id="toolbar" class="btn-toolbar">
4
    <div class="btn-group"><a id="newshelf" class="btn btn-default btn-sm" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=add_form&amp;referer=[% op %]"><i class="fa fa-plus"></i> New list</a></div>
5
    <div class="btn-group"><a id="newshelf" class="btn btn-default btn-sm" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=add_form&referer=[% op %]"><i class="fa fa-plus"></i> [% t('New list') %]</a></div>
5
6
6
    [% IF shelf AND op == 'view' %]
7
    [% IF shelf AND op == 'view' %]
7
        [% IF can_manage_shelf %]
8
        [% IF can_manage_shelf %]
8
        <div class="btn-group">
9
        <div class="btn-group">
9
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
10
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> [% t('Edit') %] <span class="caret"></span></button>
10
            <ul class="dropdown-menu">
11
            <ul class="dropdown-menu">
11
                <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&amp;shelfnumber=[% shelf.shelfnumber %]&amp;referer=[% op %]">Edit list</a></li>
12
                <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=edit_form&shelfnumber=[% shelf.shelfnumber %]&referer=[% op %]">[% t('Edit list') %]</a></li>
12
                <li><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=delete&amp;shelfnumber=[% shelf.shelfnumber %]">Delete list</a></li>
13
                <li><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=delete&shelfnumber=[% shelf.shelfnumber %]">[% t('Delete list') %]</a></li>
13
            </ul>
14
            </ul>
14
        </div>
15
        </div>
15
        [% END %]
16
        [% END %]
16
17
17
        <div class="btn-group">
18
        <div class="btn-group">
18
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Download list <span class="caret"></span></button>
19
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> [% t('Download list') %] <span class="caret"></span></button>
19
                <ul class="dropdown-menu">
20
                <ul class="dropdown-menu">
20
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&amp;shelfid=[% shelf.shelfnumber %]">iso2709</a></li>
21
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=iso2709&shelfid=[% shelf.shelfnumber %]">[% t('iso2709') %]</a></li>
21
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&amp;shelfid=[% shelf.shelfnumber %]">RIS</a></li>
22
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=ris&shelfid=[% shelf.shelfnumber %]">[% t('RIS') %]</a></li>
22
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&amp;shelfid=[% shelf.shelfnumber %]">BibTex</a></li>
23
                    <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=bibtex&shelfid=[% shelf.shelfnumber %]">[% t('BibTex') %]</a></li>
23
                    [% FOREACH csv_profile IN csv_profiles %]
24
                    [% FOREACH csv_profile IN csv_profiles %]
24
                        <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id %]&amp;shelfid=[% shelf.shelfnumber %]">CSV - [% csv_profile.profile %]</a></li>
25
                        <li><a href="/cgi-bin/koha/virtualshelves/downloadshelf.pl?format=[% csv_profile.export_format_id %]&shelfid=[% shelf.shelfnumber %]">[% t('CSV -') %] [% csv_profile.profile %]</a></li>
25
                    [% END %]
26
                    [% END %]
26
                </ul>
27
                </ul>
27
        </div>
28
        </div>
28
        <div class="btn-group"><a class="btn btn-default btn-sm" href="#" id="sendlist"><i class="fa fa-envelope"></i> Send list</a></div>
29
        <div class="btn-group"><a class="btn btn-default btn-sm" href="#" id="sendlist"><i class="fa fa-envelope"></i> [% t('Send list') %]</a></div>
29
        <div class="btn-group"><a class="btn btn-default btn-sm" id="printlist" target="_blank" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber %]&amp;print=1"><i class="fa fa-print"></i> Print list</a></div>
30
        <div class="btn-group"><a class="btn btn-default btn-sm" id="printlist" target="_blank" href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&print=1"><i class="fa fa-print"></i> [% t('Print list') %]</a></div>
30
    [% END %]
31
    [% END %]
31
</div>
32
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves/merge/selection.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
<form><table><caption>Merge</caption>
1
[% PROCESS 'i18n.inc' %]
2
<form><table><caption>[% t('Merge') %]</caption>
2
[% FOREACH field IN fields %]
3
[% FOREACH field IN fields %]
3
<tr>
4
<tr>
4
<td>[% field.from %]</td>
5
<td>[% field.from %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc (-9 / +9 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
<div class="gradient">
3
<div class="gradient">
3
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin z3950 Admin Resident Search Box -->
4
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin z3950 Admin Resident Search Box -->
4
<div id="header_search">
5
<div id="header_search">
5
    <div id="z3950_search" class="residentsearch">
6
    <div id="z3950_search" class="residentsearch">
6
    <p class="tip">Z39.50/SRU server search:</p>
7
    <p class="tip">[% t('Z39.50/SRU server search:') %]</p>
7
	<form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
8
	<form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
8
                <input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield %]" />
9
                <input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield %]" />
9
                <input type="submit" class="submit" name="search" value="Search" />
10
                <input type="submit" class="submit" name="search" value="Search" />
Lines 14-31 Link Here
14
15
15
	[% IF ( CAN_user_catalogue ) %]
16
	[% IF ( CAN_user_catalogue ) %]
16
    <div id="catalog_search" class="residentsearch">
17
    <div id="catalog_search" class="residentsearch">
17
	<p class="tip">Enter search keywords:</p>
18
	<p class="tip">[% t('Enter search keywords:') %]</p>
18
		<form action="/cgi-bin/koha/catalogue/search.pl"  method="get" id="cat-search-block">
19
		<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
19
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
20
            [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %][% INCLUDE 'search_indexes.inc' %][% END %]
20
            <input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="head-searchbox form-text" />
21
            <input type="text" name="q" id="search-form" size="40" value="" title="[% t('Enter the terms you wish to search for.') %]" class="head-searchbox form-text" />
21
				<input type="submit" value="Submit"  class="submit" />
22
				<input type="submit" value="Submit" class="submit" />
22
		</form>
23
		</form>
23
	</div>
24
	</div>
24
	[% END %]
25
	[% END %]
25
			<ul>
26
			<ul>
26
            <li><a class="keep_text" href="#z3950_search">Search Z39.50/SRU servers</a></li>
27
            <li><a class="keep_text" href="#z3950_search">[% t('Search Z39.50/SRU servers') %]</a></li>
27
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">Check out</a></li>[% END %]
28
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a class="keep_text" href="#circ_search">[% t('Check out') %]</a></li>[% END %]
28
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">Search the catalog</a></li>[% END %]
29
            [% IF ( CAN_user_catalogue ) %]<li><a class="keep_text" href="#catalog_search">[% t('Search the catalog') %]</a></li>[% END %]
29
			</ul>	
30
			</ul>	
30
</div>
31
</div>
31
</div>
32
</div>
32
- 

Return to bug 20988