[pmwiki-users] Nifty css/php trick, but is it safe?

Sandy sandy at onebit.ca
Tue Jan 8 11:28:48 CST 2008


carlos.ab at gmail.com wrote:
> Em Sexta 30 Novembro 2007 13:43, Tegan Dowling escreveu:
<snip> you can also do that from within a skin.php file with
> less changes to your Pmwiki installation, like this:
> 
> <?php if(!defined('PmWiki')) exit();
> 
> ## colors
> $highlight1 = '#ccc';
> $highlight2 = 'green';
> $bodytxt = '#ff0000';
> $headings = '#008400';

<snip>

Oooh, that's worth putting in a recipe! (In my two whole skins, how many 
times have I tried to redefine "colour1" and missed a spot?)

Sandy




More information about the pmwiki-users mailing list