A light-weight shim around Mobile_detect for XenForo 2
Usage (in templates)
The add-on injects the global variable $mobileDetect, check that the variable is set before calling any methods to prevent errors during upgrades or if the add-on is disabled.
<xf:if is="$mobileDetect &&...