| Lines 1-5
          
      
      
        Link Here | 
        
          | 1 | [% INCLUDE 'doc-head-open.inc' %] | 1 | [% INCLUDE 'doc-head-open.inc' %] | 
          
            
              | 2 | <title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]Lists[% END %][% IF ( shelves ) %] › Create New List[% END %][% IF ( edit ) %] › Edit List [% shelfname | html %][% END %]</title> | 2 | <title>Koha › [% IF ( viewshelf ) %]Lists › Contents of [% shelfname | html %][% ELSE %]lists[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › 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> › <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( category2 ) %] › [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% ELSIF ( showprivateshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( showpublicshelves ) %] › [% 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> › <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( category2 ) %] › [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public lists</a> [% ELSE %] Public lists [% END %] [% ELSIF ( showprivateshelves ) %] › [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your lists</a> [% ELSE %] Your lists [% END %] [% ELSIF ( showpublicshelves ) %] › [% 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 ) %]› Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] › Create New List[% END %][% IF ( edit ) %] › Edit List <i>[% shelfname | html %]</i>[% END %]</div> | 120 | [% IF ( viewshelf ) %]› Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] › Create new list[% END %][% IF ( edit ) %] › 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"> </th>[% END %] | 179 |                 [% IF ( itemsloop ) %]<th class="checkall"> </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> </th> | 184 |                 <th> </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 | -  |  |  |