CustomPages : the provided usage example was incomplete.

skala
jkbockstael 15 years ago
parent cbc494ab9b
commit 5175c06ef2
  1. 3
      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. // 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'); $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 ? // Which language files will we need ?
$language_file = array('courses', 'index', 'registration', 'admin','userInfo'); $language_file = array('courses', 'index', 'registration', 'admin','userInfo');

Loading…
Cancel
Save