PHP Classes

File: engine/modules/core/grid/grid.api.inc

Recommend this page to a friend!
  Classes of Aldo Tripiciano   Quanta CMS   engine/modules/core/grid/grid.api.inc   Download  
File: engine/modules/core/grid/grid.api.inc
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 5 years ago
Size: 483 bytes
 

Contents

Class file image Download
<?php /** * Check if the browser supports CSS grid. * * @return boolean * true if browser supports CSS grid. */ function supportsGrid() { $ua = getBrowser(); // EDGE: Google Chrome version 58 and up -> OK grid. // Android base browser: Google Chrome 4.0 -> NO grid. return empty($ua) ? NULL : !( $ua['name'] == "Internet Explorer" || ( $ua['name'] == "Google Chrome" && $ua['version'] < 58 ) || ( $ua['name'] == "Apple Safari" && $ua['version'] < 10.3 ) ); }