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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt (-4 / +4 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Add to List</title>
2
<title>Koha &rsaquo; Add to list</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<style type="text/css">
4
<style type="text/css">
5
   #custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; }
5
   #custom-doc { width:34.62em;*width:33.78em;min-width:450px; margin:auto; margin-top: .4em;text-align:left; }
Lines 9-15 Link Here
9
9
10
[% UNLESS (authorized) %]
10
[% UNLESS (authorized) %]
11
    <p align="center">
11
    <p align="center">
12
        [% IF (errcode==1) %]Could not make new shelf. Please check the name.<br/>[% END %]
12
        [% IF (errcode==1) %]Could not create a new list. Please check the name.<br/>[% END %]
13
        [% IF (errcode==2) %]Sorry, you do not have permission to add items to this list.<br/>[% END %]
13
        [% IF (errcode==2) %]Sorry, you do not have permission to add items to this list.<br/>[% END %]
14
        <a href="javascript:self.close();">Close this window.</a>
14
        <a href="javascript:self.close();">Close this window.</a>
15
    </p>
15
    </p>
Lines 44-57 Link Here
44
		<label>Choose list</label>
44
		<label>Choose list</label>
45
		<select name="shelfnumber" id="shelfnumber">
45
		<select name="shelfnumber" id="shelfnumber">
46
		[% IF ( privatevirtualshelves ) %]
46
		[% IF ( privatevirtualshelves ) %]
47
		<optgroup label="Private Lists">
47
		<optgroup label="Private lists">
48
		[% FOREACH privatevirtualshelve IN privatevirtualshelves %]
48
		[% FOREACH privatevirtualshelve IN privatevirtualshelves %]
49
		<option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname %]</option>
49
		<option value="[% privatevirtualshelve.shelfnumber %]">[% privatevirtualshelve.shelfname %]</option>
50
		[% END %]
50
		[% END %]
51
		</optgroup>
51
		</optgroup>
52
		[% END %]
52
		[% END %]
53
		[% IF ( publicvirtualshelves ) %]
53
		[% IF ( publicvirtualshelves ) %]
54
		<optgroup label="Public Lists">
54
		<optgroup label="Public lists">
55
		[% FOREACH publicvirtualshelve IN publicvirtualshelves %]
55
		[% FOREACH publicvirtualshelve IN publicvirtualshelves %]
56
		<option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname %]</option>
56
		<option value="[% publicvirtualshelve.shelfnumber %]">[% publicvirtualshelve.shelfname %]</option>
57
		[% END %]
57
		[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt (-3 / +3 lines)
Lines 9-19 Link Here
9
<div id="export" class="detailtagcell">    <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
9
<div id="export" class="detailtagcell">    <form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
10
<form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
10
<form method="post" action="/cgi-bin/koha/virtualshelves/downloadshelf.pl">
11
	<fieldset class="rows">
11
	<fieldset class="rows">
12
	<legend>Download List</legend>
12
	<legend>Download list</legend>
13
	<ol><li>
13
	<ol><li>
14
	<label for="format">Format : </label>
14
	<label for="format">Format: </label>
15
        <select name="format" id="format">
15
        <select name="format" id="format">
16
	    <option value="">-- Choose Format --</option>
16
	    <option value="">-- Choose format --</option>
17
	    <option value="iso2709">iso2709</option>
17
	    <option value="iso2709">iso2709</option>
18
	    <option value="ris">RIS</option>
18
	    <option value="ris">RIS</option>
19
	    <option value="bibtex">BibTex</option>
19
	    <option value="bibtex">BibTex</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt (-1 / +1 lines)
Lines 33-39 Serial: [% BIBLIO_RESULT.serial %][% END %][% IF ( BIBLIO_RESULT.dewey ) %] Link Here
33
Dewey: [% BIBLIO_RESULT.dewey %][% END %][% IF ( BIBLIO_RESULT.classification ) %]
33
Dewey: [% BIBLIO_RESULT.dewey %][% END %][% IF ( BIBLIO_RESULT.classification ) %]
34
Classification: [% BIBLIO_RESULT.classification %][% END %][% IF ( BIBLIO_RESULT.lccn ) %]
34
Classification: [% BIBLIO_RESULT.classification %][% END %][% IF ( BIBLIO_RESULT.lccn ) %]
35
LCCN: [% BIBLIO_RESULT.lccn %][% END %][% IF ( BIBLIO_RESULT.url ) %]
35
LCCN: [% BIBLIO_RESULT.lccn %][% END %][% IF ( BIBLIO_RESULT.url ) %]
36
url : [% BIBLIO_RESULT.url %][% END %][% IF ( OPACBaseURL ) %]
36
URL : [% BIBLIO_RESULT.url %][% END %][% IF ( OPACBaseURL ) %]
37
In the online catalog:
37
In the online catalog:
38
    http://[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber |url %][% END %]
38
    http://[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber |url %][% END %]
39
Items : [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
39
Items : [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-20 / +19 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; [% IF ( viewshelf ) %]Lists &rsaquo; Contents of [% shelfname | html %][% ELSE %]Lists[% END %][% IF ( shelves ) %] &rsaquo; Create New List[% END %][% IF ( edit ) %] &rsaquo; Edit List [% shelfname | html %][% END %]</title>
2
<title>Koha &rsaquo; [% IF ( viewshelf ) %]Lists &rsaquo; Contents of [% shelfname | html %][% ELSE %]lists[% END %][% IF ( shelves ) %] &rsaquo; Create new list[% END %][% IF ( edit ) %] &rsaquo; Edit list [% shelfname | html %][% END %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
4
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
5
<script type="text/javascript">
5
<script type="text/javascript">
Lines 9-16 var MSG_NO_ITEM_SELECTED = _("Nothing is selected."); Link Here
9
9
10
$(document).ready(function(){
10
$(document).ready(function(){
11
	$("#addbarcode").focus();
11
	$("#addbarcode").focus();
12
	$("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Clear All')+"<\/a>");
12
	$("span.clearall").html("<a id=\"CheckNone\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Clear all')+"<\/a>");
13
	$("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Select All')+"<\/a>");
13
	$("span.checkall").html("<a id=\"CheckAll\" href=\"/cgi-bin/koha/shelves.pl\">"+_('Select all')+"<\/a>");
14
    $("#CheckAll").click(function(){
14
    $("#CheckAll").click(function(){
15
        $(".checkboxed").checkCheckboxes();
15
        $(".checkboxed").checkCheckboxes();
16
        return false;
16
        return false;
Lines 115-123 function placeHold () { Link Here
115
[% INCLUDE 'header.inc' %]
115
[% INCLUDE 'header.inc' %]
116
[% INCLUDE 'cat-search.inc' %]
116
[% INCLUDE 'cat-search.inc' %]
117
117
118
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( category2 ) %] &rsaquo; [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% ELSIF ( showprivateshelves ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( showpublicshelves ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% END %]
118
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( category2 ) %] &rsaquo; [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% ELSIF ( showprivateshelves ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( showpublicshelves ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% END %]
119
119
120
[% IF ( viewshelf ) %]&rsaquo; Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] &rsaquo; Create New List[% END %][% IF ( edit ) %] &rsaquo; Edit List <i>[% shelfname | html %]</i>[% END %]</div>
120
[% IF ( viewshelf ) %]&rsaquo; Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] &rsaquo; Create new list[% END %][% IF ( edit ) %] &rsaquo; Edit list <i>[% shelfname | html %]</i>[% END %]</div>
121
121
122
<div id="doc" class="yui-t7">
122
<div id="doc" class="yui-t7">
123
 <div id="bd">
123
 <div id="bd">
Lines 177-186 function placeHold () { Link Here
177
    <table>
177
    <table>
178
            <tr>
178
            <tr>
179
                [% IF ( itemsloop ) %]<th class="checkall">&nbsp;</th>[% END %]
179
                [% IF ( itemsloop ) %]<th class="checkall">&nbsp;</th>[% END %]
180
                [% UNLESS ( item_level_itypes ) %]<th>Item Type</th>[% END %]
180
                [% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %]
181
                <th>Title</th>
181
                <th>Title</th>
182
                <th>Author</th>
182
                <th>Author</th>
183
                <th>Date Added</th>
183
                <th>Date added</th>
184
                <th>&nbsp;</th>
184
                <th>&nbsp;</th>
185
            </tr>
185
            </tr>
186
		[% FOREACH itemsloo IN itemsloop %]
186
		[% FOREACH itemsloo IN itemsloop %]
Lines 217-223 function placeHold () { Link Here
217
		[% END %]<!-- /itemsloop -->
217
		[% END %]<!-- /itemsloop -->
218
    </table><fieldset class="action">
218
    </table><fieldset class="action">
219
        [% IF ( itemsloop ) %]
219
        [% IF ( itemsloop ) %]
220
            <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place Holds" />
220
            <input type="button" id="placehold" style="display:none" onclick="placeHold(); return false;" value="Place holds" />
221
            [% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(_('Are you sure you want to remove these records from the shelf?'));" />[% END %]
221
            [% IF ( allowremovingitems ) %]<input type="submit" value="Remove selected records" onclick="return confirm(_('Are you sure you want to remove these records from the shelf?'));" />[% END %]
222
            <input type="submit" value="Merge selected records" onclick="return MergeItems();" />
222
            <input type="submit" value="Merge selected records" onclick="return MergeItems();" />
223
        [% END %]
223
        [% END %]
Lines 261-269 function placeHold () { Link Here
261
261
262
    [% IF ( shelves ) %]
262
    [% IF ( shelves ) %]
263
        <input type="hidden" name="shelves" value="1" />
263
        <input type="hidden" name="shelves" value="1" />
264
        <legend>Create a new List</legend>
264
        <legend>Create a new list</legend>
265
        <ol>
265
        <ol>
266
        <li><label class="required" for="addshelf">List Name:</label><input id="addshelf" type="text" name="addshelf" size="25" /></li>
266
        <li><label class="required" for="addshelf">List name:</label><input id="addshelf" type="text" name="addshelf" size="25" /></li>
267
        <li><span class="label">Owner: </span><input type="hidden" name="owner" id="owner" value="[% loggedinuser %]" />[% loggedinusername %]</li>
267
        <li><span class="label">Owner: </span><input type="hidden" name="owner" id="owner" value="[% loggedinuser %]" />[% loggedinusername %]</li>
268
		<li><label for="sortfield" >Sort this list by: </label>
268
		<li><label for="sortfield" >Sort this list by: </label>
269
		<select name="sortfield" id="sortfield">
269
		<select name="sortfield" id="sortfield">
Lines 282-288 function placeHold () { Link Here
282
		<input type="hidden" name="op" value="modifsave" />
282
		<input type="hidden" name="op" value="modifsave" />
283
        [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves" />[% END %]
283
        [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves" />[% END %]
284
		<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
284
		<input type="hidden" name="shelfnumber" value="[% shelfnumber %]" />
285
		<legend>Edit List <i>[% shelfname | html %]</i></legend>
285
		<legend>Edit list <i>[% shelfname | html %]</i></legend>
286
		<ol>
286
		<ol>
287
		<li><label for="shelfname">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelfname |html %]" /></li>
287
		<li><label for="shelfname">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelfname |html %]" /></li>
288
		<li><label for="owner">Owner: </label><input type="hidden" id="owner" name="owner" value="[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]" />[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]</li>
288
		<li><label for="owner">Owner: </label><input type="hidden" id="owner" name="owner" value="[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]" />[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]</li>
Lines 315-322 function placeHold () { Link Here
315
    </div>
315
    </div>
316
    <div class="yui-u">
316
    <div class="yui-u">
317
        <div class="help"><ul>
317
        <div class="help"><ul>
318
            <li>A <b>Private</b> List is managed by you and can be seen only by you.</li>
318
            <li>A <b>Private</b> list is managed by you and can be seen only by you.</li>
319
            <li> A <b>Public</b> List can be seen by everybody, but managed only by you.</li>
319
            <li> A <b>Public</b> list can be seen by everybody, but managed only by you.</li>
320
        </ul>
320
        </ul>
321
        </div>
321
        </div>
322
    </div>
322
    </div>
Lines 328-341 function placeHold () { Link Here
328
		<div class="toptabs">
328
		<div class="toptabs">
329
        <ul class="ui-tabs-nav">
329
        <ul class="ui-tabs-nav">
330
        [% IF ( showprivateshelves ) %]
330
        [% IF ( showprivateshelves ) %]
331
            <li id="privateshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a></li>
331
            <li id="privateshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li>
332
        [% ELSE %]
332
        [% ELSE %]
333
            <li id="privateshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a></li>
333
            <li id="privateshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a></li>
334
        [% END %]
334
        [% END %]
335
        [% IF ( showpublicshelves ) %]
335
        [% IF ( showpublicshelves ) %]
336
            <li id="publicshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a></li>
336
            <li id="publicshelves_tab" class="ui-tabs-selected"><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li>
337
        [% ELSE %]
337
        [% ELSE %]
338
            <li id="publicshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a></li>
338
            <li id="publicshelves_tab" class=""><a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a></li>
339
        [% END %]
339
        [% END %]
340
        </ul>
340
        </ul>
341
        [% IF ( showprivateshelves ) %]
341
        [% IF ( showprivateshelves ) %]
Lines 375-381 function placeHold () { Link Here
375
					<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" />
375
					<input type="hidden" name="CONFIRM-[% shelveslooppri.confirm %]" value="1" />
376
					<input type="submit" class="approve" value="Confirm" />
376
					<input type="submit" class="approve" value="Confirm" />
377
					[% ELSE %]
377
					[% ELSE %]
378
					<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
378
					<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" />
379
					[% END %]
379
					[% END %]
380
				</form>
380
				</form>
381
			[% ELSE %]
381
			[% ELSE %]
Lines 423-429 function placeHold () { Link Here
423
					<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" />
423
					<input type="hidden" name="CONFIRM-[% shelvesloo.confirm %]" value="1" />
424
					<input type="submit" class="approve" value="Confirm" />
424
					<input type="submit" class="approve" value="Confirm" />
425
					[% ELSE %]
425
					[% ELSE %]
426
					<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this List?'));" value="Delete" />
426
					<input type="submit" class="deleteshelf" onclick="return confirmDelete(_('Are you sure you want to remove this list?'));" value="Delete" />
427
					[% END %]
427
					[% END %]
428
				</form>
428
				</form>
429
			[% ELSE %]
429
			[% ELSE %]
430
- 

Return to bug 2780