Changeset 285
- Timestamp:
- 11/14/06 16:39:11 (2 years ago)
- Files:
-
- eaccelerator/trunk/ChangeLog (modified) (1 diff)
- eaccelerator/trunk/control.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/ChangeLog
r283 r285 1 2006-11-08 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 3 * Enable disassembler links again in the control panel 4 * Add some more isset for E_ALL error reporting 5 1 6 2006-11-04 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 2 7 eaccelerator/trunk/control.php
r282 r285 444 444 <form action="<?php echo $_SERVER['PHP_SELF']?>" method="get"><input type="hidden" name="sec" value="1"/> 445 445 <td class="el">Match filename:</td> 446 <td class="fl"><input type="text" name="str" size="40" value="<?php echo $_GET['str']?>"/> <input type="submit" value=" Find "/></td>446 <td class="fl"><input type="text" name="str" size="40" value="<?php echo isset($_GET['str']) ? $_GET['str'] : '' ?>"/> <input type="submit" value=" Find "/></td> 447 447 </form> 448 448 </tr> … … 469 469 </tr> 470 470 <?php 471 $disassembler = function_exists('eaccelerator_dasm_file'); 471 472 for ($i = 0; $i < $numres; $i++) { 472 473 ?> 474 <tr> 475 <td class="el"><small><?php echo ((isset($scripts[$i]['removed']) && $scripts[$i]['removed'])?'<span class="s">':'').$scripts[$i]['file'].((isset($scripts[$i]['removed']) && $scripts[$i]['removed'])?'</span>':'')?></small></td> 473 $removed = (isset($scripts[$i]['removed']) && $scripts[$i]['removed']); 474 if ($disassembler && !$removed) { 475 $file_col = sprintf('<a href="dasm.php?file=%s">%s</a>', $scripts[$i]['file'], $scripts[$i]['file']); 476 } elseif ($removed) { 477 $file_col = sprintf('<span class="s">%s</span>', $scripts[$i]['file']); 478 } else { 479 $file_col = $scripts[$i]['file']; 480 } 481 ?> 482 <tr> 483 <td class="el"><small><?php echo $file_col ?></small></td> 476 484 <td class="fl"><small><?php echo date('Y-m-d H:i:s', $scripts[$i]['mtime'])?></small></td> 477 485 <td class="fr"><small><?php echo format_size($scripts[$i]['size'])?></small></td> … … 539 547 <form name="srch" action="<?php echo $_SERVER['PHP_SELF']?>" method="get"><input type="hidden" name="sec" value="2"/> 540 548 <td class="el">Match key name:</td> 541 <td class="fl"><input type="text" name="str" size="40" value="<?php echo $_GET['str']?>"/> <input type="submit" value=" Find "/></td>549 <td class="fl"><input type="text" name="str" size="40" value="<?php echo isset($_GET['str']) ? $_GET['str'] : '' ?>"/> <input type="submit" value=" Find "/></td> 542 550 </form> 543 551 </tr>