XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
function.html_select_date.php File Reference

Go to the source code of this file.

Namespaces

namespace  Smarty
 

Functions

 smarty_function_html_select_date ($params, &$smarty)
 

Function Documentation

smarty_function_html_select_date (   $params,
$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 support negative timestamps, force year dropdown to include given date unless explicitly set (Monte)
  • 1.3.4 fix behaviour of 0000-00-00 00:00:00 dates to match that of 0000-00-00 dates (cybot, boots) {html_select_date} (Smarty online manual) 1.3.4 Andrei Zmievski Monte Ohrt
    Parameters
    array
    Smarty
    Returns
    string

Definition at line 38 of file function.html_select_date.php.

References $i, $time, smarty_function_escape_special_chars(), smarty_function_html_options(), and smarty_make_timestamp().

Here is the call graph for this function: