Bug 13618: Add html filters to all the variables
Here we go, next step then. As we did not fix the performance issue when autofiltering the variables (see bug 20975), the only solution we have is to add the filters explicitely. This patch has been autogenerated (using add_html_filters.pl, see next pathces) and add the html filter to all the variables displayed in the template. Exceptions are made (using the new 'raw' TT filter) to the variable we already listed in the previous versions of this patch. To test: - Use t/db_dependent/Koha/Patrons.t to populate your DB with autogenerated data which contain <script> tags - Remove them from borrower_debarments.comments (there are allowed here) update borrower_debarments set comment="html tags possible here"; - From the interface hit page and try to catch alert box. If you find one it means you find a possible XSS. To know where it comes from: * note the exact URL where you found it * note the alert box content * Dump your DB and search for the string in the dump to identify its location (for instance table.field) Next: * Ideally we would like to use the raw filter when it is not necessary to HTML escape the variables (in big loop for instance) * Provide a QA script to catch missing filters (we want html, uri, url or raw, certainly others that I am forgetting now) * Replace the html filters with uri when needed (!) Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
610c628def
commit
dcd1f5d48c
|
|
@ -6,5 +6,5 @@
|
|||
[% CASE 'Lost Item Return' %]Lost item returned
|
||||
[% CASE 'Writeoff' %]Writeoff
|
||||
[% CASE 'Void Payment' %]Void payment
|
||||
[% CASE %][% account_offset.type %]
|
||||
[% CASE %][% account_offset.type | html %]
|
||||
[%- END -%]
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@
|
|||
[% CASE 'WO' %]Writeoff
|
||||
[% CASE 'C' %]Credit
|
||||
[% CASE 'CR' %]Credit
|
||||
[% CASE %][% account.accounttype %]
|
||||
[% CASE %][% account.accounttype | html %]
|
||||
[%- END -%]
|
||||
|
|
|
|||
|
|
@ -7,17 +7,17 @@
|
|||
<label>From an existing record:
|
||||
<input type="text" size="25" name="q" />
|
||||
</label>
|
||||
<input type="hidden" name="booksellerid" value="[% booksellerid %]" />
|
||||
<input type="hidden" name="basketno" value="[% basketno %]" />
|
||||
<input type="hidden" name="booksellerid" value="[% booksellerid | html %]" />
|
||||
<input type="hidden" name="basketno" value="[% basketno | html %]" />
|
||||
<input type="submit" class="submit" value="Search" />
|
||||
</form>
|
||||
</li>
|
||||
<li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">From a suggestion</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/newordersubscription.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">From a subscription</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">From a new (empty) record</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">From an external source</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]"> From a staged file</a></li>
|
||||
[% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid %]&basketno=[% basketno %]">From titles with highest hold ratios</a></li>[% END %]
|
||||
<li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]">From a suggestion</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/newordersubscription.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]">From a subscription</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]">From a new (empty) record</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]">From an external source</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/addorderiso2709.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]"> From a staged file</a></li>
|
||||
[% IF ( CAN_user_circulate ) %]<li><a href="/cgi-bin/koha/circ/reserveratios.pl?booksellerid=[% booksellerid | html %]&basketno=[% basketno | html %]">From titles with highest hold ratios</a></li>[% END %]
|
||||
</ul>
|
||||
[% ELSE %]
|
||||
<div class="dialog alert">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Acquisitions Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="supplier_search" class="residentsearch">
|
||||
<p class="tip">Search vendors:</p>
|
||||
|
|
@ -11,8 +11,8 @@
|
|||
<p class="tip">Search orders:</p>
|
||||
|
||||
<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
|
||||
<label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title %]" />
|
||||
<label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name|html %]" />
|
||||
<label for="title">Title: </label> <input type="text" id="title" name="title" size="15" value="[% title | html %]" />
|
||||
<label for="searchsupplier">Vendor:</label> <input type="text" id="searchsupplier" name="name" size="15" value="[% name | html %]" />
|
||||
<input type="hidden" id="do_search" name="do_search" value="do" />
|
||||
<span class="filteraction" id="filteraction_off" style="display:none"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[-]</a></span>
|
||||
<span class="filteraction" id="filteraction_on"> <a href="#" class="toggle_element" data-element="#filters,.filteraction">[+]</a></span>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//<![CDATA[
|
||||
function confirm_deletion() {
|
||||
if (confirm(_("Are you sure you want to delete this vendor?"))) {
|
||||
window.location="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]&op=delete";
|
||||
window.location="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]&op=delete";
|
||||
}
|
||||
}
|
||||
//]]>
|
||||
|
|
@ -16,10 +16,10 @@ function confirm_deletion() {
|
|||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
[% IF CAN_user_acquisition_order_manage && active %]
|
||||
<li><a href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid %]&op=add_form">Basket</a></li>
|
||||
<li><a href="/cgi-bin/koha/acqui/basketheader.pl?booksellerid=[% booksellerid | html %]&op=add_form">Basket</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_acquisition_contracts_manage && active %]
|
||||
<li><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=[% booksellerid %]">Contract</a></li>
|
||||
<li><a href="/cgi-bin/koha/admin/aqcontract.pl?op=add_form&booksellerid=[% booksellerid | html %]">Contract</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_acquisition_vendors_manage ) %]
|
||||
<li><a href="/cgi-bin/koha/acqui/supplier.pl?op=enter">Vendor</a></li>
|
||||
|
|
@ -27,13 +27,13 @@ function confirm_deletion() {
|
|||
</ul>
|
||||
</div>
|
||||
[% IF ( CAN_user_acquisition_vendors_manage ) %]
|
||||
<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> Edit vendor</a></div>
|
||||
<div class="btn-group"><a class="btn btn-default btn-sm" id="editsupplier" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]&op=enter"><i class="fa fa-pencil"></i> Edit vendor</a></div>
|
||||
[% UNLESS ( basketcount OR subscriptioncount ) %]
|
||||
<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>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF CAN_user_acquisition_order_receive && basketcount %]
|
||||
<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>
|
||||
<div class="btn-group"><a class="btn btn-default btn-sm" id="receive" href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | html %]"><i class="fa fa-inbox"></i> Receive shipments</a></div>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
<li>
|
||||
[% IF field %]
|
||||
<span class="label">Name: </span>
|
||||
[% field.name |html %]
|
||||
<input type="hidden" name="name" value="[% field.name %]">
|
||||
[% field.name | html %]
|
||||
<input type="hidden" name="name" value="[% field.name | html %]">
|
||||
[% ELSE %]
|
||||
<label class="required" for="name">Name: </label>
|
||||
<input type="text" name="name" id="name" class="required" required="required" />
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<li>
|
||||
<label class="required" for="label">Label: </label>
|
||||
[% IF field %]
|
||||
<input type="text" name="label" id="label" value="[% field.label |html %]" class="required" required="required" />
|
||||
<input type="text" name="label" id="label" value="[% field.label | html %]" class="required" required="required" />
|
||||
[% ELSE %]
|
||||
<input type="text" name="label" id="label" class="required" required="required" />
|
||||
[% END %]
|
||||
|
|
@ -25,9 +25,9 @@
|
|||
<select id="tagfield" name="tagfield" class="required" required="required">
|
||||
[% FOREACH tagfield IN ['001'..'999'] %]
|
||||
[% IF field && field.tagfield == tagfield %]
|
||||
<option value="[% tagfield %]" selected="selected">[% tagfield %]</option>
|
||||
<option value="[% tagfield | html %]" selected="selected">[% tagfield | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% tagfield %]">[% tagfield %]</option>
|
||||
<option value="[% tagfield | html %]">[% tagfield | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -36,13 +36,13 @@
|
|||
<li>
|
||||
<label for="tagsubfield">MARC subfield: </label>
|
||||
<select id="tagsubfield" name="tagsubfield">
|
||||
[% codes = [''] %]
|
||||
[% codes = codes.merge([0..9], ['a'..'z']) %]
|
||||
[% codes = [''] | html %]
|
||||
[% codes = codes.merge([0..9], ['a'..'z']) | html %]
|
||||
[% FOREACH tagsubfield IN codes %]
|
||||
[% IF field && field.tagsubfield == tagsubfield %]
|
||||
<option value="[% tagsubfield %]" selected="selected">[% tagsubfield %]</option>
|
||||
<option value="[% tagsubfield | html %]" selected="selected">[% tagsubfield | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% tagsubfield %]">[% tagsubfield %]</option>
|
||||
<option value="[% tagsubfield | html %]">[% tagsubfield | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1>
|
||||
|
||||
<!-- Begin main page resident search box -->
|
||||
<div id="header_search">
|
||||
|
|
|
|||
|
|
@ -5,15 +5,15 @@
|
|||
<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>
|
||||
</div>
|
||||
<form name="f" method="get" action="auth_finder.pl">
|
||||
<input type="hidden" name="source" value="[% source %]" />
|
||||
<input type="hidden" name="source" value="[% source | html %]" />
|
||||
<input type="hidden" name="op" value="do_search" />
|
||||
<input type="hidden" name="type" value="intranet" />
|
||||
<input type="hidden" name="index" value="[% index %]" />
|
||||
<input type="hidden" name="index" value="[% index | html %]" />
|
||||
<fieldset class="rows"><legend>Search options</legend>
|
||||
<ol><li>
|
||||
<span class="label">Authority type: </span>
|
||||
[% authtypecode %]
|
||||
<input type="hidden" name="authtypecode" value="[% authtypecode %]" />
|
||||
[% authtypecode | html %]
|
||||
<input type="hidden" name="authtypecode" value="[% authtypecode | html %]" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="mainmainentry">Search main heading ($a only): </label>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<option value="is">is exactly</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input id="value_mainstr" style="width:400px;" type="text" name="value_mainstr" value="[% value_mainstr |html %]" />
|
||||
<input id="value_mainstr" style="width:400px;" type="text" name="value_mainstr" value="[% value_mainstr | html %]" />
|
||||
<div id="yvaluecontainermainmainentry"></div>
|
||||
</li>
|
||||
|
||||
|
|
@ -63,7 +63,7 @@
|
|||
<option value="is">is exactly</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input id="value_main" style="width:400px;" type="text" name="value_main" value="[% value_main |html %]" />
|
||||
<input id="value_main" style="width:400px;" type="text" name="value_main" value="[% value_main | html %]" />
|
||||
<div id="yvaluecontainermainentry"></div>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
<option value="is">is exactly</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input type="text" name="value_match" value="[% value_match |html %]" />
|
||||
<input type="text" name="value_match" value="[% value_match | html %]" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="marclistanywhere">Search entire record: </label>
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
<option value="is">is exactly</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input id="value_any" style="width:400px;" type="text" name="value_any" value="[% value_any |html %]" />
|
||||
<input id="value_any" style="width:400px;" type="text" name="value_any" value="[% value_any | html %]" />
|
||||
<div id="yvaluecontainermarclist"></div>
|
||||
</li>
|
||||
<li>
|
||||
|
|
@ -141,7 +141,7 @@
|
|||
<li>
|
||||
<label for="relationship">Special relationship: </label>
|
||||
<select name="relationship" id="relationship">
|
||||
[% selected=relationship %]
|
||||
[% selected=relationship | html %]
|
||||
[% PROCESS selectoptionopen value='' %]None specified</option>
|
||||
[% PROCESS selectoptionopen value='a' %]a - Earlier heading</option>
|
||||
[% PROCESS selectoptionopen value='b' %]b - Later heading</option>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
[% IF ( summary.label ) %][% summary.label | html %]:[% END %]
|
||||
[% IF summary.summary %]
|
||||
<div class="authority-summary">
|
||||
[% summary.summary %]
|
||||
[% summary.summary | html %]
|
||||
</div>
|
||||
[% END %]
|
||||
[% UNLESS ( summary.summaryonly ) %]
|
||||
|
|
@ -89,7 +89,7 @@
|
|||
<div class="authres_otherscript">
|
||||
[% FOREACH other IN summary.otherscript %]
|
||||
[% PROCESS language lang=other.lang | trim %]:
|
||||
[% other.term %]
|
||||
[% other.term | html %]
|
||||
[% IF ! loop.last %] ; [% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
|
|
@ -131,6 +131,6 @@
|
|||
[% CASE ['ara'] %]Arabic
|
||||
[% CASE ['gre'] %]Greek (modern)
|
||||
[% CASE ['grc'] %]Greek (to 1453)
|
||||
[% CASE %][% lang %]
|
||||
[% CASE %][% lang | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1>
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1>
|
||||
<!-- Begin Authorities Resident Search Box -->
|
||||
<div id="header_search" class="residentsearch">
|
||||
<div id="mainmain_heading" class="residentsearch">
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
|
||||
[% FOREACH authority_type IN authority_types %]
|
||||
[% IF authority_type.authtypecode == authtypecode %]
|
||||
<option value="[% authority_type.authtypecode%]" selected="selected">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% authority_type.authtypecode %]">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<option value="is">is exactly</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
|
||||
<input id="value_mainentry" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
|
||||
<select name="orderby">
|
||||
[% IF ( orderby == 'HeadingAsc' ) %]
|
||||
<option value="HeadingAsc" selected="selected">Heading A-Z</option>
|
||||
|
|
@ -67,9 +67,9 @@
|
|||
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
|
||||
[% FOREACH authority_type IN authority_types %]
|
||||
[% IF authority_type.authtypecode == authtypecode %]
|
||||
<option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% authority_type.authtypecode %]">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
<option value="is">is exactly</option>
|
||||
[% END %]
|
||||
</select>
|
||||
<input id="value_mainentry" type="text" name="value" value="[% value | html%]" class="head-searchbox" />
|
||||
<input id="value_mainentry" type="text" name="value" value="[% value | html %]" class="head-searchbox" />
|
||||
<select name="orderby">
|
||||
[% IF ( orderby == 'HeadingAsc' ) %]
|
||||
<option value="HeadingAsc" selected="selected">Heading A-Z</option>
|
||||
|
|
@ -123,9 +123,9 @@
|
|||
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
|
||||
[% FOREACH authority_type IN authority_types %]
|
||||
[% IF authority_type.authtypecode == authtypecode %]
|
||||
<option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% authority_type.authtypecode %]">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -177,9 +177,9 @@
|
|||
[% IF (marcflavour == 'UNIMARC' ) %]<option value="">All authority types</option>[% END %]
|
||||
[% FOREACH authority_type IN authority_types %]
|
||||
[% IF authority_type.authtypecode == authtypecode %]
|
||||
<option value="[% authority_type.authtypecode %]" selected="selected">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]" selected="selected">[% authority_type.authtypetext | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% authority_type.authtypecode %]">[% authority_type.authtypetext %]</option>
|
||||
<option value="[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<li role="separator" class="divider"></li>
|
||||
[% END %]
|
||||
[% FOREACH authority_type IN authority_types %]
|
||||
<li><a href="/cgi-bin/koha/authorities/authorities.pl?authtypecode=[% authority_type.authtypecode %]">[% authority_type.authtypetext %]</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/authorities.pl?authtypecode=[% authority_type.authtypecode | html %]">[% authority_type.authtypetext | html %]</a></li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -27,8 +27,8 @@
|
|||
<i class="fa fa-pencil"></i> Edit <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a id="editAuth" href="/cgi-bin/koha/authorities/authorities.pl?authid=[% authid %]">Edit record</a></li>
|
||||
<li><a id="dupAuth" href="/cgi-bin/koha/authorities/authorities.pl?authid=[% authid %]&op=duplicate">Edit as new (duplicate)</a></li>
|
||||
<li><a id="editAuth" href="/cgi-bin/koha/authorities/authorities.pl?authid=[% authid | html %]">Edit record</a></li>
|
||||
<li><a id="dupAuth" href="/cgi-bin/koha/authorities/authorities.pl?authid=[% authid | html %]&op=duplicate">Edit as new (duplicate)</a></li>
|
||||
[% IF servers.count > 0 %]
|
||||
<li><a id="z3950_replace" href="#">Replace record via Z39.50/SRU</a></li>
|
||||
[% END %]
|
||||
|
|
@ -44,10 +44,10 @@
|
|||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=mads&op=export&authid=[% authid %]">MADS (XML)</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=marcxml&op=export&authid=[% authid %]">MARCXML</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=marc8&op=export&authid=[% authid %]">MARC (non-Unicode/MARC-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=utf8&op=export&authid=[% authid %]">MARC (Unicode/UTF-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=mads&op=export&authid=[% authid | html %]">MADS (XML)</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=marcxml&op=export&authid=[% authid | html %]">MARCXML</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=marc8&op=export&authid=[% authid | html %]">MARC (non-Unicode/MARC-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/authorities/export.pl?format=utf8&op=export&authid=[% authid | html %]">MARC (Unicode/UTF-8)</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@
|
|||
[% BLOCK showtree %]
|
||||
<ul class="hierarchy">
|
||||
[% FOREACH node IN tree %]
|
||||
<li id="hier[% node.authid %]" class="[% node.class %] authnode">
|
||||
<li id="hier[% node.authid | html %]" class="[% node.class | html %] authnode">
|
||||
[% IF ( node.current_value ) %]
|
||||
<span class='currentauth'>[% node.value | html %]</span>
|
||||
[% ELSE %]
|
||||
<a href="detail.pl?authid=[% node.authid %]" title="Term">[% node.value | html %]</a>
|
||||
<a href="detail.pl?authid=[% node.authid | html %]" title="Term">[% node.value | html %]</a>
|
||||
[% END %]
|
||||
[% IF ( node.children && node.children.size > 0 ) %]
|
||||
[% PROCESS showtree tree = node.children %]
|
||||
|
|
|
|||
|
|
@ -34,22 +34,22 @@ function showMergingInProgress() {
|
|||
function confirm_deletion(id) {
|
||||
var is_confirmed = confirm(_("Are you sure you want to delete this authority?"));
|
||||
if( !id ){
|
||||
id = "[% authid %]";
|
||||
id = "[% authid | html %]";
|
||||
}
|
||||
if (is_confirmed) {
|
||||
window.location="authorities-home.pl?op=delete"
|
||||
+ "&authid=" + id
|
||||
+ "&type=intranet"
|
||||
+ "&authtypecode=[% authtypecode %]"
|
||||
+ "&marclist=[% marclist %]"
|
||||
+ "&and_or=[% and_or %]"
|
||||
+ "&excluding=[% excluding %]"
|
||||
+ "&operator=[% operator %]"
|
||||
+ "&orderby=[% orderby %]"
|
||||
+ "&authtypecode=[% authtypecode | html %]"
|
||||
+ "&marclist=[% marclist | html %]"
|
||||
+ "&and_or=[% and_or | html %]"
|
||||
+ "&excluding=[% excluding | html %]"
|
||||
+ "&operator=[% operator | html %]"
|
||||
+ "&orderby=[% orderby | html %]"
|
||||
+ "&value=[% value |url %]"
|
||||
+ "&startfrom=[% startfrom %]"
|
||||
+ "&resultsperpage=[% resultsperpage %]"
|
||||
+ "&csrf_token=[% csrf_token %]";
|
||||
+ "&startfrom=[% startfrom | html %]"
|
||||
+ "&resultsperpage=[% resultsperpage | html %]"
|
||||
+ "&csrf_token=[% csrf_token | html %]";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -72,10 +72,10 @@ $(document).ready(function () {
|
|||
|
||||
$("#z3950_replace").click(function(e){
|
||||
e.preventDefault();
|
||||
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid %]","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes');
|
||||
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl?authid=[% authid | html %]","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes');
|
||||
});
|
||||
|
||||
var searchType = '[% marclist %]';
|
||||
var searchType = '[% marclist | html %]';
|
||||
if (searchType) {
|
||||
if ('mainentry' == searchType) {
|
||||
$("#header_search").tabs( "option", "selected", 0 );
|
||||
|
|
@ -88,4 +88,4 @@ $(document).ready(function () {
|
|||
|
||||
});
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -11,16 +11,16 @@
|
|||
[% DEFAULT class = '' size = 20 %]
|
||||
|
||||
[% IF avs %]
|
||||
<select id="[% name %]" name="[% name %]" class="[% class %]" >
|
||||
<select id="[% name | html %]" name="[% name | html %]" class="[% class | html %]" >
|
||||
[% IF all %]<option value="">All</option>[% END %]
|
||||
[% FOR av IN avs %]
|
||||
[% IF av.authorised_value == default %]
|
||||
<option value="[% av.authorised_value %]" selected="selected">[% av.lib | html_entity %]</option>
|
||||
<option value="[% av.authorised_value | html %]" selected="selected">[% av.lib | html_entity %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% av.authorised_value %]">[% av.lib | html_entity %]</option>
|
||||
<option value="[% av.authorised_value | html %]">[% av.lib | html_entity %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
[% ELSE %]
|
||||
<input type="text" id="[% name %]" name="[% name %]" size="[% size %]" value="[% default | html_entity %]" class="[% class %]" />
|
||||
<input type="text" id="[% name | html %]" name="[% name | html %]" size="[% size | html %]" value="[% default | html_entity %]" class="[% class | html %]" />
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
[% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]<a class="title" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSIF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSE %]<a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber |url %]">[% END %]
|
||||
[% IF ( BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSIF ( BiblioDefaultViewlabeled_marc ) %]<a class="title" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSIF ( BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblionumber |url %]">[% ELSE %]<a class="title" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber |url %]">[% END %]
|
||||
|
|
|
|||
|
|
@ -25,13 +25,13 @@
|
|||
[% IF ( moredetailview ) %]<li class="active">[% ELSE %]<li>[% END %]
|
||||
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id | url %]">Items</a></li>
|
||||
[% IF ( CAN_user_reserveforothers ) %]
|
||||
[% 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>
|
||||
[% 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 ) | html %])</a></li>
|
||||
[% END %]
|
||||
[% 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">Analytics</a></li>[% END %]
|
||||
|
||||
[% IF Koha.Preference('ArticleRequests') %]
|
||||
[% IF ( article_requests_view ) %]<li class="active">[% ELSE %]<li>[% END %]
|
||||
<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>
|
||||
<a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object | html %][% ELSE %][% biblionumber | html %][% END %]">Article requests ([% Biblio.ArticleRequestsActiveCount( biblio_object_id ) | html %])</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&biblionumber=[% biblio_object_id | url %]">Subscription(s)</a></li>[% END %]
|
||||
|
|
@ -42,4 +42,3 @@
|
|||
[% 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 %]">Modification log</a> </li>[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,11 +3,11 @@
|
|||
[% IF fines and fines > 0 %]
|
||||
<li>
|
||||
<span class="circ-hlt">Fees & Charges:</span>
|
||||
Patron has outstanding fees & charges of [% fines | $Price %].
|
||||
Patron has outstanding fees & charges of [% fines | $Price | html %].
|
||||
[% IF !Koha.Preference('AllowFineOverride') && NoIssuesCharge && fines > NoIssuesCharge %]
|
||||
<span class="circ-hlt">Checkouts are BLOCKED because fine balance is OVER THE LIMIT.</span>
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]" class="btn btn-default btn-xs" >Make payment</a>
|
||||
<a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% borrowernumber %]" class="btn btn-default btn-xs" >Pay all fines</a></li>
|
||||
<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber | html %]" class="btn btn-default btn-xs" >Make payment</a>
|
||||
<a href="/cgi-bin/koha/members/paycollect.pl?borrowernumber=[% borrowernumber | html %]" class="btn btn-default btn-xs" >Pay all fines</a></li>
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@
|
|||
<div class="dialog message">This bibliographic record does not exist.</div>
|
||||
[% CASE 'unknown_item' %]
|
||||
<div class="dialog message">This item does not exist.</div>
|
||||
[% CASE %][% blocking_error %]
|
||||
[% CASE %][% blocking_error | html %]
|
||||
[% END %]
|
||||
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
[% STOP %] [%# Will stop gracefully without processing any more of the template document.%]
|
||||
[% STOP | html %] [%# Will stop gracefully without processing any more of the template document.%]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
[% USE raw %]
|
||||
<div id="reldebarments">
|
||||
[% IF ( not debarments.defined || debarments.size < 1 ) %]
|
||||
<p>Patron is currently unrestricted.</p>
|
||||
|
|
@ -31,16 +32,16 @@
|
|||
</td>
|
||||
<td>
|
||||
[% IF d.comment.search('OVERDUES_PROCESS') %]
|
||||
Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %]
|
||||
Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') | $raw %]
|
||||
[% ELSE %]
|
||||
[% d.comment %]
|
||||
[% d.comment | $raw %]
|
||||
[% END %]
|
||||
</td>
|
||||
<td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
|
||||
<td>[% d.created | $KohaDates %]</td>
|
||||
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
|
||||
<td>
|
||||
<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">
|
||||
<a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% patron.borrowernumber | html %]&borrower_debarment_id=[% d.borrower_debarment_id | html %]&action=del">
|
||||
<i class="fa fa-trash"></i> Remove
|
||||
</a>
|
||||
</td>
|
||||
|
|
@ -53,7 +54,7 @@
|
|||
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
|
||||
<p><a href="#" id="add_manual_restriction"><i class="fa fa-plus"></i> Add manual restriction</a></p>
|
||||
<form method="post" action="/cgi-bin/koha/members/mod_debarment.pl" class="clearfix">
|
||||
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
|
||||
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
||||
<input type="hidden" name="action" value="add" />
|
||||
<fieldset class="rows" id="manual_restriction_form">
|
||||
<legend>Add manual restriction</legend>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
[%# First check to see if we have anything selected, otherwise we select all %]
|
||||
[% selectall = 1 %]
|
||||
[% selectall = 1 | html %]
|
||||
[% FOREACH branch IN branches %]
|
||||
[% IF branch.selected %]
|
||||
[% selectall = 0 %]
|
||||
[% selectall = 0 | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
<div class="branchselector">
|
||||
|
|
@ -11,12 +11,12 @@
|
|||
[% FOREACH branch IN branches %]
|
||||
<div class="branchgriditem">
|
||||
[% IF branch.selected || (selectall == 1) %]
|
||||
<input id="branch_[% branch.branchcode %]" class="branch_select" type="checkbox" name="branch" value="[% branch.branchcode %]" checked="checked" />
|
||||
<input id="branch_[% branch.branchcode | html %]" class="branch_select" type="checkbox" name="branch" value="[% branch.branchcode | html %]" checked="checked" />
|
||||
[% ELSE %]
|
||||
<input id="branch_[% branch.branchcode %]" class="branch-select" type="checkbox" name="branch" value="[% branch.branchcode %]" />
|
||||
<input id="branch_[% branch.branchcode | html %]" class="branch-select" type="checkbox" name="branch" value="[% branch.branchcode | html %]" />
|
||||
[% END %]
|
||||
|
||||
<label for="branch_[% branch.branchcode %]">[% branch.branchname %]</label>
|
||||
<label for="branch_[% branch.branchcode | html %]">[% branch.branchname | html %]</label>
|
||||
</div>
|
||||
[% IF loop.count() % 4 == 0 && !loop.last() %]
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% IF ( currency ) %]
|
||||
[% IF ( not hide ) %]
|
||||
<p><b>Currency = [% currency %]</b></p>
|
||||
<p><b>Currency = [% currency | html %]</b></p>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
<div class="dialog alert">
|
||||
|
|
|
|||
|
|
@ -1,25 +1,25 @@
|
|||
[% USE Koha %]
|
||||
[% USE Branches %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Fund Admin Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Fund Admin Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
<div id="budgets_search" class="residentsearch">
|
||||
<p class="tip">Search funds:</p>
|
||||
<form action="/cgi-bin/koha/admin/aqbudgets.pl" method="post">
|
||||
<label for="filter_budgetname">Fund code: </label><input class="query" type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname %]" />
|
||||
<label for="filter_budgetname">Fund code: </label><input class="query" type="text" name="filter_budgetname" id="filter_budgetname" size="20" value="[% filter_budgetname | html %]" />
|
||||
<label for="filter_budgetbranch">Library: </label>
|
||||
<select name="filter_budgetbranch" id="filter_budgetbranch" style="width:10em;">
|
||||
<option value=""></option>
|
||||
[% FOREACH branchloo IN Branches.all( selected => selected_branchcode ) %]
|
||||
[% IF branchloo.selected %]
|
||||
<option value="[% branchloo.branchcode %]" selected="selected">[% branchloo.branchname %]</option>
|
||||
<option value="[% branchloo.branchcode | html %]" selected="selected">[% branchloo.branchname | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% branchloo.branchcode %]" >[% branchloo.branchname %]</option>
|
||||
<option value="[% branchloo.branchcode | html %]" >[% branchloo.branchname | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
<input type="hidden" name="budget_period_id" value="[% budget_period_id %]" />
|
||||
<input type="hidden" name="budget_period_id" value="[% budget_period_id | html %]" />
|
||||
<input type="submit" class="submit" name="filter" value="Submit" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -10,15 +10,15 @@
|
|||
[% ELSE %]
|
||||
<li>
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% budget_period_id %]">New fund for [% budget_period_description %]</a></li>
|
||||
<a href="/cgi-bin/koha/admin/aqbudgets.pl?op=add_form&budget_period_id=[% budget_period_id | html %]">New fund for [% budget_period_description | html %]</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=[% budget_period_id %]">Edit budget [% budget_period_description %]</a></li>
|
||||
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&budget_period_id=[% budget_period_id %]">Duplicate budget [% budget_period_description %]</a></li>
|
||||
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=add_form&budget_period_id=[% budget_period_id | html %]">Edit budget [% budget_period_description | html %]</a></li>
|
||||
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl?op=duplicate_form&budget_period_id=[% budget_period_id | html %]">Duplicate budget [% budget_period_description | html %]</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
@ -30,26 +30,26 @@
|
|||
[% ELSE %]
|
||||
<li class="disabled">
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=MONTHS">Plan by months</a></li>
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id | html %]&authcat=MONTHS">Plan by months</a></li>
|
||||
[% IF ( CAN_user_acquisition_planning_manage ) %]
|
||||
<li>
|
||||
[% ELSE %]
|
||||
<li class="disabled">
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=BRANCHES">Plan by libraries</a></li>
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id | html %]&authcat=BRANCHES">Plan by libraries</a></li>
|
||||
[% IF ( CAN_user_acquisition_planning_manage ) %]
|
||||
<li>
|
||||
[% ELSE %]
|
||||
<li class="disabled">
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=ITEMTYPES">Plan by item types</a></li>
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id | html %]&authcat=ITEMTYPES">Plan by item types</a></li>
|
||||
[% FOREACH auth_cats_loo IN auth_cats_loop %]
|
||||
[% IF ( CAN_user_acquisition_planning_manage ) %]
|
||||
<li>
|
||||
[% ELSE %]
|
||||
<li class="disabled">
|
||||
[% END %]
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id %]&authcat=[% auth_cats_loo %]">Plan by [% auth_cats_loo %]</a>
|
||||
<a href="/cgi-bin/koha/admin/aqplan.pl?budget_period_id=[% budget_period_id | html %]&authcat=[% auth_cats_loo | html %]">Plan by [% auth_cats_loo | html %]</a>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
var debug = "[% debug %]";
|
||||
var dformat = "[% dateformat %]";
|
||||
var debug = "[% debug | html %]";
|
||||
var dformat = "[% dateformat | html %]";
|
||||
var sentmsg = 0;
|
||||
if (debug > 1) {alert("dateformat: " + dformat + "\ndebug is on (level " + debug + ")");}
|
||||
var MSG_PLEASE_ENTER_A_VALID_DATE = (_("Please enter a valid date (should match %s)."));
|
||||
|
|
@ -12,7 +12,7 @@ function is_valid_date(date) {
|
|||
// An empty string is considered as a valid date for convenient reasons.
|
||||
if ( date === '' ) return 1;
|
||||
|
||||
var dateformat = dateformat_str = '[% Koha.Preference('dateformat') %]';
|
||||
var dateformat = dateformat_str = '[% Koha.Preference('dateformat') | html %]';
|
||||
if ( dateformat == 'us' ) {
|
||||
if ( date.search(/^\d{2}\/\d{2}\/\d{4}($|\s)/) == -1 ) return 0;
|
||||
dateformat = 'mm/dd/yy';
|
||||
|
|
@ -50,7 +50,7 @@ function get_dateformat_str(dateformat) {
|
|||
|
||||
function validate_date (dateText, inst) {
|
||||
if ( !is_valid_date(dateText) ) {
|
||||
var dateformat_str = get_dateformat_str( '[% Koha.Preference('dateformat') %]' );
|
||||
var dateformat_str = get_dateformat_str( '[% Koha.Preference('dateformat') | html %]' );
|
||||
alert(MSG_PLEASE_ENTER_A_VALID_DATE.format(dateformat_str));
|
||||
$('#'+inst.id).val('');
|
||||
}
|
||||
|
|
@ -118,7 +118,7 @@ jQuery(function($){
|
|||
dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")],
|
||||
weekHeader: _("Wk"),
|
||||
dateFormat: "[% IF ( dateformat == "us" ) %]mm/dd/yy[% ELSIF ( dateformat == "metric" ) %]dd/mm/yy[% ELSIF ( dateformat == "dmydot" ) %]dd.mm.yy[% ELSE %]yy-mm-dd[% END %]",
|
||||
firstDay: [% Koha.Preference('CalendarFirstDayOfWeek') %],
|
||||
firstDay: [% Koha.Preference('CalendarFirstDayOfWeek') | html %],
|
||||
isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %],
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''};
|
||||
|
|
@ -131,7 +131,7 @@ $.datepicker.setDefaults({
|
|||
showOn: "both",
|
||||
changeMonth: true,
|
||||
changeYear: true,
|
||||
buttonImage: '[% interface %]/[% theme %]/img/famfamfam/silk/calendar.png',
|
||||
buttonImage: '[% interface | html %]/[% theme | html %]/img/famfamfam/silk/calendar.png',
|
||||
buttonImageOnly: true,
|
||||
showButtonPanel: true,
|
||||
showOtherMonths: true,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Catalogue Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Catalogue Resident Search Box -->
|
||||
<div id="header_search">
|
||||
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
|
|
|||
|
|
@ -11,17 +11,17 @@ CAN_user_serials_create_subscription ) %]
|
|||
[% END %]
|
||||
|
||||
[% IF ( CAN_user_editcatalogue_edit_items ) %]
|
||||
<li><a id="newitem" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]#additema">New item</a></li>
|
||||
<li><a id="newitem" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]#additema">New item</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_serials_create_subscription ) %]
|
||||
<li><a id="newsub" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber %]">New subscription</a></li>
|
||||
<li><a id="newsub" href="/cgi-bin/koha/serials/subscription-add.pl?biblionumber_for_new_subscription=[% biblionumber | html %]">New subscription</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF ( EasyAnalyticalRecords && CAN_user_editcatalogue_edit_catalogue ) %]
|
||||
<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&analyze=1">Analyze items</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | html %]&analyze=1">Analyze items</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_editcatalogue_edit_catalogue && ! EasyAnalyticalRecords %]
|
||||
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber %]">New child record</a></li>
|
||||
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?parentbiblionumber=[% biblionumber | html %]">New child record</a></li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -32,16 +32,16 @@ CAN_user_serials_create_subscription ) %]
|
|||
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-pencil"></i> Edit <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
[% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
|
||||
<li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">Edit record</a></li>
|
||||
<li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]">Edit record</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
|
||||
<li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Edit items</a></li>
|
||||
<li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]">Edit items</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF ( CAN_user_tools_items_batchmod ) %]
|
||||
[% IF ( count ) %]
|
||||
<li><a id="batchedit" href="/cgi-bin/koha/tools/batchMod.pl?op=show&biblionumber=[% biblionumber %]&src=CATALOGUING">Edit items in batch</a></li>
|
||||
<li><a id="batchedit" href="/cgi-bin/koha/tools/batchMod.pl?op=show&biblionumber=[% biblionumber | html %]&src=CATALOGUING">Edit items in batch</a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
[% END %]
|
||||
|
|
@ -49,27 +49,27 @@ CAN_user_serials_create_subscription ) %]
|
|||
|
||||
[% IF ( CAN_user_tools_items_batchdel ) %]
|
||||
[% IF ( count ) %]
|
||||
<li><a id="batchdelete" href="/cgi-bin/koha/tools/batchMod.pl?del=1&op=show&biblionumber=[% biblionumber %]&src=CATALOGUING">Delete items in a batch</a></li>
|
||||
<li><a id="batchdelete" href="/cgi-bin/koha/tools/batchMod.pl?del=1&op=show&biblionumber=[% biblionumber | html %]&src=CATALOGUING">Delete items in a batch</a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]">Attach item</a></li>[% END %]
|
||||
[% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber | html %]">Attach item</a></li>[% END %]
|
||||
|
||||
[% 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 %]
|
||||
[% 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">Upload image</a>[% END %][% END %]
|
||||
[% IF ( EasyAnalyticalRecords ) %][% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/linkitem.pl?biblionumber=[% biblionumber | html %]">Link to host item</a>[% END %][% END %]
|
||||
[% IF ( LocalCoverImages || OPACLocalCoverImages) %][% IF ( CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber | html %]&filetype=image">Upload image</a>[% END %][% END %]
|
||||
|
||||
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
|
||||
<li><a id="duplicatebiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&op=duplicate">Edit as new (duplicate)</a></li>
|
||||
<li><a id="duplicatebiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber | html %]&op=duplicate">Edit as new (duplicate)</a></li>
|
||||
<li><a href="#" id="z3950copy">Replace record via Z39.50/SRU</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_editcatalogue_edit_catalogue or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %]
|
||||
[% IF ( count ) %]
|
||||
<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>
|
||||
<li class="disabled"><a id="deletebiblio" data-toggle="tooltip" data-placement="left" title="[% count | html %] item(s) are attached to this record. You must delete all items before deleting this record." href="#">Delete record</a></li>
|
||||
[% ELSE %]
|
||||
<li><a id="deletebiblio" data-order-manage="[% CAN_user_acquisition_order_manage %]" href="#">Delete record</a></li>
|
||||
<li><a id="deletebiblio" data-order-manage="[% CAN_user_acquisition_order_manage | html %]" href="#">Delete record</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
|
|
@ -88,14 +88,14 @@ CAN_user_serials_create_subscription ) %]
|
|||
<div class="btn-group">
|
||||
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-download"></i> Save <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=bibtex&op=export&bib=[% biblionumber %]">BIBTEX</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=bibtex&op=export&bib=[% biblionumber | html %]">BIBTEX</a></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=[% biblionumber %]">MARCXML</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=[% biblionumber %]">MARC (non-Unicode/MARC-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=[% biblionumber %]">MARC (Unicode/UTF-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcstd&op=export&bib=[% biblionumber %]">MARC (Unicode/UTF-8, Standard)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=[% biblionumber %]">MODS (XML)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=ris&op=export&bib=[% biblionumber %]">RIS</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcxml&op=export&bib=[% biblionumber | html %]">MARCXML</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=marc8&op=export&bib=[% biblionumber | html %]">MARC (non-Unicode/MARC-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=utf8&op=export&bib=[% biblionumber | html %]">MARC (Unicode/UTF-8)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=marcstd&op=export&bib=[% biblionumber | html %]">MARC (Unicode/UTF-8, Standard)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=mods&op=export&bib=[% biblionumber | html %]">MODS (XML)</a></li>
|
||||
<li><a href="/cgi-bin/koha/catalogue/export.pl?format=ris&op=export&bib=[% biblionumber | html %]">RIS</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
@ -125,18 +125,18 @@ CAN_user_serials_create_subscription ) %]
|
|||
<span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">Place hold</a></li>
|
||||
<li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]&findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></li>
|
||||
<li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | html %]">Place hold</a></li>
|
||||
<li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | html %]&findborrower=[% holdfor_cardnumber | html %]">Place hold for [% holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber | html %])</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
<div class="btn-group"><a id="placehold" class="btn btn-default btn-sm" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-sticky-note-o"></i> Place hold</a></div>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% IF Koha.Preference('ArticleRequests') %]
|
||||
<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>
|
||||
<div class="btn-group"><a id="placehold" class="btn btn-default btn-sm" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber | html %]"><i class="fa fa-file-text-o"></i> Request article</a></div>
|
||||
[% END %]
|
||||
|
||||
</div>
|
||||
|
|
@ -168,7 +168,7 @@ CAN_user_serials_create_subscription ) %]
|
|||
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
|
||||
</div>
|
||||
<input type="hidden" name="op" value="export" />
|
||||
<input type="hidden" name="bib" value="[% biblionumber %]" />
|
||||
<input type="hidden" name="bib" value="[% biblionumber | html %]" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -13,11 +13,11 @@
|
|||
var MSG_NO_ITEMS = _("This record has no items.");
|
||||
|
||||
/* Some required variables from the template */
|
||||
var biblionumber = [% biblionumber %];
|
||||
var count = [% count %];
|
||||
var holdcount = [% holdcount %];
|
||||
var countorders = [% countorders %];
|
||||
var countdeletedorders = [% countdeletedorders %];
|
||||
var biblionumber = [% biblionumber | html %];
|
||||
var count = [% count | html %];
|
||||
var holdcount = [% holdcount | html %];
|
||||
var countorders = [% countorders | html %];
|
||||
var countdeletedorders = [% countdeletedorders | html %];
|
||||
|
||||
/* provide Z3950 search points */
|
||||
function GetZ3950Terms(){
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cataloging Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Cataloging Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="addbooks_search" class="residentsearch">
|
||||
<p class="tip">Search the catalog and the reservoir:</p>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[%- USE Branches -%]
|
||||
[%- USE Koha -%]
|
||||
[%- biblio = item.biblio -%]
|
||||
[%- biblioitem = item.biblioitem -%]
|
||||
"[% 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 %]"
|
||||
[%- biblio = item.biblio | html -%]
|
||||
[%- biblioitem = item.biblioitem | html -%]
|
||||
"[% 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 %]"
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
[%- USE Branches -%]
|
||||
[%- USE Koha -%]
|
||||
[% USE AuthorisedValues %]
|
||||
[%- biblio = item.biblio -%]
|
||||
[%- biblioitem = item.biblioitem -%]
|
||||
[%- biblio = item.biblio | html -%]
|
||||
[%- biblioitem = item.biblioitem | html -%]
|
||||
[
|
||||
"[% FILTER escape_quotes = replace('"', '\"') ~%]
|
||||
<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 %]
|
||||
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | html %]" title="Go to record detail page">[% biblio.title | html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author | html %]
|
||||
[%~ END %]",
|
||||
"[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]",
|
||||
"[% biblioitem.publishercode |html %]",
|
||||
"[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) %]",
|
||||
"[% (biblioitem.publicationyear || biblio.copyrightdate) | html %]",
|
||||
"[% biblioitem.publishercode | html %]",
|
||||
"[% AuthorisedValues.GetByCode( 'CCODE', item.ccode ) | html %]",
|
||||
"[% FILTER escape_quotes ~%]
|
||||
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]#item[% item.itemnumber %]" title="Go to item details">[% item.barcode |html %]</a>
|
||||
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber | html %]#item[% item.itemnumber | html %]" title="Go to item details">[% item.barcode | html %]</a>
|
||||
[%~ END %]",
|
||||
"[% 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 %]",
|
||||
"[% 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 %]",
|
||||
"[% FILTER escape_quotes ~%]
|
||||
<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>
|
||||
<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 | html %]&itemnumber=[% item.itemnumber | html %]">Edit item</a></li> <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber | html %]">Edit record</a></li> </ul> </div>
|
||||
[%~ END %]"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,22 +1,23 @@
|
|||
[% Asset.js("lib/codemirror/codemirror-compressed.js") %]
|
||||
[% Asset.js("lib/filesaver.js") %]
|
||||
[% Asset.js("lib/koha/cateditor/marc-mode.js") %]
|
||||
[% Asset.js("lib/require.js") %]
|
||||
[% USE raw %]
|
||||
[% Asset.js("lib/codemirror/codemirror-compressed.js") | $raw %]
|
||||
[% Asset.js("lib/filesaver.js") | $raw %]
|
||||
[% Asset.js("lib/koha/cateditor/marc-mode.js") | $raw %]
|
||||
[% Asset.js("lib/require.js") | $raw %]
|
||||
<script>
|
||||
var authInfo = {
|
||||
[%- FOREACH authtag = authtags -%]
|
||||
[% authtag.tagfield %]: {
|
||||
subfield: '[% authtag.tagsubfield %]',
|
||||
authtypecode: '[% authtag.authtypecode %]',
|
||||
[% authtag.tagfield | html %]: {
|
||||
subfield: '[% authtag.tagsubfield | html %]',
|
||||
authtypecode: '[% authtag.authtypecode | html %]',
|
||||
},
|
||||
[%- END -%]
|
||||
};
|
||||
require.config( {
|
||||
baseUrl: '[% interface %]/lib/koha/cateditor/',
|
||||
baseUrl: '[% interface | html %]/lib/koha/cateditor/',
|
||||
config: {
|
||||
resources: {
|
||||
marcflavour: '[% marcflavour %]',
|
||||
themelang: '[% themelang %]',
|
||||
marcflavour: '[% marcflavour | html %]',
|
||||
themelang: '[% themelang | html %]',
|
||||
},
|
||||
},
|
||||
waitSeconds: 30,
|
||||
|
|
@ -38,10 +39,10 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
checked: false,
|
||||
},
|
||||
[%- FOREACH server = z3950_servers -%]
|
||||
[% server.id %]: {
|
||||
name: '[% server.servername %]',
|
||||
recordtype: '[% server.recordtype %]',
|
||||
checked: [% server.checked ? 'true' : 'false' %],
|
||||
[% server.id | html %]: {
|
||||
name: '[% server.servername | html %]',
|
||||
recordtype: '[% server.recordtype | html %]',
|
||||
checked: [% server.checked ? 'true' : 'false' | html %],
|
||||
},
|
||||
[%- END -%]
|
||||
};
|
||||
|
|
@ -620,7 +621,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
$( sel ).on( event, function (e) {
|
||||
e.preventDefault();
|
||||
handler( e, Preferences.user[pref] );
|
||||
Preferences.Save( [% logged_in_user.borrowernumber %] );
|
||||
Preferences.Save( [% logged_in_user.borrowernumber | html %] );
|
||||
showPreference(pref);
|
||||
} );
|
||||
}
|
||||
|
|
@ -645,7 +646,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
$( document ).on( 'change', 'input.search-toggle-server', function() {
|
||||
var server_id = $( this ).closest('li').data('server-id');
|
||||
Preferences.user.selected_search_targets[server_id] = this.checked;
|
||||
Preferences.Save( [% logged_in_user.borrowernumber %] );
|
||||
Preferences.Save( [% logged_in_user.borrowernumber | html %] );
|
||||
} );
|
||||
break;
|
||||
}
|
||||
|
|
@ -683,7 +684,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
delete Preferences.user.macros[name];
|
||||
}
|
||||
|
||||
Preferences.Save( [% logged_in_user.borrowernumber %] );
|
||||
Preferences.Save( [% logged_in_user.borrowernumber | html %] );
|
||||
}
|
||||
|
||||
function showSavedMacros( macros ) {
|
||||
|
|
@ -980,7 +981,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
$( '#switch-editor' ).click( function() {
|
||||
if ( !confirm( _("Any changes will not be saved. Continue?") ) ) return;
|
||||
|
||||
$.cookie( 'catalogue_editor_[% logged_in_user.borrowernumber %]', 'basic', { expires: 365, path: '/' } );
|
||||
$.cookie( 'catalogue_editor_[% logged_in_user.borrowernumber | html %]', 'basic', { expires: 365, path: '/' } );
|
||||
|
||||
if ( state.backend == 'catalog' ) {
|
||||
window.location = '/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=' + state.recordID;
|
||||
|
|
@ -1093,7 +1094,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
};
|
||||
|
||||
// Start editor
|
||||
Preferences.Load( [% logged_in_user.borrowernumber || 0 %] );
|
||||
Preferences.Load( [% logged_in_user.borrowernumber || 0 | html %] );
|
||||
displayPreferences(editor);
|
||||
makeAuthorisedValueWidgets( '' );
|
||||
Search.Init( {
|
||||
|
|
@ -1112,8 +1113,8 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr
|
|||
} );
|
||||
}
|
||||
|
||||
if ( "[% auth_forwarded_hash %]" ) {
|
||||
document.location.hash = "[% auth_forwarded_hash %]";
|
||||
if ( "[% auth_forwarded_hash | html %]" ) {
|
||||
document.location.hash = "[% auth_forwarded_hash | html %]";
|
||||
}
|
||||
|
||||
if ( !document.location.hash || !openRecord( document.location.hash.slice(1), editor, finishCb ) ) {
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ require( [ 'widget' ], function( Widget ) {
|
|||
Widget.Register( '008@', {
|
||||
makeTemplate: function() {
|
||||
var now = new Date();
|
||||
return Widget.PadNum( now.getYear() % 100, 2 ) + Widget.PadNum( now.getMonth() + 1, 2 ) + Widget.PadNum( now.getDate(), 2 ) + "b xxu||||| |||| 00| 0 [% DefaultLanguageField008 %] d";
|
||||
return Widget.PadNum( now.getYear() % 100, 2 ) + Widget.PadNum( now.getMonth() + 1, 2 ) + Widget.PadNum( now.getDate(), 2 ) + "b xxu||||| |||| 00| 0 [% DefaultLanguageField008 | html %] d";
|
||||
},
|
||||
init: function() {
|
||||
var $result = $( '<span class="subfield-widget fixed-widget">' + _("Fixed data:") + '<span class="hint widget-loading">' + _("Loading...") + '</span></span>' );
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Checkin Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Checkin Resident Search Box -->
|
||||
<div id="header_search">
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="11" style="text-align: right; font-weight:bold;">Totals:</td>
|
||||
<td id="totaldue" style="text-align: right;">[% totaldue %]</td>
|
||||
<td id="totalfine" style="text-align: right;">[% finetotal %]</td>
|
||||
<td id="totalprice" style="text-align: right;">[% totalprice %]</td>
|
||||
<td id="totaldue" style="text-align: right;">[% totaldue | html %]</td>
|
||||
<td id="totalfine" style="text-align: right;">[% finetotal | html %]</td>
|
||||
<td id="totalprice" style="text-align: right;">[% totalprice | html %]</td>
|
||||
<td colspan="3"><div class="date-select">
|
||||
<p><label for="newduedate">Renewal due date:</label> <input type="text" size="12" id="newduedate" name="newduedate" value="[% newduedate %]" />
|
||||
<p><label for="newduedate">Renewal due date:</label> <input type="text" size="12" id="newduedate" name="newduedate" value="[% newduedate | html %]" />
|
||||
</p>
|
||||
<p><label for="exemptfine">Forgive fines on return: <input type="checkbox" id="exemptfine" name="exemptfine" value="1" /></label></p></div>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -63,11 +63,11 @@
|
|||
[% IF csv_profiles.size %]
|
||||
<select name="csv_profile_id">
|
||||
[% FOREACH csv_profile IN csv_profiles %]
|
||||
<option value="[% csv_profile.export_format_id %]">[% csv_profile.profile %]</option>
|
||||
<option value="[% csv_profile.export_format_id | html %]">[% csv_profile.profile | html %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
[% END %]
|
||||
<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" />
|
||||
<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') | html %]" title="Use for iso2709 exports" />
|
||||
<input type="hidden" name="op" value="export" />
|
||||
<input type="hidden" id="output_format" name="output_format" value="iso2709" />
|
||||
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
|
||||
|
|
|
|||
|
|
@ -18,10 +18,11 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
[% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %]
|
||||
[% IF Koha.Preference( 'AddressFormat' ) %]
|
||||
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
|
||||
[% ELSE %]
|
||||
[% INCLUDE 'member-display-address-style-us.inc' %]
|
||||
[% SWITCH Koha.Preference( 'AddressFormat' ) %]
|
||||
[% CASE 'de' %]
|
||||
[% INCLUDE 'member-display-address-style-de.inc' %]
|
||||
[% CASE # us %]
|
||||
[% INCLUDE 'member-display-address-style-us.inc' %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( patron.phone || patron.mobile || patron.phonepro ) %]<li class="patronphone">
|
||||
|
|
@ -61,67 +62,67 @@
|
|||
[% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
|
||||
[% IF ( extendedattribute.display_checkout ) %]
|
||||
[% IF ( extendedattribute.value ) %]
|
||||
<li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]</li>
|
||||
<li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description | html %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description | html %][% ELSE %][% extendedattribute.value | html %][% END %]</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %][% END %]
|
||||
<li class="patroncategory">Category: [% patron.category.description %] ([% patron.categorycode %])</li>
|
||||
<li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) %]</li>
|
||||
<li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber %]</li>
|
||||
<li class="patroncategory">Category: [% patron.category.description | html %] ([% patron.categorycode | html %])</li>
|
||||
<li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) | html %]</li>
|
||||
<li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber | html %]</li>
|
||||
</ul></div>
|
||||
<div id="menu">
|
||||
<ul>
|
||||
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
||||
[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]">Check out</a></li>
|
||||
[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | html %]">Check out</a></li>
|
||||
[% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ patron.categorycode _ '$').size > 0 %]
|
||||
[% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber %]&batch=1">Batch check out</a></li>
|
||||
[% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | html %]&batch=1">Batch check out</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber %]">Details</a></li>
|
||||
[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">Details</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_updatecharges ) %]
|
||||
[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber %]">Fines</a></li>
|
||||
[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | html %]">Fines</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
|
||||
[% 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 %]
|
||||
[% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber | html %]">Routing lists</a></li>[% END %]
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( intranetreadinghistory ) %]
|
||||
[% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber %]">Circulation history</a></li>
|
||||
[% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber | html %]">Circulation history</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( intranetreadinghistory ) %]
|
||||
[% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber %]">Holds history</a></li>
|
||||
[% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber | html %]">Holds history</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( CAN_user_parameters ) %]
|
||||
[% 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">Modification log</a></li>
|
||||
[% 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 | html %]&src=circ">Modification log</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber %]">Notices</a></li>
|
||||
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber | html %]">Notices</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber %]">Statistics</a></li>
|
||||
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber | html %]">Statistics</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( EnableBorrowerFiles ) %]
|
||||
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber %]">Files</a></li>
|
||||
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | html %]">Files</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_acquisition_suggestions_manage %]
|
||||
[% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber %]">Purchase suggestions</a></li>
|
||||
[% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber | html %]">Purchase suggestions</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
|
||||
[% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">Discharges</a></li>
|
||||
[% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber | html %]">Discharges</a></li>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('HouseboundModule') %]
|
||||
[% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber %]">Housebound</a></li>
|
||||
[% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber | html %]">Housebound</a></li>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('ILLModule') && CAN_user_ill %]
|
||||
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber %]">Interlibrary loans</a></li>
|
||||
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber | html %]">Interlibrary loans</a></li>
|
||||
[% END %]
|
||||
</ul></div>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA">Fast cataloging</a></li>
|
||||
[% END %][% END %]
|
||||
[% IF Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes %]
|
||||
<li><a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a> [% IF pending_checkout_notes.count %]<span class="number_box"><a href="/cgi-bin/koha/circ/checkout-notes.pl">[% pending_checkout_notes.count %]</span>[% END %]</li>
|
||||
<li><a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a> [% IF pending_checkout_notes.count %]<span class="number_box"><a href="/cgi-bin/koha/circ/checkout-notes.pl">[% pending_checkout_notes.count | html %]</span>[% END %]</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
||||
|
|
|
|||
|
|
@ -14,22 +14,22 @@
|
|||
<tbody>
|
||||
[% FOREACH borrower IN borrowers %]
|
||||
[% IF destination == "circ" %]
|
||||
<tr class="clickable" data-url="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">
|
||||
<td><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber %]">[% borrower.surname %], [% borrower.firstname %]</a></td>
|
||||
<tr class="clickable" data-url="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber | html %]">
|
||||
<td><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber | html %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td>
|
||||
[% ELSIF destination == "holds" %]
|
||||
[% IF multi_hold %]
|
||||
[% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&multi_hold=1&biblionumbers=" _ biblionumbers %]
|
||||
[% ELSE %]
|
||||
[% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&biblionumber=" _ biblionumber %]
|
||||
[% END %]
|
||||
<tr class="clickable" data-url="[% data_url %]">
|
||||
<td><a href="[% data_url %]">[% borrower.surname %], [% borrower.firstname %]</a></td>
|
||||
<tr class="clickable" data-url="[% data_url | html %]">
|
||||
<td><a href="[% data_url | html %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td>
|
||||
[% END %]
|
||||
<td>[% borrower.cardnumber %]</td>
|
||||
<td>[% borrower.cardnumber | html %]</td>
|
||||
<td>[% borrower.dateofbirth | $KohaDates %]</td>
|
||||
<td>[% Categories.GetName( borrower.categorycode ) %]</td>
|
||||
<td>[% Branches.GetName( borrower.branchcode ) %]</td>
|
||||
<td>[% borrower.address %]</td>
|
||||
<td>[% Categories.GetName( borrower.categorycode ) | html %]</td>
|
||||
<td>[% Branches.GetName( borrower.branchcode ) | html %]</td>
|
||||
<td>[% borrower.address | html %]</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Circulation Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Circulation Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Cities Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Cities Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="city_search" class="residentsearch">
|
||||
<p class="tip">City search:</p>
|
||||
<form action="[% script_name %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="city_name" value="[% searchfield %]" size="40" />
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="city_name" value="[% searchfield | html %]" size="40" />
|
||||
<input type="submit" name="submit" value="OK" class="submit" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
<div id="contract_description_search" class="residentsearch">
|
||||
<p class="tip">Search by contract name or/and description:</p>
|
||||
<form action="[% script_name %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield %]" />
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="searchfield" size="40" value="[% searchfield | html %]" />
|
||||
<input type="submit" class="submit" name="search" value="Search" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[%- USE Koha -%]
|
||||
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
|
||||
|
||||
[%- 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 -%]
|
||||
[%- BLOCK -%]Contract name[% delimiter | html %]Order number[% delimiter | html %]Entry date[% delimiter | html %]ISBN[% delimiter | html %]Author[% delimiter | html %]Title[% delimiter | html %]Publication year[% delimiter | html %]Publisher[% delimiter | html %]Collection title[% delimiter | html %]Note for vendor[% delimiter | html %]Quantity[% delimiter | html %]RRP[% delimiter | html %]Delivery place[% delimiter | html %]Billing place[%- END -%]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[%- USE Koha -%]
|
||||
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
|
||||
|
||||
[%- 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 -%]
|
||||
[%- BLOCK -%]Account number[% delimiter | html %]Basket name[% delimiter | html %]Order number[% delimiter | html %]Author[% delimiter | html %]Title[% delimiter | html %]Publisher[% delimiter | html %]Publication year[% delimiter | html %]Collection title[% delimiter | html %]ISBN[% delimiter | html %]Quantity[% delimiter | html %]RRP tax included[% delimiter | html %]RRP tax excluded[% delimiter | html %]Discount[% delimiter | html %]Estimated cost tax included[% delimiter | html %]Estimated cost tax excluded[% delimiter | html %]Note for vendor[% delimiter | html %]Entry date[% delimiter | html %]Bookseller name[% delimiter | html %]Bookseller physical address[% delimiter | html %]Bookseller postal address[% delimiter | html %]Contract number[% delimiter | html %]Contract name[% delimiter | html %]Basket group delivery place[% delimiter | html %]Basket group billing place[% delimiter | html %]Basket delivery place[% delimiter | html %]Basket billing place[%- END -%]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[%- USE Koha -%]
|
||||
[%- SET delimiter = Koha.Preference( 'delimiter' ) || ',' -%]
|
||||
|
||||
[%- BLOCK -%]ORDER DATE[%- delimiter -%]ESTIMATED DELIVERY DATE[%- delimiter -%]VENDOR[%- delimiter -%]INFORMATION[%- delimiter -%]TOTAL COST[%- delimiter -%]BASKET[%- delimiter -%]CLAIMS COUNT[%- delimiter -%]CLAIMED DATE[%- END -%]
|
||||
[%- BLOCK -%]ORDER DATE[%- delimiter | html -%]ESTIMATED DELIVERY DATE[%- delimiter | html -%]VENDOR[%- delimiter | html -%]INFORMATION[%- delimiter | html -%]TOTAL COST[%- delimiter | html -%]BASKET[%- delimiter | html -%]CLAIMS COUNT[%- delimiter | html -%]CLAIMED DATE[%- END -%]
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
[%- BLOCK -%]mfirstname[% sep %]card number[% sep %]firstname[% sep %]branchname[% sep %]date[% sep %]accounttype[% sep %]amount[% sep %]title[% sep %]barcode[% sep %]itype[%- END -%]
|
||||
[%- BLOCK -%]mfirstname[% sep | html %]card number[% sep | html %]firstname[% sep | html %]branchname[% sep | html %]date[% sep | html %]accounttype[% sep | html %]amount[% sep | html %]title[% sep | html %]barcode[% sep | html %]itype[%- END -%]
|
||||
|
|
|
|||
|
|
@ -1 +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 -%]
|
||||
[%- BLOCK -%]Fund[% sep | html %]"Basket num"[% sep | html %]"Basket name"[% sep | html %]"Authorised by"[% sep | html %]"Biblio number"[% sep | html %]Title[% sep | html %]Currency[% sep | html %]"Vendor price"[% sep | html %]RRP[% sep | html %]"Budgeted cost"[% sep | html %]Quantity[% sep | html %]"Total RRP"[% sep | html %]"Total cost"[% sep | html %]"Entry date"[% sep | html %]"Date received"[% sep | html %]"Internal note"[% sep | html %]"Vendor note"[%- END -%]
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Currencies Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Currencies Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="currency_search" class="residentsearch">
|
||||
<p class="tip">Currencies search:</p>
|
||||
<form action="[% script_name %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield %]" />
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield | html %]" />
|
||||
<input type="submit" class="submit" name="search" value="Search" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,13 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% INCLUDE 'format_price.inc' %]
|
||||
[% Asset.css("css/buttons.dataTables.min.css") %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.dataTables.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/dataTables.buttons.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/buttons.colVis.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/jszip.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/buttons.print.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/buttons.html5.min.js") %]
|
||||
[% Asset.css("css/buttons.dataTables.min.css") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.dataTables.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/dataTables.buttons.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/buttons.colVis.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/jszip.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/buttons.print.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/buttons.html5.min.js") | $raw %]
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var MSG_DT_FIRST = _("First");
|
||||
|
|
@ -30,4 +31,4 @@
|
|||
var MSG_DT_COPY_SUCCESS_X = _("Copied %d rows to clipboard");
|
||||
//]]>
|
||||
</script>
|
||||
[% Asset.js("js/datatables.js") %]
|
||||
[% Asset.js("js/datatables.js") | $raw %]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
[% Asset.css("css/print.css", { media = "print" }) %]
|
||||
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
[% Asset.css("css/print.css", { media = "print" }) | $raw %]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE String %]
|
||||
|
|
@ -9,20 +10,20 @@
|
|||
<style id="antiClickjack">body{display:none !important;}</style>
|
||||
[% END %]
|
||||
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
|
||||
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") %]
|
||||
[% Asset.css("lib/bootstrap/bootstrap.min.css") %]
|
||||
[% Asset.css("lib/bootstrap/bootstrap-theme.min.css") %]
|
||||
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") %]
|
||||
[% Asset.css("css/print.css", { media = "print" }) %]
|
||||
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") | $raw %]
|
||||
[% Asset.css("lib/bootstrap/bootstrap.min.css") | $raw %]
|
||||
[% Asset.css("lib/bootstrap/bootstrap-theme.min.css") | $raw %]
|
||||
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
|
||||
[% Asset.css("css/print.css", { media = "print" }) | $raw %]
|
||||
[% INCLUDE intranetstylesheet.inc %]
|
||||
[% IF ( bidi ) %][% Asset.css("css/right-to-left.css") %][% END %]
|
||||
[% IF ( bidi ) %][% Asset.css("css/right-to-left.css").raw %][% END %]
|
||||
|
||||
[% IF ( login ) %]
|
||||
[% Asset.css("css/login.css") %]
|
||||
[% Asset.css("css/login.css") | $raw %]
|
||||
[% END %]
|
||||
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
|
||||
[% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS | $raw %]</style>[% END %]
|
||||
|
||||
[% UNLESS ( footerjs ) %]
|
||||
[% INCLUDE js_includes.inc %]
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- TEMPLATE FILE: [% template.name.split('/').last %] -->
|
||||
<!-- TEMPLATE FILE: [% template.name.split('/').last | html %] -->
|
||||
|
||||
[% USE Koha %]
|
||||
[% IF Koha.Preference('DumpTemplateVarsIntranet') %]
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
<!--
|
||||
[% FILTER replace('<!--', '<!- -') %]
|
||||
[% FILTER replace('-->', '- ->') %]
|
||||
[% Dumper.dump( Stash.stash() ) %]
|
||||
[% Dumper.dump( Stash.stash() ) | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
-->
|
||||
|
|
@ -21,5 +21,5 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
|
||||
[% IF ( bidi ) %]<html lang="[% lang | html %]" dir="[% bidi | html %]">[% ELSE %]<html lang="[% lang | html %]">[% END %]
|
||||
<head>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
[% '' %]
|
||||
[% '' | html %]
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@
|
|||
<div id="search-facets">
|
||||
<h4>Refine your search</h4>
|
||||
<ul>
|
||||
<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 ) %]&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 ) %]&sort_by=[% sort_by |url %][% END %]&limit=available">Limit to currently available items</a>[% END %]</li></ul>
|
||||
[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %])</li>[% END %]
|
||||
<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 | html %][% IF ( sort_by ) %]&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 ) %]&sort_by=[% sort_by |url %][% END %]&limit=available">Limit to currently available items</a>[% END %]</li></ul>
|
||||
[% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %]
|
||||
</li>
|
||||
|
||||
[% FOREACH facets_loo IN facets_loop %]
|
||||
[% IF facets_loo.facets.size > 0 %]
|
||||
<li id="[% facets_loo.type_id %]">
|
||||
[% facets_loo.type_label %]
|
||||
<li id="[% facets_loo.type_id | html %]">
|
||||
[% facets_loo.type_label | html %]
|
||||
[% IF facets_loo.type_label_Authors %]<span id="facet-authors">Authors</span>[% END %]
|
||||
[% IF facets_loo.type_label_Titles %]<span id="facet-titles">Titles</span>[% END %]
|
||||
[% IF facets_loo.type_label_Topics %]<span id="facet-topics">Topics</span>[% END %]
|
||||
|
|
@ -25,27 +25,27 @@
|
|||
<ul>
|
||||
[% SET url = "/cgi-bin/koha/catalogue/search.pl?" _ query_cgi _ limit_cgi %]
|
||||
[% IF ( sort_by ) %]
|
||||
[% url = BLOCK %][% url %][% "&sort_by=" _ sort_by |url %][% END %]
|
||||
[% url = BLOCK | html %][% url | html %][% "&sort_by=" _ sort_by |url %][% END %]
|
||||
[% END %]
|
||||
[% FOREACH facet IN facets_loo.facets %]
|
||||
[% IF facets_loo.type_label_CollectionCodes %][% SET facet.facet_label_value = AuthorisedValues.GetByCode('CCODE',facet.facet_label_value,0) || facet.facet_label_value %][% END %]
|
||||
<li>
|
||||
[% IF facet.active %]
|
||||
[% SET local_url = url _ "&nolimit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
|
||||
<span class="facet-label">[% facet.facet_label_value %]</span>
|
||||
[<a href="[% local_url %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
|
||||
<span class="facet-label">[% facet.facet_label_value | html %]</span>
|
||||
[<a href="[% local_url | html %]" title="Remove facet [% facet.facet_link_value | html %]">x</a>]
|
||||
[% ELSE %]
|
||||
[% SET local_url = url _ "&limit=" _ facet.type_link_value _ ":" _ facet.facet_link_value %]
|
||||
<span class="facet-label"><a href="[% local_url %]" title="[% facet.facet_title_value |html %]">[% facet.facet_label_value %]</a></span>
|
||||
<span class="facet-label"><a href="[% local_url | html %]" title="[% facet.facet_title_value | html %]">[% facet.facet_label_value | html %]</a></span>
|
||||
[% IF ( displayFacetCount ) %]
|
||||
<span class="facet-count"> ([% facet.facet_count %])</span>
|
||||
<span class="facet-count"> ([% facet.facet_count | html %])</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
[% IF ( facets_loo.expandable ) %]
|
||||
<li class="showmore">
|
||||
<a href="[% url %][% IF offset %]&offset=[% offset |url %][% END %]&expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
|
||||
<a href="[% url | html %][% IF offset %]&offset=[% offset |url %][% END %]&expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
|
||||
</li>
|
||||
[% END %]
|
||||
</ul></li>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[% BLOCK selectoptionopen %]
|
||||
[% IF value == selected %]<option value='[% value %]' selected='selected'>
|
||||
[% ELSE %]<option value='[% value %]'>
|
||||
[% IF value == selected %]<option value='[% value | html %]' selected='selected'>
|
||||
[% ELSE %]<option value='[% value | html %]'>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
<script type="text/javascript">
|
||||
var GB_ROOT_DIR = "[% interface %]/lib/greybox/";
|
||||
var GB_ROOT_DIR = "[% interface | html %]/lib/greybox/";
|
||||
</script>
|
||||
[% Asset.js("lib/greybox/AJS.js") %]
|
||||
[% Asset.js("lib/greybox/AJS_fx.js") %]
|
||||
[% Asset.js("lib/greybox/gb_scripts.js") %]
|
||||
[% Asset.css("lib/greybox/gb_styles.css") %]
|
||||
[% Asset.js("lib/greybox/AJS.js") | $raw %]
|
||||
[% Asset.js("lib/greybox/AJS_fx.js") | $raw %]
|
||||
[% Asset.js("lib/greybox/gb_scripts.js") | $raw %]
|
||||
[% Asset.css("lib/greybox/gb_styles.css") | $raw %]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
[% USE raw %]
|
||||
[% USE Branches %]
|
||||
<div id="header" class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
|
|
@ -16,7 +17,7 @@
|
|||
<a href="#" id="cartmenulink">Cart<span id="basketcount"></span></a>
|
||||
</li>
|
||||
[% END %]
|
||||
[% IntranetNav %]
|
||||
[% IntranetNav | $raw %]
|
||||
<li class="dropdown">
|
||||
<a href="/cgi-bin/koha/mainpage.pl" class="dropdown-toggle" data-toggle="dropdown">More <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
|
|
@ -58,19 +59,19 @@
|
|||
<i class="fa fa-user"></i>
|
||||
</span>
|
||||
<span id="logged-in-info-full">
|
||||
<span class="loggedinusername">[% loggedinusername %]</span>
|
||||
<span class="loggedinusername">[% loggedinusername | html %]</span>
|
||||
<span class="separator">|</span>
|
||||
[% IF ( AutoLocation ) %]
|
||||
<brand>
|
||||
[% LoginBranchname %]
|
||||
[% LoginBranchname | html %]
|
||||
</brand>
|
||||
[% ELSE %]
|
||||
<strong>
|
||||
[% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
|
||||
NO LIBRARY SET
|
||||
[% ELSE %]
|
||||
<span class="logged-in-branch-name">[% LoginBranchname %]</span>
|
||||
<span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode %]</span>
|
||||
<span class="logged-in-branch-name">[% LoginBranchname | html %]</span>
|
||||
<span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
|
||||
[% END %]
|
||||
</strong>
|
||||
[% END %]
|
||||
|
|
@ -81,20 +82,20 @@
|
|||
|
||||
<li class="loggedin-menu-label">
|
||||
Logged in as:<br />
|
||||
<span class="loggedinusername">[% loggedinusername %]</span>
|
||||
<span class="loggedinusername">[% loggedinusername | html %]</span>
|
||||
</li>
|
||||
<li class="loggedin-menu-label">
|
||||
[% IF ( AutoLocation ) %]
|
||||
<brand>
|
||||
[% LoginBranchname %]
|
||||
[% LoginBranchname | html %]
|
||||
</brand>
|
||||
[% ELSE %]
|
||||
[% IF ( LoginBranchname == 'NO_LIBRARY_SET' ) %]
|
||||
NO LIBRARY SET
|
||||
[% ELSE %]
|
||||
Location: <br />
|
||||
<span class="logged-in-branch-name">[% LoginBranchname %]</span>
|
||||
<span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode %]</span>
|
||||
<span class="logged-in-branch-name">[% LoginBranchname | html %]</span>
|
||||
<span class="logged-in-branch-code content_hidden">[% Branches.GetLoggedInBranchcode | html %]</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</li>
|
||||
|
|
@ -118,10 +119,10 @@
|
|||
[% END %]
|
||||
[% IF loggedinusernumber %]
|
||||
<li class ="toplinks-myaccount">
|
||||
<a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber %]">My account</a>
|
||||
<a class="toplinks" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loggedinusernumber | html %]">My account</a>
|
||||
</li>
|
||||
<li class="toplinks-mycheckouts">
|
||||
<a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber %]">My checkouts</a>
|
||||
<a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber | html %]">My checkouts</a>
|
||||
</li>
|
||||
[% END %]
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<form action="/cgi-bin/koha/edithelp.pl" method="post">
|
||||
<fieldset class="action"><input type="button" class="close" value="Close help window" />
|
||||
<input type="hidden" name="type" value="modify" />
|
||||
<input type="hidden" name="referer" value="[% referer %]" />
|
||||
<input type="hidden" name="referer" value="[% referer | html %]" />
|
||||
<input type="submit" class="submit" value="Edit help" /></fieldset>
|
||||
</form>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,22 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Online help</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") %]
|
||||
[% Asset.css("css/print.css", { media = "print" }) %]
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") | $raw %]
|
||||
[% Asset.css("css/print.css", { media = "print" }) | $raw %]
|
||||
[% INCLUDE intranetstylesheet.inc %]
|
||||
[% IF ( bidi ) %]
|
||||
[% Asset.css("css/right-to-left.css") %]
|
||||
[% Asset.css("css/right-to-left.css") | $raw %]
|
||||
[% END %]
|
||||
[% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
|
||||
[% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
|
||||
[% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") %]
|
||||
[% Asset.js("lib/shortcut/shortcut.js") %]
|
||||
[% Asset.js("lib/jquery/jquery-2.2.3.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") | $raw %]
|
||||
[% Asset.js("lib/shortcut/shortcut.js") | $raw %]
|
||||
<!-- koha core js -->
|
||||
[% Asset.js("js/staff-global.js") %]
|
||||
[% Asset.js("js/staff-global.js") | $raw %]
|
||||
|
||||
[% Asset.css("css/help.css") %]
|
||||
[% Asset.css("css/help.css") | $raw %]
|
||||
</head>
|
||||
<body id="help" class="help">
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Main page Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Main page Resident Search Box -->
|
||||
|
||||
<div id="header_search">
|
||||
[% INCLUDE 'patron-search-box.inc' %]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
[% BLOCK options_for_libraries %]
|
||||
[% FOREACH l IN libraries %]
|
||||
[% IF l.selected %]
|
||||
<option value="[% prefix %][% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
|
||||
<option value="[% prefix | html %][% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% prefix %][% l.branchcode | html %]">[% l.branchname |html %]</option>
|
||||
<option value="[% prefix | html %][% l.branchcode | html %]">[% l.branchname | html %]</option>
|
||||
[% END%]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
[% BLOCK options_for_authorised_value_categories %]
|
||||
[% FOREACH avc IN authorised_value_categories %]
|
||||
[% IF avc.selected %]
|
||||
<option value="[% avc.category %]" selected="selected">[% avc.category %]</option>
|
||||
<option value="[% avc.category | html %]" selected="selected">[% avc.category | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% avc.category %]">[% avc.category %]</option>
|
||||
<option value="[% avc.category | html %]">[% avc.category | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
@ -21,11 +21,11 @@
|
|||
[% BLOCK options_for_item_types %]
|
||||
[% FOREACH itemtype IN itemtypes %]
|
||||
[% IF itemtype.itemtype == selected_itemtype %]
|
||||
<option value="[% itemtype.itemtype %]" selected="selected">
|
||||
<option value="[% itemtype.itemtype | html %]" selected="selected">
|
||||
[% ELSE %]
|
||||
<option value="[% itemtype.itemtype %]">
|
||||
<option value="[% itemtype.itemtype | html %]">
|
||||
[% END %]
|
||||
[% itemtype.translated_description %]
|
||||
[% itemtype.translated_description | html %]
|
||||
</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -9,12 +9,12 @@
|
|||
</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="ill-backend-dropdown">
|
||||
[% FOREACH backend IN backends %]
|
||||
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=[% backend %]">[% backend %]</a></li>
|
||||
<li><a href="/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=[% backend | html %]">[% backend | html %]</a></li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<a id="ill-new" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=[% backends.0 %]">
|
||||
<a id="ill-new" class="btn btn-sm btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&backend=[% backends.0 | html %]">
|
||||
<i class="fa fa-plus"></i> New ILL request
|
||||
</a>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui-1.11.4.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface %]/lib/bootstrap/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/installer.css" />
|
||||
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface | html %]/lib/jquery/jquery-ui-1.11.4.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface | html %]/lib/bootstrap/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface | html %]/[% theme | html %]/css/installer.css" />
|
||||
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-2.2.3.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-migrate-1.3.0.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui-1.11.4.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface | html %]/lib/jquery/jquery-2.2.3.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface | html %]/lib/jquery/jquery-migrate-1.3.0.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface | html %]/lib/jquery/jquery-ui-1.11.4.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface | html %]/lib/bootstrap/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="[% interface | html %]/lib/jquery/plugins/jquery.validate.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
[%# Prevent XFS attacks -%]
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
var MSG_ONE_ENROLLMENTPERIOD =(_("Please choose an enrollment period in months OR by date."));
|
||||
var MSG_ONLY_ONE_ENROLLMENTPERIOD=(_("Please only choose one enrollment period."));
|
||||
var MSG_LETTERS_NUMBERS_ONLY=(_("Please only enter letters or numbers."));
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
[% USE raw %]
|
||||
[% USE Koha %]
|
||||
</div>
|
||||
[% IF ( ( languages_loop ) && ( ! popup_window ) && ( Koha.Preference('StaffLangSelectorMode') == 'both' || Koha.Preference('StaffLangSelectorMode') == 'footer') ) %]
|
||||
|
|
@ -9,27 +10,27 @@
|
|||
|
||||
[% IF ( languages_loo.group_enabled ) %]
|
||||
[% IF ( languages_loo.plural ) %]
|
||||
<li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag %]" href="#">
|
||||
<li class="dropdown"><a class="dropdown-toggle dropup" data-toggle="dropdown" id="show[% languages_loo.rfc4646_subtag | html %]" href="#">
|
||||
[% IF ( languages_loo.native_description ) %]
|
||||
[% languages_loo.native_description %]
|
||||
[% languages_loo.native_description | html %]
|
||||
[% ELSE %]
|
||||
[% languages_loo.rfc4646_subtag %]
|
||||
[% languages_loo.rfc4646_subtag | html %]
|
||||
[% END %]
|
||||
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
|
||||
[% IF ( sublanguages_loo.enabled ) %]
|
||||
[% IF ( sublanguages_loo.sublanguage_current ) %]
|
||||
<span class="sublanguage-selected">([% sublanguages_loo.rfc4646_subtag %])</span>
|
||||
<span class="sublanguage-selected">([% sublanguages_loo.rfc4646_subtag | html %])</span>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
<span class="caret"></span></a>
|
||||
<ul id="sub[% languages_loo.rfc4646_subtag %]" class="dropdown-menu dropdown-menu-right">
|
||||
<ul id="sub[% languages_loo.rfc4646_subtag | html %]" class="dropdown-menu dropdown-menu-right">
|
||||
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
|
||||
[% IF ( sublanguages_loo.enabled ) %]
|
||||
[% IF ( sublanguages_loo.sublanguage_current ) %]
|
||||
<li class="navbar-text"> <span class="currentlanguage disabled">[% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</span></li>
|
||||
<li class="navbar-text"> <span class="currentlanguage disabled">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] ([% sublanguages_loo.rfc4646_subtag | html %])</span></li>
|
||||
[% ELSE %]
|
||||
<li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag %]"> [% sublanguages_loo.native_description %] [% sublanguages_loo.script_description %] [% sublanguages_loo.region_description %] [% sublanguages_loo.variant_description %] ([% sublanguages_loo.rfc4646_subtag %])</a></li>
|
||||
<li><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | html %]"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] ([% sublanguages_loo.rfc4646_subtag | html %])</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
|
|
@ -41,17 +42,17 @@
|
|||
[% IF ( languages_loo.current ) %]
|
||||
<li class="navbar-text">
|
||||
[% IF ( languages_loo.native_description ) %]
|
||||
<span class="currentlanguage">[% languages_loo.native_description %]</span>
|
||||
<span class="currentlanguage">[% languages_loo.native_description | html %]</span>
|
||||
[% ELSE %]
|
||||
<span class="currentlanguage">[% languages_loo.rfc4646_subtag %]</span>
|
||||
<span class="currentlanguage">[% languages_loo.rfc4646_subtag | html %]</span>
|
||||
[% END %]
|
||||
</li>
|
||||
[% ELSE %]
|
||||
<li><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag %]">
|
||||
<li><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag | html %]">
|
||||
[% IF ( languages_loo.native_description ) %]
|
||||
[% languages_loo.native_description %]
|
||||
[% languages_loo.native_description | html %]
|
||||
[% ELSE %]
|
||||
[% languages_loo.rfc4646_subtag %]
|
||||
[% languages_loo.rfc4646_subtag | html %]
|
||||
[% END %]
|
||||
</a></li>
|
||||
[% END %]
|
||||
|
|
@ -68,7 +69,7 @@
|
|||
<span id="audio-alert"></span>
|
||||
[% IF ( footerjs ) %]
|
||||
[% INCLUDE js_includes.inc %]
|
||||
[% jsinclude # Parse the page template's JavaScript block if necessary %]
|
||||
[% jsinclude.raw # Parse the page template's JavaScript block if necessary %]
|
||||
[% END %]
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,17 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %]
|
||||
[% IF (intranetstylesheet.match('^https?:|^\/')) %]
|
||||
<link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" />
|
||||
<link rel="stylesheet" type="text/css" href="[% intranetstylesheet | html %]" />
|
||||
[% ELSE %]
|
||||
[% Asset.css("css/" _ intranetstylesheet) %]
|
||||
[% Asset.css("css/" _ intranetstylesheet) | $raw %]
|
||||
[% END %]
|
||||
|
||||
<!-- local colors -->
|
||||
[% IF ( intranetcolorstylesheet ) %]
|
||||
[% IF (intranetcolorstylesheet.match('^https?:|^\/')) %]
|
||||
<link rel="stylesheet" type="text/css" href="[% intranetcolorstylesheet %]" />
|
||||
<link rel="stylesheet" type="text/css" href="[% intranetcolorstylesheet | html %]" />
|
||||
[% ELSE %]
|
||||
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/[% intranetcolorstylesheet %]" />
|
||||
<link rel="stylesheet" type="text/css" href="[% interface | html %]/[% theme | html %]/css/[% intranetcolorstylesheet | html %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE AudioAlerts %]
|
||||
[%# Prevent XFS attacks -%]
|
||||
|
|
@ -12,23 +13,23 @@
|
|||
</script>
|
||||
[% END %]
|
||||
|
||||
[% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
|
||||
[% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
|
||||
[% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") %]
|
||||
[% Asset.js("lib/shortcut/shortcut.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") %]
|
||||
[% Asset.js("lib/bootstrap/bootstrap.min.js") %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.validate.min.js") %]
|
||||
[% Asset.js("lib/jquery/jquery-2.2.3.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/jquery-ui-1.11.4.min.js") | $raw %]
|
||||
[% Asset.js("lib/shortcut/shortcut.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %]
|
||||
[% Asset.js("lib/bootstrap/bootstrap.min.js") | $raw %]
|
||||
[% Asset.js("lib/jquery/plugins/jquery.validate.min.js") | $raw %]
|
||||
<!-- koha core js -->
|
||||
[% Asset.js("js/staff-global.js") %]
|
||||
[% Asset.js("js/commons.js") %]
|
||||
[% Asset.js("js/staff-global.js") | $raw %]
|
||||
[% Asset.js("js/commons.js") | $raw %]
|
||||
|
||||
[% INCLUDE 'validator-strings.inc' %]
|
||||
[% IF ( IntranetUserJS ) %]
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
[% IntranetUserJS %]
|
||||
[% IntranetUserJS | html %]
|
||||
//]]>
|
||||
</script>
|
||||
[% END %]
|
||||
|
|
@ -53,11 +54,11 @@
|
|||
//]]>
|
||||
</script>
|
||||
|
||||
[% Asset.js("js/basket.js") %]
|
||||
[% Asset.js("js/basket.js") | $raw %]
|
||||
[% END %]
|
||||
|
||||
[% IF LocalCoverImages %]
|
||||
[% Asset.js("js/localcovers.js") %]
|
||||
[% Asset.js("js/localcovers.js") | $raw %]
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var NO_LOCAL_JACKET = _("No cover image available");
|
||||
|
|
@ -68,8 +69,8 @@
|
|||
[% IF Koha.Preference('AudioAlerts') || AudioAlertsPage %]
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var AUDIO_ALERT_PATH = '[% interface %]/[% theme %]/sound/';
|
||||
var AUDIO_ALERTS = JSON.parse( '[% AudioAlerts.AudioAlerts | replace( "'", "\\'" ) | replace( '"', '\\"' ) %]' );
|
||||
var AUDIO_ALERT_PATH = '[% interface | html %]/[% theme | html %]/sound/';
|
||||
var AUDIO_ALERTS = JSON.parse( '[% AudioAlerts.AudioAlerts | replace( "'", "\\'" ) | replace( '"', '\\"' ) | html %]' );
|
||||
//]]>
|
||||
|
||||
$( document ).ready(function() {
|
||||
|
|
|
|||
|
|
@ -9,18 +9,18 @@
|
|||
[% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
|
||||
[% IF ( sublanguages_loo.enabled ) %]
|
||||
[% IF ( sublanguages_loo.sublanguage_current ) %]
|
||||
<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>
|
||||
<li role="presentation"> <a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %] <i class="fa fa-check"></i></a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
<li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% sublanguages_loo.rfc4646_subtag | html %]" tabindex="-1" role="menuitem"> [% sublanguages_loo.native_description | html %] [% sublanguages_loo.script_description | html %] [% sublanguages_loo.region_description | html %] [% sublanguages_loo.variant_description | html %]</a></li>
|
||||
[% END %]
|
||||
[% END # / IF sublanguages_loo.enabled %]
|
||||
[% END # / FOREACH sublanguages_loo %]
|
||||
[% ELSE %]
|
||||
[% IF ( languages_loo.group_enabled ) %]
|
||||
[% IF ( languages_loo.current ) %]
|
||||
<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>
|
||||
<li role="presentation"><a href="#" tabindex="-1" class="menu-inactive" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %] <i class="fa fa-check"></i></a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
<li role="presentation"><a href="/cgi-bin/koha/changelanguage.pl?language=[% languages_loo.rfc4646_subtag | html %]" tabindex="-1" role="menuitem">[% IF ( languages_loo.native_description ) %][% languages_loo.native_description | html %][% ELSE %][% languages_loo.rfc4646_subtag | html %][% END %]</a></li>
|
||||
[% END %]
|
||||
[% END # / IF languages_loo.current %]
|
||||
[% END # / IF ( languages_loo.plural ) %]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Notices Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Notices Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="notices_search" class="residentsearch">
|
||||
<p class="tip">Search existing notices:</p>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="B_address">
|
||||
[% END %]
|
||||
Address: </label>
|
||||
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
|
||||
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
|
||||
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -25,9 +25,9 @@
|
|||
<option value=""></option>
|
||||
[% FOR roadtype IN roadtypes %]
|
||||
[% IF roadtype.authorised_value == patron.B_streettype %]
|
||||
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<label for="B_streetnumber">
|
||||
[% END %]
|
||||
Street Number: </label>
|
||||
<input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
|
||||
<input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber | html %]" />
|
||||
[% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
<label for="B_address2">
|
||||
[% END %]
|
||||
Address 2: </label>
|
||||
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
|
||||
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
|
||||
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<label for="B_zipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code: </label>
|
||||
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
|
||||
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
|
||||
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<label for="B_city">
|
||||
[% END %]
|
||||
City: </label>
|
||||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
|
||||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" />
|
||||
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
<label for="B_state">
|
||||
[% END %]
|
||||
State: </label>
|
||||
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
|
||||
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
|
||||
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
<label for="B_country">
|
||||
[% END %]
|
||||
Country: </label>
|
||||
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
|
||||
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
|
||||
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
<label for="B_phone">
|
||||
[% END %]
|
||||
Phone: </label>
|
||||
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
|
||||
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
|
||||
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
<label for="B_email">
|
||||
[% END %]
|
||||
Email: </label>
|
||||
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
|
||||
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" />
|
||||
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
|
||||
[% END %]
|
||||
[% UNLESS nocontactnote %]
|
||||
|
|
@ -139,7 +139,7 @@
|
|||
<label for="contactnote">
|
||||
[% END %]
|
||||
Contact note: </label>
|
||||
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote %]</textarea>
|
||||
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote | html %]</textarea>
|
||||
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<label for="B_streetnumber">
|
||||
[% END %]
|
||||
Street Number: </label>
|
||||
<input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
|
||||
<input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber | html %]" />
|
||||
[% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -26,9 +26,9 @@
|
|||
<option value=""></option>
|
||||
[% FOR roadtype IN roadtypes %]
|
||||
[% IF roadtype.authorised_value == patron.B_streettype %]
|
||||
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<label for="B_address">
|
||||
[% END %]
|
||||
Address: </label>
|
||||
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
|
||||
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
|
||||
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
<label for="B_address2">
|
||||
[% END %]
|
||||
Address 2: </label>
|
||||
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
|
||||
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
|
||||
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
<label for="B_zipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code: </label>
|
||||
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
|
||||
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
|
||||
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
<label for="B_city">
|
||||
[% END %]
|
||||
City: </label>
|
||||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
|
||||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" />
|
||||
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
<label for="B_state">
|
||||
[% END %]
|
||||
State: </label>
|
||||
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
|
||||
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
|
||||
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
<label for="B_country">
|
||||
[% END %]
|
||||
Country: </label>
|
||||
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
|
||||
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
|
||||
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
<label for="B_phone">
|
||||
[% END %]
|
||||
Phone: </label>
|
||||
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
|
||||
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
|
||||
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
<label for="B_email">
|
||||
[% END %]
|
||||
Email: </label>
|
||||
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
|
||||
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" />
|
||||
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
|
||||
[% END %]
|
||||
[% UNLESS nocontactnote %]
|
||||
|
|
@ -140,7 +140,7 @@
|
|||
<label for="contactnote">
|
||||
[% END %]
|
||||
Contact note: </label>
|
||||
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote %]</textarea>
|
||||
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% patron.contactnote | html %]</textarea>
|
||||
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="B_streetnumber">
|
||||
[% END %]
|
||||
Street Number: </label>
|
||||
<input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber %]" />
|
||||
<input type="text" id="B_streetnumber" name="B_streetnumber" size="5" value="[% patron.B_streetnumber | html %]" />
|
||||
[% IF ( mandatoryB_streetnumber ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -25,9 +25,9 @@
|
|||
<option value=""></option>
|
||||
[% FOR roadtype IN roadtypes %]
|
||||
[% IF roadtype.authorised_value == patron.B_streettype %]
|
||||
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<label for="B_address">
|
||||
[% END %]
|
||||
Address: </label>
|
||||
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address %]" />
|
||||
<input type="text" id="B_address" name="B_address" size="40" value="[% patron.B_address | html %]" />
|
||||
[% IF ( mandatoryB_address ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
<label for="B_address2">
|
||||
[% END %]
|
||||
Address 2: </label>
|
||||
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 %]" />
|
||||
<input type="text" id="B_address2" name="B_address2" size="40" value="[% patron.B_address2 | html %]" />
|
||||
[% IF ( mandatoryB_address2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
<label for="B_city">
|
||||
[% END %]
|
||||
City: </label>
|
||||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city %]" />
|
||||
<input type="text" id="B_city" name="B_city" size="20" value="[% patron.B_city | html %]" />
|
||||
[% IF ( mandatoryB_city ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
<label for="B_state">
|
||||
[% END %]
|
||||
State: </label>
|
||||
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state %]" />
|
||||
<input type="text" id="B_state" name="B_state" size="20" value="[% patron.B_state | html %]" />
|
||||
[% IF ( mandatoryB_state ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -91,7 +91,7 @@
|
|||
<label for="B_zipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code: </label>
|
||||
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode %]" />
|
||||
<input type="text" id="B_zipcode" name="B_zipcode" maxlength="10" size="10" value="[% patron.B_zipcode | html %]" />
|
||||
[% IF ( mandatoryB_zipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
<label for="B_country">
|
||||
[% END %]
|
||||
Country: </label>
|
||||
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country %]" />
|
||||
<input type="text" id="B_country" name="B_country" size="20" value="[% patron.B_country | html %]" />
|
||||
[% IF ( mandatoryB_country ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -115,7 +115,7 @@
|
|||
<label for="B_phone">
|
||||
[% END %]
|
||||
Phone: </label>
|
||||
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone %]" />
|
||||
<input type="text" id="B_phone" name="B_phone" value="[% patron.B_phone | html %]" />
|
||||
[% IF ( mandatoryB_phone ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -127,7 +127,7 @@
|
|||
<label for="B_email">
|
||||
[% END %]
|
||||
Email: </label>
|
||||
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email %]" />
|
||||
<input type="text" id="B_email" name="B_email" size="45" value="[% patron.B_email | html %]" />
|
||||
[% IF ( mandatoryB_email ) %]<span class="required">Required</span>[% END %] </li>
|
||||
[% END %]
|
||||
[% UNLESS nocontactnote %]
|
||||
|
|
@ -138,7 +138,7 @@
|
|||
<label for="contactnote">
|
||||
[% END %]
|
||||
Contact note: </label>
|
||||
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote %]</textarea>
|
||||
<textarea id="contactnote" name="contactnote" cols="40" rows="2">[% contactnote | html %]</textarea>
|
||||
[% IF ( mandatorycontactnote ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="altcontactsurname">
|
||||
[% END %]
|
||||
Surname:</label>
|
||||
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
|
||||
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname | html %]" />
|
||||
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
<label for="altcontactfirstname">
|
||||
[% END %]
|
||||
First name:</label>
|
||||
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
|
||||
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname | html %]" />
|
||||
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<label for="altcontactaddress1">
|
||||
[% END %]
|
||||
Address:</label>
|
||||
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
|
||||
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 | html %]" size="40" />
|
||||
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<label for="altcontactaddress2">
|
||||
[% END %]
|
||||
Address 2:</label>
|
||||
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
|
||||
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 | html %]" size="40" />
|
||||
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
<label for="altcontactzipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code:</label>
|
||||
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
|
||||
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode | html %]" size="5" />
|
||||
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<label for="altcontactaddress3">
|
||||
[% END %]
|
||||
City:</label>
|
||||
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
|
||||
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<label for="altcontactstate">
|
||||
[% END %]
|
||||
State:</label>
|
||||
<input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
|
||||
<input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
<label for="altcontactcountry">
|
||||
[% END %]
|
||||
Country:</label>
|
||||
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
|
||||
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
<label for="altcontactphone">
|
||||
[% END %]
|
||||
Phone:</label>
|
||||
<input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
|
||||
<input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone | html %]" />
|
||||
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="altcontactsurname">
|
||||
[% END %]
|
||||
Surname:</label>
|
||||
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
|
||||
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname | html %]" />
|
||||
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
<label for="altcontactfirstname">
|
||||
[% END %]
|
||||
First name:</label>
|
||||
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
|
||||
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname | html %]" />
|
||||
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<label for="altcontactaddress1">
|
||||
[% END %]
|
||||
Address:</label>
|
||||
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
|
||||
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 | html %]" size="40" />
|
||||
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<label for="altcontactaddress2">
|
||||
[% END %]
|
||||
Address 2:</label>
|
||||
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
|
||||
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 | html %]" size="40" />
|
||||
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
<label for="altcontactzipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code:</label>
|
||||
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
|
||||
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode | html %]" size="5" />
|
||||
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<label for="altcontactaddress3">
|
||||
[% END %]
|
||||
City:</label>
|
||||
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
|
||||
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<label for="altcontactstate">
|
||||
[% END %]
|
||||
State:</label>
|
||||
<input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
|
||||
<input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
<label for="altcontactcountry">
|
||||
[% END %]
|
||||
Country:</label>
|
||||
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
|
||||
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
<label for="altcontactphone">
|
||||
[% END %]
|
||||
Phone:</label>
|
||||
<input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
|
||||
<input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone | html %]" />
|
||||
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="altcontactsurname">
|
||||
[% END %]
|
||||
Surname:</label>
|
||||
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname %]" />
|
||||
<input type="text" name="altcontactsurname" id="altcontactsurname" value="[% patron.altcontactsurname | html %]" />
|
||||
[% IF ( mandatoryaltcontactsurname ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
<label for="altcontactfirstname">
|
||||
[% END %]
|
||||
First name:</label>
|
||||
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname %]" />
|
||||
<input type="text" name="altcontactfirstname" id="altcontactfirstname" value="[% patron.altcontactfirstname | html %]" />
|
||||
[% IF ( mandatoryaltcontactfirstname ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<label for="altcontactaddress1">
|
||||
[% END %]
|
||||
Address:</label>
|
||||
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 %]" size="40" />
|
||||
<input type="text" name="altcontactaddress1" id="altcontactaddress1" value="[% patron.altcontactaddress1 | html %]" size="40" />
|
||||
[% IF ( mandatoryaltcontactaddress1 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
<label for="altcontactaddress2">
|
||||
[% END %]
|
||||
Address 2:</label>
|
||||
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 %]" size="40" />
|
||||
<input type="text" name="altcontactaddress2" id="altcontactaddress2" value="[% patron.altcontactaddress2 | html %]" size="40" />
|
||||
[% IF ( mandatoryaltcontactaddress2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
<label for="altcontactaddress3">
|
||||
[% END %]
|
||||
City:</label>
|
||||
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 %]" size="20" />
|
||||
<input type="text" name="altcontactaddress3" id="altcontactaddress3" value="[% patron.altcontactaddress3 | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactaddress3 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
<label for="altcontactstate">
|
||||
[% END %]
|
||||
State:</label>
|
||||
<input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate %]" size="20" />
|
||||
<input type="text" name="altcontactstate" id="altcontactstate" value="[% patron.altcontactstate | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactstate ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
<label for="altcontactzipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code:</label>
|
||||
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode %]" size="5" />
|
||||
<input type="text" name="altcontactzipcode" id="altcontactzipcode" value="[% patron.altcontactzipcode | html %]" size="5" />
|
||||
[% IF ( mandatoryaltcontactzipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
<label for="altcontactcountry">
|
||||
[% END %]
|
||||
Country:</label>
|
||||
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry %]" size="20" />
|
||||
<input type="text" name="altcontactcountry" id="altcontactcountry" value="[% patron.altcontactcountry | html %]" size="20" />
|
||||
[% IF ( mandatoryaltcontactcountry ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
<label for="altcontactphone">
|
||||
[% END %]
|
||||
Phone:</label>
|
||||
<input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone %]" />
|
||||
<input type="text" name="altcontactphone" id="altcontactphone" value="[% patron.altcontactphone | html %]" />
|
||||
[% IF ( mandatoryaltcontactphone ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
[% IF patron.streettype %]
|
||||
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', patron.streettype) %]
|
||||
[% END %]
|
||||
<li class="patronaddress1">[% patron.address %][%IF roadtype_desc %] [% roadtype_desc %][% END %][% IF patron.streetnumber %] [% patron.streetnumber %][% END %]</li>
|
||||
<li class="patronaddress1">[% patron.address | html %][%IF roadtype_desc %] [% roadtype_desc | html %][% END %][% IF patron.streetnumber %] [% patron.streetnumber | html %][% END %]</li>
|
||||
[% END %]
|
||||
[% IF ( patron.address2 ) %]
|
||||
<li class="patronaddress2">[% patron.address2 %]</li>
|
||||
<li class="patronaddress2">[% patron.address2 | html %]</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( patron.city ) %]<li class="patroncity">
|
||||
[%IF ( patron.zipcode ) %][% patron.zipcode %] [% END %][% patron.city %][% IF ( patron.state ) %]</br>[% patron.state %][% END %]
|
||||
[% IF ( patron.country ) %]<br />[% patron.country %][% END %]</li>
|
||||
[%IF ( patron.zipcode ) %][% patron.zipcode | html %] [% END %][% patron.city | html %][% IF ( patron.state ) %]</br>[% patron.state | html %][% END %]
|
||||
[% IF ( patron.country ) %]<br />[% patron.country | html %][% END %]</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -4,16 +4,16 @@
|
|||
[% IF patron.streettype %]
|
||||
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', patron.streettype) %]
|
||||
[% END %]
|
||||
<li class="patronaddress1">[% IF patron.streetnumber %][% patron.streetnumber %] [% END %]
|
||||
[%IF roadtype_desc %][% roadtype_desc %] [% END %]
|
||||
[% patron.address %]
|
||||
<li class="patronaddress1">[% IF patron.streetnumber %][% patron.streetnumber | html %] [% END %]
|
||||
[%IF roadtype_desc %][% roadtype_desc | html %] [% END %]
|
||||
[% patron.address | html %]
|
||||
</li>
|
||||
[% END %]
|
||||
[% IF ( patron.address2 ) %]
|
||||
<li class="patronaddress2">[% patron.address2 %]</li>
|
||||
<li class="patronaddress2">[% patron.address2 | html %]</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( patron.city ) %]
|
||||
<li class="patroncity">[%IF ( patron.zipcode ) %][% patron.zipcode %] [% END %][% patron.city %][% IF ( patron.state ) %]</br>[% patron.state %][% END %]
|
||||
[% IF ( patron.country ) %]<br />[% patron.country %][% END %]</li>
|
||||
<li class="patroncity">[%IF ( patron.zipcode ) %][% patron.zipcode | html %] [% END %][% patron.city | html %][% IF ( patron.state ) %]</br>[% patron.state | html %][% END %]
|
||||
[% IF ( patron.country ) %]<br />[% patron.country | html %][% END %]</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
[% IF patron.streettype %]
|
||||
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', patron.streettype) %]
|
||||
[% END %]
|
||||
<li class="patronaddress1">[% if (patron.streetnumber) %][% patron.streetnumber |html %][% end %] [% patron.address |html %] [% IF roadtype_desc %][% roadtype_desc |html %] [% END %][% end %]</li>
|
||||
<li class="patronaddress1">[% if (patron.streetnumber) | html %][% patron.streetnumber |html %][% end | html %] [% patron.address | html %] [% IF roadtype_desc %][% roadtype_desc |html %] [% END %][% end | html %]</li>
|
||||
[% END %]
|
||||
[% IF ( patron.address2 ) %]
|
||||
<li class="patronaddress2">[% patron.address2 |html %]</li>
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
[% IF patron.B_streettype %]
|
||||
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', patron.B_streettype) %]
|
||||
[% END %]
|
||||
<li class="patronaddress1">[% patron.B_address %][%IF roadtype_desc %] [% roadtype_desc %][% END %][% IF patron.B_streetnumber %] [% patron.B_streetnumber %][% END %]</li>
|
||||
<li class="patronaddress1">[% patron.B_address | html %][%IF roadtype_desc %] [% roadtype_desc | html %][% END %][% IF patron.B_streetnumber %] [% patron.B_streetnumber | html %][% END %]</li>
|
||||
[% END %]
|
||||
[% IF ( patron.B_address2 ) %]
|
||||
<li class="patronaddress2">[% patron.B_address2 %]</li>
|
||||
<li class="patronaddress2">[% patron.B_address2 | html %]</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( patron.B_city ) %]<li class="patroncity">
|
||||
[%IF ( patron.B_zipcode ) %][% patron.B_zipcode %] [% END %][% patron.B_city %][% IF ( patron.B_state ) %]</br>[% patron.B_state %][% END %]
|
||||
[% IF ( patron.B_country ) %]<br />[% patron.B_country %][% END %]</li>
|
||||
[%IF ( patron.B_zipcode ) %][% patron.B_zipcode | html %] [% END %][% patron.B_city | html %][% IF ( patron.B_state ) %]</br>[% patron.B_state | html %][% END %]
|
||||
[% IF ( patron.B_country ) %]<br />[% patron.B_country | html %][% END %]</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -4,18 +4,18 @@
|
|||
[% IF patron.B_streettype %]
|
||||
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', patron.B_streettype) %]
|
||||
[% END %]
|
||||
<li class="patronaddress1">[% IF patron.B_streetnumber %][% patron.B_streetnumber %][% END %]
|
||||
[%IF roadtype_desc %][% roadtype_desc %] [% END %]
|
||||
[% patron.B_address %]
|
||||
<li class="patronaddress1">[% IF patron.B_streetnumber %][% patron.B_streetnumber | html %][% END %]
|
||||
[%IF roadtype_desc %][% roadtype_desc | html %] [% END %]
|
||||
[% patron.B_address | html %]
|
||||
</li>
|
||||
[% END %]
|
||||
[% IF ( patron.B_address2 ) %]
|
||||
<li class="patronaddress2">[% patron.B_address2 %]</li>
|
||||
<li class="patronaddress2">[% patron.B_address2 | html %]</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( patron.B_city ) %]
|
||||
<li class="patroncity">[%IF ( patron.B_zipcode ) %][% patron.B_zipcode %] [% END %]
|
||||
[% patron.B_city %]
|
||||
[% IF ( patron.B_state ) %]</br>[% patron.B_state %][% END %]
|
||||
[% IF ( patron.B_country ) %]<br />[% patron.B_country %][% END %]</li>
|
||||
<li class="patroncity">[%IF ( patron.B_zipcode ) %][% patron.B_zipcode | html %] [% END %]
|
||||
[% patron.B_city | html %]
|
||||
[% IF ( patron.B_state ) %]</br>[% patron.B_state | html %][% END %]
|
||||
[% IF ( patron.B_country ) %]<br />[% patron.B_country | html %][% END %]</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -4,13 +4,13 @@
|
|||
[% IF patron.B_streettype %]
|
||||
[% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', patron.B_streettype) %]
|
||||
[% END %]
|
||||
<li class="patronaddress1">[% if (patron.B_streetnumber) %][% patron.B_streetnumber |html %][% end %] [% patron.B_address |html %] [% IF roadtype_desc %][% roadtype_desc |html %] [% END %][% end %]</li>
|
||||
<li class="patronaddress1">[% if (patron.B_streetnumber) | html %][% patron.B_streetnumber | html %][% end | html %] [% patron.B_address | html %] [% IF roadtype_desc %][% roadtype_desc | html %] [% END %][% end | html %]</li>
|
||||
[% END %]
|
||||
[% IF ( patron.B_address2 ) %]
|
||||
<li class="patronaddress2">[% patron.B_address2 |html %]</li>
|
||||
<li class="patronaddress2">[% patron.B_address2 | html %]</li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( patron.B_city ) %]<li class="patroncity">
|
||||
[% patron.B_city |html %][% IF ( patron.B_state ) %], [% patron.B_state |html %][% END %]
|
||||
[% patron.B_zipcode |html %][% IF ( patron.B_country ) %], [% patron.B_country |html %][% END %]</li>
|
||||
[% patron.B_city | html %][% IF ( patron.B_state ) %], [% patron.B_state | html %][% END %]
|
||||
[% patron.B_zipcode | html %][% IF ( patron.B_country ) %], [% patron.B_country | html %][% END %]</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@
|
|||
<option value=""></option>
|
||||
[% FOR roadtype IN roadtypes %]
|
||||
[% IF roadtype.authorised_value == patron.streettype %]
|
||||
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
<label for="address">
|
||||
[% END %]
|
||||
Address: </label>
|
||||
<input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
|
||||
<input type="text" id="address" name="address" size="35" value="[% patron.address | html %]" />
|
||||
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<label for="streetnumber">
|
||||
[% END %]
|
||||
Street number: </label>
|
||||
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
|
||||
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber | html %]" />
|
||||
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
<label for="address2">
|
||||
[% END %]
|
||||
Address 2: </label>
|
||||
<input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
|
||||
<input type="text" id="address2" name="address2" size="35" value="[% patron.address2 | html %]" />
|
||||
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
<label for="zipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code: </label>
|
||||
<input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
|
||||
<input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode | html %]" />
|
||||
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -79,17 +79,17 @@
|
|||
<label for="city">
|
||||
[% END %]
|
||||
City: </label>
|
||||
<input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
|
||||
<input type="text" id="city" name="city" size="20" value="[% patron.city | html %]" />
|
||||
[% IF cities.count %]or choose
|
||||
<select id="select_city" name="select_city">
|
||||
<option value="|||"></option>
|
||||
[% FOREACH c IN cities %]
|
||||
[% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %]
|
||||
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]" selected="selected">
|
||||
<option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]" selected="selected">
|
||||
[% ELSE %]
|
||||
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]">
|
||||
<option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]">
|
||||
[% END %]
|
||||
[% c.city_name %] [% c.city_state %] [% c.city_zipcode %]
|
||||
[% c.city_name | html %] [% c.city_state | html %] [% c.city_zipcode | html %]
|
||||
</option>
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
<label for="state">
|
||||
[% END %]
|
||||
State: </label>
|
||||
<input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
|
||||
<input type="text" name="state" id="state" size="20" value="[% patron.state | html %]" />
|
||||
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
<label for="country">
|
||||
[% END %]
|
||||
Country: </label>
|
||||
<input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
|
||||
<input type="text" name="country" id="country" size="20" value="[% patron.country | html %]" />
|
||||
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="streetnumber">
|
||||
[% END %]
|
||||
Street number: </label>
|
||||
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
|
||||
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber | html %]" />
|
||||
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
|
||||
[% END %]
|
||||
|
||||
|
|
@ -24,9 +24,9 @@
|
|||
<option value=""></option>
|
||||
[% FOR roadtype IN roadtypes %]
|
||||
[% IF roadtype.authorised_value == patron.streettype %]
|
||||
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
<label for="address">
|
||||
[% END %]
|
||||
Address: </label>
|
||||
<input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
|
||||
<input type="text" id="address" name="address" size="35" value="[% patron.address | html %]" />
|
||||
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
<label for="address2">
|
||||
[% END %]
|
||||
Address 2: </label>
|
||||
<input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
|
||||
<input type="text" id="address2" name="address2" size="35" value="[% patron.address2 | html %]" />
|
||||
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -66,7 +66,7 @@
|
|||
<label for="zipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code: </label>
|
||||
<input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
|
||||
<input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode | html %]" />
|
||||
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -78,17 +78,17 @@
|
|||
<label for="city">
|
||||
[% END %]
|
||||
City: </label>
|
||||
<input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
|
||||
<input type="text" id="city" name="city" size="20" value="[% patron.city | html %]" />
|
||||
[% IF cities.count %]or choose
|
||||
<select id="select_city" name="select_city">
|
||||
<option value="|||"></option>
|
||||
[% FOREACH c IN cities %]
|
||||
[% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %]
|
||||
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]" selected="selected">
|
||||
<option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]" selected="selected">
|
||||
[% ELSE %]
|
||||
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]">
|
||||
<option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]">
|
||||
[% END %]
|
||||
[% c.city_name %] [% c.city_state %] [% c.city_zipcode %]
|
||||
[% c.city_name | html %] [% c.city_state | html %] [% c.city_zipcode | html %]
|
||||
</option>
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -104,7 +104,7 @@
|
|||
<label for="state">
|
||||
[% END %]
|
||||
State: </label>
|
||||
<input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
|
||||
<input type="text" name="state" id="state" size="20" value="[% patron.state | html %]" />
|
||||
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
<label for="country">
|
||||
[% END %]
|
||||
Country: </label>
|
||||
<input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
|
||||
<input type="text" name="country" id="country" size="20" value="[% patron.country | html %]" />
|
||||
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<label for="streetnumber">
|
||||
[% END %]
|
||||
Street number: </label>
|
||||
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber %]" />
|
||||
<input type="text" id="streetnumber" name="streetnumber" size="5" value="[% patron.streetnumber | html %]" />
|
||||
[% IF ( mandatorystreetnumber ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -25,9 +25,9 @@
|
|||
<option value=""></option>
|
||||
[% FOR roadtype IN roadtypes %]
|
||||
[% IF roadtype.authorised_value == patron.streettype %]
|
||||
<option value="[% roadtype.authorised_value %]" selected="selected">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]" selected="selected">[% roadtype.lib | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% roadtype.authorised_value %]">[% roadtype.lib %]</option>
|
||||
<option value="[% roadtype.authorised_value | html %]">[% roadtype.lib | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -43,7 +43,7 @@
|
|||
<label for="address">
|
||||
[% END %]
|
||||
Address: </label>
|
||||
<input type="text" id="address" name="address" size="35" value="[% patron.address %]" />
|
||||
<input type="text" id="address" name="address" size="35" value="[% patron.address | html %]" />
|
||||
[% IF ( mandatoryaddress ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
<label for="address2">
|
||||
[% END %]
|
||||
Address 2: </label>
|
||||
<input type="text" id="address2" name="address2" size="35" value="[% patron.address2 %]" />
|
||||
<input type="text" id="address2" name="address2" size="35" value="[% patron.address2 | html %]" />
|
||||
[% IF ( mandatoryaddress2 ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -67,17 +67,17 @@
|
|||
<label for="city">
|
||||
[% END %]
|
||||
City: </label>
|
||||
<input type="text" id="city" name="city" size="20" value="[% patron.city %]" />
|
||||
<input type="text" id="city" name="city" size="20" value="[% patron.city | html %]" />
|
||||
[% IF cities.count %]or choose
|
||||
<select id="select_city" name="select_city">
|
||||
<option value="|||"></option>
|
||||
[% FOREACH c IN cities %]
|
||||
[% IF c.city_name == patron.city && c.city_state == patron.state && c.city_zipcode == patron.zipcode %]
|
||||
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]" selected="selected">
|
||||
<option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]" selected="selected">
|
||||
[% ELSE %]
|
||||
<option value="[% c.city_zipcode %]|[% c.city_name %]|[% c.city_state %]|[% c.city_country %]">
|
||||
<option value="[% c.city_zipcode | html %]|[% c.city_name | html %]|[% c.city_state | html %]|[% c.city_country | html %]">
|
||||
[% END %]
|
||||
[% c.city_name %] [% c.city_state %] [% c.city_zipcode %]
|
||||
[% c.city_name | html %] [% c.city_state | html %] [% c.city_zipcode | html %]
|
||||
</option>
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
<label for="state">
|
||||
[% END %]
|
||||
State: </label>
|
||||
<input type="text" name="state" id="state" size="20" value="[% patron.state %]" />
|
||||
<input type="text" name="state" id="state" size="20" value="[% patron.state | html %]" />
|
||||
[% IF ( mandatorystate ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -105,7 +105,7 @@
|
|||
<label for="zipcode">
|
||||
[% END %]
|
||||
ZIP/Postal code: </label>
|
||||
<input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode %]" />
|
||||
<input type="text" name="zipcode" id="zipcode" size="10" value="[% patron.zipcode | html %]" />
|
||||
[% IF ( mandatoryzipcode ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
<label for="country">
|
||||
[% END %]
|
||||
Country: </label>
|
||||
<input type="text" name="country" id="country" size="20" value="[% patron.country %]" />
|
||||
<input type="text" name="country" id="country" size="20" value="[% patron.country | html %]" />
|
||||
[% IF ( mandatorycountry ) %]<span class="required">Required</span>[% END %]
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,27 +1,27 @@
|
|||
[% IF ( borrowernumber ) %]
|
||||
<div id="menu">
|
||||
<ul>
|
||||
[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li>
|
||||
[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li>
|
||||
[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber | html %]">Check out</a></li>
|
||||
[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | html %]">Details</a></li>
|
||||
[% IF ( CAN_user_updatecharges ) %]
|
||||
[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber %]">Fines</a></li>
|
||||
[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% borrowernumber | html %]">Fines</a></li>
|
||||
[% END %]
|
||||
[% IF ( intranetreadinghistory ) %]
|
||||
[% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li>
|
||||
[% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber | html %]">Circulation history</a></li>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_parameters ) %]
|
||||
[% 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 %]">Modification log</a></li>
|
||||
[% 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 | html %]">Modification log</a></li>
|
||||
[% END %]
|
||||
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li>
|
||||
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li>
|
||||
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | html %]">Notices</a></li>
|
||||
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber | html %]">Statistics</a></li>
|
||||
[% IF EnableBorrowerFiles %]
|
||||
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li>
|
||||
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber | html %]">Files</a></li>
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
|
||||
[% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber %]">Discharge</a></li>
|
||||
[% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% borrowernumber | html %]">Discharge</a></li>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('HouseboundModule') %]
|
||||
[% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% borrowernumber %]">Housebound</a></li>
|
||||
[% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% borrowernumber | html %]">Housebound</a></li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -8,21 +8,21 @@
|
|||
<div id="toolbar" class="btn-toolbar">
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF ( guarantor ) %]
|
||||
<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 %]">
|
||||
<a id="editpatron" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&guarantorid=[% guarantor.borrowernumber | html %]&categorycode=[% patron.categorycode | html %]">
|
||||
[% ELSE %]
|
||||
<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 %]">
|
||||
<a id="editpatron" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% patron.categorycode | html %]">
|
||||
[% END %]
|
||||
<i class="fa fa-pencil"></i> Edit</a>
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
[% IF patron.is_adult AND Koha.Preference("borrowerRelationship") %]
|
||||
<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> Add child</a>
|
||||
<a id="addchild" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% patron.borrowernumber | html %]"><i class="fa fa-plus"></i> Add child</a>
|
||||
[% END %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
<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>
|
||||
<a id="changepassword" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/member-password.pl?member=[% patron.borrowernumber | html %]"><i class="fa fa-lock"></i> Change password</a>
|
||||
[% END %]
|
||||
<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> Duplicate</a>
|
||||
<a id="duplicate" class="btn btn-default btn-sm" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% patron.borrowernumber | html %]&categorycode=[% patron.categorycode | html %]"><i class="fa fa-copy"></i> Duplicate</a>
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_circulate_circulate_remaining_permissions %]
|
||||
|
|
@ -49,23 +49,23 @@
|
|||
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
<li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber %]&destination=[% destination %]&reregistration=y">Renew patron</a></li>
|
||||
<li><a id="renewpatron" href="/cgi-bin/koha/members/setstatus.pl?borrowernumber=[% patron.borrowernumber | html %]&destination=[% destination | html %]&reregistration=y">Renew patron</a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
[% END %]
|
||||
[% IF ( CAN_user_permissions ) %]
|
||||
<li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=[% patron.borrowernumber %]">Set permissions</a></li>
|
||||
<li><a id="patronflags" href="/cgi-bin/koha/members/member-flags.pl?member=[% patron.borrowernumber | html %]">Set permissions</a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
[% END %]
|
||||
|
||||
[% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
|
||||
<li><a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber %]">Discharge</a></li>
|
||||
<li><a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber | html %]">Discharge</a></li>
|
||||
[% END %]
|
||||
|
||||
[% IF Koha.Preference('RESTOAuth2ClientCredentials') %]
|
||||
[% IF CAN_user_borrowers_edit_borrowers %]
|
||||
<li><a id="apikeys" href="/cgi-bin/koha/members/apikeys.pl?patron_id=[% patron.borrowernumber %]">Manage API keys</a></li>
|
||||
<li><a id="apikeys" href="/cgi-bin/koha/members/apikeys.pl?patron_id=[% patron.borrowernumber | html %]">Manage API keys</a></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
[% END %]
|
||||
|
|
@ -116,14 +116,14 @@
|
|||
<option value="B">OPAC - [% patron.firstname | html %] [% patron.surname | html %]</option>
|
||||
</select>
|
||||
</div>
|
||||
[% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) %]
|
||||
[% bor_notes = AuthorisedValues.Get( 'BOR_NOTES' ) | html %]
|
||||
[% IF bor_notes %]
|
||||
<div class="form-group">
|
||||
<label for="select_patron_messages">Predefined notes: </label>
|
||||
<select name="type" id="select_patron_messages">
|
||||
<option value="">Select note</option>
|
||||
[% FOREACH bor_note IN bor_notes %]
|
||||
<option value="[% bor_note.lib %]">[% bor_note.lib %]</option>
|
||||
<option value="[% bor_note.lib | html %]">[% bor_note.lib | html %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
|
|
@ -131,9 +131,9 @@
|
|||
<div class="form-group">
|
||||
<textarea rows="3" class="modal-textarea" name="borrower_message" id="borrower_message" ></textarea>
|
||||
</div>
|
||||
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber %]" />
|
||||
<input type="hidden" name="batch" value="[% batch %]" />
|
||||
<input type="hidden" name="branchcode" value="[% LoginBranchcode %]" />
|
||||
<input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
||||
<input type="hidden" name="batch" value="[% batch | html %]" />
|
||||
<input type="hidden" name="branchcode" value="[% LoginBranchcode | html %]" />
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-default approve" type="submit"><i class="fa fa-check"></i> Save</button>
|
||||
|
|
|
|||
|
|
@ -1,37 +1,37 @@
|
|||
[% BLOCK sourcetab %]
|
||||
<div id="tabrecord[% record.recordid %]">
|
||||
<div id="tabrecord[% record.recordid | html %]">
|
||||
<div class="record">
|
||||
<ul id="ulrecord[% record.recordid %]">
|
||||
<ul id="ulrecord[% record.recordid | html %]">
|
||||
[% FOREACH field IN record.display %]
|
||||
[% IF field.tag != biblionumbertag %]
|
||||
<li id="k[% field.key %]">
|
||||
<li id="k[% field.key | html %]">
|
||||
[% IF (tabrecord.reference) %]
|
||||
<input type="checkbox" checked="checked" class="fieldpick" id="rec_[% record.recordid %]_[% field.key %]" />
|
||||
<input type="checkbox" checked="checked" class="fieldpick" id="rec_[% record.recordid | html %]_[% field.key | html %]" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox" class="fieldpick" id="rec_[% record.recordid %]_[% field.key %]" />
|
||||
<input type="checkbox" class="fieldpick" id="rec_[% record.recordid | html %]_[% field.key | html %]" />
|
||||
[% END %]
|
||||
<label for="rec_[% record.recordid %]_[% field.key %]"><span class="field">[% field.tag %]</span></label>
|
||||
<label for="rec_[% record.recordid | html %]_[% field.key | html %]"><span class="field">[% field.tag | html %]</span></label>
|
||||
|
||||
<input type="hidden" name="tag_[% field.tag %]_indicator1_[% field.key %]" value="[% field.indicator1 %]" />
|
||||
<input type="hidden" name="tag_[% field.tag %]_indicator2_[% field.key %]" value="[% field.indicator2 %]" />
|
||||
<input type="hidden" name="tag_[% field.tag | html %]_indicator1_[% field.key | html %]" value="[% field.indicator1 | html %]" />
|
||||
<input type="hidden" name="tag_[% field.tag | html %]_indicator2_[% field.key | html %]" value="[% field.indicator2 | html %]" />
|
||||
[% IF ( field.value ) %]
|
||||
/ [% field.value %]
|
||||
<input type="hidden" name="tag_[% field.tag %]_code_00_[% field.key %]" value="00" />
|
||||
<input type="hidden" name="tag_[% field.tag %]_subfield_00_[% field.key %]" value="[% field.value %]" />
|
||||
/ [% field.value | html %]
|
||||
<input type="hidden" name="tag_[% field.tag | html %]_code_00_[% field.key | html %]" value="00" />
|
||||
<input type="hidden" name="tag_[% field.tag | html %]_subfield_00_[% field.key | html %]" value="[% field.value | html %]" />
|
||||
[% END %]
|
||||
|
||||
[% IF ( field.subfield.size ) %]
|
||||
<ul>
|
||||
[% FOREACH subfield IN field.subfield %]
|
||||
<li id="k[% subfield.subkey %]">
|
||||
<li id="k[% subfield.subkey | html %]">
|
||||
[% IF (tabrecord.reference) %]
|
||||
<input type="checkbox" checked="checked" class="subfieldpick" id="rec_[% record.recordid %]_[% subfield.subkey %]" />
|
||||
<input type="checkbox" checked="checked" class="subfieldpick" id="rec_[% record.recordid | html %]_[% subfield.subkey | html %]" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox" class="subfieldpick" id="rec_[% record.recordid %]_[% subfield.subkey %]" />
|
||||
<input type="checkbox" class="subfieldpick" id="rec_[% record.recordid | html %]_[% subfield.subkey | html %]" />
|
||||
[% END %]
|
||||
<label for="rec_[% record.recordid %]_[% subfield.subkey %]"><span class="subfield">[% subfield.subtag %]</span> / [% subfield.value %]</label>
|
||||
<input type="hidden" name="tag_[% field.tag %]_code_[% subfield.subtag %]_[% field.key %]_[% subfield.subkey %]" value="[% subfield.subtag %]" />
|
||||
<input type="hidden" name="tag_[% field.tag %]_subfield_[% subfield.subtag %]_[% subfield.key %]_[% subfield.subkey %]" value="[% subfield.value |html%]" />
|
||||
<label for="rec_[% record.recordid | html %]_[% subfield.subkey | html %]"><span class="subfield">[% subfield.subtag | html %]</span> / [% subfield.value | html %]</label>
|
||||
<input type="hidden" name="tag_[% field.tag | html %]_code_[% subfield.subtag | html %]_[% field.key | html %]_[% subfield.subkey | html %]" value="[% subfield.subtag | html %]" />
|
||||
<input type="hidden" name="tag_[% field.tag | html %]_subfield_[% subfield.subtag | html %]_[% subfield.key | html %]_[% subfield.subkey | html %]" value="[% subfield.value | html %]" />
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
|
@ -50,8 +50,8 @@
|
|||
<ul>
|
||||
[% FOREACH record IN sourcerecords %]
|
||||
<li>
|
||||
<a href="#tabrecord[% record.recordid %]">
|
||||
[% record.recordid %]
|
||||
<a href="#tabrecord[% record.recordid | html %]">
|
||||
[% record.recordid | html %]
|
||||
[% IF record.reference %](ref)[% END %]
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<!-- snippet for form to set borrower and patron category messaging preferences -->
|
||||
|
||||
<input type="hidden" name="modify" value="yes" />
|
||||
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
|
||||
<input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
|
||||
<table>
|
||||
<tr><th></th>
|
||||
<th>Days in advance</th>
|
||||
|
|
@ -25,13 +25,13 @@
|
|||
[% IF ( messaging_preference.takes_days ) %]
|
||||
<td>
|
||||
[% IF ( messaging_form_inactive ) %]
|
||||
<select name="[% messaging_preference.message_attribute_id %]-DAYS" disabled="disabled">
|
||||
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS" disabled="disabled">
|
||||
[% ELSE %]
|
||||
<select name="[% messaging_preference.message_attribute_id %]-DAYS">
|
||||
<select name="[% messaging_preference.message_attribute_id | html %]-DAYS">
|
||||
[% END %]
|
||||
[% FOREACH select_day IN messaging_preference.select_days %]
|
||||
[% IF ( select_day.selected ) %]<option value="[% select_day.day %]" selected="selected">[% select_day.day %]</option>[% ELSE %]
|
||||
<option value="[% select_day.day %]">[% select_day.day %]</option>
|
||||
[% IF ( select_day.selected ) %]<option value="[% select_day.day | html %]" selected="selected">[% select_day.day | html %]</option>[% ELSE %]
|
||||
<option value="[% select_day.day | html %]">[% select_day.day | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -46,26 +46,26 @@
|
|||
[% IF ( messaging_form_inactive ) %]
|
||||
[% IF ( messaging_preference.transports_sms ) %]
|
||||
<input type="checkbox"
|
||||
id="sms[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
id="sms[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="sms" checked="checked" disabled="disabled" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox"
|
||||
id="sms[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
id="sms[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="sms" disabled="disabled" />
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( messaging_preference.transports_sms ) %]
|
||||
<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 %]" />
|
||||
id="sms[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="sms" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% ELSE %]
|
||||
<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 %]" />
|
||||
id="sms[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="sms" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
|
|
@ -80,26 +80,26 @@
|
|||
[% IF ( messaging_form_inactive ) %]
|
||||
[% IF ( messaging_preference.transports_phone ) %]
|
||||
<input type="checkbox"
|
||||
id="phone[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
id="phone[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="phone" checked="checked" disabled="disabled" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox"
|
||||
id="phone[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
id="phone[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="phone" disabled="disabled" />
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( messaging_preference.transports_phone ) %]
|
||||
<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 %]" />
|
||||
id="phone[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="phone" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% ELSE %]
|
||||
<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 %]" />
|
||||
id="phone[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="phone" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
|
|
@ -113,26 +113,26 @@
|
|||
[% IF ( messaging_form_inactive ) %]
|
||||
[% IF ( messaging_preference.transports_email ) %]
|
||||
<input type="checkbox"
|
||||
id="email[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
id="email[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="email" checked="checked" disabled="disabled" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox"
|
||||
id="email[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
id="email[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="email" disabled="disabled" />
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( messaging_preference.transports_email ) %]
|
||||
<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 %]" />
|
||||
id="email[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="email" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% ELSE %]
|
||||
<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 %]" />
|
||||
id="email[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="email" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
|
|
@ -145,26 +145,26 @@
|
|||
[% IF ( messaging_form_inactive ) %]
|
||||
[% IF ( messaging_preference.digest ) %]
|
||||
<input type="checkbox"
|
||||
id="digest[% messaging_preference.message_attribute_id %]"
|
||||
value="[% messaging_preference.message_attribute_id %]"
|
||||
id="digest[% messaging_preference.message_attribute_id | html %]"
|
||||
value="[% messaging_preference.message_attribute_id | html %]"
|
||||
name="digest" checked="checked" disabled="disabled" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox"
|
||||
id="digest[% messaging_preference.message_attribute_id %]"
|
||||
value="[% messaging_preference.message_attribute_id %]"
|
||||
id="digest[% messaging_preference.message_attribute_id | html %]"
|
||||
value="[% messaging_preference.message_attribute_id | html %]"
|
||||
name="digest" disabled="disabled" />
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ( messaging_preference.digest ) %]
|
||||
<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 %]" />
|
||||
id="digest[% messaging_preference.message_attribute_id | html %]"
|
||||
value="[% messaging_preference.message_attribute_id | html %]"
|
||||
name="digest" checked="checked" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% ELSE %]
|
||||
<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 %]" />
|
||||
id="digest[% messaging_preference.message_attribute_id | html %]"
|
||||
value="[% messaging_preference.message_attribute_id | html %]"
|
||||
name="digest" class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
|
|
@ -176,14 +176,14 @@
|
|||
<td>
|
||||
[% IF ( messaging_form_inactive ) %]
|
||||
<input type="checkbox"
|
||||
id="rss[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
value="rss" [% messaging_preference.transport_rss %] disabled="disabled" />
|
||||
id="rss[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="rss" [% messaging_preference.transport_rss | html %] disabled="disabled" />
|
||||
[% ELSE %]
|
||||
<input type="checkbox"
|
||||
id="rss[% messaging_preference.message_attribute_id %]"
|
||||
name="[% messaging_preference.message_attribute_id %]"
|
||||
value="rss" [% messaging_preference.transport_rss %] class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id %]" />
|
||||
id="rss[% messaging_preference.message_attribute_id | html %]"
|
||||
name="[% messaging_preference.message_attribute_id | html %]"
|
||||
value="rss" [% messaging_preference.transport_rss | html %] class="active_notify" data-attr-id="[% messaging_preference.message_attribute_id | html %]" />
|
||||
[% END %]
|
||||
</td>
|
||||
[% ELSE %]
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
[% END %] -->
|
||||
|
||||
[% UNLESS ( messaging_form_inactive ) %]
|
||||
<td><input type="checkbox" class="none" id="none[% messaging_preference.message_attribute_id %]" /></td>
|
||||
<td><input type="checkbox" class="none" id="none[% messaging_preference.message_attribute_id | html %]" /></td>
|
||||
[% END %]
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<input type="hidden" name="op" value="gennext" />
|
||||
|
||||
[%# subscriptionidlist is used from serials-collection, subscriptionid is used from serils-edit %]
|
||||
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist || subscriptionid %]" />
|
||||
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist || subscriptionid | html %]" />
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<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. -->
|
||||
<input type="hidden" name="op" value="search" />
|
||||
<fieldset>
|
||||
<legend>[% nl_search_form_title %]</legend>
|
||||
<legend>[% nl_search_form_title | html %]</legend>
|
||||
<label for="q">Social security or card number: </label>
|
||||
<input type="text" name="q" value="[% q %]">
|
||||
<input type="text" name="q" value="[% q | html %]">
|
||||
<input type="submit" value="Search">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -32,6 +32,6 @@
|
|||
<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>
|
||||
[% CASE 'ERROR_password_has_whitespaces' %]
|
||||
<div class="alert alert-danger">The patron has not been created the entered password contained whitespaces</div>
|
||||
[% CASE %][% message %]
|
||||
[% CASE %][% message | html %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
[% IF ( PAGE_NUMBERS ) %]<nav><ul class="pagination">
|
||||
[% IF hits_to_paginate < total %]<h6>[% hits_to_paginate %] of [% total %] results loaded, refine your search to view other records</h6>[% END %]
|
||||
[% IF hits_to_paginate < total %]<h6>[% hits_to_paginate | html %] of [% total | html %] results loaded, refine your search to view other records</h6>[% END %]
|
||||
[% IF ( previous_page_offset.defined ) %]
|
||||
<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 %]">First</a></li>
|
||||
<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 %]">First</a></li>
|
||||
<!-- Row of numbers corresponding to search result pages -->
|
||||
<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 %]"><< Previous</a></li>
|
||||
<li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi | html %][% limit_cgi | html %]&offset=[% previous_page_offset | html %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]"><< Previous</a></li>
|
||||
[% END %]
|
||||
[% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
|
||||
[% IF ( PAGE_NUMBER.highlight ) %]
|
||||
<li class="active"><span>[% PAGE_NUMBER.pg %]</span></li>
|
||||
<li class="active"><span>[% PAGE_NUMBER.pg | html %]</span></li>
|
||||
[% ELSE %]
|
||||
<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>
|
||||
<li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% PAGE_NUMBER.offset | html %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">[% PAGE_NUMBER.pg | html %]</a></li>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( next_page_offset ) %]
|
||||
<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 %]">Next >></a></li>
|
||||
<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 %]">Last</a></li>
|
||||
<li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% next_page_offset | html %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">Next >></a></li>
|
||||
<li><a class="nav" href="/cgi-bin/koha/catalogue/search.pl?[% query_cgi |html %][% limit_cgi |html %]&offset=[% last_page_offset | html %][% IF ( sort_by ) %]&sort_by=[% sort_by |url %][% END %]">Last</a></li>
|
||||
[% END %]
|
||||
</ul></nav>[% END %]
|
||||
|
|
|
|||
|
|
@ -3,13 +3,13 @@
|
|||
<script type="text/javascript">
|
||||
var pwd_title = "";
|
||||
var pattern_title = "";
|
||||
var new_password_node_name = "[% new_password %]";
|
||||
var new_password_node_name = "[% new_password | html %]";
|
||||
[% IF Koha.Preference('RequireStrongPassword') %]
|
||||
pwd_title = _("Password must contain at least %s characters, including UPPERCASE, lowercase and numbers").format([% minPasswordLength %]);
|
||||
pattern_regex = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{[% minPasswordLength %],}/;
|
||||
pwd_title = _("Password must contain at least %s characters, including UPPERCASE, lowercase and numbers").format([% minPasswordLength | html %]);
|
||||
pattern_regex = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{[% minPasswordLength | html %],}/;
|
||||
[% ELSIF minPasswordLength %]
|
||||
pwd_title = _("Password must contain at least %s characters").format([% minPasswordLength %]);
|
||||
pattern_regex = /.{[% minPasswordLength %],}/;
|
||||
pwd_title = _("Password must contain at least %s characters").format([% minPasswordLength | html %]);
|
||||
pattern_regex = /.{[% minPasswordLength | html %],}/;
|
||||
[% END %]
|
||||
jQuery.validator.addMethod("password_strong", function(value, element){
|
||||
return this.optional(element) || value == '****' || pattern_regex.test(value);
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
[% FOREACH ar IN patron.article_requests_current %]
|
||||
<tr>
|
||||
<td class="article-request-record-title">
|
||||
<a class="article-request-title" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber %]">
|
||||
[% ar.biblio.title %]
|
||||
[% ar.item.enumchron %]
|
||||
<a class="article-request-title" href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% ar.biblionumber | html %]">
|
||||
[% ar.biblio.title | html %]
|
||||
[% ar.item.enumchron | html %]
|
||||
</a>
|
||||
[% ar.biblio.author %]
|
||||
[% IF ar.itemnumber %] <i>(only [% ar.item.barcode %])</i>[% END %]
|
||||
[% ar.biblio.author | html %]
|
||||
[% IF ar.itemnumber %] <i>(only [% ar.item.barcode | html %])</i>[% END %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-created_on">
|
||||
|
|
@ -35,35 +35,35 @@
|
|||
</td>
|
||||
|
||||
<td class="article-request-title">
|
||||
[% ar.title %]
|
||||
[% ar.title | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-author">
|
||||
[% ar.author %]
|
||||
[% ar.author | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-volume">
|
||||
[% ar.volume %]
|
||||
[% ar.volume | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-issue">
|
||||
[% ar.issue %]
|
||||
[% ar.issue | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-date">
|
||||
[% ar.date %]
|
||||
[% ar.date | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-pages">
|
||||
[% ar.pages %]
|
||||
[% ar.pages | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-chapters">
|
||||
[% ar.chapters %]
|
||||
[% ar.chapters | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-patron-notes">
|
||||
[% ar.patron_notes %]
|
||||
[% ar.patron_notes | html %]
|
||||
</td>
|
||||
|
||||
<td class="article-request-status">
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
</td>
|
||||
|
||||
<td class="article-request-branchcode">
|
||||
[% ar.branch.branchname %]
|
||||
[% ar.branch.branchname | html %]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -7,15 +7,15 @@
|
|||
<input autocomplete="off" id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" />
|
||||
<input id="autocsubmit" type="submit" class="submit" value="Submit" />
|
||||
[% IF ( stickyduedate ) %]
|
||||
<input type="hidden" name="duedatespec" value="[% duedatespec %]" />
|
||||
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
|
||||
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
|
||||
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
|
||||
[% END %]
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<input id="findborrower" name="findborrower" size="40" class="head-searchbox focus" type="text" />
|
||||
[% IF ( stickyduedate ) %]
|
||||
<input type="hidden" name="duedatespec" value="[% duedatespec %]" />
|
||||
<input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
|
||||
<input type="hidden" name="duedatespec" value="[% duedatespec | html %]" />
|
||||
<input type="hidden" name="stickyduedate" value="[% stickyduedate | html %]" />
|
||||
[% END %]
|
||||
<input value="Submit" class="submit" type="submit" />
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
[% USE Branches %]
|
||||
[% USE Categories %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Patrons Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="patron_search" class="residentsearch">
|
||||
<p class="tip">Enter patron card number or partial name:</p>
|
||||
<form action="/cgi-bin/koha/members/member.pl" method="post">
|
||||
<input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox focus" name="searchmember" type="text" value="[% searchmember %]"/>
|
||||
<input id="searchmember" data-toggle="tooltip" size="25" class="head-searchbox focus" name="searchmember" type="text" value="[% searchmember | html %]"/>
|
||||
<input type="hidden" name="quicksearch" value="1" />
|
||||
<span class="filteraction" id="filteraction_off"> <a href="#">[-]</a></span>
|
||||
<span class="filteraction" id="filteraction_on"> <a href="#">[+]</a></span>
|
||||
|
|
@ -92,9 +92,9 @@
|
|||
[% END %]
|
||||
[% FOREACH b IN branches %]
|
||||
[% IF b.selected %]
|
||||
<option value="[% b.branchcode %]" selected="selected">[% b.branchname %]</option>
|
||||
<option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% b.branchcode %]">[% b.branchname |html %]</option>
|
||||
<option value="[% b.branchcode | html %]">[% b.branchname | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
@ -107,9 +107,9 @@
|
|||
<option value="">Any</option>
|
||||
[% FOREACH category IN categories %]
|
||||
[% IF category.categorycode == categorycode_filter %]
|
||||
<option value="[% category.categorycode %]" selected="selected">[% category.description |html %]</option>
|
||||
<option value="[% category.categorycode | html %]" selected="selected">[% category.description | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% category.categorycode %]">[% category.description |html %]</option>
|
||||
<option value="[% category.categorycode | html %]">[% category.description | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
[%# Parameter no_html - if 1, the html tags are NOT generated %]
|
||||
[%- IF data.title %]
|
||||
[%- IF no_html %]
|
||||
[%- span_start = '' %]
|
||||
[%- span_end = '' %]
|
||||
[%- span_start = '' | html %]
|
||||
[%- span_end = '' | html %]
|
||||
[%- ELSE %]
|
||||
[%- span_start = '<span class="patron-title">' %]
|
||||
[%- span_end = '</span>' %]
|
||||
[%- span_end = '</span>' | html %]
|
||||
[%- END %]
|
||||
[%- SET data.title = span_start _ data.title _ span_end _ ' ' -%]
|
||||
[%- END -%]
|
||||
|
|
@ -49,17 +49,17 @@
|
|||
[%- END -%]
|
||||
[%- END -%]
|
||||
[%- IF hide_patron_infos_if_needed AND ( display_patron_name OR display_cardnumber ) -%]
|
||||
[%- IF link_to == 'circulation_reserves' %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% data.borrowernumber %]#reserves">
|
||||
[%- ELSE %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber %]">
|
||||
[%- IF link_to == 'circulation_reserves' %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% data.borrowernumber | html %]#reserves">
|
||||
[%- ELSE %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber | html %]">
|
||||
[%- END -%]
|
||||
[%- END -%]
|
||||
[%- IF display_patron_name -%]
|
||||
[%- IF data.category_type == 'I' -%]
|
||||
[%- data.surname | html %] [% IF data.othernames %] ([% data.othernames | html %])[% END -%]
|
||||
[%- ELSIF invert_name -%]
|
||||
[% data.title%][%- data.surname | html %], [% data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END -%]
|
||||
[% data.title | html %][%- data.surname | html %], [% data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END -%]
|
||||
[%- ELSE -%]
|
||||
[% data.title %][%- data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END %] [% data.surname | html -%]
|
||||
[% data.title | html %][%- data.firstname | html %] [% IF data.othernames %] ([% data.othernames | html %]) [% END %] [% data.surname | html -%]
|
||||
[%- END -%]
|
||||
[%- IF display_cardnumber AND data.cardnumber %] ([% data.cardnumber | html %])[% END -%]
|
||||
[%- ELSIF display_cardnumber -%]
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
[%- data.cardnumber | html -%]
|
||||
[%- END -%]
|
||||
[%- ELSE -%]
|
||||
A patron from library [% Branches.GetName( patron.branchcode ) -%]
|
||||
A patron from library [% Branches.GetName( patron.branchcode ) | html -%]
|
||||
[%- END -%]
|
||||
|
||||
[%- IF hide_patron_infos_if_needed AND ( display_patron_name OR display_cardnumber ) -%]
|
||||
|
|
|
|||
|
|
@ -8,14 +8,14 @@
|
|||
<div class="btn-group" id="new-patron-button">
|
||||
<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>
|
||||
<ul class="dropdown-menu">
|
||||
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]">[% category.description |html %]</a></li>[% END %]
|
||||
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode | html %]">[% category.description | html %]</a></li>[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
[% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %]
|
||||
<div class="btn-group" id="quick-add-new-patron-button">
|
||||
<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>
|
||||
<ul class="dropdown-menu">
|
||||
[% 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 %]
|
||||
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode | html %]&quickadd=true">[% category.description | html %]</a></li>[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
[% END %]
|
||||
|
|
|
|||
|
|
@ -11,23 +11,23 @@
|
|||
<strong>WARNING:</strong>
|
||||
[% IF CGI.param('pdferr') %]<span>Error while creating PDF file. </span>
|
||||
[% IF CGI.param('errnocards') %]<span>No cards created (empty batch or list?) </span>[% END %]
|
||||
[% IF CGI.param('errba') %][% INCLUDE b_batch %]<span class="ex">[%- CGI.param('errba') -%]</span>[% END %]
|
||||
[% IF CGI.param('errpl') %][% INCLUDE b_patronlist %]<span class="ex">[%- CGI.param('errpl') -%]</span>][% END %]
|
||||
[% IF CGI.param('errpt') %][% INCLUDE b_patronnumber %]<span class="ex">[%- CGI.param('errpt') -%]</span>[% END %]
|
||||
[% IF CGI.param('errlo') %][% INCLUDE b_layout %]<span class="ex">[%- CGI.param('errlo') -%]</span>[% END %]
|
||||
[% IF CGI.param('errtpl') %][% INCLUDE b_template %]<span class="ex">[%- CGI.param('errtpl') -%]</span>[% END %]
|
||||
[% IF CGI.param('errba') %][% INCLUDE b_batch %]<span class="ex">[%- CGI.param('errba') | html -%]</span>[% END %]
|
||||
[% IF CGI.param('errpl') %][% INCLUDE b_patronlist %]<span class="ex">[%- CGI.param('errpl') | html -%]</span>][% END %]
|
||||
[% IF CGI.param('errpt') %][% INCLUDE b_patronnumber %]<span class="ex">[%- CGI.param('errpt') | html -%]</span>[% END %]
|
||||
[% IF CGI.param('errlo') %][% INCLUDE b_layout %]<span class="ex">[%- CGI.param('errlo') | html -%]</span>[% END %]
|
||||
[% IF CGI.param('errtpl') %][% INCLUDE b_template %]<span class="ex">[%- CGI.param('errtpl') | html -%]</span>[% END %]
|
||||
[% INCLUDE asksysadmin %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( error == 101 ) %]
|
||||
[% IF ( card_element ) %]<span>The database returned an error while saving [% card_element %] [% element_id %]. </span>
|
||||
[% IF ( card_element ) %]<span>The database returned an error while saving [% card_element | html %] [% element_id | html %]. </span>
|
||||
[% ELSE %]<span>The database returned an error while attempting a save operation. </span>[% END %][% INCLUDE asksysadmin %]
|
||||
[% ELSIF ( error == 102 ) %]
|
||||
[% IF ( card_element ) %]<span>The database returned an error while deleting [% card_element %] [% element_id %]. </span>
|
||||
[% ELSIF ( image_ids ) %]<span>The database returned an error while deleting [% image_ids %]. </span>
|
||||
[% IF ( card_element ) %]<span>The database returned an error while deleting [% card_element | html %] [% element_id | html %]. </span>
|
||||
[% ELSIF ( image_ids ) %]<span>The database returned an error while deleting [% image_ids | html %]. </span>
|
||||
[% ELSE %]<span>The database returned an error while attempting a delete operation. </span>[% END %][% INCLUDE asksysadmin %]
|
||||
[% ELSIF ( error == 201 ) %]
|
||||
[%IF ( element_id ) %]<span>An unsupported operation was attempted on [% card_element %] [% element_id %]. </span>
|
||||
[%IF ( element_id ) %]<span>An unsupported operation was attempted on [% card_element | html %] [% element_id | html %]. </span>
|
||||
[% ELSE %]<span>An unsupported operation was attempted. </span>[% END %][% INCLUDE asksysadmin %]
|
||||
[% ELSIF ( error == 202 ) %]
|
||||
<span>An error has occurred. </span>[% INCLUDE asksysadmin %]
|
||||
|
|
@ -38,19 +38,19 @@
|
|||
[% ELSIF ( error == 302 ) %]
|
||||
<span>Image exceeds 500KB. Please resize and import again. </span>
|
||||
[% ELSIF ( error == 303 ) %]
|
||||
<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>
|
||||
<span>The database image quota currently only allows a maximum of [% image_limit | html %] images to be stored at any one time. Please delete one or more images to free up quota space. </span>
|
||||
[% ELSIF ( error == 304 ) %]
|
||||
<span>An image with the name '[% IMAGE_NAME %]' already exists.</span>
|
||||
<span>An image with the name '[% IMAGE_NAME | html %]' already exists.</span>
|
||||
[% ELSIF ( error == 401 ) %]
|
||||
<span>An error has occurred and no items have been added to batch [% batch_id %]. </span>[% INCLUDE asksysadmin %]
|
||||
<span>An error has occurred and no items have been added to batch [% batch_id | html %]. </span>[% INCLUDE asksysadmin %]
|
||||
[% ELSIF ( error == 402 ) %]
|
||||
<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>
|
||||
[% ELSIF ( error == 403 ) %]
|
||||
<span>An error has occurred and the item(s) was not removed from batch [% batch_id %]. </span>[% INCLUDE asksysadmin %]
|
||||
<span>An error has occurred and the item(s) was not removed from batch [% batch_id | html %]. </span>[% INCLUDE asksysadmin %]
|
||||
[% ELSIF ( error == 404 ) %]
|
||||
<span>An error has occurred and batch [% batch_id %] was not deleted. </span>[% INCLUDE asksysadmin %]
|
||||
<span>An error has occurred and batch [% batch_id | html %] was not deleted. </span>[% INCLUDE asksysadmin %]
|
||||
[% ELSIF ( error == 405 ) %]
|
||||
<span>An error has occurred and batch [% batch_id %] was not fully de-duplicated. </span>
|
||||
<span>An error has occurred and batch [% batch_id | html %] was not fully de-duplicated. </span>
|
||||
[% END %]
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
[% USE Koha %]
|
||||
<div class="gradient">
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
||||
<h1 id="logo"><a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a></h1><!-- Begin Patrons Admin Resident Search Box -->
|
||||
<div id="header_search">
|
||||
<div id="patron_category_search" class="residentsearch">
|
||||
<p class="tip">Search by patron category name:</p>
|
||||
<form action="[% script_name %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield %]" />
|
||||
<form action="[% script_name | html %]" method="post">
|
||||
<input class="head-searchbox" type="text" name="description" size="40" value="[% searchfield | html %]" />
|
||||
<input type="submit" class="submit" name="search" value="Search" />
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
[% USE raw %]
|
||||
[% IF ( footerjs ) %]
|
||||
[% INCLUDE js_includes.inc popup=1 %]
|
||||
[% jsinclude # Parse the page template's JavaScript block if necessary %]
|
||||
[% jsinclude.raw # Parse the page template's JavaScript block if necessary %]
|
||||
[% END %]
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue