Changeset 112629 in spip-zone
- Timestamp:
- Dec 5, 2018, 9:27:05 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/xray/trunk/xray_apc.php
r112628 r112629 885 885 div.info table th { 886 886 background:rgb(204,204,204); 887 color: white;887 color:black; 888 888 margin:0; 889 889 padding:0.1em 1em 0.1em 1em; … … 1198 1198 } 1199 1199 $fieldname = 'info'; 1200 $fieldheading = 'Squelette';1201 1200 $fieldkey = 'info'; 1202 1201 … … 1211 1210 <option value=H", $MYREQUEST['S_KEY'] == 'H' ? ' selected' : '', '>Hits</option> 1212 1211 <option value=Z', $MYREQUEST['S_KEY'] == 'Z' ? ' selected' : '', '>Size</option> 1213 <option value=S', $MYREQUEST['S_KEY'] == 'S' ? ' selected' : '', ">$fieldheading</option>",1212 <option value=S', $MYREQUEST['S_KEY'] == 'S' ? ' selected' : '', '>Squelette</option>', 1214 1213 '<option value=A', $MYREQUEST['S_KEY'] == 'A' ? ' selected' : '', '>Last accessed</option> 1215 1214 <option value=C', $MYREQUEST['S_KEY'] == 'C' ? ' selected' : '', '>Created at</option>'; … … 1289 1288 $MYREQUEST['SEARCH'] = '~'.$MYREQUEST['SEARCH'].'~i'; 1290 1289 } 1291 echo '<div class="info"><table cellspacing=0><tbody>', '<tr>', '<th> ', sortheader('S', $fieldheading), '</th>', '<th>', sortheader('H', 'Hits'), '</th>', '<th>', sortheader('Z', 'Size'), '</th>', '<th>', sortheader('A', 'Last accessed'), '</th>', '<th>', sortheader('C', 'Created at'), '</th>';1290 echo '<div class="info"><table cellspacing=0><tbody>', '<tr>', '<th>Caches - ', sortheader('S', 'tri par Squelette'), '</th>', '<th>', sortheader('H', 'Hits'), '</th>', '<th>', sortheader('Z', 'Size'), '</th>', '<th>', sortheader('A', 'Last accessed'), '</th>', '<th>', sortheader('C', 'Created at'), '</th>'; 1292 1291 1293 1292 if ($fieldname == 'info') { … … 1321 1320 $k = sprintf('%015d-', $entry['deletion_time']); 1322 1321 break; 1323 case 'S': 1324 $k = $entry["info"]; 1322 case 'S': 1323 // tri par squelette : on supprime le préfixe et le md5 au début 1324 // et alors on peut trier 1325 $k = substr(str_replace(XRAY_NEPASAFFICHER_DEBUTNOMCACHE, '', $entry["info"]), 33); 1325 1326 break; 1326 1327 }
Note: See TracChangeset
for help on using the changeset viewer.