Welcome, Guest. Please Login or Register.
July 07, 2025, 05:07:02 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  German User Help  |  Hilfe zu YaBB SE  |  Renderzeit auf jeder Seite anzeigen « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Renderzeit auf jeder Seite anzeigen  (Read 542 times)
blar
Jr. Member
**
Posts: 62


just be noob :D

ICQ - 60591109
Renderzeit auf jeder Seite anzeigen
« on: December 26, 2002, 09:52:49 AM »
Reply with quote

Das Problem tritt auf wenn man andere templates als das default verwendet. das Problem liegt am </body> tag der nur klein geschrieben werden darf sonst wird die renderzeit nicht angezeigt.

dieser fix behebt diesen bug

Subs.php

suchen

Code:

         $time_end = getmicrotime();
         $time = round($time_end - $time_start, 3);
         $curline = preg_replace('/<\/body>/', '<div align="center"><font size="1">' . $txt['yse301'] . $time . $txt['yse302'] . '</font></div></body>', $curline);

gegen das hier ersetzen
        $time_end = getmicrotime();
         $time = round($time_end - $time_start, 3);
         $curline = preg_replace('=<\/body>=i', '<div align="center"><font size="1">' . $txt['yse301'] . $time . $txt['yse302'] . '</font></div></body>', $curline);


body / BODY / boDY ist dann immer das gleiche
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  German User Help  |  Hilfe zu YaBB SE  |  Renderzeit auf jeder Seite anzeigen « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.117 seconds with 21 queries.