small datepick change
| From: | Steve | Date: | Tue, 25 Jun 2002 08:52:42 +0000 |
| Subject: | small datepick change | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-163@lists.php.net to get a copy of this message | ||
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