bulk upload presentation tweak

This commit is contained in:
Shish 2008-12-15 15:17:56 -08:00
parent fd9443cf84
commit c8e89c4940

View File

@ -70,13 +70,14 @@ class BulkAdd implements Extension {
$tags = $subdir; $tags = $subdir;
$tags = str_replace("/", " ", $tags); $tags = str_replace("/", " ", $tags);
$tags = str_replace("__", " ", $tags); $tags = str_replace("__", " ", $tags);
$tags = trim($tags);
$list .= "<br>".html_escape("$subdir/$filename (".str_replace(" ", ", ", $tags).")... "); $list .= "<br>".html_escape("$subdir/$filename (".str_replace(" ", ", ", $tags).")... ");
$error = $this->add_image($tmpfile, $filename, $tags); $error = $this->add_image($tmpfile, $filename, $tags);
if(is_null($error)) { if(is_null($error)) {
$list .= "ok\n"; $list .= "ok\n";
} }
else { else {
$list .= "failed: $error\n"; $list .= "failed:<br>$error\n";
} }
} }
} }