moved shit to trunk
[catagits/Reaction.git] / root / base / file
1 [%
2
3 PROCESS field_base;
4
5 control_block = 'fileselect_control';
6
7 BLOCK fileselect_control;
8
9   %]<input type="file" [% IF id_attr; 'id="'; id_attr; '"'; END; connect_control(self, 'value');
10   # browsers ignore this for security reasons, can be uncommented for testing.
11   # ' value="'; self.value.filename | html; '"';
12   process_attrs(attrs) %] />[% 
13
14 END;
15
16 %]