ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/BBClone/trunk/lib/os.php
Revision: 303
Committed: Sun Oct 5 09:47:03 2014 UTC (10 years, 1 month ago) by matthys
File size: 17957 byte(s)
Log Message:
Added Windows 10 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     * 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 matthys 299 "windowsphone" => array(
513     "icon" => "windowsphone",
514     "title" => "Windows Phone",
515     "rule" => array(
516 matthys 300 "Windows Phone ([0-9.]{1,10})" => "\\1",
517     "Windows Phone OS ([0-9.]{1,10})" => "\\1"
518 matthys 299 ),
519     "uri" => "http://www.windowsphone.com"
520     ),
521 joku 63 "windowsxp64" => array(
522     "icon" => "windowsxp",
523     "title" => "Windows XP (64-bit)",
524     "rule" => array(
525     "wi(n|ndows)[ \-]?(2003|nt[ /]?5\.2).*(WOW64|Win64)" => ""
526     ),
527     "uri" => "http://www.microsoft.com/windowsxp/64bit/"
528     ),
529     "windows2003" => array(
530     "icon" => "windowsxp",
531     "title" => "Windows 2003",
532     "rule" => array(
533     "wi(n|ndows)[ \-]?(2003|nt[ /]?5\.2)" => ""
534     ),
535     "uri" => "http://www.microsoft.com/windowsserver2003/"
536     ),
537     "windows2k" => array(
538     "icon" => "windows",
539     "title" => "Windows 2000",
540     "rule" => array(
541     "wi(n|ndows)[ \-]?(2000|nt[ /]?5\.0)" => ""
542     ),
543     "uri" => "http://www.microsoft.com/windows2000/"
544     ),
545     "windows31" => array(
546     "icon" => "windows31",
547     "title" => "Windows 3.1",
548     "rule" => array(
549     "wi(n|ndows)[ \-]?3\.[1]+" => "",
550     "Win16" => ""
551     ),
552     "uri" => ""
553     ),
554     "windows95" => array(
555     "icon" => "windows",
556     "title" => "Windows 95",
557     "rule" => array(
558     "wi(n|ndows)[ \-]?95" => ""
559     ),
560     "uri" => "http://www.microsoft.com/windows95/"
561     ),
562     "windowsce" => array(
563     "icon" => "windowsce",
564     "title" => "Windows CE",
565     "rule" => array(
566     "wi(n|ndows)[ \-]?ce" => "",
567     "wi(n|ndows)[ /.;]*mobile" => "",
568     "(Microsoft|Windows) Pocket" => ""
569     ),
570     "uri" => "http://www.microsoft.com/windows/embedded/"
571     ),
572     "windowsme" => array(
573     "icon" => "windowsme",
574     "title" => "Windows ME",
575     "rule" => array(
576     "win 9x 4\.90" => "",
577     "wi(n|ndows)[ \-]?me" => ""
578     ),
579     "uri" => "http://www.microsoft.com/windowsme/"
580     ),
581     "windowsvista" => array(
582     "icon" => "windowsvista",
583     "title" => "Windows Vista",
584     "rule" => array(
585     "Windows Vista" => "",
586     "wi(n|ndows)[ \-]?nt[ /]?6\.0" => "",
587     "wi(n|ndows)[ \-]?6\.0" => ""
588     ),
589     "uri" => "http://www.microsoft.com/windowsvista/"
590     ),
591     "windows7" => array(
592     "icon" => "windows7",
593     "title" => "Windows 7",
594     "rule" => array(
595     "wi(n|ndows)[ \-]?nt[ /]?6\.1" => ""
596     ),
597     "uri" => "http://www.microsoft.com/windows/windows-7/"
598     ),
599     "windowsrt" => array(
600     "icon" => "windows8",
601     "title" => "Windows RT",
602     "rule" => array(
603     "wi(n|ndows)[ \-]?nt[ /]?6\.2; ARM" => "",
604     "wi(n|ndows)[ \-]?nt[ /]?6\.3; ARM" => ""
605     ),
606     "uri" => "http://www.microsoft.com/windows/"
607     ),
608     "windows8" => array(
609     "icon" => "windows8",
610     "title" => "Windows 8",
611     "rule" => array(
612     "wi(n|ndows)[ \-]?nt[ /]?6\.2" => "",
613     "wi(n|ndows)[ \-]?nt[ /]?6\.3" => ""
614     ),
615     "uri" => "http://www.microsoft.com/windows/"
616     ),
617 matthys 303 "windows10" => array(
618     "icon" => "windows8",
619     "title" => "Windows 10",
620     "rule" => array(
621     "wi(n|ndows)[ \-]?nt[ /]?6\.4" => ""
622     ),
623     "uri" => "http://www.microsoft.com/windows/"
624     ),
625 joku 63 "windowsmc" => array(
626     "icon" => "windowsxp",
627     "title" => "Windows Media Center",
628     "rule" => array(
629     "Media Center PC[ /]([0-9.]{1,10})" => "\\1"
630     ),
631     "uri" => "http://www.microsoft.com/windowsxp/mediacenter/"
632     ),
633     "windowsxp" => array(
634     "icon" => "windowsxp",
635     "title" => "Windows XP",
636     "rule" => array(
637     "Windows XP" => "",
638     "wi(n|ndows)[ \-]?nt[ /]?5\.1" => ""
639     ),
640     "uri" => "http://www.microsoft.com/windowsxp/"
641     ),
642     "zenwalk" => array(
643     "icon" => "zenwalk",
644     "title" => "Zenwalk",
645     "rule" => array(
646     "Zenwalk GNU Linux" => ""
647     ),
648     "uri" => "http://www.zenwalk.org/"
649     ),
650     // Catch up for the originals, they got to stay in that order.
651     "debian" => array(
652     "icon" => "debian",
653     "title" => "Debian Linux",
654     "rule" => array(
655     "debian" => ""
656     ),
657     "uri" => "http://www.debian.org/"
658     ),
659     "beos" => array(
660     "icon" => "be",
661     "title" => "BeOS",
662     "rule" => array(
663     "beos[ a-z]*([0-9.]{1,10})" => "\\1",
664     "beos" => ""
665     ),
666     "uri" => ""
667     ),
668     "bsd" => array(
669     "icon" => "bsd",
670     "title" => "BSD",
671     "rule" => array(
672     "bsd" => ""
673     ),
674     "uri" => ""
675     ),
676     "linux" => array(
677     "icon" => "linux",
678     "title" => "Linux",
679     "rule" => array(
680     "linux[ /\-]([a-z0-9._]{1,10})" => "\\1",
681     "linux" => ""
682     ),
683     "uri" => "http://www.kernel.org/"
684     ),
685     "os2" => array(
686     "icon" => "os2",
687     "title" => "OS/2 Warp",
688     "rule" => array(
689     "warp[ /]?([0-9.]{1,10})" => "\\1",
690     "os[ /]?2" => ""
691     ),
692     "uri" => ""
693     ),
694     "mac" => array(
695     "icon" => "mac",
696     "title" => "MacOS",
697     "rule" => array(
698     "mac[^hk]" => ""
699     ),
700     "uri" => ""
701     ),
702     "windowsnt" => array(
703     "icon" => "windows",
704     "title" => "Windows NT",
705     "rule" => array(
706     "wi(n|ndows)[ \-]?nt[ /]?([0-4][0-9.]{1,10})" => "\\2",
707     "wi(n|ndows)[ \-][ /]?([0-4][0-9.]{1,10})" => "\\2",
708     "wi(n|ndows)[ \-]?nt" => ""
709     ),
710     "uri" => "http://www.microsoft.com/windowsnt/"
711     ),
712     "windows98" => array(
713     "icon" => "windows",
714     "title" => "Windows 98",
715     "rule" => array(
716     "wi(n|ndows)[ \-]?98" => ""
717     ),
718     "uri" => "http://www.microsoft.com/windows98/"
719     ),
720     "windows" => array(
721     "icon" => "windows",
722     "title" => "Windows",
723     "rule" => array(
724     "wi(n|n32|n64|ndows)" => ""
725     ),
726     "uri" => ""
727     ),
728     "java" => array(
729     "icon" => "java",
730     "title" => "Java Platform Micro Edition",
731     "rule" => array(
732     "J2ME/MIDP" => ""
733     ),
734     "uri" => "http://java.sun.com/"
735     ),
736     "mobile" => array(
737     "icon" => "mobile",
738     "title" => "Mobile",
739     "rule" => array(
740     "LG[ /]([0-9A-Z]{1,10})" => "",
741     "MOT[ /\-]([0-9A-Z]{1,10})" => "",
742     "SonyEricsson([0-9A-Z]{1,10})" => "",
743     "SIE([0-9A-Z]{1,10})" => "",
744     "Nokia([0-9A-Z]{1,10})" => "",
745     "KDDI-([0-9A-Z]{1,10})" => "",
746     "^[A-Z]([0-9]{1,3}) " => "",
747     "Configuration[ /]CLDC([0-9.]{1,10})" => "\\1",
748     "MIDP" => "",
749     "UP\.(Browser|Link)" => "",
750 joku 256 "ibisBrowser" => "",
751     "Mobile" => ""
752 joku 63 ),
753     "uri" => ""
754     ),
755     // Things we don't know by now
756     "other" => array(
757     "icon" => "question",
758     "title" => "other",
759     "rule" => array(
760     ".*" => ""
761     )
762     )
763     );
764 joku 256 ?>

Properties

Name Value
svn:keywords Id