Merge pull request #4873 from astifter/develop
Remove pagination when empty, move new Member Tips and use common widget to find people.
This commit is contained in:
		
				commit
				
					
						a66e9b81ba
					
				
			
		
					 10 changed files with 77 additions and 63 deletions
				
			
		| 
						 | 
				
			
			@ -191,7 +191,7 @@ function profile_content(App $a, $update = 0)
 | 
			
		|||
		$o .= Widget::commonFriendsVisitor($a->profile['profile_uid']);
 | 
			
		||||
 | 
			
		||||
		if (x($_SESSION, 'new_member') && $is_owner) {
 | 
			
		||||
			$o .= '<a href="newmember" id="newmember-tips" style="font-size: 1.2em;"><b>' . L10n::t('Tips for New Members') . '</b></a>' . EOL;
 | 
			
		||||
			$o .= '<div id="newmember-tips"><a href="newmember"><b>' . L10n::t('Tips for New Members') . '</b></a></div>';
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$commpage = $a->profile['page-flags'] == PAGE_COMMUNITY;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue