mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-16 14:05:21 +02:00
- update for PHP 5.4 compatibility
- reformat source to PSR-2 standard
This commit is contained in:
@@ -117,7 +117,7 @@ function smarty_function_html_select_time($params, $template)
|
||||
case 'minute_value_format':
|
||||
case 'second_format':
|
||||
case 'second_value_format':
|
||||
$$_key = (string)$_value;
|
||||
$$_key = (string) $_value;
|
||||
break;
|
||||
|
||||
case 'display_hours':
|
||||
@@ -125,7 +125,7 @@ function smarty_function_html_select_time($params, $template)
|
||||
case 'display_seconds':
|
||||
case 'display_meridian':
|
||||
case 'use_24_hours':
|
||||
$$_key = (bool)$_value;
|
||||
$$_key = (bool) $_value;
|
||||
break;
|
||||
|
||||
case 'minute_interval':
|
||||
@@ -135,7 +135,7 @@ function smarty_function_html_select_time($params, $template)
|
||||
case 'minute_size':
|
||||
case 'second_size':
|
||||
case 'meridian_size':
|
||||
$$_key = (int)$_value;
|
||||
$$_key = (int) $_value;
|
||||
break;
|
||||
|
||||
default:
|
||||
@@ -362,5 +362,3 @@ function smarty_function_html_select_time($params, $template)
|
||||
|
||||
return $_html;
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user