--- lib/TWiki/Plugins/BatchUploadPlugin.pm.dist 2006-12-24 14:52:34.000000000 +1300 +++ lib/TWiki/Plugins/BatchUploadPlugin.pm 2007-02-19 21:09:19.000000000 +1300 @@ -94,7 +94,8 @@ "- ${pluginName}::beforeAttachmentSaveHandler( $_[2].$_[1] - attachment: $attrHashRef->{attachment})" ) if $debug; - return if ( !$pluginEnabled ); + my $query = TWiki::Func::getCgiQuery(); + return if ( !$pluginEnabled || !$query->param('batchupload') ); my $attachmentName = $attrHashRef->{attachment}; --- templates/attach.pattern.tmpl.dist 2007-02-19 21:10:19.000000000 +1300 +++ templates/attach.pattern.tmpl 2007-02-19 20:03:32.000000000 +1300 @@ -75,6 +75,9 @@ %MAKETEXT{"Images will be displayed, for other attachments a link will be created."}% %MAKETEXT{"Attachments will not be shown in topic view page."}% + + %MAKETEXT{"Extracts and uploads individual file in zip archive."}% + %TMPL:P{"changepropertiesaction"}% %TMPL:END%