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
119 lines
4.6 KiB
Text
119 lines
4.6 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Add to list</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
<style type="text/css">
|
|
#custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; }
|
|
</style>
|
|
</head>
|
|
<body id="lists_addbybiblionumber" class="lists">
|
|
|
|
[% UNLESS (authorized) %]
|
|
<p align="center">
|
|
[% IF (errcode==1) %]Could not create a new list. Please check the name.<br/>[% END %]
|
|
[% IF (errcode==2) %]Sorry, you do not have permission to add items to this list.<br/>[% END %]
|
|
<a href="javascript:self.close();">Close this window.</a>
|
|
</p>
|
|
[% ELSE %]
|
|
<div id="custom-doc" class="yui-t7">
|
|
<div id="bd">
|
|
[% IF ( multiple ) %]
|
|
<h1>Add [% total %] items to [% IF ( singleshelf ) %]<em>[% shelfname | html%]</em>: [% ELSE %]a list:[% END %]</h1>
|
|
[% ELSE %]
|
|
<h1>Add to [% IF ( singleshelf ) %]<em>[% shelfname | html %]</em>[% ELSE %]a list:[% END %]</h1>
|
|
[% END %]
|
|
<ul>
|
|
[% FOREACH biblio IN biblios %]
|
|
<li> <span class="title">[% biblio.title |html %]</span>
|
|
[% IF ( biblio.author ) %]<span class="author"> [% biblio.author %] </span>[% END %]
|
|
</li>
|
|
[% END %]
|
|
</ul>
|
|
|
|
<form name="f1" action="/cgi-bin/koha/virtualshelves/addbybiblionumber.pl" method="post">
|
|
[% FOREACH biblio IN biblios %] <input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
|
|
<input type="hidden" name="confirmed" value="1" />
|
|
[% IF ( shelfnumber ) %]<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />[% END %]
|
|
|
|
[% UNLESS ( shelfnumber ) %]
|
|
|
|
[% UNLESS ( newshelf ) %]
|
|
<fieldset class="rows">
|
|
<legend>Select an existing list</legend>
|
|
<ol>
|
|
<li>
|
|
<label>Choose list</label>
|
|
<select name="shelfnumber" id="shelfnumber">
|
|
[% IF private_shelves.count %]
|
|
<optgroup label="Private lists">
|
|
[% FOREACH private_shelf IN private_shelves %]
|
|
<option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
|
|
[% END %]
|
|
</optgroup>
|
|
[% END %]
|
|
[% IF private_shelves_shared_with_me.count %]
|
|
<optgroup label="Private lists shared with me">
|
|
[% FOREACH private_shelf IN private_shelves_shared_with_me %]
|
|
<option value="[% private_shelf.shelfnumber %]">[% private_shelf.shelfname | html%]</option>
|
|
[% END %]
|
|
</optgroup>
|
|
[% END %]
|
|
[% IF public_shelves.count %]
|
|
<optgroup label="Public lists">
|
|
[% FOREACH public_shelf IN public_shelves %]
|
|
<option value="[% public_shelf.shelfnumber %]">[% public_shelf.shelfname | html%]</option>
|
|
[% END %]
|
|
</optgroup>
|
|
[% END %]
|
|
</select>
|
|
</li>
|
|
</ol>
|
|
[% FOREACH biblio IN biblios %]<input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
|
|
[% UNLESS ( biblionumbers ) %]
|
|
<input type="hidden" name="biblionumber" value="[% biblionumber %]" />
|
|
[% ELSE %]
|
|
<input type="hidden" name="biblionumbers" value="[% biblionumbers %]" />
|
|
[% END %]
|
|
</fieldset>
|
|
|
|
<p>... or...</p>
|
|
[% END %]
|
|
|
|
<fieldset class="rows"><legend>Add to a new list:</legend>
|
|
<ol><li>
|
|
<label for="newvirtualshelf">
|
|
List name:
|
|
</label>
|
|
[% FOREACH biblio IN biblios %]<input type="hidden" name="biblionumber" value="[% biblio.biblionumber %]" />[% END %]
|
|
[% UNLESS ( biblionumbers ) %]
|
|
<input type="hidden" name="biblionumber" id="biblionumber" value="[% biblionumber %]" />
|
|
[% ELSE %]
|
|
<input type="hidden" name="biblionumbers" id="biblionumbers" value="[% biblionumbers %]" />
|
|
[% END %]
|
|
<input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
|
|
<input type="hidden" name="confirmed" value="1" />
|
|
</li>
|
|
<li>
|
|
<label for="category">Category:</label>
|
|
<select name="category" id="category">
|
|
<option value="1">Private</option>
|
|
<option value="2">Public</option>
|
|
</select>
|
|
</li></ol>
|
|
</fieldset>
|
|
|
|
|
|
[% END %]
|
|
|
|
|
|
<!-- SAVE -->
|
|
<fieldset class="action">
|
|
<input type="hidden" name="sortfield" value="title" />
|
|
<input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a>
|
|
</fieldset>
|
|
</form>
|
|
<!-- /SAVE -->
|
|
|
|
</div>
|
|
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|
|
[% END %]
|