Re: [SMARTY] html_select_date patch

From: Date: Fri, 28 Feb 2003 19:17:53 +0000
Subject: Re: [SMARTY] html_select_date patch
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8306@lists.php.net to get a copy of this message
This won't work for you? {html_select_date time="$year-$month-$day"} On Fri, 2003-02-28 at 12:38, Nimrod A. Abing wrote: > This patch will add the following to html_select_date: > > selected_year - sets the default selected year. > selected_month - sets the default selected month. > selected_day - sets the default selected day. > > I found the need to add these three new optional parameters to this > function when I had to regenerate what a user previously selected. i.e. > in a data entry page, if you return an error page you can now return the > form with the values the user previously selected. Makes it easier to > show the user what he/she has entered wrong like February 31 or > something. > > This patch was made against Smarty-2.4.2. > > Best regards. And apologies if patches are not supposed to be posted > here. -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.general (#8306) next »