RFE: Add file field type to DataForm wobject. Also added ability to have files submitted emailed as attachments when using the mail form mode.
This commit is contained in:
parent
cfd09a5cb6
commit
0de492541b
5 changed files with 120 additions and 5 deletions
|
|
@ -21,8 +21,15 @@ my $quiet; # this line required
|
|||
my $session = start(); # this line required
|
||||
addWikiAssets($session);
|
||||
deleteOldFiles($session);
|
||||
addFileFieldsToDataForm($session);
|
||||
finish($session); # this line required
|
||||
|
||||
#-------------------------------------------------
|
||||
sub addFileFieldsToDataForm {
|
||||
my $session = shift;
|
||||
print "\tAdding File Field Types to the Data Form Wobject\n" unless $quiet;
|
||||
$session->db->write("alter table DataForm add column (mailAttachments int(11) default 0)");
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub deleteOldFiles {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue