bulk upload presentation tweak
This commit is contained in:
parent
fd9443cf84
commit
c8e89c4940
1 changed files with 3 additions and 2 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue