Files
gallery3/kohana/views/kohana_profiler.php
Bharat Mediratta 3b35e8b91c Refresh kohana from upstream svn trunk r3771.
During this process, remove a considerable number of files from kohana
that we will not be needing in Gallery3, including the following files
and directories:
    kohana/application
    kohana/example.htaccess
    kohana/index.php
    kohana/install.php
    kohana/kohana.png
    kohana/modules/archive
    kohana/modules/auth
    kohana/modules/flot
    kohana/modules/gmaps
    kohana/modules/kodoc
    kohana/modules/payment
    kohana/modules/smarty
    kohana/modules/unit_test/i18n
    kohana/modules/unit_test/tests/Example_Test.php
    kohana/modules/unit_test/tests/Valid_Test.php
    kohana/system/config/captcha.php
    kohana/system/controllers/captcha.php
    kohana/system/fonts
    kohana/system/i18n
    kohana/system/libraries/Calendar.php
    kohana/system/libraries/Calendar_Event.php
    kohana/system/libraries/Captcha.php
    kohana/system/libraries/Tagcloud.php
    kohana/system/vendor
    kohana/system/views/pagination
    kohana/system/views/kohana_calendar.php
2008-12-15 08:56:18 +00:00

37 lines
708 B
PHP

<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<style type="text/css">
#kohana-profiler
{
font-family: Monaco, 'Courier New';
background-color: #F8FFF8;
margin-top: 20px;
clear: both;
padding: 10px 10px 0;
border: 1px solid #E5EFF8;
text-align: left;
}
#kohana-profiler pre
{
margin: 0;
font: inherit;
}
#kohana-profiler .kp-meta
{
margin: 0 0 10px;
padding: 4px;
background: #FFF;
border: 1px solid #E5EFF8;
color: #A6B0B8;
text-align: center;
}
<?php echo $styles ?>
</style>
<div id="kohana-profiler">
<?php
foreach ($profiles as $profile)
{
echo $profile->render();
}
?>
<p class="kp-meta">Profiler executed in <?php echo number_format($execution_time, 3) ?>s</p>
</div>