ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BBClone/trunk/lib/os.php
Revision: 340
Committed: Fri Jan 16 09:38:27 2015 UTC (9 years, 10 months ago) by matthys
File size: 18114 byte(s)
Log Message:
Added link to Chrome OS (Cros Linux)

File Contents

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

Properties

Name Value
svn:keywords Id