Re: [SMARTY] datepick plugin 1.0 test
| From: | Adi Sieker | Date: | Sat, 18 May 2002 13:10:56 +0000 |
| Subject: | Re: [SMARTY] datepick plugin 1.0 test | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4300@lists.php.net to get a copy of this message | ||
On Fri, 17 May 2002 20:27:27 +0200, Bertrand DUNOGIER
<bdunogier@wanadoo.fr> wrote:
>Hmmm...
>
>i'm not sure i can make it happen on another date, but with any date
>selected, i can't get the date in the select lists to change to
>something > July
>
>If i remember well, i changed the date in the popup to year 2004,
>that's all.
>
>Maybe my browser's fault... (internet explorer 6 on Windows XP Pro)
>
Attached is a new smarty_datepick/templates/default/index.tpl which
fixes this.
The reason was that the Javascript parseInt function considers numbers
with a leading 0 as octal.
I also changed the action attribute of the from tag from an absolute
URL to the relative URL index.php
Regards
Adi