separate uploader info
This commit is contained in:
		
							parent
							
								
									6e8970b15d
								
							
						
					
					
						commit
						7ced04d0d0
					
				@ -68,15 +68,21 @@ class ViewImageTheme extends Themelet {
 | 
				
			|||||||
		$i_owner_id = int_escape($owner->id);
 | 
							$i_owner_id = int_escape($owner->id);
 | 
				
			||||||
		$h_date = autodate($image->posted);
 | 
							$h_date = autodate($image->posted);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$html = "";
 | 
							$html = "<table style='width: 700px;'><tr><td>";
 | 
				
			||||||
		$html .= "<p>Uploaded by <a href='".make_link("user/$h_owner")."'>$h_owner</a> $h_date";
 | 
							$html .= "Uploaded by:";
 | 
				
			||||||
 | 
							//$html .= "<br>".$owner->get_avatar_html();
 | 
				
			||||||
 | 
							$html .= "<br><a href='".make_link("user/$h_owner")."'>$h_owner</a>";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		if($user->can("view_ip")) {
 | 
							if($user->can("view_ip")) {
 | 
				
			||||||
			$html .= " ($h_ip)";
 | 
								$html .= " ($h_ip)";
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							$html .= "<br><small>$h_date";
 | 
				
			||||||
		$html .= $this->format_source($image->source);
 | 
							$html .= $this->format_source($image->source);
 | 
				
			||||||
 | 
							$html .= "</small>";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							$html .= "</td><td>";
 | 
				
			||||||
		$html .= $this->build_image_editor($image, $editor_parts);
 | 
							$html .= $this->build_image_editor($image, $editor_parts);
 | 
				
			||||||
 | 
							$html .= "</td></tr></table>";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		return $html;
 | 
							return $html;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user