- 1
- 2
- 3
- 4
- 5
- 6
- 7
if ($type=='input') $params['class'] = 'styleInput';
if ($type=='password') $params['class'] = 'stylePassword';
if ($type=='checkbox') $params['class'] = 'styleCheckBox';
if ($type=='select') $params['class'] = 'styleSelect';
if ($type=='multipleSelect') $params['class'] = 'styleMultipleSelect';
if ($type=='textarea') $params['class'] = 'styleTextarea';
if ($type=='groupSelect') $params['class'] = 'styleGroupSelect';