- $tpl->add_loop_data('SUCCESS',{FILE => encode_html($file_success),
- FILE_PATH => encode_html(clean_path($virtual.'/'.$file_success))});
+ return devedit_reload({command => 'show', file => $virtual});
+ }
+ else
+ {
+ $tpl->parse_if_block('success',1);
+
+ foreach my $file_success(@success)
+ {
+ $tpl->add_loop_data('SUCCESS',{FILE => encode_html($file_success),
+ FILE_PATH => encode_html(clean_path($virtual.'/'.$file_success))});
+ }