Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Extended: html_select_date, html_select_time

 
Post new topic   Reply to topic    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
Jerc
Smarty Rookie


Joined: 26 Jan 2010
Posts: 22
Location: Slovenia / Ljubljana

PostPosted: Sat Feb 23, 2013 9:17 am    Post subject: Extended: html_select_date, html_select_time Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP