Changeset 1288 for trunk/system/views/kohana_profiler.php
- Timestamp:
- 11/26/2007 05:11:15 PM (12 months ago)
- Files:
-
- 1 modified
-
trunk/system/views/kohana_profiler.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/views/kohana_profiler.php
r1168 r1288 43 43 background-color: #F7FBFF; 44 44 } 45 #kohana-profiler .kp-totalrow td 46 { 47 background-color: #FAFAFA; 48 border-top: 1px solid #D2DCE5; 49 font-weight: bold; 50 } 45 51 #kp-benchmarks th 46 52 { … … 137 143 else: 138 144 text::alternate(); 145 $total_time = 0; 139 146 foreach($queries as $query): 140 147 $total_time += $query['time']; 141 148 ?> 142 149 <tr<?php echo text::alternate('', ' class="kp-altrow"') ?>> … … 148 155 149 156 endforeach; 157 ?> 158 <tr class="kp-totalrow"> 159 <td>Total</td> 160 <td class="kp-column kp-data"><?php echo number_format($total_time, 4) ?></td> 161 <td class="kp-column kp-data"> </td> 162 </tr> 163 <?php 164 150 165 endif; 151 166 endif;
