Fix bookmarklet using relative url into absolute url with make_http magic
This commit is contained in:
		
							parent
							
								
									4d5a8c9303
								
							
						
					
					
						commit
						67698b9c35
					
				@ -48,7 +48,7 @@ class UploadTheme extends Themelet {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		if($tl_enabled) {
 | 
							if($tl_enabled) {
 | 
				
			||||||
			global $config;
 | 
								global $config;
 | 
				
			||||||
			$link = make_link("upload");
 | 
								$link = make_http(make_link("upload"));
 | 
				
			||||||
			$title = "Upload to " . $config->get_string('title');
 | 
								$title = "Upload to " . $config->get_string('title');
 | 
				
			||||||
			$html .= '<p><a href="javascript:location.href="' .
 | 
								$html .= '<p><a href="javascript:location.href="' .
 | 
				
			||||||
				$link . '?url="+location.href+"&tags="+prompt("enter tags")">' .
 | 
									$link . '?url="+location.href+"&tags="+prompt("enter tags")">' .
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user