ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BBClone/trunk/lib/os.php
Revision: 343
Committed: Fri Jan 30 10:18:42 2015 UTC (9 years, 9 months ago) by matthys
File size: 18197 byte(s)
Log Message:
Now Windows Phone before Android detaction, due to Windows Phone running on Android-based phones

File Contents

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

Properties

Name Value
svn:keywords Id