[Pmwiki-users] Date/Timestamp question
Knut Alboldt
mailing
Tue Aug 31 01:34:43 CDT 2004
I changed the cookbook accordingly. Have a look there.
Knut
At 09:22 31.08.2004, I wrote:
>At 02:01 31.08.2004, Jason wrote:
>>when using the date/timestamp function that I found in the cookbook,
>>how might I change the color/font of the text in the include file?
>>(basically so I don't have to when I call [[datetime..[[
>
>do you mean http://www.pmwiki.org/wiki/Cookbook/DateTimeStamp ?
>if yes:
>
>change the definitions of Dpoublebrackets like:
>
> $DoubleBrackets["/\\[\\[datetime\\]\\]/e"] = "'<font
> color=\"red\">'.date('$datetimeFmt').'</font>';";
> (oops: very obsolete html-style :-)
>
>or better:
>
> $DoubleBrackets["/\\[\\[datetime\\]\\]/e"] = "'<span
> style=\"color:red\">'.date('$datetimeFmt').'</span>';";
>
>or even best :-)
>
> $DoubleBrackets["/\\[\\[datetime\\]\\]/e"] = "'<span
> class=\"mydatetime\">'.date('$datetimeFmt').'</span>';";
> and use a corresponding style in the css-files
>
>Knut
>
>--
>Pmwiki-users mailing list
>Pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
More information about the pmwiki-users
mailing list