Shared content now has a surrounding div
This commit is contained in:
		
					parent
					
						
							
								f69409c398
							
						
					
				
			
			
				commit
				
					
						09e63e616a
					
				
			
		
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -468,6 +468,7 @@ function bb_ShareAttributes($share, $simplehtml) {
 | 
			
		|||
				$text .= "<hr />";
 | 
			
		||||
 | 
			
		||||
			$text .= $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote><br />";
 | 
			
		||||
			$text .= "</div>";
 | 
			
		||||
 | 
			
		||||
			break;
 | 
			
		||||
		case 5:
 | 
			
		||||
| 
						 | 
				
			
			@ -489,13 +490,16 @@ function bb_ShareAttributes($share, $simplehtml) {
 | 
			
		|||
				$text .= "<br /><br />".$link;
 | 
			
		||||
			break;
 | 
			
		||||
		default:
 | 
			
		||||
			$headline = trim($share[1]).'<div class="shared_header">';
 | 
			
		||||
			$headline = trim($share[1])."\n";
 | 
			
		||||
			$headline .= '<div class="shared-wrapper">'."\n";
 | 
			
		||||
			$headline .= '<div class="shared_header">'."\n";
 | 
			
		||||
			if ($avatar != "")
 | 
			
		||||
				$headline .= '<img src="'.proxy_url($avatar, false, PROXY_SIZE_MICRO).'" height="32" width="32" >';
 | 
			
		||||
 | 
			
		||||
			$headline .= sprintf(t('<span><a href="%s" target="_blank">%s</a> wrote the following <a href="%s" target="_blank">post</a>'.$reldate.':</span>'), $profile, $author, $link);
 | 
			
		||||
			$headline .= "</div>";
 | 
			
		||||
			$text = $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote>";
 | 
			
		||||
			$headline .= "</div>\n";
 | 
			
		||||
			$text = $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote>\n";
 | 
			
		||||
			$text .= "<div>\n";
 | 
			
		||||
			break;
 | 
			
		||||
	}
 | 
			
		||||
	return($text);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue