[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / extensions / msie_compat / configuration / ie6config.php
1 <?php
2
3 /***************************************************************************\
4 * SPIP, Systeme de publication pour l'internet *
5 * *
6 * Copyright (c) 2001-2014 *
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 include_spip('inc/config');
17
18
19
20 function configuration_ie6config()
21 {
22 $iecompat = $GLOBALS['meta']["iecompat"];
23 if (!$iecompat) $iecompat = "non";
24
25 $res = _T("msiecompat:choix_explication");
26
27 $res .= afficher_choix('iecompat', $iecompat,
28 array('non' => _T("msiecompat:choix_non"),
29 'ifixpng' => _L('iFixPng'),
30 'IE7' => _L("IE7.js"),
31 'IE7squish' => _L("IE7.js + ie7-squish.js"),
32 'IE8' => _L('IE8.js'),
33 'IE8squish' => _L('IE8.js + ie7-squish.js')
34 /*,
35 'IE9' => _L('IE9.js'),
36 'IE9squish' => _L('IE9.js + ie7-squish.js')
37 */
38 ),
39 " <br /> ");
40
41
42 $res = debut_cadre_trait_couleur(find_in_path("imgs/ie6-logo24.png"), true, "", _T("msiecompat:choix_titre"))
43 . ajax_action_post('configurer', 'ie6config', 'configuration','',$res)
44 . fin_cadre_trait_couleur(true);
45
46 return ajax_action_greffe('configurer-ie6config', '', $res);
47
48 }
49 ?>