phcthemes_web_theme_pack 1.6.9 → 1.6.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b21baed8f1e759890718fd8e18521644691e28dafafbbec5c83add304ffc09a1
4
- data.tar.gz: c8760c79d2a1dc6e390c22e9dd0f8d0fc268c2508a7a260cb538f98d6f878f98
3
+ metadata.gz: 55143c9571edceaea4d35c88acbbf3aecb66f158e24178fbcc72e10fa079a155
4
+ data.tar.gz: 35230065a8674fea26f169e7fd9273a958d6255fa9d416568b3f4c100a2b03b1
5
5
  SHA512:
6
- metadata.gz: 751417dce42f0e944374a7e4514448dff2cafc249f47b0da154b08e3c7b7383a365377a7aaf319986577d53711963208fcb5585e9c52641781b99e7aa3d2470f
7
- data.tar.gz: 3966eaba69eefaf9e00757f025ae0f058976bb22908808d03b57c3163bf3f1ee6c84d0318e43d754c57bae9fd9e8a40dd898d596fe6134851dd3b3a02f1d5d0a
6
+ metadata.gz: 306b2e63932afe263f485c1e13183122430c55696bf411c4fb6cd3b1f8c4b4efe384e68dd8ec5bbcff4f2309fbeb5bc7c4f14f5bc9cce7909a138f303c1e705f
7
+ data.tar.gz: 0c6a9739fc01f717c871274acfab1a62a1220c646764b6f2d63f512b08fd515a1abb78b8d5c003acbebeceea67eb82f09e2ce3b8e1d33c4234e6b695b27e5972
@@ -12,3 +12,4 @@
12
12
  //= require common/swiper/swiper.js
13
13
  //= require common/lazysizes/lazysizes.js
14
14
  //= require common/wow/wow.js
15
+ //= require themes/antlr/theme/scripts.js
@@ -35,8 +35,6 @@ document.addEventListener('DOMContentLoaded', function() {
35
35
  active();
36
36
  display();
37
37
  switching();
38
- headerfooter();
39
- translate();
40
38
  switchVisible();
41
39
  });
42
40
  //----------------------------------------------------/
@@ -133,72 +131,7 @@ $(".mobile .menu-item")
133
131
  }
134
132
  }
135
133
  );
136
- //----------------------------------------------------/
137
- // i18next translate
138
- //----------------------------------------------------/
139
- function translate() {
140
- $.getScript('https://frmwrks.phcnetworks.net/antlr/version-2.1.2/template/js/lib/i18next.min.js', function() {
141
- $.getScript('https://frmwrks.phcnetworks.net/antlr/version-2.1.2/template/js/lib/i18nextXHRBackend.min.js', function() {
142
- $.getScript('https://frmwrks.phcnetworks.net/antlr/version-2.1.2/template/js/lib/jquery-i18next.min.js', function() {
143
- var language = localStorage.getItem('lng');
144
- if (!language) {
145
- localStorage.setItem('lng', 'en-US');
146
- language = 'en-US';
147
- }
148
- i18next.use(i18nextXHRBackend)
149
- .init({
150
- lng: language,
151
- fallbackLng: 'en-US',
152
- backend: {
153
- loadPath: 'https://frmwrks.phcnetworks.net/antlr/version-2.1.2/template/locales/{{lng}}/translations.json'
154
- }
155
- }, function(err, t) {
156
- jqueryI18next.init(i18next, $, {
157
- tName: 't',
158
- i18nName: 'i18n',
159
- handleName: 'localize',
160
- selectorAttr: 'data-i18n',
161
- targetAttr: 'i18n-target',
162
- optionsAttr: 'i18n-options',
163
- useOptionsAttr: false,
164
- parseDefaultValueFromContent: true
165
- });
166
- $(document)
167
- .localize();
168
- });
169
- });
170
- });
171
- });
172
- }
173
- /*---------------------------------*/
174
- /* Load header and footer file */
175
- /*---------------------------------*/
176
- function headerfooter() {
177
- $("#header")
178
- .load("https://static.phcnetworks.net/phc_sites/phcnetworks_net/views/header.html", function(res, status, xhr) {
179
- $('#drop-lng [data-lng="' + localStorage.getItem('lng') + '"]')
180
- .addClass('xpto active');
181
- $('#drop-lng label')
182
- .click(function(e) {
183
- e.preventDefault();
184
- localStorage.setItem('lng', $(this)
185
- .attr('data-lng'));
186
- location.reload(true);
187
- });
188
- });
189
- $("#footer")
190
- .load("https://static.phcnetworks.net/phc_sites/phcnetworks_net/views/footer.html.erb", function(res, status, xhr) {
191
- $('#drop-lng [data-lng="' + localStorage.getItem('lng') + '"]')
192
- .addClass('xpto active');
193
- $('#drop-lng label')
194
- .click(function(e) {
195
- e.preventDefault();
196
- localStorage.setItem('lng', $(this)
197
- .attr('data-lng'));
198
- location.reload(true);
199
- });
200
- });
201
- }
134
+
202
135
  /*----------------------*/
203
136
  /* Switch */
204
137
  /*----------------------*/
@@ -314,7 +247,7 @@ function contactform() {
314
247
  .on('submit', function(e) {
315
248
  $.ajax({
316
249
  type: "POST",
317
- url: 'https://frmwrks.phcnetworks.net/antlr/version-2.1.2/template/php/form-process.php',
250
+ url: 'php/form-process.php',
318
251
  data: $(this)
319
252
  .serialize(),
320
253
  success: function() {
@@ -1,3 +1,3 @@
1
1
  module PhcthemesWebThemePack
2
- VERSION = "1.6.9"
2
+ VERSION = "1.6.10"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcthemes_web_theme_pack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.9
4
+ version: 1.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - PHCDevworks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-24 00:00:00.000000000 Z
11
+ date: 2020-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails