Fix bookmarklet using relative url into absolute url with make_http magic

This commit is contained in:
Josh Sutinen 2010-03-28 22:47:02 -04:00 committed by Shish
parent 9ab6fec30a
commit a8e7389afe

View file

@ -48,7 +48,7 @@ class UploadTheme extends Themelet {
if($tl_enabled) {
global $config;
$link = make_link("upload");
$link = make_http(make_link("upload"));
$title = "Upload to " . $config->get_string('title');
$html .= '<p><a href="javascript:location.href=&quot;' .
$link . '?url=&quot;+location.href+&quot;&amp;tags=&quot;+prompt(&quot;enter tags&quot;)">' .