bookmarklet for direct transload
git-svn-id: file:///home/shish/svn/shimmie2/trunk@686 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
8ceac6ee19
commit
c2d9f39e7e
@ -42,6 +42,15 @@ class UploadTheme extends Themelet {
|
||||
<div id='upload_completions' style='clear: both;'><small>(Max file size is $max_kb)</small></div>
|
||||
";
|
||||
|
||||
if($tl_enabled) {
|
||||
global $config;
|
||||
$link = make_link("upload");
|
||||
$title = "Upload to " . $config->get_string('title');
|
||||
$html .= '<p><a href="javascript:location.href="' .
|
||||
$link . '?url="+location.href+"&tags="+prompt("enter tags")">' .
|
||||
$title . '</a> (Drag & drop onto your bookmarks toolbar, then click when looking at an image)';
|
||||
}
|
||||
|
||||
$page->set_title("Upload");
|
||||
$page->set_heading("Upload");
|
||||
$page->add_block(new NavBlock());
|
||||
|
Loading…
x
Reference in New Issue
Block a user