1/************************* 2 Coppermine Photo Gallery 3 ************************ 4 Copyright (c) 2003-2014 Coppermine Dev Team 5 v1.0 originally written by Gregory DEMAR 6 7 This program is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License version 3 9 as published by the Free Software Foundation. 10 11 ******************************************** 12 Coppermine version: 1.5.28 13 $HeadURL: https://svn.code.sf.net/p/coppermine/code/trunk/cpg1.5.x/js/thumbnails.js $ 14 $Revision: 8683 $ 15**********************************************/ 16$(document).ready(function() { 17 addSortOptions(); 18}); 19 20function addSortOptions(){ 21 var extra_att = ''; 22 var sortable = ''; 23 // Change the separator to '<br />' for vertical stacking 24 var separator = ' • '; 25 sortable += '<span class="sortorder_options">'; 26 sortable += js_vars.sort_vars.sort_title; 27 sortable += '</span>'; 28 sortable += ' '; 29 sortable += '<span class="statlink">'; 30 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=ta" title="' + js_vars.sort_vars.sort_ta + '"><img src="images/ascending.png" width="9" height="9" border="0" alt="+" /></a>'; 31 sortable += '</span>'; 32 sortable += ' '; 33 sortable += '<span class="statlink">'; 34 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=td" title="' + js_vars.sort_vars.sort_td + '"><img src="images/descending.png" width="9" height="9" border="0" alt="-" /></a>'; 35 sortable += '</span>'; 36 sortable += separator; 37 38 sortable += '<span class="sortorder_options">'; 39 sortable += js_vars.sort_vars.sort_name; 40 sortable += '</span>'; 41 sortable += ' '; 42 sortable += '<span class="statlink">'; 43 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=na" title="' + js_vars.sort_vars.sort_na + '"><img src="images/ascending.png" width="9" height="9" border="0" alt="+" /></a>'; 44 sortable += '</span>'; 45 sortable += ' '; 46 sortable += '<span class="statlink">'; 47 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=nd" title="' + js_vars.sort_vars.sort_nd + '"><img src="images/descending.png" width="9" height="9" border="0" alt="-" /></a>'; 48 sortable += '</span>'; 49 sortable += separator; 50 51 sortable += '<span class="sortorder_options">'; 52 sortable += js_vars.sort_vars.sort_date; 53 sortable += '</span>'; 54 sortable += ' '; 55 sortable += '<span class="statlink">'; 56 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=da" title="' + js_vars.sort_vars.sort_da + '"><img src="images/ascending.png" width="9" height="9" border="0" alt="+" /></a>'; 57 sortable += '</span>'; 58 sortable += ' '; 59 sortable += '<span class="statlink">'; 60 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=dd" title="' + js_vars.sort_vars.sort_dd + '"><img src="images/descending.png" width="9" height="9" border="0" alt="-" /></a>'; 61 sortable += '</span>'; 62 sortable += separator; 63 64 sortable += '<span class="sortorder_options">'; 65 sortable += js_vars.sort_vars.sort_position; 66 sortable += '</span>'; 67 sortable += ' '; 68 sortable += '<span class="statlink">'; 69 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=pa" title="' + js_vars.sort_vars.sort_pa + '"><img src="images/ascending.png" width="9" height="9" border="0" alt="+" /></a>'; 70 sortable += '</span>'; 71 sortable += ' '; 72 sortable += '<span class="statlink">'; 73 sortable += '<a href="thumbnails.php?album=' + js_vars.sort_vars.aid + '&page=' + js_vars.sort_vars.page + '&sort=pd" title="' + js_vars.sort_vars.sort_pd + '"><img src="images/descending.png" width="9" height="9" border="0" alt="-" /></a>'; 74 sortable += '</span>'; 75 76 $('#sortorder_cell').append(sortable); 77}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.