[SPIP] +2.1.12
[velocampus/web/www.git] / www / ecrire / exec / config_lang.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2011 *
7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
8 * *
9 * Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
10 * Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
11 \***************************************************************************/
12
13 if (!defined('_ECRIRE_INC_VERSION')) return;
14
15 include_spip('inc/presentation');
16
17 // http://doc.spip.org/@exec_config_lang_dist
18 function exec_config_lang_dist()
19 {
20
21 if (!autoriser('configurer', 'lang')) {
22 include_spip('inc/minipres');
23 echo minipres();
24 } else {
25
26 $config = charger_fonction('config', 'inc');
27 $config();
28
29 pipeline('exec_init',array('args'=>array('exec'=>'config_lang'),'data'=>''));
30 $commencer_page = charger_fonction('commencer_page', 'inc');
31 echo $commencer_page(_T('titre_page_config_contenu'), "configuration", "langues");
32
33 echo debut_gauche('', true);
34
35 echo debut_droite('', true);
36
37 echo "<br /><div style='text-align: center'>",
38 gros_titre(_T('info_langues'), '', false),
39 '</div><br />',
40 barre_onglets("config_lang", "langues"),
41 '<br />';
42
43 $langue = charger_fonction('langue', 'configuration');
44 echo $langue();
45
46 $transcodeur = charger_fonction('transcodeur', 'configuration');
47 echo $transcodeur();
48
49 echo fin_gauche(), fin_page();
50 }
51 }
52 ?>