Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev 83 Rev 88
Line 95... Line 95...
95
	
95
	
96
	/**
96
	/**
97
	 * Retourne le titre du contenu de l'application. 
97
	 * Retourne le titre du contenu de l'application. 
98
	 */
98
	 */
99
	public static function getMetaTitre() {
99
	public static function getMetaTitre() {
-
 
100
		$sortie = self::$parametres['sortie']['titre'];
-
 
101
		if (Config::get('sortie_encodage') != Config::get('appli_encodage')) {
-
 
102
			$sortie = mb_convert_encoding($sortie, Config::get('sortie_encodage'), Config::get('appli_encodage'));
-
 
103
		}
100
		return self::$parametres['sortie']['titre'];
104
		return $sortie;
Line 101... Line 105...
101
	}
105
	}
102
	
106
	
103
	/**
107
	/**
104
	 * Retourne la description du contenu de l'application. 
108
	 * Retourne la description du contenu de l'application. 
105
	 */
109
	 */
-
 
110
	public static function getMetaDescription() {
-
 
111
		$sortie = self::$parametres['sortie']['description'];
-
 
112
		if (Config::get('sortie_encodage') != Config::get('appli_encodage')) {
-
 
113
			$sortie = mb_convert_encoding($sortie, Config::get('sortie_encodage'), Config::get('appli_encodage'));
106
	public static function getMetaDescription() {
114
		}
Line 107... Line 115...
107
		return self::$parametres['sortie']['description'];
115
		return $sortie;
108
	}
116
	}
109
	
117
	
110
	/**
118
	/**
111
	 * Retourne les mots-clés (tags) du contenu de l'application. 
119
	 * Retourne les mots-clés (tags) du contenu de l'application. 
-
 
120
	 */
-
 
121
	public static function getMetaTags() {
-
 
122
		$sortie = self::$parametres['sortie']['tags'];
-
 
123
		if (Config::get('sortie_encodage') != Config::get('appli_encodage')) {
112
	 */
124
			$sortie = mb_convert_encoding($sortie, Config::get('sortie_encodage'), Config::get('appli_encodage'));
Line 113... Line 125...
113
	public static function getMetaTags() {
125
		}
114
		return self::$parametres['sortie']['tags'];
126
		return $sortie;
115
	}
127
	}