diff --git a/ext/upload/theme.php b/ext/upload/theme.php index f26905c0..a86d6f58 100644 --- a/ext/upload/theme.php +++ b/ext/upload/theme.php @@ -64,8 +64,15 @@ class UploadTheme extends Themelet { if($tl_enabled) { $link = make_http(make_link("upload")); $title = "Upload to " . $config->get_string('title'); + + if($config->get_bool('nice_urls')){ + $delimiter = '?'; + } else { + $delimiter = '&'; + } + $html .= '
' . + $link . $delimiter . 'url="+location.href+"&tags="+prompt("enter tags")">' . $title . ' (Drag & drop onto your bookmarks toolbar, then click when looking at an image)'; }