Foren / Cotonti / Support / Extrafield file, how to use it?

Mr G.
#30365 2. August 2011, 08:05

v 0.9.3, this same on snapshot made from git 4 days ago.

beznazwyrmz.th.jpg

base html generated by Cotonti. i've just put name and descr.and type of field

function  cot_build_extrafields from  /system/extrafields.php returns an array for "file"

PHP
1
2
3
4
5
6
7
case 'file':
            $R["input_text_{$rc_name}"] = (!empty($R["input_text_{$rc_name}"])) ? $R["input_text_{$rc_name}"] : $extrafield['field_html'];
 
            $result['FILE'] = cot_inputbox('file', $name, '');
            $result['DELETE'] = cot_checkbox(false, 'rdel_' . $name, $L['Delete']);
            $result['LINK'] = htmlspecialchars($data);
            break;

But how to display each 'record' from this array?