|
|
 |
 |
| AddFilePlaceholderField |
| |
Create an file placeholder field, with links to the replace, delete and download pages |
| |
| Deprecated |
 |
Use AddFileField instead |
| |
| Library |
 |
module::system/webui/forms.whlib |
| |
| Syntax |
 |
PUBLIC MACRO AddFilePlaceholderField (STRING groupname,STRING label,STRING filename,STRING filetype,STRING downloadlink,STRING replacelink,STRING deletelink,BOOLEAN active) |
| |
| Description |
 |
A File placeholder field is a component in a field group (use CreateFieldGroup to create one first) |
| |
| Parameters |
 |
| groupname |
 |
Group to add this field to |
 |
| label |
 |
Label to display |
 |
| filename |
 |
The name of the file |
 |
| filetype |
 |
File type (FIXME: how to encode??) |
 |
| downloadlink |
 |
Link to download page (user should create this page) |
 |
| replacelink |
 |
Link to download page (user should create this page) |
 |
| deletelink |
 |
Link to download page (user should create this page) |
 |
| active |
 |
If there is not yet a file assigned, set this to false |
 |
|
| |
|
|
|
|