diff --git a/gosa-core/include/smarty/plugins/function.html_radios.php b/gosa-core/include/smarty/plugins/function.html_radios.php
index c7f72bf64b39ad038fdc0adf2b54c5affa081b39..c6b27edf2ca30d2e277e9707de72d52d169f8548 100644 (file)
<?php
/**
-* Smarty plugin
-*
-* @package Smarty
-* @subpackage PluginsFunction
-*/
+ * Smarty plugin
+ *
+ * @package Smarty
+ * @subpackage PluginsFunction
+ */
/**
-* Smarty {html_radios} function plugin
-*
-* File: function.html_radios.php<br>
-* Type: function<br>
-* Name: html_radios<br>
-* Date: 24.Feb.2003<br>
-* Purpose: Prints out a list of radio input types<br>
-* Examples:
-* <pre>
-* {html_radios values=$ids output=$names}
-* {html_radios values=$ids name='box' separator='<br>' output=$names}
-* {html_radios values=$ids checked=$checked separator='<br>' output=$names}
-* </pre>
-*
-* @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios}
- (Smarty online manual)
-* @author Christopher Kvarme <christopher.kvarme@flashjab.com>
-* @author credits to Monte Ohrt <monte at ohrt dot com>
-* @version 1.0
-* @param array $params parameters
-* Input:<br>
-* - name (optional) - string default "radio"
-* - values (required) - array
-* - options (optional) - associative array
-* - checked (optional) - array default not set
-* - separator (optional) - ie <br> or
-* - output (optional) - the output next to each radio button
-* - assign (optional) - assign the output as an array to this variable
-* @param object $smarty Smarty object
-* @param object $template template object
-* @return string
-* @uses smarty_function_escape_special_chars()
-*/
-function smarty_function_html_radios($params, $smarty, $template)
+ * Smarty {html_radios} function plugin
+ *
+ * File: function.html_radios.php<br>
+ * Type: function<br>
+ * Name: html_radios<br>
+ * Date: 24.Feb.2003<br>
+ * Purpose: Prints out a list of radio input types<br>
+ * Examples:
+ * <pre>
+ * {html_radios values=$ids output=$names}
+ * {html_radios values=$ids name='box' separator='<br>' output=$names}
+ * {html_radios values=$ids checked=$checked separator='<br>' output=$names}
+ * </pre>
+ *
+ * @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios}
+ * (Smarty online manual)
+ * @author Christopher Kvarme <christopher.kvarme@flashjab.com>
+ * @author credits to Monte Ohrt <monte at ohrt dot com>
+ * @version 1.0
+ * @param array $params parameters
+ * Input:<br>
+ * - name (optional) - string default "radio"
+ * - values (required) - array
+ * - options (optional) - associative array
+ * - checked (optional) - array default not set
+ * - separator (optional) - ie <br> or
+ * - output (optional) - the output next to each radio button
+ * - assign (optional) - assign the output as an array to this variable
+ * @param object $template template object
+ * @return string
+ * @uses smarty_function_escape_special_chars()
+ */
+function smarty_function_html_radios($params, $template)
{
require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php');
- //$smarty->loadPlugin('Smarty_shared_escape_special_chars');
$name = 'radio';
$values = null;
@@ -153,4 +151,4 @@ function smarty_function_html_radios_output($name, $value, $output, $selected, $
return $_output;
}
-?>
+?>
\ No newline at end of file