Smarty : plugins [ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: function.html_select_date.php

Source Location: /bblog/smarty_plugins/function.html_select_date.php ( Revision Log )

Page Details

Smarty plugin

Functions
smarty_function_html_select_date  [line 35]

string smarty_function_html_select_date( array $params, Smarty &$smarty  )

Smarty {html_select_date} plugin

Type: function
Name: html_select_date
Purpose: Prints the dropdowns for date selection.

ChangeLog:

  • 1.0 initial release
  • 1.1 added support for +/- N syntax for begin and end year values. (Monte)
  • 1.2 added support for yyyy-mm-dd syntax for time value. (Jan Rosier)
  • 1.3 added support for choosing format for month values (Gary Loescher)
  • 1.3.1 added support for choosing format for day values (Marcus Bointon)
  • 1.3.2 suppport negative timestamps, force year dropdown to include given date unless explicitly set (Monte)

Parameters:
array   $params: 
Smarty   &$smarty: 

Information Tags:
Author:  Andrei Zmievski
Version:  1.3.2
Link:  {html_select_date} (Smarty online manual)

[ Top ]