double underscore as tag separator
git-svn-id: file:///home/shish/svn/shimmie2/trunk@638 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
6d90231d50
commit
c697694c13
@ -58,8 +58,11 @@ class ArchiveFileHandler extends Extension {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$tmpfile = $fullpath;
|
$tmpfile = $fullpath;
|
||||||
$list .= "<br>".html_escape("$subdir/$filename (".str_replace("/", ",", $subdir).")...");
|
$tags = $subdir;
|
||||||
$error = $this->add_image($tmpfile, $filename, str_replace("/", " ", $subdir));
|
$tags = str_replace("/", " ", $tags);
|
||||||
|
$tags = str_replace("__", " ", $tags);
|
||||||
|
$list .= "<br>".html_escape("$subdir/$filename (".str_replace(" ", ",", $tags).")...");
|
||||||
|
$error = $this->add_image($tmpfile, $filename, $tags);
|
||||||
if(is_null($error)) {
|
if(is_null($error)) {
|
||||||
$list .= "ok\n";
|
$list .= "ok\n";
|
||||||
}
|
}
|
||||||
|
@ -59,8 +59,11 @@ class BulkAdd extends Extension {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$tmpfile = $fullpath;
|
$tmpfile = $fullpath;
|
||||||
$list .= "<br>".html_escape("$subdir/$filename (".str_replace("/", ",", $subdir).")...");
|
$tags = $subdir;
|
||||||
$error = $this->add_image($tmpfile, $filename, str_replace("/", " ", $subdir));
|
$tags = str_replace("/", " ", $tags);
|
||||||
|
$tags = str_replace("__", " ", $tags);
|
||||||
|
$list .= "<br>".html_escape("$subdir/$filename (".str_replace(" ", ",", $tags).")...");
|
||||||
|
$error = $this->add_image($tmpfile, $filename, $tags);
|
||||||
if(is_null($error)) {
|
if(is_null($error)) {
|
||||||
$list .= "ok\n";
|
$list .= "ok\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user