Changeset 680 for trunk/system/views/kohana_profiler.php
- Timestamp:
- 10/06/2007 09:52:26 PM (14 months ago)
- Files:
-
- 1 modified
-
trunk/system/views/kohana_profiler.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/views/kohana_profiler.php
r660 r680 62 62 background-color: #FAFAFB !important; 63 63 border-right: 1px solid #E5EFF8; 64 vertical-align: top; 64 65 } 65 66 </style> … … 72 73 <?php 73 74 75 text::alternate(); 74 76 foreach ($benchmarks as $name => $time): 75 77 … … 109 111 110 112 else: 113 text::alternate(); 111 114 foreach($queries as $query): 112 115 … … 138 141 139 142 else: 143 text::alternate(); 140 144 foreach($_POST as $name => $value): 141 145 … … 144 148 <td class="kp-postname"><?php echo $name ?></td> 145 149 <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) ?> 147 151 </td> 148 152 </tr>
