/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/config/user_agents.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-30 12:02:31 UTC
  • mfrom: (85.1.28 lenasys)
  • Revision ID: gustav.hartvigsson@gmail.com-20130530120231-ttqgqjqw2w8enn7g
Merged Ohlsons changes:
added function to get ssn and name for the registrationspages in the user model.
added the registrationpage for students.
edited the registration page for instructors
edited the css for both the registrationpages
minor fix to registration css

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
 
2
/*
 
3
| -------------------------------------------------------------------
 
4
| USER AGENT TYPES
 
5
| -------------------------------------------------------------------
 
6
| This file contains four arrays of user agent data.  It is used by the
 
7
| User Agent Class to help identify browser, platform, robot, and
 
8
| mobile device data.  The array keys are used to identify the device
 
9
| and the array values are used to set the actual name of the item.
 
10
|
 
11
*/
 
12
 
 
13
$platforms = array (
 
14
                                        'android 4.2'           => 'Android Jellybean',
 
15
                                        'android 4.1'           => 'Android Jellybean',
 
16
                                        'android 4.0'           => 'Android Ice Cream Sandwich',
 
17
                                        'android 3'                     => 'Android Honeycomb',
 
18
                                        'android 2.3'           => 'Android Gingerbread',
 
19
                                        'android 2.2'           => 'Android Froyo',
 
20
                                        'android'                       => 'Android',
 
21
                                        'windows nt 6.2'        => 'Windows 8/RT',
 
22
                                        'windows nt 6.1'        => 'Windows 7',
 
23
                                        'windows nt 6.0'        => 'Windows Longhorn/Vista',
 
24
                                        'windows nt 5.2'        => 'Windows 2003',
 
25
                                        'windows nt 5.0'        => 'Windows 2000',
 
26
                                        'windows nt 5.1'        => 'Windows XP',
 
27
                                        'windows nt 4.0'        => 'Windows NT 4.0',
 
28
                                        'winnt4.0'                      => 'Windows NT 4.0',
 
29
                                        'winnt 4.0'                     => 'Windows NT',
 
30
                                        'winnt'                         => 'Windows NT',
 
31
                                        'windows 98'            => 'Windows 98',
 
32
                                        'win98'                         => 'Windows 98',
 
33
                                        'windows 95'            => 'Windows 95',
 
34
                                        'win95'                         => 'Windows 95',
 
35
                                        'windows'                       => 'Unknown Windows OS',
 
36
                                        'os x'                          => 'Mac OS X',
 
37
                                        'ppc mac'                       => 'Power PC Mac',
 
38
                                        'freebsd'                       => 'FreeBSD',
 
39
                                        'ppc'                           => 'Macintosh',
 
40
                                        'linux'                         => 'Linux',
 
41
                                        'debian'                        => 'Debian',
 
42
                                        'sunos'                         => 'Sun Solaris',
 
43
                                        'beos'                          => 'BeOS',
 
44
                                        'apachebench'           => 'ApacheBench',
 
45
                                        'aix'                           => 'AIX',
 
46
                                        'irix'                          => 'Irix',
 
47
                                        'osf'                           => 'DEC OSF',
 
48
                                        'hp-ux'                         => 'HP-UX',
 
49
                                        'netbsd'                        => 'NetBSD',
 
50
                                        'bsdi'                          => 'BSDi',
 
51
                                        'openbsd'                       => 'OpenBSD',
 
52
                                        'gnu'                           => 'GNU/Linux',
 
53
                                        'unix'                          => 'Unknown Unix OS'
 
54
                                );
 
55
 
 
56
 
 
57
// The order of this array should NOT be changed. Many browsers return
 
58
// multiple browser types so we want to identify the sub-type first.
 
59
$browsers = array(
 
60
                                        'Flock'                         => 'Flock',
 
61
                                        'Chrome'                        => 'Chrome',
 
62
                                        'Opera'                         => 'Opera',
 
63
                                        'MSIE'                          => 'Internet Explorer',
 
64
                                        'Internet Explorer'     => 'Internet Explorer',
 
65
                                        'Shiira'                        => 'Shiira',
 
66
                                        'Firefox'                       => 'Firefox',
 
67
                                        'Chimera'                       => 'Chimera',
 
68
                                        'Phoenix'                       => 'Phoenix',
 
69
                                        'Firebird'                      => 'Firebird',
 
70
                                        'Camino'                        => 'Camino',
 
71
                                        'Netscape'                      => 'Netscape',
 
72
                                        'OmniWeb'                       => 'OmniWeb',
 
73
                                        'Safari'                        => 'Safari',
 
74
                                        'Mozilla'                       => 'Mozilla',
 
75
                                        'Konqueror'                     => 'Konqueror',
 
76
                                        'icab'                          => 'iCab',
 
77
                                        'Lynx'                          => 'Lynx',
 
78
                                        'Links'                         => 'Links',
 
79
                                        'hotjava'                       => 'HotJava',
 
80
                                        'amaya'                         => 'Amaya',
 
81
                                        'IBrowse'                       => 'IBrowse'
 
82
                                );
 
83
 
 
84
$mobiles = array(
 
85
                                        // legacy array, old values commented out
 
86
                                        'mobileexplorer'        => 'Mobile Explorer',
 
87
//                                      'openwave'                      => 'Open Wave',
 
88
//                                      'opera mini'            => 'Opera Mini',
 
89
//                                      'operamini'                     => 'Opera Mini',
 
90
//                                      'elaine'                        => 'Palm',
 
91
                                        'palmsource'            => 'Palm',
 
92
//                                      'digital paths'         => 'Palm',
 
93
//                                      'avantgo'                       => 'Avantgo',
 
94
//                                      'xiino'                         => 'Xiino',
 
95
                                        'palmscape'                     => 'Palmscape',
 
96
//                                      'nokia'                         => 'Nokia',
 
97
//                                      'ericsson'                      => 'Ericsson',
 
98
//                                      'blackberry'            => 'BlackBerry',
 
99
//                                      'motorola'                      => 'Motorola'
 
100
 
 
101
                                        // Phones and Manufacturers
 
102
                                        'motorola'                      => "Motorola",
 
103
                                        'nokia'                         => "Nokia",
 
104
                                        'palm'                          => "Palm",
 
105
                                        'iphone'                        => "Apple iPhone",
 
106
                                        'ipad'                          => "iPad",
 
107
                                        'ipod'                          => "Apple iPod Touch",
 
108
                                        'sony'                          => "Sony Ericsson",
 
109
                                        'ericsson'                      => "Sony Ericsson",
 
110
                                        'blackberry'            => "BlackBerry",
 
111
                                        'cocoon'                        => "O2 Cocoon",
 
112
                                        'blazer'                        => "Treo",
 
113
                                        'lg'                            => "LG",
 
114
                                        'amoi'                          => "Amoi",
 
115
                                        'xda'                           => "XDA",
 
116
                                        'mda'                           => "MDA",
 
117
                                        'vario'                         => "Vario",
 
118
                                        'htc'                           => "HTC",
 
119
                                        'samsung'                       => "Samsung",
 
120
                                        'sharp'                         => "Sharp",
 
121
                                        'sie-'                          => "Siemens",
 
122
                                        'alcatel'                       => "Alcatel",
 
123
                                        'benq'                          => "BenQ",
 
124
                                        'ipaq'                          => "HP iPaq",
 
125
                                        'mot-'                          => "Motorola",
 
126
                                        'playstation portable'  => "PlayStation Portable",
 
127
                                        'hiptop'                        => "Danger Hiptop",
 
128
                                        'nec-'                          => "NEC",
 
129
                                        'panasonic'                     => "Panasonic",
 
130
                                        'philips'                       => "Philips",
 
131
                                        'sagem'                         => "Sagem",
 
132
                                        'sanyo'                         => "Sanyo",
 
133
                                        'spv'                           => "SPV",
 
134
                                        'zte'                           => "ZTE",
 
135
                                        'sendo'                         => "Sendo",
 
136
 
 
137
                                        // Operating Systems
 
138
                                        'symbian'                               => "Symbian",
 
139
                                        'SymbianOS'                             => "SymbianOS",
 
140
                                        'elaine'                                => "Palm",
 
141
                                        'palm'                                  => "Palm",
 
142
                                        'series60'                              => "Symbian S60",
 
143
                                        'windows ce'                    => "Windows CE",
 
144
 
 
145
                                        // Browsers
 
146
                                        'obigo'                                 => "Obigo",
 
147
                                        'netfront'                              => "Netfront Browser",
 
148
                                        'openwave'                              => "Openwave Browser",
 
149
                                        'mobilexplorer'                 => "Mobile Explorer",
 
150
                                        'operamini'                             => "Opera Mini",
 
151
                                        'opera mini'                    => "Opera Mini",
 
152
 
 
153
                                        // Other
 
154
                                        'digital paths'                 => "Digital Paths",
 
155
                                        'avantgo'                               => "AvantGo",
 
156
                                        'xiino'                                 => "Xiino",
 
157
                                        'novarra'                               => "Novarra Transcoder",
 
158
                                        'vodafone'                              => "Vodafone",
 
159
                                        'docomo'                                => "NTT DoCoMo",
 
160
                                        'o2'                                    => "O2",
 
161
 
 
162
                                        // Fallback
 
163
                                        'mobile'                                => "Generic Mobile",
 
164
                                        'wireless'                              => "Generic Mobile",
 
165
                                        'j2me'                                  => "Generic Mobile",
 
166
                                        'midp'                                  => "Generic Mobile",
 
167
                                        'cldc'                                  => "Generic Mobile",
 
168
                                        'up.link'                               => "Generic Mobile",
 
169
                                        'up.browser'                    => "Generic Mobile",
 
170
                                        'smartphone'                    => "Generic Mobile",
 
171
                                        'cellphone'                             => "Generic Mobile"
 
172
                                );
 
173
 
 
174
// There are hundreds of bots but these are the most common.
 
175
$robots = array(
 
176
                                        'googlebot'                     => 'Googlebot',
 
177
                                        'msnbot'                        => 'MSNBot',
 
178
                                        'slurp'                         => 'Inktomi Slurp',
 
179
                                        'yahoo'                         => 'Yahoo',
 
180
                                        'askjeeves'                     => 'AskJeeves',
 
181
                                        'fastcrawler'           => 'FastCrawler',
 
182
                                        'infoseek'                      => 'InfoSeek Robot 1.0',
 
183
                                        'lycos'                         => 'Lycos'
 
184
                                );
 
185
 
 
186
/* End of file user_agents.php */
 
187
/* Location: ./application/config/user_agents.php */
 
 
b'\\ No newline at end of file'