phcthemes_web_theme_pack 1.6.9 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55143c9571edceaea4d35c88acbbf3aecb66f158e24178fbcc72e10fa079a155
|
|
4
|
+
data.tar.gz: 35230065a8674fea26f169e7fd9273a958d6255fa9d416568b3f4c100a2b03b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 306b2e63932afe263f485c1e13183122430c55696bf411c4fb6cd3b1f8c4b4efe384e68dd8ec5bbcff4f2309fbeb5bc7c4f14f5bc9cce7909a138f303c1e705f
|
|
7
|
+
data.tar.gz: 0c6a9739fc01f717c871274acfab1a62a1220c646764b6f2d63f512b08fd515a1abb78b8d5c003acbebeceea67eb82f09e2ce3b8e1d33c4234e6b695b27e5972
|
|
@@ -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: '
|
|
250
|
+
url: 'php/form-process.php',
|
|
318
251
|
data: $(this)
|
|
319
252
|
.serialize(),
|
|
320
253
|
success: function() {
|
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.
|
|
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-
|
|
11
|
+
date: 2020-05-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|