Changeset 14221 for trunk/ippMonitor/raw/ipp.php
- Timestamp:
- Jul 15, 2007, 1:51:36 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/ipp.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/ipp.php
r14128 r14221 308 308 function navigate_buttons ($rowStart, $rowLast, $dTABLE, $rowTotal, $buttonLink, $ID, $file) { 309 309 310 // add a sort key? 311 $sortKey = ""; 312 if ($_SERVER[REQUEST_METHOD] == 'GET') { 313 $sortKey = "&sort=" . $_GET['sort']; 314 } else { 315 $sortKey = "&sort=" . $_POST['sort']; 316 } 317 310 318 if ($rowStart > 0) { 311 319 $value = 0; … … 314 322 $link = $link . "&$buttonLink"; 315 323 } 324 $link = $link . $sortKey; 316 325 echo "<a width=10 class=\"button\" href=\"$link\"><<</a>\n"; 317 326 } else { … … 324 333 $link = $link . "&$buttonLink"; 325 334 } 335 $link = $link . $sortKey; 326 336 echo "<a class=\"button\" href=\"$link\"><</a>\n"; 327 337 } else { … … 335 345 $link = $link . "&$buttonLink"; 336 346 } 347 $link = $link . $sortKey; 337 348 echo "<a class=\"button\" href=\"$link\">></a>\n"; 338 349 } else { … … 346 357 $link = $link . "&$buttonLink"; 347 358 } 359 $link = $link . $sortKey; 348 360 echo "<a class=\"button\" href=\"$link\">>></a>\n"; 349 361 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
