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