"get the new url, email or phone cf's working"

This commit is contained in:
Ralf Becker 2008-06-24 09:56:39 +00:00
parent a4133ab894
commit eb290477dd

View File

@ -227,9 +227,6 @@ class customfields_widget
case 'label' :
$row_class = 'th';
break;
case 'checkbox' :
$input =& etemplate::empty_cell('checkbox',$this->prefix.$lname);
break;
case 'radio' :
if (count($field['values']) == 1 && isset($field['values']['@']))
{
@ -325,6 +322,12 @@ class customfields_widget
unset($widget);
}
break;
case 'url': // other etemplate types, which are used just as is
case 'url-email':
case 'url-phone':
case 'checkbox' :
$input =& etemplate::empty_cell($field['type'],$this->prefix.$lname);
break;
case 'link-entry':
default : // link-entry to given app
$input =& etemplate::empty_cell('link-entry',$this->prefix.$lname,array(