Revision 1326
Added by Luisehahne over 14 years ago
charsets.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
// $Id$ |
|
4 |
|
|
5 |
/* |
|
6 |
|
|
7 |
Website Baker Project <http://www.websitebaker.org/> |
|
8 |
Copyright (C) 2004-2009, Ryan Djurovich |
|
9 |
|
|
10 |
Website Baker is free software; you can redistribute it and/or modify |
|
11 |
it under the terms of the GNU General Public License as published by |
|
12 |
the Free Software Foundation; either version 2 of the License, or |
|
13 |
(at your option) any later version. |
|
14 |
|
|
15 |
Website Baker is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU General Public License for more details. |
|
19 |
|
|
20 |
You should have received a copy of the GNU General Public License |
|
21 |
along with Website Baker; if not, write to the Free Software |
|
22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
|
|
24 |
*/ |
|
25 |
|
|
26 |
/* |
|
27 |
|
|
28 |
Charset list file |
|
29 |
|
|
30 |
This file is used to generate a list of charsets for the user to select |
|
31 |
|
|
32 |
*/ |
|
33 |
|
|
34 |
if(!defined('WB_URL')) { |
|
35 |
header('Location: ../index.php'); |
|
36 |
exit(0); |
|
37 |
} |
|
38 |
|
|
39 |
// Create array |
|
40 |
$CHARSETS = array(); |
|
41 |
$CHARSETS['utf-8'] = 'Unicode (utf-8)'; |
|
42 |
$CHARSETS['iso-8859-1'] = 'Latin-1 Western European (iso-8859-1)'; |
|
43 |
$CHARSETS['iso-8859-2'] = 'Latin-2 Central European (iso-8859-2)'; |
|
44 |
$CHARSETS['iso-8859-3'] = 'Latin-3 Southern European (iso-8859-3)'; |
|
45 |
$CHARSETS['iso-8859-4'] = 'Latin-4 Baltic (iso-8859-4)'; |
|
46 |
$CHARSETS['iso-8859-5'] = 'Cyrillic (iso-8859-5)'; |
|
47 |
$CHARSETS['iso-8859-6'] = 'Arabic (iso-8859-6)'; |
|
48 |
$CHARSETS['iso-8859-7'] = 'Greek (iso-8859-7)'; |
|
49 |
$CHARSETS['iso-8859-8'] = 'Hebrew (iso-8859-8)'; |
|
50 |
$CHARSETS['iso-8859-9'] = 'Latin-5 Turkish (iso-8859-9)'; |
|
51 |
$CHARSETS['iso-8859-10'] = 'Latin-6 Nordic (iso-8859-10)'; |
|
52 |
$CHARSETS['iso-8859-11'] = 'Thai (iso-8859-11)'; |
|
53 |
$CHARSETS['gb2312'] = 'Chinese Simplified (gb2312)'; |
|
54 |
$CHARSETS['big5'] = 'Chinese Traditional (big5)'; |
|
55 |
$CHARSETS['iso-2022-jp'] = 'Japanese (iso-2022-jp)'; |
|
56 |
$CHARSETS['iso-2022-kr'] = 'Korean (iso-2022-kr)'; |
|
57 |
|
|
1 |
<?php |
|
2 |
/** |
|
3 |
* |
|
4 |
* @category admin |
|
5 |
* @package interface |
|
6 |
* @author WebsiteBaker Project |
|
7 |
* @copyright 2004-2009, Ryan Djurovich |
|
8 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
9 |
* @link http://www.websitebaker2.org/ |
|
10 |
* @license http://www.gnu.org/licenses/gpl.html |
|
11 |
* @platform WebsiteBaker 2.8.x |
|
12 |
* @requirements PHP 4.4.9 and higher |
|
13 |
* @version $Id$ |
|
14 |
* @filesource $HeadURL$ |
|
15 |
* @lastmodified $Date$ |
|
16 |
* |
|
17 |
* Charset list file |
|
18 |
* This file is used to generate a list of charsets for the user to select |
|
19 |
* |
|
20 |
*/ |
|
21 |
|
|
22 |
if(!defined('WB_URL')) { |
|
23 |
header('Location: ../index.php'); |
|
24 |
exit(0); |
|
25 |
} |
|
26 |
|
|
27 |
// Create array |
|
28 |
$CHARSETS = array(); |
|
29 |
$CHARSETS['utf-8'] = 'Unicode (utf-8)'; |
|
30 |
$CHARSETS['iso-8859-1'] = 'Latin-1 Western European (iso-8859-1)'; |
|
31 |
$CHARSETS['iso-8859-2'] = 'Latin-2 Central European (iso-8859-2)'; |
|
32 |
$CHARSETS['iso-8859-3'] = 'Latin-3 Southern European (iso-8859-3)'; |
|
33 |
$CHARSETS['iso-8859-4'] = 'Latin-4 Baltic (iso-8859-4)'; |
|
34 |
$CHARSETS['iso-8859-5'] = 'Cyrillic (iso-8859-5)'; |
|
35 |
$CHARSETS['iso-8859-6'] = 'Arabic (iso-8859-6)'; |
|
36 |
$CHARSETS['iso-8859-7'] = 'Greek (iso-8859-7)'; |
|
37 |
$CHARSETS['iso-8859-8'] = 'Hebrew (iso-8859-8)'; |
|
38 |
$CHARSETS['iso-8859-9'] = 'Latin-5 Turkish (iso-8859-9)'; |
|
39 |
$CHARSETS['iso-8859-10'] = 'Latin-6 Nordic (iso-8859-10)'; |
|
40 |
$CHARSETS['iso-8859-11'] = 'Thai (iso-8859-11)'; |
|
41 |
$CHARSETS['gb2312'] = 'Chinese Simplified (gb2312)'; |
|
42 |
$CHARSETS['big5'] = 'Chinese Traditional (big5)'; |
|
43 |
$CHARSETS['iso-2022-jp'] = 'Japanese (iso-2022-jp)'; |
|
44 |
$CHARSETS['iso-2022-kr'] = 'Korean (iso-2022-kr)'; |
|
45 |
|
|
58 | 46 |
?> |
59 | 47 |
Also available in: Unified diff
Update headerinfos admin/interface