From 517e9ef15ada9f55f67eed8ad3a4c2950b98c288 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Fri, 11 Jul 2014 15:27:06 +0200 Subject: [PATCH] ajout flag isMobile. --- epoz/epoz_core/epoz_blank_iframe.html.pt | 0 epoz/epoz_core/epoz_script_color.html.dtml | 0 epoz/epoz_core/epoz_script_detect.js.dtml | 1 + epoz/epoz_core/epoz_script_main.js.dtml | 0 epoz/epoz_core/epoz_script_table.html.dtml | 0 epoz/epoz_core/epoz_script_widget.js.dtml | 0 epoz/epoz_core/vcXMLRPC.js.dtml | 0 7 files changed, 1 insertion(+) mode change 100755 => 100644 epoz/epoz_core/epoz_blank_iframe.html.pt mode change 100755 => 100644 epoz/epoz_core/epoz_script_color.html.dtml mode change 100755 => 100644 epoz/epoz_core/epoz_script_detect.js.dtml mode change 100755 => 100644 epoz/epoz_core/epoz_script_main.js.dtml mode change 100755 => 100644 epoz/epoz_core/epoz_script_table.html.dtml mode change 100755 => 100644 epoz/epoz_core/epoz_script_widget.js.dtml mode change 100755 => 100644 epoz/epoz_core/vcXMLRPC.js.dtml diff --git a/epoz/epoz_core/epoz_blank_iframe.html.pt b/epoz/epoz_core/epoz_blank_iframe.html.pt old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_color.html.dtml b/epoz/epoz_core/epoz_script_color.html.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_detect.js.dtml b/epoz/epoz_core/epoz_script_detect.js.dtml old mode 100755 new mode 100644 index 275ffb9..0867fc6 --- a/epoz/epoz_core/epoz_script_detect.js.dtml +++ b/epoz/epoz_core/epoz_script_detect.js.dtml @@ -82,6 +82,7 @@ function BrowserDetect() { this.isMac = (ua.indexOf('mac') != -1); this.isUnix = (ua.indexOf('unix') != -1 || ua.indexOf('sunos') != -1 || ua.indexOf('bsd') != -1 || ua.indexOf('x11') != -1) this.isLinux = (ua.indexOf('linux') != -1); + this.isMobile = (ua.indexOf('mobile') != -1); // specific browser shortcuts this.isNS4x = (this.isNS && this.versionMajor == 4); diff --git a/epoz/epoz_core/epoz_script_main.js.dtml b/epoz/epoz_core/epoz_script_main.js.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_table.html.dtml b/epoz/epoz_core/epoz_script_table.html.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_widget.js.dtml b/epoz/epoz_core/epoz_script_widget.js.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/vcXMLRPC.js.dtml b/epoz/epoz_core/vcXMLRPC.js.dtml old mode 100755 new mode 100644 -- 2.20.1