ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BBClone/trunk/lib/os.php
Revision: 331
Committed: Sat Dec 13 10:37:05 2014 UTC (9 years, 11 months ago) by joku
File size: 18098 byte(s)
Log Message:
added Crome OS detection

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 ),
144     "cros" => array(
145     "icon" => "cros",
146     "title" => "Crome OS",
147     "rule" => array(
148     "CrOS" => ""
149     ),
150     "uri" => ""
151     ),
152 joku 63 "darwin" => array(
153     "icon" => "darwin",
154     "title" => "Darwin",
155     "rule" => array(
156     "Darwin[ ]?([0-9.]{1,10})" => "\\1",
157     "Darwin" => ""
158     ),
159     "uri" => ""
160     ),
161     "digital" => array(
162     "icon" => "digital",
163     "title" => "Digital",
164     "rule" => array(
165     "OSF[0-9][ ]?V(4[0-9.]{1,10})" => "\\1"
166     ),
167     "uri" => ""
168     ),
169     "dreamcast" => array(
170     "icon" => "dreamcast",
171     "title" => "SEGA Dreamcast",
172     "rule" => array(
173     "\(SonicPassport\)" => "",
174     "\(Dream(Passport|Key)[ /]([0-9.]{1,10})\)" => "",
175     "\(Dream(Passport|Key)[ /]([0-9.]{1,10}); ([A-Z.a-z/]{1,50})\)" => "",
176     "\(Planetweb[ /]([0-9.a-z]{1,10})" => ""
177     ),
178     "uri" => "http://css.vis.ne.jp/dp-agent.shtml"
179     ),
180     "embedix" => array(
181     "icon" => "question",
182     "title" => "Embedix",
183     "rule" => array(
184     "Embedix" => ""
185     ),
186     "uri" => ""
187     ),
188     "Fedora Linux" => array(
189     "icon" => "fedora",
190     "title" => "Fedora Linux",
191     "rule" => array(
192     "Fedora/[0-9.-]+fc([0-9]+)" => "\\1",
193     "fedora" => ""
194     ),
195     "uri" => "http://fedoraproject.org/"
196     ),
197     "fenix" => array(
198     "icon" => "question",
199     "title" => "Fenix",
200     "rule" => array(
201     "Fenix" => ""
202     ),
203     "uri" => ""
204     ),
205     "freebsd" => array(
206     "icon" => "freebsd",
207     "title" => "FreeBSD",
208     "rule" => array(
209     "free[ \-]?bsd[ /]([a-z0-9._]{1,10})" => "\\1",
210     "free[ \-]?bsd" => ""
211     ),
212     "uri" => "http://www.freebsd.org/"
213     ),
214     "gentoo" => array(
215     "icon" => "gentoo",
216     "title" => "Gentoo Linux",
217     "rule" => array(
218     "gentoo" => ""
219     ),
220     "uri" => "http://www.gentoo.org/"
221     ),
222     "haiku" => array(
223     "icon" => "haiku",
224     "title" => "Haiku",
225     "rule" => array(
226     "Haiku BePC" => ""
227     ),
228     "uri" => "http://www.haiku-os.org/"
229     ),
230     "hiptop" => array(
231     "icon" => "question",
232     "title" => "hiptop",
233     "rule" => array(
234     "Danger hiptop ([0-9.]{1,10})" => "\\1"
235     ),
236     "uri" => ""
237     ),
238     "hpux" => array(
239     "icon" => "hp",
240     "title" => "HPUX",
241     "rule" => array(
242     "hp[ \-]?ux[ /]([a-z0-9._]{1,10})" => "\\1"
243     ),
244     "uri" => ""
245     ),
246     "ios" => array(
247     "icon" => "ios",
248     "title" => "iOS",
249     "rule" => array(
250     "i(Phone|Pod|Pad).*OS[ /]([0-9]{1,10})_([0-9]{1,10})" => "\\2.\\3",
251     "i(Phone|Pod|Pad)" => ""
252     ),
253     "uri" => "http://www.apple.com/ios/"
254     ),
255     "irix" => array(
256     "icon" => "irix",
257     "title" => "IRIX",
258     "rule" => array(
259     "irix[0-9]*[ /]([0-9.]{1,10})" => "\\1",
260     "irix" => ""
261     ),
262     "uri" => ""
263     ),
264     "macosx" => array(
265     "icon" => "macosx",
266     "title" => "MacOS X",
267     "rule" => array(
268     "Mac[ _]OS[ _]X[ /_]([0-9]{1,10})[._]([0-9]{1,10})[._]([0-9]{1,10})" => "\\1.\\2.\\3",
269     "Mac[ _]OS[ _]X[ /_]([0-9]{1,10})[._]([0-9]{1,10})" => "\\1.\\2",
270     "Mac[ _]OS[ _]X" => "",
271     "Mac 10.([0-9.]{1,10})" => "\\1"
272     ),
273     "uri" => "http://www.apple.com/macosx/"
274     ),
275     "macppc" => array(
276     "icon" => "macppc",
277     "title" => "MacOS PPC",
278     "rule" => array(
279     "Mac(_Power|intosh.+P)PC" => ""
280     ),
281     "uri" => ""
282     ),
283     "mandriva" => array(
284     "icon" => "mandriva",
285     "title" => "Mandriva",
286     "rule" => array(
287     "Mandriva[ /]([0-9.]{1,10})" => "\\1",
288     "Linux[ /\-]([0-9.-]{1,10}).mdk" => "",
289     "Linux[ /\-]([0-9.-]{1,10}).mdv" => "\\1"
290     ),
291     "uri" => "http://www.mandriva.com/"
292     ),
293    
294     "minix" => array(
295     "icon" => "minix",
296     "title" => "Minix",
297     "rule" => array(
298     "Minix[/ ]?([0-9.]{1,10})?" => "\\1"
299     ),
300     "uri" => "http://www.minix3.org/"
301     ),
302     "mint" => array(
303     "icon" => "mint",
304     "title" => "Linux Mint",
305     "rule" => array(
306     "Linux Mint[/ ]?([0-9.]{1,10})?" => "\\1"
307     ),
308     "uri" => ""
309     ),
310     "morphos" => array(
311     "icon" => "morphos",
312     "title" => "MorphOS",
313     "rule" => array(
314     "MorphOS[ /]([0-9.]{1,10})" => "\\1",
315     "MorphOS" => ""
316     ),
317     "uri" => ""
318     ),
319     "netbsd" => array(
320     "icon" => "netbsd",
321     "title" => "NetBSD",
322     "rule" => array(
323     "net[ \-]?bsd[ /]([a-z0-9._]{1,10})" => "\\1",
324     "net[ \-]?bsd" => ""
325     ),
326     "uri" => ""
327     ),
328     "nintendods" => array(
329     "icon" => "ds",
330     "title" => "Nintento DS",
331     "rule" => array(
332     "Nintendo DS v([0-9.]{1,10})" => ""
333     ),
334     "uri" => ""
335     ),
336     "openbsd" => array(
337     "icon" => "openbsd",
338     "title" => "OpenBSD",
339     "rule" => array(
340     "open[ \-]?bsd[ /]([a-z0-9._]{1,10})" => "\\1",
341     "open[ \-]?bsd" => ""
342     ),
343     "uri" => ""
344     ),
345     "openvms" => array(
346     "icon" => "openvms",
347     "title" => "OpenVMS",
348     "rule" => array(
349     "Open[ \-]?VMS[ /]([a-z0-9._]{1,10})" => "\\1",
350     "Open[ \-]?VMS" => ""
351     ),
352     "uri" => ""
353     ),
354     "palm" => array(
355     "icon" => "palm",
356     "title" => "PalmOS",
357     "rule" => array(
358     "Palm[ \-]?(Source|OS)[ /]?([0-9.]{1,10})" => "\\2",
359     "Palm[ \-]?(Source|OS)" => ""
360     ),
361     "uri" => ""
362     ),
363     "pclinux" => array(
364     "icon" => "pclinux",
365     "title" => "PCLinuxOS",
366     "rule" => array(
367     "PCLinuxOS[ /]?([0-9.]{1,10})" => "\\1"
368     ),
369     "uri" => "http://www.pclinuxos.com/"
370     ),
371     "photon" => array(
372     "icon" => "qnx",
373     "title" => "QNX Photon",
374     "rule" => array(
375     "photon" => "",
376     "QNX" => ""
377     ),
378     "uri" => "http://www.qnx.com/"
379     ),
380     "psp" => array(
381     "icon" => "playstation",
382     "title" => "PlayStation Portable",
383     "rule" => array(
384     "PlayStation Portable.* ([0-9._]{1,10})" => "\\1",
385     "PlayStation Portable" => ""
386     ),
387     "uri" => ""
388     ),
389     "playstation" => array(
390     "icon" => "playstation",
391     "title" => "PlayStation",
392     "rule" => array(
393     "PlayStation" => "",
394     "PS2" => ""
395     ),
396     "uri" => ""
397     ),
398     "pld" => array(
399     "icon" => "pld",
400     "title" => "PLD Linux",
401     "rule" => array(
402     "PLD[ /]?([0-9.]{1,10})" => "\\1",
403     "PLD" => ""
404     ),
405     "uri" => "http://www.pld-linux.org/"
406     ),
407     "reactos" => array(
408     "icon" => "reactos",
409     "title" => "ReactOS",
410     "rule" => array(
411     "ReactOS[ /]?([0-9.]{1,10})" => "\\1",
412     "ReactOS" => ""
413     ),
414     "uri" => "http://www.reactos.org/"
415     ),
416     "redhat" => array(
417     "icon" => "redhat",
418     "title" => "RedHat",
419     "rule" => array(
420     "Red Hat[ /]?([0-9.]{1,10})" => "\\1",
421     "RedHat" => ""
422     ),
423     "uri" => "http://www.redhat.com/"
424     ),
425     "risc" => array(
426     "icon" => "risc",
427     "title" => "RiscOS",
428     "rule" => array(
429     "risc[ \-]?os[ /]?([0-9.]{1,10})" => "\\1",
430     "risc[ \-]?os" => ""
431     ),
432     "uri" => ""
433     ),
434     "slitaz" => array(
435     "icon" => "slitaz",
436     "title" => "SliTaz Linux",
437     "rule" => array(
438     "SliTaz" => ""
439     ),
440     "uri" => "http://www.slitaz.org/"
441     ),
442     "suse" => array(
443     "icon" => "suse",
444     "title" => "SuSE Linux",
445     "rule" => array(
446     "suse" => ""
447     ),
448     "uri" => "http://www.novell.com/linux/"
449     ),
450     "sun" => array(
451     "icon" => "sun",
452     "title" => "SunOS",
453     "rule" => array(
454     "sun[ \-]?os[ /]?([0-9.]{1,10})" => "\\1",
455     "sun[ \-]?os" => "",
456     "^SUNPlex[ /]?([0-9.]{1,10})" => "\\1"
457     ),
458     "uri" => ""
459     ),
460     "symbian" => array(
461     "icon" => "symbian",
462     "title" => "Symbian OS",
463     "rule" => array(
464     "symbian[ \-]?os[ /]?([0-9.]{1,10})" => "\\1",
465     "symbOS" => "",
466     "symbian" => ""
467     ),
468     "uri" => ""
469     ),
470     "trisquel" => array(
471     "icon" => "trisquel",
472     "title" => "Trisquel GNU Linux",
473     "rule" => array(
474     "Trisquel[ /]([0-9.]{1,10})" => "\\1"
475     ),
476     "uri" => "http://trisquel.info/"
477     ),
478     "tru64" => array(
479     "icon" => "tru64",
480     "title" => "Tru64",
481     "rule" => array(
482     "OSF[0-9][ ]?V(5[0-9.]{1,10})" => "\\1"
483     ),
484     "uri" => ""
485     ),
486     "ubuntu" => array(
487     "icon" => "ubuntu",
488     "title" => "Ubuntu Linux",
489     "rule" => array(
490     "ubuntu/([0-9.]+)" => "\\1",
491     "ubuntu" => ""
492     ),
493     "uri" => "http://www.ubuntu.com/"
494     ),
495     "unixware" => array(
496     "icon" => "sco",
497     "title" => "UnixWare",
498     "rule" => array(
499     "unixware[ /]?([0-9.]{1,10})" => "\\1",
500     "unixware" => ""
501     ),
502     "uri" => ""
503     ),
504     "wii" => array(
505     "icon" => "wii",
506     "title" => "Wii",
507     "rule" => array(
508     "^Nintendo Wii" => "",
509     " wii" => ""
510     ),
511     "uri" => "http://www.wii.com/"
512     ),
513     "webos" => array(
514     "icon" => "palm",
515     "title" => "web OS",
516     "rule" => array(
517     "webOS[ /]?([0-9.]{1,10})" => "\\1"
518     ),
519     "uri" => "http://www.palm.com/"
520     ),
521 matthys 299 "windowsphone" => array(
522     "icon" => "windowsphone",
523     "title" => "Windows Phone",
524     "rule" => array(
525 matthys 300 "Windows Phone ([0-9.]{1,10})" => "\\1",
526     "Windows Phone OS ([0-9.]{1,10})" => "\\1"
527 matthys 299 ),
528     "uri" => "http://www.windowsphone.com"
529     ),
530 joku 63 "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 matthys 303 "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 joku 63 "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 joku 256 "ibisBrowser" => "",
760     "Mobile" => ""
761 joku 63 ),
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 joku 256 ?>

Properties

Name Value
svn:keywords Id