[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-dev
Subject: [SMARTY-DEV] small datepick change
From: "Steve" <lists () iwsys ! com>
Date: 2002-06-25 8:52:42
[Download RAW message or body]
I added a very small change to datepick that highlights today with a different
background color.
in datepick.tpl:
{foreach name=row_loop from=$row item=col}
>> {if $smarty.now|safe_date_format:"%Y-%m-%d" eq $col}
>> {assign var="bgcolor" value="#cccc88"}
>> {elseif $curr_date|safe_date_format:"%m" eq
$col|safe_date_format:"%m"}
Steve
--
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic