|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Jerc Smarty Rookie
Joined: 26 Jan 2010 Posts: 30 Location: Slovenia / Ljubljana
|
Posted: Sat Feb 23, 2013 9:17 am Post subject: Extended: html_select_date, html_select_time |
|
|
Hi.
I needed to extend html_select_date and html_select_time. So, I'll share my work with you. I haven't tested it all, but it is working on my cases.
html_select_time:
hour_selected / Type: String / Required: no / Default value: null
minute_selected / Type: String / Required: no / Default value: null
second_selected / Type: String / Required: no / Default value: null
File: http://www.jerc.si/wp-content/uploads/2013/02/function.html_select_time.php_.zip (zip)
html_select_date:
year_value_format / Type: String / Required: no / Default value: “%Y”
day_selected / Type: String / Required: no / Default value: null
month_selected / Type: String / Required: no / Default value: null
year_selected / Type: String / Required: no / Default value: null
File: http://www.jerc.si/wp-content/uploads/2013/02/function.html_select_date.php_.zip (zip)
If you want you can include updated functions with yours. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|