$with_timer bug exposed with paefchen template

Ade Lovett ade at FreeBSD.org
Tue Jan 22 00:23:45 EST 2008


The timer code (called if you set $with_timer=1) is in the wrong  
place, appearing after </body></html> in the generated output from  
either the default template code, or the new paefchen version.

eg:

[...]
    </body>
    </html>
    <p style="color:#FF0000;font-size:10px;">elapsed: 0.127451  
seconds, </p><p style="font-size:10px;"><b>Note:</b> The Tinderbox web  
interface requires cookies to be enable.</p>
[end]

Interestingly, with the default template, the timer code is actually  
rendered with both Safari and Firefox, but not with the new one.  The  
issue is certainly more a case of the with_timer code being in the  
wrong place than the defaults.
I'm not a PHP person -- I'd actually prefer the UI to be written in  
Perl so we didn't have two implementations of the same core tinderbox  
classes, but that's another rant -- so someone else will need to fix  
things.
-aDe



More information about the tinderbox-list mailing list