[geeklog-users] Styling Text Inside Blocks (and copyright year)

geeklog-users-admin at lists.geeklog.net geeklog-users-admin at lists.geeklog.net
Fri Apr 25 15:37:38 EDT 2003


Jerry wrote:

>Geeklog currently takes the lines in a block and puts a <br /> between
>them (using nl2br).

Just to point this one out: As you can see from the piece of code that
you quoted, this is only done when the first character in the block is
not a '<'. So if you put HTML code into a block (where the additional
<br> tags are not wanted), make sure that the block content starts with a
tag; <p> would be an obvious choice.


>Incidentally, the copyright year is hard-coded into lib-common.php.
>Shouldn't it at least be in config.php

It is (as of Geeklog 1.3.7):

// Uncomment the following line to set the copyright year in the site's
footer  
// to a specific year. Otherwise, the current year will be used.
// $_CONF['copyrightyear'] = 2003;

If you want to make that a range of years, make sure you enclose it in
quotes, e.g. $_CONF['copyrightyear'] = '2001-2003';

bye, Dirk


-- 
http://www.haun-online.de/
http://www.tinyweb.de/




More information about the geeklog-users mailing list