|  | @@ -958,22 +958,24 @@ function variables() {
 | 
	
		
			
				|  |  |        <tr><th>Slab Id</th><th>Info</th></tr>
 | 
	
		
			
				|  |  |  EOB;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      foreach ($entries as $slabId => $slab) {
 | 
	
		
			
				|  |  |        $dumpUrl = $PHP_SELF .'&op=2&server='. (array_search($server,$MEMCACHE_SERVERS)) .'&dumpslab='. $slabId;
 | 
	
		
			
				|  |  |        echo
 | 
	
		
			
				|  |  |         "<tr class=tr-$m>",
 | 
	
		
			
				|  |  |          "<td class=td-0><center>",'<a href="', $dumpUrl,'">', $slabId, '</a>', "</center></td>",
 | 
	
		
			
				|  |  | -        "<td class=td-last><dl class=\"slab-header\"><dt>Item count:</dt><dd>", $slab['number'], '</dd><dt>Age:</dt><dd>', duration($time - $slab['age']),'</dd><dt>Evicted:</dt><dd>', ((isset($slab['evicted']) && $slab['evicted'] == 1) ? 'Yes' : 'No'), '</dd></dl>';
 | 
	
		
			
				|  |  | +        "<td class=td-last><dl class=\"slab-header\"><dt>Item count:</dt><dd>", $slab['number'], '</dd><dt>Age:</dt><dd>', duration($time - $slab['age']),'</dd><dt>Evicted:</dt><dd>', ((isset($slab['evicted']) && $slab['evicted'] == 1) ? 'Yes' : 'No'), "</dd></dl>\n";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |        if ((isset($_GET['dumpslab']) && $_GET['dumpslab'] == $slabId)
 | 
	
		
			
				|  |  |          &&  (isset($_GET['server']) && $_GET['server'] == array_search($server, $MEMCACHE_SERVERS))) {
 | 
	
		
			
				|  |  | -        echo "<br/><b>Items: item</b><br/><div class=\"slab-dump\">";
 | 
	
		
			
				|  |  | +        echo "<br/><b>Items: item</b><br/><div class=\"slab-dump\">\n";
 | 
	
		
			
				|  |  |          $items = dumpCacheSlab($server, $slabId, $slab['number']);
 | 
	
		
			
				|  |  |          // maybe someone likes to do a pagination here :)
 | 
	
		
			
				|  |  |          $i = 1;
 | 
	
		
			
				|  |  | +        ksort($items['ITEM']);
 | 
	
		
			
				|  |  |          foreach ($items['ITEM'] as $itemKey => $itemInfo) {
 | 
	
		
			
				|  |  |            $itemInfo = trim($itemInfo,'[ ]');
 | 
	
		
			
				|  |  | -          echo '<a href="',$PHP_SELF, '&op=4&server=', (array_search($server,$MEMCACHE_SERVERS)), '&key=', base64_encode($itemKey) .'">', $itemKey, '</a>';
 | 
	
		
			
				|  |  | +          echo '<a href="', $PHP_SELF, '&op=4&server=', (array_search($server, $MEMCACHE_SERVERS)), '&key=', base64_encode($itemKey) .'">', $itemKey, "</a>\n";
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 |