Show
Ignore:
Timestamp:
10/06/2007 09:52:26 PM (14 months ago)
Author:
PugFish
Message:

Small layout tweaks:

  • Reset the alternation before each table
  • Vertically align POST label to the top
  • Only use pre tag on arrays, causes unnecessary padding
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/views/kohana_profiler.php

    r660 r680  
    6262        background-color: #FAFAFB !important; 
    6363        border-right: 1px solid #E5EFF8; 
     64        vertical-align: top; 
    6465} 
    6566</style> 
     
    7273<?php 
    7374 
     75text::alternate(); 
    7476foreach ($benchmarks as $name => $time): 
    7577 
     
    109111 
    110112        else: 
     113                text::alternate(); 
    111114                foreach($queries as $query): 
    112115 
     
    138141 
    139142else: 
     143        text::alternate(); 
    140144        foreach($_POST as $name => $value): 
    141145 
     
    144148                        <td class="kp-postname"><?php echo $name ?></td> 
    145149                        <td> 
    146                                 <pre><?php echo htmlspecialchars(is_array($value) ? print_r($value, TRUE) : $value) ?></pre> 
     150                                <?php echo is_array($value) ? '<pre>'.htmlspecialchars(print_r($value, TRUE)).'</pre>' : htmlspecialchars($value) ?> 
    147151                        </td> 
    148152                </tr>