$with_timer bug exposed with paefchen template
Aron Schlesinger
as at paefchen.net
Tue Jan 22 12:39:23 EST 2008
Am 22.01.2008 um 06:23 schrieb Ade Lovett:
> 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.
The problem is buried in the index.php. First, the templates.
Thereafter, until the time chosen.
> [..html..]
>
> Interestingly, with the default template, the timer code is actually
> rendered with both Safari and Firefox, but not with the new one.
templates/paefchen/tinderstyle.css
/* XXX */
body > p {
display : none;
}
Yes is a dirty "fix".
> The issue is certainly more a case of the with_timer code being in the
> wrong place than the defaults.
> [perl foo ;-)]
As attachment a quick way to fix in both templates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.diff
Type: application/octet-stream
Size: 8875 bytes
Desc: not available
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20080122/83f70738/attachment.obj
-------------- next part --------------
--
http://www.paefchen.net Aron Schlesinger Jabber: as at paefchen.net
http://www.bsdgroup.de *Push it, don't hype!* http://www.allbsd.de
More information about the tinderbox-list
mailing list