| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2,7 +2,7 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					/** | 
					 | 
					 | 
					 | 
					/** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 *  Used to implement the loading of custom pages | 
					 | 
					 | 
					 | 
					 *  Used to implement the loading of custom pages | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 *  | 
					 | 
					 | 
					 | 
					 * | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 * @license see /license.txt | 
					 | 
					 | 
					 | 
					 * @license see /license.txt | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 * @author 2011, Jean-Karim Bockstael <jeankarim@cblue.be> | 
					 | 
					 | 
					 | 
					 * @author 2011, Jean-Karim Bockstael <jeankarim@cblue.be> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 * @author Laurent Opprecht <laurent@opprecht.info> for the Univesity of Geneva | 
					 | 
					 | 
					 | 
					 * @author Laurent Opprecht <laurent@opprecht.info> for the Univesity of Geneva | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -27,7 +27,7 @@ class CustomPages | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /** | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * Returns the path to a custom page. | 
					 | 
					 | 
					 | 
					     * Returns the path to a custom page. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     *  | 
					 | 
					 | 
					 | 
					     * | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @param string $name | 
					 | 
					 | 
					 | 
					     * @param string $name | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @return string | 
					 | 
					 | 
					 | 
					     * @return string | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     */ | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -38,7 +38,7 @@ class CustomPages | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /** | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * If enabled display a custom page and exist. Otherwise log error and returns. | 
					 | 
					 | 
					 | 
					     * If enabled display a custom page and exist. Otherwise log error and returns. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     *  | 
					 | 
					 | 
					 | 
					     * | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @param string $page_name | 
					 | 
					 | 
					 | 
					     * @param string $page_name | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @param array $content used to path data to the custom page | 
					 | 
					 | 
					 | 
					     * @param array $content used to path data to the custom page | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     */ | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -53,15 +53,15 @@ class CustomPages | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            include($file); | 
					 | 
					 | 
					 | 
					            include($file); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            exit; | 
					 | 
					 | 
					 | 
					            exit; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } else { | 
					 | 
					 | 
					 | 
					        } else { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            error_log('CustomPages::displayPage : could not read file ' . $file_name); | 
					 | 
					 | 
					 | 
					            error_log('CustomPages::displayPage : could not read file ' . $file); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    /** | 
					 | 
					 | 
					 | 
					    /** | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * Does not look like this function is being used is being used  | 
					 | 
					 | 
					 | 
					     * Does not look like this function is being used is being used | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     *  | 
					 | 
					 | 
					 | 
					     * | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @param type $url_id | 
					 | 
					 | 
					 | 
					     * @param type $url_id | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     * @return string  | 
					 | 
					 | 
					 | 
					     * @return string | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					     */ | 
					 | 
					 | 
					 | 
					     */ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    public static function getURLImages($url_id = null) | 
					 | 
					 | 
					 | 
					    public static function getURLImages($url_id = null) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    { | 
					 | 
					 | 
					 | 
					    { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -79,4 +79,4 @@ class CustomPages | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return $images; | 
					 | 
					 | 
					 | 
					        return $images; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
				
				
			
		
	
		
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
  |