commit
233f01052e
1 changed files with 8 additions and 0 deletions
|
@ -68,6 +68,14 @@ class UploadTheme extends Themelet {
|
|||
$link . '?url="+location.href+"&tags="+prompt("enter tags")">' .
|
||||
$title . '</a> (Drag & drop onto your bookmarks toolbar, then click when looking at an image)';
|
||||
}
|
||||
if($tl_enabled) {
|
||||
$link = make_http(make_link("upload"));
|
||||
$title = "Danbooru to " . $config->get_string('title');
|
||||
$html .= '<p><a href="javascript:if(document.getElementById("post_old_tags").value.search(/\bflash\b/)==-1) { location.href="' .
|
||||
$link . '?url="+document.getElementById("highres").href+"&tags="+document.getElementById("post_old_tags").value } else { location.href="' .
|
||||
$link . '?url="+document.getElementsByName("movie")[0].value+"&tags="+document.getElementById("post_old_tags").value } ">' .
|
||||
$title . '</a> (As above, Click on a Danbooru-run image page. (This also grabs the tags!))';
|
||||
}
|
||||
|
||||
$page->set_title("Upload");
|
||||
$page->set_heading("Upload");
|
||||
|
|
Reference in a new issue