From 5175c06ef21a7d4fd15ffaacf3323da6661407da Mon Sep 17 00:00:00 2001 From: jkbockstael Date: Fri, 22 Apr 2011 11:49:49 +0200 Subject: [PATCH] CustomPages : the provided usage example was incomplete. --- custompages/language.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custompages/language.inc.php b/custompages/language.inc.php index bfd2a47e06..9c34ed7cc9 100644 --- a/custompages/language.inc.php +++ b/custompages/language.inc.php @@ -47,6 +47,9 @@ function cp_get_lang($variable) { // Also note that this is an example matchin array, not all languages are present. $chamilo_langs = array(null => 'english', 'en' => 'english', 'fr' => 'french', 'es' => 'spanish'); +// Which of these can we actually pick from ? +$available_langs = array('en','fr'); + // Which language files will we need ? $language_file = array('courses', 'index', 'registration', 'admin','userInfo');