Kyle M Hall
a8942c2884
Revert "DBRev to make notes of the XSS patches and the new important dependency." This reverts commite140603a59
. Revert "Bug 13618: Specific for branches.opac_info" This reverts commit06e4a50f00
. Revert "Bug 13618: (follow-up) Specific for other prefs" This reverts commitd6475a111f
. Revert "Bug 13618: Fix for debarredcomment and patron messages" This reverts commitdd98c9df92
. Revert "Bug 13618: Do not display html tags in patron's notices" This reverts commita065b243fe
. Revert "Bug 13618: Do not display and html tags in item fields content" This reverts commitbaeeaffbf8
. Revert "Bug 13618: Fix for system preference description" This reverts commita967a09261
. Revert "Bug 13618: Remove html filters for newly pushed code" This reverts commit0e98662b10
. Revert "Bug 13618: (follow-up) add missing lines for opac-shelves" This reverts commitfc2fb605e5
. Revert "Bug 13618: (follow-up) Specific for ColumnsSettings" This reverts commitbc308fdd9c
. Revert "Bug 13618: Fix for edit biblios and items" This reverts commit811c4e8402
. Revert "Bug 13618: followup to remove tabs" This reverts commitca8e8c397c
. Revert "Bug 13618: Fix last occurrences recently introduced to master" This reverts commitbb417b256b
. Revert "Bug 13618: Fix for news" This reverts commitae5b98020a
. Revert "Bug 13618: Fix escape on sending baskets or shelves by email" This reverts commita7731ffe25
. Revert "Bug 13618: Specific for XSLTBloc" This reverts commit11fa38dc29
. Revert "Bug 13618: Specific for Salutation on editing a patron" This reverts commit36c07ad6d3
. Revert "Bug 13618: Specific for other prefs" This reverts commite6ea281a3b
. Revert "Bug 13618 - memberentrygen.tt errors Not a GLOB reference" This reverts commit7824874557
. Revert "Bug 13618: Specific for ColumnsSettings" This reverts commit1834da3da3
. Revert "Bug 13618: Specific for IntranetUser* and OPACUser* prefs" This reverts commit21ae62b253
. Revert "Bug 13618: Fix error 'Not a GLOB reference'" This reverts commit602bdbab4c
. Revert "Bug 13618: Specific for the ISBD view" This reverts commitd254362435
. Revert "Bug 13618: Specific for pagination_bar" This reverts commit8837a8ae68
. Revert "Bug 13618: Specific places where we don't need to escape variables - intra" This reverts commit00eff140b3
. Revert "Bug 13618: Remove html filters at the intranet" This reverts commit7db851ff03
. Revert "Bug 13618: Specific places where we don't need to escape variables" This reverts commit49a3738b8d
. Revert "Bug 13618: Remove html filters at the OPAC" This reverts commitcedaa0e23e
. Revert "Bug 13618: Use Template::Stash::AutoEscaping to use the html filter" This reverts commit01b38d3b13
. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
109 lines
5.8 KiB
HTML
109 lines
5.8 KiB
HTML
<ul id="action">
|
|
[% UNLESS ( norequests ) %]
|
|
[% IF Koha.Preference( 'opacuserlogin' ) == 1 %]
|
|
[% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
|
|
[% IF ( AllowOnShelfHolds OR ItemsIssued ) %]
|
|
<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=[% biblionumber %]">Place hold</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
[% END %]
|
|
<li><a class="print-large" href="#" onclick="window.print();">Print</a></li>
|
|
[% IF Koha.Preference( 'virtualshelves' ) == 1 %]
|
|
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
|
|
<li><a class="addtoshelf" href="/cgi-bin/koha/opac-addbybiblionumber.pl?biblionumber=[% biblionumber %]" onclick="Dopop('opac-addbybiblionumber.pl?biblionumber=[% biblionumber %]'); return false;">
|
|
Save to your lists
|
|
</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF Koha.Preference( 'opacbookbag' ) == 1 %]
|
|
[% IF ( incart ) %]
|
|
<li><a class="incart cart[% biblionumber %]" href="#" onclick="addRecord('[% biblionumber %]'); return false;">In your cart</a> <a class="cartRemove cartR[% biblionumber %]" href="#" onclick="delSingleRecord('[% biblionumber %]'); return false;">(remove)</a></li>
|
|
[% ELSE %]
|
|
<li><a class="addtocart cart[% biblionumber %]" href="#" onclick="addRecord('[% biblionumber %]'); return false;">Add to your cart</a> <a style="display:none;" class="cartRemove cartR[% biblionumber %]" href="#" onclick="delSingleRecord('[% biblionumber %]'); return false;">(remove)</a></li>
|
|
[% END %]
|
|
[% END %]
|
|
[% IF ( OpacHighlightedWords && query_desc ) %]
|
|
<li>
|
|
<a href="#" class="highlight_toggle" id="highlight_toggle_off">Unhighlight</a>
|
|
<a href="#" class="highlight_toggle" id="highlight_toggle_on">Highlight</a>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% SET export_options = Koha.Preference('OpacExportOptions').split(',') %]
|
|
[% IF export_options.size %]
|
|
<li>
|
|
<div id="export">
|
|
<div class="dropdown">
|
|
<a id="format" class="dropdown-toggle" data-toggle="dropdown" href="#">Save record <b class="caret"></b></a>
|
|
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="format">
|
|
[% FOREACH option IN export_options %]
|
|
[% IF option == 'dc' %]
|
|
<li><a role="menuitem" href="#" data-toggle="modal" data-target="#exportModal_">Dublin Core</a></li>
|
|
[% ELSE %]
|
|
<li>
|
|
<a role="menuitem" href="/cgi-bin/koha/opac-export.pl?op=export&bib=[% biblionumber %]&format=[% option %]">
|
|
[% SWITCH option %]
|
|
[% CASE 'bibtex' %]BIBTEX
|
|
[% CASE 'endnote' %]EndNote
|
|
[% CASE 'marcxml' %]MARCXML
|
|
[% CASE 'marc8' %]MARC (non-Unicode/MARC-8)
|
|
[% CASE 'utf8' %]MARC (Unicode/UTF-8)
|
|
[% CASE 'marcstd' %]MARC (Unicode/UTF-8, Standard)
|
|
[% CASE 'mods' %]MODS (XML)
|
|
[% CASE 'ris' %]RIS
|
|
[% CASE 'isbd' %]ISBD
|
|
[% END %]
|
|
</a>
|
|
</li>
|
|
[% END %]
|
|
[% END %]
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
[% END %]
|
|
|
|
[% IF ( OPACSearchForTitleIn ) %]
|
|
<li>
|
|
<div id="moresearches_menu">
|
|
<div class="dropdown">
|
|
<a id="furthersearches" class="dropdown-toggle" data-toggle="dropdown" href="#">More searches <b class="caret"></b></a>
|
|
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="furthersearches">
|
|
<li><a href="#" class="menu-inactive">Search for this title in:</a></li>
|
|
[% OPACSearchForTitleIn %]
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
|
|
<!-- Dublin Core Modal Form -->
|
|
<div class="modal hide" id="exportModal_" tabindex="-1" role="dialog" aria-labelledby="exportLabelexportModal_" aria-hidden="true">
|
|
<div class="modal-header">
|
|
<button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h3 class="modal-title" id="exportModalLabel">Exporting to Dublin Core...</h3>
|
|
</div>
|
|
<form method="get" action="/cgi-bin/koha/opac-export.pl">
|
|
<div class="modal-body">
|
|
<fieldset id="dc_fieldset">
|
|
<input id="input-simple" type="radio" name="format" value="rdfdc">
|
|
<label class="label_dc" for="input-simple">Simple DC-RDF</label>
|
|
<br>
|
|
<input id="input-oai" type="radio" name="format" value="oaidc" checked>
|
|
<label class="label_dc" for="input-oai">OAI-DC</label>
|
|
<br>
|
|
<input id="input-srw" type="radio" name="format" value="srwdc">
|
|
<label class="label_dc" for="input-srw">SRW-DC</label>
|
|
<br>
|
|
<input type="hidden" name="op" value="export">
|
|
<input type="hidden" name="bib" value="[% biblionumber %]">
|
|
</fieldset>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="submit" class="btn">Export</button>
|
|
<button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
|
|
</div>
|
|
</form>
|
|
</div>
|