Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 219 | Rev 287 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 219 Rev 259
Line 57... Line 57...
57
       	}
57
       	}
Line 58... Line 58...
58
       	
58
       	
59
    	return Config::get('url_images_especes').$format.'/'.$nom_sci_formate.'.jpg';
59
    	return Config::get('url_images_especes').$format.'/'.$nom_sci_formate.'.jpg';
Line -... Line 60...
-
 
60
    }
-
 
61
    
-
 
62
    public static function getUrlFicheEspece($nom_sci) {
-
 
63
    	
-
 
64
    	$nom_sci_formate = strtolower(str_replace(' ', '_', $nom_sci));
-
 
65
    	return Config::get('url_fiches_especes').$nom_sci_formate.'/';
60
    }
66
    }
Line 61... Line 67...
61
    
67
    
Line 62... Line 68...
62
    public static function getCreditImageEspece($nom_sci) {
68
    public static function getCreditImageEspece($nom_sci) {
Line 84... Line 90...
84
		}
90
		}
Line 85... Line 91...
85
		
91
		
86
		$base_url_reecrite = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REDIRECT_URL'];
92
		$base_url_reecrite = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REDIRECT_URL'];
Line 87... Line 93...
87
		$base_url_reecrite .= '/';
93
		$base_url_reecrite .= '/';
88
		
94
		
Line 89... Line 95...
89
		return $base_vrai_chemin;
95
		return $base_url_reecrite;
Line 90... Line 96...
90
	}
96
	}