Version Description
- Update: Critical Security Patch.
- Update: Resolved Conflict with woocommerce auto update.
Download this release
Release Info
Developer | socialdude |
Plugin | Social Share Icons & Social Share Buttons |
Version | 3.0.8 |
Comparing to | |
See all releases |
Code changes from version 3.0.7 to 3.0.8
- css/fonts/generator_config.txt +0 -5
- css/fonts/helvetica_0-demo.html +0 -610
- css/fonts/helvetica_bold_0-demo.html +0 -593
- js/custom-admin.js +16 -10
- libs/controllers/sfsi_buttons_controller.php +303 -242
- libs/controllers/sfsi_iconsUpload_contoller.php +50 -15
- libs/sfsi_ajax_social_sharing_settings_updater.php +4 -0
- libs/sfsi_custom_social_sharing_data.php +2 -1
- libs/sfsi_install_uninstall.php +6 -2
- readme.txt +8 -2
- ultimate_social_media_icons.php +20 -7
- views/sfsi_option_view1.php +1 -0
- views/sfsi_options_view.php +3 -2
- views/sfsi_pop_content.php +4 -3
css/fonts/generator_config.txt
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
# Font Squirrel Font-face Generator Configuration File
|
2 |
-
# Upload this file to the generator to recreate the settings
|
3 |
-
# you used to create these fonts.
|
4 |
-
|
5 |
-
{"mode":"optimal","formats":["ttf","woff","eotz"],"tt_instructor":"default","fix_vertical_metrics":"Y","fix_gasp":"xy","add_spaces":"Y","add_hyphens":"Y","fallback":"none","fallback_custom":"100","options_subset":"basic","subset_custom":"","subset_custom_range":"","subset_ot_features_list":"","css_stylesheet":"stylesheet.css","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0"}
|
|
|
|
|
|
|
|
|
|
css/fonts/helvetica_0-demo.html
DELETED
@@ -1,610 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2 |
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3 |
-
|
4 |
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5 |
-
<head>
|
6 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7 |
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
8 |
-
<script src="specimen_files/easytabs.js" type="text/javascript" charset="utf-8"></script>
|
9 |
-
<link rel="stylesheet" href="specimen_files/specimen_stylesheet.css" type="text/css" charset="utf-8" />
|
10 |
-
<link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" />
|
11 |
-
|
12 |
-
<style type="text/css">
|
13 |
-
body{
|
14 |
-
font-family: 'helveticaregular';
|
15 |
-
}
|
16 |
-
</style>
|
17 |
-
|
18 |
-
<title>Helvetica Regular Specimen</title>
|
19 |
-
|
20 |
-
|
21 |
-
<script type="text/javascript" charset="utf-8">
|
22 |
-
$(document).ready(function() {
|
23 |
-
$('#container').easyTabs({defaultContent:1});
|
24 |
-
});
|
25 |
-
</script>
|
26 |
-
</head>
|
27 |
-
|
28 |
-
<body>
|
29 |
-
<div id="container">
|
30 |
-
<div id="header">
|
31 |
-
Helvetica Regular </div>
|
32 |
-
<ul class="tabs">
|
33 |
-
<li><a href="#specimen">Specimen</a></li>
|
34 |
-
<li><a href="#layout">Sample Layout</a></li>
|
35 |
-
<li><a href="#glyphs">Glyphs & Languages</a></li>
|
36 |
-
<li><a href="#installing">Installing Webfonts</a></li>
|
37 |
-
|
38 |
-
</ul>
|
39 |
-
|
40 |
-
<div id="main_content">
|
41 |
-
|
42 |
-
|
43 |
-
<div id="specimen">
|
44 |
-
|
45 |
-
<div class="section">
|
46 |
-
<div class="grid12 firstcol">
|
47 |
-
<div class="huge">AaBb</div>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
|
51 |
-
<div class="section">
|
52 |
-
<div class="glyph_range">A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;</div>
|
53 |
-
</div>
|
54 |
-
<div class="section">
|
55 |
-
<div class="grid12 firstcol">
|
56 |
-
<table class="sample_table">
|
57 |
-
<tr><td>10</td><td class="size10">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
58 |
-
<tr><td>11</td><td class="size11">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
59 |
-
<tr><td>12</td><td class="size12">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
60 |
-
<tr><td>13</td><td class="size13">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
61 |
-
<tr><td>14</td><td class="size14">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
62 |
-
<tr><td>16</td><td class="size16">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
63 |
-
<tr><td>18</td><td class="size18">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
64 |
-
<tr><td>20</td><td class="size20">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
65 |
-
<tr><td>24</td><td class="size24">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
66 |
-
<tr><td>30</td><td class="size30">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
67 |
-
<tr><td>36</td><td class="size36">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
68 |
-
<tr><td>48</td><td class="size48">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
69 |
-
<tr><td>60</td><td class="size60">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
70 |
-
<tr><td>72</td><td class="size72">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
71 |
-
<tr><td>90</td><td class="size90">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
72 |
-
</table>
|
73 |
-
|
74 |
-
</div>
|
75 |
-
|
76 |
-
</div>
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
<div class="section" id="bodycomparison">
|
81 |
-
|
82 |
-
|
83 |
-
<div id="xheight">
|
84 |
-
<div class="fontbody">◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼body</div><div class="arialbody">body</div><div class="verdanabody">body</div><div class="georgiabody">body</div></div>
|
85 |
-
<div class="fontbody" style="z-index:1">
|
86 |
-
body<span>Helvetica Regular</span>
|
87 |
-
</div>
|
88 |
-
<div class="arialbody" style="z-index:1">
|
89 |
-
body<span>Arial</span>
|
90 |
-
</div>
|
91 |
-
<div class="verdanabody" style="z-index:1">
|
92 |
-
body<span>Verdana</span>
|
93 |
-
</div>
|
94 |
-
<div class="georgiabody" style="z-index:1">
|
95 |
-
body<span>Georgia</span>
|
96 |
-
</div>
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
</div>
|
101 |
-
|
102 |
-
|
103 |
-
<div class="section psample psample_row1" id="">
|
104 |
-
|
105 |
-
<div class="grid2 firstcol">
|
106 |
-
<p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
107 |
-
|
108 |
-
</div>
|
109 |
-
<div class="grid3">
|
110 |
-
<p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
111 |
-
|
112 |
-
</div>
|
113 |
-
<div class="grid3">
|
114 |
-
<p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
115 |
-
|
116 |
-
</div>
|
117 |
-
<div class="grid4">
|
118 |
-
<p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
119 |
-
|
120 |
-
</div>
|
121 |
-
<div class="white_blend"></div>
|
122 |
-
|
123 |
-
</div>
|
124 |
-
<div class="section psample psample_row2" id="">
|
125 |
-
<div class="grid3 firstcol">
|
126 |
-
<p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
127 |
-
|
128 |
-
</div>
|
129 |
-
<div class="grid4">
|
130 |
-
<p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
131 |
-
|
132 |
-
</div>
|
133 |
-
<div class="grid5">
|
134 |
-
<p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
135 |
-
|
136 |
-
</div>
|
137 |
-
|
138 |
-
<div class="white_blend"></div>
|
139 |
-
|
140 |
-
</div>
|
141 |
-
|
142 |
-
<div class="section psample psample_row3" id="">
|
143 |
-
<div class="grid5 firstcol">
|
144 |
-
<p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
145 |
-
</div>
|
146 |
-
<div class="grid7">
|
147 |
-
<p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
148 |
-
</div>
|
149 |
-
|
150 |
-
<div class="white_blend"></div>
|
151 |
-
|
152 |
-
</div>
|
153 |
-
|
154 |
-
<div class="section psample psample_row4" id="">
|
155 |
-
<div class="grid12 firstcol">
|
156 |
-
<p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
157 |
-
</div>
|
158 |
-
<div class="white_blend"></div>
|
159 |
-
|
160 |
-
</div>
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
<div class="section psample psample_row1 fullreverse">
|
165 |
-
<div class="grid2 firstcol">
|
166 |
-
<p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
167 |
-
|
168 |
-
</div>
|
169 |
-
<div class="grid3">
|
170 |
-
<p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
171 |
-
|
172 |
-
</div>
|
173 |
-
<div class="grid3">
|
174 |
-
<p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
175 |
-
|
176 |
-
</div>
|
177 |
-
<div class="grid4">
|
178 |
-
<p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
179 |
-
|
180 |
-
</div>
|
181 |
-
<div class="black_blend"></div>
|
182 |
-
|
183 |
-
</div>
|
184 |
-
|
185 |
-
<div class="section psample psample_row2 fullreverse">
|
186 |
-
<div class="grid3 firstcol">
|
187 |
-
<p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
188 |
-
|
189 |
-
</div>
|
190 |
-
<div class="grid4">
|
191 |
-
<p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
192 |
-
|
193 |
-
</div>
|
194 |
-
<div class="grid5">
|
195 |
-
<p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
196 |
-
|
197 |
-
</div>
|
198 |
-
<div class="black_blend"></div>
|
199 |
-
|
200 |
-
</div>
|
201 |
-
|
202 |
-
<div class="section psample fullreverse psample_row3" id="">
|
203 |
-
<div class="grid5 firstcol">
|
204 |
-
<p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
205 |
-
</div>
|
206 |
-
<div class="grid7">
|
207 |
-
<p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
208 |
-
</div>
|
209 |
-
|
210 |
-
<div class="black_blend"></div>
|
211 |
-
|
212 |
-
</div>
|
213 |
-
|
214 |
-
<div class="section psample fullreverse psample_row4" id="" style="border-bottom: 20px #000 solid;">
|
215 |
-
<div class="grid12 firstcol">
|
216 |
-
<p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
217 |
-
</div>
|
218 |
-
<div class="black_blend"></div>
|
219 |
-
|
220 |
-
</div>
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
</div>
|
226 |
-
|
227 |
-
<div id="layout">
|
228 |
-
|
229 |
-
<div class="section">
|
230 |
-
|
231 |
-
<div class="grid12 firstcol">
|
232 |
-
<h1>Lorem Ipsum Dolor</h1>
|
233 |
-
<h2>Etiam porta sem malesuada magna mollis euismod</h2>
|
234 |
-
|
235 |
-
<p class="byline">By <a href="#link">Aenean Lacinia</a></p>
|
236 |
-
</div>
|
237 |
-
</div>
|
238 |
-
<div class="section">
|
239 |
-
<div class="grid8 firstcol">
|
240 |
-
<p class="large">Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
|
241 |
-
|
242 |
-
|
243 |
-
<h3>Pellentesque ornare sem</h3>
|
244 |
-
|
245 |
-
<p>Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit. </p>
|
246 |
-
|
247 |
-
<p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p>
|
248 |
-
|
249 |
-
<p>Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur. </p>
|
250 |
-
|
251 |
-
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla. </p>
|
252 |
-
|
253 |
-
<h3>Cras mattis consectetur</h3>
|
254 |
-
|
255 |
-
<p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum. </p>
|
256 |
-
|
257 |
-
<p>Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.</p>
|
258 |
-
</div>
|
259 |
-
|
260 |
-
<div class="grid4 sidebar">
|
261 |
-
|
262 |
-
<div class="box reverse">
|
263 |
-
<p class="last">Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
|
264 |
-
</div>
|
265 |
-
|
266 |
-
<p class="caption">Maecenas sed diam eget risus varius.</p>
|
267 |
-
|
268 |
-
<p>Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper. Sed posuere consectetur est at lobortis. Maecenas sed diam eget risus varius blandit sit amet non magna. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Aenean lacinia bibendum nulla sed consectetur. Nullam quis risus eget urna mollis ornare vel eu leo. </p>
|
273 |
-
|
274 |
-
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Maecenas faucibus mollis interdum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
|
275 |
-
|
276 |
-
</div>
|
277 |
-
</div>
|
278 |
-
|
279 |
-
</div>
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
<div id="glyphs">
|
287 |
-
<div class="section">
|
288 |
-
<div class="grid12 firstcol">
|
289 |
-
|
290 |
-
<h1>Language Support</h1>
|
291 |
-
<p>The subset of Helvetica Regular in this kit supports the following languages:<br />
|
292 |
-
|
293 |
-
Albanian, Basque, Breton, Chamorro, Danish, Dutch, English, Faroese, Finnish, French, Frisian, Galician, German, Icelandic, Italian, Malagasy, Norwegian, Portuguese, Spanish, Swedish </p>
|
294 |
-
<h1>Glyph Chart</h1>
|
295 |
-
<p>The subset of Helvetica Regular in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.</p>
|
296 |
-
<div id="glyph_chart">
|
297 |
-
|
298 |
-
<div><p>&#32;</p> </div>
|
299 |
-
<div><p>&#33;</p>!</div>
|
300 |
-
<div><p>&#34;</p>"</div>
|
301 |
-
<div><p>&#35;</p>#</div>
|
302 |
-
<div><p>&#36;</p>$</div>
|
303 |
-
<div><p>&#37;</p>%</div>
|
304 |
-
<div><p>&#38;</p>&</div>
|
305 |
-
<div><p>&#39;</p>'</div>
|
306 |
-
<div><p>&#40;</p>(</div>
|
307 |
-
<div><p>&#41;</p>)</div>
|
308 |
-
<div><p>&#42;</p>*</div>
|
309 |
-
<div><p>&#43;</p>+</div>
|
310 |
-
<div><p>&#44;</p>,</div>
|
311 |
-
<div><p>&#45;</p>-</div>
|
312 |
-
<div><p>&#46;</p>.</div>
|
313 |
-
<div><p>&#47;</p>/</div>
|
314 |
-
<div><p>&#48;</p>0</div>
|
315 |
-
<div><p>&#49;</p>1</div>
|
316 |
-
<div><p>&#50;</p>2</div>
|
317 |
-
<div><p>&#51;</p>3</div>
|
318 |
-
<div><p>&#52;</p>4</div>
|
319 |
-
<div><p>&#53;</p>5</div>
|
320 |
-
<div><p>&#54;</p>6</div>
|
321 |
-
<div><p>&#55;</p>7</div>
|
322 |
-
<div><p>&#56;</p>8</div>
|
323 |
-
<div><p>&#57;</p>9</div>
|
324 |
-
<div><p>&#58;</p>:</div>
|
325 |
-
<div><p>&#59;</p>;</div>
|
326 |
-
<div><p>&#60;</p><</div>
|
327 |
-
<div><p>&#61;</p>=</div>
|
328 |
-
<div><p>&#62;</p>></div>
|
329 |
-
<div><p>&#63;</p>?</div>
|
330 |
-
<div><p>&#64;</p>@</div>
|
331 |
-
<div><p>&#65;</p>A</div>
|
332 |
-
<div><p>&#66;</p>B</div>
|
333 |
-
<div><p>&#67;</p>C</div>
|
334 |
-
<div><p>&#68;</p>D</div>
|
335 |
-
<div><p>&#69;</p>E</div>
|
336 |
-
<div><p>&#70;</p>F</div>
|
337 |
-
<div><p>&#71;</p>G</div>
|
338 |
-
<div><p>&#72;</p>H</div>
|
339 |
-
<div><p>&#73;</p>I</div>
|
340 |
-
<div><p>&#74;</p>J</div>
|
341 |
-
<div><p>&#75;</p>K</div>
|
342 |
-
<div><p>&#76;</p>L</div>
|
343 |
-
<div><p>&#77;</p>M</div>
|
344 |
-
<div><p>&#78;</p>N</div>
|
345 |
-
<div><p>&#79;</p>O</div>
|
346 |
-
<div><p>&#80;</p>P</div>
|
347 |
-
<div><p>&#81;</p>Q</div>
|
348 |
-
<div><p>&#82;</p>R</div>
|
349 |
-
<div><p>&#83;</p>S</div>
|
350 |
-
<div><p>&#84;</p>T</div>
|
351 |
-
<div><p>&#85;</p>U</div>
|
352 |
-
<div><p>&#86;</p>V</div>
|
353 |
-
<div><p>&#87;</p>W</div>
|
354 |
-
<div><p>&#88;</p>X</div>
|
355 |
-
<div><p>&#89;</p>Y</div>
|
356 |
-
<div><p>&#90;</p>Z</div>
|
357 |
-
<div><p>&#91;</p>[</div>
|
358 |
-
<div><p>&#92;</p>\</div>
|
359 |
-
<div><p>&#93;</p>]</div>
|
360 |
-
<div><p>&#94;</p>^</div>
|
361 |
-
<div><p>&#95;</p>_</div>
|
362 |
-
<div><p>&#96;</p>`</div>
|
363 |
-
<div><p>&#97;</p>a</div>
|
364 |
-
<div><p>&#98;</p>b</div>
|
365 |
-
<div><p>&#99;</p>c</div>
|
366 |
-
<div><p>&#100;</p>d</div>
|
367 |
-
<div><p>&#101;</p>e</div>
|
368 |
-
<div><p>&#102;</p>f</div>
|
369 |
-
<div><p>&#103;</p>g</div>
|
370 |
-
<div><p>&#104;</p>h</div>
|
371 |
-
<div><p>&#105;</p>i</div>
|
372 |
-
<div><p>&#106;</p>j</div>
|
373 |
-
<div><p>&#107;</p>k</div>
|
374 |
-
<div><p>&#108;</p>l</div>
|
375 |
-
<div><p>&#109;</p>m</div>
|
376 |
-
<div><p>&#110;</p>n</div>
|
377 |
-
<div><p>&#111;</p>o</div>
|
378 |
-
<div><p>&#112;</p>p</div>
|
379 |
-
<div><p>&#113;</p>q</div>
|
380 |
-
<div><p>&#114;</p>r</div>
|
381 |
-
<div><p>&#115;</p>s</div>
|
382 |
-
<div><p>&#116;</p>t</div>
|
383 |
-
<div><p>&#117;</p>u</div>
|
384 |
-
<div><p>&#118;</p>v</div>
|
385 |
-
<div><p>&#119;</p>w</div>
|
386 |
-
<div><p>&#120;</p>x</div>
|
387 |
-
<div><p>&#121;</p>y</div>
|
388 |
-
<div><p>&#122;</p>z</div>
|
389 |
-
<div><p>&#123;</p>{</div>
|
390 |
-
<div><p>&#124;</p>|</div>
|
391 |
-
<div><p>&#125;</p>}</div>
|
392 |
-
<div><p>&#126;</p>~</div>
|
393 |
-
<div><p>&#160;</p> </div>
|
394 |
-
<div><p>&#161;</p>¡</div>
|
395 |
-
<div><p>&#162;</p>¢</div>
|
396 |
-
<div><p>&#163;</p>£</div>
|
397 |
-
<div><p>&#164;</p>¤</div>
|
398 |
-
<div><p>&#165;</p>¥</div>
|
399 |
-
<div><p>&#166;</p>¦</div>
|
400 |
-
<div><p>&#167;</p>§</div>
|
401 |
-
<div><p>&#168;</p>¨</div>
|
402 |
-
<div><p>&#169;</p>©</div>
|
403 |
-
<div><p>&#170;</p>ª</div>
|
404 |
-
<div><p>&#171;</p>«</div>
|
405 |
-
<div><p>&#172;</p>¬</div>
|
406 |
-
<div><p>&#173;</p>­</div>
|
407 |
-
<div><p>&#174;</p>®</div>
|
408 |
-
<div><p>&#175;</p>¯</div>
|
409 |
-
<div><p>&#176;</p>°</div>
|
410 |
-
<div><p>&#177;</p>±</div>
|
411 |
-
<div><p>&#178;</p>²</div>
|
412 |
-
<div><p>&#179;</p>³</div>
|
413 |
-
<div><p>&#180;</p>´</div>
|
414 |
-
<div><p>&#181;</p>µ</div>
|
415 |
-
<div><p>&#182;</p>¶</div>
|
416 |
-
<div><p>&#183;</p>·</div>
|
417 |
-
<div><p>&#184;</p>¸</div>
|
418 |
-
<div><p>&#185;</p>¹</div>
|
419 |
-
<div><p>&#186;</p>º</div>
|
420 |
-
<div><p>&#187;</p>»</div>
|
421 |
-
<div><p>&#188;</p>¼</div>
|
422 |
-
<div><p>&#189;</p>½</div>
|
423 |
-
<div><p>&#190;</p>¾</div>
|
424 |
-
<div><p>&#191;</p>¿</div>
|
425 |
-
<div><p>&#192;</p>À</div>
|
426 |
-
<div><p>&#193;</p>Á</div>
|
427 |
-
<div><p>&#194;</p>Â</div>
|
428 |
-
<div><p>&#195;</p>Ã</div>
|
429 |
-
<div><p>&#196;</p>Ä</div>
|
430 |
-
<div><p>&#197;</p>Å</div>
|
431 |
-
<div><p>&#198;</p>Æ</div>
|
432 |
-
<div><p>&#199;</p>Ç</div>
|
433 |
-
<div><p>&#200;</p>È</div>
|
434 |
-
<div><p>&#201;</p>É</div>
|
435 |
-
<div><p>&#202;</p>Ê</div>
|
436 |
-
<div><p>&#203;</p>Ë</div>
|
437 |
-
<div><p>&#204;</p>Ì</div>
|
438 |
-
<div><p>&#205;</p>Í</div>
|
439 |
-
<div><p>&#206;</p>Î</div>
|
440 |
-
<div><p>&#207;</p>Ï</div>
|
441 |
-
<div><p>&#208;</p>Ð</div>
|
442 |
-
<div><p>&#209;</p>Ñ</div>
|
443 |
-
<div><p>&#210;</p>Ò</div>
|
444 |
-
<div><p>&#211;</p>Ó</div>
|
445 |
-
<div><p>&#212;</p>Ô</div>
|
446 |
-
<div><p>&#213;</p>Õ</div>
|
447 |
-
<div><p>&#214;</p>Ö</div>
|
448 |
-
<div><p>&#215;</p>×</div>
|
449 |
-
<div><p>&#216;</p>Ø</div>
|
450 |
-
<div><p>&#217;</p>Ù</div>
|
451 |
-
<div><p>&#218;</p>Ú</div>
|
452 |
-
<div><p>&#219;</p>Û</div>
|
453 |
-
<div><p>&#220;</p>Ü</div>
|
454 |
-
<div><p>&#221;</p>Ý</div>
|
455 |
-
<div><p>&#222;</p>Þ</div>
|
456 |
-
<div><p>&#223;</p>ß</div>
|
457 |
-
<div><p>&#224;</p>à</div>
|
458 |
-
<div><p>&#225;</p>á</div>
|
459 |
-
<div><p>&#226;</p>â</div>
|
460 |
-
<div><p>&#227;</p>ã</div>
|
461 |
-
<div><p>&#228;</p>ä</div>
|
462 |
-
<div><p>&#229;</p>å</div>
|
463 |
-
<div><p>&#230;</p>æ</div>
|
464 |
-
<div><p>&#231;</p>ç</div>
|
465 |
-
<div><p>&#232;</p>è</div>
|
466 |
-
<div><p>&#233;</p>é</div>
|
467 |
-
<div><p>&#234;</p>ê</div>
|
468 |
-
<div><p>&#235;</p>ë</div>
|
469 |
-
<div><p>&#236;</p>ì</div>
|
470 |
-
<div><p>&#237;</p>í</div>
|
471 |
-
<div><p>&#238;</p>î</div>
|
472 |
-
<div><p>&#239;</p>ï</div>
|
473 |
-
<div><p>&#240;</p>ð</div>
|
474 |
-
<div><p>&#241;</p>ñ</div>
|
475 |
-
<div><p>&#242;</p>ò</div>
|
476 |
-
<div><p>&#243;</p>ó</div>
|
477 |
-
<div><p>&#244;</p>ô</div>
|
478 |
-
<div><p>&#245;</p>õ</div>
|
479 |
-
<div><p>&#246;</p>ö</div>
|
480 |
-
<div><p>&#247;</p>÷</div>
|
481 |
-
<div><p>&#248;</p>ø</div>
|
482 |
-
<div><p>&#249;</p>ù</div>
|
483 |
-
<div><p>&#250;</p>ú</div>
|
484 |
-
<div><p>&#251;</p>û</div>
|
485 |
-
<div><p>&#252;</p>ü</div>
|
486 |
-
<div><p>&#253;</p>ý</div>
|
487 |
-
<div><p>&#254;</p>þ</div>
|
488 |
-
<div><p>&#255;</p>ÿ</div>
|
489 |
-
<div><p>&#338;</p>Œ</div>
|
490 |
-
<div><p>&#339;</p>œ</div>
|
491 |
-
<div><p>&#376;</p>Ÿ</div>
|
492 |
-
<div><p>&#710;</p>ˆ</div>
|
493 |
-
<div><p>&#732;</p>˜</div>
|
494 |
-
<div><p>&#8192;</p> </div>
|
495 |
-
<div><p>&#8193;</p> </div>
|
496 |
-
<div><p>&#8194;</p> </div>
|
497 |
-
<div><p>&#8195;</p> </div>
|
498 |
-
<div><p>&#8196;</p> </div>
|
499 |
-
<div><p>&#8197;</p> </div>
|
500 |
-
<div><p>&#8198;</p> </div>
|
501 |
-
<div><p>&#8199;</p> </div>
|
502 |
-
<div><p>&#8200;</p> </div>
|
503 |
-
<div><p>&#8201;</p> </div>
|
504 |
-
<div><p>&#8202;</p> </div>
|
505 |
-
<div><p>&#8208;</p>‐</div>
|
506 |
-
<div><p>&#8209;</p>‑</div>
|
507 |
-
<div><p>&#8210;</p>‒</div>
|
508 |
-
<div><p>&#8211;</p>–</div>
|
509 |
-
<div><p>&#8212;</p>—</div>
|
510 |
-
<div><p>&#8216;</p>‘</div>
|
511 |
-
<div><p>&#8217;</p>’</div>
|
512 |
-
<div><p>&#8218;</p>‚</div>
|
513 |
-
<div><p>&#8220;</p>“</div>
|
514 |
-
<div><p>&#8221;</p>”</div>
|
515 |
-
<div><p>&#8222;</p>„</div>
|
516 |
-
<div><p>&#8226;</p>•</div>
|
517 |
-
<div><p>&#8230;</p>…</div>
|
518 |
-
<div><p>&#8239;</p> </div>
|
519 |
-
<div><p>&#8249;</p>‹</div>
|
520 |
-
<div><p>&#8250;</p>›</div>
|
521 |
-
<div><p>&#8287;</p> </div>
|
522 |
-
<div><p>&#8482;</p>™</div>
|
523 |
-
<div><p>&#9724;</p>◼</div>
|
524 |
-
<div><p>&#64257;</p>fi</div>
|
525 |
-
<div><p>&#64258;</p>fl</div>
|
526 |
-
</div>
|
527 |
-
</div>
|
528 |
-
|
529 |
-
|
530 |
-
</div>
|
531 |
-
</div>
|
532 |
-
|
533 |
-
|
534 |
-
<div id="specs">
|
535 |
-
|
536 |
-
</div>
|
537 |
-
|
538 |
-
<div id="installing">
|
539 |
-
<div class="section">
|
540 |
-
<div class="grid7 firstcol">
|
541 |
-
<h1>Installing Webfonts</h1>
|
542 |
-
|
543 |
-
<p>Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.</p>
|
544 |
-
|
545 |
-
<h2>1. Upload your webfonts</h2>
|
546 |
-
<p>You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.</p>
|
547 |
-
|
548 |
-
<h2>2. Include the webfont stylesheet</h2>
|
549 |
-
<p>A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the <a href="http://www.fontspring.com/blog/further-hardening-of-the-bulletproof-syntax">Fontspring blog post</a> about it. The code for it is as follows:</p>
|
550 |
-
|
551 |
-
|
552 |
-
<code>
|
553 |
-
@font-face{
|
554 |
-
font-family: 'MyWebFont';
|
555 |
-
src: url('WebFont.eot');
|
556 |
-
src: url('WebFont.eot?#iefix') format('embedded-opentype'),
|
557 |
-
url('WebFont.woff') format('woff'),
|
558 |
-
url('WebFont.ttf') format('truetype'),
|
559 |
-
url('WebFont.svg#webfont') format('svg');
|
560 |
-
}
|
561 |
-
</code>
|
562 |
-
|
563 |
-
<p>We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:</p>
|
564 |
-
<code><link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /></code>
|
565 |
-
|
566 |
-
<h2>3. Modify your own stylesheet</h2>
|
567 |
-
<p>To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:</p>
|
568 |
-
<code>p { font-family: 'WebFont', Arial, sans-serif; }</code>
|
569 |
-
|
570 |
-
<h2>4. Test</h2>
|
571 |
-
<p>Getting webfonts to work cross-browser <em>can</em> be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.</p>
|
572 |
-
</div>
|
573 |
-
|
574 |
-
<div class="grid5 sidebar">
|
575 |
-
<div class="box">
|
576 |
-
<h2>Troubleshooting<br />Font-Face Problems</h2>
|
577 |
-
<p>Having trouble getting your webfonts to load in your new website? Here are some tips to sort out what might be the problem.</p>
|
578 |
-
|
579 |
-
<h3>Fonts not showing in any browser</h3>
|
580 |
-
|
581 |
-
<p>This sounds like you need to work on the plumbing. You either did not upload the fonts to the correct directory, or you did not link the fonts properly in the CSS. If you've confirmed that all this is correct and you still have a problem, take a look at your .htaccess file and see if requests are getting intercepted.</p>
|
582 |
-
|
583 |
-
<h3>Fonts not loading in iPhone or iPad</h3>
|
584 |
-
|
585 |
-
<p>The most common problem here is that you are serving the fonts from an IIS server. IIS refuses to serve files that have unknown MIME types. If that is the case, you must set the MIME type for SVG to "image/svg+xml" in the server settings. Follow these instructions from Microsoft if you need help.</p>
|
586 |
-
|
587 |
-
<h3>Fonts not loading in Firefox</h3>
|
588 |
-
|
589 |
-
<p>The primary reason for this failure? You are still using a version Firefox older than 3.5. So upgrade already! If that isn't it, then you are very likely serving fonts from a different domain. Firefox requires that all font assets be served from the same domain. Lastly it is possible that you need to add WOFF to your list of MIME types (if you are serving via IIS.)</p>
|
590 |
-
|
591 |
-
<h3>Fonts not loading in IE</h3>
|
592 |
-
|
593 |
-
<p>Are you looking at Internet Explorer on an actual Windows machine or are you cheating by using a service like Adobe BrowserLab? Many of these screenshot services do not render @font-face for IE. Best to test it on a real machine.</p>
|
594 |
-
|
595 |
-
<h3>Fonts not loading in IE9</h3>
|
596 |
-
|
597 |
-
<p>IE9, like Firefox, requires that fonts be served from the same domain as the website. Make sure that is the case.</p>
|
598 |
-
</div>
|
599 |
-
</div>
|
600 |
-
</div>
|
601 |
-
|
602 |
-
</div>
|
603 |
-
|
604 |
-
</div>
|
605 |
-
<div id="footer">
|
606 |
-
<p>©2010-2011 Font Squirrel. All rights reserved.</p>
|
607 |
-
</div>
|
608 |
-
</div>
|
609 |
-
</body>
|
610 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/fonts/helvetica_bold_0-demo.html
DELETED
@@ -1,593 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2 |
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3 |
-
|
4 |
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5 |
-
<head>
|
6 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7 |
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
8 |
-
<script src="specimen_files/easytabs.js" type="text/javascript" charset="utf-8"></script>
|
9 |
-
<link rel="stylesheet" href="specimen_files/specimen_stylesheet.css" type="text/css" charset="utf-8" />
|
10 |
-
<link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" />
|
11 |
-
|
12 |
-
<style type="text/css">
|
13 |
-
body{
|
14 |
-
font-family: 'helveticabold';
|
15 |
-
}
|
16 |
-
</style>
|
17 |
-
|
18 |
-
<title>Helvetica Bold Specimen</title>
|
19 |
-
|
20 |
-
|
21 |
-
<script type="text/javascript" charset="utf-8">
|
22 |
-
$(document).ready(function() {
|
23 |
-
$('#container').easyTabs({defaultContent:1});
|
24 |
-
});
|
25 |
-
</script>
|
26 |
-
</head>
|
27 |
-
|
28 |
-
<body>
|
29 |
-
<div id="container">
|
30 |
-
<div id="header">
|
31 |
-
Helvetica Bold </div>
|
32 |
-
<ul class="tabs">
|
33 |
-
<li><a href="#specimen">Specimen</a></li>
|
34 |
-
<li><a href="#layout">Sample Layout</a></li>
|
35 |
-
<li><a href="#glyphs">Glyphs & Languages</a></li>
|
36 |
-
<li><a href="#installing">Installing Webfonts</a></li>
|
37 |
-
|
38 |
-
</ul>
|
39 |
-
|
40 |
-
<div id="main_content">
|
41 |
-
|
42 |
-
|
43 |
-
<div id="specimen">
|
44 |
-
|
45 |
-
<div class="section">
|
46 |
-
<div class="grid12 firstcol">
|
47 |
-
<div class="huge">AaBb</div>
|
48 |
-
</div>
|
49 |
-
</div>
|
50 |
-
|
51 |
-
<div class="section">
|
52 |
-
<div class="glyph_range">A​B​C​D​E​F​G​H​I​J​K​L​M​N​O​P​Q​R​S​T​U​V​W​X​Y​Z​a​b​c​d​e​f​g​h​i​j​k​l​m​n​o​p​q​r​s​t​u​v​w​x​y​z​1​2​3​4​5​6​7​8​9​0​&​.​,​?​!​@​(​)​#​$​%​*​+​-​=​:​;</div>
|
53 |
-
</div>
|
54 |
-
<div class="section">
|
55 |
-
<div class="grid12 firstcol">
|
56 |
-
<table class="sample_table">
|
57 |
-
<tr><td>10</td><td class="size10">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
58 |
-
<tr><td>11</td><td class="size11">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
59 |
-
<tr><td>12</td><td class="size12">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
60 |
-
<tr><td>13</td><td class="size13">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
61 |
-
<tr><td>14</td><td class="size14">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
62 |
-
<tr><td>16</td><td class="size16">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
63 |
-
<tr><td>18</td><td class="size18">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
64 |
-
<tr><td>20</td><td class="size20">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
65 |
-
<tr><td>24</td><td class="size24">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
66 |
-
<tr><td>30</td><td class="size30">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
67 |
-
<tr><td>36</td><td class="size36">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
68 |
-
<tr><td>48</td><td class="size48">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
69 |
-
<tr><td>60</td><td class="size60">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
70 |
-
<tr><td>72</td><td class="size72">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
71 |
-
<tr><td>90</td><td class="size90">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</td></tr>
|
72 |
-
</table>
|
73 |
-
|
74 |
-
</div>
|
75 |
-
|
76 |
-
</div>
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
<div class="section" id="bodycomparison">
|
81 |
-
|
82 |
-
|
83 |
-
<div id="xheight">
|
84 |
-
<div class="fontbody">◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼◼body</div><div class="arialbody">body</div><div class="verdanabody">body</div><div class="georgiabody">body</div></div>
|
85 |
-
<div class="fontbody" style="z-index:1">
|
86 |
-
body<span>Helvetica Bold</span>
|
87 |
-
</div>
|
88 |
-
<div class="arialbody" style="z-index:1">
|
89 |
-
body<span>Arial</span>
|
90 |
-
</div>
|
91 |
-
<div class="verdanabody" style="z-index:1">
|
92 |
-
body<span>Verdana</span>
|
93 |
-
</div>
|
94 |
-
<div class="georgiabody" style="z-index:1">
|
95 |
-
body<span>Georgia</span>
|
96 |
-
</div>
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
</div>
|
101 |
-
|
102 |
-
|
103 |
-
<div class="section psample psample_row1" id="">
|
104 |
-
|
105 |
-
<div class="grid2 firstcol">
|
106 |
-
<p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
107 |
-
|
108 |
-
</div>
|
109 |
-
<div class="grid3">
|
110 |
-
<p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
111 |
-
|
112 |
-
</div>
|
113 |
-
<div class="grid3">
|
114 |
-
<p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
115 |
-
|
116 |
-
</div>
|
117 |
-
<div class="grid4">
|
118 |
-
<p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
119 |
-
|
120 |
-
</div>
|
121 |
-
<div class="white_blend"></div>
|
122 |
-
|
123 |
-
</div>
|
124 |
-
<div class="section psample psample_row2" id="">
|
125 |
-
<div class="grid3 firstcol">
|
126 |
-
<p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
127 |
-
|
128 |
-
</div>
|
129 |
-
<div class="grid4">
|
130 |
-
<p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
131 |
-
|
132 |
-
</div>
|
133 |
-
<div class="grid5">
|
134 |
-
<p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
135 |
-
|
136 |
-
</div>
|
137 |
-
|
138 |
-
<div class="white_blend"></div>
|
139 |
-
|
140 |
-
</div>
|
141 |
-
|
142 |
-
<div class="section psample psample_row3" id="">
|
143 |
-
<div class="grid5 firstcol">
|
144 |
-
<p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
145 |
-
</div>
|
146 |
-
<div class="grid7">
|
147 |
-
<p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
148 |
-
</div>
|
149 |
-
|
150 |
-
<div class="white_blend"></div>
|
151 |
-
|
152 |
-
</div>
|
153 |
-
|
154 |
-
<div class="section psample psample_row4" id="">
|
155 |
-
<div class="grid12 firstcol">
|
156 |
-
<p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
157 |
-
</div>
|
158 |
-
<div class="white_blend"></div>
|
159 |
-
|
160 |
-
</div>
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
<div class="section psample psample_row1 fullreverse">
|
165 |
-
<div class="grid2 firstcol">
|
166 |
-
<p class="size10"><span>10.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
167 |
-
|
168 |
-
</div>
|
169 |
-
<div class="grid3">
|
170 |
-
<p class="size11"><span>11.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
171 |
-
|
172 |
-
</div>
|
173 |
-
<div class="grid3">
|
174 |
-
<p class="size12"><span>12.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
175 |
-
|
176 |
-
</div>
|
177 |
-
<div class="grid4">
|
178 |
-
<p class="size13"><span>13.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
179 |
-
|
180 |
-
</div>
|
181 |
-
<div class="black_blend"></div>
|
182 |
-
|
183 |
-
</div>
|
184 |
-
|
185 |
-
<div class="section psample psample_row2 fullreverse">
|
186 |
-
<div class="grid3 firstcol">
|
187 |
-
<p class="size14"><span>14.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
188 |
-
|
189 |
-
</div>
|
190 |
-
<div class="grid4">
|
191 |
-
<p class="size16"><span>16.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
192 |
-
|
193 |
-
</div>
|
194 |
-
<div class="grid5">
|
195 |
-
<p class="size18"><span>18.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
196 |
-
|
197 |
-
</div>
|
198 |
-
<div class="black_blend"></div>
|
199 |
-
|
200 |
-
</div>
|
201 |
-
|
202 |
-
<div class="section psample fullreverse psample_row3" id="">
|
203 |
-
<div class="grid5 firstcol">
|
204 |
-
<p class="size20"><span>20.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
205 |
-
</div>
|
206 |
-
<div class="grid7">
|
207 |
-
<p class="size24"><span>24.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
208 |
-
</div>
|
209 |
-
|
210 |
-
<div class="black_blend"></div>
|
211 |
-
|
212 |
-
</div>
|
213 |
-
|
214 |
-
<div class="section psample fullreverse psample_row4" id="" style="border-bottom: 20px #000 solid;">
|
215 |
-
<div class="grid12 firstcol">
|
216 |
-
<p class="size30"><span>30.</span>Aenean lacinia bibendum nulla sed consectetur. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla vitae elit libero, a pharetra augue.</p>
|
217 |
-
</div>
|
218 |
-
<div class="black_blend"></div>
|
219 |
-
|
220 |
-
</div>
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
</div>
|
226 |
-
|
227 |
-
<div id="layout">
|
228 |
-
|
229 |
-
<div class="section">
|
230 |
-
|
231 |
-
<div class="grid12 firstcol">
|
232 |
-
<h1>Lorem Ipsum Dolor</h1>
|
233 |
-
<h2>Etiam porta sem malesuada magna mollis euismod</h2>
|
234 |
-
|
235 |
-
<p class="byline">By <a href="#link">Aenean Lacinia</a></p>
|
236 |
-
</div>
|
237 |
-
</div>
|
238 |
-
<div class="section">
|
239 |
-
<div class="grid8 firstcol">
|
240 |
-
<p class="large">Donec sed odio dui. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
|
241 |
-
|
242 |
-
|
243 |
-
<h3>Pellentesque ornare sem</h3>
|
244 |
-
|
245 |
-
<p>Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas faucibus mollis interdum. Donec ullamcorper nulla non metus auctor fringilla. Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam id dolor id nibh ultricies vehicula ut id elit. </p>
|
246 |
-
|
247 |
-
<p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p>
|
248 |
-
|
249 |
-
<p>Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean lacinia bibendum nulla sed consectetur. </p>
|
250 |
-
|
251 |
-
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla. </p>
|
252 |
-
|
253 |
-
<h3>Cras mattis consectetur</h3>
|
254 |
-
|
255 |
-
<p>Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Cras mattis consectetur purus sit amet fermentum. </p>
|
256 |
-
|
257 |
-
<p>Nullam id dolor id nibh ultricies vehicula ut id elit. Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.</p>
|
258 |
-
</div>
|
259 |
-
|
260 |
-
<div class="grid4 sidebar">
|
261 |
-
|
262 |
-
<div class="box reverse">
|
263 |
-
<p class="last">Nullam quis risus eget urna mollis ornare vel eu leo. Donec ullamcorper nulla non metus auctor fringilla. Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
|
264 |
-
</div>
|
265 |
-
|
266 |
-
<p class="caption">Maecenas sed diam eget risus varius.</p>
|
267 |
-
|
268 |
-
<p>Vestibulum id ligula porta felis euismod semper. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Vestibulum id ligula porta felis euismod semper. Sed posuere consectetur est at lobortis. Maecenas sed diam eget risus varius blandit sit amet non magna. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
<p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Aenean lacinia bibendum nulla sed consectetur. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Aenean lacinia bibendum nulla sed consectetur. Nullam quis risus eget urna mollis ornare vel eu leo. </p>
|
273 |
-
|
274 |
-
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Maecenas faucibus mollis interdum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. </p>
|
275 |
-
|
276 |
-
</div>
|
277 |
-
</div>
|
278 |
-
|
279 |
-
</div>
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
<div id="glyphs">
|
287 |
-
<div class="section">
|
288 |
-
<div class="grid12 firstcol">
|
289 |
-
|
290 |
-
<h1>Language Support</h1>
|
291 |
-
<p>The subset of Helvetica Bold in this kit supports the following languages:<br />
|
292 |
-
|
293 |
-
Albanian, Basque, Breton, Chamorro, English, Finnish, French, Frisian, Galician, German, Italian, Malagasy, Norwegian, Portuguese, Spanish, Swedish </p>
|
294 |
-
<h1>Glyph Chart</h1>
|
295 |
-
<p>The subset of Helvetica Bold in this kit includes all the glyphs listed below. Unicode entities are included above each glyph to help you insert individual characters into your layout.</p>
|
296 |
-
<div id="glyph_chart">
|
297 |
-
|
298 |
-
<div><p>&#32;</p> </div>
|
299 |
-
<div><p>&#33;</p>!</div>
|
300 |
-
<div><p>&#34;</p>"</div>
|
301 |
-
<div><p>&#35;</p>#</div>
|
302 |
-
<div><p>&#36;</p>$</div>
|
303 |
-
<div><p>&#37;</p>%</div>
|
304 |
-
<div><p>&#38;</p>&</div>
|
305 |
-
<div><p>&#39;</p>'</div>
|
306 |
-
<div><p>&#40;</p>(</div>
|
307 |
-
<div><p>&#41;</p>)</div>
|
308 |
-
<div><p>&#42;</p>*</div>
|
309 |
-
<div><p>&#43;</p>+</div>
|
310 |
-
<div><p>&#44;</p>,</div>
|
311 |
-
<div><p>&#45;</p>-</div>
|
312 |
-
<div><p>&#46;</p>.</div>
|
313 |
-
<div><p>&#47;</p>/</div>
|
314 |
-
<div><p>&#48;</p>0</div>
|
315 |
-
<div><p>&#49;</p>1</div>
|
316 |
-
<div><p>&#50;</p>2</div>
|
317 |
-
<div><p>&#51;</p>3</div>
|
318 |
-
<div><p>&#52;</p>4</div>
|
319 |
-
<div><p>&#53;</p>5</div>
|
320 |
-
<div><p>&#54;</p>6</div>
|
321 |
-
<div><p>&#55;</p>7</div>
|
322 |
-
<div><p>&#56;</p>8</div>
|
323 |
-
<div><p>&#57;</p>9</div>
|
324 |
-
<div><p>&#58;</p>:</div>
|
325 |
-
<div><p>&#59;</p>;</div>
|
326 |
-
<div><p>&#60;</p><</div>
|
327 |
-
<div><p>&#61;</p>=</div>
|
328 |
-
<div><p>&#62;</p>></div>
|
329 |
-
<div><p>&#63;</p>?</div>
|
330 |
-
<div><p>&#64;</p>@</div>
|
331 |
-
<div><p>&#65;</p>A</div>
|
332 |
-
<div><p>&#66;</p>B</div>
|
333 |
-
<div><p>&#67;</p>C</div>
|
334 |
-
<div><p>&#68;</p>D</div>
|
335 |
-
<div><p>&#69;</p>E</div>
|
336 |
-
<div><p>&#70;</p>F</div>
|
337 |
-
<div><p>&#71;</p>G</div>
|
338 |
-
<div><p>&#72;</p>H</div>
|
339 |
-
<div><p>&#73;</p>I</div>
|
340 |
-
<div><p>&#74;</p>J</div>
|
341 |
-
<div><p>&#75;</p>K</div>
|
342 |
-
<div><p>&#76;</p>L</div>
|
343 |
-
<div><p>&#77;</p>M</div>
|
344 |
-
<div><p>&#78;</p>N</div>
|
345 |
-
<div><p>&#79;</p>O</div>
|
346 |
-
<div><p>&#80;</p>P</div>
|
347 |
-
<div><p>&#81;</p>Q</div>
|
348 |
-
<div><p>&#82;</p>R</div>
|
349 |
-
<div><p>&#83;</p>S</div>
|
350 |
-
<div><p>&#84;</p>T</div>
|
351 |
-
<div><p>&#85;</p>U</div>
|
352 |
-
<div><p>&#86;</p>V</div>
|
353 |
-
<div><p>&#87;</p>W</div>
|
354 |
-
<div><p>&#88;</p>X</div>
|
355 |
-
<div><p>&#89;</p>Y</div>
|
356 |
-
<div><p>&#90;</p>Z</div>
|
357 |
-
<div><p>&#91;</p>[</div>
|
358 |
-
<div><p>&#92;</p>\</div>
|
359 |
-
<div><p>&#93;</p>]</div>
|
360 |
-
<div><p>&#94;</p>^</div>
|
361 |
-
<div><p>&#95;</p>_</div>
|
362 |
-
<div><p>&#96;</p>`</div>
|
363 |
-
<div><p>&#97;</p>a</div>
|
364 |
-
<div><p>&#98;</p>b</div>
|
365 |
-
<div><p>&#99;</p>c</div>
|
366 |
-
<div><p>&#100;</p>d</div>
|
367 |
-
<div><p>&#101;</p>e</div>
|
368 |
-
<div><p>&#102;</p>f</div>
|
369 |
-
<div><p>&#103;</p>g</div>
|
370 |
-
<div><p>&#104;</p>h</div>
|
371 |
-
<div><p>&#105;</p>i</div>
|
372 |
-
<div><p>&#106;</p>j</div>
|
373 |
-
<div><p>&#107;</p>k</div>
|
374 |
-
<div><p>&#108;</p>l</div>
|
375 |
-
<div><p>&#109;</p>m</div>
|
376 |
-
<div><p>&#110;</p>n</div>
|
377 |
-
<div><p>&#111;</p>o</div>
|
378 |
-
<div><p>&#112;</p>p</div>
|
379 |
-
<div><p>&#113;</p>q</div>
|
380 |
-
<div><p>&#114;</p>r</div>
|
381 |
-
<div><p>&#115;</p>s</div>
|
382 |
-
<div><p>&#116;</p>t</div>
|
383 |
-
<div><p>&#117;</p>u</div>
|
384 |
-
<div><p>&#118;</p>v</div>
|
385 |
-
<div><p>&#119;</p>w</div>
|
386 |
-
<div><p>&#120;</p>x</div>
|
387 |
-
<div><p>&#121;</p>y</div>
|
388 |
-
<div><p>&#122;</p>z</div>
|
389 |
-
<div><p>&#123;</p>{</div>
|
390 |
-
<div><p>&#124;</p>|</div>
|
391 |
-
<div><p>&#125;</p>}</div>
|
392 |
-
<div><p>&#126;</p>~</div>
|
393 |
-
<div><p>&#160;</p> </div>
|
394 |
-
<div><p>&#161;</p>¡</div>
|
395 |
-
<div><p>&#162;</p>¢</div>
|
396 |
-
<div><p>&#163;</p>£</div>
|
397 |
-
<div><p>&#164;</p>¤</div>
|
398 |
-
<div><p>&#165;</p>¥</div>
|
399 |
-
<div><p>&#167;</p>§</div>
|
400 |
-
<div><p>&#168;</p>¨</div>
|
401 |
-
<div><p>&#169;</p>©</div>
|
402 |
-
<div><p>&#170;</p>ª</div>
|
403 |
-
<div><p>&#171;</p>«</div>
|
404 |
-
<div><p>&#172;</p>¬</div>
|
405 |
-
<div><p>&#173;</p>­</div>
|
406 |
-
<div><p>&#174;</p>®</div>
|
407 |
-
<div><p>&#176;</p>°</div>
|
408 |
-
<div><p>&#177;</p>±</div>
|
409 |
-
<div><p>&#180;</p>´</div>
|
410 |
-
<div><p>&#181;</p>µ</div>
|
411 |
-
<div><p>&#182;</p>¶</div>
|
412 |
-
<div><p>&#183;</p>·</div>
|
413 |
-
<div><p>&#184;</p>¸</div>
|
414 |
-
<div><p>&#186;</p>º</div>
|
415 |
-
<div><p>&#187;</p>»</div>
|
416 |
-
<div><p>&#191;</p>¿</div>
|
417 |
-
<div><p>&#192;</p>À</div>
|
418 |
-
<div><p>&#193;</p>Á</div>
|
419 |
-
<div><p>&#194;</p>Â</div>
|
420 |
-
<div><p>&#195;</p>Ã</div>
|
421 |
-
<div><p>&#196;</p>Ä</div>
|
422 |
-
<div><p>&#197;</p>Å</div>
|
423 |
-
<div><p>&#198;</p>Æ</div>
|
424 |
-
<div><p>&#199;</p>Ç</div>
|
425 |
-
<div><p>&#200;</p>È</div>
|
426 |
-
<div><p>&#201;</p>É</div>
|
427 |
-
<div><p>&#202;</p>Ê</div>
|
428 |
-
<div><p>&#203;</p>Ë</div>
|
429 |
-
<div><p>&#204;</p>Ì</div>
|
430 |
-
<div><p>&#205;</p>Í</div>
|
431 |
-
<div><p>&#206;</p>Î</div>
|
432 |
-
<div><p>&#207;</p>Ï</div>
|
433 |
-
<div><p>&#209;</p>Ñ</div>
|
434 |
-
<div><p>&#210;</p>Ò</div>
|
435 |
-
<div><p>&#211;</p>Ó</div>
|
436 |
-
<div><p>&#212;</p>Ô</div>
|
437 |
-
<div><p>&#213;</p>Õ</div>
|
438 |
-
<div><p>&#214;</p>Ö</div>
|
439 |
-
<div><p>&#216;</p>Ø</div>
|
440 |
-
<div><p>&#217;</p>Ù</div>
|
441 |
-
<div><p>&#218;</p>Ú</div>
|
442 |
-
<div><p>&#219;</p>Û</div>
|
443 |
-
<div><p>&#220;</p>Ü</div>
|
444 |
-
<div><p>&#223;</p>ß</div>
|
445 |
-
<div><p>&#224;</p>à</div>
|
446 |
-
<div><p>&#225;</p>á</div>
|
447 |
-
<div><p>&#226;</p>â</div>
|
448 |
-
<div><p>&#227;</p>ã</div>
|
449 |
-
<div><p>&#228;</p>ä</div>
|
450 |
-
<div><p>&#229;</p>å</div>
|
451 |
-
<div><p>&#230;</p>æ</div>
|
452 |
-
<div><p>&#231;</p>ç</div>
|
453 |
-
<div><p>&#232;</p>è</div>
|
454 |
-
<div><p>&#233;</p>é</div>
|
455 |
-
<div><p>&#234;</p>ê</div>
|
456 |
-
<div><p>&#235;</p>ë</div>
|
457 |
-
<div><p>&#236;</p>ì</div>
|
458 |
-
<div><p>&#237;</p>í</div>
|
459 |
-
<div><p>&#238;</p>î</div>
|
460 |
-
<div><p>&#239;</p>ï</div>
|
461 |
-
<div><p>&#241;</p>ñ</div>
|
462 |
-
<div><p>&#242;</p>ò</div>
|
463 |
-
<div><p>&#243;</p>ó</div>
|
464 |
-
<div><p>&#244;</p>ô</div>
|
465 |
-
<div><p>&#245;</p>õ</div>
|
466 |
-
<div><p>&#246;</p>ö</div>
|
467 |
-
<div><p>&#247;</p>÷</div>
|
468 |
-
<div><p>&#248;</p>ø</div>
|
469 |
-
<div><p>&#249;</p>ù</div>
|
470 |
-
<div><p>&#250;</p>ú</div>
|
471 |
-
<div><p>&#251;</p>û</div>
|
472 |
-
<div><p>&#252;</p>ü</div>
|
473 |
-
<div><p>&#255;</p>ÿ</div>
|
474 |
-
<div><p>&#338;</p>Œ</div>
|
475 |
-
<div><p>&#339;</p>œ</div>
|
476 |
-
<div><p>&#376;</p>Ÿ</div>
|
477 |
-
<div><p>&#710;</p>ˆ</div>
|
478 |
-
<div><p>&#732;</p>˜</div>
|
479 |
-
<div><p>&#8192;</p> </div>
|
480 |
-
<div><p>&#8193;</p> </div>
|
481 |
-
<div><p>&#8194;</p> </div>
|
482 |
-
<div><p>&#8195;</p> </div>
|
483 |
-
<div><p>&#8196;</p> </div>
|
484 |
-
<div><p>&#8197;</p> </div>
|
485 |
-
<div><p>&#8198;</p> </div>
|
486 |
-
<div><p>&#8199;</p> </div>
|
487 |
-
<div><p>&#8200;</p> </div>
|
488 |
-
<div><p>&#8201;</p> </div>
|
489 |
-
<div><p>&#8202;</p> </div>
|
490 |
-
<div><p>&#8208;</p>‐</div>
|
491 |
-
<div><p>&#8209;</p>‑</div>
|
492 |
-
<div><p>&#8210;</p>‒</div>
|
493 |
-
<div><p>&#8211;</p>–</div>
|
494 |
-
<div><p>&#8212;</p>—</div>
|
495 |
-
<div><p>&#8216;</p>‘</div>
|
496 |
-
<div><p>&#8217;</p>’</div>
|
497 |
-
<div><p>&#8218;</p>‚</div>
|
498 |
-
<div><p>&#8220;</p>“</div>
|
499 |
-
<div><p>&#8221;</p>”</div>
|
500 |
-
<div><p>&#8222;</p>„</div>
|
501 |
-
<div><p>&#8226;</p>•</div>
|
502 |
-
<div><p>&#8230;</p>…</div>
|
503 |
-
<div><p>&#8239;</p> </div>
|
504 |
-
<div><p>&#8249;</p>‹</div>
|
505 |
-
<div><p>&#8250;</p>›</div>
|
506 |
-
<div><p>&#8287;</p> </div>
|
507 |
-
<div><p>&#8482;</p>™</div>
|
508 |
-
<div><p>&#9724;</p>◼</div>
|
509 |
-
</div>
|
510 |
-
</div>
|
511 |
-
|
512 |
-
|
513 |
-
</div>
|
514 |
-
</div>
|
515 |
-
|
516 |
-
|
517 |
-
<div id="specs">
|
518 |
-
|
519 |
-
</div>
|
520 |
-
|
521 |
-
<div id="installing">
|
522 |
-
<div class="section">
|
523 |
-
<div class="grid7 firstcol">
|
524 |
-
<h1>Installing Webfonts</h1>
|
525 |
-
|
526 |
-
<p>Webfonts are supported by all major browser platforms but not all in the same way. There are currently four different font formats that must be included in order to target all browsers. This includes TTF, WOFF, EOT and SVG.</p>
|
527 |
-
|
528 |
-
<h2>1. Upload your webfonts</h2>
|
529 |
-
<p>You must upload your webfont kit to your website. They should be in or near the same directory as your CSS files.</p>
|
530 |
-
|
531 |
-
<h2>2. Include the webfont stylesheet</h2>
|
532 |
-
<p>A special CSS @font-face declaration helps the various browsers select the appropriate font it needs without causing you a bunch of headaches. Learn more about this syntax by reading the <a href="http://www.fontspring.com/blog/further-hardening-of-the-bulletproof-syntax">Fontspring blog post</a> about it. The code for it is as follows:</p>
|
533 |
-
|
534 |
-
|
535 |
-
<code>
|
536 |
-
@font-face{
|
537 |
-
font-family: 'MyWebFont';
|
538 |
-
src: url('WebFont.eot');
|
539 |
-
src: url('WebFont.eot?#iefix') format('embedded-opentype'),
|
540 |
-
url('WebFont.woff') format('woff'),
|
541 |
-
url('WebFont.ttf') format('truetype'),
|
542 |
-
url('WebFont.svg#webfont') format('svg');
|
543 |
-
}
|
544 |
-
</code>
|
545 |
-
|
546 |
-
<p>We've already gone ahead and generated the code for you. All you have to do is link to the stylesheet in your HTML, like this:</p>
|
547 |
-
<code><link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" /></code>
|
548 |
-
|
549 |
-
<h2>3. Modify your own stylesheet</h2>
|
550 |
-
<p>To take advantage of your new fonts, you must tell your stylesheet to use them. Look at the original @font-face declaration above and find the property called "font-family." The name linked there will be what you use to reference the font. Prepend that webfont name to the font stack in the "font-family" property, inside the selector you want to change. For example:</p>
|
551 |
-
<code>p { font-family: 'WebFont', Arial, sans-serif; }</code>
|
552 |
-
|
553 |
-
<h2>4. Test</h2>
|
554 |
-
<p>Getting webfonts to work cross-browser <em>can</em> be tricky. Use the information in the sidebar to help you if you find that fonts aren't loading in a particular browser.</p>
|
555 |
-
</div>
|
556 |
-
|
557 |
-
<div class="grid5 sidebar">
|
558 |
-
<div class="box">
|
559 |
-
<h2>Troubleshooting<br />Font-Face Problems</h2>
|
560 |
-
<p>Having trouble getting your webfonts to load in your new website? Here are some tips to sort out what might be the problem.</p>
|
561 |
-
|
562 |
-
<h3>Fonts not showing in any browser</h3>
|
563 |
-
|
564 |
-
<p>This sounds like you need to work on the plumbing. You either did not upload the fonts to the correct directory, or you did not link the fonts properly in the CSS. If you've confirmed that all this is correct and you still have a problem, take a look at your .htaccess file and see if requests are getting intercepted.</p>
|
565 |
-
|
566 |
-
<h3>Fonts not loading in iPhone or iPad</h3>
|
567 |
-
|
568 |
-
<p>The most common problem here is that you are serving the fonts from an IIS server. IIS refuses to serve files that have unknown MIME types. If that is the case, you must set the MIME type for SVG to "image/svg+xml" in the server settings. Follow these instructions from Microsoft if you need help.</p>
|
569 |
-
|
570 |
-
<h3>Fonts not loading in Firefox</h3>
|
571 |
-
|
572 |
-
<p>The primary reason for this failure? You are still using a version Firefox older than 3.5. So upgrade already! If that isn't it, then you are very likely serving fonts from a different domain. Firefox requires that all font assets be served from the same domain. Lastly it is possible that you need to add WOFF to your list of MIME types (if you are serving via IIS.)</p>
|
573 |
-
|
574 |
-
<h3>Fonts not loading in IE</h3>
|
575 |
-
|
576 |
-
<p>Are you looking at Internet Explorer on an actual Windows machine or are you cheating by using a service like Adobe BrowserLab? Many of these screenshot services do not render @font-face for IE. Best to test it on a real machine.</p>
|
577 |
-
|
578 |
-
<h3>Fonts not loading in IE9</h3>
|
579 |
-
|
580 |
-
<p>IE9, like Firefox, requires that fonts be served from the same domain as the website. Make sure that is the case.</p>
|
581 |
-
</div>
|
582 |
-
</div>
|
583 |
-
</div>
|
584 |
-
|
585 |
-
</div>
|
586 |
-
|
587 |
-
</div>
|
588 |
-
<div id="footer">
|
589 |
-
<p>©2010-2011 Font Squirrel. All rights reserved.</p>
|
590 |
-
</div>
|
591 |
-
</div>
|
592 |
-
</body>
|
593 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/custom-admin.js
CHANGED
@@ -21,7 +21,8 @@ function sfsi_plus_delete_CusIcon(s, i)
|
|
21 |
sfsiplus_beForeLoad();
|
22 |
var e = {
|
23 |
action:"plus_deleteIcons",
|
24 |
-
icon_name:i.attr("name")
|
|
|
25 |
};
|
26 |
SFSI.ajax({
|
27 |
url:sfsi_plus_ajax_object.ajax_url,
|
@@ -142,12 +143,13 @@ function PlusCustomIConSectionsUpdate()
|
|
142 |
sfsi_plus_section_Display("counter".ele, show);
|
143 |
}
|
144 |
// Upload Custom Skin {Monad}
|
145 |
-
function plus_sfsi_customskin_upload(s, ref)
|
146 |
{
|
147 |
var ttl = jQuery(ref).attr("title");
|
148 |
var i = s, e = {
|
149 |
action:"plus_UploadSkins",
|
150 |
-
custom_imgurl:i
|
|
|
151 |
};
|
152 |
SFSI.ajax({
|
153 |
url:sfsi_plus_ajax_object.ajax_url,
|
@@ -197,9 +199,9 @@ function sfsiplus_deleteskin_icon(s)
|
|
197 |
});
|
198 |
}
|
199 |
// Save Custom Skin {Monad}
|
200 |
-
function SFSI_plus_done()
|
201 |
{
|
202 |
-
e = { action:"plus_Iamdone" };
|
203 |
|
204 |
SFSI.ajax({
|
205 |
url:sfsi_plus_ajax_object.ajax_url,
|
@@ -214,11 +216,12 @@ function SFSI_plus_done()
|
|
214 |
});
|
215 |
}
|
216 |
// Upload Custom Icons {Monad}
|
217 |
-
function plus_sfsi_newcustomicon_upload(s)
|
218 |
{
|
219 |
var i = s, e = {
|
220 |
action:"plus_UploadIcons",
|
221 |
-
custom_imgurl:i
|
|
|
222 |
};
|
223 |
SFSI.ajax({
|
224 |
url:sfsi_plus_ajax_object.ajax_url,
|
@@ -229,7 +232,7 @@ function plus_sfsi_newcustomicon_upload(s)
|
|
229 |
success:function(s) {
|
230 |
if(s.res == 'success')
|
231 |
{
|
232 |
-
sfsiplus_afterIconSuccess(s);
|
233 |
}
|
234 |
else
|
235 |
{
|
@@ -865,7 +868,7 @@ function sfsi_plus_update_step9()
|
|
865 |
}
|
866 |
});
|
867 |
}
|
868 |
-
function sfsiplus_afterIconSuccess(s)
|
869 |
{
|
870 |
if (s.res = "success") {
|
871 |
var i = s.key + 1, e = s.element, t = e + 1;
|
@@ -889,6 +892,7 @@ function sfsiplus_afterIconSuccess(s)
|
|
889 |
SFSI("ul.plus_sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
890 |
|
891 |
SFSI('.banner_custom_icon').show();
|
|
|
892 |
sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step2(),
|
893 |
sfsi_plus_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_plus_showPreviewCounts(),
|
894 |
sfsiplus_afterLoad();
|
@@ -2147,7 +2151,8 @@ SFSI(document).ready(function(){
|
|
2147 |
var message= SFSI(this).find('textarea[name="question"]').val();
|
2148 |
var email=SFSI(this).find('input[name="email"]').val();
|
2149 |
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
2150 |
-
|
|
|
2151 |
if(""===email || false===re.test(String(email).toLowerCase())){
|
2152 |
// console.log(SFSI(this).find('input[name="email"]'));
|
2153 |
SFSI(this).find('input[name="email"]').css('background-color','red');
|
@@ -2169,6 +2174,7 @@ SFSI(document).ready(function(){
|
|
2169 |
action: "sfsiplusOfflineChatMessage",
|
2170 |
message: message,
|
2171 |
email: email,
|
|
|
2172 |
}
|
2173 |
}).done(function(){
|
2174 |
target.find('.before_message_sent').hide();
|
21 |
sfsiplus_beForeLoad();
|
22 |
var e = {
|
23 |
action:"plus_deleteIcons",
|
24 |
+
icon_name:i.attr("name"),
|
25 |
+
nonce: SFSI(i).parents('.plus_custom').find('input[name="nonce"]').val()
|
26 |
};
|
27 |
SFSI.ajax({
|
28 |
url:sfsi_plus_ajax_object.ajax_url,
|
143 |
sfsi_plus_section_Display("counter".ele, show);
|
144 |
}
|
145 |
// Upload Custom Skin {Monad}
|
146 |
+
function plus_sfsi_customskin_upload(s, ref,nonce)
|
147 |
{
|
148 |
var ttl = jQuery(ref).attr("title");
|
149 |
var i = s, e = {
|
150 |
action:"plus_UploadSkins",
|
151 |
+
custom_imgurl:i,
|
152 |
+
nonce:nonce
|
153 |
};
|
154 |
SFSI.ajax({
|
155 |
url:sfsi_plus_ajax_object.ajax_url,
|
199 |
});
|
200 |
}
|
201 |
// Save Custom Skin {Monad}
|
202 |
+
function SFSI_plus_done(nonce)
|
203 |
{
|
204 |
+
e = { action:"plus_Iamdone",nonce:nonce };
|
205 |
|
206 |
SFSI.ajax({
|
207 |
url:sfsi_plus_ajax_object.ajax_url,
|
216 |
});
|
217 |
}
|
218 |
// Upload Custom Icons {Monad}
|
219 |
+
function plus_sfsi_newcustomicon_upload(s,nonce,nonce2)
|
220 |
{
|
221 |
var i = s, e = {
|
222 |
action:"plus_UploadIcons",
|
223 |
+
custom_imgurl:i,
|
224 |
+
nonce:nonce
|
225 |
};
|
226 |
SFSI.ajax({
|
227 |
url:sfsi_plus_ajax_object.ajax_url,
|
232 |
success:function(s) {
|
233 |
if(s.res == 'success')
|
234 |
{
|
235 |
+
sfsiplus_afterIconSuccess(s,nonce2);
|
236 |
}
|
237 |
else
|
238 |
{
|
868 |
}
|
869 |
});
|
870 |
}
|
871 |
+
function sfsiplus_afterIconSuccess(s,nonce)
|
872 |
{
|
873 |
if (s.res = "success") {
|
874 |
var i = s.key + 1, e = s.element, t = e + 1;
|
892 |
SFSI("ul.plus_sfsi_sample_icons").append('<li class="sfsiICON_' + s.key + '" element-id="' + s.key + '" ><div><img src="' + s.img_path + '" alt="Linked In" class="sfcm"/><span class="sfsi_Cdisplay">12k</span></div></li>'),
|
893 |
|
894 |
SFSI('.banner_custom_icon').show();
|
895 |
+
SFSI("#plus_c"+s.key).append('<input type="hidden" name="nonce" value="'+nonce+'">');
|
896 |
sfsi_plus_update_index(), plus_update_Sec5Iconorder(), sfsi_plus_update_step1(), sfsi_plus_update_step2(),
|
897 |
sfsi_plus_update_step5(), SFSI(".upload-overlay").css("pointer-events", "auto"), sfsi_plus_showPreviewCounts(),
|
898 |
sfsiplus_afterLoad();
|
2151 |
var message= SFSI(this).find('textarea[name="question"]').val();
|
2152 |
var email=SFSI(this).find('input[name="email"]').val();
|
2153 |
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
2154 |
+
var nonce= SFSI(this).find('input[name="nonce"]').val();
|
2155 |
+
|
2156 |
if(""===email || false===re.test(String(email).toLowerCase())){
|
2157 |
// console.log(SFSI(this).find('input[name="email"]'));
|
2158 |
SFSI(this).find('input[name="email"]').css('background-color','red');
|
2174 |
action: "sfsiplusOfflineChatMessage",
|
2175 |
message: message,
|
2176 |
email: email,
|
2177 |
+
nonce: nonce
|
2178 |
}
|
2179 |
}).done(function(){
|
2180 |
target.find('.before_message_sent').hide();
|
libs/controllers/sfsi_buttons_controller.php
CHANGED
@@ -7,17 +7,18 @@ function sfsi_plus_options_updater1()
|
|
7 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step1")) {
|
8 |
echo json_encode(array("wrong_nonce")); exit;
|
9 |
}
|
|
|
10 |
$option1= unserialize(get_option('sfsi_plus_section1_options',false));
|
11 |
-
$sfsi_plus_rss_display = isset($_POST["sfsi_plus_rss_display"]) ? $_POST["sfsi_plus_rss_display"] : 'no';
|
12 |
-
$sfsi_plus_email_display = isset($_POST["sfsi_plus_email_display"]) ? $_POST["sfsi_plus_email_display"] : 'no';
|
13 |
-
$sfsi_plus_facebook_display = isset($_POST["sfsi_plus_facebook_display"]) ? $_POST["sfsi_plus_facebook_display"] : 'no';
|
14 |
-
$sfsi_plus_twitter_display = isset($_POST["sfsi_plus_twitter_display"]) ? $_POST["sfsi_plus_twitter_display"] : 'no';
|
15 |
-
$sfsi_plus_google_display = isset($_POST["sfsi_plus_google_display"]) ? $_POST["sfsi_plus_google_display"] : 'no';
|
16 |
-
$sfsi_plus_youtube_display = isset($_POST["sfsi_plus_youtube_display"]) ? $_POST["sfsi_plus_youtube_display"] : 'no';
|
17 |
-
$sfsi_plus_pinterest_display= isset($_POST["sfsi_plus_pinterest_display"]) ? $_POST["sfsi_plus_pinterest_display"] : 'no';
|
18 |
-
$sfsi_plus_instagram_display= isset($_POST["sfsi_plus_instagram_display"]) ? $_POST["sfsi_plus_instagram_display"] : 'no';
|
19 |
-
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? $_POST["sfsi_plus_houzz_display"] : 'no';
|
20 |
-
$sfsi_plus_linkedin_display = isset($_POST["sfsi_plus_linkedin_display"]) ? $_POST["sfsi_plus_linkedin_display"] : 'no';
|
21 |
$sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
|
22 |
$up_option1=array(
|
23 |
'sfsi_plus_rss_display' => sanitize_text_field($sfsi_plus_rss_display),
|
@@ -46,57 +47,58 @@ function sfsi_plus_options_updater2()
|
|
46 |
{
|
47 |
echo json_encode(array("wrong_nonce")); exit;
|
48 |
}
|
49 |
-
|
50 |
-
$
|
|
|
51 |
|
52 |
-
$sfsi_plus_facebookPage_option = isset($_POST["sfsi_plus_facebookPage_option"]) ? $_POST["sfsi_plus_facebookPage_option"] : 'no';
|
53 |
-
$sfsi_plus_facebookPage_url = isset($_POST["sfsi_plus_facebookPage_url"]) ? trim($_POST["sfsi_plus_facebookPage_url"]) : '';
|
54 |
-
$sfsi_plus_facebookLike_option = isset($_POST["sfsi_plus_facebookLike_option"]) ? $_POST["sfsi_plus_facebookLike_option"] : 'no';
|
55 |
-
$sfsi_plus_facebookShare_option = isset($_POST["sfsi_plus_facebookShare_option"]) ? $_POST["sfsi_plus_facebookShare_option"] : 'no';
|
56 |
|
57 |
-
$sfsi_plus_twitter_followme = isset($_POST["sfsi_plus_twitter_followme"]) ? $_POST["sfsi_plus_twitter_followme"] : 'no';
|
58 |
-
$sfsi_plus_twitter_followUserName = isset($_POST["sfsi_plus_twitter_followUserName"]) ? trim($_POST["sfsi_plus_twitter_followUserName"]) : '';
|
59 |
-
$sfsi_plus_twitter_aboutPage = isset($_POST["sfsi_plus_twitter_aboutPage"]) ? $_POST["sfsi_plus_twitter_aboutPage"] : 'no';
|
60 |
-
$sfsi_plus_twitter_page = isset($_POST["sfsi_plus_twitter_page"]) ? $_POST["sfsi_plus_twitter_page"] : 'no';
|
61 |
-
$sfsi_plus_twitter_pageURL = isset($_POST["sfsi_plus_twitter_pageURL"]) ? trim($_POST["sfsi_plus_twitter_pageURL"]) : '';
|
62 |
-
$sfsi_plus_twitter_aboutPageText= isset($_POST["sfsi_plus_twitter_aboutPageText"]) ? $_POST["sfsi_plus_twitter_aboutPageText"] : 'Hey check out this cool site I found';
|
63 |
|
64 |
-
$sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? $_POST["sfsi_plus_google_page"] : 'no';
|
65 |
-
$sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? trim($_POST["sfsi_plus_google_pageURL"]) : '';
|
66 |
-
$sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? $_POST["sfsi_plus_googleLike_option"] : 'no';
|
67 |
-
$sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? $_POST["sfsi_plus_googleShare_option"] : 'no';
|
68 |
|
69 |
-
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? trim($_POST["sfsi_plus_youtube_pageUrl"]) : '';
|
70 |
-
$sfsi_plus_youtube_page = isset($_POST["sfsi_plus_youtube_page"]) ? $_POST["sfsi_plus_youtube_page"] : 'no';
|
71 |
-
$sfsi_plus_youtube_follow = isset($_POST["sfsi_plus_youtube_follow"]) ? $_POST["sfsi_plus_youtube_follow"] : 'no';
|
72 |
|
73 |
-
$sfsi_plus_pinterest_page = isset($_POST["sfsi_plus_pinterest_page"]) ? $_POST["sfsi_plus_pinterest_page"] : 'no';
|
74 |
-
$sfsi_plus_pinterest_pageUrl = isset($_POST["sfsi_plus_pinterest_pageUrl"]) ? trim($_POST["sfsi_plus_pinterest_pageUrl"]) : '';
|
75 |
-
$sfsi_plus_pinterest_pingBlog = isset($_POST["sfsi_plus_pinterest_pingBlog"]) ? $_POST["sfsi_plus_pinterest_pingBlog"] : 'no';
|
76 |
|
77 |
-
$sfsi_plus_instagram_pageUrl = isset($_POST["sfsi_plus_instagram_pageUrl"]) ? trim($_POST["sfsi_plus_instagram_pageUrl"]) : '';
|
78 |
|
79 |
-
$sfsi_plus_linkedin_page = isset($_POST["sfsi_plus_linkedin_page"]) ? $_POST["sfsi_plus_linkedin_page"] : 'no';
|
80 |
-
$sfsi_plus_linkedin_pageURL = isset($_POST["sfsi_plus_linkedin_pageURL"]) ? trim($_POST["sfsi_plus_linkedin_pageURL"]) : '';
|
81 |
-
$sfsi_plus_linkedin_follow = isset($_POST["sfsi_plus_linkedin_follow"]) ? $_POST["sfsi_plus_linkedin_follow"] : 'no';
|
82 |
-
$sfsi_plus_linkedin_SharePage = isset($_POST["sfsi_plus_linkedin_SharePage"]) ? $_POST["sfsi_plus_linkedin_SharePage"] : 'no';
|
83 |
|
84 |
$sfsi_plus_linkedin_followCompany = isset($_POST["sfsi_plus_linkedin_followCompany"])
|
85 |
-
? trim($_POST["sfsi_plus_linkedin_followCompany"])
|
86 |
-
: '';
|
87 |
$sfsi_plus_linkedin_recommendBusines = isset($_POST["sfsi_plus_linkedin_recommendBusines"])
|
88 |
-
? $_POST["sfsi_plus_linkedin_recommendBusines"]
|
89 |
-
: 'no';
|
90 |
$sfsi_plus_linkedin_recommendCompany = isset($_POST["sfsi_plus_linkedin_recommendCompany"])
|
91 |
-
? trim($_POST["sfsi_plus_linkedin_recommendCompany"])
|
92 |
-
: '';
|
93 |
$sfsi_plus_linkedin_recommendProductId = isset($_POST["sfsi_plus_linkedin_recommendProductId"])
|
94 |
-
? trim($_POST["sfsi_plus_linkedin_recommendProductId"])
|
95 |
-
: '';
|
96 |
|
97 |
-
$sfsi_plus_youtubeusernameorid = isset($_POST["sfsi_plus_youtubeusernameorid"]) ? trim($_POST["sfsi_plus_youtubeusernameorid"]) : '';
|
98 |
-
$sfsi_plus_ytube_user = isset($_POST["sfsi_plus_ytube_user"]) ? $_POST["sfsi_plus_ytube_user"] : '';
|
99 |
-
$sfsi_plus_ytube_chnlid = isset($_POST["sfsi_plus_ytube_chnlid"]) ? $_POST["sfsi_plus_ytube_chnlid"] : '';
|
100 |
|
101 |
/*
|
102 |
* Escape custom icons url
|
@@ -119,7 +121,7 @@ function sfsi_plus_options_updater2()
|
|
119 |
$esacpedUrls = '';
|
120 |
}
|
121 |
$sfsi_plus_CustomIcon_links= isset($_POST["sfsi_plus_custom_links"]) ? serialize($esacpedUrls) : '';
|
122 |
-
$sfsi_plus_houzz_pageUrl = isset($_POST["sfsi_plus_houzz_pageUrl"]) ? trim($_POST["sfsi_plus_houzz_pageUrl"]) : '';
|
123 |
|
124 |
$option2 = unserialize(get_option('sfsi_plus_section2_options',false));
|
125 |
$up_option2 = array(
|
@@ -193,33 +195,34 @@ function sfsi_plus_options_updater3()
|
|
193 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step3")) {
|
194 |
echo json_encode(array("wrong_nonce")); exit;
|
195 |
}
|
196 |
-
|
197 |
-
$
|
|
|
198 |
|
199 |
-
$sfsi_plus_mouseOver_effect = isset($_POST["sfsi_plus_mouseOver_effect"]) ? $_POST["sfsi_plus_mouseOver_effect"] : 'fade_in';
|
200 |
|
201 |
-
$sfsi_plus_mouseover_effect_type = isset($_POST["sfsi_plus_mouseover_effect_type"]) ? $_POST["sfsi_plus_mouseover_effect_type"] : 'same_icons';
|
202 |
|
203 |
-
$sfsi_plus_shuffle_icons = isset($_POST["sfsi_plus_shuffle_icons"]) ? $_POST["sfsi_plus_shuffle_icons"] : 'no';
|
204 |
-
$sfsi_plus_shuffle_Firstload = isset($_POST["sfsi_plus_shuffle_Firstload"]) ? $_POST["sfsi_plus_shuffle_Firstload"] : 'no';
|
205 |
-
$sfsi_plus_shuffle_interval = isset($_POST["sfsi_plus_shuffle_interval"]) ? $_POST["sfsi_plus_shuffle_interval"] : 'no';
|
206 |
-
$sfsi_plus_shuffle_intervalTime = isset($_POST["sfsi_plus_shuffle_intervalTime"]) ? $_POST["sfsi_plus_shuffle_intervalTime"] : '';
|
207 |
-
$sfsi_plus_specialIcon_animation = isset($_POST["sfsi_plus_specialIcon_animation"]) ? $_POST["sfsi_plus_specialIcon_animation"] : '';
|
208 |
-
$sfsi_plus_specialIcon_MouseOver = isset($_POST["sfsi_plus_specialIcon_MouseOver"]) ? $_POST["sfsi_plus_specialIcon_MouseOver"] : 'no';
|
209 |
-
$sfsi_plus_specialIcon_Firstload = isset($_POST["sfsi_plus_specialIcon_Firstload"]) ? $_POST["sfsi_plus_specialIcon_Firstload"] : 'no';
|
210 |
|
211 |
$sfsi_plus_specialIcon_Firstload_Icons = isset($_POST["sfsi_plus_specialIcon_Firstload_Icons"])
|
212 |
-
? $_POST["sfsi_plus_specialIcon_Firstload_Icons"]
|
213 |
-
: 'all';
|
214 |
$sfsi_plus_specialIcon_interval = isset($_POST["sfsi_plus_specialIcon_interval"])
|
215 |
-
? $_POST["sfsi_plus_specialIcon_interval"]
|
216 |
-
: 'no';
|
217 |
$sfsi_plus_specialIcon_intervalTime = isset($_POST["sfsi_plus_specialIcon_intervalTime"])
|
218 |
-
? $_POST["sfsi_plus_specialIcon_intervalTime"]
|
219 |
-
: '';
|
220 |
$sfsi_plus_specialIcon_intervalIcons = isset($_POST["sfsi_plus_specialIcon_intervalIcons"])
|
221 |
-
? $_POST["sfsi_plus_specialIcon_intervalIcons"]
|
222 |
-
: 'all';
|
223 |
|
224 |
/* Design and animation option */
|
225 |
$up_option3 = array(
|
@@ -251,69 +254,70 @@ function sfsi_plus_options_updater4()
|
|
251 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step4")) {
|
252 |
echo json_encode(array("wrong_nonce")); exit;
|
253 |
}
|
254 |
-
|
|
|
255 |
|
256 |
-
$sfsi_plus_email_countsDisplay = isset($_POST["sfsi_plus_email_countsDisplay"]) ? $_POST["sfsi_plus_email_countsDisplay"] : 'no';
|
257 |
-
$sfsi_plus_email_countsFrom = isset($_POST["sfsi_plus_email_countsFrom"]) ? $_POST["sfsi_plus_email_countsFrom"] : 'manual';
|
258 |
-
$sfsi_plus_email_manualCounts = isset($_POST["sfsi_plus_email_manualCounts"]) ? trim($_POST["sfsi_plus_email_manualCounts"]) : '';
|
259 |
|
260 |
-
$sfsi_plus_rss_countsDisplay = isset($_POST["sfsi_plus_rss_countsDisplay"]) ? $_POST["sfsi_plus_rss_countsDisplay"] : 'no';
|
261 |
-
$sfsi_plus_rss_manualCounts = isset($_POST["sfsi_plus_rss_manualCounts"]) ? trim($_POST["sfsi_plus_rss_manualCounts"]) : '';
|
262 |
|
263 |
-
$sfsi_plus_facebook_countsDisplay = isset($_POST["sfsi_plus_facebook_countsDisplay"]) ? $_POST["sfsi_plus_facebook_countsDisplay"] : 'no';
|
264 |
-
$sfsi_plus_facebook_countsFrom = isset($_POST["sfsi_plus_facebook_countsFrom"]) ? $_POST["sfsi_plus_facebook_countsFrom"] : 'manual';
|
265 |
-
$sfsi_plus_facebook_mypageCounts = isset($_POST["sfsi_plus_facebook_mypageCounts"]) ? trim($_POST["sfsi_plus_facebook_mypageCounts"]) : '';
|
266 |
-
$sfsi_plus_facebook_manualCounts = isset($_POST["sfsi_plus_facebook_manualCounts"]) ? trim($_POST["sfsi_plus_facebook_manualCounts"]) : '';
|
267 |
-
$sfsi_plus_facebook_PageLink = isset($_POST["sfsi_plus_facebook_PageLink"]) ? trim($_POST["sfsi_plus_facebook_PageLink"]) : '';
|
268 |
|
269 |
-
$sfsi_plus_twitter_countsDisplay = isset($_POST["sfsi_plus_twitter_countsDisplay"]) ? $_POST["sfsi_plus_twitter_countsDisplay"] : 'no';
|
270 |
-
$sfsi_plus_twitter_countsFrom = isset($_POST["sfsi_plus_twitter_countsFrom"]) ? $_POST["sfsi_plus_twitter_countsFrom"] : 'manual';
|
271 |
-
$sfsi_plus_twitter_manualCounts = isset($_POST["sfsi_plus_twitter_manualCounts"]) ? trim($_POST["sfsi_plus_twitter_manualCounts"]) : '';
|
272 |
-
$sfsiplus_tw_consumer_key = isset($_POST["sfsiplus_tw_consumer_key"]) ? trim($_POST["sfsiplus_tw_consumer_key"]) : '';
|
273 |
-
$sfsiplus_tw_consumer_secret = isset($_POST["sfsiplus_tw_consumer_secret"]) ? trim($_POST["sfsiplus_tw_consumer_secret"]) : '';
|
274 |
-
$sfsiplus_tw_oauth_access_token = isset($_POST["sfsiplus_tw_oauth_access_token"]) ? trim($_POST["sfsiplus_tw_oauth_access_token"]) : '';
|
275 |
$sfsiplus_tw_oauth_access_token_secret = isset($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
276 |
-
? trim($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
277 |
-
: '';
|
278 |
|
279 |
-
$sfsi_plus_google_countsDisplay = isset($_POST["sfsi_plus_google_countsDisplay"]) ? $_POST["sfsi_plus_google_countsDisplay"] : 'no';
|
280 |
-
$sfsi_plus_google_countsFrom = isset($_POST["sfsi_plus_google_countsFrom"]) ? $_POST["sfsi_plus_google_countsFrom"] : 'manual';
|
281 |
-
$sfsi_plus_google_manualCounts = isset($_POST["sfsi_plus_google_manualCounts"]) ? trim($_POST["sfsi_plus_google_manualCounts"]) : '';
|
282 |
-
$sfsi_plus_google_api_key = isset($_POST["sfsi_plus_google_api_key"]) ? trim($_POST["sfsi_plus_google_api_key"]) : '';
|
283 |
|
284 |
-
$sfsi_plus_linkedIn_countsDisplay = isset($_POST["sfsi_plus_linkedIn_countsDisplay"]) ? $_POST["sfsi_plus_linkedIn_countsDisplay"] : 'no';
|
285 |
-
$sfsi_plus_linkedIn_countsFrom = isset($_POST["sfsi_plus_linkedIn_countsFrom"]) ? $_POST["sfsi_plus_linkedIn_countsFrom"] : 'manual';
|
286 |
-
$sfsi_plus_linkedIn_manualCounts = isset($_POST["sfsi_plus_linkedIn_manualCounts"]) ? trim($_POST["sfsi_plus_linkedIn_manualCounts"]) : '';
|
287 |
-
$sfsi_plus_ln_company = isset($_POST["sfsi_plus_ln_company"]) ? trim($_POST["sfsi_plus_ln_company"]) : '';
|
288 |
-
$sfsi_plus_ln_api_key = isset($_POST["sfsi_plus_ln_api_key"]) ? trim($_POST["sfsi_plus_ln_api_key"]) : '';
|
289 |
-
$sfsi_plus_ln_secret_key = isset($_POST["sfsi_plus_ln_secret_key"]) ? trim($_POST["sfsi_plus_ln_secret_key"]) : '';
|
290 |
-
$sfsi_plus_ln_oAuth_user_token = isset($_POST["sfsi_plus_ln_oAuth_user_token"]) ? trim($_POST["sfsi_plus_ln_oAuth_user_token"]) : '';
|
291 |
|
292 |
-
$sfsi_plus_youtube_countsDisplay = isset($_POST["sfsi_plus_youtube_countsDisplay"]) ? $_POST["sfsi_plus_youtube_countsDisplay"] : 'no';
|
293 |
-
$sfsi_plus_youtube_countsFrom = isset($_POST["sfsi_plus_youtube_countsFrom"]) ? $_POST["sfsi_plus_youtube_countsFrom"] : 'manual';
|
294 |
-
$sfsi_plus_youtube_manualCounts = isset($_POST["sfsi_plus_youtube_manualCounts"]) ? $_POST["sfsi_plus_youtube_manualCounts"] : '';
|
295 |
-
$sfsi_plus_youtube_user = isset($_POST["sfsi_plus_youtube_user"]) ? trim($_POST["sfsi_plus_youtube_user"]) : '';
|
296 |
-
$sfsi_plus_youtube_channelId = isset($_POST["sfsi_plus_youtube_channelId"]) ? trim($_POST["sfsi_plus_youtube_channelId"]) : '';
|
297 |
|
298 |
-
$sfsi_plus_pinterest_countsDisplay = isset($_POST["sfsi_plus_pinterest_countsDisplay"]) ? $_POST["sfsi_plus_pinterest_countsDisplay"] : 'no';
|
299 |
-
$sfsi_plus_pinterest_countsFrom = isset($_POST["sfsi_plus_pinterest_countsFrom"]) ? $_POST["sfsi_plus_pinterest_countsFrom"] : 'manual';
|
300 |
-
$sfsi_plus_pinterest_manualCounts = isset($_POST["sfsi_plus_pinterest_manualCounts"]) ? trim($_POST["sfsi_plus_pinterest_manualCounts"]) : '';
|
301 |
-
$sfsi_plus_pinterest_user = isset($_POST["sfsi_plus_pinterest_user"]) ? trim($_POST["sfsi_plus_pinterest_user"]) : '';
|
302 |
-
$sfsi_plus_pinterest_board = isset($_POST["sfsi_plus_pinterest_board"]) ? trim($_POST["sfsi_plus_pinterest_board"]) : '';
|
303 |
|
304 |
-
$sfsi_plus_instagram_countsDisplay = isset($_POST["sfsi_plus_instagram_countsDisplay"]) ? $_POST["sfsi_plus_instagram_countsDisplay"] : 'no';
|
305 |
-
$sfsi_plus_instagram_countsFrom = isset($_POST["sfsi_plus_instagram_countsFrom"]) ? $_POST["sfsi_plus_instagram_countsFrom"] : 'manual';
|
306 |
-
$sfsi_plus_instagram_manualCounts = isset($_POST["sfsi_plus_instagram_manualCounts"]) ? trim($_POST["sfsi_plus_instagram_manualCounts"]) : '';
|
307 |
-
$sfsi_plus_instagram_User = isset($_POST["sfsi_plus_instagram_User"]) ? $_POST["sfsi_plus_instagram_User"] : '';
|
308 |
-
$sfsi_plus_instagram_clientid = isset($_POST["sfsi_plus_instagram_clientid"]) ? $_POST["sfsi_plus_instagram_clientid"] : '';
|
309 |
-
$sfsi_plus_instagram_appurl = isset($_POST["sfsi_plus_instagram_appurl"]) ? $_POST["sfsi_plus_instagram_appurl"] : '';
|
310 |
-
$sfsi_plus_instagram_token = isset($_POST["sfsi_plus_instagram_token"]) ? $_POST["sfsi_plus_instagram_token"] : '';
|
311 |
|
312 |
-
$sfsi_plus_houzz_countsDisplay = isset($_POST["sfsi_plus_houzz_countsDisplay"]) ? $_POST["sfsi_plus_houzz_countsDisplay"] : 'no';
|
313 |
-
$sfsi_plus_houzz_countsFrom = isset($_POST["sfsi_plus_houzz_countsFrom"]) ? $_POST["sfsi_plus_houzz_countsFrom"] : 'manual';
|
314 |
-
$sfsi_plus_houzz_manualCounts = isset($_POST["sfsi_plus_houzz_manualCounts"]) ? trim($_POST["sfsi_plus_houzz_manualCounts"]) : '';
|
315 |
|
316 |
-
$sfsi_plus_facebookPage_url = isset($_POST["sfsi_plus_facebookPage_url"]) ? trim($_POST["sfsi_plus_facebookPage_url"]) : '';
|
317 |
|
318 |
$up_option4 = array(
|
319 |
'sfsi_plus_display_counts' => sanitize_text_field($sfsi_plus_display_counts),
|
@@ -389,61 +393,77 @@ function sfsi_plus_options_updater5()
|
|
389 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step5")) {
|
390 |
echo json_encode(array("wrong_nonce")); exit;
|
391 |
}
|
392 |
-
|
393 |
-
|
394 |
-
$
|
395 |
-
$
|
|
|
396 |
|
397 |
-
$sfsi_plus_icons_language = isset($_POST["sfsi_plus_icons_language"]) ? $_POST["sfsi_plus_icons_language"] : 'en_US';
|
398 |
-
$sfsi_plus_icons_ClickPageOpen = isset($_POST["sfsi_plus_icons_ClickPageOpen"]) ? $_POST["sfsi_plus_icons_ClickPageOpen"] : 'no';
|
399 |
-
$sfsi_plus_icons_float = isset($_POST["sfsi_plus_icons_float"]) ? $_POST["sfsi_plus_icons_float"] : 'no';
|
400 |
-
$sfsi_plus_disable_floaticons = isset($_POST["sfsi_plus_disable_floaticons"]) ? $_POST["sfsi_plus_disable_floaticons"] : 'no';
|
401 |
-
$sfsi_plus_disable_viewport = isset($_POST["sfsi_plus_disable_viewport"]) ? $_POST["sfsi_plus_disable_viewport"] : 'no';
|
402 |
-
$sfsi_plus_icons_floatPosition = isset($_POST["sfsi_plus_icons_floatPosition"]) ? $_POST["sfsi_plus_icons_floatPosition"] : 'center-right';
|
403 |
-
$sfsi_plus_icons_stick = isset($_POST["sfsi_plus_icons_stick"]) ? $_POST["sfsi_plus_icons_stick"] : 'no';
|
404 |
-
$sfsi_plus_rss_MouseOverText = isset($_POST["sfsi_plus_rss_MouseOverText"]) ? $_POST["sfsi_plus_rss_MouseOverText"] : '';
|
405 |
-
$sfsi_plus_email_MouseOverText = isset($_POST["sfsi_plus_email_MouseOverText"]) ? $_POST["sfsi_plus_email_MouseOverText"] : '';
|
406 |
|
407 |
-
$sfsi_plus_twitter_MouseOverText = isset($_POST["sfsi_plus_twitter_MouseOverText"]) ? $_POST["sfsi_plus_twitter_MouseOverText"] : '';
|
408 |
-
$sfsi_plus_facebook_MouseOverText = isset($_POST["sfsi_plus_facebook_MouseOverText"]) ? $_POST["sfsi_plus_facebook_MouseOverText"] : '';
|
409 |
-
$sfsi_plus_google_MouseOverText = isset($_POST["sfsi_plus_google_MouseOverText"]) ? $_POST["sfsi_plus_google_MouseOverText"] : '';
|
410 |
-
$sfsi_plus_linkedIn_MouseOverText = isset($_POST["sfsi_plus_linkedIn_MouseOverText"]) ? $_POST["sfsi_plus_linkedIn_MouseOverText"] : '';
|
411 |
-
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? $_POST["sfsi_plus_pinterest_MouseOverText"] : '';
|
412 |
-
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? $_POST["sfsi_plus_instagram_MouseOverText"] : '';
|
413 |
-
$sfsi_plus_houzz_MouseOverText = isset($_POST["sfsi_plus_houzz_MouseOverText"]) ? $_POST["sfsi_plus_houzz_MouseOverText"] : '';
|
414 |
-
$sfsi_plus_youtube_MouseOverText = isset($_POST["sfsi_plus_youtube_MouseOverText"]) ? $_POST["sfsi_plus_youtube_MouseOverText"] : '';
|
415 |
-
$sfsi_plus_custom_orders = isset($_POST["sfsi_plus_custom_orders"]) ? serialize($_POST["sfsi_plus_custom_orders"]) : '';
|
416 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
417 |
|
418 |
-
|
419 |
-
$
|
420 |
-
$
|
421 |
-
$
|
422 |
-
$
|
423 |
-
$
|
424 |
-
$
|
425 |
-
$
|
426 |
-
|
427 |
-
$
|
|
|
428 |
|
429 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
430 |
|
431 |
$sfsi_plus_follow_icons_language = isset($_POST["sfsi_plus_follow_icons_language"])
|
432 |
-
? $_POST["sfsi_plus_follow_icons_language"]
|
433 |
-
: 'Follow_en_US';
|
434 |
$sfsi_plus_facebook_icons_language = isset($_POST["sfsi_plus_facebook_icons_language"])
|
435 |
-
? $_POST["sfsi_plus_facebook_icons_language"]
|
436 |
-
: 'Visit_us_en_US';
|
437 |
$sfsi_plus_twitter_icons_language = isset($_POST["sfsi_plus_twitter_icons_language"])
|
438 |
-
? $_POST["sfsi_plus_twitter_icons_language"]
|
439 |
-
: 'Visit_us_en_US';
|
440 |
$sfsi_plus_google_icons_language = isset($_POST["sfsi_plus_google_icons_language"])
|
441 |
-
? $_POST["sfsi_plus_google_icons_language"]
|
442 |
-
: 'Visit_us_en_US';
|
443 |
|
444 |
-
$sfsi_plus_custom_social_hide = isset($_POST["sfsi_plus_custom_social_hide"]) ? $_POST["sfsi_plus_custom_social_hide"] : 'no';
|
445 |
|
446 |
-
$sfsi_pplus_icons_suppress_errors = isset($_POST["sfsi_pplus_icons_suppress_errors"]) ? $_POST["sfsi_pplus_icons_suppress_errors"] : 'no';
|
447 |
|
448 |
/* size and spacing of icons */
|
449 |
$up_option5=array(
|
@@ -501,11 +521,12 @@ function sfsi_plus_options_updater6()
|
|
501 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step6")) {
|
502 |
echo json_encode(array("wrong_nonce")); exit;
|
503 |
}
|
504 |
-
|
505 |
-
$
|
506 |
-
$
|
507 |
-
$
|
508 |
-
$
|
|
|
509 |
/* post options */
|
510 |
$up_option6=array(
|
511 |
'sfsi_plus_show_Onposts' => sanitize_text_field($sfsi_plus_show_Onposts),
|
@@ -525,28 +546,35 @@ function sfsi_plus_options_updater7()
|
|
525 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step7")) {
|
526 |
echo json_encode(array("wrong_nonce")); exit;
|
527 |
}
|
528 |
-
|
|
|
529 |
$sfsi_plus_popup_background_color = isset($_POST["sfsi_plus_popup_background_color"])
|
530 |
-
? $_POST["sfsi_plus_popup_background_color"]
|
531 |
-
: '#fffff';
|
532 |
$sfsi_plus_popup_border_color = isset($_POST["sfsi_plus_popup_border_color"])
|
533 |
-
? $_POST["sfsi_plus_popup_border_color"]
|
534 |
-
: 'center-right';
|
535 |
-
$sfsi_plus_popup_border_thickness = isset($_POST["sfsi_plus_popup_border_thickness"]) ? $_POST["sfsi_plus_popup_border_thickness"] : '';
|
536 |
-
$sfsi_plus_popup_border_shadow = isset($_POST["sfsi_plus_popup_border_shadow"]) ? $_POST["sfsi_plus_popup_border_shadow"] : 'no';
|
537 |
-
$sfsi_plus_popup_font = isset($_POST["sfsi_plus_popup_font"]) ? $_POST["sfsi_plus_popup_font"] : '';
|
538 |
-
$sfsi_plus_popup_fontSize = isset($_POST["sfsi_plus_popup_fontSize"]) ? $_POST["sfsi_plus_popup_fontSize"] : 'no';
|
539 |
-
$sfsi_plus_popup_fontStyle = isset($_POST["sfsi_plus_popup_fontStyle"]) ? $_POST["sfsi_plus_popup_fontStyle"] : '';
|
540 |
-
$sfsi_plus_popup_fontColor = isset($_POST["sfsi_plus_popup_fontColor"]) ? $_POST["sfsi_plus_popup_fontColor"] : 'no';
|
541 |
-
$sfsi_plus_Show_popupOn = isset($_POST["sfsi_plus_Show_popupOn"]) ? $_POST["sfsi_plus_Show_popupOn"] : '';
|
542 |
-
|
543 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
: '';
|
545 |
-
$sfsi_plus_Shown_pop = isset($_POST["sfsi_plus_Shown_pop"]) ? $_POST["sfsi_plus_Shown_pop"] : '';
|
546 |
-
$sfsi_plus_Shown_popupOnceTime = isset($_POST["sfsi_plus_Shown_popupOnceTime"]) ? $_POST["sfsi_plus_Shown_popupOnceTime"] : 'no';
|
547 |
$sfsi_plus_Shown_popuplimitPerUserTime = isset($_POST["sfsi_plus_Shown_popuplimitPerUserTime"])
|
548 |
-
? $_POST["sfsi_plus_Shown_popuplimitPerUserTime"]
|
549 |
-
: '';
|
550 |
/* icons pop options */
|
551 |
$up_option7=array(
|
552 |
'sfsi_plus_popup_text' => sanitize_text_field(stripslashes($sfsi_plus_popup_text)),
|
@@ -575,40 +603,41 @@ function sfsi_plus_options_updater8()
|
|
575 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step8")) {
|
576 |
echo json_encode(array("wrong_nonce")); exit;
|
577 |
}
|
578 |
-
|
579 |
-
|
580 |
-
|
|
|
581 |
|
582 |
-
$sfsi_plus_icons_floatMargin_top = isset($_POST["sfsi_plus_icons_floatMargin_top"]) ? $_POST["sfsi_plus_icons_floatMargin_top"] : '';
|
583 |
-
$sfsi_plus_icons_floatMargin_bottom = isset($_POST["sfsi_plus_icons_floatMargin_bottom"])? $_POST["sfsi_plus_icons_floatMargin_bottom"]:'';
|
584 |
-
$sfsi_plus_icons_floatMargin_left = isset($_POST["sfsi_plus_icons_floatMargin_left"]) ? $_POST["sfsi_plus_icons_floatMargin_left"] : '';
|
585 |
-
$sfsi_plus_icons_floatMargin_right = isset($_POST["sfsi_plus_icons_floatMargin_right"]) ? $_POST["sfsi_plus_icons_floatMargin_right"]:'';
|
586 |
|
587 |
-
$sfsi_plus_place_item_manually = isset($_POST["sfsi_plus_place_item_manually"]) ? $_POST["sfsi_plus_place_item_manually"] : 'no';
|
588 |
-
$sfsi_plus_place_item_gutenberg = isset($_POST["sfsi_plus_place_item_gutenberg"]) ? $_POST["sfsi_plus_place_item_gutenberg"] : 'no';
|
589 |
-
$sfsi_plus_show_item_onposts = isset($_POST["sfsi_plus_show_item_onposts"]) ? $_POST["sfsi_plus_show_item_onposts"] : 'no';
|
590 |
-
$sfsi_plus_display_button_type = isset($_POST["sfsi_plus_display_button_type"]) ? $_POST["sfsi_plus_display_button_type"] : 'no';
|
591 |
|
592 |
-
$sfsi_plus_post_icons_size = isset($_POST["sfsi_plus_post_icons_size"]) ? $_POST["sfsi_plus_post_icons_size"] : 40;
|
593 |
-
$sfsi_plus_post_icons_spacing = isset($_POST["sfsi_plus_post_icons_spacing"]) ? $_POST["sfsi_plus_post_icons_spacing"] : 5;
|
594 |
-
$sfsi_plus_show_Onposts = isset($_POST["sfsi_plus_show_Onposts"]) ? $_POST["sfsi_plus_show_Onposts"] : 'no';
|
595 |
-
$sfsi_plus_textBefor_icons = isset($_POST["sfsi_plus_textBefor_icons"]) ? $_POST["sfsi_plus_textBefor_icons"] : 'Please follow and like us:';
|
596 |
-
$sfsi_plus_icons_alignment = isset($_POST["sfsi_plus_icons_alignment"]) ? $_POST["sfsi_plus_icons_alignment"] : 'center-right';
|
597 |
-
$sfsi_plus_icons_DisplayCounts = isset($_POST["sfsi_plus_icons_DisplayCounts"]) ? $_POST["sfsi_plus_icons_DisplayCounts"] : 'no';
|
598 |
-
$sfsi_plus_display_before_posts = isset($_POST["sfsi_plus_display_before_posts"]) ? $_POST["sfsi_plus_display_before_posts"] : 'no';
|
599 |
-
$sfsi_plus_display_after_posts = isset($_POST["sfsi_plus_display_after_posts"]) ? $_POST["sfsi_plus_display_after_posts"] : 'no';
|
600 |
|
601 |
-
//$sfsi_plus_display_on_postspage = isset($_POST["sfsi_plus_display_on_postspage"]) ? $_POST["sfsi_plus_display_on_postspage"] : 'no';
|
602 |
-
//$sfsi_plus_display_on_homepage = isset($_POST["sfsi_plus_display_on_homepage"]) ? $_POST["sfsi_plus_display_on_homepage"] : 'no';
|
603 |
|
604 |
-
$sfsi_plus_display_before_blogposts = isset($_POST["sfsi_plus_display_before_blogposts"]) ? $_POST["sfsi_plus_display_before_blogposts"] : 'no';
|
605 |
-
$sfsi_plus_display_after_blogposts = isset($_POST["sfsi_plus_display_after_blogposts"]) ? $_POST["sfsi_plus_display_after_blogposts"] : 'no';
|
606 |
-
$sfsi_plus_rectsub = isset($_POST["sfsi_plus_rectsub"]) ? $_POST["sfsi_plus_rectsub"] : 'no';
|
607 |
-
$sfsi_plus_rectfb = isset($_POST["sfsi_plus_rectfb"]) ? $_POST["sfsi_plus_rectfb"] : 'no';
|
608 |
-
$sfsi_plus_rectgp = isset($_POST["sfsi_plus_rectgp"]) ? $_POST["sfsi_plus_rectgp"] : 'no';
|
609 |
-
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? $_POST["sfsi_plus_recttwtr"] : 'no';
|
610 |
-
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? $_POST["sfsi_plus_rectpinit"] : 'no';
|
611 |
-
$sfsi_plus_rectfbshare = isset($_POST["sfsi_plus_rectfbshare"]) ? $_POST["sfsi_plus_rectfbshare"] : 'no';
|
612 |
|
613 |
$up_option8=array(
|
614 |
'sfsi_plus_show_via_widget' => sanitize_text_field($sfsi_plus_show_via_widget),
|
@@ -654,36 +683,36 @@ function sfsi_plus_options_updater9()
|
|
654 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step9")) {
|
655 |
echo json_encode(array("wrong_nonce")); exit;
|
656 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
657 |
|
658 |
-
$
|
659 |
-
$
|
660 |
-
$
|
661 |
-
$
|
662 |
-
$
|
663 |
-
$
|
664 |
-
$sfsi_plus_form_background = isset($_POST["sfsi_plus_form_background"]) ? $_POST["sfsi_plus_form_background"] : '#eff7f7';
|
665 |
-
|
666 |
-
$sfsi_plus_form_heading_text = isset($_POST["sfsi_plus_form_heading_text"]) ? $_POST["sfsi_plus_form_heading_text"] : '';
|
667 |
-
$sfsi_plus_form_heading_font = isset($_POST["sfsi_plus_form_heading_font"]) ? $_POST["sfsi_plus_form_heading_font"] : '';
|
668 |
-
$sfsi_plus_form_heading_fontstyle= isset($_POST["sfsi_plus_form_heading_fontstyle"]) ? $_POST["sfsi_plus_form_heading_fontstyle"] : '';
|
669 |
-
$sfsi_plus_form_heading_fontcolor= isset($_POST["sfsi_plus_form_heading_fontcolor"]) ? $_POST["sfsi_plus_form_heading_fontcolor"] : '';
|
670 |
-
$sfsi_plus_form_heading_fontsize= isset($_POST["sfsi_plus_form_heading_fontsize"]) ? $_POST["sfsi_plus_form_heading_fontsize"] : '22';
|
671 |
-
$sfsi_plus_form_heading_fontalign= isset($_POST["sfsi_plus_form_heading_fontalign"]) ? $_POST["sfsi_plus_form_heading_fontalign"] :'center';
|
672 |
|
673 |
-
$sfsi_plus_form_field_text = isset($_POST["sfsi_plus_form_field_text"]) ? $_POST["sfsi_plus_form_field_text"] : '';
|
674 |
-
$sfsi_plus_form_field_font = isset($_POST["sfsi_plus_form_field_font"]) ? $_POST["sfsi_plus_form_field_font"] : '';
|
675 |
-
$sfsi_plus_form_field_fontstyle = isset($_POST["sfsi_plus_form_field_fontstyle"]) ? $_POST["sfsi_plus_form_field_fontstyle"] : '';
|
676 |
-
$sfsi_plus_form_field_fontcolor = isset($_POST["sfsi_plus_form_field_fontcolor"]) ? $_POST["sfsi_plus_form_field_fontcolor"] : '';
|
677 |
-
$sfsi_plus_form_field_fontsize = isset($_POST["sfsi_plus_form_field_fontsize"]) ? $_POST["sfsi_plus_form_field_fontsize"] : '22';
|
678 |
-
$sfsi_plus_form_field_fontalign = isset($_POST["sfsi_plus_form_field_fontalign"]) ? $_POST["sfsi_plus_form_field_fontalign"] :'center';
|
679 |
|
680 |
-
$sfsi_plus_form_button_text = isset($_POST["sfsi_plus_form_button_text"]) ? $_POST["sfsi_plus_form_button_text"] : 'Subscribe';
|
681 |
-
$sfsi_plus_form_button_font = isset($_POST["sfsi_plus_form_button_font"]) ? $_POST["sfsi_plus_form_button_font"] : '';
|
682 |
-
$sfsi_plus_form_button_fontstyle= isset($_POST["sfsi_plus_form_button_fontstyle"]) ? $_POST["sfsi_plus_form_button_fontstyle"] : '';
|
683 |
-
$sfsi_plus_form_button_fontcolor= isset($_POST["sfsi_plus_form_button_fontcolor"]) ? $_POST["sfsi_plus_form_button_fontcolor"] : '';
|
684 |
-
$sfsi_plus_form_button_fontsize = isset($_POST["sfsi_plus_form_button_fontsize"]) ? $_POST["sfsi_plus_form_button_fontsize"] : '22';
|
685 |
-
$sfsi_plus_form_button_fontalign= isset($_POST["sfsi_plus_form_button_fontalign"]) ? $_POST["sfsi_plus_form_button_fontalign"] :'center';
|
686 |
-
$sfsi_plus_form_button_background= isset($_POST["sfsi_plus_form_button_background"]) ? $_POST["sfsi_plus_form_button_background"]:'#5a6570';
|
687 |
|
688 |
/* icons pop options */
|
689 |
$up_option9 = array(
|
@@ -956,6 +985,8 @@ function sfsiplusActivateFooter()
|
|
956 |
if ( !wp_verify_nonce( $_POST['nonce'], "active_plusfooter")) {
|
957 |
echo json_encode(array('res'=>'wrong_nonce')); exit;
|
958 |
}
|
|
|
|
|
959 |
update_option('sfsi_plus_footer_sec', 'yes');
|
960 |
echo json_encode(array('res'=>'success'));exit;
|
961 |
}
|
@@ -966,6 +997,8 @@ function sfsiplusremoveFooter()
|
|
966 |
if ( !wp_verify_nonce( $_POST['nonce'], "remove_plusfooter")) {
|
967 |
echo json_encode(array('res'=>'wrong_nonce')); exit;
|
968 |
}
|
|
|
|
|
969 |
update_option('sfsi_plus_footer_sec', 'no');
|
970 |
echo json_encode(array('res'=>'success'));exit;
|
971 |
}
|
@@ -973,6 +1006,10 @@ function sfsiplusremoveFooter()
|
|
973 |
add_action('wp_ajax_getIconPreview','sfsiPlusGetIconPreview');
|
974 |
function sfsiPlusGetIconPreview()
|
975 |
{
|
|
|
|
|
|
|
|
|
976 |
// extract($_POST);
|
977 |
$iconname = isset($_POST) && isset($_POST['iconname']) ? sanitize_text_field($_POST['iconname']):'';
|
978 |
$iconValue = isset($_POST) && isset($_POST['iconValue']) ? sanitize_text_field($_POST['iconValue']):'';
|
@@ -982,6 +1019,10 @@ function sfsiPlusGetIconPreview()
|
|
982 |
add_action("wp_ajax_sfsiplus_curlerrornotification", "sfsiplus_curlerrornotification");
|
983 |
function sfsiplus_curlerrornotification()
|
984 |
{
|
|
|
|
|
|
|
|
|
985 |
update_option("sfsi_plus_curlErrorNotices", "no");
|
986 |
echo "success";
|
987 |
die;
|
@@ -989,6 +1030,10 @@ function sfsiplus_curlerrornotification()
|
|
989 |
add_action('wp_ajax_getForm','sfsiPlusGetForm');
|
990 |
function sfsiPlusGetForm()
|
991 |
{
|
|
|
|
|
|
|
|
|
992 |
// extract($_POST);
|
993 |
$heading = isset($_POST) && isset($_POST['heading'])?sanitize_text_field($_POST['heading']):'';
|
994 |
$placeholder = isset($_POST) && isset($_POST['placeholder'])?sanitize_text_field($_POST['placeholder']):'';
|
@@ -1015,6 +1060,10 @@ function sfsiPlusGetForm()
|
|
1015 |
add_action("wp_ajax_sfsiPlus_notification_read", "sfsiPlus_notification_read");
|
1016 |
function sfsiPlus_notification_read()
|
1017 |
{
|
|
|
|
|
|
|
|
|
1018 |
update_option("sfsi_plus_show_notification", "no");
|
1019 |
echo "success";
|
1020 |
die;
|
@@ -1023,6 +1072,10 @@ function sfsiPlus_notification_read()
|
|
1023 |
add_action("wp_ajax_sfsiPlus_new_notification_read", "sfsiPlus_new_notification_read");
|
1024 |
function sfsiPlus_new_notification_read()
|
1025 |
{
|
|
|
|
|
|
|
|
|
1026 |
update_option("sfsi_plus_new_show_notification", "no");
|
1027 |
echo "success";
|
1028 |
die;
|
@@ -1063,6 +1116,10 @@ add_action('wp_ajax_sfsiplusbannerOption','sfsi_plus_bannerOption');
|
|
1063 |
function sfsi_plus_bannerOption(){
|
1064 |
|
1065 |
error_reporting(1);
|
|
|
|
|
|
|
|
|
1066 |
try{
|
1067 |
if(get_option("sfsi_plus_new_show_notification") == "yes"){
|
1068 |
|
@@ -1194,7 +1251,7 @@ if(!$matchFound){
|
|
1194 |
SFSI.ajax({
|
1195 |
url:sfsi_plus_ajax_object.ajax_url,
|
1196 |
type:"post",
|
1197 |
-
data: {action: "sfsiPlus_new_notification_read"},
|
1198 |
success:function(msg){
|
1199 |
if(jQuery.trim(msg) == "success")
|
1200 |
{
|
@@ -1214,6 +1271,10 @@ if(!$matchFound){
|
|
1214 |
add_action('wp_ajax_sfsiplusOfflineChatMessage','sfsi_plus_OfflineChatMessage');
|
1215 |
|
1216 |
function sfsi_plus_OfflineChatMessage(){
|
|
|
|
|
|
|
|
|
1217 |
error_reporting(0);
|
1218 |
// extract($_POST);
|
1219 |
$email = isset($_POST) && isset($_POST['email']) ? sanitize_text_field($_POST['email']) : '';
|
7 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step1")) {
|
8 |
echo json_encode(array("wrong_nonce")); exit;
|
9 |
}
|
10 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
11 |
$option1= unserialize(get_option('sfsi_plus_section1_options',false));
|
12 |
+
$sfsi_plus_rss_display = isset($_POST["sfsi_plus_rss_display"]) ? sanitize_text_field( $_POST["sfsi_plus_rss_display"] ): 'no';
|
13 |
+
$sfsi_plus_email_display = isset($_POST["sfsi_plus_email_display"]) ? sanitize_text_field( $_POST["sfsi_plus_email_display"] ): 'no';
|
14 |
+
$sfsi_plus_facebook_display = isset($_POST["sfsi_plus_facebook_display"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_display"] ): 'no';
|
15 |
+
$sfsi_plus_twitter_display = isset($_POST["sfsi_plus_twitter_display"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_display"] ): 'no';
|
16 |
+
$sfsi_plus_google_display = isset($_POST["sfsi_plus_google_display"]) ? sanitize_text_field( $_POST["sfsi_plus_google_display"] ): 'no';
|
17 |
+
$sfsi_plus_youtube_display = isset($_POST["sfsi_plus_youtube_display"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_display"] ): 'no';
|
18 |
+
$sfsi_plus_pinterest_display= isset($_POST["sfsi_plus_pinterest_display"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_display"] ): 'no';
|
19 |
+
$sfsi_plus_instagram_display= isset($_POST["sfsi_plus_instagram_display"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_display"] ): 'no';
|
20 |
+
$sfsi_plus_houzz_display = isset($_POST["sfsi_plus_houzz_display"]) ? sanitize_text_field( $_POST["sfsi_plus_houzz_display"] ): 'no';
|
21 |
+
$sfsi_plus_linkedin_display = isset($_POST["sfsi_plus_linkedin_display"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedin_display"] ): 'no';
|
22 |
$sfsi_custom_icons = isset($option1['sfsi_custom_files']) ? $option1['sfsi_custom_files'] : '';
|
23 |
$up_option1=array(
|
24 |
'sfsi_plus_rss_display' => sanitize_text_field($sfsi_plus_rss_display),
|
47 |
{
|
48 |
echo json_encode(array("wrong_nonce")); exit;
|
49 |
}
|
50 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
51 |
+
$sfsi_plus_rss_url = isset($_POST["sfsi_plus_rss_url"]) ? esc_url( trim($_POST["sfsi_plus_rss_url"]) ): '';
|
52 |
+
$sfsi_plus_rss_icons = isset($_POST["sfsi_plus_rss_icons"]) ? sanitize_text_field( $_POST["sfsi_plus_rss_icons"] ): 'email';
|
53 |
|
54 |
+
$sfsi_plus_facebookPage_option = isset($_POST["sfsi_plus_facebookPage_option"]) ? sanitize_text_field( $_POST["sfsi_plus_facebookPage_option"] ): 'no';
|
55 |
+
$sfsi_plus_facebookPage_url = isset($_POST["sfsi_plus_facebookPage_url"]) ? esc_url( trim($_POST["sfsi_plus_facebookPage_url"]) ): '';
|
56 |
+
$sfsi_plus_facebookLike_option = isset($_POST["sfsi_plus_facebookLike_option"]) ? sanitize_text_field( $_POST["sfsi_plus_facebookLike_option"] ): 'no';
|
57 |
+
$sfsi_plus_facebookShare_option = isset($_POST["sfsi_plus_facebookShare_option"]) ? sanitize_text_field( $_POST["sfsi_plus_facebookShare_option"] ): 'no';
|
58 |
|
59 |
+
$sfsi_plus_twitter_followme = isset($_POST["sfsi_plus_twitter_followme"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_followme"] ): 'no';
|
60 |
+
$sfsi_plus_twitter_followUserName = isset($_POST["sfsi_plus_twitter_followUserName"]) ? sanitize_text_field( trim($_POST["sfsi_plus_twitter_followUserName"]) ): '';
|
61 |
+
$sfsi_plus_twitter_aboutPage = isset($_POST["sfsi_plus_twitter_aboutPage"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_aboutPage"] ): 'no';
|
62 |
+
$sfsi_plus_twitter_page = isset($_POST["sfsi_plus_twitter_page"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_page"] ): 'no';
|
63 |
+
$sfsi_plus_twitter_pageURL = isset($_POST["sfsi_plus_twitter_pageURL"]) ? esc_url( trim($_POST["sfsi_plus_twitter_pageURL"]) ): '';
|
64 |
+
$sfsi_plus_twitter_aboutPageText= isset($_POST["sfsi_plus_twitter_aboutPageText"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_aboutPageText"] ): 'Hey check out this cool site I found';
|
65 |
|
66 |
+
$sfsi_plus_google_page = isset($_POST["sfsi_plus_google_page"]) ? sanitize_text_field( $_POST["sfsi_plus_google_page"] ): 'no';
|
67 |
+
$sfsi_plus_google_pageURL = isset($_POST["sfsi_plus_google_pageURL"]) ? esc_url( trim($_POST["sfsi_plus_google_pageURL"]) ): '';
|
68 |
+
$sfsi_plus_googleLike_option = isset($_POST["sfsi_plus_googleLike_option"]) ? sanitize_text_field( $_POST["sfsi_plus_googleLike_option"] ): 'no';
|
69 |
+
$sfsi_plus_googleShare_option = isset($_POST["sfsi_plus_googleShare_option"]) ? sanitize_text_field( $_POST["sfsi_plus_googleShare_option"] ): 'no';
|
70 |
|
71 |
+
$sfsi_plus_youtube_pageUrl = isset($_POST["sfsi_plus_youtube_pageUrl"]) ? esc_url( trim($_POST["sfsi_plus_youtube_pageUrl"]) ): '';
|
72 |
+
$sfsi_plus_youtube_page = isset($_POST["sfsi_plus_youtube_page"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_page"] ): 'no';
|
73 |
+
$sfsi_plus_youtube_follow = isset($_POST["sfsi_plus_youtube_follow"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_follow"] ): 'no';
|
74 |
|
75 |
+
$sfsi_plus_pinterest_page = isset($_POST["sfsi_plus_pinterest_page"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_page"] ): 'no';
|
76 |
+
$sfsi_plus_pinterest_pageUrl = isset($_POST["sfsi_plus_pinterest_pageUrl"]) ? esc_url( trim($_POST["sfsi_plus_pinterest_pageUrl"]) ): '';
|
77 |
+
$sfsi_plus_pinterest_pingBlog = isset($_POST["sfsi_plus_pinterest_pingBlog"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_pingBlog"] ): 'no';
|
78 |
|
79 |
+
$sfsi_plus_instagram_pageUrl = isset($_POST["sfsi_plus_instagram_pageUrl"]) ? esc_url( trim($_POST["sfsi_plus_instagram_pageUrl"]) ): '';
|
80 |
|
81 |
+
$sfsi_plus_linkedin_page = isset($_POST["sfsi_plus_linkedin_page"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedin_page"] ): 'no';
|
82 |
+
$sfsi_plus_linkedin_pageURL = isset($_POST["sfsi_plus_linkedin_pageURL"]) ? esc_url( trim($_POST["sfsi_plus_linkedin_pageURL"]) ): '';
|
83 |
+
$sfsi_plus_linkedin_follow = isset($_POST["sfsi_plus_linkedin_follow"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedin_follow"] ): 'no';
|
84 |
+
$sfsi_plus_linkedin_SharePage = isset($_POST["sfsi_plus_linkedin_SharePage"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedin_SharePage"] ): 'no';
|
85 |
|
86 |
$sfsi_plus_linkedin_followCompany = isset($_POST["sfsi_plus_linkedin_followCompany"])
|
87 |
+
? intval( trim($_POST["sfsi_plus_linkedin_followCompany"])
|
88 |
+
): '';
|
89 |
$sfsi_plus_linkedin_recommendBusines = isset($_POST["sfsi_plus_linkedin_recommendBusines"])
|
90 |
+
? sanitize_text_field( $_POST["sfsi_plus_linkedin_recommendBusines"]
|
91 |
+
): 'no';
|
92 |
$sfsi_plus_linkedin_recommendCompany = isset($_POST["sfsi_plus_linkedin_recommendCompany"])
|
93 |
+
? sanitize_text_field( trim($_POST["sfsi_plus_linkedin_recommendCompany"])
|
94 |
+
): '';
|
95 |
$sfsi_plus_linkedin_recommendProductId = isset($_POST["sfsi_plus_linkedin_recommendProductId"])
|
96 |
+
? intval( trim($_POST["sfsi_plus_linkedin_recommendProductId"])
|
97 |
+
): '';
|
98 |
|
99 |
+
$sfsi_plus_youtubeusernameorid = isset($_POST["sfsi_plus_youtubeusernameorid"]) ? sanitize_text_field( trim($_POST["sfsi_plus_youtubeusernameorid"]) ): '';
|
100 |
+
$sfsi_plus_ytube_user = isset($_POST["sfsi_plus_ytube_user"]) ? sanitize_text_field( $_POST["sfsi_plus_ytube_user"] ): '';
|
101 |
+
$sfsi_plus_ytube_chnlid = isset($_POST["sfsi_plus_ytube_chnlid"]) ? sanitize_text_field( $_POST["sfsi_plus_ytube_chnlid"] ): '';
|
102 |
|
103 |
/*
|
104 |
* Escape custom icons url
|
121 |
$esacpedUrls = '';
|
122 |
}
|
123 |
$sfsi_plus_CustomIcon_links= isset($_POST["sfsi_plus_custom_links"]) ? serialize($esacpedUrls) : '';
|
124 |
+
$sfsi_plus_houzz_pageUrl = isset($_POST["sfsi_plus_houzz_pageUrl"]) ? esc_url( trim($_POST["sfsi_plus_houzz_pageUrl"]) ): '';
|
125 |
|
126 |
$option2 = unserialize(get_option('sfsi_plus_section2_options',false));
|
127 |
$up_option2 = array(
|
195 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step3")) {
|
196 |
echo json_encode(array("wrong_nonce")); exit;
|
197 |
}
|
198 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
199 |
+
$sfsi_plus_actvite_theme = isset($_POST["sfsi_plus_actvite_theme"]) ? sanitize_text_field( $_POST["sfsi_plus_actvite_theme"] ): 'no';
|
200 |
+
$sfsi_plus_mouseOver = isset($_POST["sfsi_plus_mouseOver"]) ? sanitize_text_field( $_POST["sfsi_plus_mouseOver"] ): 'no';
|
201 |
|
202 |
+
$sfsi_plus_mouseOver_effect = isset($_POST["sfsi_plus_mouseOver_effect"]) ? sanitize_text_field( $_POST["sfsi_plus_mouseOver_effect"] ): 'fade_in';
|
203 |
|
204 |
+
$sfsi_plus_mouseover_effect_type = isset($_POST["sfsi_plus_mouseover_effect_type"]) ? sanitize_text_field( $_POST["sfsi_plus_mouseover_effect_type"] ): 'same_icons';
|
205 |
|
206 |
+
$sfsi_plus_shuffle_icons = isset($_POST["sfsi_plus_shuffle_icons"]) ? sanitize_text_field( $_POST["sfsi_plus_shuffle_icons"] ): 'no';
|
207 |
+
$sfsi_plus_shuffle_Firstload = isset($_POST["sfsi_plus_shuffle_Firstload"]) ? sanitize_text_field( $_POST["sfsi_plus_shuffle_Firstload"] ): 'no';
|
208 |
+
$sfsi_plus_shuffle_interval = isset($_POST["sfsi_plus_shuffle_interval"]) ? sanitize_text_field( $_POST["sfsi_plus_shuffle_interval"] ): 'no';
|
209 |
+
$sfsi_plus_shuffle_intervalTime = isset($_POST["sfsi_plus_shuffle_intervalTime"]) ? intval( $_POST["sfsi_plus_shuffle_intervalTime"] ): '';
|
210 |
+
$sfsi_plus_specialIcon_animation = isset($_POST["sfsi_plus_specialIcon_animation"]) ? sanitize_text_field( $_POST["sfsi_plus_specialIcon_animation"] ): '';
|
211 |
+
$sfsi_plus_specialIcon_MouseOver = isset($_POST["sfsi_plus_specialIcon_MouseOver"]) ? sanitize_text_field( $_POST["sfsi_plus_specialIcon_MouseOver"] ): 'no';
|
212 |
+
$sfsi_plus_specialIcon_Firstload = isset($_POST["sfsi_plus_specialIcon_Firstload"]) ? sanitize_text_field( $_POST["sfsi_plus_specialIcon_Firstload"] ): 'no';
|
213 |
|
214 |
$sfsi_plus_specialIcon_Firstload_Icons = isset($_POST["sfsi_plus_specialIcon_Firstload_Icons"])
|
215 |
+
? sanitize_text_field( $_POST["sfsi_plus_specialIcon_Firstload_Icons"]
|
216 |
+
): 'all';
|
217 |
$sfsi_plus_specialIcon_interval = isset($_POST["sfsi_plus_specialIcon_interval"])
|
218 |
+
? sanitize_text_field( $_POST["sfsi_plus_specialIcon_interval"]
|
219 |
+
): 'no';
|
220 |
$sfsi_plus_specialIcon_intervalTime = isset($_POST["sfsi_plus_specialIcon_intervalTime"])
|
221 |
+
? sanitize_text_field( $_POST["sfsi_plus_specialIcon_intervalTime"]
|
222 |
+
): '';
|
223 |
$sfsi_plus_specialIcon_intervalIcons = isset($_POST["sfsi_plus_specialIcon_intervalIcons"])
|
224 |
+
? sanitize_text_field( $_POST["sfsi_plus_specialIcon_intervalIcons"]
|
225 |
+
): 'all';
|
226 |
|
227 |
/* Design and animation option */
|
228 |
$up_option3 = array(
|
254 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step4")) {
|
255 |
echo json_encode(array("wrong_nonce")); exit;
|
256 |
}
|
257 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
258 |
+
$sfsi_plus_display_counts = isset($_POST["sfsi_plus_display_counts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_counts"] ): 'no';
|
259 |
|
260 |
+
$sfsi_plus_email_countsDisplay = isset($_POST["sfsi_plus_email_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_email_countsDisplay"] ): 'no';
|
261 |
+
$sfsi_plus_email_countsFrom = isset($_POST["sfsi_plus_email_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_email_countsFrom"] ): 'manual';
|
262 |
+
$sfsi_plus_email_manualCounts = isset($_POST["sfsi_plus_email_manualCounts"]) ? intval( trim($_POST["sfsi_plus_email_manualCounts"]) ): '';
|
263 |
|
264 |
+
$sfsi_plus_rss_countsDisplay = isset($_POST["sfsi_plus_rss_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_rss_countsDisplay"] ): 'no';
|
265 |
+
$sfsi_plus_rss_manualCounts = isset($_POST["sfsi_plus_rss_manualCounts"]) ? intval( trim($_POST["sfsi_plus_rss_manualCounts"]) ): '';
|
266 |
|
267 |
+
$sfsi_plus_facebook_countsDisplay = isset($_POST["sfsi_plus_facebook_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_countsDisplay"] ): 'no';
|
268 |
+
$sfsi_plus_facebook_countsFrom = isset($_POST["sfsi_plus_facebook_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_countsFrom"] ): 'manual';
|
269 |
+
$sfsi_plus_facebook_mypageCounts = isset($_POST["sfsi_plus_facebook_mypageCounts"]) ? sanitize_text_field( trim($_POST["sfsi_plus_facebook_mypageCounts"]) ): '';
|
270 |
+
$sfsi_plus_facebook_manualCounts = isset($_POST["sfsi_plus_facebook_manualCounts"]) ? intval( trim($_POST["sfsi_plus_facebook_manualCounts"]) ): '';
|
271 |
+
$sfsi_plus_facebook_PageLink = isset($_POST["sfsi_plus_facebook_PageLink"]) ? sanitize_text_field( trim($_POST["sfsi_plus_facebook_PageLink"]) ): '';
|
272 |
|
273 |
+
$sfsi_plus_twitter_countsDisplay = isset($_POST["sfsi_plus_twitter_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_countsDisplay"] ): 'no';
|
274 |
+
$sfsi_plus_twitter_countsFrom = isset($_POST["sfsi_plus_twitter_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_countsFrom"] ): 'manual';
|
275 |
+
$sfsi_plus_twitter_manualCounts = isset($_POST["sfsi_plus_twitter_manualCounts"]) ? intval( trim($_POST["sfsi_plus_twitter_manualCounts"]) ): '';
|
276 |
+
$sfsiplus_tw_consumer_key = isset($_POST["sfsiplus_tw_consumer_key"]) ? sanitize_text_field( trim($_POST["sfsiplus_tw_consumer_key"]) ): '';
|
277 |
+
$sfsiplus_tw_consumer_secret = isset($_POST["sfsiplus_tw_consumer_secret"]) ? sanitize_text_field( trim($_POST["sfsiplus_tw_consumer_secret"]) ): '';
|
278 |
+
$sfsiplus_tw_oauth_access_token = isset($_POST["sfsiplus_tw_oauth_access_token"]) ? sanitize_text_field( trim($_POST["sfsiplus_tw_oauth_access_token"]) ): '';
|
279 |
$sfsiplus_tw_oauth_access_token_secret = isset($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
280 |
+
? sanitize_text_field( trim($_POST["sfsiplus_tw_oauth_access_token_secret"])
|
281 |
+
): '';
|
282 |
|
283 |
+
$sfsi_plus_google_countsDisplay = isset($_POST["sfsi_plus_google_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_google_countsDisplay"] ): 'no';
|
284 |
+
$sfsi_plus_google_countsFrom = isset($_POST["sfsi_plus_google_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_google_countsFrom"] ): 'manual';
|
285 |
+
$sfsi_plus_google_manualCounts = isset($_POST["sfsi_plus_google_manualCounts"]) ? intval( trim($_POST["sfsi_plus_google_manualCounts"]) ): '';
|
286 |
+
$sfsi_plus_google_api_key = isset($_POST["sfsi_plus_google_api_key"]) ? sanitize_text_field( trim($_POST["sfsi_plus_google_api_key"]) ): '';
|
287 |
|
288 |
+
$sfsi_plus_linkedIn_countsDisplay = isset($_POST["sfsi_plus_linkedIn_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_countsDisplay"] ): 'no';
|
289 |
+
$sfsi_plus_linkedIn_countsFrom = isset($_POST["sfsi_plus_linkedIn_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_countsFrom"] ): 'manual';
|
290 |
+
$sfsi_plus_linkedIn_manualCounts = isset($_POST["sfsi_plus_linkedIn_manualCounts"]) ? intval( trim($_POST["sfsi_plus_linkedIn_manualCounts"]) ): '';
|
291 |
+
$sfsi_plus_ln_company = isset($_POST["sfsi_plus_ln_company"]) ? sanitize_text_field( trim($_POST["sfsi_plus_ln_company"]) ): '';
|
292 |
+
$sfsi_plus_ln_api_key = isset($_POST["sfsi_plus_ln_api_key"]) ? sanitize_text_field( trim($_POST["sfsi_plus_ln_api_key"]) ): '';
|
293 |
+
$sfsi_plus_ln_secret_key = isset($_POST["sfsi_plus_ln_secret_key"]) ? sanitize_text_field( trim($_POST["sfsi_plus_ln_secret_key"]) ): '';
|
294 |
+
$sfsi_plus_ln_oAuth_user_token = isset($_POST["sfsi_plus_ln_oAuth_user_token"]) ? sanitize_text_field( trim($_POST["sfsi_plus_ln_oAuth_user_token"]) ): '';
|
295 |
|
296 |
+
$sfsi_plus_youtube_countsDisplay = isset($_POST["sfsi_plus_youtube_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_countsDisplay"] ): 'no';
|
297 |
+
$sfsi_plus_youtube_countsFrom = isset($_POST["sfsi_plus_youtube_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_countsFrom"] ): 'manual';
|
298 |
+
$sfsi_plus_youtube_manualCounts = isset($_POST["sfsi_plus_youtube_manualCounts"]) ? intval( $_POST["sfsi_plus_youtube_manualCounts"] ): '';
|
299 |
+
$sfsi_plus_youtube_user = isset($_POST["sfsi_plus_youtube_user"]) ? sanitize_text_field( trim($_POST["sfsi_plus_youtube_user"]) ): '';
|
300 |
+
$sfsi_plus_youtube_channelId = isset($_POST["sfsi_plus_youtube_channelId"]) ? sanitize_text_field( trim($_POST["sfsi_plus_youtube_channelId"]) ): '';
|
301 |
|
302 |
+
$sfsi_plus_pinterest_countsDisplay = isset($_POST["sfsi_plus_pinterest_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_countsDisplay"] ): 'no';
|
303 |
+
$sfsi_plus_pinterest_countsFrom = isset($_POST["sfsi_plus_pinterest_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_countsFrom"] ): 'manual';
|
304 |
+
$sfsi_plus_pinterest_manualCounts = isset($_POST["sfsi_plus_pinterest_manualCounts"]) ? intval( trim($_POST["sfsi_plus_pinterest_manualCounts"]) ): '';
|
305 |
+
$sfsi_plus_pinterest_user = isset($_POST["sfsi_plus_pinterest_user"]) ? sanitize_text_field( trim($_POST["sfsi_plus_pinterest_user"]) ): '';
|
306 |
+
$sfsi_plus_pinterest_board = isset($_POST["sfsi_plus_pinterest_board"]) ? sanitize_text_field( trim($_POST["sfsi_plus_pinterest_board"]) ): '';
|
307 |
|
308 |
+
$sfsi_plus_instagram_countsDisplay = isset($_POST["sfsi_plus_instagram_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_countsDisplay"] ): 'no';
|
309 |
+
$sfsi_plus_instagram_countsFrom = isset($_POST["sfsi_plus_instagram_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_countsFrom"] ): 'manual';
|
310 |
+
$sfsi_plus_instagram_manualCounts = isset($_POST["sfsi_plus_instagram_manualCounts"]) ? intval( trim($_POST["sfsi_plus_instagram_manualCounts"]) ): '';
|
311 |
+
$sfsi_plus_instagram_User = isset($_POST["sfsi_plus_instagram_User"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_User"] ): '';
|
312 |
+
$sfsi_plus_instagram_clientid = isset($_POST["sfsi_plus_instagram_clientid"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_clientid"] ): '';
|
313 |
+
$sfsi_plus_instagram_appurl = isset($_POST["sfsi_plus_instagram_appurl"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_appurl"] ): '';
|
314 |
+
$sfsi_plus_instagram_token = isset($_POST["sfsi_plus_instagram_token"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_token"] ): '';
|
315 |
|
316 |
+
$sfsi_plus_houzz_countsDisplay = isset($_POST["sfsi_plus_houzz_countsDisplay"]) ? sanitize_text_field( $_POST["sfsi_plus_houzz_countsDisplay"] ): 'no';
|
317 |
+
$sfsi_plus_houzz_countsFrom = isset($_POST["sfsi_plus_houzz_countsFrom"]) ? sanitize_text_field( $_POST["sfsi_plus_houzz_countsFrom"] ): 'manual';
|
318 |
+
$sfsi_plus_houzz_manualCounts = isset($_POST["sfsi_plus_houzz_manualCounts"]) ? intval( trim($_POST["sfsi_plus_houzz_manualCounts"]) ): '';
|
319 |
|
320 |
+
$sfsi_plus_facebookPage_url = isset($_POST["sfsi_plus_facebookPage_url"]) ? sanitize_text_field( trim($_POST["sfsi_plus_facebookPage_url"]) ): '';
|
321 |
|
322 |
$up_option4 = array(
|
323 |
'sfsi_plus_display_counts' => sanitize_text_field($sfsi_plus_display_counts),
|
393 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step5")) {
|
394 |
echo json_encode(array("wrong_nonce")); exit;
|
395 |
}
|
396 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
397 |
+
$sfsi_plus_icons_size = isset($_POST["sfsi_plus_icons_size"]) ? intval( $_POST["sfsi_plus_icons_size"] ): '51';
|
398 |
+
$sfsi_plus_icons_spacing = isset($_POST["sfsi_plus_icons_spacing"]) ? intval( $_POST["sfsi_plus_icons_spacing"] ): '2';
|
399 |
+
$sfsi_plus_icons_Alignment = isset($_POST["sfsi_plus_icons_Alignment"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_Alignment"] ): 'center';
|
400 |
+
$sfsi_plus_icons_perRow = isset($_POST["sfsi_plus_icons_perRow"]) ? intval( $_POST["sfsi_plus_icons_perRow"] ): '5';
|
401 |
|
402 |
+
$sfsi_plus_icons_language = isset($_POST["sfsi_plus_icons_language"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_language"] ): 'en_US';
|
403 |
+
$sfsi_plus_icons_ClickPageOpen = isset($_POST["sfsi_plus_icons_ClickPageOpen"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_ClickPageOpen"] ): 'no';
|
404 |
+
$sfsi_plus_icons_float = isset($_POST["sfsi_plus_icons_float"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_float"] ): 'no';
|
405 |
+
$sfsi_plus_disable_floaticons = isset($_POST["sfsi_plus_disable_floaticons"]) ? sanitize_text_field( $_POST["sfsi_plus_disable_floaticons"] ): 'no';
|
406 |
+
$sfsi_plus_disable_viewport = isset($_POST["sfsi_plus_disable_viewport"]) ? sanitize_text_field( $_POST["sfsi_plus_disable_viewport"] ): 'no';
|
407 |
+
$sfsi_plus_icons_floatPosition = isset($_POST["sfsi_plus_icons_floatPosition"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_floatPosition"] ): 'center-right';
|
408 |
+
$sfsi_plus_icons_stick = isset($_POST["sfsi_plus_icons_stick"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_stick"] ): 'no';
|
409 |
+
$sfsi_plus_rss_MouseOverText = isset($_POST["sfsi_plus_rss_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_rss_MouseOverText"] ): '';
|
410 |
+
$sfsi_plus_email_MouseOverText = isset($_POST["sfsi_plus_email_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_email_MouseOverText"] ): '';
|
411 |
|
412 |
+
$sfsi_plus_twitter_MouseOverText = isset($_POST["sfsi_plus_twitter_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_twitter_MouseOverText"] ): '';
|
413 |
+
$sfsi_plus_facebook_MouseOverText = isset($_POST["sfsi_plus_facebook_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_facebook_MouseOverText"] ): '';
|
414 |
+
$sfsi_plus_google_MouseOverText = isset($_POST["sfsi_plus_google_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_google_MouseOverText"] ): '';
|
415 |
+
$sfsi_plus_linkedIn_MouseOverText = isset($_POST["sfsi_plus_linkedIn_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_linkedIn_MouseOverText"] ): '';
|
416 |
+
$sfsi_plus_pinterest_MouseOverText = isset($_POST["sfsi_plus_pinterest_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_pinterest_MouseOverText"] ): '';
|
417 |
+
$sfsi_plus_instagram_MouseOverText = isset($_POST["sfsi_plus_instagram_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_instagram_MouseOverText"] ): '';
|
418 |
+
$sfsi_plus_houzz_MouseOverText = isset($_POST["sfsi_plus_houzz_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_houzz_MouseOverText"] ): '';
|
419 |
+
$sfsi_plus_youtube_MouseOverText = isset($_POST["sfsi_plus_youtube_MouseOverText"]) ? sanitize_text_field( $_POST["sfsi_plus_youtube_MouseOverText"] ): '';
|
|
|
420 |
|
421 |
+
if(isset($_POST["sfsi_plus_custom_orders"])){
|
422 |
+
$sfsi_plus_custom_orders = array();
|
423 |
+
foreach($_POST["sfsi_plus_custom_orders"] as $index=>$custom_order){
|
424 |
+
$sfsi_plus_custom_orders[$index] = array();
|
425 |
+
$sfsi_plus_custom_orders[$index]["order"] = intval($_POST["sfsi_plus_custom_orders"][$index]["order"] );
|
426 |
+
$sfsi_plus_custom_orders[$index]["ele"] = intval($_POST["sfsi_plus_custom_orders"][$index]["order"] );
|
427 |
+
}
|
428 |
+
}
|
429 |
+
$sfsi_plus_custom_orders = isset($sfsi_plus_custom_orders)?serialize($sfsi_plus_custom_orders) : '';
|
430 |
|
431 |
+
|
432 |
+
$sfsi_plus_rssIcon_order = isset($_POST["sfsi_plus_rssIcon_order"]) ? intval( $_POST["sfsi_plus_rssIcon_order"] ): '1';
|
433 |
+
$sfsi_plus_emailIcon_order = isset($_POST["sfsi_plus_emailIcon_order"]) ? intval( $_POST["sfsi_plus_emailIcon_order"] ): '2';
|
434 |
+
$sfsi_plus_facebookIcon_order = isset($_POST["sfsi_plus_facebookIcon_order"]) ? intval( $_POST["sfsi_plus_facebookIcon_order"] ): '3';
|
435 |
+
$sfsi_plus_googleIcon_order = isset($_POST["sfsi_plus_googleIcon_order"]) ? intval( $_POST["sfsi_plus_googleIcon_order"] ): '4';
|
436 |
+
$sfsi_plus_twitterIcon_order = isset($_POST["sfsi_plus_twitterIcon_order"]) ? intval( $_POST["sfsi_plus_twitterIcon_order"] ): '5';
|
437 |
+
$sfsi_plus_youtubeIcon_order = isset($_POST["sfsi_plus_youtubeIcon_order"]) ? intval( $_POST["sfsi_plus_youtubeIcon_order"] ): '7';
|
438 |
+
$sfsi_plus_pinterestIcon_order = isset($_POST["sfsi_plus_pinterestIcon_order"]) ? intval( $_POST["sfsi_plus_pinterestIcon_order"] ): '8';
|
439 |
+
$sfsi_plus_linkedinIcon_order = isset($_POST["sfsi_plus_linkedinIcon_order"]) ? intval( $_POST["sfsi_plus_linkedinIcon_order"] ): '9';
|
440 |
+
$sfsi_plus_instagramIcon_order = isset($_POST["sfsi_plus_instagramIcon_order"]) ? intval( $_POST["sfsi_plus_instagramIcon_order"] ): '10';
|
441 |
+
$sfsi_plus_houzzIcon_order = isset($_POST["sfsi_plus_houzzIcon_order"]) ? intval( $_POST["sfsi_plus_houzzIcon_order"] ): '11';
|
442 |
|
443 |
+
if(isset($_POST["sfsi_plus_custom_MouseOverTexts"])){
|
444 |
+
$sfsi_plus_custom_MouseOverTexts = array();
|
445 |
+
foreach($_POST['sfsi_plus_custom_MouseOverTexts'] as $index=>$sfsi_plus_custom_MouseOverTexts){
|
446 |
+
$sfsi_plus_custom_MouseOverTexts[$index] = sanitize_text_field($_POST["sfsi_plus_custom_MouseOverTexts"][$index]);
|
447 |
+
}
|
448 |
+
}
|
449 |
+
$sfsi_plus_custom_MouseOverTexts = isset($sfsi_plus_custom_MouseOverTexts) ? serialize($sfsi_plus_custom_MouseOverTexts):'';
|
450 |
|
451 |
$sfsi_plus_follow_icons_language = isset($_POST["sfsi_plus_follow_icons_language"])
|
452 |
+
? sanitize_text_field( $_POST["sfsi_plus_follow_icons_language"]
|
453 |
+
): 'Follow_en_US';
|
454 |
$sfsi_plus_facebook_icons_language = isset($_POST["sfsi_plus_facebook_icons_language"])
|
455 |
+
? sanitize_text_field( $_POST["sfsi_plus_facebook_icons_language"]
|
456 |
+
): 'Visit_us_en_US';
|
457 |
$sfsi_plus_twitter_icons_language = isset($_POST["sfsi_plus_twitter_icons_language"])
|
458 |
+
? sanitize_text_field( $_POST["sfsi_plus_twitter_icons_language"]
|
459 |
+
): 'Visit_us_en_US';
|
460 |
$sfsi_plus_google_icons_language = isset($_POST["sfsi_plus_google_icons_language"])
|
461 |
+
? sanitize_text_field( $_POST["sfsi_plus_google_icons_language"]
|
462 |
+
): 'Visit_us_en_US';
|
463 |
|
464 |
+
$sfsi_plus_custom_social_hide = isset($_POST["sfsi_plus_custom_social_hide"]) ? sanitize_text_field( $_POST["sfsi_plus_custom_social_hide"] ): 'no';
|
465 |
|
466 |
+
$sfsi_pplus_icons_suppress_errors = isset($_POST["sfsi_pplus_icons_suppress_errors"]) ? sanitize_text_field( $_POST["sfsi_pplus_icons_suppress_errors"] ): 'no';
|
467 |
|
468 |
/* size and spacing of icons */
|
469 |
$up_option5=array(
|
521 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step6")) {
|
522 |
echo json_encode(array("wrong_nonce")); exit;
|
523 |
}
|
524 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
525 |
+
$sfsi_plus_show_Onposts = isset($_POST["sfsi_plus_show_Onposts"]) ? sanitize_text_field( $_POST["sfsi_plus_show_Onposts"] ): 'no';
|
526 |
+
$sfsi_plus_icons_postPositon = isset($_POST["sfsi_plus_icons_postPositon"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_postPositon"] ): '';
|
527 |
+
$sfsi_plus_icons_alignment = isset($_POST["sfsi_plus_icons_alignment"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_alignment"] ): 'center-right';
|
528 |
+
$sfsi_plus_textBefor_icons = isset($_POST["sfsi_plus_textBefor_icons"]) ? sanitize_text_field( $_POST["sfsi_plus_textBefor_icons"] ): '';
|
529 |
+
$sfsi_plus_icons_DisplayCounts = isset($_POST["sfsi_plus_icons_DisplayCounts"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_DisplayCounts"] ): 'no';
|
530 |
/* post options */
|
531 |
$up_option6=array(
|
532 |
'sfsi_plus_show_Onposts' => sanitize_text_field($sfsi_plus_show_Onposts),
|
546 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step7")) {
|
547 |
echo json_encode(array("wrong_nonce")); exit;
|
548 |
}
|
549 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
550 |
+
$sfsi_plus_popup_text = isset($_POST["sfsi_plus_popup_text"]) ? sanitize_text_field( $_POST["sfsi_plus_popup_text"] ): '';
|
551 |
$sfsi_plus_popup_background_color = isset($_POST["sfsi_plus_popup_background_color"])
|
552 |
+
? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_popup_background_color"]
|
553 |
+
): '#fffff';
|
554 |
$sfsi_plus_popup_border_color = isset($_POST["sfsi_plus_popup_border_color"])
|
555 |
+
? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_popup_border_color"]
|
556 |
+
): 'center-right';
|
557 |
+
$sfsi_plus_popup_border_thickness = isset($_POST["sfsi_plus_popup_border_thickness"]) ? sanitize_text_field( $_POST["sfsi_plus_popup_border_thickness"] ): '';
|
558 |
+
$sfsi_plus_popup_border_shadow = isset($_POST["sfsi_plus_popup_border_shadow"]) ? sanitize_text_field( $_POST["sfsi_plus_popup_border_shadow"] ): 'no';
|
559 |
+
$sfsi_plus_popup_font = isset($_POST["sfsi_plus_popup_font"]) ? sanitize_text_field( $_POST["sfsi_plus_popup_font"] ): '';
|
560 |
+
$sfsi_plus_popup_fontSize = isset($_POST["sfsi_plus_popup_fontSize"]) ? intval( $_POST["sfsi_plus_popup_fontSize"] ): 'no';
|
561 |
+
$sfsi_plus_popup_fontStyle = isset($_POST["sfsi_plus_popup_fontStyle"]) ? sanitize_text_field( $_POST["sfsi_plus_popup_fontStyle"] ): '';
|
562 |
+
$sfsi_plus_popup_fontColor = isset($_POST["sfsi_plus_popup_fontColor"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_popup_fontColor"] ): 'no';
|
563 |
+
$sfsi_plus_Show_popupOn = isset($_POST["sfsi_plus_Show_popupOn"]) ? sanitize_text_field( $_POST["sfsi_plus_Show_popupOn"] ): '';
|
564 |
+
if(isset($_POST["sfsi_plus_Show_popupOn_PageIDs"])){
|
565 |
+
$sfsi_plus_Show_popupOn_PageIDs_arr=array();
|
566 |
+
foreach($_POST["sfsi_plus_Show_popupOn_PageIDs"] as $index=>$sfsi_plus_Show_popupOn_PageID){
|
567 |
+
$sfsi_plus_Show_popupOn_PageIDs_arr[$index]=intval($sfsi_plus_Show_popupOn_PageID);
|
568 |
+
}
|
569 |
+
}
|
570 |
+
$sfsi_plus_Show_popupOn_PageIDs = isset($sfsi_plus_Show_popupOn_PageID)
|
571 |
+
? serialize($sfsi_plus_Show_popupOn_PageID)
|
572 |
: '';
|
573 |
+
$sfsi_plus_Shown_pop = isset($_POST["sfsi_plus_Shown_pop"]) ? sanitize_text_field( $_POST["sfsi_plus_Shown_pop"] ): '';
|
574 |
+
$sfsi_plus_Shown_popupOnceTime = isset($_POST["sfsi_plus_Shown_popupOnceTime"]) ? intval( $_POST["sfsi_plus_Shown_popupOnceTime"] ): 'no';
|
575 |
$sfsi_plus_Shown_popuplimitPerUserTime = isset($_POST["sfsi_plus_Shown_popuplimitPerUserTime"])
|
576 |
+
? sanitize_text_field( $_POST["sfsi_plus_Shown_popuplimitPerUserTime"]
|
577 |
+
): '';
|
578 |
/* icons pop options */
|
579 |
$up_option7=array(
|
580 |
'sfsi_plus_popup_text' => sanitize_text_field(stripslashes($sfsi_plus_popup_text)),
|
603 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step8")) {
|
604 |
echo json_encode(array("wrong_nonce")); exit;
|
605 |
}
|
606 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
607 |
+
$sfsi_plus_show_via_widget = isset($_POST["sfsi_plus_show_via_widget"]) ? sanitize_text_field( $_POST["sfsi_plus_show_via_widget"] ): 'no';
|
608 |
+
$sfsi_plus_float_on_page = isset($_POST["sfsi_plus_float_on_page"]) ? sanitize_text_field( $_POST["sfsi_plus_float_on_page"] ): 'no';
|
609 |
+
$sfsi_plus_float_page_position = isset($_POST["sfsi_plus_float_page_position"]) ? sanitize_text_field( $_POST["sfsi_plus_float_page_position"] ): 'no';
|
610 |
|
611 |
+
$sfsi_plus_icons_floatMargin_top = isset($_POST["sfsi_plus_icons_floatMargin_top"]) ? intval( $_POST["sfsi_plus_icons_floatMargin_top"] ): '';
|
612 |
+
$sfsi_plus_icons_floatMargin_bottom = isset($_POST["sfsi_plus_icons_floatMargin_bottom"])? intval( $_POST["sfsi_plus_icons_floatMargin_bottom"]):'';
|
613 |
+
$sfsi_plus_icons_floatMargin_left = isset($_POST["sfsi_plus_icons_floatMargin_left"]) ? intval( $_POST["sfsi_plus_icons_floatMargin_left"] ): '';
|
614 |
+
$sfsi_plus_icons_floatMargin_right = isset($_POST["sfsi_plus_icons_floatMargin_right"]) ? intval( $_POST["sfsi_plus_icons_floatMargin_right"]):'';
|
615 |
|
616 |
+
$sfsi_plus_place_item_manually = isset($_POST["sfsi_plus_place_item_manually"]) ? sanitize_text_field( $_POST["sfsi_plus_place_item_manually"] ): 'no';
|
617 |
+
$sfsi_plus_place_item_gutenberg = isset($_POST["sfsi_plus_place_item_gutenberg"]) ? sanitize_text_field( $_POST["sfsi_plus_place_item_gutenberg"] ): 'no';
|
618 |
+
$sfsi_plus_show_item_onposts = isset($_POST["sfsi_plus_show_item_onposts"]) ? sanitize_text_field( $_POST["sfsi_plus_show_item_onposts"] ): 'no';
|
619 |
+
$sfsi_plus_display_button_type = isset($_POST["sfsi_plus_display_button_type"]) ? sanitize_text_field( $_POST["sfsi_plus_display_button_type"] ): 'no';
|
620 |
|
621 |
+
$sfsi_plus_post_icons_size = isset($_POST["sfsi_plus_post_icons_size"]) ? intval( $_POST["sfsi_plus_post_icons_size"] ): 40;
|
622 |
+
$sfsi_plus_post_icons_spacing = isset($_POST["sfsi_plus_post_icons_spacing"]) ? intval( $_POST["sfsi_plus_post_icons_spacing"] ): 5;
|
623 |
+
$sfsi_plus_show_Onposts = isset($_POST["sfsi_plus_show_Onposts"]) ? sanitize_text_field( $_POST["sfsi_plus_show_Onposts"] ): 'no';
|
624 |
+
$sfsi_plus_textBefor_icons = isset($_POST["sfsi_plus_textBefor_icons"]) ? sanitize_text_field( $_POST["sfsi_plus_textBefor_icons"] ): 'Please follow and like us:';
|
625 |
+
$sfsi_plus_icons_alignment = isset($_POST["sfsi_plus_icons_alignment"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_alignment"] ): 'center-right';
|
626 |
+
$sfsi_plus_icons_DisplayCounts = isset($_POST["sfsi_plus_icons_DisplayCounts"]) ? sanitize_text_field( $_POST["sfsi_plus_icons_DisplayCounts"] ): 'no';
|
627 |
+
$sfsi_plus_display_before_posts = isset($_POST["sfsi_plus_display_before_posts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_before_posts"] ): 'no';
|
628 |
+
$sfsi_plus_display_after_posts = isset($_POST["sfsi_plus_display_after_posts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_after_posts"] ): 'no';
|
629 |
|
630 |
+
//$sfsi_plus_display_on_postspage = isset($_POST["sfsi_plus_display_on_postspage"]) ? sanitize_text_field( $_POST["sfsi_plus_display_on_postspage"] ): 'no';
|
631 |
+
//$sfsi_plus_display_on_homepage = isset($_POST["sfsi_plus_display_on_homepage"]) ? sanitize_text_field( $_POST["sfsi_plus_display_on_homepage"] ): 'no';
|
632 |
|
633 |
+
$sfsi_plus_display_before_blogposts = isset($_POST["sfsi_plus_display_before_blogposts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_before_blogposts"] ): 'no';
|
634 |
+
$sfsi_plus_display_after_blogposts = isset($_POST["sfsi_plus_display_after_blogposts"]) ? sanitize_text_field( $_POST["sfsi_plus_display_after_blogposts"] ): 'no';
|
635 |
+
$sfsi_plus_rectsub = isset($_POST["sfsi_plus_rectsub"]) ? sanitize_text_field( $_POST["sfsi_plus_rectsub"] ): 'no';
|
636 |
+
$sfsi_plus_rectfb = isset($_POST["sfsi_plus_rectfb"]) ? sanitize_text_field( $_POST["sfsi_plus_rectfb"] ): 'no';
|
637 |
+
$sfsi_plus_rectgp = isset($_POST["sfsi_plus_rectgp"]) ? sanitize_text_field( $_POST["sfsi_plus_rectgp"] ): 'no';
|
638 |
+
$sfsi_plus_recttwtr = isset($_POST["sfsi_plus_recttwtr"]) ? sanitize_text_field( $_POST["sfsi_plus_recttwtr"] ): 'no';
|
639 |
+
$sfsi_plus_rectpinit = isset($_POST["sfsi_plus_rectpinit"]) ? sanitize_text_field( $_POST["sfsi_plus_rectpinit"] ): 'no';
|
640 |
+
$sfsi_plus_rectfbshare = isset($_POST["sfsi_plus_rectfbshare"]) ? sanitize_text_field( $_POST["sfsi_plus_rectfbshare"] ): 'no';
|
641 |
|
642 |
$up_option8=array(
|
643 |
'sfsi_plus_show_via_widget' => sanitize_text_field($sfsi_plus_show_via_widget),
|
683 |
if ( !wp_verify_nonce( $_POST['nonce'], "update_plus_step9")) {
|
684 |
echo json_encode(array("wrong_nonce")); exit;
|
685 |
}
|
686 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
687 |
+
$sfsi_plus_form_adjustment = isset($_POST["sfsi_plus_form_adjustment"]) ? sanitize_text_field( $_POST["sfsi_plus_form_adjustment"] ): 'yes';
|
688 |
+
$sfsi_plus_form_height = isset($_POST["sfsi_plus_form_height"]) ? intval( $_POST["sfsi_plus_form_height"] ): '180';
|
689 |
+
$sfsi_plus_form_width = isset($_POST["sfsi_plus_form_width"]) ? intval( $_POST["sfsi_plus_form_width"] ): '230';
|
690 |
+
$sfsi_plus_form_border = isset($_POST["sfsi_plus_form_border"]) ? sanitize_text_field( $_POST["sfsi_plus_form_border"] ): 'no';
|
691 |
+
$sfsi_plus_form_border_thickness= isset($_POST["sfsi_plus_form_border_thickness"]) ? intval( $_POST["sfsi_plus_form_border_thickness"] ): '1';
|
692 |
+
$sfsi_plus_form_border_color = isset($_POST["sfsi_plus_form_border_color"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_form_border_color"] ): '#f3faf2';
|
693 |
+
$sfsi_plus_form_background = isset($_POST["sfsi_plus_form_background"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_form_background"] ): '#eff7f7';
|
694 |
|
695 |
+
$sfsi_plus_form_heading_text = isset($_POST["sfsi_plus_form_heading_text"]) ? sanitize_text_field( $_POST["sfsi_plus_form_heading_text"] ): '';
|
696 |
+
$sfsi_plus_form_heading_font = isset($_POST["sfsi_plus_form_heading_font"]) ? sanitize_text_field( $_POST["sfsi_plus_form_heading_font"] ): '';
|
697 |
+
$sfsi_plus_form_heading_fontstyle= isset($_POST["sfsi_plus_form_heading_fontstyle"]) ? sanitize_text_field( $_POST["sfsi_plus_form_heading_fontstyle"] ): '';
|
698 |
+
$sfsi_plus_form_heading_fontcolor= isset($_POST["sfsi_plus_form_heading_fontcolor"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_form_heading_fontcolor"] ): '';
|
699 |
+
$sfsi_plus_form_heading_fontsize= isset($_POST["sfsi_plus_form_heading_fontsize"]) ? intval( $_POST["sfsi_plus_form_heading_fontsize"] ): '22';
|
700 |
+
$sfsi_plus_form_heading_fontalign= isset($_POST["sfsi_plus_form_heading_fontalign"]) ? sanitize_text_field( $_POST["sfsi_plus_form_heading_fontalign"] ):'center';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
701 |
|
702 |
+
$sfsi_plus_form_field_text = isset($_POST["sfsi_plus_form_field_text"]) ? sanitize_text_field( $_POST["sfsi_plus_form_field_text"] ): '';
|
703 |
+
$sfsi_plus_form_field_font = isset($_POST["sfsi_plus_form_field_font"]) ? sanitize_text_field( $_POST["sfsi_plus_form_field_font"] ): '';
|
704 |
+
$sfsi_plus_form_field_fontstyle = isset($_POST["sfsi_plus_form_field_fontstyle"]) ? sanitize_text_field( $_POST["sfsi_plus_form_field_fontstyle"] ): '';
|
705 |
+
$sfsi_plus_form_field_fontcolor = isset($_POST["sfsi_plus_form_field_fontcolor"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_form_field_fontcolor"] ): '';
|
706 |
+
$sfsi_plus_form_field_fontsize = isset($_POST["sfsi_plus_form_field_fontsize"]) ? intval( $_POST["sfsi_plus_form_field_fontsize"] ): '22';
|
707 |
+
$sfsi_plus_form_field_fontalign = isset($_POST["sfsi_plus_form_field_fontalign"]) ? sanitize_text_field( $_POST["sfsi_plus_form_field_fontalign"] ):'center';
|
708 |
|
709 |
+
$sfsi_plus_form_button_text = isset($_POST["sfsi_plus_form_button_text"]) ? sanitize_text_field( $_POST["sfsi_plus_form_button_text"] ): 'Subscribe';
|
710 |
+
$sfsi_plus_form_button_font = isset($_POST["sfsi_plus_form_button_font"]) ? sanitize_text_field( $_POST["sfsi_plus_form_button_font"] ): '';
|
711 |
+
$sfsi_plus_form_button_fontstyle= isset($_POST["sfsi_plus_form_button_fontstyle"]) ? sanitize_text_field( $_POST["sfsi_plus_form_button_fontstyle"] ): '';
|
712 |
+
$sfsi_plus_form_button_fontcolor= isset($_POST["sfsi_plus_form_button_fontcolor"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_form_button_fontcolor"] ): '';
|
713 |
+
$sfsi_plus_form_button_fontsize = isset($_POST["sfsi_plus_form_button_fontsize"]) ? intval( $_POST["sfsi_plus_form_button_fontsize"] ): '22';
|
714 |
+
$sfsi_plus_form_button_fontalign= isset($_POST["sfsi_plus_form_button_fontalign"]) ? sanitize_text_field( $_POST["sfsi_plus_form_button_fontalign"] ):'center';
|
715 |
+
$sfsi_plus_form_button_background= isset($_POST["sfsi_plus_form_button_background"]) ? sfsi_plus_sanitize_hex_color( $_POST["sfsi_plus_form_button_background"]):'#5a6570';
|
716 |
|
717 |
/* icons pop options */
|
718 |
$up_option9 = array(
|
985 |
if ( !wp_verify_nonce( $_POST['nonce'], "active_plusfooter")) {
|
986 |
echo json_encode(array('res'=>'wrong_nonce')); exit;
|
987 |
}
|
988 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
989 |
+
|
990 |
update_option('sfsi_plus_footer_sec', 'yes');
|
991 |
echo json_encode(array('res'=>'success'));exit;
|
992 |
}
|
997 |
if ( !wp_verify_nonce( $_POST['nonce'], "remove_plusfooter")) {
|
998 |
echo json_encode(array('res'=>'wrong_nonce')); exit;
|
999 |
}
|
1000 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1001 |
+
|
1002 |
update_option('sfsi_plus_footer_sec', 'no');
|
1003 |
echo json_encode(array('res'=>'success'));exit;
|
1004 |
}
|
1006 |
add_action('wp_ajax_getIconPreview','sfsiPlusGetIconPreview');
|
1007 |
function sfsiPlusGetIconPreview()
|
1008 |
{
|
1009 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_getIconPreview")) {
|
1010 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1011 |
+
}
|
1012 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1013 |
// extract($_POST);
|
1014 |
$iconname = isset($_POST) && isset($_POST['iconname']) ? sanitize_text_field($_POST['iconname']):'';
|
1015 |
$iconValue = isset($_POST) && isset($_POST['iconValue']) ? sanitize_text_field($_POST['iconValue']):'';
|
1019 |
add_action("wp_ajax_sfsiplus_curlerrornotification", "sfsiplus_curlerrornotification");
|
1020 |
function sfsiplus_curlerrornotification()
|
1021 |
{
|
1022 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_curlerrornotification")) {
|
1023 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1024 |
+
}
|
1025 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1026 |
update_option("sfsi_plus_curlErrorNotices", "no");
|
1027 |
echo "success";
|
1028 |
die;
|
1030 |
add_action('wp_ajax_getForm','sfsiPlusGetForm');
|
1031 |
function sfsiPlusGetForm()
|
1032 |
{
|
1033 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_getForm")) {
|
1034 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1035 |
+
}
|
1036 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1037 |
// extract($_POST);
|
1038 |
$heading = isset($_POST) && isset($_POST['heading'])?sanitize_text_field($_POST['heading']):'';
|
1039 |
$placeholder = isset($_POST) && isset($_POST['placeholder'])?sanitize_text_field($_POST['placeholder']):'';
|
1060 |
add_action("wp_ajax_sfsiPlus_notification_read", "sfsiPlus_notification_read");
|
1061 |
function sfsiPlus_notification_read()
|
1062 |
{
|
1063 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_notification_read")) {
|
1064 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1065 |
+
}
|
1066 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1067 |
update_option("sfsi_plus_show_notification", "no");
|
1068 |
echo "success";
|
1069 |
die;
|
1072 |
add_action("wp_ajax_sfsiPlus_new_notification_read", "sfsiPlus_new_notification_read");
|
1073 |
function sfsiPlus_new_notification_read()
|
1074 |
{
|
1075 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_notification_read")) {
|
1076 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1077 |
+
}
|
1078 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1079 |
update_option("sfsi_plus_new_show_notification", "no");
|
1080 |
echo "success";
|
1081 |
die;
|
1116 |
function sfsi_plus_bannerOption(){
|
1117 |
|
1118 |
error_reporting(1);
|
1119 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_sfsiplusbannerOption")) {
|
1120 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1121 |
+
}
|
1122 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1123 |
try{
|
1124 |
if(get_option("sfsi_plus_new_show_notification") == "yes"){
|
1125 |
|
1251 |
SFSI.ajax({
|
1252 |
url:sfsi_plus_ajax_object.ajax_url,
|
1253 |
type:"post",
|
1254 |
+
data: {action: "sfsiPlus_new_notification_read",nonce:"'.(wp_create_nonce('plus_new_notification_read')).'"},
|
1255 |
success:function(msg){
|
1256 |
if(jQuery.trim(msg) == "success")
|
1257 |
{
|
1271 |
add_action('wp_ajax_sfsiplusOfflineChatMessage','sfsi_plus_OfflineChatMessage');
|
1272 |
|
1273 |
function sfsi_plus_OfflineChatMessage(){
|
1274 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_sfsiplusOfflineChatMessage")) {
|
1275 |
+
echo json_encode(array("wrong_nonce")); exit;
|
1276 |
+
}
|
1277 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1278 |
error_reporting(0);
|
1279 |
// extract($_POST);
|
1280 |
$email = isset($_POST) && isset($_POST['email']) ? sanitize_text_field($_POST['email']) : '';
|
libs/controllers/sfsi_iconsUpload_contoller.php
CHANGED
@@ -3,7 +3,11 @@
|
|
3 |
add_action('wp_ajax_plus_UploadSkins','sfsi_plus_UploadSkins');
|
4 |
function sfsi_plus_UploadSkins()
|
5 |
{
|
6 |
-
|
|
|
|
|
|
|
|
|
7 |
$upload_dir = wp_upload_dir();
|
8 |
|
9 |
$ThumbSquareSize = 100; //Thumbnail will be 57X57
|
@@ -12,8 +16,10 @@ function sfsi_plus_UploadSkins()
|
|
12 |
$AcceessUrl = $upload_dir['url'].'/';
|
13 |
$ThumbPrefix = "cmicon_";
|
14 |
|
15 |
-
$data = $_REQUEST["custom_imgurl"];
|
|
|
16 |
$params = array();
|
|
|
17 |
parse_str($data, $params);
|
18 |
|
19 |
foreach($params as $key => $value)
|
@@ -21,6 +27,9 @@ function sfsi_plus_UploadSkins()
|
|
21 |
$custom_imgurl = $value;
|
22 |
if(!empty($custom_imgurl))
|
23 |
{
|
|
|
|
|
|
|
24 |
$sfsi_custom_files[] = $custom_imgurl;
|
25 |
|
26 |
list($CurWidth, $CurHeight) = getimagesize($custom_imgurl);
|
@@ -83,19 +92,20 @@ function sfsi_plus_DeleteSkin()
|
|
83 |
if ( !wp_verify_nonce( $_POST['nonce'], "sfsi_plus_deleteCustomSkin")) {
|
84 |
echo json_encode(array('res'=>"error")); exit;
|
85 |
}
|
|
|
86 |
|
87 |
$upload_dir = wp_upload_dir();
|
88 |
|
89 |
-
if($_POST['action'] == 'plus_DeleteSkin' && isset($_POST['iconname']) && !empty($_POST['iconname']) && current_user_can('manage_options'))
|
90 |
{
|
91 |
$iconsArray = array(
|
92 |
"plus_rss_skin","plus_email_skin","plus_facebook_skin","plus_twitter_skin","plus_google_skin",
|
93 |
"plus_share_skin","plus_youtube_skin","plus_linkedin_skin","plus_pintrest_skin","plus_instagram_skin"
|
94 |
);
|
95 |
|
96 |
-
if(in_array($_POST['iconname'], $iconsArray))
|
97 |
{
|
98 |
-
$imgurl = get_option( $_POST['iconname'] );
|
99 |
$path = parse_url($imgurl, PHP_URL_PATH);
|
100 |
|
101 |
if(is_file($_SERVER['DOCUMENT_ROOT'] . $path))
|
@@ -103,7 +113,7 @@ function sfsi_plus_DeleteSkin()
|
|
103 |
unlink($_SERVER['DOCUMENT_ROOT'] . $path);
|
104 |
}
|
105 |
|
106 |
-
delete_option( $_POST['iconname'] );
|
107 |
die(json_encode(array('res'=>'success')));
|
108 |
}
|
109 |
else
|
@@ -121,6 +131,10 @@ function sfsi_plus_DeleteSkin()
|
|
121 |
add_action('wp_ajax_plus_Iamdone','sfsi_plus_Iamdone');
|
122 |
function sfsi_plus_Iamdone()
|
123 |
{
|
|
|
|
|
|
|
|
|
124 |
$return = '';
|
125 |
if(get_option("plus_rss_skin"))
|
126 |
{
|
@@ -220,8 +234,16 @@ add_action('wp_ajax_plus_UploadIcons','sfsi_plus_UploadIcons');
|
|
220 |
/* uplaod custom icon {change by monad}*/
|
221 |
function sfsi_plus_UploadIcons()
|
222 |
{
|
|
|
|
|
|
|
|
|
223 |
// extract($_POST);
|
224 |
-
$custom_imgurl = isset($_POST) && isset($_POST['custom_imgurl']) ?
|
|
|
|
|
|
|
|
|
225 |
$upload_dir = wp_upload_dir();
|
226 |
$ThumbSquareSize = 100; //Thumbnail will be 57X57
|
227 |
$Quality = 90; //jpeg quality
|
@@ -306,19 +328,27 @@ add_action('wp_ajax_plus_deleteIcons','sfsi_plus_deleteIcons');
|
|
306 |
|
307 |
function sfsi_plus_deleteIcons()
|
308 |
{
|
|
|
|
|
|
|
|
|
309 |
if(isset($_POST['icon_name']) && !empty($_POST['icon_name']))
|
310 |
{
|
311 |
/* get icons details to delete it from plugin folder */
|
312 |
-
$custom_icon=explode('_',$_POST['icon_name']);
|
|
|
|
|
|
|
|
|
313 |
$sec_options1= (get_option('sfsi_plus_section1_options',false)) ? unserialize(get_option('sfsi_plus_section1_options',false)) : array() ;
|
314 |
$sec_options2= (get_option('sfsi_plus_section2_options',false)) ? unserialize(get_option('sfsi_plus_section2_options',false)) : array() ;
|
315 |
$up_icons= (is_array(unserialize($sec_options1['sfsi_custom_files']))) ? unserialize($sec_options1['sfsi_custom_files']) : array();
|
316 |
$icons_links= (is_array(unserialize($sec_options2['sfsi_plus_CustomIcon_links']))) ? unserialize($sec_options2['sfsi_plus_CustomIcon_links']) : array();
|
317 |
-
$
|
318 |
-
$
|
319 |
|
320 |
// Changes By {Monad}
|
321 |
-
$imgpath = parse_url($
|
322 |
|
323 |
if(is_file($_SERVER['DOCUMENT_ROOT'] . $imgpath))
|
324 |
{
|
@@ -326,11 +356,11 @@ function sfsi_plus_deleteIcons()
|
|
326 |
}
|
327 |
|
328 |
|
329 |
-
if(isset($up_icons[$
|
330 |
{
|
331 |
-
unset($up_icons[$
|
332 |
|
333 |
-
unset($icons_links[$
|
334 |
}
|
335 |
else
|
336 |
{
|
@@ -342,7 +372,7 @@ function sfsi_plus_deleteIcons()
|
|
342 |
$sec_options2['sfsi_plus_CustomIcon_links']=serialize($icons_links);
|
343 |
|
344 |
end($up_icons);
|
345 |
-
$key=(key($up_icons))? key($up_icons) :$
|
346 |
$total_uploads=isset($up_icons) && is_array($up_icons) ?count($up_icons):0;
|
347 |
|
348 |
update_option('sfsi_plus_section1_options',serialize($sec_options1));
|
@@ -358,6 +388,7 @@ function sfsi_plus_deleteIcons()
|
|
358 |
/* This function will proportionally resize image */
|
359 |
function sfsiplusresizeImage($CurWidth,$CurHeight,$MaxSize,$DestFolder,$SrcImage,$Quality,$ImageType)
|
360 |
{
|
|
|
361 |
/* Check Image size is not 0 */
|
362 |
if($CurWidth <= 0 || $CurHeight <= 0)
|
363 |
{
|
@@ -466,6 +497,10 @@ function sfsiplus_cropImage($CurWidth,$CurHeight,$iSize,$DestFolder,$SrcImage,$Q
|
|
466 |
add_action('wp_ajax_sfsi_plus_feedbackForm','sfsi_plus_feedbackForm');
|
467 |
function sfsi_plus_feedbackForm()
|
468 |
{
|
|
|
|
|
|
|
|
|
469 |
if(!empty($_POST["msg"]))
|
470 |
{
|
471 |
$useremail = "uninstall@ultimatelysocial.com";
|
3 |
add_action('wp_ajax_plus_UploadSkins','sfsi_plus_UploadSkins');
|
4 |
function sfsi_plus_UploadSkins()
|
5 |
{
|
6 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_UploadSkins")) {
|
7 |
+
echo json_encode(array("wrong_nonce")); exit;
|
8 |
+
}
|
9 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
10 |
+
$custom_imgurl = (isset($_POST['custom_imgurl']))?sanitize_text_field($_POST['custom_imgurl']):'';
|
11 |
$upload_dir = wp_upload_dir();
|
12 |
|
13 |
$ThumbSquareSize = 100; //Thumbnail will be 57X57
|
16 |
$AcceessUrl = $upload_dir['url'].'/';
|
17 |
$ThumbPrefix = "cmicon_";
|
18 |
|
19 |
+
// $data = $_REQUEST["custom_imgurl"];
|
20 |
+
$data = $custom_imgurl;
|
21 |
$params = array();
|
22 |
+
$site_url = home_url();
|
23 |
parse_str($data, $params);
|
24 |
|
25 |
foreach($params as $key => $value)
|
27 |
$custom_imgurl = $value;
|
28 |
if(!empty($custom_imgurl))
|
29 |
{
|
30 |
+
if(strpos($custom_imgurl, $site_url) === false){
|
31 |
+
die(json_encode(array('res'=>'thumb_error')));
|
32 |
+
}
|
33 |
$sfsi_custom_files[] = $custom_imgurl;
|
34 |
|
35 |
list($CurWidth, $CurHeight) = getimagesize($custom_imgurl);
|
92 |
if ( !wp_verify_nonce( $_POST['nonce'], "sfsi_plus_deleteCustomSkin")) {
|
93 |
echo json_encode(array('res'=>"error")); exit;
|
94 |
}
|
95 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
96 |
|
97 |
$upload_dir = wp_upload_dir();
|
98 |
|
99 |
+
if(sanitize_text_field($_POST['action']) == 'plus_DeleteSkin' && isset($_POST['iconname']) && !empty($_POST['iconname']) && current_user_can('manage_options'))
|
100 |
{
|
101 |
$iconsArray = array(
|
102 |
"plus_rss_skin","plus_email_skin","plus_facebook_skin","plus_twitter_skin","plus_google_skin",
|
103 |
"plus_share_skin","plus_youtube_skin","plus_linkedin_skin","plus_pintrest_skin","plus_instagram_skin"
|
104 |
);
|
105 |
|
106 |
+
if(in_array(sanitize_text_field($_POST['iconname']), $iconsArray))
|
107 |
{
|
108 |
+
$imgurl = get_option( sanitize_text_field($_POST['iconname']) );
|
109 |
$path = parse_url($imgurl, PHP_URL_PATH);
|
110 |
|
111 |
if(is_file($_SERVER['DOCUMENT_ROOT'] . $path))
|
113 |
unlink($_SERVER['DOCUMENT_ROOT'] . $path);
|
114 |
}
|
115 |
|
116 |
+
delete_option( sanitize_text_field($_POST['iconname']) );
|
117 |
die(json_encode(array('res'=>'success')));
|
118 |
}
|
119 |
else
|
131 |
add_action('wp_ajax_plus_Iamdone','sfsi_plus_Iamdone');
|
132 |
function sfsi_plus_Iamdone()
|
133 |
{
|
134 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_Iamdone")) {
|
135 |
+
echo json_encode(array('res'=>"error")); exit;
|
136 |
+
}
|
137 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
138 |
$return = '';
|
139 |
if(get_option("plus_rss_skin"))
|
140 |
{
|
234 |
/* uplaod custom icon {change by monad}*/
|
235 |
function sfsi_plus_UploadIcons()
|
236 |
{
|
237 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_UploadIcons")) {
|
238 |
+
echo json_encode(array('res'=>"error")); exit;
|
239 |
+
}
|
240 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
241 |
// extract($_POST);
|
242 |
+
$custom_imgurl = isset($_POST) && isset($_POST['custom_imgurl']) ? esc_url($_POST['custom_imgurl']):'';
|
243 |
+
if(strpos($custom_imgurl, home_url()) === false){
|
244 |
+
die(json_encode(array('res'=>'thumb_error')));
|
245 |
+
}
|
246 |
+
|
247 |
$upload_dir = wp_upload_dir();
|
248 |
$ThumbSquareSize = 100; //Thumbnail will be 57X57
|
249 |
$Quality = 90; //jpeg quality
|
328 |
|
329 |
function sfsi_plus_deleteIcons()
|
330 |
{
|
331 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_deleteIcons")) {
|
332 |
+
echo json_encode(array('res'=>"error")); exit;
|
333 |
+
}
|
334 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
335 |
if(isset($_POST['icon_name']) && !empty($_POST['icon_name']))
|
336 |
{
|
337 |
/* get icons details to delete it from plugin folder */
|
338 |
+
// $custom_icon=explode('_',$_POST['icon_name']);
|
339 |
+
$custom_icon_name= sanitize_text_field($_POST['icon_name']);
|
340 |
+
preg_match_all('/\d+/', $custom_icon_name, $custom_icon_numbers);
|
341 |
+
$custom_icon_number = count($custom_icon_numbers)>0?((is_array($custom_icon_numbers[0])&&count($custom_icon_numbers[0])>0)?$custom_icon_numbers[0][0]:0):0;
|
342 |
+
|
343 |
$sec_options1= (get_option('sfsi_plus_section1_options',false)) ? unserialize(get_option('sfsi_plus_section1_options',false)) : array() ;
|
344 |
$sec_options2= (get_option('sfsi_plus_section2_options',false)) ? unserialize(get_option('sfsi_plus_section2_options',false)) : array() ;
|
345 |
$up_icons= (is_array(unserialize($sec_options1['sfsi_custom_files']))) ? unserialize($sec_options1['sfsi_custom_files']) : array();
|
346 |
$icons_links= (is_array(unserialize($sec_options2['sfsi_plus_CustomIcon_links']))) ? unserialize($sec_options2['sfsi_plus_CustomIcon_links']) : array();
|
347 |
+
$icon_url=$up_icons[$custom_icon_number];
|
348 |
+
$url_info= pathinfo($icon_url);
|
349 |
|
350 |
// Changes By {Monad}
|
351 |
+
$imgpath = parse_url($icon_url, PHP_URL_PATH);
|
352 |
|
353 |
if(is_file($_SERVER['DOCUMENT_ROOT'] . $imgpath))
|
354 |
{
|
356 |
}
|
357 |
|
358 |
|
359 |
+
if(isset($up_icons[$custom_icon_number]))
|
360 |
{
|
361 |
+
unset($up_icons[$custom_icon_number]);
|
362 |
|
363 |
+
unset($icons_links[$custom_icon_number]);
|
364 |
}
|
365 |
else
|
366 |
{
|
372 |
$sec_options2['sfsi_plus_CustomIcon_links']=serialize($icons_links);
|
373 |
|
374 |
end($up_icons);
|
375 |
+
$key=(key($up_icons))? key($up_icons) :$custom_icon_number ;
|
376 |
$total_uploads=isset($up_icons) && is_array($up_icons) ?count($up_icons):0;
|
377 |
|
378 |
update_option('sfsi_plus_section1_options',serialize($sec_options1));
|
388 |
/* This function will proportionally resize image */
|
389 |
function sfsiplusresizeImage($CurWidth,$CurHeight,$MaxSize,$DestFolder,$SrcImage,$Quality,$ImageType)
|
390 |
{
|
391 |
+
|
392 |
/* Check Image size is not 0 */
|
393 |
if($CurWidth <= 0 || $CurHeight <= 0)
|
394 |
{
|
497 |
add_action('wp_ajax_sfsi_plus_feedbackForm','sfsi_plus_feedbackForm');
|
498 |
function sfsi_plus_feedbackForm()
|
499 |
{
|
500 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_feedbackForm")) {
|
501 |
+
echo json_encode(array('res'=>"error")); exit;
|
502 |
+
}
|
503 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
504 |
if(!empty($_POST["msg"]))
|
505 |
{
|
506 |
$useremail = "uninstall@ultimatelysocial.com";
|
libs/sfsi_ajax_social_sharing_settings_updater.php
CHANGED
@@ -2,6 +2,10 @@
|
|
2 |
add_action( 'wp_ajax_plus_update_sharing_settings', 'sfsi_plus_update_sharing_settings' );
|
3 |
|
4 |
function sfsi_plus_update_sharing_settings() {
|
|
|
|
|
|
|
|
|
5 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
6 |
$option5['sfsi_plus_custom_social_hide'] = $_POST['sfsi_plus_custom_social_hide'];
|
7 |
update_option('sfsi_plus_section5_options',serialize($option5));
|
2 |
add_action( 'wp_ajax_plus_update_sharing_settings', 'sfsi_plus_update_sharing_settings' );
|
3 |
|
4 |
function sfsi_plus_update_sharing_settings() {
|
5 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_update_sharing_settings")) {
|
6 |
+
echo json_encode(array('res'=>"error")); exit;
|
7 |
+
}
|
8 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
9 |
$option5 = unserialize(get_option('sfsi_plus_section5_options',false));
|
10 |
$option5['sfsi_plus_custom_social_hide'] = $_POST['sfsi_plus_custom_social_hide'];
|
11 |
update_option('sfsi_plus_section5_options',serialize($option5));
|
libs/sfsi_custom_social_sharing_data.php
CHANGED
@@ -44,7 +44,8 @@ function sfsi_plus_social_media_metabox( $post ) { ?>
|
|
44 |
jQuery('.sfsi_plus_hidenotice').on('click',function(){
|
45 |
var data = {
|
46 |
action:"plus_update_sharing_settings",
|
47 |
-
sfsi_plus_custom_social_hide:"yes"
|
|
|
48 |
};
|
49 |
jQuery.post(ajaxurl, data, function(response) {
|
50 |
if(response){
|
44 |
jQuery('.sfsi_plus_hidenotice').on('click',function(){
|
45 |
var data = {
|
46 |
action:"plus_update_sharing_settings",
|
47 |
+
sfsi_plus_custom_social_hide:"yes",
|
48 |
+
nonce: '<?php echo wp_create_nonce('plus_update_sharing_settings') ?>'
|
49 |
};
|
50 |
jQuery.post(ajaxurl, data, function(response) {
|
51 |
if(response){
|
libs/sfsi_install_uninstall.php
CHANGED
@@ -12,7 +12,7 @@ function sfsi_plus_update_plugin()
|
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
-
update_option("sfsi_plus_pluginVersion", "3.
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
@@ -845,7 +845,7 @@ function sfsi_plus_rating_msg()
|
|
845 |
var sel2 = jQuery('.sfsi_plus_plg-rating-dismiss');
|
846 |
function sfsi_plus_hide_rating(element){
|
847 |
element.on('click',function(){
|
848 |
-
var data={'action':'plushideRating'};
|
849 |
jQuery.ajax({
|
850 |
|
851 |
url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
|
@@ -871,6 +871,10 @@ function sfsi_plus_rating_msg()
|
|
871 |
add_action('wp_ajax_plushideRating','sfsi_plusHideRatingDiv');
|
872 |
function sfsi_plusHideRatingDiv()
|
873 |
{
|
|
|
|
|
|
|
|
|
874 |
update_option('sfsi_plus_RatingDiv','yes');
|
875 |
echo json_encode(array("success")); exit;
|
876 |
}
|
12 |
}
|
13 |
|
14 |
//Install version
|
15 |
+
update_option("sfsi_plus_pluginVersion", "3.08");
|
16 |
|
17 |
if(!get_option('sfsi_plus_serverphpVersionnotification'))
|
18 |
{
|
845 |
var sel2 = jQuery('.sfsi_plus_plg-rating-dismiss');
|
846 |
function sfsi_plus_hide_rating(element){
|
847 |
element.on('click',function(){
|
848 |
+
var data={'action':'plushideRating','nonce':'<?php echo wp_create_nonce('plus_plushideRating'); ?>'};
|
849 |
jQuery.ajax({
|
850 |
|
851 |
url: "<?php echo admin_url( 'admin-ajax.php' ); ?>",
|
871 |
add_action('wp_ajax_plushideRating','sfsi_plusHideRatingDiv');
|
872 |
function sfsi_plusHideRatingDiv()
|
873 |
{
|
874 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_plushideRating")) {
|
875 |
+
echo json_encode(array('res'=>"error")); exit;
|
876 |
+
}
|
877 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
878 |
update_option('sfsi_plus_RatingDiv','yes');
|
879 |
echo json_encode(array("success")); exit;
|
880 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: socialsharepro
|
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.1
|
6 |
-
Stable tag: 3.0.
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -215,6 +215,8 @@ The free plugin already provides tons of options for social sharing (as outlined
|
|
215 |
* (Friendly and fast) Support
|
216 |
* Many more settings & options
|
217 |
|
|
|
|
|
218 |
See [all features of the Premium Plugin](https://www.ultimatelysocial.com/usm-premium).
|
219 |
|
220 |
In case of issues or questions please ask in the [Support forum] (https://wordpress.org/support/plugin/ultimate-social-media-plus).
|
@@ -444,6 +446,10 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
444 |
|
445 |
|
446 |
== Changelog ==
|
|
|
|
|
|
|
|
|
447 |
= 3.0.7 =
|
448 |
* Update: Security Patch.
|
449 |
|
@@ -830,5 +836,5 @@ The premium plugin offrs many more social buttons from other social media platfo
|
|
830 |
|
831 |
== Upgrade Notice ==
|
832 |
|
833 |
-
= 3.0.
|
834 |
* Please update
|
3 |
Tags: Share, sharing, share buttons, share button, share social media, share icons, social buttons, sharing buttons, sharing icons, social media icons, social share, social sharing
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.1
|
6 |
+
Stable tag: 3.0.8
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
215 |
* (Friendly and fast) Support
|
216 |
* Many more settings & options
|
217 |
|
218 |
+
Note: this plugin uses the third party provider SpecificFeeds.com for the subscription feature, enabling you to allow your visitors to subscribe to your site and get new posts automatically by email. Upon installation of the plugin a feed will be set up on SpecificFeeds, transmitting your IP address. This is required for this feature to work.
|
219 |
+
|
220 |
See [all features of the Premium Plugin](https://www.ultimatelysocial.com/usm-premium).
|
221 |
|
222 |
In case of issues or questions please ask in the [Support forum] (https://wordpress.org/support/plugin/ultimate-social-media-plus).
|
446 |
|
447 |
|
448 |
== Changelog ==
|
449 |
+
= 3.0.8 =
|
450 |
+
* Update: Critical Security Patch.
|
451 |
+
* Update: Resolved Conflict with woocommerce auto update.
|
452 |
+
|
453 |
= 3.0.7 =
|
454 |
* Update: Security Patch.
|
455 |
|
836 |
|
837 |
== Upgrade Notice ==
|
838 |
|
839 |
+
= 3.0.8 =
|
840 |
* Please update
|
ultimate_social_media_icons.php
CHANGED
@@ -7,7 +7,7 @@ Author: social share pro
|
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
-
Version: 3.0.
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
@@ -105,7 +105,7 @@ register_deactivation_hook(__FILE__, 'sfsi_plus_deactivate_plugin');
|
|
105 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
106 |
|
107 |
/*Plugin version setup*/
|
108 |
-
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.
|
109 |
{
|
110 |
add_action("init", "sfsi_plus_update_plugin");
|
111 |
}
|
@@ -198,7 +198,8 @@ function sfsi_plus_checkmetas()
|
|
198 |
|
199 |
if ( is_admin() )
|
200 |
{
|
201 |
-
sfsi_plus_checkmetas();
|
|
|
202 |
}
|
203 |
|
204 |
add_action('wp_head', 'ultimateplusfbmetatags');
|
@@ -1017,7 +1018,7 @@ function sfsi_plus_curl_error_notification()
|
|
1017 |
SFSI.ajax({
|
1018 |
url:sfsi_plus_ajax_object.ajax_url,
|
1019 |
type:"post",
|
1020 |
-
data: {action: "sfsiplus_curlerrornotification"},
|
1021 |
success:function(msg)
|
1022 |
{
|
1023 |
jQuery(".sfsiplus_curlerror").hide("fast");
|
@@ -1221,6 +1222,10 @@ function sfsi_plus_language_notice(){
|
|
1221 |
|
1222 |
|
1223 |
function sfsi_plus_dismiss_lang_notice(){
|
|
|
|
|
|
|
|
|
1224 |
echo update_option('sfsi_plus_lang_notice_dismissed',true) ? "true" : "false";
|
1225 |
die;
|
1226 |
}
|
@@ -1275,7 +1280,7 @@ function sfsi_plus_error_reporting_notice(){
|
|
1275 |
|
1276 |
if(typeof jQuery != 'undefined'){
|
1277 |
|
1278 |
-
(function sfsi_dismiss_notice(btnClass,ajaxAction){
|
1279 |
|
1280 |
var btnClass = "."+btnClass;
|
1281 |
|
@@ -1286,7 +1291,7 @@ function sfsi_plus_error_reporting_notice(){
|
|
1286 |
jQuery.ajax({
|
1287 |
url:ajaxurl,
|
1288 |
type:"post",
|
1289 |
-
data:{action: ajaxAction},
|
1290 |
success:function(e) {
|
1291 |
if(false != e){
|
1292 |
jQuery(btnClass).parent().remove();
|
@@ -1296,7 +1301,7 @@ function sfsi_plus_error_reporting_notice(){
|
|
1296 |
|
1297 |
});
|
1298 |
|
1299 |
-
}("sfsi_pplus_error_reporting_notice-dismiss","sfsi_pplus_dismiss_error_reporting_notice"));
|
1300 |
}
|
1301 |
</script>
|
1302 |
|
@@ -1306,6 +1311,10 @@ function sfsi_plus_error_reporting_notice(){
|
|
1306 |
}
|
1307 |
|
1308 |
function sfsi_pplus_dismiss_error_reporting_notice(){
|
|
|
|
|
|
|
|
|
1309 |
echo (string) update_option('sfsi_pplus_error_reporting_notice_dismissed',true);
|
1310 |
die;
|
1311 |
}
|
@@ -1338,6 +1347,10 @@ function sfsi_plus_addThis_removal_notice(){
|
|
1338 |
}
|
1339 |
|
1340 |
function sfsi_plus_dismiss_addthhis_removal_notice(){
|
|
|
|
|
|
|
|
|
1341 |
echo update_option('sfsi_plus_addThis_icon_removal_notice_dismissed',true) ? get_option('sfsi_plus_addThis_icon_removal_notice_dismissed',false) :
|
1342 |
"false";
|
1343 |
die;
|
7 |
Text Domain: ultimate-social-media-plus
|
8 |
Domain Path: /languages
|
9 |
Author URI: http://socialshare.pro/
|
10 |
+
Version: 3.0.8
|
11 |
License: GPLv2
|
12 |
*/
|
13 |
|
105 |
//register_uninstall_hook(__FILE__, 'sfsi_plus_Unistall_plugin');
|
106 |
|
107 |
/*Plugin version setup*/
|
108 |
+
if(!get_option('sfsi_plus_pluginVersion') || get_option('sfsi_plus_pluginVersion') < 3.08)
|
109 |
{
|
110 |
add_action("init", "sfsi_plus_update_plugin");
|
111 |
}
|
198 |
|
199 |
if ( is_admin() )
|
200 |
{
|
201 |
+
// sfsi_plus_checkmetas();
|
202 |
+
add_action('after_setup_theme', 'sfsi_checkmetas');
|
203 |
}
|
204 |
|
205 |
add_action('wp_head', 'ultimateplusfbmetatags');
|
1018 |
SFSI.ajax({
|
1019 |
url:sfsi_plus_ajax_object.ajax_url,
|
1020 |
type:"post",
|
1021 |
+
data: {action: "sfsiplus_curlerrornotification",nonce:'<?php echo wp_create_nonce('plus_curlerrornotification'); ?>'},
|
1022 |
success:function(msg)
|
1023 |
{
|
1024 |
jQuery(".sfsiplus_curlerror").hide("fast");
|
1222 |
|
1223 |
|
1224 |
function sfsi_plus_dismiss_lang_notice(){
|
1225 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_dismiss_lang_notice")) {
|
1226 |
+
echo json_encode(array('res'=>"error")); exit;
|
1227 |
+
}
|
1228 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1229 |
echo update_option('sfsi_plus_lang_notice_dismissed',true) ? "true" : "false";
|
1230 |
die;
|
1231 |
}
|
1280 |
|
1281 |
if(typeof jQuery != 'undefined'){
|
1282 |
|
1283 |
+
(function sfsi_dismiss_notice(btnClass,ajaxAction,nonce){
|
1284 |
|
1285 |
var btnClass = "."+btnClass;
|
1286 |
|
1291 |
jQuery.ajax({
|
1292 |
url:ajaxurl,
|
1293 |
type:"post",
|
1294 |
+
data:{action: ajaxAction,nonce:nonce},
|
1295 |
success:function(e) {
|
1296 |
if(false != e){
|
1297 |
jQuery(btnClass).parent().remove();
|
1301 |
|
1302 |
});
|
1303 |
|
1304 |
+
}("sfsi_pplus_error_reporting_notice-dismiss","sfsi_pplus_dismiss_error_reporting_notice","<?php echo wp_create_nonce('plus_dismiss_error_reporting_notice'); ?>"));
|
1305 |
}
|
1306 |
</script>
|
1307 |
|
1311 |
}
|
1312 |
|
1313 |
function sfsi_pplus_dismiss_error_reporting_notice(){
|
1314 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_dismiss_error_reporting_notice")) {
|
1315 |
+
echo json_encode(array('res'=>"error")); exit;
|
1316 |
+
}
|
1317 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1318 |
echo (string) update_option('sfsi_pplus_error_reporting_notice_dismissed',true);
|
1319 |
die;
|
1320 |
}
|
1347 |
}
|
1348 |
|
1349 |
function sfsi_plus_dismiss_addthhis_removal_notice(){
|
1350 |
+
if ( !wp_verify_nonce( $_POST['nonce'], "plus_dismiss_addthhis_removal_notice")) {
|
1351 |
+
echo json_encode(array('res'=>"error")); exit;
|
1352 |
+
}
|
1353 |
+
if(!current_user_can('manage_options')){ echo json_encode(array('res'=>'not allowed'));die(); }
|
1354 |
echo update_option('sfsi_plus_addThis_icon_removal_notice_dismissed',true) ? get_option('sfsi_plus_addThis_icon_removal_notice_dismissed',false) :
|
1355 |
"false";
|
1356 |
die;
|
views/sfsi_option_view1.php
CHANGED
@@ -290,6 +290,7 @@
|
|
290 |
<div class="radio_section tb_4_ck">
|
291 |
<input name="plussfsiICON_<?php echo $i; ?>" checked="true" type="checkbox" value="yes" class="styled" element-type="sfsiplus-cusotm-icon" />
|
292 |
</div>
|
|
|
293 |
<span class="plus_custom-img">
|
294 |
<img class="plus_sfcm" src="<?php echo (!empty($icons[$i]))? esc_url($icons[$i]) : SFSI_PLUS_PLUGURL.'images/custom.png';?>" id="plus_CImg_<?php echo $i;?>"/>
|
295 |
</span>
|
290 |
<div class="radio_section tb_4_ck">
|
291 |
<input name="plussfsiICON_<?php echo $i; ?>" checked="true" type="checkbox" value="yes" class="styled" element-type="sfsiplus-cusotm-icon" />
|
292 |
</div>
|
293 |
+
<input type="hidden" name="nonce" value="<?php echo wp_create_nonce('plus_deleteIcons'); ?>">
|
294 |
<span class="plus_custom-img">
|
295 |
<img class="plus_sfcm" src="<?php echo (!empty($icons[$i]))? esc_url($icons[$i]) : SFSI_PLUS_PLUGURL.'images/custom.png';?>" id="plus_CImg_<?php echo $i;?>"/>
|
296 |
</span>
|
views/sfsi_options_view.php
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
SFSI.ajax({
|
26 |
url:sfsi_plus_ajax_object.ajax_url,
|
27 |
type:"post",
|
28 |
-
data: {action: "sfsiPlus_notification_read"},
|
29 |
success:function(msg){
|
30 |
if(msg == 'success')
|
31 |
{
|
@@ -226,7 +226,8 @@
|
|
226 |
<!-- START Admin view for plugin-->
|
227 |
<script type="text/javascript">
|
228 |
var e = {
|
229 |
-
action:"sfsiplusbannerOption"
|
|
|
230 |
};
|
231 |
|
232 |
jQuery.ajax({
|
25 |
SFSI.ajax({
|
26 |
url:sfsi_plus_ajax_object.ajax_url,
|
27 |
type:"post",
|
28 |
+
data: {action: "sfsiPlus_notification_read",nonce: "<?php echo wp_create_nonce('plus_notification_read'); ?>"},
|
29 |
success:function(msg){
|
30 |
if(msg == 'success')
|
31 |
{
|
226 |
<!-- START Admin view for plugin-->
|
227 |
<script type="text/javascript">
|
228 |
var e = {
|
229 |
+
action:"sfsiplusbannerOption",
|
230 |
+
'nonce': '<?php echo wp_create_nonce('plus_sfsiplusbannerOption'); ?>',
|
231 |
};
|
232 |
|
233 |
jQuery.ajax({
|
views/sfsi_pop_content.php
CHANGED
@@ -91,7 +91,8 @@ $connectFeedLgn = "https://www.specificfeeds.com/?".base64_encode("userprofile=w
|
|
91 |
var url = jQuery(html).attr('src');
|
92 |
}
|
93 |
tb_remove();
|
94 |
-
plus_sfsi_newcustomicon_upload(url);
|
|
|
95 |
}
|
96 |
return false;
|
97 |
}
|
@@ -576,7 +577,7 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
576 |
</li>
|
577 |
</ul>
|
578 |
<div class="cstmskins_sbmt">
|
579 |
-
<a href="javascript:" class="done_btn" onclick="SFSI_plus_done();">
|
580 |
<?php _e( "I'm done!", SFSI_PLUS_DOMAIN ); ?>
|
581 |
</a>
|
582 |
</div>
|
@@ -593,7 +594,7 @@ $pin_url=($option2['sfsi_plus_pinterest_pageUrl']!='') ? $option2['sfsi_plus_pi
|
|
593 |
{
|
594 |
var url = jQuery(html).attr('src');
|
595 |
}
|
596 |
-
plus_sfsi_customskin_upload(title+'='+url, ref);
|
597 |
tb_remove();
|
598 |
}
|
599 |
return false;
|
91 |
var url = jQuery(html).attr('src');
|
92 |
}
|
93 |
tb_remove();
|
94 |
+
// plus_sfsi_newcustomicon_upload(url);
|
95 |
+
plus_sfsi_newcustomicon_upload(url,'<?php echo wp_create_nonce('plus_UploadIcons'); ?>','<?php echo wp_create_nonce('plus_deleteIcons'); ?>"');
|
96 |
}
|
97 |
return false;
|
98 |
}
|
577 |
</li>
|
578 |
</ul>
|
579 |
<div class="cstmskins_sbmt">
|
580 |
+
<a href="javascript:" class="done_btn" onclick="SFSI_plus_done('<?php echo wp_create_nonce('plus_Iamdone'); ?>');">
|
581 |
<?php _e( "I'm done!", SFSI_PLUS_DOMAIN ); ?>
|
582 |
</a>
|
583 |
</div>
|
594 |
{
|
595 |
var url = jQuery(html).attr('src');
|
596 |
}
|
597 |
+
plus_sfsi_customskin_upload(title+'='+url, ref,'<?php echo wp_create_nonce('plus_UploadSkins') ?>');
|
598 |
tb_remove();
|
599 |
}
|
600 |
return false;
|