Plugin Directory

Changeset 391152


Ignore:
Timestamp:
05/31/2011 08:01:04 AM (15 years ago)
Author:
jbalde
Message:

Changes in trunk for version 2.2

Location:
user-agent-theme-switcher/trunk
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • user-agent-theme-switcher/trunk/UserAgentThemeSwitcher.php

    r390809 r391152  
    66Author: Juan Benavides Romero
    77Author URI: http://www.indalcasa.com
    8 Version: 2.1.0
     8Version: 2.2.0
    99*/
    1010
     
    5454     * @var int
    5555     */
    56     private $version = 200;
     56    private $version = 220;
    5757
    5858
  • user-agent-theme-switcher/trunk/UserAgentThemeSwitcherData.php

    r390809 r391152  
    172172   
    173173   
    174    
     174    /**
     175     * Return a list of tags for show in web (without spider)
     176     * @return array List of tags
     177     */
    175178    public function getWebTags() {
    176179        $tags = $this->getTags();
     
    184187       
    185188        return $webTags;
    186     }
     189    }//getWebTags
    187190   
    188 
    189191
    190192    /**
     
    286288        $this->addBrowser(new BrowserUA('googlebot', 'GoogleBot', null, '^Mozilla\/5\.0 \(compatible; Googlebot\/.\..; \+http:\/\/www\.google\.com\/bot\.html\)$', 'google'));
    287289        $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'));
    289291        $this->addBrowser(new BrowserUA('ie8', 'Internet Explorer 8', null, '^Mozilla\/4\.0 \(compatible; MSIE 8\.0;.*\).*$', 'ie'));
    290292        $this->addBrowser(new BrowserUA('ie9', 'Internet Explorer 9', null, '^Mozilla\/5\.0 \(compatible; MSIE 9\.0;.*\).*$', 'ie'));
     
    302304        $this->addBrowser(new BrowserUA('ipad', 'iPad', null, '^Mozilla\/5.0 \(iPad; .*\).*$', 'tablet'));
    303305        $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'));
    304307       
    305308        $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  
    3636
    3737== 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
    3843
    3944= 2.1.1 =
Note: See TracChangeset for help on using the changeset viewer.