%#--- Documentation ---*

<%doc>

=head1 NAME

file_upload - Handles the uploading of files to the system

=head1 VERSION

$LastChangedRevision$

=head1 DATE

$LastChangedDate: 2004-06-09 05:19:39 +0200 (Wed, 09 Jun 2004) $

=head1 SYNOPSIS

<& '/widgets/file_upload/file_upload.mc' &>

=head1 DESCRIPTION

=cut

</%doc>

<%once>
my $widget = 'file_upload';
</%once>

%#--- Arguments ---#

<%args>

</%args>

%#--- Initialization ---#

<%init>
# check if we have a file yet
my $file = get_state_data($widget, 'file');

if ($file) {
	# do file things
} else {
	$m->comp('no_file.html', widget => $widget);
}

</%init>

%#--- Log History ---#


