|
94 | 94 | <?php endif; ?> |
95 | 95 |
|
96 | 96 | <?php |
| 97 | + |
| 98 | +$cfg = erConfigClassLhConfig::getInstance(); |
| 99 | +$staticVersion = (int)$cfg->getSetting('site', 'static_version', false); |
| 100 | + |
97 | 101 | $detect = new Mobile_Detect(); |
98 | 102 | if ( |
99 | 103 | $detect->version('IE') !== false || |
100 | 104 | ($detect->version('Chrome') !== false && $detect->version('Chrome',Mobile_Detect::VERSION_TYPE_FLOAT) < 46) || |
101 | 105 | ($detect->version('Firefox') !== false && $detect->version('Firefox',Mobile_Detect::VERSION_TYPE_FLOAT) < 35) |
102 | 106 | ) : ?> |
103 | 107 | <?php if (!isset($Result['voice_call'])) : ?> |
104 | | - <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/vendor.ie.js')?>?v=a4"></script> |
105 | | - <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/react.app.ie.js')?>?t=391"></script> |
| 108 | + <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/vendor.ie.js')?>?v=a5_<?php echo $staticVersion;?>"></script> |
| 109 | + <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/react.app.ie.js')?>?t=391_<?php echo $staticVersion;?>"></script> |
106 | 110 | <?php else : ?> |
107 | | - <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/voice/voice.call.js')?>?t=3"></script> |
| 111 | + <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/voice/voice.call.js')?>?t=3_<?php echo $staticVersion;?>"></script> |
108 | 112 | <?php endif; ?> |
109 | 113 | <?php else : ?> |
110 | 114 | <?php if (!isset($Result['voice_call'])) : ?> |
111 | | - <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/vendor.js')?>?v=a4"></script> |
112 | | - <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/react.app.js')?>?t=391"></script> |
| 115 | + <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/vendor.js')?>?v=a5_<?php echo $staticVersion;?>"></script> |
| 116 | + <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/widgetv2/react.app.js')?>?t=391_<?php echo $staticVersion;?>"></script> |
113 | 117 | <?php else : ?> |
114 | | - <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/voice/voice.call.js')?>?t=2"></script> |
| 118 | + <script <?php isset($Result['app_scope']) ? print 'scope="' . htmlspecialchars($Result['app_scope']) . '"' : '' ?> src="<?php echo erLhcoreClassDesign::design('js/voice/voice.call.js')?>?t=2_<?php echo $staticVersion;?>"></script> |
115 | 119 | <?php endif; ?> |
116 | 120 | <?php endif; ?> |
117 | 121 |
|
|
0 commit comments