move .make_timestamp.php to shared.make_timestamp.php

This commit is contained in:
mohrt
2002-03-20 17:07:28 +00:00
parent de9503ac16
commit c86b06078e
6 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
* and end year values. (Monte) * and end year values. (Monte)
* ------------------------------------------------------------- * -------------------------------------------------------------
*/ */
require_once SMARTY_DIR . 'plugins/.make_timestamp.php'; require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
require_once SMARTY_DIR . 'plugins/function.html_options.php'; require_once SMARTY_DIR . 'plugins/function.html_options.php';
function smarty_function_html_select_date($params, &$smarty) function smarty_function_html_select_date($params, &$smarty)
{ {

View File

@@ -8,7 +8,7 @@
* Purpose: Prints the dropdowns for time selection * Purpose: Prints the dropdowns for time selection
* ------------------------------------------------------------- * -------------------------------------------------------------
*/ */
require_once SMARTY_DIR . 'plugins/.make_timestamp.php'; require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
require_once SMARTY_DIR . 'plugins/function.html_options.php'; require_once SMARTY_DIR . 'plugins/function.html_options.php';
function smarty_function_html_select_time($params, &$smarty) function smarty_function_html_select_time($params, &$smarty)
{ {

View File

@@ -8,7 +8,7 @@
* Purpose: format datestamps via strftime * Purpose: format datestamps via strftime
* ------------------------------------------------------------- * -------------------------------------------------------------
*/ */
require_once SMARTY_DIR . 'plugins/.make_timestamp.php'; require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
function smarty_modifier_date_format($string, $format="%b %e, %Y") function smarty_modifier_date_format($string, $format="%b %e, %Y")
{ {
return strftime($format, smarty_make_timestamp($string)); return strftime($format, smarty_make_timestamp($string));

View File

@@ -14,7 +14,7 @@
* and end year values. (Monte) * and end year values. (Monte)
* ------------------------------------------------------------- * -------------------------------------------------------------
*/ */
require_once SMARTY_DIR . 'plugins/.make_timestamp.php'; require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
require_once SMARTY_DIR . 'plugins/function.html_options.php'; require_once SMARTY_DIR . 'plugins/function.html_options.php';
function smarty_function_html_select_date($params, &$smarty) function smarty_function_html_select_date($params, &$smarty)
{ {

View File

@@ -8,7 +8,7 @@
* Purpose: Prints the dropdowns for time selection * Purpose: Prints the dropdowns for time selection
* ------------------------------------------------------------- * -------------------------------------------------------------
*/ */
require_once SMARTY_DIR . 'plugins/.make_timestamp.php'; require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
require_once SMARTY_DIR . 'plugins/function.html_options.php'; require_once SMARTY_DIR . 'plugins/function.html_options.php';
function smarty_function_html_select_time($params, &$smarty) function smarty_function_html_select_time($params, &$smarty)
{ {

View File

@@ -8,7 +8,7 @@
* Purpose: format datestamps via strftime * Purpose: format datestamps via strftime
* ------------------------------------------------------------- * -------------------------------------------------------------
*/ */
require_once SMARTY_DIR . 'plugins/.make_timestamp.php'; require_once SMARTY_DIR . 'plugins/shared.make_timestamp.php';
function smarty_modifier_date_format($string, $format="%b %e, %Y") function smarty_modifier_date_format($string, $format="%b %e, %Y")
{ {
return strftime($format, smarty_make_timestamp($string)); return strftime($format, smarty_make_timestamp($string));