X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.html_options.php;fp=wwwroot%2Finc%2Fsmarty%2Fnode_methodz%2Ffunction.html_options.php;h=15fa30ad3610b0d85ed6c90f54c3160e8852e713;hb=51ff32267c4949bad6a8dddc502cbc01ed56edc8;hp=0000000000000000000000000000000000000000;hpb=dcee763368a1e3f380d07320a5254d91a09304e6;p=mirrors%2FKyberia-bloodline.git diff --git a/wwwroot/inc/smarty/node_methodz/function.html_options.php b/wwwroot/inc/smarty/node_methodz/function.html_options.php new file mode 100644 index 0000000..15fa30a --- /dev/null +++ b/wwwroot/inc/smarty/node_methodz/function.html_options.php @@ -0,0 +1,118 @@ + + * Name: html_options
+ * Input:
+ * - name (optional) - string default "select" + * - values (required if no options supplied) - array + * - options (required if no values supplied) - associative array + * - selected (optional) - string default not set + * - output (required if not options supplied) - array + * Purpose: Prints the list of ' . "\n"; + foreach ($values as $key => $value) { + $optgroup_html .= smarty_function_html_options_optoutput($key, $value, $selected); + } + $optgroup_html .= "\n"; + return $optgroup_html; +} + +/* vim: set expandtab: */ + +?>