mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Open user page shorcut
This commit is contained in:
		@@ -31,6 +31,16 @@ function openPage(pageURI, additionnalData){
 | 
				
			|||||||
	return ComunicWeb.common.page.openPage(pageURI, additionnalData);
 | 
						return ComunicWeb.common.page.openPage(pageURI, additionnalData);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * Open a user page quickly
 | 
				
			||||||
 | 
					 * 
 | 
				
			||||||
 | 
					 * @param {String} user The ID of the user or its directory
 | 
				
			||||||
 | 
					 * @return {Boolean} True for a success
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					function openUserPage(user){
 | 
				
			||||||
 | 
					    return openPage("user/" + user);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * Check if user is signed in or not
 | 
					 * Check if user is signed in or not
 | 
				
			||||||
 * 
 | 
					 * 
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user