Changeset 391152
- Timestamp:
- 05/31/2011 08:01:04 AM (15 years ago)
- Location:
- user-agent-theme-switcher/trunk
- Files:
-
- 1 added
- 1 deleted
- 3 edited
-
UserAgentThemeSwitcher.php (modified) (2 diffs)
-
UserAgentThemeSwitcherData.php (modified) (4 diffs)
-
icon/ie7mobile.png (added)
-
readme.txt (modified) (1 diff)
-
useragent-template.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
user-agent-theme-switcher/trunk/UserAgentThemeSwitcher.php
r390809 r391152 6 6 Author: Juan Benavides Romero 7 7 Author URI: http://www.indalcasa.com 8 Version: 2. 1.08 Version: 2.2.0 9 9 */ 10 10 … … 54 54 * @var int 55 55 */ 56 private $version = 2 00;56 private $version = 220; 57 57 58 58 -
user-agent-theme-switcher/trunk/UserAgentThemeSwitcherData.php
r390809 r391152 172 172 173 173 174 174 /** 175 * Return a list of tags for show in web (without spider) 176 * @return array List of tags 177 */ 175 178 public function getWebTags() { 176 179 $tags = $this->getTags(); … … 184 187 185 188 return $webTags; 186 } 189 }//getWebTags 187 190 188 189 191 190 192 /** … … 286 288 $this->addBrowser(new BrowserUA('googlebot', 'GoogleBot', null, '^Mozilla\/5\.0 \(compatible; Googlebot\/.\..; \+http:\/\/www\.google\.com\/bot\.html\)$', 'google')); 287 289 $this->addBrowser(new BrowserUA('ie6', 'Internet Explorer 6', null, '^Mozilla\/4\.0 \(compatible; MSIE 6\.0;.*\).*$', 'ie')); 288 $this->addBrowser(new BrowserUA('ie7', 'Internet Explorer 7', null, '^Mozilla\/4\.0 \(compatible; MSIE 7\.0; .*\).*$', 'ie'));290 $this->addBrowser(new BrowserUA('ie7', 'Internet Explorer 7', null, '^Mozilla\/4\.0 \(compatible; MSIE 7\.0; Windows NT.*\).*$', 'ie')); 289 291 $this->addBrowser(new BrowserUA('ie8', 'Internet Explorer 8', null, '^Mozilla\/4\.0 \(compatible; MSIE 8\.0;.*\).*$', 'ie')); 290 292 $this->addBrowser(new BrowserUA('ie9', 'Internet Explorer 9', null, '^Mozilla\/5\.0 \(compatible; MSIE 9\.0;.*\).*$', 'ie')); … … 302 304 $this->addBrowser(new BrowserUA('ipad', 'iPad', null, '^Mozilla\/5.0 \(iPad; .*\).*$', 'tablet')); 303 305 $this->addBrowser(new BrowserUA('kindle', 'Amazon Kindle', null, '^Mozilla\/5\.0 \(.*\) AppleWebKit\/.* \(KHTML, like Gecko(.*) Version\/[\d\.]+ Kindle\/.*$', 'tablet')); 306 $this->addBrowser(new BrowserUA('ie7mobile', 'Internet Explorer Mobile 7', null, '^Mozilla\/4\.0 \(compatible; MSIE 7\.0; Windows Phone OS.*\).*$', 'ie,mobile')); 304 307 305 308 $this->addBrowser(new BrowserUA('googlebotmobile', 'GoogleBot Mobile', null, '\(compatible; Googlebot-Mobile\/.\..; \+http:\/\/www\.google.com\/bot.html\)$', 'google,mobile')); -
user-agent-theme-switcher/trunk/readme.txt
r388831 r391152 36 36 37 37 == Changelog == 38 39 = 2.2 = 40 * Added support for Internet Explorer Mobile 7 41 * Fixed some browsers errors 42 * Change the browsers patterns for have more performance 38 43 39 44 = 2.1.1 =
Note: See TracChangeset
for help on using the changeset viewer.