author | Dan |
Tue, 19 Feb 2008 08:27:00 -0500 | |
changeset 434 | 265725bb0ba6 |
parent 411 | d1a95497b68f |
child 468 | 194a19711346 |
permissions | -rw-r--r-- |
1 | 1 |
<?php |
2 |
||
3 |
/* |
|
4 |
* Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
|
411 | 5 |
* Version 1.1.2 (Caoineag alpha 2) |
1 | 6 |
* Copyright (C) 2006-2007 Dan Fuhry |
7 |
* constants.php - important defines used Enano-wide |
|
8 |
* |
|
9 |
* This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
|
10 |
* as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
|
11 |
* |
|
12 |
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied |
|
13 |
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. |
|
14 |
*/ |
|
15 |
||
16 |
// Ban types |
|
17 |
||
18 |
define('BAN_IP', 1); |
|
19 |
define('BAN_USER', 2); |
|
20 |
define('BAN_EMAIL', 3); |
|
21 |
||
22 |
// ACL permission types |
|
23 |
define('AUTH_ALLOW', 4); |
|
24 |
define('AUTH_WIKIMODE', 3); // User can do this if wiki mode is enabled |
|
25 |
define('AUTH_DISALLOW', 2); |
|
26 |
define('AUTH_DENY', 1); // A Deny setting overrides *everything* |
|
27 |
||
28 |
define('ACL_TYPE_GROUP', 1); |
|
29 |
define('ACL_TYPE_USER', 2); |
|
30 |
define('ACL_TYPE_PRESET', 3); |
|
31 |
||
32 |
// System groups |
|
33 |
define('GROUP_ID_ADMIN', 2); |
|
34 |
define('GROUP_ID_MOD', 3); |
|
35 |
||
73
0a74676a2f2f
Made the move to Loch Ness, and got some basic page grouping functionality working. TODO: fix some UI issues in Javascript ACL editor and change non-JS ACL editor to work with page groups too
Dan
parents:
21
diff
changeset
|
36 |
// Page group types |
0a74676a2f2f
Made the move to Loch Ness, and got some basic page grouping functionality working. TODO: fix some UI issues in Javascript ACL editor and change non-JS ACL editor to work with page groups too
Dan
parents:
21
diff
changeset
|
37 |
define('PAGE_GRP_CATLINK', 1); |
0a74676a2f2f
Made the move to Loch Ness, and got some basic page grouping functionality working. TODO: fix some UI issues in Javascript ACL editor and change non-JS ACL editor to work with page groups too
Dan
parents:
21
diff
changeset
|
38 |
define('PAGE_GRP_TAGGED', 2); |
0a74676a2f2f
Made the move to Loch Ness, and got some basic page grouping functionality working. TODO: fix some UI issues in Javascript ACL editor and change non-JS ACL editor to work with page groups too
Dan
parents:
21
diff
changeset
|
39 |
define('PAGE_GRP_NORMAL', 3); |
156
edbff85d43e8
Feature add: new page group type: regular expression match (PCRE)
Dan
parents:
142
diff
changeset
|
40 |
define('PAGE_GRP_REGEX', 4); |
73
0a74676a2f2f
Made the move to Loch Ness, and got some basic page grouping functionality working. TODO: fix some UI issues in Javascript ACL editor and change non-JS ACL editor to work with page groups too
Dan
parents:
21
diff
changeset
|
41 |
|
205 | 42 |
// Identifier for the default meta-language |
43 |
define('LANG_DEFAULT', 0); |
|
44 |
||
1 | 45 |
// |
46 |
// User types - don't touch these |
|
47 |
// |
|
48 |
||
49 |
// User can do absolutely everything |
|
50 |
define('USER_LEVEL_ADMIN', 9); |
|
51 |
||
52 |
// User can edit/[un]approve comments and do some basic administration |
|
53 |
define('USER_LEVEL_MOD', 5); |
|
54 |
||
55 |
// Default for members. When authed at this level, the user can change his/her password. |
|
56 |
define('USER_LEVEL_CHPREF', 3); |
|
57 |
||
58 |
// The level that you will be running at most of the time |
|
59 |
define('USER_LEVEL_MEMBER', 2); |
|
60 |
||
61 |
// Special level for guests |
|
62 |
define('USER_LEVEL_GUEST', 1); |
|
63 |
||
64 |
// Group status |
|
65 |
||
66 |
define('GROUP_CLOSED', 1); |
|
67 |
define('GROUP_REQUEST', 2); |
|
68 |
define('GROUP_HIDDEN', 3); |
|
69 |
define('GROUP_OPEN', 4); |
|
70 |
||
334
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
71 |
// Private message flags |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
72 |
define('PM_UNREAD', 1); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
73 |
define('PM_STARRED', 2); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
74 |
define('PM_SENT', 4); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
75 |
define('PM_DRAFT', 8); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
76 |
define('PM_ARCHIVE', 16); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
77 |
define('PM_TRASH', 32); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
78 |
define('PM_DELIVERED', 64); |
c72b545f1304
More localization work. Resolved major issue with JSON parser not parsing files over ~50KB. Switched JSON parser to the one from the Zend Framework (BSD licensed). Forced to split enano.json into five different files.
Dan
parents:
328
diff
changeset
|
79 |
|
1 | 80 |
// Other stuff |
81 |
||
82 |
define('MAX_PMS_PER_BATCH', 7); // The maximum number of users that users can send PMs to in one go; restriction does not apply to users with mod_misc rights |
|
83 |
define('SEARCH_RESULTS_PER_PAGE', 10); |
|
84 |
define('MYSQL_MAX_PACKET_SIZE', 1048576); // 1MB; this is the default in MySQL 4.x I think |
|
328
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
85 |
define('ENANO_SUPPORT_AVATARS', 1); |
1 | 86 |
|
87 |
// Sidebar |
|
88 |
||
89 |
define('BLOCK_WIKIFORMAT', 0); |
|
90 |
define('BLOCK_TEMPLATEFORMAT', 1); |
|
91 |
define('BLOCK_HTML', 2); |
|
92 |
define('BLOCK_PHP', 3); |
|
93 |
define('BLOCK_PLUGIN', 4); |
|
94 |
define('SIDEBAR_LEFT', 1); |
|
95 |
define('SIDEBAR_RIGHT', 2); |
|
96 |
||
97 |
define('GENERAL_ERROR', 'General error'); |
|
98 |
define('GENERAL_NOTICE', 'Information'); |
|
99 |
define('CRITICAL_ERROR', 'Critical error'); |
|
100 |
||
345
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
101 |
// |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
102 |
// Enano versions progress |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
103 |
// |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
104 |
|
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
105 |
// These constants are used to perform "at least version X" type logic in plugins. Constants should |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
106 |
// be defined as ENANO_ATLEAST_<major version>_<minor version>, and they should match the version of |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
107 |
// the Enano API, not any forked version. This is to ensure that plugins know what features to enable |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
108 |
// and disable for compatibility with both branches. |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
109 |
|
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
110 |
define('ENANO_ATLEAST_1_0', ''); |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
111 |
define('ENANO_ATLEAST_1_1', ''); |
4ccdfeee9a11
WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
Dan
parents:
334
diff
changeset
|
112 |
|
1 | 113 |
// You can un-comment the next line to require database backups to be encrypted using the site's unique key. |
114 |
// This keeps the file safe in transit, but also prevents any type of editing to the file. This is NOT |
|
115 |
// recommended except for tiny sites because encrypting an average of 2MB of data will take a while. |
|
116 |
// define('SQL_BACKUP_CRYPT', ''); |
|
117 |
||
118 |
// Security |
|
119 |
||
98
6457a9b983c6
Fixed non-object reference in databaseless template, added locking for Javascript paginator, made comments on AES key size more clear in constants, and disallowed "anonymous" and IP addresses for admin username in install.php; Loch Ness release candidate
Dan
parents:
73
diff
changeset
|
120 |
// AES cipher strength - defaults to 192 and cannot be changed after installation. |
6457a9b983c6
Fixed non-object reference in databaseless template, added locking for Javascript paginator, made comments on AES key size more clear in constants, and disallowed "anonymous" and IP addresses for admin username in install.php; Loch Ness release candidate
Dan
parents:
73
diff
changeset
|
121 |
// This can be 128, 192, or 256. |
6457a9b983c6
Fixed non-object reference in databaseless template, added locking for Javascript paginator, made comments on AES key size more clear in constants, and disallowed "anonymous" and IP addresses for admin username in install.php; Loch Ness release candidate
Dan
parents:
73
diff
changeset
|
122 |
define('AES_BITS', 192); |
1 | 123 |
|
124 |
// Define this to enable Mcrypt support which makes encryption work faster. This is only triggered if Mcrypt support is detected. |
|
125 |
// THIS IS DISABLED BECAUSE MCRYPT DOES NOT SEEM TO SUPPORT THE AES BLOCK SIZES THAT ENANO USES. |
|
126 |
//define('MCRYPT_ACCEL', ''); |
|
127 |
||
128 |
//if(defined('MCRYPT_RIJNDAEL_' . AES_BITS)) |
|
129 |
//{ |
|
130 |
// eval('$bs = MCRYPT_RIJNDAEL_' . AES_BITS . ';'); |
|
131 |
// $bs = mcrypt_module_get_algo_block_size($bs); |
|
132 |
// $bs = $bs * 8; |
|
133 |
// define('AES_BLOCKSIZE', $bs); |
|
134 |
//} |
|
135 |
// else |
|
136 |
// { |
|
137 |
// define('AES_BLOCKSIZE', AES_BITS); |
|
138 |
// } |
|
139 |
||
348
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
345
diff
changeset
|
140 |
// You probably don't want to change the block size because it will cause the Javascript test vectors to fail. Changing it doesn't |
87e08a6e4fec
Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
Dan
parents:
345
diff
changeset
|
141 |
// significantly increase encryption strength either. |
1 | 142 |
define('AES_BLOCKSIZE', 128); |
143 |
||
352
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
144 |
// Our list of tables included in Enano |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
145 |
$system_table_list = Array( |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
146 |
'categories', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
147 |
'comments', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
148 |
'config', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
149 |
'logs', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
150 |
'page_text', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
151 |
'session_keys', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
152 |
'pages', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
153 |
'users', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
154 |
'users_extra', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
155 |
'themes', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
156 |
'buddies', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
157 |
'banlist', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
158 |
'files', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
159 |
'privmsgs', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
160 |
'sidebar', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
161 |
'hits', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
162 |
'groups', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
163 |
'group_members', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
164 |
'acl', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
165 |
'page_groups', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
166 |
'page_group_members', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
167 |
'tags', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
168 |
'language', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
169 |
'language_strings', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
170 |
'lockout', |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
171 |
'search_index' |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
172 |
); |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
173 |
|
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
174 |
if ( defined('table_prefix') ) |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
175 |
{ |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
176 |
foreach ( $system_table_list as $i => $_ ) |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
177 |
{ |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
178 |
$system_table_list[$i] = table_prefix . $system_table_list[$i]; |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
179 |
} |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
180 |
} |
9d7225c0db6d
Enano's new installable installer, alpha 1. No upgrade and (in some parts) very little localization.
Dan
parents:
348
diff
changeset
|
181 |
|
1 | 182 |
/* |
183 |
* MIMETYPES |
|
184 |
* |
|
185 |
* This array defines the 166 known MIME types used by the Enano file-extension filter. Whether extensions are allowed or not is |
|
186 |
* determined by a bitfield in the config table. |
|
187 |
*/ |
|
188 |
||
189 |
global $mime_types, $mimetype_exps, $mimetype_extlist; |
|
190 |
||
191 |
// IMPORTANT: this array can NEVER have items removed from it or key indexes changed |
|
192 |
$mime_types = Array ( |
|
193 |
'ai' => 'application/postscript', |
|
194 |
'aif' => 'audio/x-aiff', |
|
195 |
'aifc' => 'audio/x-aiff', |
|
196 |
'aiff' => 'audio/x-aiff', |
|
197 |
'au' => 'audio/basic', |
|
198 |
'avi' => 'video/x-msvideo', |
|
199 |
'bcpio' => 'application/x-bcpio', |
|
200 |
'bin' => 'application/octet-stream', |
|
201 |
'bmp' => 'image/bmp', |
|
202 |
'bz2' => 'application/x-bzip', |
|
203 |
'cdf' => 'application/x-netcdf', |
|
204 |
'cgm' => 'image/cgm', |
|
205 |
'class' => 'application/octet-stream', |
|
206 |
'cpio' => 'application/x-cpio', |
|
207 |
'cpt' => 'application/mac-compactpro', |
|
208 |
'csh' => 'application/x-csh', |
|
209 |
'css' => 'text/css', |
|
210 |
'dcr' => 'application/x-director', |
|
211 |
'dir' => 'application/x-director', |
|
212 |
'djv' => 'image/vnd.djvu', |
|
213 |
'djvu' => 'image/vnd.djvu', |
|
214 |
'dll' => 'application/octet-stream', |
|
215 |
'dms' => 'application/octet-stream', |
|
216 |
'doc' => 'application/msword', |
|
217 |
'dtd' => 'application/xml-dtd', |
|
218 |
'dvi' => 'application/x-dvi', |
|
219 |
'dxr' => 'application/x-director', |
|
220 |
'eps' => 'application/postscript', |
|
221 |
'etx' => 'text/x-setext', |
|
222 |
'exe' => 'application/octet-stream', |
|
223 |
'ez' => 'application/andrew-inset', |
|
224 |
'gif' => 'image/gif', |
|
225 |
'gram' => 'application/srgs', |
|
226 |
'grxml' => 'application/srgs+xml', |
|
227 |
'gtar' => 'application/x-gtar', |
|
228 |
'gz' => 'application/x-gzip', |
|
229 |
'hdf' => 'application/x-hdf', |
|
230 |
'hqx' => 'application/mac-binhex40', |
|
231 |
'htm' => 'text/html', |
|
232 |
'html' => 'text/html', |
|
233 |
'ice' => 'x-conference/x-cooltalk', |
|
234 |
'ico' => 'image/x-icon', |
|
235 |
'ics' => 'text/calendar', |
|
236 |
'ief' => 'image/ief', |
|
237 |
'ifb' => 'text/calendar', |
|
238 |
'iges' => 'model/iges', |
|
239 |
'igs' => 'model/iges', |
|
240 |
'jar' => 'application/zip', |
|
241 |
'jpe' => 'image/jpeg', |
|
242 |
'jpeg' => 'image/jpeg', |
|
243 |
'jpg' => 'image/jpeg', |
|
244 |
'js' => 'application/x-javascript', |
|
245 |
'kar' => 'audio/midi', |
|
246 |
'latex' => 'application/x-latex', |
|
247 |
'lha' => 'application/octet-stream', |
|
248 |
'lzh' => 'application/octet-stream', |
|
249 |
'm3u' => 'audio/x-mpegurl', |
|
250 |
'man' => 'application/x-troff-man', |
|
251 |
'mathml' => 'application/mathml+xml', |
|
252 |
'me' => 'application/x-troff-me', |
|
253 |
'mesh' => 'model/mesh', |
|
254 |
'mid' => 'audio/midi', |
|
255 |
'midi' => 'audio/midi', |
|
256 |
'mif' => 'application/vnd.mif', |
|
257 |
'mov' => 'video/quicktime', |
|
258 |
'movie' => 'video/x-sgi-movie', |
|
259 |
'mp2' => 'audio/mpeg', |
|
260 |
'mp3' => 'audio/mpeg', |
|
261 |
'mpe' => 'video/mpeg', |
|
262 |
'mpeg' => 'video/mpeg', |
|
263 |
'mpg' => 'video/mpeg', |
|
264 |
'mpga' => 'audio/mpeg', |
|
265 |
'ms' => 'application/x-troff-ms', |
|
266 |
'msh' => 'model/mesh', |
|
267 |
'mxu' => 'video/vnd.mpegurl', |
|
268 |
'nc' => 'application/x-netcdf', |
|
269 |
'oda' => 'application/oda', |
|
270 |
'ogg' => 'application/ogg', |
|
271 |
'ogm' => 'application/ogg', |
|
272 |
'pbm' => 'image/x-portable-bitmap', |
|
273 |
'pdb' => 'chemical/x-pdb', |
|
274 |
'pdf' => 'application/pdf', |
|
275 |
'pgm' => 'image/x-portable-graymap', |
|
276 |
'pgn' => 'application/x-chess-pgn', |
|
277 |
'png' => 'image/png', |
|
278 |
'pnm' => 'image/x-portable-anymap', |
|
279 |
'ppm' => 'image/x-portable-pixmap', |
|
280 |
'ppt' => 'application/vnd.ms-powerpoint', |
|
281 |
'ps' => 'application/postscript', |
|
282 |
'psd' => 'image/x-photoshop', |
|
283 |
'qt' => 'video/quicktime', |
|
284 |
'ra' => 'audio/x-realaudio', |
|
285 |
'ram' => 'audio/x-pn-realaudio', |
|
286 |
'ras' => 'image/x-cmu-raster', |
|
287 |
'rdf' => 'text/xml', |
|
288 |
'rgb' => 'image/x-rgb', |
|
289 |
'rm' => 'audio/x-pn-realaudio', |
|
290 |
'roff' => 'application/x-troff', |
|
291 |
'rpm' => 'audio/x-pn-realaudio-plugin', |
|
292 |
'rss' => 'text/xml', |
|
293 |
'rtf' => 'text/rtf', |
|
294 |
'rtx' => 'text/richtext', |
|
295 |
'sgm' => 'text/sgml', |
|
296 |
'sgml' => 'text/sgml', |
|
297 |
'sh' => 'application/x-sh', |
|
298 |
'shar' => 'application/x-shar', |
|
299 |
'silo' => 'model/mesh', |
|
300 |
'sit' => 'application/x-stuffit', |
|
301 |
'skd' => 'application/x-koan', |
|
302 |
'skm' => 'application/x-koan', |
|
303 |
'skp' => 'application/x-koan', |
|
304 |
'skt' => 'application/x-koan', |
|
305 |
'smi' => 'application/smil', |
|
306 |
'smil' => 'application/smil', |
|
307 |
'snd' => 'audio/basic', |
|
308 |
'so' => 'application/octet-stream', |
|
309 |
'spl' => 'application/x-futuresplash', |
|
310 |
'src' => 'application/x-wais-source', |
|
311 |
'stc' => 'application/zip', |
|
312 |
'std' => 'application/zip', |
|
313 |
'sti' => 'application/zip', |
|
314 |
'stm' => 'application/zip', |
|
315 |
'stw' => 'application/zip', |
|
316 |
'sv4cpio' => 'application/x-sv4cpio', |
|
317 |
'sv4crc' => 'application/x-sv4crc', |
|
318 |
'svg' => 'image/svg+xml', |
|
319 |
'swf' => 'application/x-shockwave-flash', |
|
320 |
'sxc' => 'application/zip', |
|
321 |
'sxd' => 'application/zip', |
|
322 |
'sxi' => 'application/zip', |
|
323 |
'sxm' => 'application/zip', |
|
324 |
'sxw' => 'application/zip', |
|
325 |
't' => 'application/x-troff', |
|
326 |
'tar' => 'application/x-tar', |
|
327 |
'tcl' => 'application/x-tcl', |
|
328 |
'tex' => 'application/x-tex', |
|
329 |
'texi' => 'application/x-texinfo', |
|
330 |
'texinfo' => 'application/x-texinfo', |
|
331 |
'tif' => 'image/tiff', |
|
332 |
'tiff' => 'image/tiff', |
|
333 |
'tr' => 'application/x-troff', |
|
334 |
'tsv' => 'text/tab-separated-values', |
|
335 |
'txt' => 'text/plain', |
|
336 |
'ustar' => 'application/x-ustar', |
|
337 |
'vcd' => 'application/x-cdlink', |
|
338 |
'vrml' => 'model/vrml', |
|
339 |
'vxml' => 'application/voicexml+xml', |
|
340 |
'wav' => 'audio/x-wav', |
|
341 |
'wbmp' => 'image/vnd.wap.wbmp', |
|
342 |
'wbxml' => 'application/vnd.wap.wbxml', |
|
343 |
'wml' => 'text/vnd.wap.wml', |
|
344 |
'wmlc' => 'application/vnd.wap.wmlc', |
|
345 |
'wmls' => 'text/vnd.wap.wmlscript', |
|
346 |
'wmlsc' => 'application/vnd.wap.wmlscriptc', |
|
347 |
'wrl' => 'model/vrml', |
|
348 |
'xbm' => 'image/x-xbitmap', |
|
349 |
'xcf' => 'image/xcf', |
|
350 |
'xht' => 'application/xhtml+xml', |
|
351 |
'xhtml' => 'application/xhtml+xml', |
|
352 |
'xls' => 'application/vnd.ms-excel', |
|
353 |
'xml' => 'text/xml', |
|
354 |
'xpi' => 'application/zip', |
|
355 |
'xpm' => 'image/x-xpixmap', |
|
356 |
'xsl' => 'text/xml', |
|
357 |
'xslt' => 'text/xml', |
|
358 |
'xwd' => 'image/x-xwindowdump', |
|
359 |
'xyz' => 'chemical/x-xyz', |
|
360 |
'zip' => 'application/zip', |
|
293
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
361 |
'odt' => 'application/vnd.oasis.opendocument.text', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
362 |
'ott' => 'application/vnd.oasis.opendocument.text-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
363 |
'odg' => 'application/vnd.oasis.opendocument.graphics', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
364 |
'otg' => 'application/vnd.oasis.opendocument.graphics-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
365 |
'odp' => 'application/vnd.oasis.opendocument.presentation', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
366 |
'otp' => 'application/vnd.oasis.opendocument.presentation-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
367 |
'ods' => 'application/vnd.oasis.opendocument.spreadsheet', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
368 |
'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
369 |
'odc' => 'application/vnd.oasis.opendocument.chart', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
370 |
'otc' => 'application/vnd.oasis.opendocument.chart-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
371 |
'odi' => 'application/vnd.oasis.opendocument.image', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
372 |
'oti' => 'application/vnd.oasis.opendocument.image-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
373 |
'odf' => 'application/vnd.oasis.opendocument.formula', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
374 |
'otf' => 'application/vnd.oasis.opendocument.formula-template', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
375 |
'odm' => 'application/vnd.oasis.opendocument.text-master', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
376 |
'oth' => 'application/vnd.oasis.opendocument.text-web' |
1 | 377 |
); |
378 |
||
379 |
$mimetype_extlist = Array( |
|
380 |
'application/andrew-inset'=>'ez', |
|
381 |
'application/mac-binhex40'=>'hqx', |
|
382 |
'application/mac-compactpro'=>'cpt', |
|
383 |
'application/mathml+xml'=>'mathml', |
|
384 |
'application/msword'=>'doc', |
|
385 |
'application/octet-stream'=>'bin dms lha lzh exe class so dll', |
|
386 |
'application/oda'=>'oda', |
|
387 |
'application/ogg'=>'ogg ogm', |
|
388 |
'application/pdf'=>'pdf', |
|
389 |
'application/postscript'=>'ai eps ps', |
|
390 |
'application/rdf+xml'=>'rdf', |
|
391 |
'application/smil'=>'smi smil', |
|
392 |
'application/srgs'=>'gram', |
|
393 |
'application/srgs+xml'=>'grxml', |
|
394 |
'application/vnd.mif'=>'mif', |
|
395 |
'application/vnd.ms-excel'=>'xls', |
|
396 |
'application/vnd.ms-powerpoint'=>'ppt', |
|
397 |
'application/vnd.wap.wbxml'=>'wbxml', |
|
398 |
'application/vnd.wap.wmlc'=>'wmlc', |
|
399 |
'application/vnd.wap.wmlscriptc'=>'wmlsc', |
|
400 |
'application/voicexml+xml'=>'vxml', |
|
401 |
'application/x-bcpio'=>'bcpio', |
|
402 |
'application/x-bzip'=>'gz bz2', |
|
403 |
'application/x-cdlink'=>'vcd', |
|
404 |
'application/x-chess-pgn'=>'pgn', |
|
405 |
'application/x-cpio'=>'cpio', |
|
406 |
'application/x-csh'=>'csh', |
|
407 |
'application/x-director'=>'dcr dir dxr', |
|
408 |
'application/x-dvi'=>'dvi', |
|
409 |
'application/x-futuresplash'=>'spl', |
|
410 |
'application/x-gtar'=>'gtar tar', |
|
411 |
'application/x-gzip'=>'gz', |
|
412 |
'application/x-hdf'=>'hdf', |
|
413 |
'application/x-jar'=>'jar', |
|
414 |
'application/x-javascript'=>'js', |
|
415 |
'application/x-koan'=>'skp skd skt skm', |
|
416 |
'application/x-latex'=>'latex', |
|
417 |
'application/x-netcdf'=>'nc cdf', |
|
418 |
'application/x-sh'=>'sh', |
|
419 |
'application/x-shar'=>'shar', |
|
420 |
'application/x-shockwave-flash'=>'swf', |
|
421 |
'application/x-stuffit'=>'sit', |
|
422 |
'application/x-sv4cpio'=>'sv4cpio', |
|
423 |
'application/x-sv4crc'=>'sv4crc', |
|
424 |
'application/x-tar'=>'tar', |
|
425 |
'application/x-tcl'=>'tcl', |
|
426 |
'application/x-tex'=>'tex', |
|
427 |
'application/x-texinfo'=>'texinfo texi', |
|
428 |
'application/x-troff'=>'t tr roff', |
|
429 |
'application/x-troff-man'=>'man', |
|
430 |
'application/x-troff-me'=>'me', |
|
431 |
'application/x-troff-ms'=>'ms', |
|
432 |
'application/x-ustar'=>'ustar', |
|
433 |
'application/x-wais-source'=>'src', |
|
434 |
'application/x-xpinstall'=>'xpi', |
|
435 |
'application/xhtml+xml'=>'xhtml xht', |
|
436 |
'application/xslt+xml'=>'xslt', |
|
437 |
'application/xml'=>'xml xsl', |
|
438 |
'application/xml-dtd'=>'dtd', |
|
439 |
'application/zip'=>'zip jar xpi sxc stc sxd std sxi sti sxm stm sxw stw ', |
|
440 |
'audio/basic'=>'au snd', |
|
441 |
'audio/midi'=>'mid midi kar', |
|
442 |
'audio/mpeg'=>'mpga mp2 mp3', |
|
443 |
'audio/ogg'=>'ogg ', |
|
444 |
'audio/x-aiff'=>'aif aiff aifc', |
|
445 |
'audio/x-mpegurl'=>'m3u', |
|
446 |
'audio/x-ogg'=>'ogg ', |
|
447 |
'audio/x-pn-realaudio'=>'ram rm', |
|
448 |
'audio/x-pn-realaudio-plugin'=>'rpm', |
|
449 |
'audio/x-realaudio'=>'ra', |
|
450 |
'audio/x-wav'=>'wav', |
|
451 |
'chemical/x-pdb'=>'pdb', |
|
452 |
'chemical/x-xyz'=>'xyz', |
|
453 |
'image/bmp'=>'bmp', |
|
454 |
'image/cgm'=>'cgm', |
|
455 |
'image/gif'=>'gif', |
|
456 |
'image/ief'=>'ief', |
|
457 |
'image/jpeg'=>'jpeg jpg jpe', |
|
458 |
'image/png'=>'png', |
|
459 |
'image/svg+xml'=>'svg', |
|
460 |
'image/tiff'=>'tiff tif', |
|
461 |
'image/vnd.djvu'=>'djvu djv', |
|
462 |
'image/vnd.wap.wbmp'=>'wbmp', |
|
463 |
'image/x-cmu-raster'=>'ras', |
|
464 |
'image/x-icon'=>'ico', |
|
465 |
'image/x-portable-anymap'=>'pnm', |
|
466 |
'image/x-portable-bitmap'=>'pbm', |
|
467 |
'image/x-portable-graymap'=>'pgm', |
|
468 |
'image/x-portable-pixmap'=>'ppm', |
|
469 |
'image/x-rgb'=>'rgb', |
|
470 |
'image/x-photoshop'=>'psd', |
|
471 |
'image/x-xbitmap'=>'xbm', |
|
472 |
'image/x-xpixmap'=>'xpm', |
|
473 |
'image/x-xwindowdump'=>'xwd', |
|
474 |
'model/iges'=>'igs iges', |
|
475 |
'model/mesh'=>'msh mesh silo', |
|
476 |
'model/vrml'=>'wrl vrml', |
|
477 |
'text/calendar'=>'ics ifb', |
|
478 |
'text/css'=>'css', |
|
479 |
'text/html'=>'html htm', |
|
480 |
'text/plain'=>'txt', |
|
481 |
'text/richtext'=>'rtx', |
|
482 |
'text/rtf'=>'rtf', |
|
483 |
'text/sgml'=>'sgml sgm', |
|
484 |
'text/tab-separated-values'=>'tsv', |
|
485 |
'text/vnd.wap.wml'=>'wml', |
|
486 |
'text/vnd.wap.wmlscript'=>'wmls', |
|
487 |
'text/xml'=>'xml xsl xslt rss rdf', |
|
488 |
'text/x-setext'=>'etx', |
|
489 |
'video/mpeg'=>'mpeg mpg mpe', |
|
490 |
'video/ogg'=>'ogm ogg', |
|
491 |
'video/quicktime'=>'qt mov', |
|
492 |
'video/vnd.mpegurl'=>'mxu', |
|
493 |
'video/x-msvideo'=>'avi', |
|
494 |
'video/x-ogg'=>'ogm ogg', |
|
495 |
'video/x-sgi-movie'=>'movie', |
|
496 |
'x-conference/x-cooltalk'=>'ice', |
|
497 |
// Added for Enano |
|
498 |
'image/xcf' => 'xcf xcfbz2 xcf.bz2', |
|
293
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
499 |
'application/vnd.oasis.opendocument.text' => 'odt', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
500 |
'application/vnd.oasis.opendocument.text-template' => 'ott', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
501 |
'application/vnd.oasis.opendocument.graphics' => 'odg', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
502 |
'application/vnd.oasis.opendocument.graphics-template' => 'otg', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
503 |
'application/vnd.oasis.opendocument.presentation' => 'odp', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
504 |
'application/vnd.oasis.opendocument.presentation-template' => 'otp', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
505 |
'application/vnd.oasis.opendocument.spreadsheet' => 'ods', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
506 |
'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
507 |
'application/vnd.oasis.opendocument.chart' => 'odc', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
508 |
'application/vnd.oasis.opendocument.chart-template' => 'otc', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
509 |
'application/vnd.oasis.opendocument.image' => 'odi', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
510 |
'application/vnd.oasis.opendocument.image-template' => 'oti', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
511 |
'application/vnd.oasis.opendocument.formula' => 'odf', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
512 |
'application/vnd.oasis.opendocument.formula-template' => 'otf', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
513 |
'application/vnd.oasis.opendocument.text-master' => 'odm', |
3f98d4ba1e33
Added OpenDocument MIME types and extensions; make sql_report page show total time taken for SQL queries
Dan
parents:
272
diff
changeset
|
514 |
'application/vnd.oasis.opendocument.text-web' => 'oth' |
1 | 515 |
); |
516 |
||
517 |
$k = array_keys($mime_types); |
|
518 |
$mimetype_exps = Array(); |
|
519 |
foreach($k as $s => $x) |
|
520 |
{ |
|
521 |
$mimetype_exps[$x] = pow(2, $s); |
|
522 |
} |
|
523 |
||
524 |
unset($k, $s, $x); |
|
328
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
525 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
526 |
/****************************************************************************** |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
527 |
* Global Variable: JPEG_Segment_Names |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
528 |
* |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
529 |
* Contents: The names of the JPEG segment markers, indexed by their marker number. This data is from the PHP JPEG Metadata Toolkit. Licensed under the GPLv2 or later. |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
530 |
* |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
531 |
******************************************************************************/ |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
532 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
533 |
$GLOBALS[ "JPEG_Segment_Names" ] = array( |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
534 |
0xC0 => "SOF0", 0xC1 => "SOF1", 0xC2 => "SOF2", 0xC3 => "SOF4", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
535 |
0xC5 => "SOF5", 0xC6 => "SOF6", 0xC7 => "SOF7", 0xC8 => "JPG", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
536 |
0xC9 => "SOF9", 0xCA => "SOF10", 0xCB => "SOF11", 0xCD => "SOF13", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
537 |
0xCE => "SOF14", 0xCF => "SOF15", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
538 |
0xC4 => "DHT", 0xCC => "DAC", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
539 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
540 |
0xD0 => "RST0", 0xD1 => "RST1", 0xD2 => "RST2", 0xD3 => "RST3", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
541 |
0xD4 => "RST4", 0xD5 => "RST5", 0xD6 => "RST6", 0xD7 => "RST7", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
542 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
543 |
0xD8 => "SOI", 0xD9 => "EOI", 0xDA => "SOS", 0xDB => "DQT", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
544 |
0xDC => "DNL", 0xDD => "DRI", 0xDE => "DHP", 0xDF => "EXP", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
545 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
546 |
0xE0 => "APP0", 0xE1 => "APP1", 0xE2 => "APP2", 0xE3 => "APP3", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
547 |
0xE4 => "APP4", 0xE5 => "APP5", 0xE6 => "APP6", 0xE7 => "APP7", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
548 |
0xE8 => "APP8", 0xE9 => "APP9", 0xEA => "APP10", 0xEB => "APP11", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
549 |
0xEC => "APP12", 0xED => "APP13", 0xEE => "APP14", 0xEF => "APP15", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
550 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
551 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
552 |
0xF0 => "JPG0", 0xF1 => "JPG1", 0xF2 => "JPG2", 0xF3 => "JPG3", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
553 |
0xF4 => "JPG4", 0xF5 => "JPG5", 0xF6 => "JPG6", 0xF7 => "JPG7", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
554 |
0xF8 => "JPG8", 0xF9 => "JPG9", 0xFA => "JPG10", 0xFB => "JPG11", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
555 |
0xFC => "JPG12", 0xFD => "JPG13", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
556 |
|
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
557 |
0xFE => "COM", 0x01 => "TEM", 0x02 => "RES", |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
558 |
); |
dc838fd61a06
Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Dan
parents:
326
diff
changeset
|
559 |