Index: trunk/extensions/SemanticForms/includes/SF_FormField.inc |
— | — | @@ -96,8 +96,7 @@ |
97 | 97 | $code_type = array_key_exists('_cod', $datatypeLabels) ? $datatypeLabels['_cod'] : 'code'; |
98 | 98 | $url_type = $datatypeLabels['_uri']; |
99 | 99 | $email_type = $datatypeLabels['_ema']; |
100 | | - $float_type = $datatypeLabels['_num']; |
101 | | - $int_type = $datatypeLabels['_num']; |
| 100 | + $number_type = $datatypeLabels['_num']; |
102 | 101 | $bool_type = $datatypeLabels['_boo']; |
103 | 102 | $date_type = $datatypeLabels['_dat']; |
104 | 103 | $enum_type = 'enumeration'; // not a real type |
— | — | @@ -107,8 +106,7 @@ |
108 | 107 | // the field type and whether this field will contain multiple |
109 | 108 | // values |
110 | 109 | if ($semantic_type == $string_type || |
111 | | - $semantic_type == $float_type || |
112 | | - $semantic_type == $int_type || |
| 110 | + $semantic_type == $number_type || |
113 | 111 | $semantic_type == $url_type || |
114 | 112 | $semantic_type == $email_type) { |
115 | 113 | if ($is_list) { |