1 (edited by Lucky Looser 2005-09-19 12:06)

Topic: Set debug Info one line deeper and centered

Hi,

What I've to do, if I want to show the debug info one line deeper and centered?
I've tryed so much (<br><p> etc.), but it always destroy the Board.

My code:

            <p class="conr">Powered by <a href="http://punbb.org/">PunBB</a><?php if ($pun_config['o_show_version'] == '1') echo ' '.$pun_config['o_cur_version']; ?><br />© Copyright 2002?2005 Rickard Andersson<br />Style © Copyright 2005 <a href="http://forum.haresnet.de">haresnet.de</a></p>
<?php

// Display debug info (if enabled/defined)
/* if (defined('PUN_DEBUG')) */
{
    // Calculate script generation time
    list($usec, $sec) = explode(' ', microtime());
    $time_diff = sprintf('%.3f', ((float)$usec + (float)$sec) - $pun_start);
    echo "\t\t\t".'<p class="conr">[ Generated in '.$time_diff.' seconds, '.$db->get_num_queries().' queries executed ]</p>'."\n";
}

?>
            <div class="clearer"></div>
Sorry for my stupid English, but I'm an old and unteachable man.
Visit My PunBB Forum

2

Re: Set debug Info one line deeper and centered

You can't do that. If you want it centred then it will have to go at the bottom of the footer so it is below the links on the left as well.

Re: Set debug Info one line deeper and centered

OK, thanks for that Information.

Sorry for my stupid English, but I'm an old and unteachable man.
Visit My PunBB Forum