diff --git a/public_html/includes/class/class.LSattr_html_select_box.php b/public_html/includes/class/class.LSattr_html_select_box.php new file mode 100644 index 00000000..bd295ae5 --- /dev/null +++ b/public_html/includes/class/class.LSattr_html_select_box.php @@ -0,0 +1,38 @@ + type checkbox + * for multiple values selection and type radio for single value + * selection. + * + * @author Benjamin Renard + */ +class LSattr_html_select_box extends LSattr_html_select_list { + + var $LSformElement_type = 'select_box'; + +} diff --git a/public_html/includes/class/class.LSformElement_select_box.php b/public_html/includes/class/class.LSformElement_select_box.php new file mode 100644 index 00000000..c72a27ea --- /dev/null +++ b/public_html/includes/class/class.LSformElement_select_box.php @@ -0,0 +1,39 @@ + + */ + +class LSformElement_select_box extends LSformElement_select { + + var $template = 'LSformElement_select_box.tpl'; + var $fieldTemplate = 'LSformElement_select_box.tpl'; + +} diff --git a/public_html/templates/default/LSformElement_select_box.tpl b/public_html/templates/default/LSformElement_select_box.tpl new file mode 100644 index 00000000..d97e5ac8 --- /dev/null +++ b/public_html/templates/default/LSformElement_select_box.tpl @@ -0,0 +1,19 @@ +