Changeset 4239 in subversion for branches/devel-addressbook/program/include/main.inc
- Timestamp:
- Nov 19, 2010 2:12:24 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devel-addressbook/program/include/main.inc
r4227 r4239 825 825 $attrib['class'] = trim($attrib['class'] . ' ff_' . $col); 826 826 827 if ($type =='checkbox') {827 if ($type == 'checkbox') { 828 828 $attrib['value'] = '1'; 829 829 $input = new html_checkbox($attrib); 830 830 } 831 else if ($type =='textarea') {831 else if ($type == 'textarea') { 832 832 $attrib['cols'] = $attrib['size']; 833 833 $input = new html_textarea($attrib); 834 834 } 835 else 835 else { 836 if ($attrib['type'] != 'text' && $attrib['type'] != 'hidden') 837 $attrib['type'] = 'text'; 836 838 $input = new html_inputfield($attrib); 839 } 837 840 838 841 // use value from post
Note: See TracChangeset
for help on using the changeset viewer.
