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 = str_replace("/", " ", $tags);
$tags = str_replace("__", " ", $tags);
$list .= "<br>".html_escape("$subdir/$filename (".str_replace(" ", ",", $tags).")...");
$tags = trim($tags);
$list .= "<br>".html_escape("$subdir/$filename (".str_replace(" ", ", ", $tags).")... ");
$error = $this->add_image($tmpfile, $filename, $tags);
if(is_null($error)) {
$list .= "ok\n";
}
else {
$list .= "failed: $error\n";
$list .= "failed:<br>$error\n";
}
}
}