Index: branches/5.1.x/core/units/forms/forms_tp.php =================================================================== diff -u -N --- branches/5.1.x/core/units/forms/forms_tp.php (revision 13086) +++ branches/5.1.x/core/units/forms/forms_tp.php (revision 0) @@ -1,36 +0,0 @@ -SelectParam($params, 'name,field'); - $object =& $this->Application->recallObject($this->getPrefixSpecial(),$this->Prefix, $params); - - $value = $object->GetDBField($field); - - if ($value) return 'checked'; - if (is_null($value)) return $params['default']; - - return ''; - } - - function MaxUploadSize($params) - { - return round(MAX_UPLOAD_SIZE/1024/1024).' Mb'; - } - } \ No newline at end of file