1 |
<?php |
2 |
/* This file is part of BBClone (A PHP based Web Counter on Steroids) |
3 |
* |
4 |
* SVN FILE $Id$ |
5 |
* |
6 |
* Copyright (C) 2001-2014, the BBClone Team (see doc/authors.txt for details) |
7 |
* |
8 |
* This program is free software: you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
10 |
* the Free Software Foundation, either version 3 of the License, or |
11 |
* (at your option) any later version. |
12 |
* |
13 |
* This program is distributed in the hope that it will be useful, |
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
* GNU General Public License for more details. |
17 |
* |
18 |
* See doc/copying.txt for details |
19 |
*/ |
20 |
|
21 |
///////////////////////////////////// |
22 |
// OS (Operation System) Detection // |
23 |
///////////////////////////////////// |
24 |
|
25 |
$os = array( |
26 |
"aix"=> array( |
27 |
"icon"=> "aix", |
28 |
"title" => "AIX", |
29 |
"rule" => array( |
30 |
"-aix([0-9.]{1,10})" => "\\1", |
31 |
"[ ;\(]aix" => "" |
32 |
), |
33 |
"uri" => "" |
34 |
), |
35 |
"amiga" => array( |
36 |
"icon" => "amiga", |
37 |
"title" => "AmigaOS", |
38 |
"rule" => array( |
39 |
"Amiga[ ]?OS[ /]([0-9.V]{1,10})" => "\\1", |
40 |
"amiga" => "" |
41 |
), |
42 |
"uri" => "" |
43 |
), |
44 |
"android" => array( |
45 |
"icon" => "android", |
46 |
"title" => "Android", |
47 |
"rule" => array( |
48 |
"Android ([0-9.]{1,10})" => "\\1", |
49 |
"Android" => "" |
50 |
), |
51 |
"uri" => "http://www.android.com/" |
52 |
), |
53 |
"aptosid" => array( |
54 |
"icon" => "aptosid", |
55 |
"title" => "aptosid Linux", |
56 |
"rule" => array( |
57 |
"aptosid" => "" |
58 |
), |
59 |
"uri" => "http://aptosid.com/" |
60 |
), |
61 |
"arch" => array( |
62 |
"icon" => "arch", |
63 |
"title" => "Arch Linux", |
64 |
"rule" => array( |
65 |
"Arch Linux" => "" |
66 |
), |
67 |
"uri" => "http://www.archlinux.org/" |
68 |
), |
69 |
"atari" => array( |
70 |
"icon" => "question", |
71 |
"title" => "Atari", |
72 |
"rule" => array( |
73 |
"atari[ /]([0-9.b]{1,10})" => "\\1" |
74 |
), |
75 |
"uri" => "http://www.atari.com/" |
76 |
), |
77 |
"atheos" => array( |
78 |
"icon" => "atheos", |
79 |
"title" => "AtheOS", |
80 |
"rule" => array( |
81 |
"atheos" => "" |
82 |
), |
83 |
"uri" => "" |
84 |
), |
85 |
"bada" => array( |
86 |
"icon" => "bada", |
87 |
"title" => "Bada", |
88 |
"rule" => array( |
89 |
"Bada[ /]([0-9]{1,10})" => "\\1" |
90 |
), |
91 |
"uri" => "http://www.bada.com/" |
92 |
), |
93 |
"blackberry" => array( |
94 |
"icon" => "blackberry", |
95 |
"title" => "BlackBerry OS", |
96 |
"rule" => array( |
97 |
"BlackBerry" => "" |
98 |
), |
99 |
"uri" => "http://www.blackberry.com/" |
100 |
), |
101 |
"bluecoat" => array( |
102 |
"icon" => "bluecoat", |
103 |
"title" => "Bluecoat DRTR", |
104 |
"rule" => array( |
105 |
"bluecoat drtr" => "\\1" |
106 |
), |
107 |
"uri" => "" |
108 |
), |
109 |
"brew" => array( |
110 |
"icon" => "brewmp", |
111 |
"title" => "Brew MP", |
112 |
"rule" => array( |
113 |
"BREW[ /]([0-9.]{1,10})" => "\\1" |
114 |
), |
115 |
"uri" => "http://www.brewmp.com/" |
116 |
), |
117 |
"centos" => array( |
118 |
"icon" => "centos", |
119 |
"title" => "CentOS", |
120 |
"rule" => array( |
121 |
"centos([0-9]{1})" => "\\1", |
122 |
"el([0-9.]{1}).*centos" => "\\1", |
123 |
"CentOS" => "" |
124 |
), |
125 |
"uri" => "http://www.centos.org/" |
126 |
), |
127 |
"cerberian" => array( |
128 |
"icon" => "bluecoat", |
129 |
"title" => "Cerberian DRTR", |
130 |
"rule" => array( |
131 |
"Cerberian Drtrs Version[ /\-]([0-9.]{1,10})" => "\\1" |
132 |
), |
133 |
"uri" => "" |
134 |
), |
135 |
"c64" => array( |
136 |
"icon" => "c64", |
137 |
"title" => "Commodore 64", |
138 |
"rule" => array( |
139 |
"Commodore[ ]?64" => "" |
140 |
), |
141 |
"uri" => "" |
142 |
), |
143 |
"darwin" => array( |
144 |
"icon" => "darwin", |
145 |
"title" => "Darwin", |
146 |
"rule" => array( |
147 |
"Darwin[ ]?([0-9.]{1,10})" => "\\1", |
148 |
"Darwin" => "" |
149 |
), |
150 |
"uri" => "" |
151 |
), |
152 |
"digital" => array( |
153 |
"icon" => "digital", |
154 |
"title" => "Digital", |
155 |
"rule" => array( |
156 |
"OSF[0-9][ ]?V(4[0-9.]{1,10})" => "\\1" |
157 |
), |
158 |
"uri" => "" |
159 |
), |
160 |
"dreamcast" => array( |
161 |
"icon" => "dreamcast", |
162 |
"title" => "SEGA Dreamcast", |
163 |
"rule" => array( |
164 |
"\(SonicPassport\)" => "", |
165 |
"\(Dream(Passport|Key)[ /]([0-9.]{1,10})\)" => "", |
166 |
"\(Dream(Passport|Key)[ /]([0-9.]{1,10}); ([A-Z.a-z/]{1,50})\)" => "", |
167 |
"\(Planetweb[ /]([0-9.a-z]{1,10})" => "" |
168 |
), |
169 |
"uri" => "http://css.vis.ne.jp/dp-agent.shtml" |
170 |
), |
171 |
"embedix" => array( |
172 |
"icon" => "question", |
173 |
"title" => "Embedix", |
174 |
"rule" => array( |
175 |
"Embedix" => "" |
176 |
), |
177 |
"uri" => "" |
178 |
), |
179 |
"Fedora Linux" => array( |
180 |
"icon" => "fedora", |
181 |
"title" => "Fedora Linux", |
182 |
"rule" => array( |
183 |
"Fedora/[0-9.-]+fc([0-9]+)" => "\\1", |
184 |
"fedora" => "" |
185 |
), |
186 |
"uri" => "http://fedoraproject.org/" |
187 |
), |
188 |
"fenix" => array( |
189 |
"icon" => "question", |
190 |
"title" => "Fenix", |
191 |
"rule" => array( |
192 |
"Fenix" => "" |
193 |
), |
194 |
"uri" => "" |
195 |
), |
196 |
"freebsd" => array( |
197 |
"icon" => "freebsd", |
198 |
"title" => "FreeBSD", |
199 |
"rule" => array( |
200 |
"free[ \-]?bsd[ /]([a-z0-9._]{1,10})" => "\\1", |
201 |
"free[ \-]?bsd" => "" |
202 |
), |
203 |
"uri" => "http://www.freebsd.org/" |
204 |
), |
205 |
"gentoo" => array( |
206 |
"icon" => "gentoo", |
207 |
"title" => "Gentoo Linux", |
208 |
"rule" => array( |
209 |
"gentoo" => "" |
210 |
), |
211 |
"uri" => "http://www.gentoo.org/" |
212 |
), |
213 |
"haiku" => array( |
214 |
"icon" => "haiku", |
215 |
"title" => "Haiku", |
216 |
"rule" => array( |
217 |
"Haiku BePC" => "" |
218 |
), |
219 |
"uri" => "http://www.haiku-os.org/" |
220 |
), |
221 |
"hiptop" => array( |
222 |
"icon" => "question", |
223 |
"title" => "hiptop", |
224 |
"rule" => array( |
225 |
"Danger hiptop ([0-9.]{1,10})" => "\\1" |
226 |
), |
227 |
"uri" => "" |
228 |
), |
229 |
"hpux" => array( |
230 |
"icon" => "hp", |
231 |
"title" => "HPUX", |
232 |
"rule" => array( |
233 |
"hp[ \-]?ux[ /]([a-z0-9._]{1,10})" => "\\1" |
234 |
), |
235 |
"uri" => "" |
236 |
), |
237 |
"ios" => array( |
238 |
"icon" => "ios", |
239 |
"title" => "iOS", |
240 |
"rule" => array( |
241 |
"i(Phone|Pod|Pad).*OS[ /]([0-9]{1,10})_([0-9]{1,10})" => "\\2.\\3", |
242 |
"i(Phone|Pod|Pad)" => "" |
243 |
), |
244 |
"uri" => "http://www.apple.com/ios/" |
245 |
), |
246 |
"irix" => array( |
247 |
"icon" => "irix", |
248 |
"title" => "IRIX", |
249 |
"rule" => array( |
250 |
"irix[0-9]*[ /]([0-9.]{1,10})" => "\\1", |
251 |
"irix" => "" |
252 |
), |
253 |
"uri" => "" |
254 |
), |
255 |
"macosx" => array( |
256 |
"icon" => "macosx", |
257 |
"title" => "MacOS X", |
258 |
"rule" => array( |
259 |
"Mac[ _]OS[ _]X[ /_]([0-9]{1,10})[._]([0-9]{1,10})[._]([0-9]{1,10})" => "\\1.\\2.\\3", |
260 |
"Mac[ _]OS[ _]X[ /_]([0-9]{1,10})[._]([0-9]{1,10})" => "\\1.\\2", |
261 |
"Mac[ _]OS[ _]X" => "", |
262 |
"Mac 10.([0-9.]{1,10})" => "\\1" |
263 |
), |
264 |
"uri" => "http://www.apple.com/macosx/" |
265 |
), |
266 |
"macppc" => array( |
267 |
"icon" => "macppc", |
268 |
"title" => "MacOS PPC", |
269 |
"rule" => array( |
270 |
"Mac(_Power|intosh.+P)PC" => "" |
271 |
), |
272 |
"uri" => "" |
273 |
), |
274 |
"mandriva" => array( |
275 |
"icon" => "mandriva", |
276 |
"title" => "Mandriva", |
277 |
"rule" => array( |
278 |
"Mandriva[ /]([0-9.]{1,10})" => "\\1", |
279 |
"Linux[ /\-]([0-9.-]{1,10}).mdk" => "", |
280 |
"Linux[ /\-]([0-9.-]{1,10}).mdv" => "\\1" |
281 |
), |
282 |
"uri" => "http://www.mandriva.com/" |
283 |
), |
284 |
|
285 |
"minix" => array( |
286 |
"icon" => "minix", |
287 |
"title" => "Minix", |
288 |
"rule" => array( |
289 |
"Minix[/ ]?([0-9.]{1,10})?" => "\\1" |
290 |
), |
291 |
"uri" => "http://www.minix3.org/" |
292 |
), |
293 |
"mint" => array( |
294 |
"icon" => "mint", |
295 |
"title" => "Linux Mint", |
296 |
"rule" => array( |
297 |
"Linux Mint[/ ]?([0-9.]{1,10})?" => "\\1" |
298 |
), |
299 |
"uri" => "" |
300 |
), |
301 |
"morphos" => array( |
302 |
"icon" => "morphos", |
303 |
"title" => "MorphOS", |
304 |
"rule" => array( |
305 |
"MorphOS[ /]([0-9.]{1,10})" => "\\1", |
306 |
"MorphOS" => "" |
307 |
), |
308 |
"uri" => "" |
309 |
), |
310 |
"netbsd" => array( |
311 |
"icon" => "netbsd", |
312 |
"title" => "NetBSD", |
313 |
"rule" => array( |
314 |
"net[ \-]?bsd[ /]([a-z0-9._]{1,10})" => "\\1", |
315 |
"net[ \-]?bsd" => "" |
316 |
), |
317 |
"uri" => "" |
318 |
), |
319 |
"nintendods" => array( |
320 |
"icon" => "ds", |
321 |
"title" => "Nintento DS", |
322 |
"rule" => array( |
323 |
"Nintendo DS v([0-9.]{1,10})" => "" |
324 |
), |
325 |
"uri" => "" |
326 |
), |
327 |
"openbsd" => array( |
328 |
"icon" => "openbsd", |
329 |
"title" => "OpenBSD", |
330 |
"rule" => array( |
331 |
"open[ \-]?bsd[ /]([a-z0-9._]{1,10})" => "\\1", |
332 |
"open[ \-]?bsd" => "" |
333 |
), |
334 |
"uri" => "" |
335 |
), |
336 |
"openvms" => array( |
337 |
"icon" => "openvms", |
338 |
"title" => "OpenVMS", |
339 |
"rule" => array( |
340 |
"Open[ \-]?VMS[ /]([a-z0-9._]{1,10})" => "\\1", |
341 |
"Open[ \-]?VMS" => "" |
342 |
), |
343 |
"uri" => "" |
344 |
), |
345 |
"palm" => array( |
346 |
"icon" => "palm", |
347 |
"title" => "PalmOS", |
348 |
"rule" => array( |
349 |
"Palm[ \-]?(Source|OS)[ /]?([0-9.]{1,10})" => "\\2", |
350 |
"Palm[ \-]?(Source|OS)" => "" |
351 |
), |
352 |
"uri" => "" |
353 |
), |
354 |
"pclinux" => array( |
355 |
"icon" => "pclinux", |
356 |
"title" => "PCLinuxOS", |
357 |
"rule" => array( |
358 |
"PCLinuxOS[ /]?([0-9.]{1,10})" => "\\1" |
359 |
), |
360 |
"uri" => "http://www.pclinuxos.com/" |
361 |
), |
362 |
"photon" => array( |
363 |
"icon" => "qnx", |
364 |
"title" => "QNX Photon", |
365 |
"rule" => array( |
366 |
"photon" => "", |
367 |
"QNX" => "" |
368 |
), |
369 |
"uri" => "http://www.qnx.com/" |
370 |
), |
371 |
"psp" => array( |
372 |
"icon" => "playstation", |
373 |
"title" => "PlayStation Portable", |
374 |
"rule" => array( |
375 |
"PlayStation Portable.* ([0-9._]{1,10})" => "\\1", |
376 |
"PlayStation Portable" => "" |
377 |
), |
378 |
"uri" => "" |
379 |
), |
380 |
"playstation" => array( |
381 |
"icon" => "playstation", |
382 |
"title" => "PlayStation", |
383 |
"rule" => array( |
384 |
"PlayStation" => "", |
385 |
"PS2" => "" |
386 |
), |
387 |
"uri" => "" |
388 |
), |
389 |
"pld" => array( |
390 |
"icon" => "pld", |
391 |
"title" => "PLD Linux", |
392 |
"rule" => array( |
393 |
"PLD[ /]?([0-9.]{1,10})" => "\\1", |
394 |
"PLD" => "" |
395 |
), |
396 |
"uri" => "http://www.pld-linux.org/" |
397 |
), |
398 |
"reactos" => array( |
399 |
"icon" => "reactos", |
400 |
"title" => "ReactOS", |
401 |
"rule" => array( |
402 |
"ReactOS[ /]?([0-9.]{1,10})" => "\\1", |
403 |
"ReactOS" => "" |
404 |
), |
405 |
"uri" => "http://www.reactos.org/" |
406 |
), |
407 |
"redhat" => array( |
408 |
"icon" => "redhat", |
409 |
"title" => "RedHat", |
410 |
"rule" => array( |
411 |
"Red Hat[ /]?([0-9.]{1,10})" => "\\1", |
412 |
"RedHat" => "" |
413 |
), |
414 |
"uri" => "http://www.redhat.com/" |
415 |
), |
416 |
"risc" => array( |
417 |
"icon" => "risc", |
418 |
"title" => "RiscOS", |
419 |
"rule" => array( |
420 |
"risc[ \-]?os[ /]?([0-9.]{1,10})" => "\\1", |
421 |
"risc[ \-]?os" => "" |
422 |
), |
423 |
"uri" => "" |
424 |
), |
425 |
"slitaz" => array( |
426 |
"icon" => "slitaz", |
427 |
"title" => "SliTaz Linux", |
428 |
"rule" => array( |
429 |
"SliTaz" => "" |
430 |
), |
431 |
"uri" => "http://www.slitaz.org/" |
432 |
), |
433 |
"suse" => array( |
434 |
"icon" => "suse", |
435 |
"title" => "SuSE Linux", |
436 |
"rule" => array( |
437 |
"suse" => "" |
438 |
), |
439 |
"uri" => "http://www.novell.com/linux/" |
440 |
), |
441 |
"sun" => array( |
442 |
"icon" => "sun", |
443 |
"title" => "SunOS", |
444 |
"rule" => array( |
445 |
"sun[ \-]?os[ /]?([0-9.]{1,10})" => "\\1", |
446 |
"sun[ \-]?os" => "", |
447 |
"^SUNPlex[ /]?([0-9.]{1,10})" => "\\1" |
448 |
), |
449 |
"uri" => "" |
450 |
), |
451 |
"symbian" => array( |
452 |
"icon" => "symbian", |
453 |
"title" => "Symbian OS", |
454 |
"rule" => array( |
455 |
"symbian[ \-]?os[ /]?([0-9.]{1,10})" => "\\1", |
456 |
"symbOS" => "", |
457 |
"symbian" => "" |
458 |
), |
459 |
"uri" => "" |
460 |
), |
461 |
"trisquel" => array( |
462 |
"icon" => "trisquel", |
463 |
"title" => "Trisquel GNU Linux", |
464 |
"rule" => array( |
465 |
"Trisquel[ /]([0-9.]{1,10})" => "\\1" |
466 |
), |
467 |
"uri" => "http://trisquel.info/" |
468 |
), |
469 |
"tru64" => array( |
470 |
"icon" => "tru64", |
471 |
"title" => "Tru64", |
472 |
"rule" => array( |
473 |
"OSF[0-9][ ]?V(5[0-9.]{1,10})" => "\\1" |
474 |
), |
475 |
"uri" => "" |
476 |
), |
477 |
"ubuntu" => array( |
478 |
"icon" => "ubuntu", |
479 |
"title" => "Ubuntu Linux", |
480 |
"rule" => array( |
481 |
"ubuntu/([0-9.]+)" => "\\1", |
482 |
"ubuntu" => "" |
483 |
), |
484 |
"uri" => "http://www.ubuntu.com/" |
485 |
), |
486 |
"unixware" => array( |
487 |
"icon" => "sco", |
488 |
"title" => "UnixWare", |
489 |
"rule" => array( |
490 |
"unixware[ /]?([0-9.]{1,10})" => "\\1", |
491 |
"unixware" => "" |
492 |
), |
493 |
"uri" => "" |
494 |
), |
495 |
"wii" => array( |
496 |
"icon" => "wii", |
497 |
"title" => "Wii", |
498 |
"rule" => array( |
499 |
"^Nintendo Wii" => "", |
500 |
" wii" => "" |
501 |
), |
502 |
"uri" => "http://www.wii.com/" |
503 |
), |
504 |
"webos" => array( |
505 |
"icon" => "palm", |
506 |
"title" => "web OS", |
507 |
"rule" => array( |
508 |
"webOS[ /]?([0-9.]{1,10})" => "\\1" |
509 |
), |
510 |
"uri" => "http://www.palm.com/" |
511 |
), |
512 |
"windowsxp64" => array( |
513 |
"icon" => "windowsxp", |
514 |
"title" => "Windows XP (64-bit)", |
515 |
"rule" => array( |
516 |
"wi(n|ndows)[ \-]?(2003|nt[ /]?5\.2).*(WOW64|Win64)" => "" |
517 |
), |
518 |
"uri" => "http://www.microsoft.com/windowsxp/64bit/" |
519 |
), |
520 |
"windows2003" => array( |
521 |
"icon" => "windowsxp", |
522 |
"title" => "Windows 2003", |
523 |
"rule" => array( |
524 |
"wi(n|ndows)[ \-]?(2003|nt[ /]?5\.2)" => "" |
525 |
), |
526 |
"uri" => "http://www.microsoft.com/windowsserver2003/" |
527 |
), |
528 |
"windows2k" => array( |
529 |
"icon" => "windows", |
530 |
"title" => "Windows 2000", |
531 |
"rule" => array( |
532 |
"wi(n|ndows)[ \-]?(2000|nt[ /]?5\.0)" => "" |
533 |
), |
534 |
"uri" => "http://www.microsoft.com/windows2000/" |
535 |
), |
536 |
"windows31" => array( |
537 |
"icon" => "windows31", |
538 |
"title" => "Windows 3.1", |
539 |
"rule" => array( |
540 |
"wi(n|ndows)[ \-]?3\.[1]+" => "", |
541 |
"Win16" => "" |
542 |
), |
543 |
"uri" => "" |
544 |
), |
545 |
"windows95" => array( |
546 |
"icon" => "windows", |
547 |
"title" => "Windows 95", |
548 |
"rule" => array( |
549 |
"wi(n|ndows)[ \-]?95" => "" |
550 |
), |
551 |
"uri" => "http://www.microsoft.com/windows95/" |
552 |
), |
553 |
"windowsce" => array( |
554 |
"icon" => "windowsce", |
555 |
"title" => "Windows CE", |
556 |
"rule" => array( |
557 |
"wi(n|ndows)[ \-]?ce" => "", |
558 |
"wi(n|ndows)[ /.;]*mobile" => "", |
559 |
"(Microsoft|Windows) Pocket" => "" |
560 |
), |
561 |
"uri" => "http://www.microsoft.com/windows/embedded/" |
562 |
), |
563 |
"windowsme" => array( |
564 |
"icon" => "windowsme", |
565 |
"title" => "Windows ME", |
566 |
"rule" => array( |
567 |
"win 9x 4\.90" => "", |
568 |
"wi(n|ndows)[ \-]?me" => "" |
569 |
), |
570 |
"uri" => "http://www.microsoft.com/windowsme/" |
571 |
), |
572 |
"windowsvista" => array( |
573 |
"icon" => "windowsvista", |
574 |
"title" => "Windows Vista", |
575 |
"rule" => array( |
576 |
"Windows Vista" => "", |
577 |
"wi(n|ndows)[ \-]?nt[ /]?6\.0" => "", |
578 |
"wi(n|ndows)[ \-]?6\.0" => "" |
579 |
), |
580 |
"uri" => "http://www.microsoft.com/windowsvista/" |
581 |
), |
582 |
"windows7" => array( |
583 |
"icon" => "windows7", |
584 |
"title" => "Windows 7", |
585 |
"rule" => array( |
586 |
"wi(n|ndows)[ \-]?nt[ /]?6\.1" => "" |
587 |
), |
588 |
"uri" => "http://www.microsoft.com/windows/windows-7/" |
589 |
), |
590 |
"windowsrt" => array( |
591 |
"icon" => "windows8", |
592 |
"title" => "Windows RT", |
593 |
"rule" => array( |
594 |
"wi(n|ndows)[ \-]?nt[ /]?6\.2; ARM" => "", |
595 |
"wi(n|ndows)[ \-]?nt[ /]?6\.3; ARM" => "" |
596 |
), |
597 |
"uri" => "http://www.microsoft.com/windows/" |
598 |
), |
599 |
"windows8" => array( |
600 |
"icon" => "windows8", |
601 |
"title" => "Windows 8", |
602 |
"rule" => array( |
603 |
"wi(n|ndows)[ \-]?nt[ /]?6\.2" => "", |
604 |
"wi(n|ndows)[ \-]?nt[ /]?6\.3" => "" |
605 |
), |
606 |
"uri" => "http://www.microsoft.com/windows/" |
607 |
), |
608 |
"windowsmc" => array( |
609 |
"icon" => "windowsxp", |
610 |
"title" => "Windows Media Center", |
611 |
"rule" => array( |
612 |
"Media Center PC[ /]([0-9.]{1,10})" => "\\1" |
613 |
), |
614 |
"uri" => "http://www.microsoft.com/windowsxp/mediacenter/" |
615 |
), |
616 |
"windowsxp" => array( |
617 |
"icon" => "windowsxp", |
618 |
"title" => "Windows XP", |
619 |
"rule" => array( |
620 |
"Windows XP" => "", |
621 |
"wi(n|ndows)[ \-]?nt[ /]?5\.1" => "" |
622 |
), |
623 |
"uri" => "http://www.microsoft.com/windowsxp/" |
624 |
), |
625 |
"zenwalk" => array( |
626 |
"icon" => "zenwalk", |
627 |
"title" => "Zenwalk", |
628 |
"rule" => array( |
629 |
"Zenwalk GNU Linux" => "" |
630 |
), |
631 |
"uri" => "http://www.zenwalk.org/" |
632 |
), |
633 |
// Catch up for the originals, they got to stay in that order. |
634 |
"debian" => array( |
635 |
"icon" => "debian", |
636 |
"title" => "Debian Linux", |
637 |
"rule" => array( |
638 |
"debian" => "" |
639 |
), |
640 |
"uri" => "http://www.debian.org/" |
641 |
), |
642 |
"beos" => array( |
643 |
"icon" => "be", |
644 |
"title" => "BeOS", |
645 |
"rule" => array( |
646 |
"beos[ a-z]*([0-9.]{1,10})" => "\\1", |
647 |
"beos" => "" |
648 |
), |
649 |
"uri" => "" |
650 |
), |
651 |
"bsd" => array( |
652 |
"icon" => "bsd", |
653 |
"title" => "BSD", |
654 |
"rule" => array( |
655 |
"bsd" => "" |
656 |
), |
657 |
"uri" => "" |
658 |
), |
659 |
"linux" => array( |
660 |
"icon" => "linux", |
661 |
"title" => "Linux", |
662 |
"rule" => array( |
663 |
"linux[ /\-]([a-z0-9._]{1,10})" => "\\1", |
664 |
"linux" => "" |
665 |
), |
666 |
"uri" => "http://www.kernel.org/" |
667 |
), |
668 |
"os2" => array( |
669 |
"icon" => "os2", |
670 |
"title" => "OS/2 Warp", |
671 |
"rule" => array( |
672 |
"warp[ /]?([0-9.]{1,10})" => "\\1", |
673 |
"os[ /]?2" => "" |
674 |
), |
675 |
"uri" => "" |
676 |
), |
677 |
"mac" => array( |
678 |
"icon" => "mac", |
679 |
"title" => "MacOS", |
680 |
"rule" => array( |
681 |
"mac[^hk]" => "" |
682 |
), |
683 |
"uri" => "" |
684 |
), |
685 |
"windowsnt" => array( |
686 |
"icon" => "windows", |
687 |
"title" => "Windows NT", |
688 |
"rule" => array( |
689 |
"wi(n|ndows)[ \-]?nt[ /]?([0-4][0-9.]{1,10})" => "\\2", |
690 |
"wi(n|ndows)[ \-][ /]?([0-4][0-9.]{1,10})" => "\\2", |
691 |
"wi(n|ndows)[ \-]?nt" => "" |
692 |
), |
693 |
"uri" => "http://www.microsoft.com/windowsnt/" |
694 |
), |
695 |
"windows98" => array( |
696 |
"icon" => "windows", |
697 |
"title" => "Windows 98", |
698 |
"rule" => array( |
699 |
"wi(n|ndows)[ \-]?98" => "" |
700 |
), |
701 |
"uri" => "http://www.microsoft.com/windows98/" |
702 |
), |
703 |
"windows" => array( |
704 |
"icon" => "windows", |
705 |
"title" => "Windows", |
706 |
"rule" => array( |
707 |
"wi(n|n32|n64|ndows)" => "" |
708 |
), |
709 |
"uri" => "" |
710 |
), |
711 |
"java" => array( |
712 |
"icon" => "java", |
713 |
"title" => "Java Platform Micro Edition", |
714 |
"rule" => array( |
715 |
"J2ME/MIDP" => "" |
716 |
), |
717 |
"uri" => "http://java.sun.com/" |
718 |
), |
719 |
"mobile" => array( |
720 |
"icon" => "mobile", |
721 |
"title" => "Mobile", |
722 |
"rule" => array( |
723 |
"LG[ /]([0-9A-Z]{1,10})" => "", |
724 |
"MOT[ /\-]([0-9A-Z]{1,10})" => "", |
725 |
"SonyEricsson([0-9A-Z]{1,10})" => "", |
726 |
"SIE([0-9A-Z]{1,10})" => "", |
727 |
"Nokia([0-9A-Z]{1,10})" => "", |
728 |
"KDDI-([0-9A-Z]{1,10})" => "", |
729 |
"^[A-Z]([0-9]{1,3}) " => "", |
730 |
"Configuration[ /]CLDC([0-9.]{1,10})" => "\\1", |
731 |
"MIDP" => "", |
732 |
"UP\.(Browser|Link)" => "", |
733 |
"ibisBrowser" => "", |
734 |
"Mobile" => "" |
735 |
), |
736 |
"uri" => "" |
737 |
), |
738 |
// Things we don't know by now |
739 |
"other" => array( |
740 |
"icon" => "question", |
741 |
"title" => "other", |
742 |
"rule" => array( |
743 |
".*" => "" |
744 |
) |
745 |
) |
746 |
); |
747 |
?> |