Show
Ignore:
Timestamp:
10/27/2007 03:35:11 PM (13 months ago)
Author:
Geert
Message:

Small changes:

  • use html::specialchars() instead of htmlspecialchars()
  • put the "time" columns underneath each other, reads easier
Files:
1 modified

Legend:

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

    r901 r903  
    9999                <tr> 
    100100                        <th><?php echo Kohana::lang('profiler.queries') ?> (<?php echo ($queries == FALSE ? '0' : count($queries)) ?>)</th> 
     101                        <th class="kp-column">Rows</th> 
    101102                        <th class="kp-column">Time</th> 
    102                         <th class="kp-column">Rows</th> 
    103103                </tr> 
    104104<?php 
     
    124124?> 
    125125                <tr<?php echo text::alternate('', ' class="kp-altrow"') ?>> 
    126                         <td><?php echo htmlspecialchars($query['query']) ?></td> 
     126                        <td><?php echo html::specialchars($query['query']) ?></td> 
     127                        <td class="kp-column kp-data"><?php echo $query['rows'] ?></td> 
    127128                        <td class="kp-column kp-data"><?php echo number_format($query['time'], 4) ?></td> 
    128                         <td class="kp-column kp-data"><?php echo $query['rows'] ?></td> 
    129129                </tr> 
    130130<?php 
     
    157157                        <td class="kp-postname"><?php echo $name ?></td> 
    158158                        <td> 
    159                                 <?php echo is_array($value) ? '<pre>'.htmlspecialchars(print_r($value, TRUE)).'</pre>' : htmlspecialchars($value) ?> 
     159                                <?php echo is_array($value) ? '<pre>'.html::specialchars(print_r($value, TRUE)).'</pre>' : html::specialchars($value) ?> 
    160160                        </td> 
    161161                </tr>