Changeset 1388197
- Timestamp:
- 04/06/2016 01:05:58 PM (10 years ago)
- Location:
- netbiscuits-device-detection
- Files:
-
- 4 edited
- 1 copied
-
tags/1.6 (copied) (copied from netbiscuits-device-detection/trunk)
-
tags/1.6/nb-dd.php (modified) (5 diffs)
-
tags/1.6/readme.txt (modified) (1 diff)
-
trunk/nb-dd.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
netbiscuits-device-detection/tags/1.6/nb-dd.php
r1372870 r1388197 3 3 Plugin Name: Netbiscuits Device Detection 4 4 Description: Take advantage of the world's largest device database, within your server code, by adding Netbiscuits Device Detection to your site. Make intelligent, device-specific adaptations to your pages before sending them to the user's device; send only what they need, and nothing they don't. 5 Version: 1. 55 Version: 1.6 6 6 Author: Netbiscuits GmbH 7 7 Text Domain: nb_device_detection … … 88 88 89 89 private $header_blacklist = array ( 90 // added to force gzip with the header91 90 'Accept-Encoding', 92 91 'Host', … … 107 106 */ 108 107 private function isSmartphone() { 109 $os = strtolower($this->response->device->operatingsystem);108 /*$os = strtolower($this->response->device->operatingsystem); 110 109 $osversion = strtolower($this->response->device->operatingsystemversion); 111 110 // Smartphone whitelist … … 121 120 } else { 122 121 return false; 123 } 122 }*/ 123 return ( $this->response->device->issmartphone === true ? true : false ); 124 124 } 125 125 … … 509 509 //$this->flexboxtweener 510 510 //$this->flexwrap 511 /*512 ** need to clarify the values for this parameter before exposing...513 ** other possible parameters: browserimagemax__, hardwaredisplay__, browserusable__ (dynamic)514 511 $this->imagemaxwidth = $this->response->image->maxwidth; // Numeric 515 512 $this->imagemaxheight = $this->response->image->maxheight; // Numeric 516 */517 513 //$this->pixelratio 518 514 //$this->picture -
netbiscuits-device-detection/tags/1.6/readme.txt
r1372870 r1388197 6 6 Requires at least: 3.1 7 7 Tested up to: 4.4.2 8 Stable tag: 1. 58 Stable tag: 1.6 9 9 Text Domain: nb_device_detection 10 10 License: GPLv2 or later -
netbiscuits-device-detection/trunk/nb-dd.php
r1372870 r1388197 3 3 Plugin Name: Netbiscuits Device Detection 4 4 Description: Take advantage of the world's largest device database, within your server code, by adding Netbiscuits Device Detection to your site. Make intelligent, device-specific adaptations to your pages before sending them to the user's device; send only what they need, and nothing they don't. 5 Version: 1. 55 Version: 1.6 6 6 Author: Netbiscuits GmbH 7 7 Text Domain: nb_device_detection … … 88 88 89 89 private $header_blacklist = array ( 90 // added to force gzip with the header91 90 'Accept-Encoding', 92 91 'Host', … … 107 106 */ 108 107 private function isSmartphone() { 109 $os = strtolower($this->response->device->operatingsystem);108 /*$os = strtolower($this->response->device->operatingsystem); 110 109 $osversion = strtolower($this->response->device->operatingsystemversion); 111 110 // Smartphone whitelist … … 121 120 } else { 122 121 return false; 123 } 122 }*/ 123 return ( $this->response->device->issmartphone === true ? true : false ); 124 124 } 125 125 … … 509 509 //$this->flexboxtweener 510 510 //$this->flexwrap 511 /*512 ** need to clarify the values for this parameter before exposing...513 ** other possible parameters: browserimagemax__, hardwaredisplay__, browserusable__ (dynamic)514 511 $this->imagemaxwidth = $this->response->image->maxwidth; // Numeric 515 512 $this->imagemaxheight = $this->response->image->maxheight; // Numeric 516 */517 513 //$this->pixelratio 518 514 //$this->picture -
netbiscuits-device-detection/trunk/readme.txt
r1372870 r1388197 6 6 Requires at least: 3.1 7 7 Tested up to: 4.4.2 8 Stable tag: 1. 58 Stable tag: 1.6 9 9 Text Domain: nb_device_detection 10 10 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.