Version Description
2015-04-01 =
Initial Release
Download this release
Release Info
Developer | buzztone |
Plugin | Contact Form 7 Skins |
Version | 1.0 |
Comparing to | |
See all releases |
Version 1.0
- css/admin.css +399 -0
- css/framework/cf7s-default.css +280 -0
- css/framework/cf7s-normalize.css +340 -0
- css/tipsy.css +25 -0
- images/no-preview.png +0 -0
- includes/EDD_SL_Plugin_Updater.php +342 -0
- includes/admin.php +130 -0
- includes/contact.php +277 -0
- includes/logs.php +179 -0
- includes/settings.php +351 -0
- includes/skin.php +99 -0
- includes/style-instructions.php +17 -0
- includes/style.php +459 -0
- includes/tab.php +315 -0
- includes/template-instructions.php +17 -0
- includes/template.php +467 -0
- index.php +179 -0
- js/jquery.admin.js +403 -0
- js/jquery.settings.js +28 -0
- js/jquery.tipsy.js +258 -0
- languages/cf7skins-id_ID.po +1119 -0
- languages/cf7skins.po +1044 -0
- languages/readme.txt +8 -0
- readme.txt +100 -0
- skins/styles/blush/blush.css +243 -0
- skins/styles/blush/modal.png +0 -0
- skins/styles/blush/thumbnail.png +0 -0
- skins/styles/caspar/caspar.css +241 -0
- skins/styles/caspar/modal.png +0 -0
- skins/styles/caspar/thumbnail.png +0 -0
- skins/styles/choc-shake/choc-shake.css +245 -0
- skins/styles/choc-shake/modal.png +0 -0
- skins/styles/choc-shake/thumbnail.png +0 -0
- skins/styles/cotton-candy/cotton-candy.css +252 -0
- skins/styles/cotton-candy/modal.png +0 -0
- skins/styles/cotton-candy/thumbnail.png +0 -0
- skins/styles/default/cf7s-default.css +13 -0
- skins/styles/default/modal.png +0 -0
- skins/styles/default/thumbnail.png +0 -0
- skins/styles/eggplant/eggplant.css +253 -0
- skins/styles/eggplant/modal.png +0 -0
- skins/styles/eggplant/thumbnail.png +0 -0
- skins/styles/magnum/magnum.css +257 -0
- skins/styles/magnum/modal.png +0 -0
- skins/styles/magnum/thumbnail.png +0 -0
- skins/styles/pina-colada/modal.png +0 -0
- skins/styles/pina-colada/pina-colada.css +246 -0
- skins/styles/pina-colada/thumbnail.png +0 -0
- skins/styles/topaz/modal.png +0 -0
- skins/styles/topaz/thumbnail.png +0 -0
- skins/styles/topaz/topaz.css +242 -0
- skins/styles/vanilla/modal.png +0 -0
- skins/styles/vanilla/thumbnail.png +0 -0
- skins/styles/vanilla/vanilla.css +245 -0
- skins/styles/wild-west/modal.png +0 -0
- skins/styles/wild-west/thumbnail.png +0 -0
- skins/styles/wild-west/wild-west.css +240 -0
- skins/templates/contact/contact.php +27 -0
- skins/templates/contact/description.txt +10 -0
- skins/templates/contact/modal.png +0 -0
- skins/templates/contact/thumbnail.png +0 -0
- skins/templates/default/default-cf7-form.php +30 -0
- skins/templates/default/modal.png +0 -0
- skins/templates/default/thumbnail.png +0 -0
- skins/templates/event/description.txt +14 -0
- skins/templates/event/event.php +31 -0
- skins/templates/event/modal.png +0 -0
- skins/templates/event/thumbnail.png +0 -0
- skins/templates/fieldset-basic/description.txt +12 -0
- skins/templates/fieldset-basic/fieldset-basic.php +28 -0
- skins/templates/fieldset-basic/modal.png +0 -0
- skins/templates/fieldset-basic/thumbnail.png +0 -0
- skins/templates/fieldset-in-fieldset/description.txt +19 -0
- skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php +37 -0
- skins/templates/fieldset-in-fieldset/modal.png +0 -0
- skins/templates/fieldset-in-fieldset/thumbnail.png +0 -0
- skins/templates/fieldset-multiple/description.txt +17 -0
- skins/templates/fieldset-multiple/fieldset-multiple.php +37 -0
- skins/templates/fieldset-multiple/modal.png +0 -0
- skins/templates/fieldset-multiple/thumbnail.png +0 -0
- skins/templates/registration/description.txt +18 -0
- skins/templates/registration/modal.png +0 -0
- skins/templates/registration/registration.php +33 -0
- skins/templates/registration/thumbnail.png +0 -0
- skins/templates/suggestion/description.txt +15 -0
- skins/templates/suggestion/modal.png +0 -0
- skins/templates/suggestion/suggestion.php +31 -0
- skins/templates/suggestion/thumbnail.png +0 -0
- skins/templates/survey/description.txt +11 -0
- skins/templates/survey/modal.png +0 -0
- skins/templates/survey/survey.php +32 -0
- skins/templates/survey/thumbnail.png +0 -0
- uninstall.php +30 -0
css/admin.css
ADDED
@@ -0,0 +1,399 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* This stylesheet is used to style the admin option form of the plugin. */
|
2 |
+
#cf7s .clearfix:after {
|
3 |
+
clear: both;
|
4 |
+
}
|
5 |
+
#cf7s .clearfix:before,
|
6 |
+
#cf7s .clearfix:after {
|
7 |
+
content: "";
|
8 |
+
display: table;
|
9 |
+
line-height: 0;
|
10 |
+
}
|
11 |
+
#cf7s ul.skin-action {
|
12 |
+
margin:0;
|
13 |
+
padding:0;
|
14 |
+
list-style-type:none;
|
15 |
+
}
|
16 |
+
#cf7s h2 {
|
17 |
+
clear: none;
|
18 |
+
font-size: auto;
|
19 |
+
margin: 0;
|
20 |
+
padding: 9px 15px 0 0;
|
21 |
+
}
|
22 |
+
#cf7s h2 a {
|
23 |
+
text-decoration: none;
|
24 |
+
outline: none;
|
25 |
+
font-family: Arial, HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;
|
26 |
+
}
|
27 |
+
#cf7s h4 { /* Used in Details & Expanded View */
|
28 |
+
font-size: 14px;
|
29 |
+
font-weight: 400;
|
30 |
+
margin-bottom: 5px;
|
31 |
+
}
|
32 |
+
/* Nav Tab */
|
33 |
+
#cf7s .nav-tab {
|
34 |
+
color: #666;
|
35 |
+
}
|
36 |
+
#cf7s .nav-tab:focus {
|
37 |
+
box-shadow: none;
|
38 |
+
}
|
39 |
+
#cf7s .nav-tab:hover,
|
40 |
+
#cf7s .nav-tab-active {
|
41 |
+
border-color: #7E99AD;
|
42 |
+
border-bottom-color: #94B2CE;
|
43 |
+
background: none repeat scroll 0 0 #94B2CE;
|
44 |
+
color: #fff;
|
45 |
+
border-bottom-color: transparent;
|
46 |
+
}
|
47 |
+
#cf7s .nav-tab-active {
|
48 |
+
border-bottom-color: #94B2CE;
|
49 |
+
}
|
50 |
+
#cf7s h2.nav-tab-wrapper,
|
51 |
+
#cf7s h3.nav-tab-wrapper {
|
52 |
+
border-bottom-color: #94B2CE;
|
53 |
+
}
|
54 |
+
#cf7s .help {
|
55 |
+
background-color: #d5d5d5;
|
56 |
+
border-radius: 50%;
|
57 |
+
color: #FFFFFF;
|
58 |
+
display: inline-block;
|
59 |
+
font-size: 12px;
|
60 |
+
height: 20px;
|
61 |
+
line-height: 20px;
|
62 |
+
margin-left: 5px;
|
63 |
+
text-align: center;
|
64 |
+
width: 20px;
|
65 |
+
}
|
66 |
+
#cf7s .ext-link {
|
67 |
+
float: right;
|
68 |
+
font-size: 12px;
|
69 |
+
margin-left: 30px;
|
70 |
+
}
|
71 |
+
#cf7s .nav-tab-content > div { /* Tab Content */
|
72 |
+
background-color: #94B2CE;
|
73 |
+
border-top: 1px solid #7E99AD;
|
74 |
+
margin-left: -12px;
|
75 |
+
margin-right: -12px;
|
76 |
+
padding: 18px 0;
|
77 |
+
margin-top: -1px;
|
78 |
+
min-height: 353px;
|
79 |
+
}
|
80 |
+
/* Filter Bar */
|
81 |
+
#cf7s .wp-filter {
|
82 |
+
margin-top: 0;
|
83 |
+
}
|
84 |
+
#cf7s .wp-filter .search-form {
|
85 |
+
display: inline-block;
|
86 |
+
float: right;
|
87 |
+
margin: 9px 0 0;
|
88 |
+
}
|
89 |
+
#cf7s .theme-search {
|
90 |
+
float: right;
|
91 |
+
font-size: inherit;
|
92 |
+
margin-top: 3px;
|
93 |
+
width: 175px;
|
94 |
+
}
|
95 |
+
#cf7s .skins-sort {
|
96 |
+
border-right: 1px solid #ddd;
|
97 |
+
display: inline-block;
|
98 |
+
float: right;
|
99 |
+
margin-right: 15px;
|
100 |
+
margin-top: 11px;
|
101 |
+
padding-right: 15px;
|
102 |
+
}
|
103 |
+
#cf7s .skins-sort select {
|
104 |
+
font-size: inherit;
|
105 |
+
}
|
106 |
+
#cf7s .dashicons {
|
107 |
+
color: #777;
|
108 |
+
height: 31px;
|
109 |
+
line-height: 31px;
|
110 |
+
}
|
111 |
+
#cf7s .dashicons:hover {
|
112 |
+
color: #2ea2cc;
|
113 |
+
}
|
114 |
+
#tab-template .filters-group {
|
115 |
+
width: 32.3%;
|
116 |
+
}
|
117 |
+
|
118 |
+
/* Skin List */
|
119 |
+
#cf7s .nav-tab-content .skin {
|
120 |
+
float: left;
|
121 |
+
margin-bottom: 20px;
|
122 |
+
width: 25%;
|
123 |
+
}
|
124 |
+
#cf7s .skin-details > div,
|
125 |
+
#cf7s .skin-list .wrapper {
|
126 |
+
padding-left: 15px;
|
127 |
+
padding-right: 15px;
|
128 |
+
}
|
129 |
+
#cf7s h4.feature-name {
|
130 |
+
font-weight: normal;
|
131 |
+
margin: 0 0 10px;
|
132 |
+
}
|
133 |
+
#cf7s h4.skin-name {
|
134 |
+
color: #FFFFFF;
|
135 |
+
font-weight: bold;
|
136 |
+
text-transform: uppercase;
|
137 |
+
height: 20px;
|
138 |
+
overflow: hidden;
|
139 |
+
}
|
140 |
+
#cf7s .skin-details .large-thumbnail { /* @since 0.7.0 */
|
141 |
+
border: 1px solid #888;
|
142 |
+
padding: 15px;
|
143 |
+
text-align: center;
|
144 |
+
}
|
145 |
+
#cf7s .skin-list .thumbnail {
|
146 |
+
background: none repeat scroll 0 0 #C4D9EE;
|
147 |
+
border: 1px solid #0978A5;
|
148 |
+
padding: 4%;
|
149 |
+
}
|
150 |
+
#cf7s .skin-list .skin-selected .thumbnail {
|
151 |
+
background: none repeat scroll 0 0 #0978A5;
|
152 |
+
}
|
153 |
+
#cf7s .skin-list .thumbnail img {
|
154 |
+
display: block;
|
155 |
+
max-width: 100%;
|
156 |
+
}
|
157 |
+
|
158 |
+
#cf7s ul.skin-action {
|
159 |
+
margin-top: 5px;
|
160 |
+
}
|
161 |
+
#cf7s ul.skin-action a {
|
162 |
+
color: #000;
|
163 |
+
}
|
164 |
+
#cf7s ul.skin-action a:hover {
|
165 |
+
color: #555;
|
166 |
+
}
|
167 |
+
#cf7s ul.skin-action a.selected { /* remove anchor underline and change color if selected */
|
168 |
+
color: #FF0000;
|
169 |
+
text-decoration: none;
|
170 |
+
}
|
171 |
+
#cf7s ul.skin-action > li {
|
172 |
+
border-right: 1px solid #eee;
|
173 |
+
float: left;
|
174 |
+
margin-right: 15px;
|
175 |
+
padding: 3px 15px 3px 0;
|
176 |
+
}
|
177 |
+
#cf7s ul.skin-action > li:last-child {
|
178 |
+
margin-right: 0;
|
179 |
+
padding-right: 0;
|
180 |
+
border-right: none;
|
181 |
+
}
|
182 |
+
|
183 |
+
#cf7s .skin-list .spinner { /* loading spinner */
|
184 |
+
display: none;
|
185 |
+
float: left;
|
186 |
+
margin-left: 49%;
|
187 |
+
}
|
188 |
+
|
189 |
+
#cf7s .tab-content.more-filters-opened .more-filters, /* WP3.9 */
|
190 |
+
#cf7s .tab-content.more-filters-opened .more-filters:before, /* WP3.9 */
|
191 |
+
#cf7s .tab-content.more-filters-opened .drawer-toggle,
|
192 |
+
#cf7s .tab-content.more-filters-opened .drawer-toggle:before {
|
193 |
+
background: none repeat scroll 0 0 #777777;
|
194 |
+
border: 0 none;
|
195 |
+
border-radius: 2px;
|
196 |
+
color: #FFFFFF;
|
197 |
+
}
|
198 |
+
#cf7s .tab-content.more-filters-opened .more-filters-container, /* WP3.9 */
|
199 |
+
#cf7s .tab-content.more-filters-opened .filter-drawer {
|
200 |
+
display: block;
|
201 |
+
overflow: hidden;
|
202 |
+
}
|
203 |
+
#cf7s .tab-content.more-filters-opened .theme-section.current {
|
204 |
+
border-bottom: 0 none;
|
205 |
+
}
|
206 |
+
#cf7s .filter-drawer .filtering-by .tag { /* fix overflow many tags */
|
207 |
+
display: inline-block;
|
208 |
+
margin: 2px 5px 5px 0;
|
209 |
+
}
|
210 |
+
#cf7s p.no-skins { /* message wrapper if there is no style or template found using filter or search */
|
211 |
+
display: block;
|
212 |
+
margin-top: 70px;
|
213 |
+
color: #eee;
|
214 |
+
}
|
215 |
+
|
216 |
+
/* Details & Expanded View */
|
217 |
+
#cf7s .expanded-view { /* hide expanded view by default */
|
218 |
+
display: none;
|
219 |
+
}
|
220 |
+
#cf7s .block-thumbnail,
|
221 |
+
#cf7s .block-details {
|
222 |
+
width: 50%;
|
223 |
+
float: left;
|
224 |
+
}
|
225 |
+
#cf7s .block-thumbnail > img {
|
226 |
+
max-width: 100%;
|
227 |
+
}
|
228 |
+
#cf7s .block-details > div {
|
229 |
+
padding-left: 20px;
|
230 |
+
}
|
231 |
+
#cf7s p.description {
|
232 |
+
font-style: normal;
|
233 |
+
}
|
234 |
+
|
235 |
+
/* Media query based on users screen size */
|
236 |
+
@media only screen and (max-width: 1160px) {
|
237 |
+
#cf7s .nav-tab-content .skin {
|
238 |
+
width: 33.3%;
|
239 |
+
}
|
240 |
+
#cf7s select {
|
241 |
+
font-size: 16px;
|
242 |
+
height: auto;
|
243 |
+
}
|
244 |
+
}
|
245 |
+
@media only screen and (max-width: 780px) {
|
246 |
+
#cf7s .nav-tab-content .skin {
|
247 |
+
width: 50%;
|
248 |
+
}
|
249 |
+
#cf7s .wp-filter .search-form,
|
250 |
+
#cf7s .skins-sort {
|
251 |
+
float: none;
|
252 |
+
display: block;
|
253 |
+
}
|
254 |
+
}
|
255 |
+
@media only screen and (max-width: 480px) {
|
256 |
+
#cf7s .nav-tab-content .skin {
|
257 |
+
width: 100%;
|
258 |
+
}
|
259 |
+
#cf7s .block-thumbnail, #cf7s .block-details {
|
260 |
+
width: 100%;
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
|
265 |
+
/** Default Color Scheme **/
|
266 |
+
#cf7s .default .nav-tab-style:hover {
|
267 |
+
background-color: #70A74A;
|
268 |
+
border-color: #699B45;
|
269 |
+
}
|
270 |
+
#cf7s .default .nav-tab-style.nav-tab-active {
|
271 |
+
background-color: #70A74A;
|
272 |
+
border-color: #699B45;
|
273 |
+
}
|
274 |
+
#cf7s .default #tab-style {
|
275 |
+
background-color: #70A74A;
|
276 |
+
border-top: 1px solid #699B45;
|
277 |
+
}
|
278 |
+
#cf7s .default #tab-style .skin-name {
|
279 |
+
color: #fff;
|
280 |
+
}
|
281 |
+
#cf7s .default #tab-style .thumbnail {
|
282 |
+
background-color: #C9F4B0;
|
283 |
+
border-color: #007236;
|
284 |
+
}
|
285 |
+
#cf7s .default #tab-style .skin-selected .thumbnail {
|
286 |
+
background-color: #629141;
|
287 |
+
}
|
288 |
+
#cf7s .default .nav-tab.nav-tab-active {
|
289 |
+
border-bottom-color: transparent;
|
290 |
+
}
|
291 |
+
|
292 |
+
|
293 |
+
/** Wheat Color Scheme **/
|
294 |
+
#cf7s .wheat .nav-tab {
|
295 |
+
color: inherit;
|
296 |
+
border-color: #CCCCCC;
|
297 |
+
}
|
298 |
+
#cf7s .wheat .nav-tab:hover,
|
299 |
+
#cf7s .wheat .nav-tab-active {
|
300 |
+
background-color: #EEEEEE;
|
301 |
+
}
|
302 |
+
#cf7s .wheat .tab-content {
|
303 |
+
background-color: #EEEEEE;
|
304 |
+
border-top: 1px solid #CCCCCC;
|
305 |
+
}
|
306 |
+
#cf7s .wheat .skin-name {
|
307 |
+
color: #A32D21;
|
308 |
+
}
|
309 |
+
#cf7s .wheat .thumbnail {
|
310 |
+
background-color: #E5E5E5;
|
311 |
+
border-color: #D1D1D1;
|
312 |
+
}
|
313 |
+
#cf7s .wheat .tab-content .skin-selected .thumbnail {
|
314 |
+
background-color: #FFFFFF;
|
315 |
+
border-color: #999999;
|
316 |
+
}
|
317 |
+
|
318 |
+
/* STYLE Tab */
|
319 |
+
#cf7s .wheat .nav-tab-style {
|
320 |
+
border-color: #D2D69A;
|
321 |
+
background-color: #EFF7CD;
|
322 |
+
}
|
323 |
+
#cf7s .wheat .nav-tab-style:hover,
|
324 |
+
#cf7s .wheat .nav-tab-style.nav-tab-active {
|
325 |
+
background-color: #E5EAA8;
|
326 |
+
}
|
327 |
+
#cf7s .wheat #tab-style {
|
328 |
+
background-color: #E5EAA8;
|
329 |
+
border-top: 1px solid #CCCCCC;
|
330 |
+
}
|
331 |
+
#cf7s .wheat #tab-style .skin-name {
|
332 |
+
color: #A32D21;
|
333 |
+
}
|
334 |
+
#cf7s .wheat #tab-style .thumbnail {
|
335 |
+
background-color: #DAE193;
|
336 |
+
border-color: #CED585;
|
337 |
+
}
|
338 |
+
#cf7s .wheat #tab-style .skin-selected .thumbnail {
|
339 |
+
background-color: #F2F9A4;
|
340 |
+
border-color: #BBBBBB;
|
341 |
+
}
|
342 |
+
#cf7s .wheat .nav-tab.nav-tab-active {
|
343 |
+
border-bottom-color: transparent;
|
344 |
+
}
|
345 |
+
|
346 |
+
|
347 |
+
/** Ocean Color Scheme **/
|
348 |
+
#cf7s .ocean .nav-tab {
|
349 |
+
color: #555;
|
350 |
+
border-color: #93C6D7;
|
351 |
+
background-color: #fafafa;
|
352 |
+
}
|
353 |
+
#cf7s .ocean .nav-tab:hover,
|
354 |
+
#cf7s .ocean .nav-tab-active {
|
355 |
+
background-color: #ECF7FB;
|
356 |
+
}
|
357 |
+
#cf7s .ocean .tab-content {
|
358 |
+
background-color: #ECF7FB;
|
359 |
+
border-top: 1px solid #93C6D7;
|
360 |
+
}
|
361 |
+
#cf7s .ocean .skin-name {
|
362 |
+
color: #6D9CB0;
|
363 |
+
}
|
364 |
+
#cf7s .ocean .thumbnail {
|
365 |
+
background-color: #CDE8F1;
|
366 |
+
border-color: #93C6D7;
|
367 |
+
}
|
368 |
+
#cf7s .ocean .skin-selected .thumbnail {
|
369 |
+
background-color: #CBF3B4;
|
370 |
+
border-color: #ADCE9A;
|
371 |
+
}
|
372 |
+
|
373 |
+
/* STYLE Tab */
|
374 |
+
#cf7s .ocean .nav-tab-style {
|
375 |
+
border-color: #D8D8D8;
|
376 |
+
background-color: #E0F7D4; /* previous #ECF7FB */
|
377 |
+
}
|
378 |
+
#cf7s .ocean .nav-tab-style:hover,
|
379 |
+
#cf7s .ocean .nav-tab-style.nav-tab-active {
|
380 |
+
background-color: #D6F9C1;
|
381 |
+
}
|
382 |
+
#cf7s .ocean #tab-style {
|
383 |
+
background-color: #D6F9C1;
|
384 |
+
border-top: 1px solid #D8D8D8;
|
385 |
+
}
|
386 |
+
#cf7s .ocean #tab-style .skin-name {
|
387 |
+
color: #70A749;
|
388 |
+
}
|
389 |
+
#cf7s .ocean #tab-style .thumbnail {
|
390 |
+
background-color: #C3F1A8;
|
391 |
+
border-color: #A4DA84;
|
392 |
+
}
|
393 |
+
#cf7s .ocean #tab-style .skin-selected .thumbnail {
|
394 |
+
background-color: #ECF7FB;
|
395 |
+
border-color: #B1CED3;
|
396 |
+
}
|
397 |
+
#cf7s .ocean .nav-tab.nav-tab-active {
|
398 |
+
border-bottom-color: transparent;
|
399 |
+
}
|
css/framework/cf7s-default.css
ADDED
@@ -0,0 +1,280 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
Description: cf7s-default
|
3 |
+
Default Contact Form 7 Skins Styling - provides base styling for all CF7 Skins Forms
|
4 |
+
Author: cf7skins - Neil Murray
|
5 |
+
Author URI: cf7skins.com
|
6 |
+
Version: 0.14
|
7 |
+
*/
|
8 |
+
|
9 |
+
/* Table of Contents
|
10 |
+
* Import
|
11 |
+
* Resets
|
12 |
+
* Form & Controls
|
13 |
+
* Fieldset, Legend, Label
|
14 |
+
* Text Fields
|
15 |
+
* Ordered & Unordered lists
|
16 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
17 |
+
* Other Fields
|
18 |
+
* Submit Buttons
|
19 |
+
* Special Classes
|
20 |
+
* Ready Styles
|
21 |
+
*/
|
22 |
+
|
23 |
+
/* Import
|
24 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
25 |
+
------------------------------------------------------------ */
|
26 |
+
/* @import url('../parent/style.css'); */
|
27 |
+
|
28 |
+
/* Resets
|
29 |
+
NOTE: These items should be used to reset standard HTML elements within CF7 SKins forms
|
30 |
+
------------------------------------------------------------ */
|
31 |
+
|
32 |
+
/* Fixes alignment issues due to padding & border thickness */
|
33 |
+
.wpcf7-form.cf7skins *,
|
34 |
+
.wpcf7-form.cf7skins *:before,
|
35 |
+
.wpcf7-form.cf7skins *:after {
|
36 |
+
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
37 |
+
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
38 |
+
box-sizing: border-box; /* Opera/IE 8+ */
|
39 |
+
}
|
40 |
+
|
41 |
+
.wpcf7-form.cf7skins p {
|
42 |
+
margin: 0; /* Overide the current themes default <p> element style within CF7 forms */
|
43 |
+
padding: 0; /* NOTE: vertical margins combine while paddings don't */
|
44 |
+
}
|
45 |
+
|
46 |
+
.wpcf7-form.cf7skins em {
|
47 |
+
}
|
48 |
+
|
49 |
+
/* Uncommenting the following CSS will overide the current themes default <span> element style within CF7 forms */
|
50 |
+
.wpcf7-form.cf7skins span {
|
51 |
+
/* padding: 0px; */
|
52 |
+
}
|
53 |
+
|
54 |
+
/* Form & Controls
|
55 |
+
NOTE: These items should be used to style the overall CF7 Form
|
56 |
+
------------------------------------------------------------ */
|
57 |
+
|
58 |
+
.wpcf7-form.cf7skins {
|
59 |
+
color: #000; /* Need to take control of this within CF7 Skins forms */
|
60 |
+
}
|
61 |
+
|
62 |
+
.wpcf7-form.cf7skins .wpcf7-form-control {
|
63 |
+
}
|
64 |
+
.wpcf7-form.cf7skins .wpcf7-form-control-wrap {
|
65 |
+
}
|
66 |
+
|
67 |
+
/* Fieldset, Legend, Label
|
68 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
69 |
+
------------------------------------------------------------ */
|
70 |
+
|
71 |
+
.wpcf7-form.cf7skins fieldset {
|
72 |
+
margin: 0; /* Removes normalize.css defaults margin: 0 2px; */
|
73 |
+
}
|
74 |
+
|
75 |
+
.wpcf7-form.cf7skins legend {
|
76 |
+
}
|
77 |
+
|
78 |
+
.wpcf7-form.cf7skins label {
|
79 |
+
}
|
80 |
+
|
81 |
+
.wpcf7-form.cf7skins fieldset p {
|
82 |
+
}
|
83 |
+
|
84 |
+
.wpcf7-form.cf7skins fieldset fieldset {
|
85 |
+
margin: 0;
|
86 |
+
}
|
87 |
+
|
88 |
+
.wpcf7-form.cf7skins fieldset fieldset legend {
|
89 |
+
}
|
90 |
+
|
91 |
+
.wpcf7-form.cf7skins fieldset fieldset input,
|
92 |
+
.wpcf7-form.cf7skins fieldset fieldset textarea {
|
93 |
+
}
|
94 |
+
|
95 |
+
/* Text Fields
|
96 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
97 |
+
------------------------------------------------------------ */
|
98 |
+
|
99 |
+
.wpcf7-form.cf7skins input {
|
100 |
+
width: auto; /* Some themes set these items - need to take control within CF7 Skins forms */
|
101 |
+
padding: 5px;
|
102 |
+
box-shadow: none;
|
103 |
+
}
|
104 |
+
|
105 |
+
.wpcf7-form.cf7skins input[type="text"],
|
106 |
+
.wpcf7-form.cf7skins input[type="email"],
|
107 |
+
.wpcf7-form.cf7skins input[type="tel"],
|
108 |
+
.wpcf7-form.cf7skins input[type="url"],
|
109 |
+
.wpcf7-form.cf7skins input[type="number"],
|
110 |
+
.wpcf7-form.cf7skins input[type="range"],
|
111 |
+
.wpcf7-form.cf7skins input[type=date],
|
112 |
+
.wpcf7-form.cf7skins input[type=file] {
|
113 |
+
width: 100%; /* Set default width at 100% in all CF7 forms */
|
114 |
+
background: #fafafa; /* Some older themes do not style the newer HTML5 elements */
|
115 |
+
border: 1px solid #c0c0c0; /* Color is same as used in normalize.css for Fieldset border */
|
116 |
+
}
|
117 |
+
|
118 |
+
/* This needs to be the same as other Input fields */
|
119 |
+
.wpcf7-form.cf7skins textarea {
|
120 |
+
width: 100%;
|
121 |
+
padding: 5px;
|
122 |
+
border: 1px solid #c0c0c0;
|
123 |
+
background: #fafafa;
|
124 |
+
box-shadow: none;
|
125 |
+
}
|
126 |
+
|
127 |
+
.wpcf7-form.cf7skins .wpcf7-text {
|
128 |
+
}
|
129 |
+
.wpcf7-form.cf7skins .wpcf7-email {
|
130 |
+
}
|
131 |
+
.wpcf7-form.cf7skins .wpcf7-tel {
|
132 |
+
}
|
133 |
+
.wpcf7-form.cf7skins .wpcf7-textarea {
|
134 |
+
}
|
135 |
+
|
136 |
+
/* Ordered & Unordered lists
|
137 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
138 |
+
------------------------------------------------------------ */
|
139 |
+
|
140 |
+
/* Reset all lists within CF7 forms - overide current themes default list styles */
|
141 |
+
.wpcf7-form.cf7skins ol,
|
142 |
+
.wpcf7-form.cf7skins ul,
|
143 |
+
.wpcf7-form.cf7skins li {
|
144 |
+
margin: 0;
|
145 |
+
padding: 0;
|
146 |
+
list-style: none;
|
147 |
+
}
|
148 |
+
|
149 |
+
.wpcf7-form.cf7skins ol {
|
150 |
+
}
|
151 |
+
|
152 |
+
.wpcf7-form.cf7skins li {
|
153 |
+
}
|
154 |
+
|
155 |
+
.wpcf7-form.cf7skins li label {
|
156 |
+
display: block;
|
157 |
+
/* no longer necessary for input fields with width 100%
|
158 |
+
- was used to make styling easier - don't need </br> */
|
159 |
+
}
|
160 |
+
|
161 |
+
.wpcf7-form.cf7skins li label .cf7s-reqd {
|
162 |
+
display: inline; /* removes display: block for automatically added required items */
|
163 |
+
}
|
164 |
+
|
165 |
+
.wpcf7-form.cf7skins .wpcf7-list-item {
|
166 |
+
}
|
167 |
+
|
168 |
+
.wpcf7-form.cf7skins .wpcf7-list-item-label {
|
169 |
+
}
|
170 |
+
|
171 |
+
.wpcf7-form.cf7skins span.wpcf7-list-item {
|
172 |
+
margin-left: 0;
|
173 |
+
/* Removes margin set by Contact For 7 plugin
|
174 |
+
span.wpcf7-list-item {
|
175 |
+
margin-left: 0.5em; in ./contact-form-7/includes/css/styles.css */
|
176 |
+
}
|
177 |
+
|
178 |
+
.wpcf7-form.cf7skins .wpcf7-list-item {
|
179 |
+
}
|
180 |
+
.wpcf7-form.cf7skins .wpcf7-list-item-label {
|
181 |
+
}
|
182 |
+
|
183 |
+
/* Checkboxes, Radio Buttons and Drop Down Menus
|
184 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
185 |
+
------------------------------------------------------------ */
|
186 |
+
|
187 |
+
/**
|
188 |
+
* normalize.css says:
|
189 |
+
* It's recommended that you don't attempt to style these elements.
|
190 |
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
191 |
+
*/
|
192 |
+
|
193 |
+
.wpcf7-form.cf7skins input[type="checkbox"],
|
194 |
+
.wpcf7-form.cf7skins input[type="radio"] {
|
195 |
+
border: none;
|
196 |
+
background: none; /* needed for IE */
|
197 |
+
}
|
198 |
+
|
199 |
+
/* Add minimum margin & padding to all drop-down select boxes */
|
200 |
+
.wpcf7-form.cf7skins select {
|
201 |
+
display: block; /* Added so can remove from .wpcf7-form li label {} */
|
202 |
+
margin-left: 3px;
|
203 |
+
padding: 3px;
|
204 |
+
}
|
205 |
+
|
206 |
+
.wpcf7-form.cf7skins select option {
|
207 |
+
}
|
208 |
+
|
209 |
+
.wpcf7-form.cf7skins select option:hover {
|
210 |
+
background: #dfdfdf; /* Add Default hover style to all browsers */
|
211 |
+
}
|
212 |
+
|
213 |
+
.wpcf7-form.cf7skins .wpcf7-checkbox .wpcf7-list-item,
|
214 |
+
.wpcf7-form.cf7skins .wpcf7-radio .wpcf7-list-item {
|
215 |
+
display: block; /* Sets default display of checkboxes & radio buttons as vertical */
|
216 |
+
margin-left: 3px; /* Add minimum margin to all checkbox & radio button items */
|
217 |
+
}
|
218 |
+
|
219 |
+
.wpcf7-form.cf7skins .wpcf7-checkbox {
|
220 |
+
}
|
221 |
+
.wpcf7-form.cf7skins .wpcf7-radio {
|
222 |
+
}
|
223 |
+
.wpcf7-form.cf7skins .wpcf7-select {
|
224 |
+
}
|
225 |
+
|
226 |
+
/* Other Fields
|
227 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
228 |
+
------------------------------------------------------------ */
|
229 |
+
|
230 |
+
.wpcf7-form.cf7skins .wpcf7-url {
|
231 |
+
}
|
232 |
+
.wpcf7-form.cf7skins .wpcf7-number {
|
233 |
+
}
|
234 |
+
.wpcf7-form.cf7skins .wpcf7-range {
|
235 |
+
}
|
236 |
+
.wpcf7-form.cf7skins .wpcf7-date {
|
237 |
+
}
|
238 |
+
.wpcf7-form.cf7skins .wpcf7-file {
|
239 |
+
}
|
240 |
+
.wpcf7-form.cf7skins .wpcf7-quiz {
|
241 |
+
}
|
242 |
+
.wpcf7-form.cf7skins .wpcf7-quiz-label {
|
243 |
+
}
|
244 |
+
.wpcf7-form.cf7skins .wpcf7-acceptance {
|
245 |
+
}
|
246 |
+
.wpcf7-form.cf7skins .wpcf7-captchac {
|
247 |
+
}
|
248 |
+
.wpcf7-form.cf7skins .wpcf7-captchar {
|
249 |
+
}
|
250 |
+
|
251 |
+
/* Submit Buttons
|
252 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
253 |
+
------------------------------------------------------------ */
|
254 |
+
|
255 |
+
.wpcf7-form.cf7skins input[type="submit"] {
|
256 |
+
margin: 4px 0 0; /* Added to separate Submit from other fields */
|
257 |
+
}
|
258 |
+
|
259 |
+
.wpcf7-form.cf7skins input[type="submit"]:hover {
|
260 |
+
}
|
261 |
+
|
262 |
+
/*
|
263 |
+
.wpcf7-form.cf7skins input[type="button"] {
|
264 |
+
}
|
265 |
+
.wpcf7-form.cf7skins input[type="button"]:hover {
|
266 |
+
}
|
267 |
+
*/
|
268 |
+
|
269 |
+
.cf7skins .wpcf7-submit {
|
270 |
+
}
|
271 |
+
|
272 |
+
/* Special Classes
|
273 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
274 |
+
------------------------------------------------------------ */
|
275 |
+
|
276 |
+
|
277 |
+
/* Ready Styles
|
278 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
279 |
+
------------------------------------------------------------ */
|
280 |
+
|
css/framework/cf7s-normalize.css
ADDED
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
2 |
+
|
3 |
+
/* Links
|
4 |
+
========================================================================== */
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Remove the gray background color from active links in IE 10.
|
8 |
+
*/
|
9 |
+
|
10 |
+
.wpcf7-form.cf7skins a {
|
11 |
+
background: transparent;
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Improve readability when focused and also mouse hovered in all browsers.
|
16 |
+
*/
|
17 |
+
|
18 |
+
.wpcf7-form.cf7skins a:active,
|
19 |
+
.wpcf7-form.cf7skins a:hover {
|
20 |
+
outline: 0;
|
21 |
+
}
|
22 |
+
|
23 |
+
/* Text-level semantics
|
24 |
+
========================================================================== */
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
28 |
+
*/
|
29 |
+
|
30 |
+
.wpcf7-form.cf7skins b,
|
31 |
+
.wpcf7-form.cf7skins strong {
|
32 |
+
font-weight: bold;
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Address styling not present in Safari 5 and Chrome.
|
37 |
+
*/
|
38 |
+
|
39 |
+
.wpcf7-form.cf7skins dfn {
|
40 |
+
font-style: italic;
|
41 |
+
}
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Address variable `h1` font-size and margin within `section` and `article`
|
45 |
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
46 |
+
*/
|
47 |
+
|
48 |
+
.wpcf7-form.cf7skins h1 {
|
49 |
+
font-size: 2em;
|
50 |
+
margin: 0.67em 0;
|
51 |
+
}
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Address styling not present in IE 8/9.
|
55 |
+
*/
|
56 |
+
|
57 |
+
.wpcf7-form.cf7skins mark {
|
58 |
+
background: #ff0;
|
59 |
+
color: #000;
|
60 |
+
}
|
61 |
+
|
62 |
+
/**
|
63 |
+
* Address inconsistent and variable font size in all browsers.
|
64 |
+
*/
|
65 |
+
|
66 |
+
.wpcf7-form.cf7skins small {
|
67 |
+
font-size: 80%;
|
68 |
+
}
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
72 |
+
*/
|
73 |
+
|
74 |
+
.wpcf7-form.cf7skins sub,
|
75 |
+
.wpcf7-form.cf7skins sup {
|
76 |
+
font-size: 75%;
|
77 |
+
line-height: 0;
|
78 |
+
position: relative;
|
79 |
+
vertical-align: baseline;
|
80 |
+
}
|
81 |
+
|
82 |
+
.wpcf7-form.cf7skins sup {
|
83 |
+
top: -0.5em;
|
84 |
+
}
|
85 |
+
|
86 |
+
.wpcf7-form.cf7skins sub {
|
87 |
+
bottom: -0.25em;
|
88 |
+
}
|
89 |
+
|
90 |
+
/* Embedded content
|
91 |
+
========================================================================== */
|
92 |
+
|
93 |
+
/**
|
94 |
+
* Remove border when inside `a` element in IE 8/9.
|
95 |
+
*/
|
96 |
+
|
97 |
+
.wpcf7-form.cf7skins img {
|
98 |
+
border: 0;
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Correct overflow displayed oddly in IE 9.
|
103 |
+
*/
|
104 |
+
|
105 |
+
.wpcf7-form.cf7skins svg:not(:root) {
|
106 |
+
overflow: hidden;
|
107 |
+
}
|
108 |
+
|
109 |
+
/* Grouping content
|
110 |
+
========================================================================== */
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Address margin not present in IE 8/9 and Safari 5.
|
114 |
+
*/
|
115 |
+
|
116 |
+
.wpcf7-form.cf7skins figure {
|
117 |
+
margin: 1em 40px;
|
118 |
+
}
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Address differences between Firefox and other browsers.
|
122 |
+
*/
|
123 |
+
|
124 |
+
.wpcf7-form.cf7skins hr {
|
125 |
+
-moz-box-sizing: content-box;
|
126 |
+
box-sizing: content-box;
|
127 |
+
height: 0;
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Contain overflow in all browsers.
|
132 |
+
*/
|
133 |
+
|
134 |
+
.wpcf7-form.cf7skins pre {
|
135 |
+
overflow: auto;
|
136 |
+
}
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Address odd `em`-unit font size rendering in all browsers.
|
140 |
+
*/
|
141 |
+
|
142 |
+
.wpcf7-form.cf7skins code,
|
143 |
+
.wpcf7-form.cf7skins kbd,
|
144 |
+
.wpcf7-form.cf7skins pre,
|
145 |
+
.wpcf7-form.cf7skins samp {
|
146 |
+
font-family: monospace, monospace;
|
147 |
+
font-size: 1em;
|
148 |
+
}
|
149 |
+
|
150 |
+
/* Forms
|
151 |
+
========================================================================== */
|
152 |
+
|
153 |
+
/**
|
154 |
+
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
155 |
+
* styling of `select`, unless a `border` property is set.
|
156 |
+
*/
|
157 |
+
|
158 |
+
/**
|
159 |
+
* 1. Correct color not being inherited.
|
160 |
+
* Known issue: affects color of disabled elements.
|
161 |
+
* 2. Correct font properties not being inherited.
|
162 |
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
163 |
+
*/
|
164 |
+
|
165 |
+
.wpcf7-form.cf7skins button,
|
166 |
+
.wpcf7-form.cf7skins input,
|
167 |
+
.wpcf7-form.cf7skins optgroup,
|
168 |
+
.wpcf7-form.cf7skins select,
|
169 |
+
.wpcf7-form.cf7skins textarea {
|
170 |
+
color: inherit; /* 1 */
|
171 |
+
font: inherit; /* 2 */
|
172 |
+
margin: 0; /* 3 */
|
173 |
+
}
|
174 |
+
|
175 |
+
/**
|
176 |
+
* Address `overflow` set to `hidden` in IE 8/9/10.
|
177 |
+
*/
|
178 |
+
|
179 |
+
.wpcf7-form.cf7skins button {
|
180 |
+
overflow: visible;
|
181 |
+
}
|
182 |
+
|
183 |
+
/**
|
184 |
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
185 |
+
* All other form control elements do not inherit `text-transform` values.
|
186 |
+
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
|
187 |
+
* Correct `select` style inheritance in Firefox.
|
188 |
+
*/
|
189 |
+
|
190 |
+
.wpcf7-form.cf7skins button,
|
191 |
+
.wpcf7-form.cf7skins select {
|
192 |
+
text-transform: none;
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
197 |
+
* and `video` controls.
|
198 |
+
* 2. Correct inability to style clickable `input` types in iOS.
|
199 |
+
* 3. Improve usability and consistency of cursor style between image-type
|
200 |
+
* `input` and others.
|
201 |
+
*/
|
202 |
+
|
203 |
+
.wpcf7-form.cf7skins button,
|
204 |
+
.wpcf7-form.cf7skins html input[type="button"], /* 1 */
|
205 |
+
.wpcf7-form.cf7skins input[type="reset"],
|
206 |
+
.wpcf7-form.cf7skins input[type="submit"] {
|
207 |
+
-webkit-appearance: button; /* 2 */
|
208 |
+
cursor: pointer; /* 3 */
|
209 |
+
}
|
210 |
+
|
211 |
+
/**
|
212 |
+
* Re-set default cursor for disabled elements.
|
213 |
+
*/
|
214 |
+
|
215 |
+
.wpcf7-form.cf7skins button[disabled],
|
216 |
+
.wpcf7-form.cf7skins html input[disabled] {
|
217 |
+
cursor: default;
|
218 |
+
}
|
219 |
+
|
220 |
+
/**
|
221 |
+
* Remove inner padding and border in Firefox 4+.
|
222 |
+
*/
|
223 |
+
|
224 |
+
.wpcf7-form.cf7skins button::-moz-focus-inner,
|
225 |
+
.wpcf7-form.cf7skins input::-moz-focus-inner {
|
226 |
+
border: 0;
|
227 |
+
padding: 0;
|
228 |
+
}
|
229 |
+
|
230 |
+
/**
|
231 |
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
232 |
+
* the UA stylesheet.
|
233 |
+
*/
|
234 |
+
|
235 |
+
.wpcf7-form.cf7skins input {
|
236 |
+
line-height: normal;
|
237 |
+
}
|
238 |
+
|
239 |
+
/**
|
240 |
+
* It's recommended that you don't attempt to style these elements.
|
241 |
+
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
242 |
+
*
|
243 |
+
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
244 |
+
* 2. Remove excess padding in IE 8/9/10.
|
245 |
+
*/
|
246 |
+
|
247 |
+
.wpcf7-form.cf7skins input[type="checkbox"],
|
248 |
+
.wpcf7-form.cf7skins input[type="radio"] {
|
249 |
+
box-sizing: border-box; /* 1 */
|
250 |
+
padding: 0; /* 2 */
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
255 |
+
* `font-size` values of the `input`, it causes the cursor style of the
|
256 |
+
* decrement button to change from `default` to `text`.
|
257 |
+
*/
|
258 |
+
|
259 |
+
.wpcf7-form.cf7skins input[type="number"]::-webkit-inner-spin-button,
|
260 |
+
.wpcf7-form.cf7skins input[type="number"]::-webkit-outer-spin-button {
|
261 |
+
height: auto;
|
262 |
+
}
|
263 |
+
|
264 |
+
/**
|
265 |
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
266 |
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
267 |
+
* (include `-moz` to future-proof).
|
268 |
+
*/
|
269 |
+
|
270 |
+
.wpcf7-form.cf7skins input[type="search"] {
|
271 |
+
-webkit-appearance: textfield; /* 1 */
|
272 |
+
-moz-box-sizing: content-box;
|
273 |
+
-webkit-box-sizing: content-box; /* 2 */
|
274 |
+
box-sizing: content-box;
|
275 |
+
}
|
276 |
+
|
277 |
+
/**
|
278 |
+
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
279 |
+
* Safari (but not Chrome) clips the cancel button when the search input has
|
280 |
+
* padding (and `textfield` appearance).
|
281 |
+
*/
|
282 |
+
|
283 |
+
.wpcf7-form.cf7skins input[type="search"]::-webkit-search-cancel-button,
|
284 |
+
.wpcf7-form.cf7skins input[type="search"]::-webkit-search-decoration {
|
285 |
+
-webkit-appearance: none;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Define consistent border, margin, and padding.
|
290 |
+
*/
|
291 |
+
|
292 |
+
.wpcf7-form.cf7skins fieldset {
|
293 |
+
border: 1px solid #c0c0c0;
|
294 |
+
margin: 0 2px;
|
295 |
+
padding: 0.35em 0.625em 0.75em;
|
296 |
+
}
|
297 |
+
|
298 |
+
/**
|
299 |
+
* 1. Correct `color` not being inherited in IE 8/9.
|
300 |
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
301 |
+
*/
|
302 |
+
|
303 |
+
.wpcf7-form.cf7skins legend {
|
304 |
+
border: 0; /* 1 */
|
305 |
+
padding: 0; /* 2 */
|
306 |
+
}
|
307 |
+
|
308 |
+
/**
|
309 |
+
* Remove default vertical scrollbar in IE 8/9.
|
310 |
+
*/
|
311 |
+
|
312 |
+
.wpcf7-form.cf7skins textarea {
|
313 |
+
overflow: auto;
|
314 |
+
}
|
315 |
+
|
316 |
+
/**
|
317 |
+
* Don't inherit the `font-weight` (applied by a rule above).
|
318 |
+
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
319 |
+
*/
|
320 |
+
|
321 |
+
.wpcf7-form.cf7skins optgroup {
|
322 |
+
font-weight: bold;
|
323 |
+
}
|
324 |
+
|
325 |
+
/* Tables
|
326 |
+
========================================================================== */
|
327 |
+
|
328 |
+
/**
|
329 |
+
* Remove most spacing between table cells.
|
330 |
+
*/
|
331 |
+
|
332 |
+
.wpcf7-form.cf7skins table {
|
333 |
+
border-collapse: collapse;
|
334 |
+
border-spacing: 0;
|
335 |
+
}
|
336 |
+
|
337 |
+
.wpcf7-form.cf7skins td,
|
338 |
+
.wpcf7-form.cf7skins th {
|
339 |
+
padding: 0;
|
340 |
+
}
|
css/tipsy.css
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.tipsy { font-size: 11px; position: absolute; padding: 5px; z-index: 100000; }
|
2 |
+
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; /* text-align: center; */ }
|
3 |
+
|
4 |
+
/* Rounded corners */
|
5 |
+
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
|
6 |
+
|
7 |
+
/* Uncomment for shadow */
|
8 |
+
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/
|
9 |
+
|
10 |
+
.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }
|
11 |
+
|
12 |
+
/* Rules to colour arrows */
|
13 |
+
.tipsy-arrow-n { border-bottom-color: #000; }
|
14 |
+
.tipsy-arrow-s { border-top-color: #000; }
|
15 |
+
.tipsy-arrow-e { border-left-color: #000; }
|
16 |
+
.tipsy-arrow-w { border-right-color: #000; }
|
17 |
+
|
18 |
+
.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
|
19 |
+
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
|
20 |
+
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
|
21 |
+
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
22 |
+
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
23 |
+
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
24 |
+
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
|
25 |
+
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
|
images/no-preview.png
ADDED
Binary file
|
includes/EDD_SL_Plugin_Updater.php
ADDED
@@ -0,0 +1,342 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// uncomment this line for testing
|
4 |
+
//set_site_transient( 'update_plugins', null );
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Allows plugins to use their own update API.
|
8 |
+
*
|
9 |
+
* @author Pippin Williamson
|
10 |
+
* @version 1.6
|
11 |
+
*/
|
12 |
+
class EDD_SL_Plugin_Updater {
|
13 |
+
private $api_url = '';
|
14 |
+
private $api_data = array();
|
15 |
+
private $name = '';
|
16 |
+
private $slug = '';
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Class constructor.
|
20 |
+
*
|
21 |
+
* @uses plugin_basename()
|
22 |
+
* @uses hook()
|
23 |
+
*
|
24 |
+
* @param string $_api_url The URL pointing to the custom API endpoint.
|
25 |
+
* @param string $_plugin_file Path to the plugin file.
|
26 |
+
* @param array $_api_data Optional data to send with API calls.
|
27 |
+
* @return void
|
28 |
+
*/
|
29 |
+
function __construct( $_api_url, $_plugin_file, $_api_data = null ) {
|
30 |
+
$this->api_url = trailingslashit( $_api_url );
|
31 |
+
$this->api_data = $_api_data;
|
32 |
+
$this->name = plugin_basename( $_plugin_file );
|
33 |
+
$this->slug = $_api_data['slug']; // @previous: basename( $_plugin_file, '.php');
|
34 |
+
$this->version = $_api_data['version'];
|
35 |
+
|
36 |
+
// Set up hooks.
|
37 |
+
$this->init();
|
38 |
+
add_action( 'admin_init', array( $this, 'show_changelog' ) );
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Set up WordPress filters to hook into WP's update process.
|
43 |
+
*
|
44 |
+
* @uses add_filter()
|
45 |
+
*
|
46 |
+
* @return void
|
47 |
+
*/
|
48 |
+
public function init() {
|
49 |
+
|
50 |
+
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
|
51 |
+
add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 );
|
52 |
+
|
53 |
+
add_action( 'after_plugin_row_' . $this->name, array( $this, 'show_update_notification' ), 10, 2 );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Check for Updates at the defined API endpoint and modify the update array.
|
58 |
+
*
|
59 |
+
* This function dives into the update API just when WordPress creates its update array,
|
60 |
+
* then adds a custom API call and injects the custom plugin data retrieved from the API.
|
61 |
+
* It is reassembled from parts of the native WordPress plugin update code.
|
62 |
+
* See wp-includes/update.php line 121 for the original wp_update_plugins() function.
|
63 |
+
*
|
64 |
+
* @uses api_request()
|
65 |
+
*
|
66 |
+
* @param array $_transient_data Update array build by WordPress.
|
67 |
+
* @return array Modified update array with custom plugin data.
|
68 |
+
*/
|
69 |
+
function check_update( $_transient_data ) {
|
70 |
+
|
71 |
+
global $pagenow;
|
72 |
+
|
73 |
+
if( ! is_object( $_transient_data ) ) {
|
74 |
+
$_transient_data = new stdClass;
|
75 |
+
}
|
76 |
+
|
77 |
+
if( 'plugins.php' == $pagenow && is_multisite() ) {
|
78 |
+
return $_transient_data;
|
79 |
+
}
|
80 |
+
|
81 |
+
if ( empty( $_transient_data->response ) || empty( $_transient_data->response[ $this->name ] ) ) {
|
82 |
+
|
83 |
+
$version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
|
84 |
+
|
85 |
+
if ( false !== $version_info && is_object( $version_info ) && isset( $version_info->new_version ) ) {
|
86 |
+
|
87 |
+
$this->did_check = true;
|
88 |
+
|
89 |
+
if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
90 |
+
|
91 |
+
$_transient_data->response[ $this->name ] = $version_info;
|
92 |
+
|
93 |
+
}
|
94 |
+
|
95 |
+
$_transient_data->last_checked = time();
|
96 |
+
$_transient_data->checked[ $this->name ] = $this->version;
|
97 |
+
|
98 |
+
}
|
99 |
+
|
100 |
+
}
|
101 |
+
|
102 |
+
return $_transient_data;
|
103 |
+
}
|
104 |
+
|
105 |
+
/**
|
106 |
+
* show update nofication row -- needed for multisite subsites, because WP won't tell you otherwise!
|
107 |
+
*
|
108 |
+
* @param string $file
|
109 |
+
* @param array $plugin
|
110 |
+
*/
|
111 |
+
public function show_update_notification( $file, $plugin ) {
|
112 |
+
|
113 |
+
if( ! current_user_can( 'update_plugins' ) ) {
|
114 |
+
return;
|
115 |
+
}
|
116 |
+
|
117 |
+
if( ! is_multisite() ) {
|
118 |
+
return;
|
119 |
+
}
|
120 |
+
|
121 |
+
if ( $this->name != $file ) {
|
122 |
+
return;
|
123 |
+
}
|
124 |
+
|
125 |
+
// Remove our filter on the site transient
|
126 |
+
remove_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ), 10 );
|
127 |
+
|
128 |
+
$update_cache = get_site_transient( 'update_plugins' );
|
129 |
+
|
130 |
+
if ( ! is_object( $update_cache ) || empty( $update_cache->response ) || empty( $update_cache->response[ $this->name ] ) ) {
|
131 |
+
|
132 |
+
$cache_key = md5( 'edd_plugin_' .sanitize_key( $this->name ) . '_version_info' );
|
133 |
+
$version_info = get_transient( $cache_key );
|
134 |
+
|
135 |
+
if( false === $version_info ) {
|
136 |
+
|
137 |
+
$version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
|
138 |
+
|
139 |
+
set_transient( $cache_key, $version_info, 3600 );
|
140 |
+
}
|
141 |
+
|
142 |
+
|
143 |
+
if( ! is_object( $version_info ) ) {
|
144 |
+
return;
|
145 |
+
}
|
146 |
+
|
147 |
+
if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
148 |
+
|
149 |
+
$update_cache->response[ $this->name ] = $version_info;
|
150 |
+
|
151 |
+
}
|
152 |
+
|
153 |
+
$update_cache->last_checked = time();
|
154 |
+
$update_cache->checked[ $this->name ] = $this->version;
|
155 |
+
|
156 |
+
set_site_transient( 'update_plugins', $update_cache );
|
157 |
+
|
158 |
+
} else {
|
159 |
+
|
160 |
+
$version_info = $update_cache->response[ $this->name ];
|
161 |
+
|
162 |
+
}
|
163 |
+
|
164 |
+
// Restore our filter
|
165 |
+
add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
|
166 |
+
|
167 |
+
if ( ! empty( $update_cache->response[ $this->name ] ) && version_compare( $this->version, $version_info->new_version, '<' ) ) {
|
168 |
+
|
169 |
+
// build a plugin list row, with update notification
|
170 |
+
$wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
|
171 |
+
echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
|
172 |
+
|
173 |
+
$changelog_link = self_admin_url( 'index.php?edd_sl_action=view_plugin_changelog&plugin=' . $this->name . '&slug=' . $this->slug . '&TB_iframe=true&width=772&height=911' );
|
174 |
+
|
175 |
+
if ( empty( $version_info->download_link ) ) {
|
176 |
+
printf(
|
177 |
+
__( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a>.', 'edd' ),
|
178 |
+
esc_html( $version_info->name ),
|
179 |
+
esc_url( $changelog_link ),
|
180 |
+
esc_html( $version_info->new_version )
|
181 |
+
);
|
182 |
+
} else {
|
183 |
+
printf(
|
184 |
+
__( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', 'edd' ),
|
185 |
+
esc_html( $version_info->name ),
|
186 |
+
esc_url( $changelog_link ),
|
187 |
+
esc_html( $version_info->new_version ),
|
188 |
+
esc_url( wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $this->name, 'upgrade-plugin_' . $this->name ) )
|
189 |
+
);
|
190 |
+
}
|
191 |
+
|
192 |
+
echo '</div></td></tr>';
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
|
197 |
+
/**
|
198 |
+
* Updates information on the "View version x.x details" page with custom data.
|
199 |
+
*
|
200 |
+
* @uses api_request()
|
201 |
+
*
|
202 |
+
* @param mixed $_data
|
203 |
+
* @param string $_action
|
204 |
+
* @param object $_args
|
205 |
+
* @return object $_data
|
206 |
+
*/
|
207 |
+
function plugins_api_filter( $_data, $_action = '', $_args = null ) {
|
208 |
+
|
209 |
+
|
210 |
+
if ( $_action != 'plugin_information' ) {
|
211 |
+
|
212 |
+
return $_data;
|
213 |
+
|
214 |
+
}
|
215 |
+
|
216 |
+
if ( ! isset( $_args->slug ) || ( $_args->slug != $this->slug ) ) {
|
217 |
+
|
218 |
+
return $_data;
|
219 |
+
|
220 |
+
}
|
221 |
+
|
222 |
+
$to_send = array(
|
223 |
+
'slug' => $this->slug,
|
224 |
+
'is_ssl' => is_ssl(),
|
225 |
+
'fields' => array(
|
226 |
+
'banners' => false, // These will be supported soon hopefully
|
227 |
+
'reviews' => false
|
228 |
+
)
|
229 |
+
);
|
230 |
+
|
231 |
+
$api_response = $this->api_request( 'plugin_information', $to_send );
|
232 |
+
|
233 |
+
if ( false !== $api_response ) {
|
234 |
+
$_data = $api_response;
|
235 |
+
}
|
236 |
+
|
237 |
+
return $_data;
|
238 |
+
}
|
239 |
+
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Disable SSL verification in order to prevent download update failures
|
243 |
+
*
|
244 |
+
* @param array $args
|
245 |
+
* @param string $url
|
246 |
+
* @return object $array
|
247 |
+
*/
|
248 |
+
function http_request_args( $args, $url ) {
|
249 |
+
// If it is an https request and we are performing a package download, disable ssl verification
|
250 |
+
if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) {
|
251 |
+
$args['sslverify'] = false;
|
252 |
+
}
|
253 |
+
return $args;
|
254 |
+
}
|
255 |
+
|
256 |
+
/**
|
257 |
+
* Calls the API and, if successfull, returns the object delivered by the API.
|
258 |
+
*
|
259 |
+
* @uses get_bloginfo()
|
260 |
+
* @uses wp_remote_post()
|
261 |
+
* @uses is_wp_error()
|
262 |
+
*
|
263 |
+
* @param string $_action The requested action.
|
264 |
+
* @param array $_data Parameters for the API action.
|
265 |
+
* @return false||object
|
266 |
+
*/
|
267 |
+
private function api_request( $_action, $_data ) {
|
268 |
+
|
269 |
+
global $wp_version;
|
270 |
+
|
271 |
+
$data = array_merge( $this->api_data, $_data );
|
272 |
+
|
273 |
+
if ( $data['slug'] != $this->slug )
|
274 |
+
return;
|
275 |
+
|
276 |
+
if ( empty( $data['license'] ) )
|
277 |
+
return;
|
278 |
+
|
279 |
+
if( $this->api_url == home_url() ) {
|
280 |
+
return false; // Don't allow a plugin to ping itself
|
281 |
+
}
|
282 |
+
|
283 |
+
$api_params = array(
|
284 |
+
'edd_action' => 'get_version',
|
285 |
+
'license' => $data['license'],
|
286 |
+
'item_name' => isset( $data['item_name'] ) ? $data['item_name'] : false,
|
287 |
+
'item_id' => isset( $data['item_id'] ) ? $data['item_id'] : false,
|
288 |
+
'slug' => $data['slug'],
|
289 |
+
'author' => $data['author'],
|
290 |
+
'url' => home_url()
|
291 |
+
);
|
292 |
+
|
293 |
+
$request = wp_remote_post( $this->api_url, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
|
294 |
+
|
295 |
+
if ( ! is_wp_error( $request ) ) {
|
296 |
+
$request = json_decode( wp_remote_retrieve_body( $request ) );
|
297 |
+
|
298 |
+
// @cf7skins: save log
|
299 |
+
$logs = get_option( 'cf7skins_get_version' );
|
300 |
+
$logs[$this->slug] = $request;
|
301 |
+
update_option( 'cf7skins_get_version', $logs );
|
302 |
+
}
|
303 |
+
|
304 |
+
if ( $request && isset( $request->sections ) ) {
|
305 |
+
$request->sections = maybe_unserialize( $request->sections );
|
306 |
+
} else {
|
307 |
+
$request = false;
|
308 |
+
}
|
309 |
+
|
310 |
+
return $request;
|
311 |
+
}
|
312 |
+
|
313 |
+
public function show_changelog() {
|
314 |
+
|
315 |
+
|
316 |
+
if( empty( $_REQUEST['edd_sl_action'] ) || 'view_plugin_changelog' != $_REQUEST['edd_sl_action'] ) {
|
317 |
+
return;
|
318 |
+
}
|
319 |
+
|
320 |
+
if( empty( $_REQUEST['plugin'] ) ) {
|
321 |
+
return;
|
322 |
+
}
|
323 |
+
|
324 |
+
if( empty( $_REQUEST['slug'] ) ) {
|
325 |
+
return;
|
326 |
+
}
|
327 |
+
|
328 |
+
if( ! current_user_can( 'update_plugins' ) ) {
|
329 |
+
wp_die( __( 'You do not have permission to install plugin updates', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
|
330 |
+
}
|
331 |
+
|
332 |
+
$response = $this->api_request( 'plugin_latest_version', array( 'slug' => $_REQUEST['slug'] ) );
|
333 |
+
|
334 |
+
if( $response && isset( $response->sections['changelog'] ) ) {
|
335 |
+
echo '<div style="background:#fff;padding:10px;">' . $response->sections['changelog'] . '</div>';
|
336 |
+
}
|
337 |
+
|
338 |
+
|
339 |
+
exit;
|
340 |
+
}
|
341 |
+
|
342 |
+
}
|
includes/admin.php
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin Class
|
4 |
+
*
|
5 |
+
* Implement all functionality for CF7 Skins Admin on CF7 plugin page.
|
6 |
+
*
|
7 |
+
* @package cf7skins
|
8 |
+
* @author Neil Murray
|
9 |
+
* @since 0.0.1
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
class CF7_Skins_Admin {
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Class constructor
|
17 |
+
*
|
18 |
+
* @since 0.0.1
|
19 |
+
*/
|
20 |
+
function __construct() {
|
21 |
+
|
22 |
+
// Create the metabox for CF7 Skins
|
23 |
+
add_action( 'wpcf7_add_meta_boxes', array( &$this, 'add_meta_boxes' ) );
|
24 |
+
|
25 |
+
// Push the styles and scripts to the admin header
|
26 |
+
add_action( 'admin_enqueue_scripts', array( &$this, 'admin_enqueue_scripts' ) );
|
27 |
+
|
28 |
+
// Action hooks to store selected template and style while updating or creating new CF7
|
29 |
+
add_action( 'wpcf7_after_create', array( &$this, 'skin_update' ) );
|
30 |
+
add_action( 'wpcf7_after_update', array( &$this, 'skin_update' ) );
|
31 |
+
}
|
32 |
+
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Update current form post meta data with selected style and/or template
|
36 |
+
*
|
37 |
+
* Get post id (contact form 7 form id) in $_POST['cf7s-template'] and $_POST['cf7s-style']
|
38 |
+
* Post meta name 'cf7s_template' for template and 'cf7s_style' for style
|
39 |
+
*
|
40 |
+
* @action cf7s_update
|
41 |
+
* @param $cf7 is the contact form 7 object data
|
42 |
+
* @since 0.0.1
|
43 |
+
*/
|
44 |
+
function skin_update( $cf7 ) {
|
45 |
+
// Get the current contact form 7 id
|
46 |
+
$form_id = CF7_Skins_Contact::get_form_id( $cf7 );
|
47 |
+
|
48 |
+
// Update the post meta
|
49 |
+
if( isset( $_POST['cf7s-template'] ) )
|
50 |
+
update_post_meta( $form_id, 'cf7s_template', esc_attr( $_POST['cf7s-template'] ) );
|
51 |
+
|
52 |
+
if( isset( $_POST['cf7s-style'] ) )
|
53 |
+
update_post_meta( $form_id, 'cf7s_style', esc_attr( $_POST['cf7s-style'] ) );
|
54 |
+
|
55 |
+
// Add action while saving the contact form 7
|
56 |
+
do_action( 'cf7s_update', $cf7 );
|
57 |
+
}
|
58 |
+
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Enqueue CF7 Skins admin styles and scripts
|
62 |
+
*
|
63 |
+
* @action cf7s_admin_enqueue_scripts
|
64 |
+
* @param $hook_suffix is the current page hook
|
65 |
+
* @since 0.0.1
|
66 |
+
*/
|
67 |
+
function admin_enqueue_scripts( $hook_suffix ) {
|
68 |
+
if ( false === strpos( $hook_suffix, 'wpcf7' ) )
|
69 |
+
return;
|
70 |
+
|
71 |
+
wp_enqueue_style( 'tipsy',
|
72 |
+
CF7SKINS_URL . 'css/tipsy.css',
|
73 |
+
array( 'contact-form-7-admin' ), '1.0.0a', 'all' );
|
74 |
+
|
75 |
+
wp_enqueue_style( 'cf7s-admin',
|
76 |
+
CF7SKINS_URL . 'css/admin.css',
|
77 |
+
array( 'contact-form-7-admin' ), CF7SKINS_VERSION, 'all' );
|
78 |
+
|
79 |
+
wp_enqueue_script( 'tipsy',
|
80 |
+
CF7SKINS_URL . 'js/jquery.tipsy.js',
|
81 |
+
array( 'jquery' ), '1.0.0a' );
|
82 |
+
|
83 |
+
wp_enqueue_script( 'cf7s-admin',
|
84 |
+
CF7SKINS_URL . 'js/jquery.admin.js',
|
85 |
+
array( 'jquery', 'underscore' ), CF7SKINS_VERSION );
|
86 |
+
|
87 |
+
wp_localize_script( 'cf7s-admin', 'cf7s', array(
|
88 |
+
'nonce' => wp_create_nonce( 'cf7s' ), // generate a nonce for security checking
|
89 |
+
'load' => 'load_template', // post action for reading and loading selected template
|
90 |
+
'sort' => 'cf7s_sort_skin', // post action for sorting skin
|
91 |
+
'l10n' => array(
|
92 |
+
'loading' => __('Loading template...', CF7SKINS_TEXTDOMAIN ),
|
93 |
+
'emptyfilter' => __('Empty filter, please select a filter.', CF7SKINS_TEXTDOMAIN ),
|
94 |
+
'select' => __('Select', CF7SKINS_TEXTDOMAIN ),
|
95 |
+
'selected' => __('Selected', CF7SKINS_TEXTDOMAIN ),
|
96 |
+
'expanded' => __('Expanded View', CF7SKINS_TEXTDOMAIN ),
|
97 |
+
)
|
98 |
+
));
|
99 |
+
|
100 |
+
do_action( 'cf7s_admin_enqueue_scripts', $hook_suffix );
|
101 |
+
}
|
102 |
+
|
103 |
+
|
104 |
+
/**
|
105 |
+
* Create the skins metabox
|
106 |
+
*
|
107 |
+
* @action cf7s_add_meta_boxes
|
108 |
+
* @param $post_id is the current post editing ID
|
109 |
+
* @since 0.0.1
|
110 |
+
*/
|
111 |
+
function add_meta_boxes( $post_id ) {
|
112 |
+
add_meta_box( 'cf7s', __( 'Skins', 'cf7skins' ),
|
113 |
+
array( &$this, 'skins_meta_box' ), null, 'mail', 'core' );
|
114 |
+
|
115 |
+
// Add action while creating the skins metabox
|
116 |
+
do_action( 'cf7s_add_meta_boxes', $post_id );
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
/**
|
121 |
+
* Display the skins metabox
|
122 |
+
*
|
123 |
+
* @param $post current post object
|
124 |
+
* @param $box metabox arguments
|
125 |
+
* @since 0.0.1
|
126 |
+
*/
|
127 |
+
function skins_meta_box( $post, $box ) {
|
128 |
+
$this->generate_tab( $post, $box ); // in tab.php
|
129 |
+
}
|
130 |
+
}
|
includes/contact.php
ADDED
@@ -0,0 +1,277 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Contact Form Class
|
4 |
+
*
|
5 |
+
* Implement functionality where CF7 Skins interacts with CF7
|
6 |
+
*
|
7 |
+
* @package cf7skins
|
8 |
+
* @author Neil Murray
|
9 |
+
* @since 0.0.1
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
class CF7_Skins_Contact {
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Class constructor
|
17 |
+
*
|
18 |
+
* @uses http://codex.wordpress.org/Function_Reference/add_action
|
19 |
+
* @uses http://codex.wordpress.org/Function_Reference/add_filter
|
20 |
+
* @since 0.0.1
|
21 |
+
*/
|
22 |
+
function __construct() {
|
23 |
+
add_filter( 'wpcf7_form_class_attr', array( &$this, 'form_class_attr' ) );
|
24 |
+
|
25 |
+
add_action( 'wp_enqueue_scripts', array( &$this, 'enqueue_scripts' ) );
|
26 |
+
add_action( 'wpcf7_contact_form', array( &$this, 'contact_form' ) );
|
27 |
+
add_action( 'wp_head', array( $this, 'print_custom' ) );
|
28 |
+
}
|
29 |
+
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Get the contact form 7 ids in the current post content
|
33 |
+
*
|
34 |
+
* @return array of contact form 7 id(s)
|
35 |
+
* @since 0.1.0
|
36 |
+
*/
|
37 |
+
function get_ids() {
|
38 |
+
global $post;
|
39 |
+
|
40 |
+
// Return if current page has no id
|
41 |
+
if( ! isset( $post->ID ) )
|
42 |
+
return;
|
43 |
+
|
44 |
+
$tag = 'contact-form-7';
|
45 |
+
|
46 |
+
// Return if there is no CF7 shortcode in post content
|
47 |
+
if ( ! has_shortcode( $post->post_content , $tag ) )
|
48 |
+
return;
|
49 |
+
|
50 |
+
// Get all the CF7 form shortcodes in the post content
|
51 |
+
preg_match_all( '/' . get_shortcode_regex() . '/s', $post->post_content, $matches, PREG_SET_ORDER );
|
52 |
+
|
53 |
+
// Loop through shortcodes, parse shortcode attributes and get the CF7 form ID
|
54 |
+
foreach ( $matches as $shortcode ) {
|
55 |
+
if ( $tag === $shortcode[2] ) {
|
56 |
+
$atts = shortcode_parse_atts( $shortcode[3] );
|
57 |
+
$ids[] = $atts['id']; // add the CF7 form ID
|
58 |
+
}
|
59 |
+
}
|
60 |
+
|
61 |
+
// Return all the CF7 form ID
|
62 |
+
if ( isset( $ids ) )
|
63 |
+
return $ids;
|
64 |
+
}
|
65 |
+
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Get contact form 7 id
|
69 |
+
*
|
70 |
+
* Back compat for CF7 3.9
|
71 |
+
* @see http://contactform7.com/2014/07/02/contact-form-7-39-beta/
|
72 |
+
*
|
73 |
+
* @param $cf7 Contact Form 7 object
|
74 |
+
* @since 0.1.0
|
75 |
+
*/
|
76 |
+
function get_form_id( $cf7 ) {
|
77 |
+
if ( version_compare( WPCF7_VERSION, '3.9-alpha', '>' ) ) {
|
78 |
+
return $cf7->id();
|
79 |
+
}
|
80 |
+
return $cf7->id;
|
81 |
+
}
|
82 |
+
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Get CF7 form content
|
86 |
+
*
|
87 |
+
* Back compat for CF7 3.9
|
88 |
+
*
|
89 |
+
* @param $cf7 Contact Form 7 object
|
90 |
+
* @since 0.1.0
|
91 |
+
*/
|
92 |
+
function get_form_content( $cf7 ) {
|
93 |
+
if ( version_compare( WPCF7_VERSION, '3.9-alpha', '>' ) ) {
|
94 |
+
return $cf7->prop( 'form' );
|
95 |
+
}
|
96 |
+
return $cf7->form;
|
97 |
+
}
|
98 |
+
|
99 |
+
|
100 |
+
/**
|
101 |
+
* Enqueue cf7s-framework + selected skin style .css file to the frontend header.
|
102 |
+
*
|
103 |
+
* Hooked to 'wpcf7_enqueue_styles'
|
104 |
+
*
|
105 |
+
* @var $style - cf7skins style applied to current CF7 form
|
106 |
+
* @action 'cf7skins_enqueue_styles'
|
107 |
+
* @since 0.0.1
|
108 |
+
*/
|
109 |
+
function enqueue_scripts() {
|
110 |
+
|
111 |
+
if( $ids = $this->get_ids() ) { // if current post content has CF7 form
|
112 |
+
|
113 |
+
$skins = CF7_Skin_Style::cf7s_get_style_list(); // get all skins
|
114 |
+
|
115 |
+
foreach( $ids as $post_id ) {
|
116 |
+
if( $style = get_post_meta( $post_id, 'cf7s_style', true ) ) {
|
117 |
+
// $style - cf7skins style applied to current CF7 form
|
118 |
+
|
119 |
+
wp_enqueue_style( "cf7s-framework-normalize",
|
120 |
+
CF7SKINS_URL . 'css/framework/cf7s-normalize.css',
|
121 |
+
array('contact-form-7'), CF7SKINS_VERSION, 'all' );
|
122 |
+
|
123 |
+
wp_enqueue_style( "cf7s-framework-default",
|
124 |
+
CF7SKINS_URL . 'css/framework/cf7s-default.css',
|
125 |
+
array('contact-form-7'), CF7SKINS_VERSION, 'all' );
|
126 |
+
|
127 |
+
if ( isset( $skins[$style] ) ) // check if skin is exists
|
128 |
+
wp_enqueue_style( "cf7s-$style", $skins[$style]['url'] . trailingslashit( $skins[$style]['dir'] ) . $skins[$style]['index'],
|
129 |
+
array('contact-form-7'), CF7SKINS_VERSION, 'all' );
|
130 |
+
}
|
131 |
+
}
|
132 |
+
|
133 |
+
do_action( 'cf7skins_enqueue_scripts', $ids );
|
134 |
+
}
|
135 |
+
}
|
136 |
+
|
137 |
+
|
138 |
+
/**
|
139 |
+
* Add cf7skins classes to the CF7 HTML form class
|
140 |
+
*
|
141 |
+
* Based on selected template & style
|
142 |
+
* eg. class="wpcf7-form cf7t-fieldset cf7s-wild-west"
|
143 |
+
*
|
144 |
+
* @uses 'wpcf7_form_class_attr' filter in WPCF7_ContactForm->form_html()
|
145 |
+
* @uses wpcf7_get_current_contact_form()
|
146 |
+
* @file wp-content\plugins\contact-form-7\includes\contact-form.php
|
147 |
+
*
|
148 |
+
* @param $class is the CF7 HTML form class
|
149 |
+
* @since 0.0.1
|
150 |
+
*/
|
151 |
+
function form_class_attr( $class ) {
|
152 |
+
|
153 |
+
// Get the current CF7 form ID
|
154 |
+
$cf7 = wpcf7_get_current_contact_form(); // Current contact form 7 object
|
155 |
+
$form_id = $this->get_form_id( $cf7 );
|
156 |
+
|
157 |
+
// Get current CF7 form template and style from post meta
|
158 |
+
$template_class = get_post_meta( $form_id, 'cf7s_template', true ) ? ' cf7t-' . get_post_meta( $form_id, 'cf7s_template', true ) : '';
|
159 |
+
$skin_class = get_post_meta( $form_id, 'cf7s_style', true ) ? ' cf7s-'. get_post_meta( $form_id, 'cf7s_style', true ) : '';
|
160 |
+
|
161 |
+
// CF7 Skins default class
|
162 |
+
$cf7skins_class = ( $template_class || $skin_class ) ? ' cf7skins' : '';
|
163 |
+
|
164 |
+
// Return the modified class
|
165 |
+
return $class . $cf7skins_class . $template_class . $skin_class;
|
166 |
+
}
|
167 |
+
|
168 |
+
|
169 |
+
/**
|
170 |
+
* Modify the CF7 form content
|
171 |
+
*
|
172 |
+
* Back compat for CF7 3.9
|
173 |
+
* @see http://contactform7.com/2014/07/02/contact-form-7-39-beta/
|
174 |
+
*
|
175 |
+
* @uses 'wpcf7_contact_form' action in WPCF7_ContactForm__construct()
|
176 |
+
* @uses WPCF7_ContactForm->set_properties() - CF7 3.9 & after
|
177 |
+
* @uses WPCF7_ContactForm->form - before CF7 3.9
|
178 |
+
* @file wp-content\plugins\contact-form-7\includes\contact-form.php
|
179 |
+
*
|
180 |
+
* @param $cf7 Contact Form 7 object
|
181 |
+
* @since 0.0.1
|
182 |
+
*/
|
183 |
+
function contact_form( $cf7 ) {
|
184 |
+
if( ! is_admin() ) {
|
185 |
+
|
186 |
+
// Return if no cf7skins template or style was selected
|
187 |
+
if ( ! get_post_meta( $cf7->id(), 'cf7s_template', true ) && ! get_post_meta( $cf7->id(), 'cf7s_style', true ) )
|
188 |
+
return $cf7;
|
189 |
+
|
190 |
+
$form = $this->get_form_content( $cf7 );
|
191 |
+
|
192 |
+
if ( version_compare( WPCF7_VERSION, '3.9-alpha', '>' ) ) {
|
193 |
+
// uses WPCF7_ContactForm->set_properties() - CF7 3.9 & after
|
194 |
+
$cf7->set_properties( array( 'form' => $this->modify_form( $form ) ) );
|
195 |
+
}
|
196 |
+
else {
|
197 |
+
// uses WPCF7_ContactForm->form - before CF7 3.9
|
198 |
+
$cf7->form = $this->modify_form( $form );
|
199 |
+
}
|
200 |
+
}
|
201 |
+
|
202 |
+
return $cf7;
|
203 |
+
}
|
204 |
+
|
205 |
+
|
206 |
+
/**
|
207 |
+
* Add label and require <em> to CF7 form
|
208 |
+
*
|
209 |
+
* e.g. <li>Name [text* cf7s-name]</li> CHANGED TO
|
210 |
+
* <li><label for="cf7s-name">Name <em class="cf7s-reqd">*</em></label> [text* cf7s-name]</li>
|
211 |
+
*
|
212 |
+
* @param $form Current CF7 form content
|
213 |
+
* @since 0.0.1
|
214 |
+
*/
|
215 |
+
function modify_form( $form ) {
|
216 |
+
// Get all current shortcode
|
217 |
+
$manager = WPCF7_ShortcodeManager::get_instance();
|
218 |
+
$scanned = $manager->scan_shortcode( $form );
|
219 |
+
|
220 |
+
// Get all shortcodes id with tag name as the index
|
221 |
+
$ids = array();
|
222 |
+
foreach ( $scanned as $tag ) {
|
223 |
+
$tag = new WPCF7_Shortcode( $tag );
|
224 |
+
$ids[$tag->name] = $tag->get_id_option() ? $tag->get_id_option() : $tag->name;
|
225 |
+
}
|
226 |
+
|
227 |
+
// Patterns for searching all list tag
|
228 |
+
$pattern = "/<li ?.*>(.*)<\/li>/";
|
229 |
+
preg_match_all( $pattern, $form, $matches );
|
230 |
+
|
231 |
+
if ( $matches[0] ) {
|
232 |
+
|
233 |
+
// Loop trought each match
|
234 |
+
foreach( $matches[0] as $list ) {
|
235 |
+
|
236 |
+
// Process only if the list have a shortcode
|
237 |
+
if( preg_match( "/\[.*?\]/", $list, $shortcode ) ) {
|
238 |
+
|
239 |
+
// Explode shortcode by spaces to get the shortcode name
|
240 |
+
$explode = explode( ' ', str_replace( array('[', ']'), '', $shortcode[0] ) );
|
241 |
+
$name = $explode[1];
|
242 |
+
$id = isset( $ids[$name] ) ? $ids[$name] : $name;
|
243 |
+
|
244 |
+
// Add opening label tag
|
245 |
+
$new_list = preg_replace( "/(<li.*?>)(.*)(<\/li>)/", "$1<label for='$id'>$2$3", $list );
|
246 |
+
|
247 |
+
// Closing label tag with * required em tag
|
248 |
+
if ( strpos( $shortcode[0], '*' ) !== false ) {
|
249 |
+
$new_list = str_replace( '[', '<em class="cf7s-reqd">*</em> </label>[', $new_list );
|
250 |
+
} else {
|
251 |
+
$new_list = str_replace( '[', '</label>[', $new_list );
|
252 |
+
}
|
253 |
+
|
254 |
+
// Add label and em by replacing it.
|
255 |
+
$form = str_replace( $list, $new_list, $form );
|
256 |
+
}
|
257 |
+
}
|
258 |
+
}
|
259 |
+
|
260 |
+
return $form;
|
261 |
+
}
|
262 |
+
|
263 |
+
|
264 |
+
/**
|
265 |
+
* Print custom scripts/styles from the settings page
|
266 |
+
*
|
267 |
+
* @parameter none
|
268 |
+
* @since 0.1.0
|
269 |
+
* @author Neil Murray
|
270 |
+
*/
|
271 |
+
function print_custom() {
|
272 |
+
$option = get_option( CF7SKINS_SLUG );
|
273 |
+
if( isset( $option['custom'] ) && $option['custom'] )
|
274 |
+
echo $option['custom'];
|
275 |
+
}
|
276 |
+
|
277 |
+
} new CF7_Skins_Contact();
|
includes/logs.php
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* CF7 Skins Log Class
|
4 |
+
*
|
5 |
+
* @package cf7skins
|
6 |
+
* @author Neil Murray
|
7 |
+
* @since 0.5.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
|
11 |
+
class CF7_Skins_Log {
|
12 |
+
|
13 |
+
var $textdomain;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Class constructor
|
17 |
+
*
|
18 |
+
* @since 0.5.0
|
19 |
+
*/
|
20 |
+
function __construct() {
|
21 |
+
$this->textdomain = CF7SKINS_TEXTDOMAIN;
|
22 |
+
add_filter( 'cf7skins_setting_tabs', array( &$this, 'log_tab' ), 1, 9999 );
|
23 |
+
add_filter( 'cf7skins_setting_fields', array( &$this, 'setting_fields' ) );
|
24 |
+
add_action( 'cf7skins_setting_info', array( &$this, 'get_version_log' ) );
|
25 |
+
add_action( 'cf7skins_setting_info', array( &$this, 'activation_log' ) );
|
26 |
+
add_action( 'cf7skins_setting_info', array( &$this, 'deactivation_log' ) );
|
27 |
+
add_action( 'admin_init', array( $this, 'page_init' ) );
|
28 |
+
}
|
29 |
+
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Add the log tab/section in the settings page
|
33 |
+
*
|
34 |
+
* @filter cf7skins_setting_tabs
|
35 |
+
* @param $tabs (array) array of tabs
|
36 |
+
* @since 0.5.0
|
37 |
+
*/
|
38 |
+
function log_tab( $section ) {
|
39 |
+
$section['logs'] = __( 'Logs', CF7SKINS_TEXTDOMAIN );
|
40 |
+
return $section;
|
41 |
+
}
|
42 |
+
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Add setting field to the log tab
|
46 |
+
*
|
47 |
+
* @filter cf7skins_setting_tabs
|
48 |
+
* @param $fields (array) array of section fields
|
49 |
+
* @since 0.5.0
|
50 |
+
*/
|
51 |
+
function setting_fields( $fields ) {
|
52 |
+
$fields['get_version'] = array(
|
53 |
+
'label' => __( 'Get Version', CF7SKINS_TEXTDOMAIN ),
|
54 |
+
'section' => 'logs',
|
55 |
+
'type' => 'info'
|
56 |
+
);
|
57 |
+
|
58 |
+
$fields['activation'] = array(
|
59 |
+
'label' => __( 'Activation', CF7SKINS_TEXTDOMAIN ),
|
60 |
+
'section' => 'logs',
|
61 |
+
'type' => 'info'
|
62 |
+
);
|
63 |
+
|
64 |
+
$fields['deactivation'] = array(
|
65 |
+
'label' => __( 'Deactivation', CF7SKINS_TEXTDOMAIN ),
|
66 |
+
'section' => 'logs',
|
67 |
+
'type' => 'info'
|
68 |
+
);
|
69 |
+
|
70 |
+
return $fields;
|
71 |
+
}
|
72 |
+
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Add setting field to the log tab
|
76 |
+
*
|
77 |
+
* @filter cf7skins_setting_tabs
|
78 |
+
* @param $fields (array) array of section fields
|
79 |
+
* @since 0.5.0
|
80 |
+
*/
|
81 |
+
function get_version_log( $args ) {
|
82 |
+
if ( 'get_version' != $args['label_for'] )
|
83 |
+
return;
|
84 |
+
|
85 |
+
if( is_array( $logs = get_option( 'cf7skins_get_version' ) ) ) {
|
86 |
+
foreach( $logs as $key => $value ) {
|
87 |
+
echo "<strong>$key</strong><br />";
|
88 |
+
|
89 |
+
if( $value )
|
90 |
+
foreach( $value as $k => $v )
|
91 |
+
echo "$k: $v<br />";
|
92 |
+
|
93 |
+
echo '<br />';
|
94 |
+
}
|
95 |
+
} else {
|
96 |
+
_e( 'Not available', $this->textdomain );
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Add setting field to the log tab
|
103 |
+
*
|
104 |
+
* @filter cf7skins_setting_tabs
|
105 |
+
* @param $fields (array) array of section fields
|
106 |
+
* @since 0.5.0
|
107 |
+
*/
|
108 |
+
function activation_log( $args ) {
|
109 |
+
if ( 'activation' != $args['label_for'] )
|
110 |
+
return;
|
111 |
+
|
112 |
+
if( is_array( $logs = get_option( 'cf7skins_activation' ) ) ) {
|
113 |
+
foreach( $logs as $key => $value ) {
|
114 |
+
echo "<strong>$key</strong><br />";
|
115 |
+
|
116 |
+
if( $value )
|
117 |
+
foreach( $value as $k => $v )
|
118 |
+
echo "$k: $v<br />";
|
119 |
+
|
120 |
+
echo '<input type="submit" value="Delete Status" name="'. $key .'_delete_status" class="button" /><br /><br />';
|
121 |
+
}
|
122 |
+
} else {
|
123 |
+
_e( 'Not available', $this->textdomain );
|
124 |
+
}
|
125 |
+
}
|
126 |
+
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Delete plugin activation license status
|
130 |
+
*
|
131 |
+
* @filter cf7skins_setting_tabs
|
132 |
+
* @param $fields (array) array of section fields
|
133 |
+
* @since 0.5.0
|
134 |
+
*/
|
135 |
+
function page_init() {
|
136 |
+
$array = array( 'cf7skins', 'cf7skinspro', 'cf7skinsready' );
|
137 |
+
$logs = get_option( 'cf7skins_activation' );
|
138 |
+
|
139 |
+
foreach( $array as $k ) {
|
140 |
+
if( isset( $_POST[$k.'_delete_status'] ) ) {
|
141 |
+
unset( $logs[$k] ); // delete selected plugin log
|
142 |
+
update_option( 'cf7skins_activation', $logs ); // update the activation log
|
143 |
+
delete_option( $k.'_license_status' ); // delete the plugin license status
|
144 |
+
}
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Add setting field to the log tab
|
151 |
+
*
|
152 |
+
* @filter cf7skins_setting_tabs
|
153 |
+
* @param $fields (array) array of section fields
|
154 |
+
* @since 0.5.0
|
155 |
+
*/
|
156 |
+
function deactivation_log( $args ) {
|
157 |
+
if ( 'deactivation' != $args['label_for'] )
|
158 |
+
return;
|
159 |
+
|
160 |
+
if( is_array( $logs = get_option( 'cf7skins_deactivation' ) ) ) {
|
161 |
+
foreach( $logs as $key => $value ) {
|
162 |
+
echo "<strong>$key</strong><br />";
|
163 |
+
|
164 |
+
if( $value )
|
165 |
+
foreach( $value as $k => $v )
|
166 |
+
echo "$k: $v<br />";
|
167 |
+
|
168 |
+
echo '<br />';
|
169 |
+
}
|
170 |
+
} else {
|
171 |
+
_e( 'Not available', $this->textdomain );
|
172 |
+
}
|
173 |
+
}
|
174 |
+
|
175 |
+
} // End class
|
176 |
+
|
177 |
+
$option = get_option( CF7SKINS_SLUG );
|
178 |
+
if( isset( $option['display_log'] ) && $option['display_log'] )
|
179 |
+
new CF7_Skins_Log(); // Create new instance
|
includes/settings.php
ADDED
@@ -0,0 +1,351 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Settings Class
|
4 |
+
*
|
5 |
+
* Implement all functionality on CF7 Skins Settings page.
|
6 |
+
*
|
7 |
+
* @package cf7skins
|
8 |
+
* @author Neil Murray
|
9 |
+
* @since 0.1.0
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
class CF7_Skins_Settings {
|
14 |
+
|
15 |
+
// Holds the values to be used in the fields callbacks
|
16 |
+
private $options;
|
17 |
+
|
18 |
+
// Define class variables
|
19 |
+
var $tabs, $section, $fields, $slug, $textdomain;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* Class constructor
|
23 |
+
*
|
24 |
+
* @uses http://codex.wordpress.org/Function_Reference/add_action
|
25 |
+
* @uses http://codex.wordpress.org/Function_Reference/add_filter
|
26 |
+
* @filter cf7skins_setting_tabs
|
27 |
+
* @since 0.1.0
|
28 |
+
*/
|
29 |
+
function __construct() {
|
30 |
+
$this->slug = CF7SKINS_SLUG;
|
31 |
+
$this->textdomain = CF7SKINS_TEXTDOMAIN;
|
32 |
+
|
33 |
+
$this->section = isset( $_GET['tab'] ) ? $_GET['tab'] : 'general';
|
34 |
+
$this->options = get_option( $this->slug );
|
35 |
+
|
36 |
+
add_action( 'admin_menu', array( $this, 'add_menu_page' ) );
|
37 |
+
add_action( 'admin_init', array( $this, 'page_init' ) );
|
38 |
+
}
|
39 |
+
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Add CF7 Skins Settings page as submenu under Contact Form 7 plugin menu item
|
43 |
+
*
|
44 |
+
* @see add_submenu_page( $parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function );
|
45 |
+
* @since 0.1.0
|
46 |
+
*/
|
47 |
+
function add_menu_page() {
|
48 |
+
$this->tabs = apply_filters( 'cf7skins_setting_tabs', array(
|
49 |
+
'general' => __( 'General', $this->textdomain ),
|
50 |
+
'advanced' => __( 'Advanced', $this->textdomain )
|
51 |
+
));
|
52 |
+
|
53 |
+
$page = add_submenu_page( 'wpcf7', 'CF7 Skins Settings', 'CF7 Skins', 'manage_options', 'cf7skins', array( $this, 'settings_fields' ) );
|
54 |
+
|
55 |
+
add_action( 'admin_print_scripts-' . $page, array( &$this, 'enqueue_script' ) );
|
56 |
+
}
|
57 |
+
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Add Settings jQuery
|
61 |
+
*
|
62 |
+
* @since 0.1.0
|
63 |
+
*/
|
64 |
+
function enqueue_script() {
|
65 |
+
wp_enqueue_script( $this->slug, CF7SKINS_URL . 'js/jquery.settings.js', array( 'jquery', 'jquery-ui-sortable' ), CF7SKINS_VERSION );
|
66 |
+
}
|
67 |
+
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Display CF7 Skins Settings page in Tabs
|
71 |
+
*
|
72 |
+
* Output nonce, action, and option_page fields for a settings page settings_fields( $option_group )
|
73 |
+
* @see settings_fields ( string $option_group = null )
|
74 |
+
* Print out the settings fields for a particular settings section
|
75 |
+
* @see do_settings_fields ( string $page = null, section $section = null )
|
76 |
+
* @since 0.1.0
|
77 |
+
*/
|
78 |
+
function settings_fields() {
|
79 |
+
?>
|
80 |
+
<div class="wrap">
|
81 |
+
<?php //echo '<pre style="font-size:10px;line-height:10px;">'. print_r( $this->options, true ) .'</pre>'; ?>
|
82 |
+
<h2><?php _e( 'Contact Form 7 Skins Settings', $this->textdomain ); ?></h2><br />
|
83 |
+
<h2 class="nav-tab-wrapper">
|
84 |
+
<?php
|
85 |
+
foreach( $this->tabs as $tab => $name ) {
|
86 |
+
$class = ( $tab == $this->section ) ? ' nav-tab-active' : '';
|
87 |
+
echo "<a class='nav-tab$class' href='?page=". $this->slug ."&tab=$tab'>$name</a>";
|
88 |
+
}
|
89 |
+
?>
|
90 |
+
</h2>
|
91 |
+
<form method="post" action="options.php">
|
92 |
+
<?php
|
93 |
+
settings_fields( $this->slug );
|
94 |
+
echo "<input name='{$this->slug}[section]' value='{$this->section}' type='hidden' />"; // handle section
|
95 |
+
echo '<table class="form-table">';
|
96 |
+
do_settings_fields( $this->slug, $this->section );
|
97 |
+
echo '</table>';
|
98 |
+
do_action( "cf7skins_section_{$this->section}" );
|
99 |
+
submit_button( __( 'Save Changes', $this->textdomain ) );
|
100 |
+
?>
|
101 |
+
</form>
|
102 |
+
</div>
|
103 |
+
<?php
|
104 |
+
}
|
105 |
+
|
106 |
+
|
107 |
+
/**
|
108 |
+
* Register and add settings
|
109 |
+
*
|
110 |
+
* @see register_setting( $option_group, $option_name, $sanitize_callback );
|
111 |
+
* @see add_settings_section( $id, $title, $callback, $page );
|
112 |
+
* @see add_settings_field( $id, $title, $callback, $page, $section, $args );
|
113 |
+
* @since 0.1.0
|
114 |
+
*/
|
115 |
+
function page_init() {
|
116 |
+
if( ! isset( $this->tabs ) )
|
117 |
+
return;
|
118 |
+
|
119 |
+
register_setting( $this->slug, $this->slug, array( $this, 'sanitize_callback' ) );
|
120 |
+
|
121 |
+
// Add section for each tab on Settings page
|
122 |
+
foreach( $this->tabs as $tab => $name ) {
|
123 |
+
add_settings_section( $tab, '', '', $this->slug );
|
124 |
+
}
|
125 |
+
|
126 |
+
/* Add Initial Fields
|
127 |
+
*
|
128 |
+
* Licenses are added via apply_filters () in license.php
|
129 |
+
*
|
130 |
+
* @filter cf7skins_setting_fields
|
131 |
+
* @since 0.2.0.
|
132 |
+
*/
|
133 |
+
$fields = apply_filters( 'cf7skins_setting_fields', array(
|
134 |
+
'color_scheme' => array(
|
135 |
+
'section' => 'general',
|
136 |
+
'label' => __( 'Color Scheme', $this->textdomain ),
|
137 |
+
'type' => 'color-scheme',
|
138 |
+
'default' => 'default',
|
139 |
+
'description' => __( 'Select color scheme for CF7 Skins interface.', $this->textdomain ),
|
140 |
+
),
|
141 |
+
/*'custom' => array(
|
142 |
+
'section' => 'advanced',
|
143 |
+
'label' => __( 'Custom Styles & Scripts', $this->textdomain ),
|
144 |
+
'type' => 'textarea',
|
145 |
+
'description' => __( 'Print your custom scripts or styles with the tag to push to the wp_head().', $this->textdomain ),
|
146 |
+
),*/
|
147 |
+
'display_log' => array(
|
148 |
+
'section' => 'advanced',
|
149 |
+
'label' => __( 'Display Log', $this->textdomain ),
|
150 |
+
'type' => 'checkbox',
|
151 |
+
'default' => false,
|
152 |
+
'detail' => __( 'Displays plugin log tab.', $this->textdomain ),
|
153 |
+
),
|
154 |
+
'delete_data' => array(
|
155 |
+
'section' => 'advanced',
|
156 |
+
'label' => __( 'Delete Settings', $this->textdomain ),
|
157 |
+
'type' => 'checkbox',
|
158 |
+
'default' => false,
|
159 |
+
'detail' => __( 'Remove all plugin data on plugin deletion.', $this->textdomain ),
|
160 |
+
),
|
161 |
+
));
|
162 |
+
|
163 |
+
$this->fields = $fields; // @since 0.5.0 set class object
|
164 |
+
|
165 |
+
// add_settings_field( 'color_scheme', __('Color Scheme', $this->textdomain), array( $this, 'setting_field' ), $this->slug, 'general', array( 'label_for' => 'color_scheme', 'type' => 'color-scheme', 'default' => true, 'detail' => __('Color Scheme', $this->textdomain) ) );
|
166 |
+
|
167 |
+
// Set function setting_field () as callback for each field
|
168 |
+
foreach( $fields as $key => $field ) {
|
169 |
+
$field['label_for'] = $key;
|
170 |
+
add_settings_field( $key, $field['label'], array( $this, 'setting_field' ), $this->slug, $field['section'], $field );
|
171 |
+
}
|
172 |
+
|
173 |
+
// Create initialize settings if this is the first install
|
174 |
+
if( ! get_option( $this->slug ) ) {
|
175 |
+
global $wp_settings_fields;
|
176 |
+
$sections = $wp_settings_fields[$this->slug];
|
177 |
+
$array = array();
|
178 |
+
foreach( $sections as $fields ) {
|
179 |
+
foreach( $fields as $k => $field ) {
|
180 |
+
$array[$k] = isset( $field['args']['default'] ) ? $field['args']['default'] : '';
|
181 |
+
}
|
182 |
+
}
|
183 |
+
update_option( $this->slug, $array );
|
184 |
+
}
|
185 |
+
}
|
186 |
+
|
187 |
+
|
188 |
+
/**
|
189 |
+
* Sanitize each setting field as needed
|
190 |
+
*
|
191 |
+
* @param array $input Contains all settings fields as array keys
|
192 |
+
* @since 0.1.0
|
193 |
+
*/
|
194 |
+
function sanitize_callback( $inputs ) {
|
195 |
+
// return if inputs are empty
|
196 |
+
if( ! isset( $inputs['section'] ) )
|
197 |
+
return $inputs;
|
198 |
+
|
199 |
+
global $wp_settings_fields;
|
200 |
+
$section = $wp_settings_fields[$this->slug][$inputs['section']];
|
201 |
+
$old_option = $this->options;
|
202 |
+
|
203 |
+
foreach( $inputs as $k => $input ) {
|
204 |
+
$type = $section[$k]['args']['type'];
|
205 |
+
|
206 |
+
if( 'text' == $type ) {
|
207 |
+
$this->options[$k] = sanitize_text_field( $input );
|
208 |
+
} elseif( 'number' == $type ) {
|
209 |
+
$this->options[$k] = absint( $input );
|
210 |
+
} elseif( 'url' == $type ) {
|
211 |
+
$this->options[$k] = esc_url( $input );
|
212 |
+
} else {
|
213 |
+
$this->options[$k] = $input;
|
214 |
+
}
|
215 |
+
}
|
216 |
+
|
217 |
+
// Special case for checkbox, we need to loop through setting fields
|
218 |
+
foreach( $section as $k => $field )
|
219 |
+
if( 'checkbox' == $field['args']['type'] )
|
220 |
+
if( ! isset( $inputs[$k] ) )
|
221 |
+
$this->options[$k] = false;
|
222 |
+
|
223 |
+
/* $this->options is the new and $inputs is old
|
224 |
+
*
|
225 |
+
* Sanitized Licenses are added via apply_filters () in license.php
|
226 |
+
*
|
227 |
+
* @filter cf7skins_setting_sanitize
|
228 |
+
* @since 0.2.0
|
229 |
+
*/
|
230 |
+
return apply_filters( 'cf7skins_setting_sanitize', $this->options, $old_option, $inputs );
|
231 |
+
}
|
232 |
+
|
233 |
+
|
234 |
+
/**
|
235 |
+
* Print the option field in the section
|
236 |
+
*
|
237 |
+
* @params $args
|
238 |
+
* @since 0.1.0
|
239 |
+
*/
|
240 |
+
public function setting_field( $args ) {
|
241 |
+
// echo '<pre style="font-size:10px;line-height:10px;">'. print_r( $this->options, true ) .'</pre>';
|
242 |
+
// echo '<pre style="font-size:10px;line-height:10px;">'. print_r( $args, true ) .'</pre>';
|
243 |
+
extract( $args );
|
244 |
+
$id = isset( $label_for ) ? $label_for : ''; // Use label_for arg as id if set
|
245 |
+
switch ( $type ) {
|
246 |
+
case 'textarea':
|
247 |
+
printf( '<textarea id="%1$s" name="'.$this->slug.'[%1$s]" cols="50" rows="5" class="large-text">%2$s</textarea>',
|
248 |
+
$id, isset( $this->options[$id] ) ? $this->options[$id] : '' );
|
249 |
+
break;
|
250 |
+
|
251 |
+
case 'checkbox':
|
252 |
+
$value = isset( $this->options[$id] ) ? $this->options[$id] : false;
|
253 |
+
printf( '<label><input id="%1$s" name="'.$this->slug.'[%1$s]" type="checkbox" value="1" %2$s />%3$s</label>',
|
254 |
+
$id, $value ? 'checked="checked"' : '', $detail );
|
255 |
+
break;
|
256 |
+
|
257 |
+
case 'color-scheme':
|
258 |
+
foreach ( $this->color_scheme() as $color => $color_info ) {
|
259 |
+
$selected = $this->options[$id] == $color ? ' selected' : '';
|
260 |
+
echo'
|
261 |
+
<div class="color-option'.$selected.'">
|
262 |
+
<input type="radio" '.checked( $this->options[$id], $color, false ).' class="tog" value="'. $color .'" name="'.$this->slug.'[color_scheme]" />
|
263 |
+
<input type="hidden" value="'. $color_info->url .'" class="css_url" />
|
264 |
+
<label for="admin_color_fresh">'.$color_info->name.'</label>
|
265 |
+
<table class="color-palette">
|
266 |
+
<tbody>
|
267 |
+
<tr>';
|
268 |
+
foreach( $color_info->colors as $bgcolor )
|
269 |
+
echo '<td style="background-color: '.$bgcolor.'"> </td>';
|
270 |
+
|
271 |
+
echo'
|
272 |
+
</tr>
|
273 |
+
</tbody>
|
274 |
+
</table>
|
275 |
+
</div>';
|
276 |
+
}
|
277 |
+
break;
|
278 |
+
|
279 |
+
case 'license':
|
280 |
+
$disable = ( $status !== false && $status == 'valid' ) ? ' disabled' : '';
|
281 |
+
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text license-key" type="text"'. $disable .'/>',
|
282 |
+
$id, isset( $this->options[$id] ) ? $this->options[$id] : '', $type );
|
283 |
+
if( $status !== false && $status == 'valid' ) {
|
284 |
+
echo '<span style="color:green;padding:0 10px;font-size:12px">'. __( 'active', CF7SKINS_TEXTDOMAIN ) .'</span>';
|
285 |
+
echo '<input type="submit" class="button" name="'. "{$this->slug}[$id" .'_deactivate]" value="'. __('Deactivate License',CF7SKINS_TEXTDOMAIN) .'"/>';
|
286 |
+
} else {
|
287 |
+
if( $status == 'invalid' )
|
288 |
+
echo '<span style="color:red;padding:0 10px;font-size:12px">'. __( 'invalid', CF7SKINS_TEXTDOMAIN ) .'</span>';
|
289 |
+
|
290 |
+
echo ' <input type="submit" class="button" name="'. "{$this->slug}[$id" .'_activate]" value="'. __('Activate License',CF7SKINS_TEXTDOMAIN) .'"/>';
|
291 |
+
}
|
292 |
+
break;
|
293 |
+
|
294 |
+
case 'info':
|
295 |
+
do_action( 'cf7skins_setting_info', $args );
|
296 |
+
break;
|
297 |
+
|
298 |
+
case 'text':
|
299 |
+
case 'number':
|
300 |
+
case 'url':
|
301 |
+
default:
|
302 |
+
printf( '<input id="%1$s" name="'.$this->slug.'[%1$s]" value="%2$s" class="regular-text" type="%3$s" />',
|
303 |
+
$id, isset( $this->options[$id] ) ? $this->options[$id] : '', $type );
|
304 |
+
break;
|
305 |
+
}
|
306 |
+
|
307 |
+
if( isset( $description ) ){
|
308 |
+
switch ( $type ) {
|
309 |
+
case 'license': // Don't display activation instructions if valid license
|
310 |
+
if( $status !== false && $status == 'valid' ) {
|
311 |
+
break;
|
312 |
+
}
|
313 |
+
default:
|
314 |
+
echo '<p class="description">'. $description .'</p>';
|
315 |
+
break;
|
316 |
+
}
|
317 |
+
}
|
318 |
+
}
|
319 |
+
|
320 |
+
|
321 |
+
/**
|
322 |
+
* Custom option for the color scheme
|
323 |
+
*
|
324 |
+
* @filter cf7skins_color_scheme
|
325 |
+
* @since 0.1.0
|
326 |
+
*/
|
327 |
+
function color_scheme() {
|
328 |
+
$colors = array();
|
329 |
+
|
330 |
+
$color = new stdClass();
|
331 |
+
$color->name = __('Default', $this->textdomain);
|
332 |
+
$color->url = CF7SKINS_URL . 'css/admin.css';
|
333 |
+
$color->colors = array( '#94B2CE', '#C4D9EE', '#70A74A', '#C9F4B0' );
|
334 |
+
$colors['default'] = $color;
|
335 |
+
|
336 |
+
$color = new stdClass();
|
337 |
+
$color->name = __('Wheat', $this->textdomain);
|
338 |
+
$color->url = CF7SKINS_URL . 'css/admin.css';
|
339 |
+
$color->colors = array( '#EEEEEE', '#E5E5E5', '#E5EAA8', '#DAE193' );
|
340 |
+
$colors['wheat'] = $color;
|
341 |
+
|
342 |
+
$color = new stdClass();
|
343 |
+
$color->name = __('Ocean', $this->textdomain);
|
344 |
+
$color->url = CF7SKINS_URL . 'css/admin.css';
|
345 |
+
$color->colors = array( '#ECF7FB', '#CDE8F1', '#D6F9C1', '#C2F0A5' );
|
346 |
+
$colors['ocean'] = $color;
|
347 |
+
|
348 |
+
return apply_filters( 'cf7skins_color_scheme', $colors );
|
349 |
+
}
|
350 |
+
|
351 |
+
} new CF7_Skins_Settings();
|
includes/skin.php
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* CF7 Skins - Skins Class
|
4 |
+
*
|
5 |
+
* Base class for templates and styles
|
6 |
+
*
|
7 |
+
* @package cf7skins
|
8 |
+
* @author Neil Murray
|
9 |
+
* @since 0.0.1
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Return if class already exists
|
15 |
+
*
|
16 |
+
* @since 0.2.0
|
17 |
+
*/
|
18 |
+
if ( class_exists( 'CF7_Skin' ) )
|
19 |
+
return;
|
20 |
+
|
21 |
+
|
22 |
+
class CF7_Skin {
|
23 |
+
|
24 |
+
// Class variables
|
25 |
+
var $name, $version, $textdomain;
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Class constructor
|
29 |
+
*
|
30 |
+
* @since 0.0.1
|
31 |
+
*/
|
32 |
+
function __construct() {
|
33 |
+
// Set class variables
|
34 |
+
$this->name = CF7SKINS_SLUG;
|
35 |
+
$this->version = CF7SKINS_VERSION;
|
36 |
+
$this->textdomain = CF7SKINS_TEXTDOMAIN;
|
37 |
+
}
|
38 |
+
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Get post id in post edit screen
|
42 |
+
*
|
43 |
+
* @since 0.0.1
|
44 |
+
*/
|
45 |
+
function get_id() {
|
46 |
+
$post_id = isset( $_GET['post'] ) ? (int) $_GET['post'] : 0;
|
47 |
+
return $post_id;
|
48 |
+
}
|
49 |
+
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Get slug name for template or style based on directory name
|
53 |
+
*
|
54 |
+
* @param $skin current processed template or style reading data
|
55 |
+
* @since 0.0.1
|
56 |
+
*/
|
57 |
+
function get_slug_name( $skin ) {
|
58 |
+
echo str_replace(' ', '-', $skin['dir'] );
|
59 |
+
}
|
60 |
+
|
61 |
+
|
62 |
+
/**
|
63 |
+
* Return the skin thumbnail image url
|
64 |
+
*
|
65 |
+
* @param $skin current processed template or style reading data
|
66 |
+
* @since 0.1.0
|
67 |
+
*/
|
68 |
+
function get_skin_thumbnail( $skin ) {
|
69 |
+
$imgpath = $skin['path'] . $skin['dir'] . '/thumbnail.png';
|
70 |
+
|
71 |
+
// Check if thumbnail.png exists or load default thumbnail
|
72 |
+
if( file_exists( $imgpath ) )
|
73 |
+
$imgurl = $skin['url'] . $skin['dir'] . '/thumbnail.png';
|
74 |
+
else
|
75 |
+
$imgurl = CF7SKINS_URL . 'images/no-preview.png';
|
76 |
+
|
77 |
+
return $imgurl;
|
78 |
+
}
|
79 |
+
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Return the skin modal image url, if does not exist thumbnail.png will be returned
|
83 |
+
*
|
84 |
+
* @parameter $skin is the current processed skin reading data
|
85 |
+
* @since 0.1.0
|
86 |
+
*/
|
87 |
+
function get_skin_modal( $skin ) {
|
88 |
+
$imgpath = $skin['path'] . $skin['dir'] . '/modal.png';
|
89 |
+
|
90 |
+
// Check if modal.png exists
|
91 |
+
if( file_exists( $imgpath ) )
|
92 |
+
$imgurl = $skin['url'] . $skin['dir'] . '/modal.png';
|
93 |
+
else
|
94 |
+
$imgurl = $this->get_skin_thumbnail( $skin );
|
95 |
+
|
96 |
+
return $imgurl;
|
97 |
+
}
|
98 |
+
|
99 |
+
} // End class
|
includes/style-instructions.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Default Style Instructions
|
4 |
+
*
|
5 |
+
* @package cf7skins
|
6 |
+
* @author Neil Murray
|
7 |
+
* @version 0.0.2
|
8 |
+
* @since 0.2.0
|
9 |
+
*/
|
10 |
+
?>
|
11 |
+
Click <strong>Expanded View</strong> for more information on the color and formatting used, and what this style looks like applied to all types of Contact Form 7 form fields.
|
12 |
+
|
13 |
+
To choose this <strong>Style</strong>, click <strong>Select</strong>.
|
14 |
+
|
15 |
+
You can move on to choosing a <strong>Template</strong> or, if you already have a template, scroll up to the top of the page and click the <strong>Save</strong> button.
|
16 |
+
|
17 |
+
<a href="http://docs.cf7skins.com/" target="_blank">Documentation</a> | <a href="http://kb.cf7skins.com/faq/" target="_blank">FAQ</a> | <a href="http://kb.cf7skins.com/category/tutorials/" target="_blank">Tutorials</a> | <a href="http://kb.cf7skins.com/" target="_blank">Knowledge Base</a>
|
includes/style.php
ADDED
@@ -0,0 +1,459 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* CF7 Skins Style Class
|
4 |
+
*
|
5 |
+
* @package cf7skins
|
6 |
+
* @author Neil Murray
|
7 |
+
* @since 0.0.1
|
8 |
+
*/
|
9 |
+
|
10 |
+
|
11 |
+
class CF7_Skin_Style extends CF7_Skin {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Class constructor
|
15 |
+
*
|
16 |
+
* @since 0.0.1
|
17 |
+
*/
|
18 |
+
function __construct() {
|
19 |
+
parent::__construct(); // Run parent class
|
20 |
+
}
|
21 |
+
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Get list of styles - sorted alphabetically [a-z]
|
25 |
+
*
|
26 |
+
* @filter cf7skins_styles
|
27 |
+
* @return (array) array of styles
|
28 |
+
* @since 0.0.1
|
29 |
+
*/
|
30 |
+
public static function cf7s_get_style_list() {
|
31 |
+
$styles = self::read_styles( CF7SKINS_STYLES_PATH, CF7SKINS_STYLES_URL );
|
32 |
+
$styles = apply_filters( 'cf7skins_styles', $styles ); // add filter for other plugins
|
33 |
+
ksort( $styles ); // sort by array keys
|
34 |
+
return $styles;
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Get list of styles from the styles directory
|
40 |
+
*
|
41 |
+
* @param $path current plugin styles directory path
|
42 |
+
* @param $url current plugin styles directory url
|
43 |
+
* @return (array) arrays of style information
|
44 |
+
* @since 0.0.1
|
45 |
+
*/
|
46 |
+
public static function read_styles( $path, $url ) {
|
47 |
+
|
48 |
+
$styles = array();
|
49 |
+
|
50 |
+
if ( $handle = opendir( $path ) ) {
|
51 |
+
|
52 |
+
// Uses WP file system for reading description.txt and instruction.txt
|
53 |
+
if( is_admin() ) WP_Filesystem();
|
54 |
+
global $wp_filesystem;
|
55 |
+
|
56 |
+
while (false !== ( $entry = readdir( $handle ) ) )
|
57 |
+
if ( $entry != '.' && $entry != '..' ) {
|
58 |
+
|
59 |
+
// Add default instructions
|
60 |
+
ob_start();
|
61 |
+
include( CF7SKINS_PATH . 'includes/style-instructions.php' );
|
62 |
+
$instructions = ob_get_contents();
|
63 |
+
$instructions = str_replace( "\r", "<br />", $instructions ); // replace newline as HTML <br />
|
64 |
+
ob_end_clean();
|
65 |
+
|
66 |
+
// Step up default headers
|
67 |
+
$default_headers = array(
|
68 |
+
'Style Name' => 'Style Name',
|
69 |
+
'Style URI' => 'Style URI',
|
70 |
+
'Author' => 'Author',
|
71 |
+
'Author URI' => 'Author URI',
|
72 |
+
'Description' => 'Description',
|
73 |
+
'Instructions' => 'Instructions',
|
74 |
+
'Version' => 'Version',
|
75 |
+
'Version Date' => 'Version Date', // with format '2012-02-23 06:12:45'
|
76 |
+
'License' => 'License',
|
77 |
+
'License URI' => 'License URI',
|
78 |
+
'Tags' => 'Tags'
|
79 |
+
);
|
80 |
+
|
81 |
+
// Start reading files
|
82 |
+
$files = scandir( $path . $entry );
|
83 |
+
$styles[$entry]['dir'] = $entry;
|
84 |
+
$styles[$entry]['path'] = $path;
|
85 |
+
$styles[$entry]['url'] = $url;
|
86 |
+
foreach( $files as $file ) {
|
87 |
+
if ( $file != '.' && $file != '..' ) {
|
88 |
+
$styles[$entry]['files'][] = $file;
|
89 |
+
$file_path = $path . trailingslashit($entry) . $file;
|
90 |
+
$file_data = get_file_data( $file_path, $default_headers, 'test' );
|
91 |
+
|
92 |
+
// Load description from description.txt if is existed.
|
93 |
+
// Inline description will be overwrited if description.txt if is existed.
|
94 |
+
$description_file = $path . trailingslashit($entry) . 'description.txt';
|
95 |
+
if ( is_admin() && $wp_filesystem->is_file( $description_file ) ) {
|
96 |
+
$_description = $wp_filesystem->get_contents( $description_file );
|
97 |
+
$file_data['Description'] = str_replace( "\r", "<br />", $_description ); // replace newline as HTML <br />
|
98 |
+
}
|
99 |
+
|
100 |
+
// Use default instruction if there is no instruction
|
101 |
+
$file_data['Instructions'] = $file_data['Instructions'] ? $file_data['Instructions'] : $instructions;
|
102 |
+
|
103 |
+
// Load instruction from instruction.txt if is existed
|
104 |
+
// Inline or default description will be overwrited if description.txt if is existed.
|
105 |
+
$instructions_file = $path . trailingslashit($entry) . 'instruction.txt';
|
106 |
+
if ( is_admin() && $wp_filesystem->is_file( $instructions_file ) ) {
|
107 |
+
$_instructions = $wp_filesystem->get_contents( $instructions_file );
|
108 |
+
$file_data['Instructions'] = str_replace( "\r", "<br />", $_instructions ); // replace newline as HTML <br />
|
109 |
+
}
|
110 |
+
|
111 |
+
if( $file_data['Style Name'] ) {
|
112 |
+
$styles[$entry]['index'] = $file;
|
113 |
+
$styles[$entry]['details'] = $file_data;
|
114 |
+
}
|
115 |
+
}
|
116 |
+
}
|
117 |
+
|
118 |
+
$styles[$entry]['tags'] = array_map('trim', explode( ',', $styles[$entry]['details']['Tags'] ) );
|
119 |
+
}
|
120 |
+
closedir($handle);
|
121 |
+
}
|
122 |
+
|
123 |
+
return $styles;
|
124 |
+
}
|
125 |
+
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Returns a list of style filter tags // move to style-feature.php?
|
129 |
+
*
|
130 |
+
* Uses the same method as get_theme_feature_list() function
|
131 |
+
* @see http://codex.wordpress.org/Function_Reference/get_theme_feature_list
|
132 |
+
* @filter style_filter_tags
|
133 |
+
* @return (array)
|
134 |
+
* @since 0.1.0
|
135 |
+
*/
|
136 |
+
function filter_tags() {
|
137 |
+
$filter_tags = array(
|
138 |
+
|
139 |
+
__( 'Colors', $this->textdomain ) => array (
|
140 |
+
'black' => __( 'Black', $this->textdomain ),
|
141 |
+
'brown' => __( 'Brown', $this->textdomain ),
|
142 |
+
'gray' => __( 'Gray', $this->textdomain ),
|
143 |
+
'green' => __( 'Green', $this->textdomain ),
|
144 |
+
'orange' => __( 'Orange', $this->textdomain ),
|
145 |
+
'pink' => __( 'Pink', $this->textdomain ),
|
146 |
+
'purple' => __( 'Purple', $this->textdomain ),
|
147 |
+
'red' => __( 'Red', $this->textdomain ),
|
148 |
+
'silver' => __( 'Silver', $this->textdomain ),
|
149 |
+
'tan' => __( 'Tan', $this->textdomain ),
|
150 |
+
'white' => __( 'White', $this->textdomain ),
|
151 |
+
'yellow' => __( 'Yellow', $this->textdomain ),
|
152 |
+
'dark' => __( 'Dark', $this->textdomain ),
|
153 |
+
'light' => __( 'Light', $this->textdomain ),
|
154 |
+
),
|
155 |
+
|
156 |
+
__( 'Layout', $this->textdomain ) => array (
|
157 |
+
'fixed-layout' => __( 'Fixed Layout', $this->textdomain ),
|
158 |
+
'fluid-layout' => __( 'Fluid Layout', $this->textdomain ),
|
159 |
+
'responsive-layout' => __( 'Responsive Layout', $this->textdomain ),
|
160 |
+
'one-column' => __( 'One Column', $this->textdomain ),
|
161 |
+
'one-two-columns' => __( 'One or Two Column', $this->textdomain ),
|
162 |
+
'one-two-three-columns' => __( 'One, Two or Three Column', $this->textdomain ),
|
163 |
+
),
|
164 |
+
|
165 |
+
__( 'Features', $this->textdomain ) => array (
|
166 |
+
'Fieldsets' => __( 'Fieldsets', $this->textdomain ),
|
167 |
+
'Background' => __( 'Background', $this->textdomain ),
|
168 |
+
'Gradients' => __( 'Gradients', $this->textdomain ),
|
169 |
+
),
|
170 |
+
|
171 |
+
__( 'Subject', $this->textdomain ) => array (
|
172 |
+
'business' => __( 'Business', $this->textdomain ),
|
173 |
+
'event' => __( 'Event', $this->textdomain ),
|
174 |
+
'holiday' => __( 'Holiday', $this->textdomain ),
|
175 |
+
'individual' => __( 'Individual', $this->textdomain ),
|
176 |
+
'seasonal' => __( 'Seasonal', $this->textdomain ),
|
177 |
+
)
|
178 |
+
);
|
179 |
+
|
180 |
+
return apply_filters( 'style_filter_tags', $filter_tags );
|
181 |
+
}
|
182 |
+
|
183 |
+
|
184 |
+
/**
|
185 |
+
* Output style filter tags for backend // move to style-feature.php?
|
186 |
+
*
|
187 |
+
* @compat WP3.9
|
188 |
+
* @output (HTML)
|
189 |
+
* @since 0.0.1
|
190 |
+
*/
|
191 |
+
|
192 |
+
function cf7s_show_style_list_39() {
|
193 |
+
$val = get_post_meta( $this->get_id(), 'cf7s_style', true ); // Get current post selected style
|
194 |
+
?>
|
195 |
+
<div class="theme-navigation theme-install-php">
|
196 |
+
<span class="theme-count"><?php echo count( $this->cf7s_get_style_list() ); ?></span>
|
197 |
+
<a class="theme-section skin-sort current balloon" href="#" data-sort="all" title="<?php _e( 'All available Styles', $this->textdomain ); ?>"><?php _e('All', $this->textdomain); ?></a>
|
198 |
+
<a class="theme-section skin-sort balloon" href="#" data-sort="featured" title="<?php _e( 'Selected by the CF7 Skins team', $this->textdomain ); ?>"><?php _e('Featured', $this->textdomain); ?></a>
|
199 |
+
<a class="theme-section skin-sort balloon" href="#" data-sort="popular" title="<?php _e( 'Commonly used', $this->textdomain ); ?>"><?php _e('Popular', $this->textdomain); ?></a>
|
200 |
+
<a class="theme-section skin-sort balloon" href="#" data-sort="new" title="<?php _e( 'Recently added', $this->textdomain ); ?>"><?php _e('Latest', $this->textdomain); ?></a>
|
201 |
+
|
202 |
+
<div class="theme-top-filters">
|
203 |
+
<!-- <span class="theme-filter" data-filter="photoblogging">Photography</span>
|
204 |
+
<span class="theme-filter" data-filter="responsive-layout">Responsive</span> -->
|
205 |
+
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
206 |
+
<a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#">Feature Filter</a>
|
207 |
+
<?php endif; ?>
|
208 |
+
</div>
|
209 |
+
|
210 |
+
<div class="more-filters-container">
|
211 |
+
<a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', $this->textdomain); ?>"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
|
212 |
+
<a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
213 |
+
<br class="clear">
|
214 |
+
|
215 |
+
<?php
|
216 |
+
$feature_list = $this->filter_tags();
|
217 |
+
|
218 |
+
foreach ( $feature_list as $feature_name => $features ) {
|
219 |
+
|
220 |
+
if ( $feature_name === 'Colors' || $feature_name === __( 'Colors' ) ) { // hack hack hack
|
221 |
+
echo '<div class="filters-group wide-filters-group">';
|
222 |
+
} else {
|
223 |
+
echo '<div class="filters-group">';
|
224 |
+
}
|
225 |
+
|
226 |
+
$feature_name = esc_html( $feature_name );
|
227 |
+
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
228 |
+
echo '<ol class="feature-group">';
|
229 |
+
foreach ( $features as $feature => $feature_name ) {
|
230 |
+
$feature = esc_attr( $feature );
|
231 |
+
echo '<li><input type="checkbox" id="tab-style-' . $feature . '" value="' . $feature . '" /> ';
|
232 |
+
echo '<label for="tab-style-' . $feature . '">' . $feature_name . '</label></li>';
|
233 |
+
}
|
234 |
+
echo '</ol>';
|
235 |
+
echo '</div>';
|
236 |
+
}
|
237 |
+
?>
|
238 |
+
<div class="filtering-by filtered-by">
|
239 |
+
<span><?php _e('Filtering by:', $this->textdomain); ?></span>
|
240 |
+
<div class="tags"></div>
|
241 |
+
<a href="#"><?php _e('Edit', $this->textdomain); ?></a>
|
242 |
+
</div>
|
243 |
+
</div>
|
244 |
+
|
245 |
+
<div class="skins-sort">
|
246 |
+
<label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>"><?php _e('Sort by', $this->textdomain); ?></label>
|
247 |
+
<select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
|
248 |
+
<option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
|
249 |
+
<option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
|
250 |
+
<option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
|
251 |
+
</select>
|
252 |
+
<a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
|
253 |
+
</div>
|
254 |
+
<label class="screen-reader-text" for="theme-search-input"><?php _e('Search Styles', $this->textdomain); ?></label>
|
255 |
+
<input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search styles...', $this->textdomain); ?>" />
|
256 |
+
</div>
|
257 |
+
|
258 |
+
<div class="skin-list clearfix">
|
259 |
+
<span class="spinner"></span>
|
260 |
+
<?php $this->styles_list(); ?>
|
261 |
+
</div>
|
262 |
+
|
263 |
+
<div class="skin-details clearfix hidden">
|
264 |
+
<?php foreach( $this->cf7s_get_style_list() as $style )
|
265 |
+
$this->cf7s_details_view( $style ); ?>
|
266 |
+
</div>
|
267 |
+
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-style" id="cf7s-style" />
|
268 |
+
<?php
|
269 |
+
}
|
270 |
+
|
271 |
+
|
272 |
+
/**
|
273 |
+
* Output style filter tags for backend // move to style-feature.php?
|
274 |
+
*
|
275 |
+
* @output (HTML)
|
276 |
+
* @since 0.0.1
|
277 |
+
*/
|
278 |
+
function cf7s_show_style_list() {
|
279 |
+
$val = get_post_meta( $this->get_id(), 'cf7s_style', true ); // Get current post selected style
|
280 |
+
?>
|
281 |
+
<div class="wp-filter">
|
282 |
+
<div class="filter-count"><span class="count"><?php echo count( $this->cf7s_get_style_list() ); ?></span></div>
|
283 |
+
|
284 |
+
<ul class="filter-links">
|
285 |
+
<li><a class="theme-section skin-sort current balloon" href="#" data-sort="all" title="<?php _e( 'All available Styles', $this->textdomain ); ?>"><?php _e('All', $this->textdomain); ?></a></li>
|
286 |
+
<li><a class="theme-section skin-sort balloon" href="#" data-sort="featured" title="<?php _e( 'Selected by the CF7 Skins team', $this->textdomain ); ?>"><?php _e('Featured', $this->textdomain); ?></a></li>
|
287 |
+
<li><a class="theme-section skin-sort balloon" href="#" data-sort="popular" title="<?php _e( 'Commonly used', $this->textdomain ); ?>"><?php _e('Popular', $this->textdomain); ?></a></li>
|
288 |
+
<li><a class="theme-section skin-sort balloon" href="#" data-sort="new" title="<?php _e( 'Recently added', $this->textdomain ); ?>"><?php _e('Latest', $this->textdomain); ?></a></li>
|
289 |
+
</ul>
|
290 |
+
|
291 |
+
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
292 |
+
<a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#">Feature Filter</a>
|
293 |
+
<?php endif; ?>
|
294 |
+
|
295 |
+
<div class="search-form">
|
296 |
+
<label class="screen-reader-text" for="theme-search-input"><?php _e('Search Styles', $this->textdomain); ?></label>
|
297 |
+
<input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search styles...', $this->textdomain); ?>" />
|
298 |
+
</div>
|
299 |
+
|
300 |
+
<div class="filter-drawer">
|
301 |
+
<div class="buttons">
|
302 |
+
<a class="apply-filters button button-secondary balloon" href="#" title="<?php _e('Check all the boxes that meet your specific requirements and then click apply filters.', $this->textdomain); ?>"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
|
303 |
+
<a class="clear-filters button button-secondary balloon" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
304 |
+
</div>
|
305 |
+
|
306 |
+
<?php
|
307 |
+
$feature_list = $this->filter_tags();
|
308 |
+
foreach ( $feature_list as $feature_name => $features ) {
|
309 |
+
if ( $feature_name === 'Colors' || $feature_name === __( 'Colors' ) ) { // hack hack hack
|
310 |
+
echo '<div class="filter-group wide-filters-group">';
|
311 |
+
} else {
|
312 |
+
echo '<div class="filter-group">';
|
313 |
+
}
|
314 |
+
$feature_name = esc_html( $feature_name );
|
315 |
+
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
316 |
+
echo '<ol class="feature-group">';
|
317 |
+
foreach ( $features as $feature => $feature_name ) {
|
318 |
+
$feature = esc_attr( $feature );
|
319 |
+
echo '<li><input type="checkbox" id="tab-style-' . $feature . '" value="' . $feature . '" /> ';
|
320 |
+
echo '<label for="tab-style-' . $feature . '">' . $feature_name . '</label></li>';
|
321 |
+
}
|
322 |
+
echo '</ol>';
|
323 |
+
echo '</div>';
|
324 |
+
}
|
325 |
+
?>
|
326 |
+
<div class="filtered-by">
|
327 |
+
<span><?php _e('Filtering by:', $this->textdomain); ?></span>
|
328 |
+
<div class="tags"></div>
|
329 |
+
<a href="#"><?php _e('Edit', $this->textdomain); ?></a>
|
330 |
+
</div>
|
331 |
+
</div>
|
332 |
+
|
333 |
+
<div class="skins-sort">
|
334 |
+
<label class="balloon" for="skins-sort" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>"><?php _e('Sort by', $this->textdomain); ?></label>
|
335 |
+
<select class="sort-by balloon" name="sort-by" title="" autocomplete="off">
|
336 |
+
<option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
|
337 |
+
<option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
|
338 |
+
<option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
|
339 |
+
</select>
|
340 |
+
<a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
|
341 |
+
</div>
|
342 |
+
</div>
|
343 |
+
|
344 |
+
<div class="skin-list clearfix">
|
345 |
+
<span class="spinner"></span>
|
346 |
+
<?php $this->styles_list(); ?>
|
347 |
+
</div>
|
348 |
+
<div class="skin-details clearfix hidden">
|
349 |
+
<?php foreach( $this->cf7s_get_style_list() as $style )
|
350 |
+
$this->cf7s_details_view( $style ); ?>
|
351 |
+
</div>
|
352 |
+
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-style" id="cf7s-style" />
|
353 |
+
<?php
|
354 |
+
}
|
355 |
+
|
356 |
+
|
357 |
+
/**
|
358 |
+
* Output each style in the style tab
|
359 |
+
*
|
360 |
+
* @deprecated cf7s_show_style_inlist
|
361 |
+
* @param $styles (array) of all the styles
|
362 |
+
* @output (HTML)
|
363 |
+
* @since 0.1.0
|
364 |
+
*/
|
365 |
+
function styles_list( $styles = array() ) {
|
366 |
+
if( ! $styles )
|
367 |
+
$styles = $this->cf7s_get_style_list();
|
368 |
+
//print_r( $styles );
|
369 |
+
|
370 |
+
// Get the current contact form ID, check if request comes from AJAX
|
371 |
+
$id = isset( $_POST['id'] ) ? $_POST['id'] : $this->get_id();
|
372 |
+
|
373 |
+
foreach( $styles as $key => $style ) {
|
374 |
+
$class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? ' selected' : '';
|
375 |
+
$select_text = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? __( 'Selected', $this->textdomain ) : __( 'Select', $this->textdomain );
|
376 |
+
|
377 |
+
$skin_class = $style['dir'] == get_post_meta( $id, 'cf7s_style', true ) ? 'skin skin-selected' : 'skin';
|
378 |
+
$style_date = explode( "//", $style['details']['Version Date'] );
|
379 |
+
$date = mysql2date( 'U', $style_date[0] );
|
380 |
+
$license = strpos( $style['path'], 'cf7skins-pro' ) !== false ? 'pro' : 'free';
|
381 |
+
?>
|
382 |
+
<div class="<?php echo $skin_class; ?>" data-name="<?php echo $key; ?>" data-date="<?php echo $date; ?>" data-license="<?php echo $license; ?>">
|
383 |
+
<div class="wrapper">
|
384 |
+
<h4 class="skin-name"><?php echo $style['details']['Style Name']; ?></h4>
|
385 |
+
<div class="thumbnail">
|
386 |
+
<?php $imgpath = $style['path'] . $style['dir'] . '/thumbnail.png'; ?>
|
387 |
+
<?php $imgurl = $style['url'] . $style['dir'] . '/thumbnail.png'; ?>
|
388 |
+
<img src="<?php echo file_exists( $imgpath ) ? $imgurl : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
|
389 |
+
</div>
|
390 |
+
<ul class="clearfix skin-action">
|
391 |
+
<li><a class="select<?php echo $class; ?> balloon" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.',$this->textdomain ); ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style"><?php echo $select_text; ?></a></li>
|
392 |
+
<li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Style - overview of the appearance and layout with description and usage details.' ,$this->textdomain ); ?>" href="#<?php $this->get_slug_name( $style ); ?>"><?php _e('Details', $this->textdomain ); ?></a></li>
|
393 |
+
</ul>
|
394 |
+
</div>
|
395 |
+
</div>
|
396 |
+
<?php
|
397 |
+
}
|
398 |
+
}
|
399 |
+
|
400 |
+
|
401 |
+
/**
|
402 |
+
* Output expanded and details view of selected style
|
403 |
+
*
|
404 |
+
* @TODO Display in pop-over window
|
405 |
+
* @param $style current processed style
|
406 |
+
* @output (HTML)
|
407 |
+
* @since 0.0.1
|
408 |
+
*/
|
409 |
+
function cf7s_details_view( $style ) {
|
410 |
+
|
411 |
+
$class = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? ' selected' : ''; // set link class
|
412 |
+
$select_text = $style['dir'] == get_post_meta( $this->get_id(), 'cf7s_style', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
|
413 |
+
?>
|
414 |
+
<div id="<?php $this->get_slug_name( $style ); ?>" class="details hidden">
|
415 |
+
<div class="details-view">
|
416 |
+
<div class="block-thumbnail">
|
417 |
+
<img src="<?php echo $style['url'] . $style['dir'] . '/thumbnail.png'; ?>" />
|
418 |
+
</div>
|
419 |
+
|
420 |
+
<div class="block-details"><div>
|
421 |
+
<ul class="clearfix skin-action">
|
422 |
+
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Use Expanded View to view styles features - shows all form fields available in Contact Form 7.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
|
423 |
+
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save.', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
424 |
+
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid view.', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
425 |
+
</ul>
|
426 |
+
<?php // print_r( $style ); ?>
|
427 |
+
<h1><?php echo $style['details']['Style Name']; ?></h1>
|
428 |
+
|
429 |
+
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
430 |
+
<p class="description"><?php echo $style['details']['Description']; ?></p>
|
431 |
+
|
432 |
+
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
433 |
+
<p class="description"><?php echo $style['details']['Instructions']; ?></p>
|
434 |
+
</div></div>
|
435 |
+
</div>
|
436 |
+
|
437 |
+
<div class="expanded-view">
|
438 |
+
<ul class="clearfix skin-action">
|
439 |
+
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
|
440 |
+
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $style ); ?>" href="#cf7s-style" title="<?php _e( 'Select to apply the Style to your form - is applied to your form once you Save', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
441 |
+
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Style Gallery/Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
442 |
+
</ul>
|
443 |
+
|
444 |
+
<h1><?php echo $style['details']['Style Name']; ?></h1>
|
445 |
+
|
446 |
+
<div class="large-thumbnail">
|
447 |
+
<img src="<?php echo $this->get_skin_modal( $style ); ?>" />
|
448 |
+
</div>
|
449 |
+
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
450 |
+
<p class="description"><?php echo $style['details']['Description']; ?></p>
|
451 |
+
|
452 |
+
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
453 |
+
<p class="description"><?php echo $style['details']['Instructions']; ?></p>
|
454 |
+
</div>
|
455 |
+
</div>
|
456 |
+
<?php
|
457 |
+
}
|
458 |
+
|
459 |
+
} // End class
|
includes/tab.php
ADDED
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin Tab Class
|
4 |
+
*
|
5 |
+
* Implement Tab functionality on CF7 Skins Admin
|
6 |
+
*
|
7 |
+
* @package cf7skins
|
8 |
+
* @author Neil Murray
|
9 |
+
* @since 0.0.1
|
10 |
+
*/
|
11 |
+
|
12 |
+
|
13 |
+
class CF7_Skins_Admin_Tab extends CF7_Skins_Admin {
|
14 |
+
|
15 |
+
// Class variables
|
16 |
+
var $tabs, $template, $style;
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Class constructor
|
20 |
+
*
|
21 |
+
* @since 0.0.1
|
22 |
+
*/
|
23 |
+
function __construct() {
|
24 |
+
parent::__construct(); // run parent class
|
25 |
+
|
26 |
+
$this->template = new CF7_Skin_Template();
|
27 |
+
$this->style = new CF7_Skin_Style();
|
28 |
+
|
29 |
+
$this->tabs = array(
|
30 |
+
'template' => __( 'Template', 'cf7skins' ),
|
31 |
+
'style' => __( 'Style', 'cf7skins' )
|
32 |
+
);
|
33 |
+
|
34 |
+
add_action( 'wp_ajax_cf7s_sort_skin', array( &$this, 'sort_skin' ) );
|
35 |
+
add_action( 'wp_ajax_nopriv_cf7s_sort_skin', array( &$this, 'sort_skin' ) );
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Sort styles/templates based on selected filter using AJAX
|
41 |
+
*
|
42 |
+
* @options all, new, search, tag
|
43 |
+
* @output HTML
|
44 |
+
* @since 0.0.1
|
45 |
+
*/
|
46 |
+
function sort_skin() {
|
47 |
+
// Check the nonce and if not isset the id, just die.
|
48 |
+
if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'cf7s' ) || ! isset( $_POST['tab'] ) || ! isset( $_POST['sort'] ) )
|
49 |
+
die();
|
50 |
+
|
51 |
+
if( strpos( $_POST['tab'], 'template' ) ) { // templates
|
52 |
+
|
53 |
+
$templates = $this->template->cf7s_get_template_list();
|
54 |
+
$dates = $new_templates = array();
|
55 |
+
|
56 |
+
switch ( $_POST['sort'] ) :
|
57 |
+
|
58 |
+
case 'all': // display all
|
59 |
+
$new_templates = $templates;
|
60 |
+
break;
|
61 |
+
|
62 |
+
case 'new': // sort by date
|
63 |
+
foreach( $templates as $key => $template ) {
|
64 |
+
if( $template['details']['Version Date'] ) {
|
65 |
+
$template_date = explode( "//", $template['details']['Version Date'] );
|
66 |
+
$template_date = $template_date[0];
|
67 |
+
$dates[$key] = mysql2date( 'U', $template_date );
|
68 |
+
}
|
69 |
+
}
|
70 |
+
|
71 |
+
arsort( $dates );
|
72 |
+
$dates = array_slice( $dates, 0, 10, true ); // get only the first 10
|
73 |
+
|
74 |
+
foreach( $dates as $key => $date )
|
75 |
+
$new_templates[$key] = $templates[$key];
|
76 |
+
break;
|
77 |
+
|
78 |
+
case 'search':
|
79 |
+
if( ! isset( $_POST['keyword'] ) && empty( $_POST['keyword'] ) )
|
80 |
+
return;
|
81 |
+
|
82 |
+
$keyword = esc_attr( $_POST['keyword'] );
|
83 |
+
foreach( $templates as $key => $template ) {
|
84 |
+
$match = false;
|
85 |
+
foreach( $template['details'] as $details )
|
86 |
+
if( stristr( $details, $keyword ) !== false )
|
87 |
+
$match = true;
|
88 |
+
|
89 |
+
if( $match )
|
90 |
+
$new_templates[$key] = $template;
|
91 |
+
}
|
92 |
+
break;
|
93 |
+
|
94 |
+
case 'tag':
|
95 |
+
if( ! isset( $_POST['tags'] ) && empty( $_POST['tags'] ) )
|
96 |
+
return;
|
97 |
+
|
98 |
+
foreach( $templates as $key => $template ) {
|
99 |
+
if( empty( $template['details']['Tags'] ) ) // bail early if empty
|
100 |
+
continue;
|
101 |
+
|
102 |
+
$stripped_tags = str_replace( ' ', '', $template['details']['Tags'] ); // strip all spaces before exploding
|
103 |
+
$template_tags = explode( ',', $stripped_tags );
|
104 |
+
$match = false;
|
105 |
+
|
106 |
+
foreach( $_POST['tags'] as $tag )
|
107 |
+
if( in_array( esc_attr( $tag ), $template_tags ) )
|
108 |
+
$match = true;
|
109 |
+
|
110 |
+
if( $match )
|
111 |
+
$new_templates[$key] = $template;
|
112 |
+
}
|
113 |
+
break;
|
114 |
+
|
115 |
+
default:
|
116 |
+
foreach( $templates as $key => $template )
|
117 |
+
if( in_array( $_POST['sort'], $template['tags'] ) )
|
118 |
+
$new_templates[$key] = $template;
|
119 |
+
break;
|
120 |
+
|
121 |
+
endswitch;
|
122 |
+
|
123 |
+
if( $new_templates )
|
124 |
+
$this->template->templates_list( $new_templates );
|
125 |
+
else
|
126 |
+
echo '<p class="no-themes no-skins">'. __( 'No templates found. Try a different search.', 'cf7skins' ) . '</p>';
|
127 |
+
|
128 |
+
} elseif( strpos( $_POST['tab'], 'style' ) ) { // styles
|
129 |
+
|
130 |
+
$styles = $this->style->cf7s_get_style_list();
|
131 |
+
$dates = $new_styles = array();
|
132 |
+
|
133 |
+
switch ( $_POST['sort'] ) :
|
134 |
+
|
135 |
+
case 'all': // display all
|
136 |
+
$new_styles = $styles;
|
137 |
+
break;
|
138 |
+
|
139 |
+
case 'new': // sort by date
|
140 |
+
foreach( $styles as $key => $style ) {
|
141 |
+
if( $style['details']['Version Date'] ) {
|
142 |
+
$skin_date = explode( "//", $style['details']['Version Date'] );
|
143 |
+
$skin_date = $skin_date[0];
|
144 |
+
$dates[$key] = mysql2date( 'U', $skin_date );
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
arsort( $dates );
|
149 |
+
$dates = array_slice( $dates, 0, 10, true ); // get only the first 10
|
150 |
+
foreach( $dates as $key => $date )
|
151 |
+
$new_styles[$key] = $styles[$key];
|
152 |
+
break;
|
153 |
+
|
154 |
+
case 'search':
|
155 |
+
if( ! isset( $_POST['keyword'] ) && empty( $_POST['keyword'] ) )
|
156 |
+
return;
|
157 |
+
|
158 |
+
$keyword = esc_attr( $_POST['keyword'] );
|
159 |
+
foreach( $styles as $key => $style ) {
|
160 |
+
$match = false;
|
161 |
+
foreach( $style['details'] as $details )
|
162 |
+
if( stristr( $details, $keyword ) !== false )
|
163 |
+
$match = true;
|
164 |
+
|
165 |
+
if( $match )
|
166 |
+
$new_styles[$key] = $style;
|
167 |
+
}
|
168 |
+
break;
|
169 |
+
|
170 |
+
case 'tag':
|
171 |
+
if( ! isset( $_POST['tags'] ) && empty( $_POST['tags'] ) )
|
172 |
+
return;
|
173 |
+
|
174 |
+
foreach( $styles as $key => $style ) {
|
175 |
+
if( empty( $style['details']['Tags'] ) ) // bail early if empty
|
176 |
+
continue;
|
177 |
+
|
178 |
+
$stripped_tags = str_replace( ' ', '', $style['details']['Tags'] ); // strip all spaces before exploding
|
179 |
+
$style_tags = explode( ',', $stripped_tags );
|
180 |
+
$match = false;
|
181 |
+
|
182 |
+
foreach( $_POST['tags'] as $tag )
|
183 |
+
if( in_array( esc_attr( $tag ), $style_tags ) )
|
184 |
+
$match = true;
|
185 |
+
|
186 |
+
if( $match )
|
187 |
+
$new_styles[$key] = $style;
|
188 |
+
}
|
189 |
+
break;
|
190 |
+
|
191 |
+
default:
|
192 |
+
foreach( $styles as $key => $style )
|
193 |
+
if( in_array( $_POST['sort'], $style['tags'] ) )
|
194 |
+
$new_styles[$key] = $style;
|
195 |
+
break;
|
196 |
+
|
197 |
+
endswitch;
|
198 |
+
|
199 |
+
if( $new_styles )
|
200 |
+
$this->style->styles_list( $new_styles );
|
201 |
+
else
|
202 |
+
echo '<p class="no-themes no-skins">'. __( 'No styles found. Try a different search.', 'cf7skins' ) . '</p>';
|
203 |
+
}
|
204 |
+
|
205 |
+
exit();
|
206 |
+
}
|
207 |
+
|
208 |
+
|
209 |
+
/**
|
210 |
+
* Create tabs for styles or templates
|
211 |
+
*
|
212 |
+
* Function called in admin.php
|
213 |
+
*
|
214 |
+
* @output HTML
|
215 |
+
* @param $post current post object
|
216 |
+
* @param $box metabox arguments
|
217 |
+
* @since 0.0.1
|
218 |
+
*/
|
219 |
+
function generate_tab( $post, $box ) {
|
220 |
+
$option = get_option( CF7SKINS_SLUG );
|
221 |
+
$color_scheme = isset( $option['color_scheme'] ) ? $option['color_scheme'] : '';
|
222 |
+
|
223 |
+
// Template tooltip text
|
224 |
+
// @since 0.2.0
|
225 |
+
$this->tabs['template'] = array(
|
226 |
+
'label' => __( 'Template', 'cf7skins'),
|
227 |
+
'note' => __( 'Each Template acts as an easy to follow guide, which can be adapted to your requirements < Templates >', 'cf7skins'),
|
228 |
+
'help' => __( 'Choose a Template for your form – then you can add, copy or remove fields to match your requirements.', 'cf7skins'),
|
229 |
+
);
|
230 |
+
|
231 |
+
// Style tooltip text
|
232 |
+
// @since 0.2.0
|
233 |
+
$this->tabs['style'] = array(
|
234 |
+
'label' => __( 'Style', 'cf7skins'),
|
235 |
+
'note' => __( 'Each Style covers the full range of standard form elements available within Contact Form 7 <Styles>', 'cf7skins'),
|
236 |
+
'help' => __( 'You can change the Style applied to your form by simply selecting a different Style', 'cf7skins')
|
237 |
+
);
|
238 |
+
?>
|
239 |
+
<h2 class="nav-tab-wrapper <?php echo $color_scheme; ?>">
|
240 |
+
<?php foreach( $this->tabs as $key => $value ) : ?>
|
241 |
+
<a class="nav-tab nav-tab-<?php echo $key; ?> <?php echo $key == 'template'? 'nav-tab-active' : ''; ?>" href="#tab-<?php echo $key; ?>">
|
242 |
+
<?php echo $value['label']; ?>
|
243 |
+
<span class="help balloon-hover balloon" title="<?php echo $value['note']; ?>"><?php _e('!', 'cf7skins'); ?></span>
|
244 |
+
<span class="help balloon-hover balloon" title="<?php echo $value['help']; ?>"><?php _e('?', 'cf7skins'); ?></span>
|
245 |
+
</a>
|
246 |
+
<?php endforeach; ?>
|
247 |
+
<span class="ext-link">
|
248 |
+
<?php $this->links1(); ?>
|
249 |
+
<?php $this->links2(); ?>
|
250 |
+
<?php $this->links3(); ?>
|
251 |
+
</span>
|
252 |
+
</h2>
|
253 |
+
|
254 |
+
<div class="nav-tab-content <?php echo $color_scheme; ?>">
|
255 |
+
<div id="tab-template" class="tab-content clearfix">
|
256 |
+
<?php
|
257 |
+
if ( version_compare( get_bloginfo( 'version' ), '4', '<' ) )
|
258 |
+
$this->template->cf7s_show_template_list_39();
|
259 |
+
else
|
260 |
+
$this->template->cf7s_show_template_list();
|
261 |
+
?>
|
262 |
+
</div>
|
263 |
+
<div id="tab-style" class="tab-content clearfix hidden">
|
264 |
+
<?php
|
265 |
+
if ( version_compare( get_bloginfo( 'version' ), '4', '<' ) )
|
266 |
+
$this->style->cf7s_show_style_list_39();
|
267 |
+
else
|
268 |
+
$this->style->cf7s_show_style_list();
|
269 |
+
?>
|
270 |
+
</div>
|
271 |
+
</div>
|
272 |
+
<?php
|
273 |
+
}
|
274 |
+
|
275 |
+
|
276 |
+
/**
|
277 |
+
* Custom link 1
|
278 |
+
*
|
279 |
+
* @output HTML
|
280 |
+
* @since 0.0.1
|
281 |
+
*/
|
282 |
+
function links1() { ?>
|
283 |
+
<a href="http://docs.cf7skins.com/"><?php _e('Documentation', 'cf7skins'); ?></a> |
|
284 |
+
<a href="http://kb.cf7skins.com/faq/"><?php _e('FAQ', 'cf7skins'); ?></a> |
|
285 |
+
<a href="http://kb.cf7skins.com/category/tutorials/"><?php _e('Tutorials', 'cf7skins'); ?></a> |
|
286 |
+
<a href="http://kb.cf7skins.com/"><?php _e('Knowledge Base', 'cf7skins'); ?></a> |
|
287 |
+
<?php
|
288 |
+
}
|
289 |
+
|
290 |
+
|
291 |
+
/**
|
292 |
+
* Custom link 2
|
293 |
+
*
|
294 |
+
* @output HTML
|
295 |
+
* @since 0.0.1
|
296 |
+
*/
|
297 |
+
function links2() { ?>
|
298 |
+
<a href="http://cf7skins.com/support/"><?php _e('Support', 'cf7skins'); ?></a> |
|
299 |
+
<a href="http://cf7skins.com/blog/"><?php _e('Blog', 'cf7skins'); ?></a> |
|
300 |
+
<a href="http://cf7skins.com/pro-version/"><strong><?php _e('Pro Version', 'cf7skins'); ?></strong></a>
|
301 |
+
<?php
|
302 |
+
}
|
303 |
+
|
304 |
+
|
305 |
+
/**
|
306 |
+
* Custom link 3
|
307 |
+
* @output HTML
|
308 |
+
* @since 0.0.1
|
309 |
+
*/
|
310 |
+
function links3() { ?>
|
311 |
+
<a class="help" href="http://cf7skins.com/" title="Click a link to learn more"><?php _e('?', 'cf7skins'); ?></a>
|
312 |
+
<?php
|
313 |
+
}
|
314 |
+
|
315 |
+
} new CF7_Skins_Admin_Tab();
|
includes/template-instructions.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Default Template Instructions
|
4 |
+
*
|
5 |
+
* @package cf7skins
|
6 |
+
* @author Neil Murray
|
7 |
+
* @version 0.0.2
|
8 |
+
* @since 0.2.0
|
9 |
+
*/
|
10 |
+
?>
|
11 |
+
Click <strong>Expanded View</strong> for more detailed information about this Template.
|
12 |
+
|
13 |
+
To choose this <strong>Template</strong>, click <strong>Select</strong>.
|
14 |
+
|
15 |
+
You can move on to choosing a <strong>Style</strong> or, if you already have a style, scroll up to the top of the page and click the <strong>Save</strong> button.
|
16 |
+
|
17 |
+
<a href="http://docs.cf7skins.com/" target="_blank">Documentation</a> | <a href="http://kb.cf7skins.com/faq/" target="_blank">FAQ</a> | <a href="http://kb.cf7skins.com/category/tutorials/" target="_blank">Tutorials</a> | <a href="http://kb.cf7skins.com/" target="_blank">Knowledge Base</a>
|
includes/template.php
ADDED
@@ -0,0 +1,467 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* CF7 Skins Template Class
|
4 |
+
*
|
5 |
+
* @package cf7skins
|
6 |
+
* @author Neil Murray
|
7 |
+
* @version 0.0.1
|
8 |
+
* @since 0.0.1
|
9 |
+
*/
|
10 |
+
|
11 |
+
|
12 |
+
class CF7_Skin_Template extends CF7_Skin {
|
13 |
+
|
14 |
+
/**
|
15 |
+
* Class constructor
|
16 |
+
*
|
17 |
+
* @since 0.0.1
|
18 |
+
*/
|
19 |
+
function __construct() {
|
20 |
+
parent::__construct(); // Run parent class
|
21 |
+
add_action( 'wp_ajax_load_template', array( &$this, 'load_template' ) );
|
22 |
+
}
|
23 |
+
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Load selected template and translate.
|
27 |
+
*
|
28 |
+
* @uses wpcf7_load_textdomain
|
29 |
+
* @since 0.0.1
|
30 |
+
*/
|
31 |
+
function load_template() {
|
32 |
+
// Check the nonce and if not valid, just die.
|
33 |
+
if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'cf7s' ) )
|
34 |
+
die();
|
35 |
+
|
36 |
+
// Get translation if locale is set and exists in the Contact Form 7 l10n
|
37 |
+
if( isset( $_POST['locale'] )
|
38 |
+
&& ! empty( $_POST['locale'] )
|
39 |
+
&& array_key_exists( $_POST['locale'], wpcf7_l10n() ) )
|
40 |
+
wpcf7_load_textdomain( $_POST['locale'] );
|
41 |
+
|
42 |
+
// Get translation based on post ID
|
43 |
+
if( isset( $_POST['post'] ) && ! empty( $_POST['post'] ) ) {
|
44 |
+
$wpcf7 = wpcf7_contact_form( (int) $_POST['post'] ); // current CF7 form
|
45 |
+
wpcf7_load_textdomain( $wpcf7->locale );
|
46 |
+
}
|
47 |
+
|
48 |
+
// Load selected template file
|
49 |
+
$templates = $this->cf7s_get_template_list();
|
50 |
+
$template = $templates[$_POST['template']];
|
51 |
+
require_once( $template['path'] . trailingslashit( $template['dir'] ) . $template['index'] );
|
52 |
+
exit();
|
53 |
+
}
|
54 |
+
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Get list of templates - sorted alphabetically [a-z]
|
58 |
+
*
|
59 |
+
* @filter cf7skins_templates
|
60 |
+
* @return (array) array of templates
|
61 |
+
* @since 0.0.1
|
62 |
+
*/
|
63 |
+
public static function cf7s_get_template_list() {
|
64 |
+
$templates = self::read_templates( CF7SKINS_TEMPLATES_PATH, CF7SKINS_TEMPLATES_URL );
|
65 |
+
$templates = apply_filters( 'cf7skins_templates', $templates ); // add filter for other plugins
|
66 |
+
ksort( $templates ); // sort by array keys
|
67 |
+
return $templates;
|
68 |
+
}
|
69 |
+
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Get list of templates from the templates directory
|
73 |
+
*
|
74 |
+
* @param $path current plugin templates directory path
|
75 |
+
* @param $url current plugin templates directory url
|
76 |
+
* @return (array) arrays of template information
|
77 |
+
* @since 0.0.1
|
78 |
+
*/
|
79 |
+
public static function read_templates( $path, $url ) {
|
80 |
+
|
81 |
+
$templates = array();
|
82 |
+
|
83 |
+
if ( $handle = opendir( $path ) ) {
|
84 |
+
|
85 |
+
// Uses WP file system for reading description.txt and instruction.txt
|
86 |
+
if( is_admin() ) WP_Filesystem();
|
87 |
+
global $wp_filesystem;
|
88 |
+
|
89 |
+
while (false !== ( $entry = readdir( $handle ) ) )
|
90 |
+
if ( $entry != '.' && $entry != '..' ) {
|
91 |
+
|
92 |
+
// Add default instructions
|
93 |
+
ob_start();
|
94 |
+
include( CF7SKINS_PATH . 'includes/template-instructions.php' );
|
95 |
+
$instructions = ob_get_contents();
|
96 |
+
$instructions = str_replace( "\r", "<br />", $instructions ); // replace newline as HTML <br />
|
97 |
+
ob_end_clean();
|
98 |
+
|
99 |
+
// Step up default headers
|
100 |
+
$default_headers = array(
|
101 |
+
'Template Name' => 'Template Name',
|
102 |
+
'Template URI' => 'Template URI',
|
103 |
+
'Author' => 'Author',
|
104 |
+
'Author URI' => 'Author URI',
|
105 |
+
'Description' => 'Description',
|
106 |
+
'Instructions' => 'Instructions',
|
107 |
+
'Version' => 'Version',
|
108 |
+
'Version Date' => 'Version Date', // with format '2012-02-23 06:12:45'
|
109 |
+
'License' => 'License',
|
110 |
+
'License URI' => 'License URI',
|
111 |
+
'Tags' => 'Tags',
|
112 |
+
'Text Domain' => 'Text Domain' // for external translation slug
|
113 |
+
);
|
114 |
+
|
115 |
+
// Start reading files
|
116 |
+
$files = scandir( $path . $entry );
|
117 |
+
$templates[$entry]['dir'] = $entry;
|
118 |
+
$templates[$entry]['path'] = $path;
|
119 |
+
$templates[$entry]['url'] = $url;
|
120 |
+
foreach( $files as $file ) {
|
121 |
+
if ( $file != '.' && $file != '..' ) {
|
122 |
+
$templates[$entry]['files'][] = $file;
|
123 |
+
$file_path = $path . trailingslashit($entry) . $file;
|
124 |
+
$file_data = get_file_data( $file_path, $default_headers );
|
125 |
+
|
126 |
+
// Load description from description.txt if is existed.
|
127 |
+
// Inline description will be overwrited if description.txt if is existed.
|
128 |
+
$description_file = $path . trailingslashit($entry) . 'description.txt';
|
129 |
+
if ( is_admin() && $wp_filesystem->is_file( $description_file ) ) {
|
130 |
+
$_description = $wp_filesystem->get_contents( $description_file );
|
131 |
+
$file_data['Description'] = str_replace( "\r", "<br />", $_description ); // replace newline as HTML <br />
|
132 |
+
}
|
133 |
+
|
134 |
+
// Use default instruction if there is no instruction
|
135 |
+
$file_data['Instructions'] = $file_data['Instructions'] ? $file_data['Instructions'] : $instructions;
|
136 |
+
|
137 |
+
// Load instruction from instruction.txt if is existed
|
138 |
+
// Inline or default description will be overwrited if description.txt if is existed.
|
139 |
+
$instructions_file = $path . trailingslashit($entry) . 'instruction.txt';
|
140 |
+
if ( is_admin() && $wp_filesystem->is_file( $instructions_file ) ) {
|
141 |
+
$_instructions = $wp_filesystem->get_contents( $instructions_file );
|
142 |
+
$file_data['Instructions'] = str_replace( "\r", "<br />", $_instructions ); // replace newline as HTML <br />
|
143 |
+
}
|
144 |
+
|
145 |
+
if( $file_data['Template Name'] ) {
|
146 |
+
$templates[$entry]['index'] = $file;
|
147 |
+
$templates[$entry]['details'] = $file_data;
|
148 |
+
}
|
149 |
+
}
|
150 |
+
}
|
151 |
+
|
152 |
+
$templates[$entry]['tags'] = array_map('trim', explode( ',', $templates[$entry]['details']['Tags'] ) );
|
153 |
+
}
|
154 |
+
|
155 |
+
closedir( $handle );
|
156 |
+
}
|
157 |
+
|
158 |
+
return $templates;
|
159 |
+
}
|
160 |
+
|
161 |
+
|
162 |
+
/**
|
163 |
+
* Returns a list of template filter tags // move to template-feature.php?
|
164 |
+
*
|
165 |
+
* Uses the same method as get_theme_feature_list() function
|
166 |
+
* @see http://codex.wordpress.org/Function_Reference/get_theme_feature_list
|
167 |
+
* @filter template_filter_tags
|
168 |
+
* @return (array)
|
169 |
+
* @since 0.1.0
|
170 |
+
*/
|
171 |
+
function filter_tags() {
|
172 |
+
$filter_tags = array(
|
173 |
+
|
174 |
+
'Layout' => array (
|
175 |
+
'fixed-layout' => __( 'Fixed Layout', $this->textdomain ),
|
176 |
+
'fluid-layout' => __( 'Fluid Layout', $this->textdomain ),
|
177 |
+
'responsive-layout' => __( 'Responsive Layout', $this->textdomain ),
|
178 |
+
'one-column' => __( 'One Column', $this->textdomain ),
|
179 |
+
'one-two-columns' => __( 'One or Two Column', $this->textdomain ),
|
180 |
+
'one-two-three-columns' => __( 'One, Two or Three Column', $this->textdomain ),
|
181 |
+
),
|
182 |
+
|
183 |
+
'Features' => array (
|
184 |
+
'fieldsets' => __( 'Fieldsets', $this->textdomain ),
|
185 |
+
'background' => __( 'Background', $this->textdomain ),
|
186 |
+
'gradients' => __( 'Gradients', $this->textdomain ),
|
187 |
+
),
|
188 |
+
|
189 |
+
'Subject' => array (
|
190 |
+
'business' => __( 'Business', $this->textdomain ),
|
191 |
+
'event' => __( 'Event', $this->textdomain ),
|
192 |
+
'holiday' => __( 'Holiday', $this->textdomain ),
|
193 |
+
'individual' => __( 'Individual', $this->textdomain ),
|
194 |
+
'seasonal' => __( 'Seasonal', $this->textdomain ),
|
195 |
+
)
|
196 |
+
);
|
197 |
+
|
198 |
+
return apply_filters( 'template_filter_tags', $filter_tags );
|
199 |
+
}
|
200 |
+
|
201 |
+
|
202 |
+
/**
|
203 |
+
* Output template filter tags for backend // move to template-filter.php?
|
204 |
+
*
|
205 |
+
* @compat WP3.9
|
206 |
+
* @output (HTML)
|
207 |
+
* @since 0.0.1
|
208 |
+
*/
|
209 |
+
function cf7s_show_template_list_39() {
|
210 |
+
$val = get_post_meta( $this->get_id(), 'cf7s_template', true ); // Get current post selected template
|
211 |
+
?>
|
212 |
+
<div class="theme-navigation theme-install-php">
|
213 |
+
<span class="theme-count"><?php echo count( $this->cf7s_get_template_list() ); ?></span>
|
214 |
+
<a class="theme-section skin-sort balloon current" title="<?php _e( 'All available Templates', $this->textdomain ); ?>" href="#" data-sort="all"><?php _e('All', $this->textdomain); ?></a>
|
215 |
+
<a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', $this->textdomain ); ?>" href="#" data-sort="featured"><?php _e('Featured', $this->textdomain); ?></a>
|
216 |
+
<a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', $this->textdomain ); ?>" href="#" data-sort="popular"><?php _e('Popular', $this->textdomain); ?></a>
|
217 |
+
<a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', $this->textdomain ); ?>" href="#" data-sort="new"><?php _e('Latest', $this->textdomain); ?></a>
|
218 |
+
|
219 |
+
<div class="theme-top-filters">
|
220 |
+
<!-- <span class="theme-filter" data-filter="photoblogging">Photography</span>
|
221 |
+
<span class="theme-filter" data-filter="responsive-layout">Responsive</span> -->
|
222 |
+
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
223 |
+
<a class="more-filters balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#"><?php _e('Feature Filter', $this->textdomain); ?></a>
|
224 |
+
<?php endif; ?>
|
225 |
+
</div>
|
226 |
+
|
227 |
+
<div class="more-filters-container">
|
228 |
+
<a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
|
229 |
+
<a class="clear-filters button button-secondary" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
230 |
+
<br class="clear">
|
231 |
+
<?php
|
232 |
+
$feature_list = $this->filter_tags();
|
233 |
+
|
234 |
+
foreach ( $feature_list as $feature_name => $features ) {
|
235 |
+
|
236 |
+
echo '<div class="filters-group">';
|
237 |
+
|
238 |
+
$feature_name = esc_html( $feature_name );
|
239 |
+
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
240 |
+
echo '<ol class="feature-group">';
|
241 |
+
foreach ( $features as $feature => $feature_name ) {
|
242 |
+
$feature = esc_attr( $feature );
|
243 |
+
echo '<li><input type="checkbox" id="tab-template-' . $feature . '" value="' . $feature . '" /> ';
|
244 |
+
echo '<label for="tab-template-' . $feature . '">' . $feature_name . '</label></li>';
|
245 |
+
}
|
246 |
+
echo '</ol>';
|
247 |
+
echo '</div>';
|
248 |
+
}
|
249 |
+
?>
|
250 |
+
|
251 |
+
<div class="filtering-by filtered-by">
|
252 |
+
<span><?php _e('Filtering by:', $this->textdomain); ?></span>
|
253 |
+
<div class="tags"></div>
|
254 |
+
<a href="#"><?php _e('Edit', $this->textdomain); ?></a>
|
255 |
+
</div>
|
256 |
+
</div>
|
257 |
+
|
258 |
+
<div class="skins-sort">
|
259 |
+
<label class="balloon" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>" for="skins-sort"><?php _e('Sort by', $this->textdomain); ?></label>
|
260 |
+
<select class="balloon sort-by" name="sort-by" title="" autocomplete="off">
|
261 |
+
<option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
|
262 |
+
<option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
|
263 |
+
<option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
|
264 |
+
</select>
|
265 |
+
<a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
|
266 |
+
</div>
|
267 |
+
<label class="screen-reader-text" for="theme-search-input"><?php _e('Search Templates', $this->textdomain); ?></label>
|
268 |
+
<input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search templates...', $this->textdomain); ?>" />
|
269 |
+
</div>
|
270 |
+
|
271 |
+
<div class="skin-list clearfix">
|
272 |
+
<span class="spinner"></span>
|
273 |
+
<?php $this->templates_list() ?>
|
274 |
+
</div>
|
275 |
+
|
276 |
+
<div class="skin-details clearfix hidden">
|
277 |
+
<?php foreach( $this->cf7s_get_template_list() as $template )
|
278 |
+
$this->cf7s_details_view( $template ); ?>
|
279 |
+
</div>
|
280 |
+
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-template" id="cf7s-template" />
|
281 |
+
<?php
|
282 |
+
}
|
283 |
+
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Output template filter tags for backend // move to template-filter.php?
|
287 |
+
*
|
288 |
+
* @output (HTML)
|
289 |
+
* @since 0.0.1
|
290 |
+
*/
|
291 |
+
function cf7s_show_template_list() {
|
292 |
+
$val = get_post_meta( $this->get_id(), 'cf7s_template', true ); // Get current post selected template
|
293 |
+
?>
|
294 |
+
<div class="wp-filter">
|
295 |
+
<div class="filter-count"><span class="count"><?php echo count( $this->cf7s_get_template_list() ); ?></span></div>
|
296 |
+
|
297 |
+
<ul class="filter-links">
|
298 |
+
<li><a class="theme-section skin-sort balloon current" title="<?php _e( 'All available Templates', $this->textdomain ); ?>" href="#" data-sort="all"><?php _e('All', $this->textdomain); ?></a></li>
|
299 |
+
<li><a class="theme-section skin-sort balloon" title="<?php _e( 'Selected by CF7 Skins Team', $this->textdomain ); ?>" href="#" data-sort="featured"><?php _e('Featured', $this->textdomain); ?></a></li>
|
300 |
+
<li><a class="theme-section skin-sort balloon" title="<?php _e( 'Commonly used', $this->textdomain ); ?>" href="#" data-sort="popular"><?php _e('Popular', $this->textdomain); ?></a></li>
|
301 |
+
<li><a class="theme-section skin-sort balloon" title="<?php _e( 'Recently added', $this->textdomain ); ?>" href="#" data-sort="new"><?php _e('Latest', $this->textdomain); ?></a></li>
|
302 |
+
</ul>
|
303 |
+
|
304 |
+
<?php if( CF7SKINS_FEATURE_FILTER ) : ?>
|
305 |
+
<a class="drawer-toggle balloon" title="<?php _e( 'Narrow your choices based on your specific requirements', $this->textdomain ); ?>" href="#"><?php _e('Feature Filter', $this->textdomain); ?></a>
|
306 |
+
<?php endif; ?>
|
307 |
+
|
308 |
+
<div class="search-form">
|
309 |
+
<label class="screen-reader-text" for="theme-search-input"><?php _e('Search Templates', $this->textdomain); ?></label>
|
310 |
+
<input type="search" class="theme-search skins-search" id="theme-search-input" placeholder="<?php _e('Search templates...', $this->textdomain); ?>" />
|
311 |
+
</div>
|
312 |
+
|
313 |
+
<div class="filter-drawer">
|
314 |
+
<div class="buttons">
|
315 |
+
<a class="apply-filters button button-secondary" href="#"><?php _e('Apply Filters', $this->textdomain); ?><span></span></a>
|
316 |
+
<a class="clear-filters button button-secondary" href="#"><?php _e('Clear', $this->textdomain); ?></a>
|
317 |
+
</div>
|
318 |
+
|
319 |
+
<?php
|
320 |
+
$feature_list = $this->filter_tags();
|
321 |
+
foreach ( $feature_list as $feature_name => $features ) {
|
322 |
+
echo '<div class="filter-group">';
|
323 |
+
$feature_name = esc_html( $feature_name );
|
324 |
+
echo '<h4 class="feature-name">' . $feature_name . '</h4>';
|
325 |
+
echo '<ol class="feature-group">';
|
326 |
+
foreach ( $features as $feature => $feature_name ) {
|
327 |
+
$feature = esc_attr( $feature );
|
328 |
+
echo '<li><input type="checkbox" id="tab-template-' . $feature . '" value="' . $feature . '" /> ';
|
329 |
+
echo '<label for="tab-template-' . $feature . '">' . $feature_name . '</label></li>';
|
330 |
+
}
|
331 |
+
echo '</ol>';
|
332 |
+
echo '</div>';
|
333 |
+
}
|
334 |
+
?>
|
335 |
+
<div class="filtered-by">
|
336 |
+
<span><?php _e('Filtering by:', $this->textdomain); ?></span>
|
337 |
+
<div class="tags"></div>
|
338 |
+
<a href="#"><?php _e('Edit', $this->textdomain); ?></a>
|
339 |
+
</div>
|
340 |
+
</div>
|
341 |
+
<div class="skins-sort">
|
342 |
+
<label class="balloon" title="<?php _e( 'Sort by Name, Date and License (free or pro) – use arrow to reverse sort order', $this->textdomain ); ?>" for="skins-sort"><?php _e('Sort by', $this->textdomain); ?></label>
|
343 |
+
<select class="balloon sort-by" name="sort-by" title="" autocomplete="off">
|
344 |
+
<option value="name" selected="selected"><?php _e( 'Name', $this->textdomain ); ?></option>
|
345 |
+
<option value="date"><?php _e( 'Date', $this->textdomain ); ?></option>
|
346 |
+
<option value="license"><?php _e( 'License', $this->textdomain ); ?></option>
|
347 |
+
</select>
|
348 |
+
<a href="javascript:void(0)" class="dashicons dashicons-arrow-down-alt"></a>
|
349 |
+
</div>
|
350 |
+
</div>
|
351 |
+
|
352 |
+
<div class="skin-list clearfix">
|
353 |
+
<span class="spinner"></span>
|
354 |
+
<?php $this->templates_list() ?>
|
355 |
+
</div>
|
356 |
+
<div class="skin-details clearfix hidden">
|
357 |
+
<?php foreach( $this->cf7s_get_template_list() as $template )
|
358 |
+
$this->cf7s_details_view( $template ); ?>
|
359 |
+
</div>
|
360 |
+
|
361 |
+
<input type="hidden" value="<?php echo $val; ?>" name="cf7s-template" id="cf7s-template" />
|
362 |
+
<?php
|
363 |
+
}
|
364 |
+
|
365 |
+
|
366 |
+
/**
|
367 |
+
* Output each template in the template tab
|
368 |
+
*
|
369 |
+
* @deprecated cf7s_show_template_inlist
|
370 |
+
* @param $templates (array) of all the templates
|
371 |
+
* @output (HTML)
|
372 |
+
* @since 0.1.0
|
373 |
+
*/
|
374 |
+
function templates_list( $templates = array() ) {
|
375 |
+
if( ! $templates )
|
376 |
+
$templates = $this->cf7s_get_template_list();
|
377 |
+
//print_r( $templates );
|
378 |
+
|
379 |
+
// Get the current contact form ID, check if request comes from AJAX
|
380 |
+
$id = isset( $_POST['id'] ) ? $_POST['id'] : $this->get_id();
|
381 |
+
|
382 |
+
foreach( $templates as $key => $template ) {
|
383 |
+
$class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? ' selected' : '';
|
384 |
+
$select_text = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? __('Selected', $this->textdomain ) : __('Select', $this->textdomain );
|
385 |
+
$locale = isset( $_GET['locale'] ) ? $_GET['locale'] : '';
|
386 |
+
$post = isset( $_GET['post'] ) ? (int) $_GET['post'] : '';
|
387 |
+
|
388 |
+
$skin_class = $template['dir'] == get_post_meta( $id, 'cf7s_template', true ) ? 'skin skin-selected' : 'skin';
|
389 |
+
$date = mysql2date( 'U', $template['details']['Version Date'] );
|
390 |
+
$license = strpos( $template['path'], 'cf7skins-pro' ) !== false ? 'pro' : 'free';
|
391 |
+
?>
|
392 |
+
<div class="<?php echo $skin_class; ?>" data-name="<?php echo $key; ?>" data-date="<?php echo $date; ?>" data-license="<?php echo $license; ?>">
|
393 |
+
<div class="wrapper">
|
394 |
+
<h4 class="skin-name"><?php echo $template['details']['Template Name']; ?></h4>
|
395 |
+
<div class="thumbnail">
|
396 |
+
<?php $imgpath = $template['path'] . $template['dir'] . '/thumbnail.png'; ?>
|
397 |
+
<?php $imgurl = $template['url'] . $template['dir'] . '/thumbnail.png'; ?>
|
398 |
+
<img src="<?php echo file_exists( $imgpath ) ? $imgurl : CF7SKINS_URL . 'images/no-preview.png'; ?>" />
|
399 |
+
</div>
|
400 |
+
<ul class="clearfix skin-action">
|
401 |
+
<li><a class="select<?php echo $class; ?> balloon" title="<?php _e( 'Select to apply the Template to your form - appears in the form editing area, where you can edit your requirements.',$this->textdomain ); ?>" data-post="<?php echo $post; ?>" data-locale="<?php echo $locale; ?>" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template"><?php echo $select_text; ?></a></li>
|
402 |
+
<li><a class="detail balloon" title="<?php _e( 'Show detailed information about this Template, with layout, description and usage details.' ,$this->textdomain ); ?>" href="#tpl-<?php $this->get_slug_name( $template ); ?>-detail"><?php _e('Details', $this->textdomain ); ?></a></li>
|
403 |
+
</ul>
|
404 |
+
</div>
|
405 |
+
</div>
|
406 |
+
<?php
|
407 |
+
}
|
408 |
+
}
|
409 |
+
|
410 |
+
|
411 |
+
/**
|
412 |
+
* Output expanded and details view of selected template
|
413 |
+
*
|
414 |
+
* @TODO Display in pop-over window
|
415 |
+
* @param $template current processed template
|
416 |
+
* @output (HTML)
|
417 |
+
* @since 0.0.1
|
418 |
+
*/
|
419 |
+
function cf7s_details_view( $template ) {
|
420 |
+
|
421 |
+
$class = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? ' selected' : ''; // set link class
|
422 |
+
$select_text = $template['dir'] == get_post_meta( $this->get_id(), 'cf7s_template', true ) ? __('Selected', $this->textdomain) : __('Select', $this->textdomain);
|
423 |
+
?>
|
424 |
+
<div id="tpl-<?php $this->get_slug_name( $template ); ?>-detail" class="details hidden">
|
425 |
+
<div class="details-view">
|
426 |
+
<div class="block-thumbnail">
|
427 |
+
<img src="<?php echo $template['url'] . $template['dir'] . '/thumbnail.png'; ?>" />
|
428 |
+
</div>
|
429 |
+
<div class="block-details"><div>
|
430 |
+
<ul class="clearfix skin-action">
|
431 |
+
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Use Expanded View to view template features - shows layout, description & usage details.', $this->textdomain ); ?>"><?php _e('Expanded View', $this->textdomain ); ?></a></li>
|
432 |
+
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form Editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
433 |
+
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/Grid view.', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
434 |
+
</ul>
|
435 |
+
<?php // print_r( $template ); ?>
|
436 |
+
<h1><?php echo $template['details']['Template Name']; ?></h1>
|
437 |
+
|
438 |
+
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
439 |
+
<p class="description"><?php echo $template['details']['Description']; ?></p>
|
440 |
+
|
441 |
+
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
442 |
+
<p class="description"><?php echo $template['details']['Instructions']; ?></p>
|
443 |
+
</div></div>
|
444 |
+
</div>
|
445 |
+
<div class="expanded-view">
|
446 |
+
<ul class="clearfix skin-action">
|
447 |
+
<li><a class="balloon view" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Return to Details View', $this->textdomain ); ?>"><?php _e('Details View', $this->textdomain ); ?></a></li>
|
448 |
+
<li><a class="balloon select<?php echo $class; ?>" data-value="<?php $this->get_slug_name( $template ); ?>" href="#cf7s-template" title="<?php _e( 'Select to apply the Template to your form - appears in the Form editing area, where you can edit to your requirements.', $this->textdomain ); ?>"><?php echo $select_text; ?></a></li>
|
449 |
+
<li><a class="balloon close" href="#" title="<?php _e( 'Return to Template Gallery/ Grid View', $this->textdomain ); ?>"><?php _e('Close', $this->textdomain ); ?></a></li>
|
450 |
+
</ul>
|
451 |
+
|
452 |
+
<h1><?php echo $template['details']['Template Name']; ?></h1>
|
453 |
+
|
454 |
+
<div class="large-thumbnail">
|
455 |
+
<img src="<?php echo $this->get_skin_modal( $template ); ?>" />
|
456 |
+
</div>
|
457 |
+
<h4><strong><?php _e('Description', $this->textdomain ); ?></strong></h4>
|
458 |
+
<p class="description"><?php echo $template['details']['Description']; ?></p>
|
459 |
+
|
460 |
+
<h4><strong><?php _e('Instructions', $this->textdomain ); ?></strong></h4>
|
461 |
+
<p class="description"><?php echo $template['details']['Instructions']; ?></p>
|
462 |
+
</div>
|
463 |
+
</div>
|
464 |
+
<?php
|
465 |
+
}
|
466 |
+
|
467 |
+
} // End class
|
index.php
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: Contact Form 7 Skins
|
4 |
+
* Plugin URI: http://cf7skins.com
|
5 |
+
* Description: Adds Skins including Templates & Styles to Contact Form 7. Requires Contact Form 7.
|
6 |
+
* Version: 1.0
|
7 |
+
* Author: Neil Murray
|
8 |
+
* Author URI: http://cf7skins.com
|
9 |
+
* License: GPL-2.0+
|
10 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
11 |
+
* Text Domain: cf7skins
|
12 |
+
* Domain Path: languages
|
13 |
+
*
|
14 |
+
* Contact Form 7 Skins is free software: you can redistribute it and/or modify
|
15 |
+
* it under the terms of the GNU General Public License as published by
|
16 |
+
* the Free Software Foundation, either version 2 of the License, or
|
17 |
+
* any later version.
|
18 |
+
*
|
19 |
+
* Contact Form 7 Skins is distributed in the hope that it will be useful,
|
20 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 |
+
* GNU General Public License for more details.
|
23 |
+
*
|
24 |
+
* You should have received a copy of the GNU General Public License
|
25 |
+
* along with Contact Form 7 Skins. If not, see <http://www.gnu.org/licenses/>.
|
26 |
+
*
|
27 |
+
* @package cf7skins
|
28 |
+
* @author Neil Murray
|
29 |
+
* @copyright Copyright (c) 2014, Neil Murray
|
30 |
+
*/
|
31 |
+
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Exit if accessed directly
|
35 |
+
*
|
36 |
+
* @since 0.0.1
|
37 |
+
*/
|
38 |
+
if ( ! defined( 'ABSPATH' ) )
|
39 |
+
exit;
|
40 |
+
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Define global constants
|
44 |
+
*
|
45 |
+
* @since 0.0.1
|
46 |
+
*/
|
47 |
+
define( 'CF7SKINS_VERSION', '1.0' );
|
48 |
+
define( 'CF7SKINS_SLUG', 'cf7skins' );
|
49 |
+
define( 'CF7SKINS_TEXTDOMAIN', 'cf7skins' );
|
50 |
+
define( 'CF7SKINS_FEATURE_FILTER', false ); // @since 0.4.0
|
51 |
+
define( 'CF7SKINS_PATH', plugin_dir_path( __FILE__ ) );
|
52 |
+
define( 'CF7SKINS_URL', plugin_dir_url( __FILE__ ) );
|
53 |
+
define( 'CF7SKINS_STYLES_PATH', CF7SKINS_PATH . 'skins/styles/' );
|
54 |
+
define( 'CF7SKINS_STYLES_URL', CF7SKINS_URL . 'skins/styles/' );
|
55 |
+
define( 'CF7SKINS_TEMPLATES_PATH', CF7SKINS_PATH . 'skins/templates/' );
|
56 |
+
define( 'CF7SKINS_TEMPLATES_URL', CF7SKINS_URL . 'skins/templates/' );
|
57 |
+
define( 'CF7SKINS_UPDATE_URL', 'http://cf7skins.com' ); // @since 0.7.0
|
58 |
+
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Register plugin
|
62 |
+
*
|
63 |
+
* @since 0.0.1
|
64 |
+
*/
|
65 |
+
register_activation_hook( __FILE__, 'cf7skins_activation_hook' );
|
66 |
+
add_action( 'admin_init', 'cf7skins_on_activation' );
|
67 |
+
add_action( 'upgrader_process_complete', 'cf7skins_upgrader_process_complete', 1, 2 );
|
68 |
+
|
69 |
+
|
70 |
+
/**
|
71 |
+
* Create option for further action after plugin was activated
|
72 |
+
*
|
73 |
+
* @since 0.2.0
|
74 |
+
*/
|
75 |
+
function cf7skins_activation_hook() {
|
76 |
+
add_option( 'cf7skins_activated', true );
|
77 |
+
}
|
78 |
+
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Delete plugin version after upgrading
|
82 |
+
*
|
83 |
+
* See https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-upgrader.php#L615
|
84 |
+
* @param $instance WP upgrader class object
|
85 |
+
* @param $args array( plugin => cf7skins/index.php, type => plugin, action => update )
|
86 |
+
* @since 0.6.1
|
87 |
+
*/
|
88 |
+
function cf7skins_upgrader_process_complete( $instance, $args ) {
|
89 |
+
if( 'cf7skins/index.php' == $args['plugin'] && 'update' == $args['action'] )
|
90 |
+
delete_option( 'cf7skins_version_installed' );
|
91 |
+
}
|
92 |
+
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Activation checks
|
96 |
+
*
|
97 |
+
* @since 0.2.0
|
98 |
+
*/
|
99 |
+
function cf7skins_on_activation() {
|
100 |
+
|
101 |
+
// Check if Contact Form 7 is installed
|
102 |
+
if( ! defined( 'WPCF7_VERSION' ) )
|
103 |
+
return;
|
104 |
+
|
105 |
+
// Return if activation option is not exist after plugin was activated
|
106 |
+
if( ! get_option( 'cf7skins_activated' ) )
|
107 |
+
return;
|
108 |
+
|
109 |
+
// Add plugin version to the database for further upgrade checking
|
110 |
+
// @since 0.6.1
|
111 |
+
if ( ! get_option( 'cf7skins_version_installed' ) )
|
112 |
+
add_option( 'cf7skins_version_installed', CF7SKINS_VERSION );
|
113 |
+
|
114 |
+
if ( current_user_can( 'activate_plugins' ) && is_admin() )
|
115 |
+
delete_option( 'cf7skins_activated' ); // delete activation checker, no need more redirects
|
116 |
+
}
|
117 |
+
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Load the plugin
|
121 |
+
* @since 0.0.1
|
122 |
+
*/
|
123 |
+
add_action( 'plugins_loaded', 'cf7skins_plugin_loaded', 1 );
|
124 |
+
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Initialize the plugin
|
128 |
+
* @since 0.0.1
|
129 |
+
*/
|
130 |
+
function cf7skins_plugin_loaded() {
|
131 |
+
|
132 |
+
// Load the plugin translation
|
133 |
+
// @since 0.1.0
|
134 |
+
load_plugin_textdomain( 'cf7skins', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
135 |
+
|
136 |
+
// Check if CF7 is installed
|
137 |
+
if( defined( 'WPCF7_VERSION' ) ) {
|
138 |
+
|
139 |
+
require_once( CF7SKINS_PATH . 'includes/skin.php' );
|
140 |
+
require_once( CF7SKINS_PATH . 'includes/template.php' );
|
141 |
+
require_once( CF7SKINS_PATH . 'includes/style.php' );
|
142 |
+
require_once( CF7SKINS_PATH . 'includes/contact.php' );
|
143 |
+
|
144 |
+
// Load required files only for admin/backend
|
145 |
+
if( is_admin() ) {
|
146 |
+
require_once( CF7SKINS_PATH . 'includes/admin.php' );
|
147 |
+
require_once( CF7SKINS_PATH . 'includes/tab.php' );
|
148 |
+
}
|
149 |
+
|
150 |
+
require_once( CF7SKINS_PATH . 'includes/logs.php' );
|
151 |
+
require_once( CF7SKINS_PATH . 'includes/settings.php' );
|
152 |
+
|
153 |
+
if( ! class_exists( 'EDD_SL_Plugin_Updater' ) )
|
154 |
+
require_once( CF7SKINS_PATH . 'includes/EDD_SL_Plugin_Updater.php' );
|
155 |
+
|
156 |
+
// Display admin notifications
|
157 |
+
} else {
|
158 |
+
add_action( 'admin_notices', 'cf7skins_require_admin_message' );
|
159 |
+
}
|
160 |
+
}
|
161 |
+
|
162 |
+
|
163 |
+
/**
|
164 |
+
* Display admin notifications if Contact Form 7 is not installed
|
165 |
+
* @since 0.0.1
|
166 |
+
*/
|
167 |
+
function cf7skins_require_admin_message() {
|
168 |
+
if ( current_user_can( 'manage_options' ) ) {
|
169 |
+
|
170 |
+
$message = '';
|
171 |
+
|
172 |
+
if( ! defined( 'WPCF7_VERSION' ) )
|
173 |
+
$message = sprintf( __( '<a href="%s">Contact Form 7</a> must be installed to use this plugin.' , 'cf7skins' ), 'https://wordpress.org/plugins/contact-form-7/' );
|
174 |
+
|
175 |
+
echo "<div id='cf7skins-message' class='updated'>
|
176 |
+
<p><strong>Contact Form 7 Skins</strong><br />$message</p>
|
177 |
+
</div>";
|
178 |
+
}
|
179 |
+
}
|
js/jquery.admin.js
ADDED
@@ -0,0 +1,403 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* CSS Properties based on WP versions
|
3 |
+
* WP-3.9 | WP4.0
|
4 |
+
* -----------------------------------------------
|
5 |
+
* a.more-filters | a.drawer-toggle
|
6 |
+
* div.filtering-by | div.filtered-by
|
7 |
+
**/
|
8 |
+
|
9 |
+
(function($) {
|
10 |
+
|
11 |
+
var l10n = cf7s.l10n; // translation
|
12 |
+
|
13 |
+
cf7sAdmin = {
|
14 |
+
init : function( url ) {
|
15 |
+
var t = this, post_id;
|
16 |
+
this.post_id = $("#post_ID").val();
|
17 |
+
|
18 |
+
$("#cf7s .nav-tab:nth-child(1)").addClass("nav-tab-active");
|
19 |
+
$("#cf7s .nav-tab-content > div:nth-child(1)").addClass("active");
|
20 |
+
$("#cf7s .nav-tab").click( function(e) {
|
21 |
+
t.tab(this); return false;
|
22 |
+
});
|
23 |
+
$("#cf7s a.select").live("click", function(){
|
24 |
+
t.select(this); return false;
|
25 |
+
});
|
26 |
+
$("#cf7s a.detail").live("click", function(){
|
27 |
+
t.details(this); return false;
|
28 |
+
});
|
29 |
+
$("#cf7s a.close").live("click", function(){
|
30 |
+
t.close(this); return false;
|
31 |
+
});
|
32 |
+
$("#cf7s a.view").click( function() {
|
33 |
+
t.view(this); return false;
|
34 |
+
});
|
35 |
+
$("#cf7s a.skin-sort").click( function() {
|
36 |
+
t.sort(this); return false;
|
37 |
+
});
|
38 |
+
$("#cf7s a.more-filters").add("#cf7s a.drawer-toggle").click( function() {
|
39 |
+
t.filters(this); return false;
|
40 |
+
});
|
41 |
+
$("#cf7s input[type='checkbox']").click( function() {
|
42 |
+
t.addFilter(this);
|
43 |
+
});
|
44 |
+
$("#cf7s .clear-filters").add("#cf7s a.drawer-toggle").add("#cf7s a.more-filters").click( function(e) {
|
45 |
+
t.clearFilters(e);
|
46 |
+
});
|
47 |
+
$("#cf7s .apply-filters").click( function(e) {
|
48 |
+
t.applyFilters(e);
|
49 |
+
});
|
50 |
+
$("#cf7s .filtered-by a").click( function(e) {
|
51 |
+
t.backToFilters(e);
|
52 |
+
});
|
53 |
+
$("#cf7s .skins-search").keyup( function() {
|
54 |
+
t.skinsSearch(this);
|
55 |
+
});
|
56 |
+
$("#cf7s .skins-search").keypress( function(event) {
|
57 |
+
if ( event.keyCode == 13 )
|
58 |
+
event.preventDefault();
|
59 |
+
});
|
60 |
+
|
61 |
+
// Skin ordering for template and style tab
|
62 |
+
$("#cf7s .dashicons").on( "click", function(e) {
|
63 |
+
t.orderSkin(e);
|
64 |
+
});
|
65 |
+
$("#cf7s select.sort-by").change( function(e) {
|
66 |
+
var tab = $(this).closest(".tab-content");
|
67 |
+
$(".dashicons", tab).trigger( "click" );
|
68 |
+
});
|
69 |
+
|
70 |
+
// Set tipsy defaults
|
71 |
+
if ( $.isFunction( $.fn.tipsy ) ) {
|
72 |
+
$.fn.tipsy.defaults = {
|
73 |
+
delayIn: 0, // delay before showing tooltip (ms)
|
74 |
+
delayOut: 0, // delay before hiding tooltip (ms)
|
75 |
+
fade: false, // fade tooltips in/out?
|
76 |
+
fallback: '', // fallback text to use when no tooltip text
|
77 |
+
gravity: 'n', // gravity nw | n | ne | w | e | sw | s | se
|
78 |
+
html: false, // is tooltip content HTML?
|
79 |
+
live: false, // use live event support?
|
80 |
+
offset: 0, // pixel offset of tooltip from element
|
81 |
+
opacity: 1, // opacity of tooltip
|
82 |
+
title: 'title', // attribute/callback containing tooltip text
|
83 |
+
trigger: 'hover' // how tooltip is triggered - hover | focus | manual
|
84 |
+
};
|
85 |
+
|
86 |
+
$(".balloon").tipsy({gravity: 'sw'});
|
87 |
+
$("span.ext-link > a.help").tipsy({gravity: 'se'});
|
88 |
+
}
|
89 |
+
|
90 |
+
// Check if any changes have been made
|
91 |
+
var formmodified = false;
|
92 |
+
var submitted = false;
|
93 |
+
|
94 |
+
$('#wpcf7-form, #cf7s-style, #cf7s-template').change(function(){
|
95 |
+
$('#message').slideToggle( "slow", function() {
|
96 |
+
$(this).remove();
|
97 |
+
});
|
98 |
+
|
99 |
+
formmodified = true;
|
100 |
+
});
|
101 |
+
|
102 |
+
// Set new variable value when submitting form
|
103 |
+
$("form").submit(function() {
|
104 |
+
submitted = true;
|
105 |
+
});
|
106 |
+
|
107 |
+
// Display saving notification
|
108 |
+
window.onbeforeunload = confirmExit;
|
109 |
+
function confirmExit() {
|
110 |
+
if ( formmodified && ! submitted ) {
|
111 |
+
return 'Changes have been made, are you sure you want to leave?';
|
112 |
+
}
|
113 |
+
}
|
114 |
+
},
|
115 |
+
|
116 |
+
tab : function(e) {
|
117 |
+
var id = $(e).attr("href");
|
118 |
+
$(e).siblings("a").removeClass("nav-tab-active");
|
119 |
+
$(e).addClass("nav-tab-active");
|
120 |
+
$(".nav-tab-content > div").addClass("hidden");
|
121 |
+
$(id).removeClass("hidden").addClass("active");
|
122 |
+
},
|
123 |
+
|
124 |
+
select : function(e) {
|
125 |
+
var inp, pos, wrap, details, skin;
|
126 |
+
skin = $(e).attr("data-value"),
|
127 |
+
inp = $(e).attr("href");
|
128 |
+
wrap = $(e).closest(".tab-content");
|
129 |
+
$(inp).val(skin).trigger('change');
|
130 |
+
details = $(e).closest(".details");
|
131 |
+
|
132 |
+
// remove and add highlight to the selected skin
|
133 |
+
$(".skin", wrap).removeClass("skin-selected");
|
134 |
+
//$(e).closest(".skin").addClass("skin-selected");
|
135 |
+
$('a[data-value="'+skin+'"]').closest(".skin").addClass("skin-selected");
|
136 |
+
|
137 |
+
// remove link decoration and change text
|
138 |
+
$("a.select", wrap).removeClass("selected").text( l10n.select );
|
139 |
+
$('a.select[data-value="'+skin+'"]', wrap).addClass("selected").text( l10n.selected );
|
140 |
+
$('a.select[data-value="'+skin+'"]', details).addClass("selected").text( l10n.selected );
|
141 |
+
|
142 |
+
// Only for template
|
143 |
+
if( inp.indexOf( "template" ) != -1 ) {
|
144 |
+
|
145 |
+
// Get the CF7 content position and animate to top
|
146 |
+
// pos = $("#wpcf7-form").position();
|
147 |
+
// $("body, html").animate({ scrollTop: pos.top }, 800 );
|
148 |
+
|
149 |
+
$("#wpcf7-form").val( l10n.loading );
|
150 |
+
|
151 |
+
$.post( ajaxurl, {
|
152 |
+
action: cf7s.load,
|
153 |
+
template: skin,
|
154 |
+
post: $(e).attr("data-post"),
|
155 |
+
locale: $(e).attr("data-locale"),
|
156 |
+
nonce: cf7s.nonce
|
157 |
+
}, function( data ) {
|
158 |
+
$("#wpcf7-form").val( data ).trigger('change');
|
159 |
+
});
|
160 |
+
}
|
161 |
+
},
|
162 |
+
|
163 |
+
details : function(e) {
|
164 |
+
var id = $(e).attr("href");
|
165 |
+
$(e).closest(".tab-content").find(".skin-details").show();
|
166 |
+
$(e).closest(".tab-content").find(".skin-list").hide();
|
167 |
+
$(id).removeClass("hidden");
|
168 |
+
},
|
169 |
+
|
170 |
+
close : function(e) {
|
171 |
+
$(".details").addClass("hidden");
|
172 |
+
$(".skin-list").show();
|
173 |
+
$(".skin-details").hide();
|
174 |
+
},
|
175 |
+
|
176 |
+
view : function(e) {
|
177 |
+
var inp, pos, wrap;
|
178 |
+
skin = $(e).attr("data-value"),
|
179 |
+
wrap = $(e).closest(".details");
|
180 |
+
|
181 |
+
if( l10n.expanded == $(e).text() ) {
|
182 |
+
$(".expanded-view", wrap).show();
|
183 |
+
$(".details-view", wrap).hide();
|
184 |
+
} else {
|
185 |
+
$(".expanded-view", wrap).hide();
|
186 |
+
$(".details-view", wrap).show();
|
187 |
+
}
|
188 |
+
},
|
189 |
+
|
190 |
+
sort : function(e) {
|
191 |
+
if( cf7sAdmin.load )
|
192 |
+
return false;
|
193 |
+
|
194 |
+
cf7sAdmin.load = true;
|
195 |
+
|
196 |
+
var tab = $(e).closest(".tab-content");
|
197 |
+
|
198 |
+
// add current class
|
199 |
+
$(".skin-sort", tab).removeClass("current");
|
200 |
+
$( tab ).removeClass( 'filters-applied more-filters-opened' );
|
201 |
+
$(e).closest(".tab-content").find(".skin-list").show();
|
202 |
+
$(e).addClass("current");
|
203 |
+
|
204 |
+
// empty tab content
|
205 |
+
$(".skin-list .skin", tab).remove();
|
206 |
+
$(".skin-list .spinner", tab).show();
|
207 |
+
$(".skin-list .no-skins", tab).remove();
|
208 |
+
|
209 |
+
// hide current if detailed/expanded view if visible
|
210 |
+
$(".skin-details", tab).hide();
|
211 |
+
$(".skin-details .details", tab).addClass("hidden");
|
212 |
+
|
213 |
+
// sort it
|
214 |
+
$.post( ajaxurl, {
|
215 |
+
action: cf7s.sort,
|
216 |
+
tab: $(tab).attr("id"),
|
217 |
+
sort: $(e).attr( "data-sort" ),
|
218 |
+
id: cf7sAdmin.post_id,
|
219 |
+
nonce: cf7s.nonce
|
220 |
+
}, function( data ) {
|
221 |
+
$(".skin-list .spinner", tab).hide();
|
222 |
+
$(".skin-list", tab).append(data);
|
223 |
+
$(".dashicons", tab).trigger( "click" );
|
224 |
+
$(".theme-count", tab).text( $(e).closest(".tab-content").find(".skin").length );
|
225 |
+
cf7sAdmin.load = false;
|
226 |
+
});
|
227 |
+
},
|
228 |
+
|
229 |
+
filters : function(e) {
|
230 |
+
var activetab = $(e).closest(".tab-content");
|
231 |
+
if ( $( activetab ).hasClass( 'filters-applied' ) ) {
|
232 |
+
return this.backToFilters();
|
233 |
+
}
|
234 |
+
if ( $( activetab ).hasClass( 'more-filters-opened' ) && this.filtersChecked() ) {
|
235 |
+
return this.addFilter();
|
236 |
+
}
|
237 |
+
$( activetab ).toggleClass( 'more-filters-opened' );
|
238 |
+
$(activetab).find(".skin-list").toggle();
|
239 |
+
},
|
240 |
+
|
241 |
+
// Clicking on a checkbox to add another filter to the request
|
242 |
+
addFilter: function() {
|
243 |
+
this.filtersChecked();
|
244 |
+
},
|
245 |
+
|
246 |
+
// Applying filters triggers a tag request
|
247 |
+
applyFilters: function( event ) {
|
248 |
+
var tab = $(event.currentTarget).closest(".tab-content"),
|
249 |
+
tabID = $(tab).attr("id");
|
250 |
+
|
251 |
+
var name,
|
252 |
+
tags = this.filtersChecked(),
|
253 |
+
request = { tag: tags },
|
254 |
+
filteringBy = $( '.filtered-by .tags', tab );
|
255 |
+
|
256 |
+
if ( event ) {
|
257 |
+
event.preventDefault();
|
258 |
+
}
|
259 |
+
|
260 |
+
if( ! tags ) {
|
261 |
+
alert( l10n.emptyfilter );
|
262 |
+
return;
|
263 |
+
}
|
264 |
+
|
265 |
+
$( 'body' ).addClass( 'filters-applied' );
|
266 |
+
$( '.theme-section.current' ).removeClass( 'current' );
|
267 |
+
filteringBy.empty();
|
268 |
+
|
269 |
+
_.each( tags, function( tag ) {
|
270 |
+
name = $( 'label[for="' + tabID + '-' + tag + '"]' ).text();
|
271 |
+
filteringBy.append( '<span class="tag">' + name + '</span>' );
|
272 |
+
});
|
273 |
+
|
274 |
+
$(".skin-list .skin", tab).remove();
|
275 |
+
$(".skin-list .no-skins", tab).remove();
|
276 |
+
$(".skin-list .spinner", tab).show();
|
277 |
+
|
278 |
+
if( tags )
|
279 |
+
$.post( ajaxurl, {
|
280 |
+
action: cf7s.sort,
|
281 |
+
tab: $(tab).attr("id"),
|
282 |
+
sort: "tag",
|
283 |
+
tags: tags,
|
284 |
+
nonce: cf7s.nonce
|
285 |
+
}, function( data ) {
|
286 |
+
$(".skin-list .spinner", tab).hide();
|
287 |
+
$(".skin-list", tab).append(data).show();
|
288 |
+
$(".theme-count", tab).text( $(tab).find(".skin").length );
|
289 |
+
cf7sAdmin.load = false;
|
290 |
+
});
|
291 |
+
},
|
292 |
+
|
293 |
+
filtersChecked: function() {
|
294 |
+
var items = $( '.feature-group' ).find( ':checkbox' ),
|
295 |
+
tags = [];
|
296 |
+
|
297 |
+
_.each( items.filter( ':checked' ), function( item ) {
|
298 |
+
tags.push( $( item ).prop( 'value' ) );
|
299 |
+
});
|
300 |
+
|
301 |
+
// When no filters are checked, restore initial state and return
|
302 |
+
if ( tags.length === 0 ) {
|
303 |
+
$( '.apply-filters' ).find( 'span' ).text( '' );
|
304 |
+
$( '.clear-filters' ).hide();
|
305 |
+
$( 'body' ).removeClass( 'filters-applied' );
|
306 |
+
return false;
|
307 |
+
}
|
308 |
+
|
309 |
+
$( '.apply-filters' ).find( 'span' ).text( tags.length );
|
310 |
+
$( '.clear-filters' ).css( 'display', 'inline-block' );
|
311 |
+
|
312 |
+
return tags;
|
313 |
+
},
|
314 |
+
|
315 |
+
clearFilters: function( event ) {
|
316 |
+
var items = $( '.feature-group' ).find( ':checkbox' ),
|
317 |
+
self = this;
|
318 |
+
|
319 |
+
event.preventDefault();
|
320 |
+
|
321 |
+
_.each( items.filter( ':checked' ), function( item ) {
|
322 |
+
$( item ).prop( 'checked', false );
|
323 |
+
return self.filtersChecked();
|
324 |
+
});
|
325 |
+
},
|
326 |
+
|
327 |
+
backToFilters: function( event ) {
|
328 |
+
if ( event ) {
|
329 |
+
event.preventDefault();
|
330 |
+
}
|
331 |
+
|
332 |
+
$( 'body' ).removeClass( 'filters-applied' );
|
333 |
+
},
|
334 |
+
|
335 |
+
skinsSearch: function(e) {
|
336 |
+
if( cf7sAdmin.load || $(e).val().length < 3 )
|
337 |
+
return;
|
338 |
+
|
339 |
+
var tab;
|
340 |
+
tab = $(e).closest(".tab-content");
|
341 |
+
|
342 |
+
$(".skin-list .skin", tab).remove();
|
343 |
+
$(".skin-list .spinner", tab).show();
|
344 |
+
$(".skin-list .no-skins", tab).remove();
|
345 |
+
|
346 |
+
clearTimeout( $.data( e, "cf7sadmin" ) );
|
347 |
+
|
348 |
+
var wait = setTimeout( function() {
|
349 |
+
$.post( ajaxurl, {
|
350 |
+
action: cf7s.sort,
|
351 |
+
tab: $(tab).attr("id"),
|
352 |
+
sort: "search",
|
353 |
+
id: cf7sAdmin.post_id,
|
354 |
+
keyword: $(e).val(),
|
355 |
+
nonce: cf7s.nonce
|
356 |
+
}, function( data ) {
|
357 |
+
$(".skin-list", tab).append(data);
|
358 |
+
$(".skin-list .spinner", tab).hide();
|
359 |
+
$(".theme-count", tab).text( $(e).closest(".tab-content").find(".skin").length );
|
360 |
+
cf7sAdmin.load = false;
|
361 |
+
});
|
362 |
+
}, 750);
|
363 |
+
|
364 |
+
$(e).data( "cf7sadmin", wait );
|
365 |
+
},
|
366 |
+
|
367 |
+
orderSkin : function(e) {
|
368 |
+
var icon, tab, skinlist, sortby, skins, attrs;
|
369 |
+
|
370 |
+
icon = $(e.currentTarget);
|
371 |
+
|
372 |
+
// stackoverflow.com/questions/6674669/in-jquery-how-can-i-tell-between-a-programatic-and-user-click#answer-6674806
|
373 |
+
if( e.hasOwnProperty('originalEvent') ) {
|
374 |
+
if( icon.hasClass("dashicons-arrow-up-alt") )
|
375 |
+
icon.removeClass("dashicons-arrow-up-alt").addClass("dashicons-arrow-down-alt");
|
376 |
+
else
|
377 |
+
icon.removeClass("dashicons-arrow-down-alt").addClass("dashicons-arrow-up-alt");
|
378 |
+
}
|
379 |
+
|
380 |
+
tab = icon.closest(".tab-content");
|
381 |
+
skinlist = $(tab).find(".skin-list");
|
382 |
+
sortby = $(tab).find("select.sort-by").val();
|
383 |
+
|
384 |
+
skins = [];
|
385 |
+
skinlist.children('.skin').each( function(i,e) {
|
386 |
+
skins.push( $(e).attr("data-"+sortby) );
|
387 |
+
});
|
388 |
+
|
389 |
+
skins.sort();
|
390 |
+
|
391 |
+
if( icon.hasClass("dashicons-arrow-up-alt") )
|
392 |
+
skins.reverse();
|
393 |
+
|
394 |
+
console.log( "["+sortby+"] "+skins ); // Use to inspect sort in console.log
|
395 |
+
|
396 |
+
$.each( skins, function(i,e){
|
397 |
+
skinlist.append( $(".skin[data-"+sortby+"='"+e+"']", skinlist) );
|
398 |
+
});
|
399 |
+
},
|
400 |
+
};
|
401 |
+
|
402 |
+
$(document).ready(function(){cf7sAdmin.init();});
|
403 |
+
})(jQuery);
|
js/jquery.settings.js
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(function($) {
|
2 |
+
cf7sSettings = {
|
3 |
+
init : function( url ) {
|
4 |
+
var t = this;
|
5 |
+
|
6 |
+
// Select color scheme
|
7 |
+
$(".color-option").click( function() {
|
8 |
+
t.selectScheme($(this));
|
9 |
+
});
|
10 |
+
|
11 |
+
// Disable Submit via Enter Key on License Input box
|
12 |
+
$(".license-key").keydown( function(event) {
|
13 |
+
if(event.keyCode == 13) {
|
14 |
+
event.preventDefault();
|
15 |
+
return false;
|
16 |
+
}
|
17 |
+
});
|
18 |
+
},
|
19 |
+
|
20 |
+
// Update selected color scheme
|
21 |
+
selectScheme : function(el) {
|
22 |
+
$(el).siblings( '.selected' ).removeClass( 'selected' );
|
23 |
+
$(el).addClass( 'selected' ).find( 'input[type="radio"]' ).prop( 'checked', true );
|
24 |
+
}
|
25 |
+
};
|
26 |
+
|
27 |
+
$(document).ready(function(){cf7sSettings.init();});
|
28 |
+
})(jQuery);
|
js/jquery.tipsy.js
ADDED
@@ -0,0 +1,258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// tipsy, facebook style tooltips for jquery
|
2 |
+
// version 1.0.0a
|
3 |
+
// (c) 2008-2010 jason frame [jason@onehackoranother.com]
|
4 |
+
// released under the MIT license
|
5 |
+
|
6 |
+
(function($) {
|
7 |
+
|
8 |
+
function maybeCall(thing, ctx) {
|
9 |
+
return (typeof thing == 'function') ? (thing.call(ctx)) : thing;
|
10 |
+
};
|
11 |
+
|
12 |
+
function isElementInDOM(ele) {
|
13 |
+
while (ele = ele.parentNode) {
|
14 |
+
if (ele == document) return true;
|
15 |
+
}
|
16 |
+
return false;
|
17 |
+
};
|
18 |
+
|
19 |
+
function Tipsy(element, options) {
|
20 |
+
this.$element = $(element);
|
21 |
+
this.options = options;
|
22 |
+
this.enabled = true;
|
23 |
+
this.fixTitle();
|
24 |
+
};
|
25 |
+
|
26 |
+
Tipsy.prototype = {
|
27 |
+
show: function() {
|
28 |
+
var title = this.getTitle();
|
29 |
+
if (title && this.enabled) {
|
30 |
+
var $tip = this.tip();
|
31 |
+
|
32 |
+
$tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title);
|
33 |
+
$tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
|
34 |
+
$tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).prependTo(document.body);
|
35 |
+
|
36 |
+
var pos = $.extend({}, this.$element.offset(), {
|
37 |
+
width: this.$element[0].offsetWidth,
|
38 |
+
height: this.$element[0].offsetHeight
|
39 |
+
});
|
40 |
+
|
41 |
+
var actualWidth = $tip[0].offsetWidth,
|
42 |
+
actualHeight = $tip[0].offsetHeight,
|
43 |
+
gravity = maybeCall(this.options.gravity, this.$element[0]);
|
44 |
+
|
45 |
+
var tp;
|
46 |
+
switch (gravity.charAt(0)) {
|
47 |
+
case 'n':
|
48 |
+
tp = {top: pos.top + pos.height + this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
|
49 |
+
break;
|
50 |
+
case 's':
|
51 |
+
tp = {top: pos.top - actualHeight - this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
|
52 |
+
break;
|
53 |
+
case 'e':
|
54 |
+
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth - this.options.offset};
|
55 |
+
break;
|
56 |
+
case 'w':
|
57 |
+
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width + this.options.offset};
|
58 |
+
break;
|
59 |
+
}
|
60 |
+
|
61 |
+
if (gravity.length == 2) {
|
62 |
+
if (gravity.charAt(1) == 'w') {
|
63 |
+
tp.left = pos.left + pos.width / 2 - 15;
|
64 |
+
} else {
|
65 |
+
tp.left = pos.left + pos.width / 2 - actualWidth + 15;
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
$tip.css(tp).addClass('tipsy-' + gravity);
|
70 |
+
$tip.find('.tipsy-arrow')[0].className = 'tipsy-arrow tipsy-arrow-' + gravity.charAt(0);
|
71 |
+
if (this.options.className) {
|
72 |
+
$tip.addClass(maybeCall(this.options.className, this.$element[0]));
|
73 |
+
}
|
74 |
+
|
75 |
+
if (this.options.fade) {
|
76 |
+
$tip.stop().css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: this.options.opacity});
|
77 |
+
} else {
|
78 |
+
$tip.css({visibility: 'visible', opacity: this.options.opacity});
|
79 |
+
}
|
80 |
+
}
|
81 |
+
},
|
82 |
+
|
83 |
+
hide: function() {
|
84 |
+
if (this.options.fade) {
|
85 |
+
this.tip().stop().fadeOut(function() { $(this).remove(); });
|
86 |
+
} else {
|
87 |
+
this.tip().remove();
|
88 |
+
}
|
89 |
+
},
|
90 |
+
|
91 |
+
fixTitle: function() {
|
92 |
+
var $e = this.$element;
|
93 |
+
if ($e.attr('title') || typeof($e.attr('original-title')) != 'string') {
|
94 |
+
$e.attr('original-title', $e.attr('title') || '').removeAttr('title');
|
95 |
+
}
|
96 |
+
},
|
97 |
+
|
98 |
+
getTitle: function() {
|
99 |
+
var title, $e = this.$element, o = this.options;
|
100 |
+
this.fixTitle();
|
101 |
+
var title, o = this.options;
|
102 |
+
if (typeof o.title == 'string') {
|
103 |
+
title = $e.attr(o.title == 'title' ? 'original-title' : o.title);
|
104 |
+
} else if (typeof o.title == 'function') {
|
105 |
+
title = o.title.call($e[0]);
|
106 |
+
}
|
107 |
+
title = ('' + title).replace(/(^\s*|\s*$)/, "");
|
108 |
+
return title || o.fallback;
|
109 |
+
},
|
110 |
+
|
111 |
+
tip: function() {
|
112 |
+
if (!this.$tip) {
|
113 |
+
this.$tip = $('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>');
|
114 |
+
this.$tip.data('tipsy-pointee', this.$element[0]);
|
115 |
+
}
|
116 |
+
return this.$tip;
|
117 |
+
},
|
118 |
+
|
119 |
+
validate: function() {
|
120 |
+
if (!this.$element[0].parentNode) {
|
121 |
+
this.hide();
|
122 |
+
this.$element = null;
|
123 |
+
this.options = null;
|
124 |
+
}
|
125 |
+
},
|
126 |
+
|
127 |
+
enable: function() { this.enabled = true; },
|
128 |
+
disable: function() { this.enabled = false; },
|
129 |
+
toggleEnabled: function() { this.enabled = !this.enabled; }
|
130 |
+
};
|
131 |
+
|
132 |
+
$.fn.tipsy = function(options) {
|
133 |
+
|
134 |
+
if (options === true) {
|
135 |
+
return this.data('tipsy');
|
136 |
+
} else if (typeof options == 'string') {
|
137 |
+
var tipsy = this.data('tipsy');
|
138 |
+
if (tipsy) tipsy[options]();
|
139 |
+
return this;
|
140 |
+
}
|
141 |
+
|
142 |
+
options = $.extend({}, $.fn.tipsy.defaults, options);
|
143 |
+
|
144 |
+
function get(ele) {
|
145 |
+
var tipsy = $.data(ele, 'tipsy');
|
146 |
+
if (!tipsy) {
|
147 |
+
tipsy = new Tipsy(ele, $.fn.tipsy.elementOptions(ele, options));
|
148 |
+
$.data(ele, 'tipsy', tipsy);
|
149 |
+
}
|
150 |
+
return tipsy;
|
151 |
+
}
|
152 |
+
|
153 |
+
function enter() {
|
154 |
+
var tipsy = get(this);
|
155 |
+
tipsy.hoverState = 'in';
|
156 |
+
if (options.delayIn == 0) {
|
157 |
+
tipsy.show();
|
158 |
+
} else {
|
159 |
+
tipsy.fixTitle();
|
160 |
+
setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn);
|
161 |
+
}
|
162 |
+
};
|
163 |
+
|
164 |
+
function leave() {
|
165 |
+
var tipsy = get(this);
|
166 |
+
tipsy.hoverState = 'out';
|
167 |
+
if (options.delayOut == 0) {
|
168 |
+
tipsy.hide();
|
169 |
+
} else {
|
170 |
+
setTimeout(function() { if (tipsy.hoverState == 'out') tipsy.hide(); }, options.delayOut);
|
171 |
+
}
|
172 |
+
};
|
173 |
+
|
174 |
+
if (!options.live) this.each(function() { get(this); });
|
175 |
+
|
176 |
+
if (options.trigger != 'manual') {
|
177 |
+
var binder = options.live ? 'live' : 'bind',
|
178 |
+
eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus',
|
179 |
+
eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';
|
180 |
+
this[binder](eventIn, enter)[binder](eventOut, leave);
|
181 |
+
}
|
182 |
+
|
183 |
+
return this;
|
184 |
+
|
185 |
+
};
|
186 |
+
|
187 |
+
$.fn.tipsy.defaults = {
|
188 |
+
className: null,
|
189 |
+
delayIn: 0,
|
190 |
+
delayOut: 0,
|
191 |
+
fade: false,
|
192 |
+
fallback: '',
|
193 |
+
gravity: 'n',
|
194 |
+
html: false,
|
195 |
+
live: false,
|
196 |
+
offset: 0,
|
197 |
+
opacity: 0.8,
|
198 |
+
title: 'title',
|
199 |
+
trigger: 'hover'
|
200 |
+
};
|
201 |
+
|
202 |
+
$.fn.tipsy.revalidate = function() {
|
203 |
+
$('.tipsy').each(function() {
|
204 |
+
var pointee = $.data(this, 'tipsy-pointee');
|
205 |
+
if (!pointee || !isElementInDOM(pointee)) {
|
206 |
+
$(this).remove();
|
207 |
+
}
|
208 |
+
});
|
209 |
+
};
|
210 |
+
|
211 |
+
// Overwrite this method to provide options on a per-element basis.
|
212 |
+
// For example, you could store the gravity in a 'tipsy-gravity' attribute:
|
213 |
+
// return $.extend({}, options, {gravity: $(ele).attr('tipsy-gravity') || 'n' });
|
214 |
+
// (remember - do not modify 'options' in place!)
|
215 |
+
$.fn.tipsy.elementOptions = function(ele, options) {
|
216 |
+
return $.metadata ? $.extend({}, options, $(ele).metadata()) : options;
|
217 |
+
};
|
218 |
+
|
219 |
+
$.fn.tipsy.autoNS = function() {
|
220 |
+
return $(this).offset().top > ($(document).scrollTop() + $(window).height() / 2) ? 's' : 'n';
|
221 |
+
};
|
222 |
+
|
223 |
+
$.fn.tipsy.autoWE = function() {
|
224 |
+
return $(this).offset().left > ($(document).scrollLeft() + $(window).width() / 2) ? 'e' : 'w';
|
225 |
+
};
|
226 |
+
|
227 |
+
/**
|
228 |
+
* yields a closure of the supplied parameters, producing a function that takes
|
229 |
+
* no arguments and is suitable for use as an autogravity function like so:
|
230 |
+
*
|
231 |
+
* @param margin (int) - distance from the viewable region edge that an
|
232 |
+
* element should be before setting its tooltip's gravity to be away
|
233 |
+
* from that edge.
|
234 |
+
* @param prefer (string, e.g. 'n', 'sw', 'w') - the direction to prefer
|
235 |
+
* if there are no viewable region edges effecting the tooltip's
|
236 |
+
* gravity. It will try to vary from this minimally, for example,
|
237 |
+
* if 'sw' is preferred and an element is near the right viewable
|
238 |
+
* region edge, but not the top edge, it will set the gravity for
|
239 |
+
* that element's tooltip to be 'se', preserving the southern
|
240 |
+
* component.
|
241 |
+
*/
|
242 |
+
$.fn.tipsy.autoBounds = function(margin, prefer) {
|
243 |
+
return function() {
|
244 |
+
var dir = {ns: prefer[0], ew: (prefer.length > 1 ? prefer[1] : false)},
|
245 |
+
boundTop = $(document).scrollTop() + margin,
|
246 |
+
boundLeft = $(document).scrollLeft() + margin,
|
247 |
+
$this = $(this);
|
248 |
+
|
249 |
+
if ($this.offset().top < boundTop) dir.ns = 'n';
|
250 |
+
if ($this.offset().left < boundLeft) dir.ew = 'w';
|
251 |
+
if ($(window).width() + $(document).scrollLeft() - $this.offset().left < margin) dir.ew = 'e';
|
252 |
+
if ($(window).height() + $(document).scrollTop() - $this.offset().top < margin) dir.ns = 's';
|
253 |
+
|
254 |
+
return dir.ns + (dir.ew ? dir.ew : '');
|
255 |
+
}
|
256 |
+
};
|
257 |
+
|
258 |
+
})(jQuery);
|
languages/cf7skins-id_ID.po
ADDED
@@ -0,0 +1,1119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 cf7skins
|
2 |
+
# This file is distributed under the same license as the Contact Form 7 Skins package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Contact Form 7 Skins 0.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: \n"
|
7 |
+
"POT-Creation-Date: 2015-02-05 11:18+0700\n"
|
8 |
+
"PO-Revision-Date: 2015-02-05 12:32+0700\n"
|
9 |
+
"Last-Translator: Selz <engineer@selz.com>\n"
|
10 |
+
"Language-Team: Neil Murray <nmurray@exemail.com.au>\n"
|
11 |
+
"Language: en_US\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
+
"X-Generator: Poedit 1.5.7\n"
|
19 |
+
"X-Poedit-SearchPath-0: ..\n"
|
20 |
+
|
21 |
+
#: ../index.php:208
|
22 |
+
#, php-format
|
23 |
+
msgid "<a href=\"%s\">Contact Form 7</a> must be installed to use this plugin."
|
24 |
+
msgstr ""
|
25 |
+
"Silahkan install <a href=\"%s\">Contact Form 7</a> agar plugin ini berfungsi."
|
26 |
+
|
27 |
+
#: ../includes/admin.php:94
|
28 |
+
msgid "Loading template..."
|
29 |
+
msgstr "Memuat templat..."
|
30 |
+
|
31 |
+
#: ../includes/admin.php:95
|
32 |
+
msgid "Empty filter, please select a filter."
|
33 |
+
msgstr "Filter kosong, silahkan pilih sebuah filter."
|
34 |
+
|
35 |
+
#: ../includes/admin.php:96 ../includes/style.php:376
|
36 |
+
#: ../includes/style.php:413 ../includes/template.php:383
|
37 |
+
#: ../includes/template.php:421
|
38 |
+
msgid "Select"
|
39 |
+
msgstr "Pilih"
|
40 |
+
|
41 |
+
#: ../includes/admin.php:97 ../includes/style.php:376
|
42 |
+
#: ../includes/style.php:413 ../includes/template.php:383
|
43 |
+
#: ../includes/template.php:421
|
44 |
+
msgid "Selected"
|
45 |
+
msgstr "Terpilih"
|
46 |
+
|
47 |
+
#: ../includes/admin.php:98 ../includes/style.php:423
|
48 |
+
#: ../includes/template.php:430
|
49 |
+
msgid "Expanded View"
|
50 |
+
msgstr "Tampilan Luas"
|
51 |
+
|
52 |
+
#: ../includes/admin.php:114
|
53 |
+
msgid "Skins"
|
54 |
+
msgstr "Gaya"
|
55 |
+
|
56 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:177
|
57 |
+
#, php-format
|
58 |
+
msgid ""
|
59 |
+
"There is a new version of %1$s available. <a target=\"_blank\" class="
|
60 |
+
"\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
|
61 |
+
msgstr ""
|
62 |
+
"Versi terbaru %1$s sudah tersedia. <a target=\"_blank\" class=\"thickbox\" "
|
63 |
+
"href=\"%2$s\">Lihat detail versi %3$s</a>."
|
64 |
+
|
65 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:184
|
66 |
+
#, php-format
|
67 |
+
msgid ""
|
68 |
+
"There is a new version of %1$s available. <a target=\"_blank\" class="
|
69 |
+
"\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a href=\"%4$s"
|
70 |
+
"\">update now</a>."
|
71 |
+
msgstr ""
|
72 |
+
"Versi terbaru %1$s sudah tersedia. <a target=\"_blank\" class=\"thickbox\" "
|
73 |
+
"href=\"%2$s\">Lihat detail versi %3$s</a> or <a href=\"%4$s\">perbarui "
|
74 |
+
"sekarang</a>."
|
75 |
+
|
76 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:329
|
77 |
+
msgid "You do not have permission to install plugin updates"
|
78 |
+
msgstr "Anda tidak memiliki perijinan untuk membarui plugin"
|
79 |
+
|
80 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:329
|
81 |
+
msgid "Error"
|
82 |
+
msgstr "Gagal"
|
83 |
+
|
84 |
+
#: ../includes/license.php:72
|
85 |
+
msgid "Licenses"
|
86 |
+
msgstr "Lisensi"
|
87 |
+
|
88 |
+
#: ../includes/license.php:92
|
89 |
+
msgid "Skins License Key"
|
90 |
+
msgstr "Kode Lisensi Skins"
|
91 |
+
|
92 |
+
#: ../includes/license.php:95
|
93 |
+
msgid "Enter your CF7 Skins license key and save before activating."
|
94 |
+
msgstr ""
|
95 |
+
"Masukkan kode lisensi CF7 Skins anda dan simpan sebelum melakukan aktivasi."
|
96 |
+
|
97 |
+
#: ../includes/license.php:257
|
98 |
+
#, php-format
|
99 |
+
msgid ""
|
100 |
+
"Please activate your <a href=\"%1$s\" target=\"_blank\">License Key</a> to "
|
101 |
+
"access Contact Form 7 Skins plus automatic upgrades and premium email "
|
102 |
+
"support. Need a license key? <a href=\"%1$s\" target=\"_blank\">Purchase one "
|
103 |
+
"now</a>."
|
104 |
+
msgstr ""
|
105 |
+
"Mohon aktifkan <a href=\"%1$s\" target=\"_blank\">Kode Lisensi</a> anda "
|
106 |
+
"untuk mengakses Contact Form 7 Skins dan pembaruan otomatis serta layanan "
|
107 |
+
"bantuan surel. Butuh kode lisensi? <a href=\"%1$s\" target=\"_blank\">Beli "
|
108 |
+
"satu sekarang</a>."
|
109 |
+
|
110 |
+
#: ../includes/logs.php:39
|
111 |
+
msgid "Logs"
|
112 |
+
msgstr "Log"
|
113 |
+
|
114 |
+
#: ../includes/logs.php:53
|
115 |
+
msgid "Get Version"
|
116 |
+
msgstr "Minta Versi"
|
117 |
+
|
118 |
+
#: ../includes/logs.php:59
|
119 |
+
msgid "Activation"
|
120 |
+
msgstr "Aktivasi"
|
121 |
+
|
122 |
+
#: ../includes/logs.php:65
|
123 |
+
msgid "Deactivation"
|
124 |
+
msgstr "Deaktivasi"
|
125 |
+
|
126 |
+
#: ../includes/logs.php:96 ../includes/logs.php:123 ../includes/logs.php:171
|
127 |
+
msgid "Not available"
|
128 |
+
msgstr "Tidak tersedia"
|
129 |
+
|
130 |
+
#: ../includes/settings.php:49
|
131 |
+
msgid "General"
|
132 |
+
msgstr "Umum"
|
133 |
+
|
134 |
+
#: ../includes/settings.php:50
|
135 |
+
msgid "Advanced"
|
136 |
+
msgstr "Tingkat Lanjut"
|
137 |
+
|
138 |
+
#: ../includes/settings.php:82
|
139 |
+
msgid "Contact Form 7 Skins Settings"
|
140 |
+
msgstr "Pengaturan Contact Form 7 Skins"
|
141 |
+
|
142 |
+
#: ../includes/settings.php:99
|
143 |
+
msgid "Save Changes"
|
144 |
+
msgstr "Simpan Perubahan"
|
145 |
+
|
146 |
+
#: ../includes/settings.php:136
|
147 |
+
msgid "Color Scheme"
|
148 |
+
msgstr "Skema Warna"
|
149 |
+
|
150 |
+
#: ../includes/settings.php:139
|
151 |
+
msgid "Select color scheme for CF7 Skins interface."
|
152 |
+
msgstr "Pilih warna skema untuk tampilan CF7 Skins"
|
153 |
+
|
154 |
+
#: ../includes/settings.php:149
|
155 |
+
msgid "Display Log"
|
156 |
+
msgstr "Tampilan Log"
|
157 |
+
|
158 |
+
#: ../includes/settings.php:152
|
159 |
+
msgid "Displays plugin log tab."
|
160 |
+
msgstr "Tampilkan papan log plugin"
|
161 |
+
|
162 |
+
#: ../includes/settings.php:156
|
163 |
+
msgid "Delete Settings"
|
164 |
+
msgstr "Hapus Pengaturan"
|
165 |
+
|
166 |
+
#: ../includes/settings.php:159
|
167 |
+
msgid "Remove all plugin data on plugin deletion."
|
168 |
+
msgstr "Hapus semua data saat penghapusan plugin."
|
169 |
+
|
170 |
+
#: ../includes/settings.php:284
|
171 |
+
msgid "active"
|
172 |
+
msgstr "aktif"
|
173 |
+
|
174 |
+
#: ../includes/settings.php:285
|
175 |
+
msgid "Deactivate License"
|
176 |
+
msgstr "Non-aktifkan Lisensi"
|
177 |
+
|
178 |
+
#: ../includes/settings.php:288
|
179 |
+
msgid "invalid"
|
180 |
+
msgstr "absah"
|
181 |
+
|
182 |
+
#: ../includes/settings.php:290
|
183 |
+
msgid "Activate License"
|
184 |
+
msgstr "Aktifkan Lisensi"
|
185 |
+
|
186 |
+
#: ../includes/settings.php:331
|
187 |
+
msgid "Default"
|
188 |
+
msgstr "Standar"
|
189 |
+
|
190 |
+
#: ../includes/settings.php:337
|
191 |
+
msgid "Wheat"
|
192 |
+
msgstr "Gandum"
|
193 |
+
|
194 |
+
#: ../includes/settings.php:343
|
195 |
+
msgid "Ocean"
|
196 |
+
msgstr "Lautan"
|
197 |
+
|
198 |
+
#: ../includes/style.php:140 ../includes/style.php:221
|
199 |
+
#: ../includes/style.php:310
|
200 |
+
msgid "Colors"
|
201 |
+
msgstr "Warna"
|
202 |
+
|
203 |
+
#: ../includes/style.php:141
|
204 |
+
msgid "Black"
|
205 |
+
msgstr "Hitam"
|
206 |
+
|
207 |
+
#: ../includes/style.php:142
|
208 |
+
msgid "Brown"
|
209 |
+
msgstr "Coklat"
|
210 |
+
|
211 |
+
#: ../includes/style.php:143
|
212 |
+
msgid "Gray"
|
213 |
+
msgstr "Abu-abu"
|
214 |
+
|
215 |
+
#: ../includes/style.php:144
|
216 |
+
msgid "Green"
|
217 |
+
msgstr "Hijau"
|
218 |
+
|
219 |
+
#: ../includes/style.php:145
|
220 |
+
msgid "Orange"
|
221 |
+
msgstr "Oranye"
|
222 |
+
|
223 |
+
#: ../includes/style.php:146
|
224 |
+
msgid "Pink"
|
225 |
+
msgstr "Merah Jambu"
|
226 |
+
|
227 |
+
#: ../includes/style.php:147
|
228 |
+
msgid "Purple"
|
229 |
+
msgstr "Ungu"
|
230 |
+
|
231 |
+
#: ../includes/style.php:148
|
232 |
+
msgid "Red"
|
233 |
+
msgstr "Merah"
|
234 |
+
|
235 |
+
#: ../includes/style.php:149
|
236 |
+
msgid "Silver"
|
237 |
+
msgstr "Perak"
|
238 |
+
|
239 |
+
#: ../includes/style.php:150
|
240 |
+
msgid "Tan"
|
241 |
+
msgstr "Coklat"
|
242 |
+
|
243 |
+
#: ../includes/style.php:151
|
244 |
+
msgid "White"
|
245 |
+
msgstr "Putih"
|
246 |
+
|
247 |
+
#: ../includes/style.php:152
|
248 |
+
msgid "Yellow"
|
249 |
+
msgstr "Kuning"
|
250 |
+
|
251 |
+
#: ../includes/style.php:153
|
252 |
+
msgid "Dark"
|
253 |
+
msgstr "Hitam"
|
254 |
+
|
255 |
+
#: ../includes/style.php:154
|
256 |
+
msgid "Light"
|
257 |
+
msgstr "Cerah"
|
258 |
+
|
259 |
+
#: ../includes/style.php:157
|
260 |
+
msgid "Layout"
|
261 |
+
msgstr "Tatanan Tertentu"
|
262 |
+
|
263 |
+
#: ../includes/style.php:158 ../includes/template.php:174
|
264 |
+
msgid "Fixed Layout"
|
265 |
+
msgstr "Tatanan Tertentu"
|
266 |
+
|
267 |
+
#: ../includes/style.php:159 ../includes/template.php:175
|
268 |
+
msgid "Fluid Layout"
|
269 |
+
msgstr "Tatanan Fluid"
|
270 |
+
|
271 |
+
#: ../includes/style.php:160 ../includes/template.php:176
|
272 |
+
msgid "Responsive Layout"
|
273 |
+
msgstr "Tatanan Fleksibel"
|
274 |
+
|
275 |
+
#: ../includes/style.php:161 ../includes/template.php:177
|
276 |
+
msgid "One Column"
|
277 |
+
msgstr "Satu Kolom"
|
278 |
+
|
279 |
+
#: ../includes/style.php:162 ../includes/template.php:178
|
280 |
+
msgid "One or Two Column"
|
281 |
+
msgstr "Satu atau Dua Kolom"
|
282 |
+
|
283 |
+
#: ../includes/style.php:163 ../includes/template.php:179
|
284 |
+
msgid "One, Two or Three Column"
|
285 |
+
msgstr "Satu, Dua atau Tiga Kolom"
|
286 |
+
|
287 |
+
#: ../includes/style.php:166
|
288 |
+
msgid "Features"
|
289 |
+
msgstr "Difiturkan"
|
290 |
+
|
291 |
+
#: ../includes/style.php:167 ../includes/template.php:183
|
292 |
+
msgid "Fieldsets"
|
293 |
+
msgstr "Fieldset"
|
294 |
+
|
295 |
+
#: ../includes/style.php:168 ../includes/template.php:184
|
296 |
+
msgid "Background"
|
297 |
+
msgstr "Warna latar"
|
298 |
+
|
299 |
+
#: ../includes/style.php:169 ../includes/template.php:185
|
300 |
+
msgid "Gradients"
|
301 |
+
msgstr "Gradien"
|
302 |
+
|
303 |
+
#: ../includes/style.php:172
|
304 |
+
#: ../skins/templates/default/default-cf7-form.php:23
|
305 |
+
msgid "Subject"
|
306 |
+
msgstr "Subjek"
|
307 |
+
|
308 |
+
#: ../includes/style.php:173 ../includes/template.php:189
|
309 |
+
msgid "Business"
|
310 |
+
msgstr "Bisnis"
|
311 |
+
|
312 |
+
#: ../includes/style.php:174 ../includes/template.php:190
|
313 |
+
#: ../skins/templates/event/event.php:18
|
314 |
+
msgid "Event"
|
315 |
+
msgstr "Peristiwa"
|
316 |
+
|
317 |
+
#: ../includes/style.php:175 ../includes/template.php:191
|
318 |
+
msgid "Holiday"
|
319 |
+
msgstr "Liburan"
|
320 |
+
|
321 |
+
#: ../includes/style.php:176 ../includes/template.php:192
|
322 |
+
msgid "Individual"
|
323 |
+
msgstr "Pribadi"
|
324 |
+
|
325 |
+
#: ../includes/style.php:177 ../includes/template.php:193
|
326 |
+
msgid "Seasonal"
|
327 |
+
msgstr "Musiman"
|
328 |
+
|
329 |
+
#: ../includes/style.php:198 ../includes/style.php:286
|
330 |
+
msgid "All available Styles"
|
331 |
+
msgstr "Semua Gaya yang tersedia"
|
332 |
+
|
333 |
+
#: ../includes/style.php:198 ../includes/style.php:286
|
334 |
+
#: ../includes/template.php:213 ../includes/template.php:297
|
335 |
+
msgid "All"
|
336 |
+
msgstr "Semuanya"
|
337 |
+
|
338 |
+
#: ../includes/style.php:199 ../includes/style.php:287
|
339 |
+
msgid "Selected by the CF7 Skins team"
|
340 |
+
msgstr "Dipilih oleh team CF7 Skins"
|
341 |
+
|
342 |
+
#: ../includes/style.php:199 ../includes/style.php:287
|
343 |
+
#: ../includes/template.php:214 ../includes/template.php:298
|
344 |
+
msgid "Featured"
|
345 |
+
msgstr "Difiturkan"
|
346 |
+
|
347 |
+
#: ../includes/style.php:200 ../includes/style.php:288
|
348 |
+
#: ../includes/template.php:215 ../includes/template.php:299
|
349 |
+
msgid "Commonly used"
|
350 |
+
msgstr "Yang sering digunakan"
|
351 |
+
|
352 |
+
#: ../includes/style.php:200 ../includes/style.php:288
|
353 |
+
#: ../includes/template.php:215 ../includes/template.php:299
|
354 |
+
msgid "Popular"
|
355 |
+
msgstr "Populer"
|
356 |
+
|
357 |
+
#: ../includes/style.php:201 ../includes/style.php:289
|
358 |
+
#: ../includes/template.php:216 ../includes/template.php:300
|
359 |
+
msgid "Recently added"
|
360 |
+
msgstr "Terbaru ditambahkan"
|
361 |
+
|
362 |
+
#: ../includes/style.php:201 ../includes/style.php:289
|
363 |
+
#: ../includes/template.php:216 ../includes/template.php:300
|
364 |
+
msgid "Latest"
|
365 |
+
msgstr "Terbaru"
|
366 |
+
|
367 |
+
#: ../includes/style.php:207 ../includes/style.php:293
|
368 |
+
#: ../includes/template.php:222 ../includes/template.php:304
|
369 |
+
msgid "Narrow your choices based on your specific requirements"
|
370 |
+
msgstr "Batasi pilihan anda berdasarkan persayaratan spesifik"
|
371 |
+
|
372 |
+
#: ../includes/style.php:212 ../includes/style.php:303
|
373 |
+
msgid ""
|
374 |
+
"Check all the boxes that meet your specific requirements and then click "
|
375 |
+
"apply filters."
|
376 |
+
msgstr ""
|
377 |
+
"Centang semua kotak yang sesuai dengan persayaratan spesifik anda and tekan "
|
378 |
+
"gunakan filter."
|
379 |
+
|
380 |
+
#: ../includes/style.php:212 ../includes/style.php:303
|
381 |
+
#: ../includes/template.php:227 ../includes/template.php:314
|
382 |
+
msgid "Apply Filters"
|
383 |
+
msgstr "Gunakan Filter"
|
384 |
+
|
385 |
+
#: ../includes/style.php:213 ../includes/style.php:304
|
386 |
+
#: ../includes/template.php:228 ../includes/template.php:315
|
387 |
+
msgid "Clear"
|
388 |
+
msgstr "Bersihkan"
|
389 |
+
|
390 |
+
#: ../includes/style.php:240 ../includes/style.php:328
|
391 |
+
#: ../includes/template.php:251 ../includes/template.php:335
|
392 |
+
msgid "Filtering by:"
|
393 |
+
msgstr "Memfilter dengan:"
|
394 |
+
|
395 |
+
#: ../includes/style.php:242 ../includes/style.php:330
|
396 |
+
#: ../includes/template.php:253 ../includes/template.php:337
|
397 |
+
msgid "Edit"
|
398 |
+
msgstr "Ubah"
|
399 |
+
|
400 |
+
#: ../includes/style.php:247 ../includes/style.php:335
|
401 |
+
#: ../includes/template.php:258 ../includes/template.php:341
|
402 |
+
msgid ""
|
403 |
+
"Sort by Name, Date and License (free or pro) – use arrow to reverse sort "
|
404 |
+
"order"
|
405 |
+
msgstr ""
|
406 |
+
"Urut berdasarkan Nama, Tanggal dan Lisensi (gratis atau pro) – gunakan panah "
|
407 |
+
"untuk membalikkan urutan"
|
408 |
+
|
409 |
+
#: ../includes/style.php:247 ../includes/style.php:335
|
410 |
+
#: ../includes/template.php:258 ../includes/template.php:341
|
411 |
+
msgid "Sort by"
|
412 |
+
msgstr "Urut dengan"
|
413 |
+
|
414 |
+
#: ../includes/style.php:249 ../includes/style.php:337
|
415 |
+
#: ../includes/template.php:260 ../includes/template.php:343
|
416 |
+
#: ../skins/templates/event/event.php:20
|
417 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:20
|
418 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:20
|
419 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:20
|
420 |
+
#: ../skins/templates/registration/registration.php:20
|
421 |
+
msgid "Name"
|
422 |
+
msgstr "Nama"
|
423 |
+
|
424 |
+
#: ../includes/style.php:250 ../includes/style.php:338
|
425 |
+
#: ../includes/template.php:261 ../includes/template.php:344
|
426 |
+
msgid "Date"
|
427 |
+
msgstr "Tanggal"
|
428 |
+
|
429 |
+
#: ../includes/style.php:251 ../includes/style.php:339
|
430 |
+
#: ../includes/template.php:262 ../includes/template.php:345
|
431 |
+
msgid "License"
|
432 |
+
msgstr "Lisensi"
|
433 |
+
|
434 |
+
#: ../includes/style.php:255 ../includes/style.php:297
|
435 |
+
msgid "Search Styles"
|
436 |
+
msgstr "Cari Gaya"
|
437 |
+
|
438 |
+
#: ../includes/style.php:256 ../includes/style.php:298
|
439 |
+
msgid "Search styles..."
|
440 |
+
msgstr "Cari gaya..."
|
441 |
+
|
442 |
+
#: ../includes/style.php:392 ../includes/style.php:424
|
443 |
+
msgid ""
|
444 |
+
"Select to apply the Style to your form - is applied to your form once you "
|
445 |
+
"Save."
|
446 |
+
msgstr ""
|
447 |
+
"Pilih untuk menerapkan Gaya tersebut ke form anda - diterapkan ke form anda "
|
448 |
+
"setelah disimpan."
|
449 |
+
|
450 |
+
#: ../includes/style.php:393
|
451 |
+
msgid ""
|
452 |
+
"Show detailed information about this Style - overview of the appearance and "
|
453 |
+
"layout with description and usage details."
|
454 |
+
msgstr ""
|
455 |
+
"Menampilkan informasi detail mengenai Gaya ini - peninjauan tampilan dan "
|
456 |
+
"susunan dengan detail gambaran dan penggunaan."
|
457 |
+
|
458 |
+
#: ../includes/style.php:393 ../includes/style.php:427
|
459 |
+
#: ../includes/template.php:401 ../includes/template.php:434
|
460 |
+
#: ../skins/templates/suggestion/suggestion.php:24
|
461 |
+
msgid "Details"
|
462 |
+
msgstr "Detail"
|
463 |
+
|
464 |
+
#: ../includes/style.php:423
|
465 |
+
msgid ""
|
466 |
+
"Use Expanded View to view styles features - shows all form fields available "
|
467 |
+
"in Contact Form 7."
|
468 |
+
msgstr ""
|
469 |
+
"Gunakan Tampilan Luas untuk melihat fitur gaya - menampilkan semua bagian "
|
470 |
+
"form yang tersedia di Contact Form 7."
|
471 |
+
|
472 |
+
#: ../includes/style.php:425
|
473 |
+
msgid "Return to Style Gallery/Grid view."
|
474 |
+
msgstr "Kembalik ke Galeri Gaya/tampilan Grid"
|
475 |
+
|
476 |
+
#: ../includes/style.php:425 ../includes/style.php:445
|
477 |
+
#: ../includes/template.php:432 ../includes/template.php:451
|
478 |
+
msgid "Close"
|
479 |
+
msgstr "Tutup"
|
480 |
+
|
481 |
+
#: ../includes/style.php:430 ../includes/template.php:437
|
482 |
+
msgid "Version: "
|
483 |
+
msgstr "Versi:"
|
484 |
+
|
485 |
+
#: ../includes/style.php:432 ../includes/style.php:450
|
486 |
+
#: ../includes/template.php:439 ../includes/template.php:456
|
487 |
+
msgid "Description"
|
488 |
+
msgstr "Deskripsi"
|
489 |
+
|
490 |
+
#: ../includes/style.php:435 ../includes/style.php:453
|
491 |
+
#: ../includes/template.php:442 ../includes/template.php:459
|
492 |
+
msgid "Instructions"
|
493 |
+
msgstr "Instruksi"
|
494 |
+
|
495 |
+
#: ../includes/style.php:443 ../includes/template.php:449
|
496 |
+
msgid "Return to Details View"
|
497 |
+
msgstr "Kembali ke Tampilan Detail"
|
498 |
+
|
499 |
+
#: ../includes/style.php:443 ../includes/template.php:449
|
500 |
+
msgid "Details View"
|
501 |
+
msgstr "Tampilan Detail"
|
502 |
+
|
503 |
+
#: ../includes/style.php:444
|
504 |
+
msgid ""
|
505 |
+
"Select to apply the Style to your form - is applied to your form once you "
|
506 |
+
"Save"
|
507 |
+
msgstr ""
|
508 |
+
"Pilih untuk menarapkan Gaya ke form anda - diterapkan pada saat anda "
|
509 |
+
"menyimpan."
|
510 |
+
|
511 |
+
#: ../includes/style.php:445
|
512 |
+
msgid "Return to Style Gallery/Grid View"
|
513 |
+
msgstr "Kembalik ke Galeri Gaya/Tampilan Kotak"
|
514 |
+
|
515 |
+
#: ../includes/tab.php:29 ../includes/tab.php:225
|
516 |
+
msgid "Template"
|
517 |
+
msgstr "Templat"
|
518 |
+
|
519 |
+
#: ../includes/tab.php:30 ../includes/tab.php:233
|
520 |
+
msgid "Style"
|
521 |
+
msgstr "Gaya"
|
522 |
+
|
523 |
+
#: ../includes/tab.php:125
|
524 |
+
msgid "No templates found. Try a different search."
|
525 |
+
msgstr "Templat tidak ditemukan. Coba pencarian lain."
|
526 |
+
|
527 |
+
#: ../includes/tab.php:201
|
528 |
+
msgid "No styles found. Try a different search."
|
529 |
+
msgstr "Gaya tidak ditemukan. Coba pencarian lain"
|
530 |
+
|
531 |
+
#: ../includes/tab.php:226
|
532 |
+
msgid ""
|
533 |
+
"Each Template acts as an easy to follow guide, which can be adapted to your "
|
534 |
+
"requirements < Templates >"
|
535 |
+
msgstr ""
|
536 |
+
"Setiap templat bertindak sebagai panduan yang mudah diikuti, dan dapat "
|
537 |
+
"diadaptasikan sesua dengan kebutuhan anda < Templat >"
|
538 |
+
|
539 |
+
#: ../includes/tab.php:227
|
540 |
+
msgid ""
|
541 |
+
"Choose a Template for your form – then you can add, copy or remove fields to "
|
542 |
+
"match your requirements."
|
543 |
+
msgstr ""
|
544 |
+
"Pilih sebuah templat untuk form anda – kemudian anda bisa manambahkan, "
|
545 |
+
"menyalin atau menghapus bagian form sesuai dengan kebutuhan anda."
|
546 |
+
|
547 |
+
#: ../includes/tab.php:234
|
548 |
+
msgid ""
|
549 |
+
"Each Style covers the full range of standard form elements available within "
|
550 |
+
"Contact Form 7 <Styles>"
|
551 |
+
msgstr ""
|
552 |
+
"Setiap Gaya melingkupi seluruh rentang elemen form standar yang tersedia "
|
553 |
+
"pada Contact Form 7 <Gaya>"
|
554 |
+
|
555 |
+
#: ../includes/tab.php:235
|
556 |
+
msgid ""
|
557 |
+
"You can change the Style applied to your form by simply selecting a "
|
558 |
+
"different Style"
|
559 |
+
msgstr "Anda bisa mengubah Gaya yang diterapkan dengan memilih Gaya yang lain."
|
560 |
+
|
561 |
+
#: ../includes/tab.php:242
|
562 |
+
msgid "!"
|
563 |
+
msgstr "!"
|
564 |
+
|
565 |
+
#: ../includes/tab.php:243 ../includes/tab.php:308
|
566 |
+
msgid "?"
|
567 |
+
msgstr "?"
|
568 |
+
|
569 |
+
#: ../includes/tab.php:281
|
570 |
+
msgid "Documentation"
|
571 |
+
msgstr "Dokumentasi"
|
572 |
+
|
573 |
+
#: ../includes/tab.php:282
|
574 |
+
msgid "FAQ"
|
575 |
+
msgstr "Tanya Jawab"
|
576 |
+
|
577 |
+
#: ../includes/tab.php:283
|
578 |
+
msgid "Tutorials"
|
579 |
+
msgstr "Tutorial"
|
580 |
+
|
581 |
+
#: ../includes/tab.php:284
|
582 |
+
msgid "Knowledge Base"
|
583 |
+
msgstr "Pengatahuan Dasar"
|
584 |
+
|
585 |
+
#: ../includes/tab.php:295
|
586 |
+
msgid "Support"
|
587 |
+
msgstr "Bantuan"
|
588 |
+
|
589 |
+
#: ../includes/tab.php:296
|
590 |
+
msgid "Blog"
|
591 |
+
msgstr "Blog"
|
592 |
+
|
593 |
+
#: ../includes/tab.php:297
|
594 |
+
msgid "Pro Version"
|
595 |
+
msgstr "Versi Pro"
|
596 |
+
|
597 |
+
#: ../includes/template.php:213 ../includes/template.php:297
|
598 |
+
msgid "All available Templates"
|
599 |
+
msgstr "Semua templat yang tersedia"
|
600 |
+
|
601 |
+
#: ../includes/template.php:214 ../includes/template.php:298
|
602 |
+
msgid "Selected by CF7 Skins Team"
|
603 |
+
msgstr "Dipilih oleh team CF7 Skins"
|
604 |
+
|
605 |
+
#: ../includes/template.php:222 ../includes/template.php:304
|
606 |
+
msgid "Feature Filter"
|
607 |
+
msgstr "Fitur Filter"
|
608 |
+
|
609 |
+
#: ../includes/template.php:266 ../includes/template.php:308
|
610 |
+
msgid "Search Templates"
|
611 |
+
msgstr "Cari Templat"
|
612 |
+
|
613 |
+
#: ../includes/template.php:267 ../includes/template.php:309
|
614 |
+
msgid "Search templates..."
|
615 |
+
msgstr "Cari templat"
|
616 |
+
|
617 |
+
#: ../includes/template.php:400
|
618 |
+
msgid ""
|
619 |
+
"Select to apply the Template to your form - appears in the form editing "
|
620 |
+
"area, where you can edit your requirements."
|
621 |
+
msgstr ""
|
622 |
+
"Pilih untuk menerapkan Templat ke form anda - ditampilkan pada bagian "
|
623 |
+
"penyuntingan form, dimana anda dapat menyunting sesuai kebutuhan."
|
624 |
+
|
625 |
+
#: ../includes/template.php:401
|
626 |
+
msgid ""
|
627 |
+
"Show detailed information about this Template, with layout, description and "
|
628 |
+
"usage details."
|
629 |
+
msgstr ""
|
630 |
+
"Menampilkan informasi detail mengenai Templat ini, dengan susunan, "
|
631 |
+
"penjelasan dan detail penggunaan."
|
632 |
+
|
633 |
+
#: ../includes/template.php:430
|
634 |
+
msgid ""
|
635 |
+
"Use Expanded View to view template features - shows layout, description & "
|
636 |
+
"usage details."
|
637 |
+
msgstr ""
|
638 |
+
"Gunakan Tampilan Luas untuk melihat fitur templat - menampilkan susunan, "
|
639 |
+
"penjelasan dan detail penggunaan."
|
640 |
+
|
641 |
+
#: ../includes/template.php:431
|
642 |
+
msgid ""
|
643 |
+
"Select to apply the Template to your form - appears in the Form Editing "
|
644 |
+
"area, where you can edit to your requirements."
|
645 |
+
msgstr ""
|
646 |
+
"Pilih untuk menerapkan Templat ke form anda - tampil di bagaian penyuntingan "
|
647 |
+
"form, dimana anda bisa menyuntuk sesuai kebutuhan."
|
648 |
+
|
649 |
+
#: ../includes/template.php:432
|
650 |
+
msgid "Return to Template Gallery/Grid view."
|
651 |
+
msgstr "Kembali ke Galeri Templat/Tampilan Grid"
|
652 |
+
|
653 |
+
#: ../includes/template.php:450
|
654 |
+
msgid ""
|
655 |
+
"Select to apply the Template to your form - appears in the Form editing "
|
656 |
+
"area, where you can edit to your requirements."
|
657 |
+
msgstr ""
|
658 |
+
"Pilih untuk menerapkan Templat ke form anda - tampil di bagaian penyuntingan "
|
659 |
+
"form, dimana anda bisa menyuntuk sesuai kebutuhan."
|
660 |
+
|
661 |
+
#: ../includes/template.php:451
|
662 |
+
msgid "Return to Template Gallery/ Grid View"
|
663 |
+
msgstr "Kembali ke Galeri Templat/Tampilan Grid"
|
664 |
+
|
665 |
+
#: ../skins/templates/contact/contact.php:18
|
666 |
+
msgid "Contact Form"
|
667 |
+
msgstr "Form Kontak"
|
668 |
+
|
669 |
+
#: ../skins/templates/contact/contact.php:20
|
670 |
+
#: ../skins/templates/default/default-cf7-form.php:17
|
671 |
+
msgid "Your Name (required)"
|
672 |
+
msgstr "Nama Anda (dibutuhkan)"
|
673 |
+
|
674 |
+
#: ../skins/templates/contact/contact.php:21
|
675 |
+
msgid "Email Address (required)"
|
676 |
+
msgstr "Alamat Surel (dibutuhkan)"
|
677 |
+
|
678 |
+
#: ../skins/templates/contact/contact.php:22
|
679 |
+
#: ../skins/templates/default/default-cf7-form.php:26
|
680 |
+
msgid "Your Message"
|
681 |
+
msgstr "Pesan Anda"
|
682 |
+
|
683 |
+
#: ../skins/templates/contact/contact.php:24
|
684 |
+
#: ../skins/templates/event/event.php:28
|
685 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:25
|
686 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:34
|
687 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:35
|
688 |
+
#: ../skins/templates/registration/registration.php:31
|
689 |
+
#: ../skins/templates/suggestion/suggestion.php:29
|
690 |
+
#: ../skins/templates/survey/survey.php:30
|
691 |
+
msgid "Submit"
|
692 |
+
msgstr "Ajukan"
|
693 |
+
|
694 |
+
#: ../skins/templates/contact/contact.php:25
|
695 |
+
#: ../skins/templates/event/event.php:29
|
696 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:26
|
697 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:35
|
698 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:36
|
699 |
+
msgid "Required"
|
700 |
+
msgstr "Dibutuhkan"
|
701 |
+
|
702 |
+
#: ../skins/templates/default/default-cf7-form.php:20
|
703 |
+
msgid "Your Email (required)"
|
704 |
+
msgstr "Email Anda (dibutuhkan)"
|
705 |
+
|
706 |
+
#: ../skins/templates/default/default-cf7-form.php:29
|
707 |
+
msgid "Send"
|
708 |
+
msgstr "Kirim"
|
709 |
+
|
710 |
+
#: ../skins/templates/event/event.php:21
|
711 |
+
#: ../skins/templates/registration/registration.php:24
|
712 |
+
msgid "Phone Number"
|
713 |
+
msgstr "Nomor Telepon"
|
714 |
+
|
715 |
+
#: ../skins/templates/event/event.php:22
|
716 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:21
|
717 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:21
|
718 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:21
|
719 |
+
#: ../skins/templates/registration/registration.php:25
|
720 |
+
#: ../skins/templates/registration/registration.php:27
|
721 |
+
msgid "Email"
|
722 |
+
msgstr "Surel"
|
723 |
+
|
724 |
+
#: ../skins/templates/event/event.php:23
|
725 |
+
msgid "Which workshops will you be attending?"
|
726 |
+
msgstr "Bengkel mana yang sering anda kunjungi?"
|
727 |
+
|
728 |
+
#: ../skins/templates/event/event.php:23 ../skins/templates/event/event.php:25
|
729 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
730 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
731 |
+
#: ../skins/templates/registration/registration.php:28
|
732 |
+
#: ../skins/templates/registration/registration.php:29
|
733 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
734 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
735 |
+
msgid "Option 1"
|
736 |
+
msgstr "Pilihan 1"
|
737 |
+
|
738 |
+
#: ../skins/templates/event/event.php:23 ../skins/templates/event/event.php:25
|
739 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
740 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
741 |
+
#: ../skins/templates/registration/registration.php:28
|
742 |
+
#: ../skins/templates/registration/registration.php:29
|
743 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
744 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
745 |
+
msgid "Option 2"
|
746 |
+
msgstr "Pilihan 2"
|
747 |
+
|
748 |
+
#: ../skins/templates/event/event.php:23 ../skins/templates/event/event.php:25
|
749 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
750 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
751 |
+
#: ../skins/templates/registration/registration.php:28
|
752 |
+
#: ../skins/templates/registration/registration.php:29
|
753 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
754 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
755 |
+
msgid "Option 3"
|
756 |
+
msgstr "Pilihan 3"
|
757 |
+
|
758 |
+
#: ../skins/templates/event/event.php:24
|
759 |
+
msgid "Are you an existing customer?"
|
760 |
+
msgstr "Apakah anda pelanggan tetap?"
|
761 |
+
|
762 |
+
#: ../skins/templates/event/event.php:24
|
763 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:30
|
764 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:31
|
765 |
+
msgid "Yes"
|
766 |
+
msgstr "Ya"
|
767 |
+
|
768 |
+
#: ../skins/templates/event/event.php:24
|
769 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:30
|
770 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:31
|
771 |
+
msgid "No"
|
772 |
+
msgstr "Tidak"
|
773 |
+
|
774 |
+
#: ../skins/templates/event/event.php:25
|
775 |
+
msgid "How did find out about this event?"
|
776 |
+
msgstr "Bagaimana anda mengetahui acara ini?"
|
777 |
+
|
778 |
+
#: ../skins/templates/event/event.php:26
|
779 |
+
msgid "Comments or Questions"
|
780 |
+
msgstr "Komentar atau Pertanyaan"
|
781 |
+
|
782 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:18
|
783 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:18
|
784 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:18
|
785 |
+
msgid "Your Details"
|
786 |
+
msgstr "Detail Anda"
|
787 |
+
|
788 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:22
|
789 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:22
|
790 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:22
|
791 |
+
#: ../skins/templates/registration/registration.php:27
|
792 |
+
msgid "Phone"
|
793 |
+
msgstr "Telepon"
|
794 |
+
|
795 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:23
|
796 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:23
|
797 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:23
|
798 |
+
#: ../skins/templates/registration/registration.php:26
|
799 |
+
msgid "Message"
|
800 |
+
msgstr "Pesan"
|
801 |
+
|
802 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:27
|
803 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:28
|
804 |
+
msgid "Your Requirements"
|
805 |
+
msgstr "Permintaan Anda"
|
806 |
+
|
807 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
808 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
809 |
+
#: ../skins/templates/registration/registration.php:29
|
810 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
811 |
+
msgid "Checkboxes"
|
812 |
+
msgstr "Kotak centang"
|
813 |
+
|
814 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:30
|
815 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:31
|
816 |
+
msgid "Radio Buttons"
|
817 |
+
msgstr "Tombol radio"
|
818 |
+
|
819 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
820 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
821 |
+
msgid "Dropdown Select"
|
822 |
+
msgstr "Tombol Pilihan"
|
823 |
+
|
824 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
825 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
826 |
+
msgid "Item 1"
|
827 |
+
msgstr "Item 1"
|
828 |
+
|
829 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
830 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
831 |
+
msgid "Item 2"
|
832 |
+
msgstr "Item 2"
|
833 |
+
|
834 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
835 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
836 |
+
msgid "Item 3"
|
837 |
+
msgstr "Item 3"
|
838 |
+
|
839 |
+
#: ../skins/templates/registration/registration.php:18
|
840 |
+
msgid "Registration"
|
841 |
+
msgstr "Registrasi"
|
842 |
+
|
843 |
+
#: ../skins/templates/registration/registration.php:21
|
844 |
+
msgid "Address"
|
845 |
+
msgstr "Alamat"
|
846 |
+
|
847 |
+
#: ../skins/templates/registration/registration.php:22
|
848 |
+
msgid "City"
|
849 |
+
msgstr "Kota"
|
850 |
+
|
851 |
+
#: ../skins/templates/registration/registration.php:23
|
852 |
+
msgid "State / Province / Region"
|
853 |
+
msgstr "Negara / Provinse / Wilayah"
|
854 |
+
|
855 |
+
#: ../skins/templates/registration/registration.php:27
|
856 |
+
msgid "Preferred Contact Method"
|
857 |
+
msgstr "Cara Kontak yang Disukai"
|
858 |
+
|
859 |
+
#: ../skins/templates/registration/registration.php:28
|
860 |
+
msgid "Drop-down menu"
|
861 |
+
msgstr "Menu pilihan"
|
862 |
+
|
863 |
+
#: ../skins/templates/suggestion/suggestion.php:18
|
864 |
+
msgid "Suggestion Form"
|
865 |
+
msgstr "Halaman Anjuran"
|
866 |
+
|
867 |
+
#: ../skins/templates/suggestion/suggestion.php:19
|
868 |
+
msgid "Please let us know what you think."
|
869 |
+
msgstr "Beritahukan kami apa pendapat anda."
|
870 |
+
|
871 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
872 |
+
msgid "In which of the following areas do you have a suggestion?"
|
873 |
+
msgstr "Dibagian mana anda memiliki anjuran?"
|
874 |
+
|
875 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
876 |
+
msgid "Area 1"
|
877 |
+
msgstr "Area 1"
|
878 |
+
|
879 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
880 |
+
msgid "Area 2"
|
881 |
+
msgstr "Area 2"
|
882 |
+
|
883 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
884 |
+
msgid "Area 3"
|
885 |
+
msgstr "Area 3"
|
886 |
+
|
887 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
888 |
+
msgid "Area 4"
|
889 |
+
msgstr "Area 4"
|
890 |
+
|
891 |
+
#: ../skins/templates/suggestion/suggestion.php:22
|
892 |
+
msgid "Note: You can select multiple items (Use Shift or Ctrl/Cmd + Click)"
|
893 |
+
msgstr ""
|
894 |
+
"Catatan: Anda bisa memilih beberapa item (Gunakan Shift atau Ctrl/Cmd + Klik)"
|
895 |
+
|
896 |
+
#: ../skins/templates/suggestion/suggestion.php:23
|
897 |
+
msgid "Suggestion"
|
898 |
+
msgstr "Anjuran"
|
899 |
+
|
900 |
+
#: ../skins/templates/suggestion/suggestion.php:25
|
901 |
+
msgid ""
|
902 |
+
"Your Email - please enter your email if you would like us to follow up with "
|
903 |
+
"you."
|
904 |
+
msgstr ""
|
905 |
+
"Surel Anda - mohon dimasukkan surel anda jika anda ingin kami menghubungi "
|
906 |
+
"anda."
|
907 |
+
|
908 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
909 |
+
msgid "Radio buttons"
|
910 |
+
msgstr "Tombol radio"
|
911 |
+
|
912 |
+
#: ../skins/templates/survey/survey.php:18
|
913 |
+
msgid "Survey Form"
|
914 |
+
msgstr "Form Survei"
|
915 |
+
|
916 |
+
#: ../skins/templates/survey/survey.php:21
|
917 |
+
msgid "Overall, how satisfied are you with our product / service?"
|
918 |
+
msgstr "Keseluruhan, betapa puas anda dengan produk/layanan kami?"
|
919 |
+
|
920 |
+
#: ../skins/templates/survey/survey.php:21
|
921 |
+
msgid "Very Satisfied"
|
922 |
+
msgstr "Sangat Puas"
|
923 |
+
|
924 |
+
#: ../skins/templates/survey/survey.php:21
|
925 |
+
msgid "Satisfied"
|
926 |
+
msgstr "Puas"
|
927 |
+
|
928 |
+
#: ../skins/templates/survey/survey.php:21
|
929 |
+
#: ../skins/templates/survey/survey.php:26
|
930 |
+
msgid "Neutral"
|
931 |
+
msgstr "Netral"
|
932 |
+
|
933 |
+
#: ../skins/templates/survey/survey.php:21
|
934 |
+
msgid "Unsatisfied"
|
935 |
+
msgstr "Tidak Puas"
|
936 |
+
|
937 |
+
#: ../skins/templates/survey/survey.php:21
|
938 |
+
msgid "Very Unsatisfied"
|
939 |
+
msgstr "Sangat Tidak Puas"
|
940 |
+
|
941 |
+
#: ../skins/templates/survey/survey.php:22
|
942 |
+
msgid "Would you recommend our product / service to others?"
|
943 |
+
msgstr "Maukah anda merekomendasikan produk/layanan kami ke orang lain?"
|
944 |
+
|
945 |
+
#: ../skins/templates/survey/survey.php:22
|
946 |
+
msgid "Definitely"
|
947 |
+
msgstr "Sudah Pasti"
|
948 |
+
|
949 |
+
#: ../skins/templates/survey/survey.php:22
|
950 |
+
msgid "Probably"
|
951 |
+
msgstr "Mungkin"
|
952 |
+
|
953 |
+
#: ../skins/templates/survey/survey.php:22
|
954 |
+
msgid "Not Sure"
|
955 |
+
msgstr "Kurang Pasti"
|
956 |
+
|
957 |
+
#: ../skins/templates/survey/survey.php:22
|
958 |
+
msgid "Probably Not"
|
959 |
+
msgstr "Mungkin Tidak"
|
960 |
+
|
961 |
+
#: ../skins/templates/survey/survey.php:22
|
962 |
+
msgid "Definitely Not"
|
963 |
+
msgstr "Tidak Sama Sekali"
|
964 |
+
|
965 |
+
#: ../skins/templates/survey/survey.php:23
|
966 |
+
msgid "How long have you used our product / service?"
|
967 |
+
msgstr "Sudah berapa lama anda menggunakan produk kami?"
|
968 |
+
|
969 |
+
#: ../skins/templates/survey/survey.php:23
|
970 |
+
msgid "Less than a month"
|
971 |
+
msgstr "Kurang dari sebulan"
|
972 |
+
|
973 |
+
#: ../skins/templates/survey/survey.php:23
|
974 |
+
msgid "1-6 months"
|
975 |
+
msgstr "1-6 bulan"
|
976 |
+
|
977 |
+
#: ../skins/templates/survey/survey.php:23
|
978 |
+
msgid "1-3 years"
|
979 |
+
msgstr "1-3 tahun"
|
980 |
+
|
981 |
+
#: ../skins/templates/survey/survey.php:23
|
982 |
+
msgid "Over 3 Years"
|
983 |
+
msgstr "Lebih dari 3 tahun"
|
984 |
+
|
985 |
+
#: ../skins/templates/survey/survey.php:23
|
986 |
+
msgid "Never used"
|
987 |
+
msgstr "Belum pernah menggunakan"
|
988 |
+
|
989 |
+
#: ../skins/templates/survey/survey.php:24
|
990 |
+
msgid "How often do you use our product / service?"
|
991 |
+
msgstr "Seberapa sering anda menggunakan produk/layanan kami?"
|
992 |
+
|
993 |
+
#: ../skins/templates/survey/survey.php:24
|
994 |
+
msgid "Once a week"
|
995 |
+
msgstr "Sekali seminggu"
|
996 |
+
|
997 |
+
#: ../skins/templates/survey/survey.php:24
|
998 |
+
msgid "2 to 3 times a month"
|
999 |
+
msgstr "2 - 3 kali sebulan"
|
1000 |
+
|
1001 |
+
#: ../skins/templates/survey/survey.php:24
|
1002 |
+
msgid "Once a month"
|
1003 |
+
msgstr "Sekali sebulan"
|
1004 |
+
|
1005 |
+
#: ../skins/templates/survey/survey.php:24
|
1006 |
+
msgid "Less than once a month"
|
1007 |
+
msgstr "Kurang dari sekali sebulan"
|
1008 |
+
|
1009 |
+
#: ../skins/templates/survey/survey.php:25
|
1010 |
+
msgid "What aspect of the product / service were you most satisfied by?"
|
1011 |
+
msgstr "Aspek apa dari produk/layanan kami yang paling anda sukai?"
|
1012 |
+
|
1013 |
+
#: ../skins/templates/survey/survey.php:25
|
1014 |
+
msgid "Quality"
|
1015 |
+
msgstr "Kualitas"
|
1016 |
+
|
1017 |
+
#: ../skins/templates/survey/survey.php:25
|
1018 |
+
msgid "Price"
|
1019 |
+
msgstr "Harga"
|
1020 |
+
|
1021 |
+
#: ../skins/templates/survey/survey.php:25
|
1022 |
+
msgid "Purchase Experience"
|
1023 |
+
msgstr "Pengalaman Pembelian"
|
1024 |
+
|
1025 |
+
#: ../skins/templates/survey/survey.php:25
|
1026 |
+
msgid "Usage Experience"
|
1027 |
+
msgstr "Pengalaman Penggunaan"
|
1028 |
+
|
1029 |
+
#: ../skins/templates/survey/survey.php:25
|
1030 |
+
msgid "Customer Service"
|
1031 |
+
msgstr "Layanan Pengguna"
|
1032 |
+
|
1033 |
+
#: ../skins/templates/survey/survey.php:26
|
1034 |
+
msgid "Overall, the product / service met my expectations?"
|
1035 |
+
msgstr "Kesemuanya, produk/layanan yang sesuai dengan harapan saya?"
|
1036 |
+
|
1037 |
+
#: ../skins/templates/survey/survey.php:26
|
1038 |
+
msgid "Strongly Agree"
|
1039 |
+
msgstr "Sangat Setuju"
|
1040 |
+
|
1041 |
+
#: ../skins/templates/survey/survey.php:26
|
1042 |
+
msgid "Agree"
|
1043 |
+
msgstr "Setuju"
|
1044 |
+
|
1045 |
+
#: ../skins/templates/survey/survey.php:26
|
1046 |
+
msgid "Disagree"
|
1047 |
+
msgstr "Tidak Setuju"
|
1048 |
+
|
1049 |
+
#: ../skins/templates/survey/survey.php:26
|
1050 |
+
msgid "Strongly Disagree"
|
1051 |
+
msgstr "Sangat Tidak Setuju"
|
1052 |
+
|
1053 |
+
#: ../skins/templates/survey/survey.php:26
|
1054 |
+
#: ../skins/templates/survey/survey.php:28
|
1055 |
+
msgid "Don't Know"
|
1056 |
+
msgstr "Tidak Tahu"
|
1057 |
+
|
1058 |
+
#: ../skins/templates/survey/survey.php:27
|
1059 |
+
msgid "What do you like about the product / service?"
|
1060 |
+
msgstr "Apa yang anda sukai dari produk/layanan kami?"
|
1061 |
+
|
1062 |
+
#: ../skins/templates/survey/survey.php:28
|
1063 |
+
msgid ""
|
1064 |
+
"Thinking of similar products / services offered by others, how would you "
|
1065 |
+
"compare the product / service offered by us?"
|
1066 |
+
msgstr ""
|
1067 |
+
"Berkenaan dengan produk/layanan pihak lain, bagaimana pandangan anda "
|
1068 |
+
"mengenai produk/layanan yang kami berikan?"
|
1069 |
+
|
1070 |
+
#: ../skins/templates/survey/survey.php:28
|
1071 |
+
msgid "Much Better"
|
1072 |
+
msgstr "Lebih Baik"
|
1073 |
+
|
1074 |
+
#: ../skins/templates/survey/survey.php:28
|
1075 |
+
msgid "Somewhat Better"
|
1076 |
+
msgstr "Sedikit Baik"
|
1077 |
+
|
1078 |
+
#: ../skins/templates/survey/survey.php:28
|
1079 |
+
msgid "About the Same"
|
1080 |
+
msgstr "Sama saja"
|
1081 |
+
|
1082 |
+
#: ../skins/templates/survey/survey.php:28
|
1083 |
+
msgid "Somewhat Worse"
|
1084 |
+
msgstr "Sedikit Buruk"
|
1085 |
+
|
1086 |
+
#: ../skins/templates/survey/survey.php:28
|
1087 |
+
msgid "Much Worse"
|
1088 |
+
msgstr "Lebih Buruk"
|
1089 |
+
|
1090 |
+
#~ msgid "Custom Styles & Scripts"
|
1091 |
+
#~ msgstr "Tambahan Gaya & Skrip"
|
1092 |
+
|
1093 |
+
#~ msgid ""
|
1094 |
+
#~ "Print your custom scripts or styles with the tag to push to the wp_head()."
|
1095 |
+
#~ msgstr "Cetak tambahan gaya atau skrip dengan tag ke wp_head()"
|
1096 |
+
|
1097 |
+
#~ msgid "Link 1"
|
1098 |
+
#~ msgstr "Tautan 1"
|
1099 |
+
|
1100 |
+
#~ msgid "Link 2"
|
1101 |
+
#~ msgstr "Tautan 2"
|
1102 |
+
|
1103 |
+
#~ msgid "Link 3"
|
1104 |
+
#~ msgstr "Tautan 3"
|
1105 |
+
|
1106 |
+
#~ msgid "Link 4"
|
1107 |
+
#~ msgstr "Tautan 4"
|
1108 |
+
|
1109 |
+
#~ msgid "Link A"
|
1110 |
+
#~ msgstr "Tautan A"
|
1111 |
+
|
1112 |
+
#~ msgid "Link B"
|
1113 |
+
#~ msgstr "Tautan B"
|
1114 |
+
|
1115 |
+
#~ msgid "Link C"
|
1116 |
+
#~ msgstr "Tautan C"
|
1117 |
+
|
1118 |
+
#~ msgid "Installed"
|
1119 |
+
#~ msgstr "Terinstal"
|
languages/cf7skins.po
ADDED
@@ -0,0 +1,1044 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2013 cf7skins
|
2 |
+
# This file is distributed under the same license as the Contact Form 7 Skins package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Contact Form 7 Skins 0.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: \n"
|
7 |
+
"POT-Creation-Date: 2015-02-05 11:17+0700\n"
|
8 |
+
"PO-Revision-Date: 2015-02-05 11:17+0700\n"
|
9 |
+
"Last-Translator: Selz <engineer@selz.com>\n"
|
10 |
+
"Language-Team: Neil Murray <nmurray@exemail.com.au>\n"
|
11 |
+
"Language: en_US\n"
|
12 |
+
"MIME-Version: 1.0\n"
|
13 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
+
"Content-Transfer-Encoding: 8bit\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e\n"
|
16 |
+
"X-Poedit-Basepath: .\n"
|
17 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
+
"X-Generator: Poedit 1.5.7\n"
|
19 |
+
"X-Poedit-SearchPath-0: ..\n"
|
20 |
+
|
21 |
+
#: ../index.php:208
|
22 |
+
#, php-format
|
23 |
+
msgid "<a href=\"%s\">Contact Form 7</a> must be installed to use this plugin."
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: ../includes/admin.php:94
|
27 |
+
msgid "Loading template..."
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: ../includes/admin.php:95
|
31 |
+
msgid "Empty filter, please select a filter."
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: ../includes/admin.php:96 ../includes/style.php:376
|
35 |
+
#: ../includes/style.php:413 ../includes/template.php:383
|
36 |
+
#: ../includes/template.php:421
|
37 |
+
msgid "Select"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: ../includes/admin.php:97 ../includes/style.php:376
|
41 |
+
#: ../includes/style.php:413 ../includes/template.php:383
|
42 |
+
#: ../includes/template.php:421
|
43 |
+
msgid "Selected"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: ../includes/admin.php:98 ../includes/style.php:423
|
47 |
+
#: ../includes/template.php:430
|
48 |
+
msgid "Expanded View"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: ../includes/admin.php:114
|
52 |
+
msgid "Skins"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:177
|
56 |
+
#, php-format
|
57 |
+
msgid ""
|
58 |
+
"There is a new version of %1$s available. <a target=\"_blank\" class="
|
59 |
+
"\"thickbox\" href=\"%2$s\">View version %3$s details</a>."
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:184
|
63 |
+
#, php-format
|
64 |
+
msgid ""
|
65 |
+
"There is a new version of %1$s available. <a target=\"_blank\" class="
|
66 |
+
"\"thickbox\" href=\"%2$s\">View version %3$s details</a> or <a href=\"%4$s"
|
67 |
+
"\">update now</a>."
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:329
|
71 |
+
msgid "You do not have permission to install plugin updates"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: ../includes/EDD_SL_Plugin_Updater.php:329
|
75 |
+
msgid "Error"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: ../includes/license.php:72
|
79 |
+
msgid "Licenses"
|
80 |
+
msgstr ""
|
81 |
+
|
82 |
+
#: ../includes/license.php:92
|
83 |
+
msgid "Skins License Key"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#: ../includes/license.php:95
|
87 |
+
msgid "Enter your CF7 Skins license key and save before activating."
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: ../includes/license.php:257
|
91 |
+
#, php-format
|
92 |
+
msgid ""
|
93 |
+
"Please activate your <a href=\"%1$s\" target=\"_blank\">License Key</a> to "
|
94 |
+
"access Contact Form 7 Skins plus automatic upgrades and premium email "
|
95 |
+
"support. Need a license key? <a href=\"%1$s\" target=\"_blank\">Purchase one "
|
96 |
+
"now</a>."
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: ../includes/logs.php:39
|
100 |
+
msgid "Logs"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: ../includes/logs.php:53
|
104 |
+
msgid "Get Version"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: ../includes/logs.php:59
|
108 |
+
msgid "Activation"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: ../includes/logs.php:65
|
112 |
+
msgid "Deactivation"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: ../includes/logs.php:96 ../includes/logs.php:123 ../includes/logs.php:171
|
116 |
+
msgid "Not available"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: ../includes/settings.php:49
|
120 |
+
msgid "General"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: ../includes/settings.php:50
|
124 |
+
msgid "Advanced"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: ../includes/settings.php:82
|
128 |
+
msgid "Contact Form 7 Skins Settings"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: ../includes/settings.php:99
|
132 |
+
msgid "Save Changes"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: ../includes/settings.php:136
|
136 |
+
msgid "Color Scheme"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: ../includes/settings.php:139
|
140 |
+
msgid "Select color scheme for CF7 Skins interface."
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: ../includes/settings.php:149
|
144 |
+
msgid "Display Log"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: ../includes/settings.php:152
|
148 |
+
msgid "Displays plugin log tab."
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: ../includes/settings.php:156
|
152 |
+
msgid "Delete Settings"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: ../includes/settings.php:159
|
156 |
+
msgid "Remove all plugin data on plugin deletion."
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: ../includes/settings.php:284
|
160 |
+
msgid "active"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: ../includes/settings.php:285
|
164 |
+
msgid "Deactivate License"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: ../includes/settings.php:288
|
168 |
+
msgid "invalid"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: ../includes/settings.php:290
|
172 |
+
msgid "Activate License"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: ../includes/settings.php:331
|
176 |
+
msgid "Default"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: ../includes/settings.php:337
|
180 |
+
msgid "Wheat"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: ../includes/settings.php:343
|
184 |
+
msgid "Ocean"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: ../includes/style.php:140 ../includes/style.php:221
|
188 |
+
#: ../includes/style.php:310
|
189 |
+
msgid "Colors"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: ../includes/style.php:141
|
193 |
+
msgid "Black"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: ../includes/style.php:142
|
197 |
+
msgid "Brown"
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: ../includes/style.php:143
|
201 |
+
msgid "Gray"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: ../includes/style.php:144
|
205 |
+
msgid "Green"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: ../includes/style.php:145
|
209 |
+
msgid "Orange"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: ../includes/style.php:146
|
213 |
+
msgid "Pink"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: ../includes/style.php:147
|
217 |
+
msgid "Purple"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: ../includes/style.php:148
|
221 |
+
msgid "Red"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: ../includes/style.php:149
|
225 |
+
msgid "Silver"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: ../includes/style.php:150
|
229 |
+
msgid "Tan"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: ../includes/style.php:151
|
233 |
+
msgid "White"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: ../includes/style.php:152
|
237 |
+
msgid "Yellow"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: ../includes/style.php:153
|
241 |
+
msgid "Dark"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: ../includes/style.php:154
|
245 |
+
msgid "Light"
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: ../includes/style.php:157
|
249 |
+
msgid "Layout"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: ../includes/style.php:158 ../includes/template.php:174
|
253 |
+
msgid "Fixed Layout"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: ../includes/style.php:159 ../includes/template.php:175
|
257 |
+
msgid "Fluid Layout"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: ../includes/style.php:160 ../includes/template.php:176
|
261 |
+
msgid "Responsive Layout"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: ../includes/style.php:161 ../includes/template.php:177
|
265 |
+
msgid "One Column"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
+
#: ../includes/style.php:162 ../includes/template.php:178
|
269 |
+
msgid "One or Two Column"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: ../includes/style.php:163 ../includes/template.php:179
|
273 |
+
msgid "One, Two or Three Column"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#: ../includes/style.php:166
|
277 |
+
msgid "Features"
|
278 |
+
msgstr ""
|
279 |
+
|
280 |
+
#: ../includes/style.php:167 ../includes/template.php:183
|
281 |
+
msgid "Fieldsets"
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: ../includes/style.php:168 ../includes/template.php:184
|
285 |
+
msgid "Background"
|
286 |
+
msgstr ""
|
287 |
+
|
288 |
+
#: ../includes/style.php:169 ../includes/template.php:185
|
289 |
+
msgid "Gradients"
|
290 |
+
msgstr ""
|
291 |
+
|
292 |
+
#: ../includes/style.php:172
|
293 |
+
#: ../skins/templates/default/default-cf7-form.php:23
|
294 |
+
msgid "Subject"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: ../includes/style.php:173 ../includes/template.php:189
|
298 |
+
msgid "Business"
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: ../includes/style.php:174 ../includes/template.php:190
|
302 |
+
#: ../skins/templates/event/event.php:18
|
303 |
+
msgid "Event"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: ../includes/style.php:175 ../includes/template.php:191
|
307 |
+
msgid "Holiday"
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: ../includes/style.php:176 ../includes/template.php:192
|
311 |
+
msgid "Individual"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: ../includes/style.php:177 ../includes/template.php:193
|
315 |
+
msgid "Seasonal"
|
316 |
+
msgstr ""
|
317 |
+
|
318 |
+
#: ../includes/style.php:198 ../includes/style.php:286
|
319 |
+
msgid "All available Styles"
|
320 |
+
msgstr ""
|
321 |
+
|
322 |
+
#: ../includes/style.php:198 ../includes/style.php:286
|
323 |
+
#: ../includes/template.php:213 ../includes/template.php:297
|
324 |
+
msgid "All"
|
325 |
+
msgstr ""
|
326 |
+
|
327 |
+
#: ../includes/style.php:199 ../includes/style.php:287
|
328 |
+
msgid "Selected by the CF7 Skins team"
|
329 |
+
msgstr ""
|
330 |
+
|
331 |
+
#: ../includes/style.php:199 ../includes/style.php:287
|
332 |
+
#: ../includes/template.php:214 ../includes/template.php:298
|
333 |
+
msgid "Featured"
|
334 |
+
msgstr ""
|
335 |
+
|
336 |
+
#: ../includes/style.php:200 ../includes/style.php:288
|
337 |
+
#: ../includes/template.php:215 ../includes/template.php:299
|
338 |
+
msgid "Commonly used"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: ../includes/style.php:200 ../includes/style.php:288
|
342 |
+
#: ../includes/template.php:215 ../includes/template.php:299
|
343 |
+
msgid "Popular"
|
344 |
+
msgstr ""
|
345 |
+
|
346 |
+
#: ../includes/style.php:201 ../includes/style.php:289
|
347 |
+
#: ../includes/template.php:216 ../includes/template.php:300
|
348 |
+
msgid "Recently added"
|
349 |
+
msgstr ""
|
350 |
+
|
351 |
+
#: ../includes/style.php:201 ../includes/style.php:289
|
352 |
+
#: ../includes/template.php:216 ../includes/template.php:300
|
353 |
+
msgid "Latest"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: ../includes/style.php:207 ../includes/style.php:293
|
357 |
+
#: ../includes/template.php:222 ../includes/template.php:304
|
358 |
+
msgid "Narrow your choices based on your specific requirements"
|
359 |
+
msgstr ""
|
360 |
+
|
361 |
+
#: ../includes/style.php:212 ../includes/style.php:303
|
362 |
+
msgid ""
|
363 |
+
"Check all the boxes that meet your specific requirements and then click "
|
364 |
+
"apply filters."
|
365 |
+
msgstr ""
|
366 |
+
|
367 |
+
#: ../includes/style.php:212 ../includes/style.php:303
|
368 |
+
#: ../includes/template.php:227 ../includes/template.php:314
|
369 |
+
msgid "Apply Filters"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: ../includes/style.php:213 ../includes/style.php:304
|
373 |
+
#: ../includes/template.php:228 ../includes/template.php:315
|
374 |
+
msgid "Clear"
|
375 |
+
msgstr ""
|
376 |
+
|
377 |
+
#: ../includes/style.php:240 ../includes/style.php:328
|
378 |
+
#: ../includes/template.php:251 ../includes/template.php:335
|
379 |
+
msgid "Filtering by:"
|
380 |
+
msgstr ""
|
381 |
+
|
382 |
+
#: ../includes/style.php:242 ../includes/style.php:330
|
383 |
+
#: ../includes/template.php:253 ../includes/template.php:337
|
384 |
+
msgid "Edit"
|
385 |
+
msgstr ""
|
386 |
+
|
387 |
+
#: ../includes/style.php:247 ../includes/style.php:335
|
388 |
+
#: ../includes/template.php:258 ../includes/template.php:341
|
389 |
+
msgid ""
|
390 |
+
"Sort by Name, Date and License (free or pro) – use arrow to reverse sort "
|
391 |
+
"order"
|
392 |
+
msgstr ""
|
393 |
+
|
394 |
+
#: ../includes/style.php:247 ../includes/style.php:335
|
395 |
+
#: ../includes/template.php:258 ../includes/template.php:341
|
396 |
+
msgid "Sort by"
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: ../includes/style.php:249 ../includes/style.php:337
|
400 |
+
#: ../includes/template.php:260 ../includes/template.php:343
|
401 |
+
#: ../skins/templates/event/event.php:20
|
402 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:20
|
403 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:20
|
404 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:20
|
405 |
+
#: ../skins/templates/registration/registration.php:20
|
406 |
+
msgid "Name"
|
407 |
+
msgstr ""
|
408 |
+
|
409 |
+
#: ../includes/style.php:250 ../includes/style.php:338
|
410 |
+
#: ../includes/template.php:261 ../includes/template.php:344
|
411 |
+
msgid "Date"
|
412 |
+
msgstr ""
|
413 |
+
|
414 |
+
#: ../includes/style.php:251 ../includes/style.php:339
|
415 |
+
#: ../includes/template.php:262 ../includes/template.php:345
|
416 |
+
msgid "License"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: ../includes/style.php:255 ../includes/style.php:297
|
420 |
+
msgid "Search Styles"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: ../includes/style.php:256 ../includes/style.php:298
|
424 |
+
msgid "Search styles..."
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: ../includes/style.php:392 ../includes/style.php:424
|
428 |
+
msgid ""
|
429 |
+
"Select to apply the Style to your form - is applied to your form once you "
|
430 |
+
"Save."
|
431 |
+
msgstr ""
|
432 |
+
|
433 |
+
#: ../includes/style.php:393
|
434 |
+
msgid ""
|
435 |
+
"Show detailed information about this Style - overview of the appearance and "
|
436 |
+
"layout with description and usage details."
|
437 |
+
msgstr ""
|
438 |
+
|
439 |
+
#: ../includes/style.php:393 ../includes/style.php:427
|
440 |
+
#: ../includes/template.php:401 ../includes/template.php:434
|
441 |
+
#: ../skins/templates/suggestion/suggestion.php:24
|
442 |
+
msgid "Details"
|
443 |
+
msgstr ""
|
444 |
+
|
445 |
+
#: ../includes/style.php:423
|
446 |
+
msgid ""
|
447 |
+
"Use Expanded View to view styles features - shows all form fields available "
|
448 |
+
"in Contact Form 7."
|
449 |
+
msgstr ""
|
450 |
+
|
451 |
+
#: ../includes/style.php:425
|
452 |
+
msgid "Return to Style Gallery/Grid view."
|
453 |
+
msgstr ""
|
454 |
+
|
455 |
+
#: ../includes/style.php:425 ../includes/style.php:445
|
456 |
+
#: ../includes/template.php:432 ../includes/template.php:451
|
457 |
+
msgid "Close"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: ../includes/style.php:430 ../includes/template.php:437
|
461 |
+
msgid "Version: "
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: ../includes/style.php:432 ../includes/style.php:450
|
465 |
+
#: ../includes/template.php:439 ../includes/template.php:456
|
466 |
+
msgid "Description"
|
467 |
+
msgstr ""
|
468 |
+
|
469 |
+
#: ../includes/style.php:435 ../includes/style.php:453
|
470 |
+
#: ../includes/template.php:442 ../includes/template.php:459
|
471 |
+
msgid "Instructions"
|
472 |
+
msgstr ""
|
473 |
+
|
474 |
+
#: ../includes/style.php:443 ../includes/template.php:449
|
475 |
+
msgid "Return to Details View"
|
476 |
+
msgstr ""
|
477 |
+
|
478 |
+
#: ../includes/style.php:443 ../includes/template.php:449
|
479 |
+
msgid "Details View"
|
480 |
+
msgstr ""
|
481 |
+
|
482 |
+
#: ../includes/style.php:444
|
483 |
+
msgid ""
|
484 |
+
"Select to apply the Style to your form - is applied to your form once you "
|
485 |
+
"Save"
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: ../includes/style.php:445
|
489 |
+
msgid "Return to Style Gallery/Grid View"
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: ../includes/tab.php:29 ../includes/tab.php:225
|
493 |
+
msgid "Template"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: ../includes/tab.php:30 ../includes/tab.php:233
|
497 |
+
msgid "Style"
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: ../includes/tab.php:125
|
501 |
+
msgid "No templates found. Try a different search."
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: ../includes/tab.php:201
|
505 |
+
msgid "No styles found. Try a different search."
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: ../includes/tab.php:226
|
509 |
+
msgid ""
|
510 |
+
"Each Template acts as an easy to follow guide, which can be adapted to your "
|
511 |
+
"requirements < Templates >"
|
512 |
+
msgstr ""
|
513 |
+
|
514 |
+
#: ../includes/tab.php:227
|
515 |
+
msgid ""
|
516 |
+
"Choose a Template for your form – then you can add, copy or remove fields to "
|
517 |
+
"match your requirements."
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: ../includes/tab.php:234
|
521 |
+
msgid ""
|
522 |
+
"Each Style covers the full range of standard form elements available within "
|
523 |
+
"Contact Form 7 <Styles>"
|
524 |
+
msgstr ""
|
525 |
+
|
526 |
+
#: ../includes/tab.php:235
|
527 |
+
msgid ""
|
528 |
+
"You can change the Style applied to your form by simply selecting a "
|
529 |
+
"different Style"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: ../includes/tab.php:242
|
533 |
+
msgid "!"
|
534 |
+
msgstr ""
|
535 |
+
|
536 |
+
#: ../includes/tab.php:243 ../includes/tab.php:308
|
537 |
+
msgid "?"
|
538 |
+
msgstr ""
|
539 |
+
|
540 |
+
#: ../includes/tab.php:281
|
541 |
+
msgid "Documentation"
|
542 |
+
msgstr ""
|
543 |
+
|
544 |
+
#: ../includes/tab.php:282
|
545 |
+
msgid "FAQ"
|
546 |
+
msgstr ""
|
547 |
+
|
548 |
+
#: ../includes/tab.php:283
|
549 |
+
msgid "Tutorials"
|
550 |
+
msgstr ""
|
551 |
+
|
552 |
+
#: ../includes/tab.php:284
|
553 |
+
msgid "Knowledge Base"
|
554 |
+
msgstr ""
|
555 |
+
|
556 |
+
#: ../includes/tab.php:295
|
557 |
+
msgid "Support"
|
558 |
+
msgstr ""
|
559 |
+
|
560 |
+
#: ../includes/tab.php:296
|
561 |
+
msgid "Blog"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: ../includes/tab.php:297
|
565 |
+
msgid "Pro Version"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: ../includes/template.php:213 ../includes/template.php:297
|
569 |
+
msgid "All available Templates"
|
570 |
+
msgstr ""
|
571 |
+
|
572 |
+
#: ../includes/template.php:214 ../includes/template.php:298
|
573 |
+
msgid "Selected by CF7 Skins Team"
|
574 |
+
msgstr ""
|
575 |
+
|
576 |
+
#: ../includes/template.php:222 ../includes/template.php:304
|
577 |
+
msgid "Feature Filter"
|
578 |
+
msgstr ""
|
579 |
+
|
580 |
+
#: ../includes/template.php:266 ../includes/template.php:308
|
581 |
+
msgid "Search Templates"
|
582 |
+
msgstr ""
|
583 |
+
|
584 |
+
#: ../includes/template.php:267 ../includes/template.php:309
|
585 |
+
msgid "Search templates..."
|
586 |
+
msgstr ""
|
587 |
+
|
588 |
+
#: ../includes/template.php:400
|
589 |
+
msgid ""
|
590 |
+
"Select to apply the Template to your form - appears in the form editing "
|
591 |
+
"area, where you can edit your requirements."
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: ../includes/template.php:401
|
595 |
+
msgid ""
|
596 |
+
"Show detailed information about this Template, with layout, description and "
|
597 |
+
"usage details."
|
598 |
+
msgstr ""
|
599 |
+
|
600 |
+
#: ../includes/template.php:430
|
601 |
+
msgid ""
|
602 |
+
"Use Expanded View to view template features - shows layout, description & "
|
603 |
+
"usage details."
|
604 |
+
msgstr ""
|
605 |
+
|
606 |
+
#: ../includes/template.php:431
|
607 |
+
msgid ""
|
608 |
+
"Select to apply the Template to your form - appears in the Form Editing "
|
609 |
+
"area, where you can edit to your requirements."
|
610 |
+
msgstr ""
|
611 |
+
|
612 |
+
#: ../includes/template.php:432
|
613 |
+
msgid "Return to Template Gallery/Grid view."
|
614 |
+
msgstr ""
|
615 |
+
|
616 |
+
#: ../includes/template.php:450
|
617 |
+
msgid ""
|
618 |
+
"Select to apply the Template to your form - appears in the Form editing "
|
619 |
+
"area, where you can edit to your requirements."
|
620 |
+
msgstr ""
|
621 |
+
|
622 |
+
#: ../includes/template.php:451
|
623 |
+
msgid "Return to Template Gallery/ Grid View"
|
624 |
+
msgstr ""
|
625 |
+
|
626 |
+
#: ../skins/templates/contact/contact.php:18
|
627 |
+
msgid "Contact Form"
|
628 |
+
msgstr ""
|
629 |
+
|
630 |
+
#: ../skins/templates/contact/contact.php:20
|
631 |
+
#: ../skins/templates/default/default-cf7-form.php:17
|
632 |
+
msgid "Your Name (required)"
|
633 |
+
msgstr ""
|
634 |
+
|
635 |
+
#: ../skins/templates/contact/contact.php:21
|
636 |
+
msgid "Email Address (required)"
|
637 |
+
msgstr ""
|
638 |
+
|
639 |
+
#: ../skins/templates/contact/contact.php:22
|
640 |
+
#: ../skins/templates/default/default-cf7-form.php:26
|
641 |
+
msgid "Your Message"
|
642 |
+
msgstr ""
|
643 |
+
|
644 |
+
#: ../skins/templates/contact/contact.php:24
|
645 |
+
#: ../skins/templates/event/event.php:28
|
646 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:25
|
647 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:34
|
648 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:35
|
649 |
+
#: ../skins/templates/registration/registration.php:31
|
650 |
+
#: ../skins/templates/suggestion/suggestion.php:29
|
651 |
+
#: ../skins/templates/survey/survey.php:30
|
652 |
+
msgid "Submit"
|
653 |
+
msgstr ""
|
654 |
+
|
655 |
+
#: ../skins/templates/contact/contact.php:25
|
656 |
+
#: ../skins/templates/event/event.php:29
|
657 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:26
|
658 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:35
|
659 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:36
|
660 |
+
msgid "Required"
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: ../skins/templates/default/default-cf7-form.php:20
|
664 |
+
msgid "Your Email (required)"
|
665 |
+
msgstr ""
|
666 |
+
|
667 |
+
#: ../skins/templates/default/default-cf7-form.php:29
|
668 |
+
msgid "Send"
|
669 |
+
msgstr ""
|
670 |
+
|
671 |
+
#: ../skins/templates/event/event.php:21
|
672 |
+
#: ../skins/templates/registration/registration.php:24
|
673 |
+
msgid "Phone Number"
|
674 |
+
msgstr ""
|
675 |
+
|
676 |
+
#: ../skins/templates/event/event.php:22
|
677 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:21
|
678 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:21
|
679 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:21
|
680 |
+
#: ../skins/templates/registration/registration.php:25
|
681 |
+
#: ../skins/templates/registration/registration.php:27
|
682 |
+
msgid "Email"
|
683 |
+
msgstr ""
|
684 |
+
|
685 |
+
#: ../skins/templates/event/event.php:23
|
686 |
+
msgid "Which workshops will you be attending?"
|
687 |
+
msgstr ""
|
688 |
+
|
689 |
+
#: ../skins/templates/event/event.php:23 ../skins/templates/event/event.php:25
|
690 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
691 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
692 |
+
#: ../skins/templates/registration/registration.php:28
|
693 |
+
#: ../skins/templates/registration/registration.php:29
|
694 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
695 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
696 |
+
msgid "Option 1"
|
697 |
+
msgstr ""
|
698 |
+
|
699 |
+
#: ../skins/templates/event/event.php:23 ../skins/templates/event/event.php:25
|
700 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
701 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
702 |
+
#: ../skins/templates/registration/registration.php:28
|
703 |
+
#: ../skins/templates/registration/registration.php:29
|
704 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
705 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
706 |
+
msgid "Option 2"
|
707 |
+
msgstr ""
|
708 |
+
|
709 |
+
#: ../skins/templates/event/event.php:23 ../skins/templates/event/event.php:25
|
710 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
711 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
712 |
+
#: ../skins/templates/registration/registration.php:28
|
713 |
+
#: ../skins/templates/registration/registration.php:29
|
714 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
715 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
716 |
+
msgid "Option 3"
|
717 |
+
msgstr ""
|
718 |
+
|
719 |
+
#: ../skins/templates/event/event.php:24
|
720 |
+
msgid "Are you an existing customer?"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: ../skins/templates/event/event.php:24
|
724 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:30
|
725 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:31
|
726 |
+
msgid "Yes"
|
727 |
+
msgstr ""
|
728 |
+
|
729 |
+
#: ../skins/templates/event/event.php:24
|
730 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:30
|
731 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:31
|
732 |
+
msgid "No"
|
733 |
+
msgstr ""
|
734 |
+
|
735 |
+
#: ../skins/templates/event/event.php:25
|
736 |
+
msgid "How did find out about this event?"
|
737 |
+
msgstr ""
|
738 |
+
|
739 |
+
#: ../skins/templates/event/event.php:26
|
740 |
+
msgid "Comments or Questions"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:18
|
744 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:18
|
745 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:18
|
746 |
+
msgid "Your Details"
|
747 |
+
msgstr ""
|
748 |
+
|
749 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:22
|
750 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:22
|
751 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:22
|
752 |
+
#: ../skins/templates/registration/registration.php:27
|
753 |
+
msgid "Phone"
|
754 |
+
msgstr ""
|
755 |
+
|
756 |
+
#: ../skins/templates/fieldset-basic/fieldset-basic.php:23
|
757 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:23
|
758 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:23
|
759 |
+
#: ../skins/templates/registration/registration.php:26
|
760 |
+
msgid "Message"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:27
|
764 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:28
|
765 |
+
msgid "Your Requirements"
|
766 |
+
msgstr ""
|
767 |
+
|
768 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:29
|
769 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:30
|
770 |
+
#: ../skins/templates/registration/registration.php:29
|
771 |
+
#: ../skins/templates/suggestion/suggestion.php:27
|
772 |
+
msgid "Checkboxes"
|
773 |
+
msgstr ""
|
774 |
+
|
775 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:30
|
776 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:31
|
777 |
+
msgid "Radio Buttons"
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
781 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
782 |
+
msgid "Dropdown Select"
|
783 |
+
msgstr ""
|
784 |
+
|
785 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
786 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
787 |
+
msgid "Item 1"
|
788 |
+
msgstr ""
|
789 |
+
|
790 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
791 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
792 |
+
msgid "Item 2"
|
793 |
+
msgstr ""
|
794 |
+
|
795 |
+
#: ../skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php:31
|
796 |
+
#: ../skins/templates/fieldset-multiple/fieldset-multiple.php:32
|
797 |
+
msgid "Item 3"
|
798 |
+
msgstr ""
|
799 |
+
|
800 |
+
#: ../skins/templates/registration/registration.php:18
|
801 |
+
msgid "Registration"
|
802 |
+
msgstr ""
|
803 |
+
|
804 |
+
#: ../skins/templates/registration/registration.php:21
|
805 |
+
msgid "Address"
|
806 |
+
msgstr ""
|
807 |
+
|
808 |
+
#: ../skins/templates/registration/registration.php:22
|
809 |
+
msgid "City"
|
810 |
+
msgstr ""
|
811 |
+
|
812 |
+
#: ../skins/templates/registration/registration.php:23
|
813 |
+
msgid "State / Province / Region"
|
814 |
+
msgstr ""
|
815 |
+
|
816 |
+
#: ../skins/templates/registration/registration.php:27
|
817 |
+
msgid "Preferred Contact Method"
|
818 |
+
msgstr ""
|
819 |
+
|
820 |
+
#: ../skins/templates/registration/registration.php:28
|
821 |
+
msgid "Drop-down menu"
|
822 |
+
msgstr ""
|
823 |
+
|
824 |
+
#: ../skins/templates/suggestion/suggestion.php:18
|
825 |
+
msgid "Suggestion Form"
|
826 |
+
msgstr ""
|
827 |
+
|
828 |
+
#: ../skins/templates/suggestion/suggestion.php:19
|
829 |
+
msgid "Please let us know what you think."
|
830 |
+
msgstr ""
|
831 |
+
|
832 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
833 |
+
msgid "In which of the following areas do you have a suggestion?"
|
834 |
+
msgstr ""
|
835 |
+
|
836 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
837 |
+
msgid "Area 1"
|
838 |
+
msgstr ""
|
839 |
+
|
840 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
841 |
+
msgid "Area 2"
|
842 |
+
msgstr ""
|
843 |
+
|
844 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
845 |
+
msgid "Area 3"
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: ../skins/templates/suggestion/suggestion.php:21
|
849 |
+
msgid "Area 4"
|
850 |
+
msgstr ""
|
851 |
+
|
852 |
+
#: ../skins/templates/suggestion/suggestion.php:22
|
853 |
+
msgid "Note: You can select multiple items (Use Shift or Ctrl/Cmd + Click)"
|
854 |
+
msgstr ""
|
855 |
+
|
856 |
+
#: ../skins/templates/suggestion/suggestion.php:23
|
857 |
+
msgid "Suggestion"
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: ../skins/templates/suggestion/suggestion.php:25
|
861 |
+
msgid ""
|
862 |
+
"Your Email - please enter your email if you would like us to follow up with "
|
863 |
+
"you."
|
864 |
+
msgstr ""
|
865 |
+
|
866 |
+
#: ../skins/templates/suggestion/suggestion.php:26
|
867 |
+
msgid "Radio buttons"
|
868 |
+
msgstr ""
|
869 |
+
|
870 |
+
#: ../skins/templates/survey/survey.php:18
|
871 |
+
msgid "Survey Form"
|
872 |
+
msgstr ""
|
873 |
+
|
874 |
+
#: ../skins/templates/survey/survey.php:21
|
875 |
+
msgid "Overall, how satisfied are you with our product / service?"
|
876 |
+
msgstr ""
|
877 |
+
|
878 |
+
#: ../skins/templates/survey/survey.php:21
|
879 |
+
msgid "Very Satisfied"
|
880 |
+
msgstr ""
|
881 |
+
|
882 |
+
#: ../skins/templates/survey/survey.php:21
|
883 |
+
msgid "Satisfied"
|
884 |
+
msgstr ""
|
885 |
+
|
886 |
+
#: ../skins/templates/survey/survey.php:21
|
887 |
+
#: ../skins/templates/survey/survey.php:26
|
888 |
+
msgid "Neutral"
|
889 |
+
msgstr ""
|
890 |
+
|
891 |
+
#: ../skins/templates/survey/survey.php:21
|
892 |
+
msgid "Unsatisfied"
|
893 |
+
msgstr ""
|
894 |
+
|
895 |
+
#: ../skins/templates/survey/survey.php:21
|
896 |
+
msgid "Very Unsatisfied"
|
897 |
+
msgstr ""
|
898 |
+
|
899 |
+
#: ../skins/templates/survey/survey.php:22
|
900 |
+
msgid "Would you recommend our product / service to others?"
|
901 |
+
msgstr ""
|
902 |
+
|
903 |
+
#: ../skins/templates/survey/survey.php:22
|
904 |
+
msgid "Definitely"
|
905 |
+
msgstr ""
|
906 |
+
|
907 |
+
#: ../skins/templates/survey/survey.php:22
|
908 |
+
msgid "Probably"
|
909 |
+
msgstr ""
|
910 |
+
|
911 |
+
#: ../skins/templates/survey/survey.php:22
|
912 |
+
msgid "Not Sure"
|
913 |
+
msgstr ""
|
914 |
+
|
915 |
+
#: ../skins/templates/survey/survey.php:22
|
916 |
+
msgid "Probably Not"
|
917 |
+
msgstr ""
|
918 |
+
|
919 |
+
#: ../skins/templates/survey/survey.php:22
|
920 |
+
msgid "Definitely Not"
|
921 |
+
msgstr ""
|
922 |
+
|
923 |
+
#: ../skins/templates/survey/survey.php:23
|
924 |
+
msgid "How long have you used our product / service?"
|
925 |
+
msgstr ""
|
926 |
+
|
927 |
+
#: ../skins/templates/survey/survey.php:23
|
928 |
+
msgid "Less than a month"
|
929 |
+
msgstr ""
|
930 |
+
|
931 |
+
#: ../skins/templates/survey/survey.php:23
|
932 |
+
msgid "1-6 months"
|
933 |
+
msgstr ""
|
934 |
+
|
935 |
+
#: ../skins/templates/survey/survey.php:23
|
936 |
+
msgid "1-3 years"
|
937 |
+
msgstr ""
|
938 |
+
|
939 |
+
#: ../skins/templates/survey/survey.php:23
|
940 |
+
msgid "Over 3 Years"
|
941 |
+
msgstr ""
|
942 |
+
|
943 |
+
#: ../skins/templates/survey/survey.php:23
|
944 |
+
msgid "Never used"
|
945 |
+
msgstr ""
|
946 |
+
|
947 |
+
#: ../skins/templates/survey/survey.php:24
|
948 |
+
msgid "How often do you use our product / service?"
|
949 |
+
msgstr ""
|
950 |
+
|
951 |
+
#: ../skins/templates/survey/survey.php:24
|
952 |
+
msgid "Once a week"
|
953 |
+
msgstr ""
|
954 |
+
|
955 |
+
#: ../skins/templates/survey/survey.php:24
|
956 |
+
msgid "2 to 3 times a month"
|
957 |
+
msgstr ""
|
958 |
+
|
959 |
+
#: ../skins/templates/survey/survey.php:24
|
960 |
+
msgid "Once a month"
|
961 |
+
msgstr ""
|
962 |
+
|
963 |
+
#: ../skins/templates/survey/survey.php:24
|
964 |
+
msgid "Less than once a month"
|
965 |
+
msgstr ""
|
966 |
+
|
967 |
+
#: ../skins/templates/survey/survey.php:25
|
968 |
+
msgid "What aspect of the product / service were you most satisfied by?"
|
969 |
+
msgstr ""
|
970 |
+
|
971 |
+
#: ../skins/templates/survey/survey.php:25
|
972 |
+
msgid "Quality"
|
973 |
+
msgstr ""
|
974 |
+
|
975 |
+
#: ../skins/templates/survey/survey.php:25
|
976 |
+
msgid "Price"
|
977 |
+
msgstr ""
|
978 |
+
|
979 |
+
#: ../skins/templates/survey/survey.php:25
|
980 |
+
msgid "Purchase Experience"
|
981 |
+
msgstr ""
|
982 |
+
|
983 |
+
#: ../skins/templates/survey/survey.php:25
|
984 |
+
msgid "Usage Experience"
|
985 |
+
msgstr ""
|
986 |
+
|
987 |
+
#: ../skins/templates/survey/survey.php:25
|
988 |
+
msgid "Customer Service"
|
989 |
+
msgstr ""
|
990 |
+
|
991 |
+
#: ../skins/templates/survey/survey.php:26
|
992 |
+
msgid "Overall, the product / service met my expectations?"
|
993 |
+
msgstr ""
|
994 |
+
|
995 |
+
#: ../skins/templates/survey/survey.php:26
|
996 |
+
msgid "Strongly Agree"
|
997 |
+
msgstr ""
|
998 |
+
|
999 |
+
#: ../skins/templates/survey/survey.php:26
|
1000 |
+
msgid "Agree"
|
1001 |
+
msgstr ""
|
1002 |
+
|
1003 |
+
#: ../skins/templates/survey/survey.php:26
|
1004 |
+
msgid "Disagree"
|
1005 |
+
msgstr ""
|
1006 |
+
|
1007 |
+
#: ../skins/templates/survey/survey.php:26
|
1008 |
+
msgid "Strongly Disagree"
|
1009 |
+
msgstr ""
|
1010 |
+
|
1011 |
+
#: ../skins/templates/survey/survey.php:26
|
1012 |
+
#: ../skins/templates/survey/survey.php:28
|
1013 |
+
msgid "Don't Know"
|
1014 |
+
msgstr ""
|
1015 |
+
|
1016 |
+
#: ../skins/templates/survey/survey.php:27
|
1017 |
+
msgid "What do you like about the product / service?"
|
1018 |
+
msgstr ""
|
1019 |
+
|
1020 |
+
#: ../skins/templates/survey/survey.php:28
|
1021 |
+
msgid ""
|
1022 |
+
"Thinking of similar products / services offered by others, how would you "
|
1023 |
+
"compare the product / service offered by us?"
|
1024 |
+
msgstr ""
|
1025 |
+
|
1026 |
+
#: ../skins/templates/survey/survey.php:28
|
1027 |
+
msgid "Much Better"
|
1028 |
+
msgstr ""
|
1029 |
+
|
1030 |
+
#: ../skins/templates/survey/survey.php:28
|
1031 |
+
msgid "Somewhat Better"
|
1032 |
+
msgstr ""
|
1033 |
+
|
1034 |
+
#: ../skins/templates/survey/survey.php:28
|
1035 |
+
msgid "About the Same"
|
1036 |
+
msgstr ""
|
1037 |
+
|
1038 |
+
#: ../skins/templates/survey/survey.php:28
|
1039 |
+
msgid "Somewhat Worse"
|
1040 |
+
msgstr ""
|
1041 |
+
|
1042 |
+
#: ../skins/templates/survey/survey.php:28
|
1043 |
+
msgid "Much Worse"
|
1044 |
+
msgstr ""
|
languages/readme.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
==Adding Translation==
|
2 |
+
|
3 |
+
To translate this plugin to your language,
|
4 |
+
please copy the "cf7skins.po" file and rename with adding
|
5 |
+
your language country code.
|
6 |
+
Example for Spanish translation "cf7skins-es_ES.po"
|
7 |
+
|
8 |
+
Use Poedit http://poedit.net/download.php to translate the file.
|
readme.txt
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
=== Contact Form 7 Skins ===
|
2 |
+
Contributors: buzztone
|
3 |
+
Tags: contact form 7, form, skin, template, style, html, css
|
4 |
+
Requires at least: 4.0
|
5 |
+
Tested up to: 4.1
|
6 |
+
Stable tag: 1.0
|
7 |
+
Author URI: http://cf7skins.com
|
8 |
+
License: GPLv2 or later
|
9 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
+
|
11 |
+
Makes styling of Contact Form 7 forms easy – even if you don’t have HTML + CSS skills.
|
12 |
+
|
13 |
+
== Description ==
|
14 |
+
|
15 |
+
Contact Form 7 is one of the most popular WordPress plugins ever. It is used by millions of websites around the world. Creating a basic contact form with Contact Form 7 is quite simple. But creating complex forms with many fields, and getting them to look how you want, can be difficult for many WordPress users.
|
16 |
+
|
17 |
+
Experienced WordPress users, skilled at using HTML and CSS, are able to style their Contact Form 7 forms to their particular requirements, but this requires a level of skill beyond many WordPress users.
|
18 |
+
|
19 |
+
This is where CF7 Skins comes in. It works right inside the normal Contact Form 7 interface to extend its capabilities, making it easier for regular WordPress users to create forms using built in Templates and Styles.
|
20 |
+
|
21 |
+
Simply select a Template from a list of available templates and then choose a Style for your form from a range of professional and beautiful styles.
|
22 |
+
|
23 |
+
CF7 Skins is highly customizable and easy to use even for beginners.
|
24 |
+
|
25 |
+
Plus you can do all this and more without HTML and CSS skills.
|
26 |
+
|
27 |
+
= CF7 Skins Features =
|
28 |
+
|
29 |
+
Here are some of the things you can do with CF7 Skins:
|
30 |
+
|
31 |
+
1. Create a vast range of simple and complex forms using Contact Form 7.
|
32 |
+
1. Choose from a list of built-in and ready to use Templates.
|
33 |
+
1. You can easily edit built in Templates to add, remove or modify form fields.
|
34 |
+
1. Choose from multiple Styles to create professional looking forms.
|
35 |
+
1. Work right within the normal Contact Form 7 plugin interface.
|
36 |
+
1. Build professional looking Contact Form 7 forms without HTML and CSS knowledge.
|
37 |
+
|
38 |
+
With the premium version of the plugin [CF7 Skins Pro](http://cf7skins.com/pro-version/) you get:
|
39 |
+
|
40 |
+
* Additional Templates and Styles to use with your forms.
|
41 |
+
* Access to priority email support by paid support staff.
|
42 |
+
|
43 |
+
See: [Plugin Website](http://www.cf7skins.com) | [Documentation](http://docs.cf7skins.com/) | [FAQs](http://kb.cf7skins.com/faq/) | [Pro Version](http://cf7skins.com/pro-version/)
|
44 |
+
|
45 |
+
== Installation ==
|
46 |
+
|
47 |
+
1. Download the plugin’s zip file and visit **Plugins > Add New** in your WordPress admin area.
|
48 |
+
1. Click on the **Upload Plugin** button on top and then simply upload the zip file.
|
49 |
+
1. WordPress will now upload the zip file from your computer to your website, extract it, and install the plugin.
|
50 |
+
1. Click on the activate link to start using the plugin.
|
51 |
+
|
52 |
+
*Alternate Installation Method*
|
53 |
+
|
54 |
+
1. Visit *Plugins > Add New* and search for Contact Form 7 Skins.
|
55 |
+
1. Locate the plugin in search results.
|
56 |
+
1. Click on the Install button to automatically download and install the plugin.
|
57 |
+
1. Activate plugin.
|
58 |
+
|
59 |
+
Having trouble? Learn more about how to install plugins on [WordPress Codex](http://codex.wordpress.org/Managing_Plugins).
|
60 |
+
|
61 |
+
== Frequently Asked Questions ==
|
62 |
+
|
63 |
+
= What is CF7 Skins? =
|
64 |
+
|
65 |
+
CF7 Skins is an add-on plugin for the Contact Form 7 plugin. It extends the functionality of Contact Form 7 plugin by adding ready to use Templates and Styles to it. This allows even non-expert users to create complex Contact Form 7 forms with no HTML or CSS skills. You can learn more about by visiting [cf7skins.com](http://www.cf7skins.com)
|
66 |
+
|
67 |
+
= Can I customize CF7 Skins Templates on my own? =
|
68 |
+
|
69 |
+
Yes, you can. See how to [edit CF7 Skins Templates](http://kb.cf7skins.com/edit-your-cf7-skins-form/).
|
70 |
+
|
71 |
+
= Can I modify CF7 Skins Styles? =
|
72 |
+
|
73 |
+
Yes, please see how to [modify CF7 Skins Styles](http://docs.cf7skins.com/#customizing-cf7-skins-forms-1386).
|
74 |
+
|
75 |
+
= How do I get more Templates and Styles for CF7 Skins? =
|
76 |
+
|
77 |
+
You can get more templates and styles with the [pro version](http://cf7skins.com/pro-version/) of the plugin.
|
78 |
+
|
79 |
+
= Where can I find answers to Frequently Asked Questions? =
|
80 |
+
Many questions have been answered on the [CF7 Skins FAQ](http://kb.cf7skins.com/faq/) on the plugin website.
|
81 |
+
|
82 |
+
= Translations =
|
83 |
+
|
84 |
+
* Indonesian (Bahasa Indonesia; id_ID) - Sastra Manurung
|
85 |
+
|
86 |
+
== Screenshots ==
|
87 |
+
|
88 |
+
1. CF7 Skins user interface showing Template and Style tabs
|
89 |
+
2. Selecting a Template automatically fills the form fields.
|
90 |
+
3. CF7 Skins includes a range of Templates for your forms.
|
91 |
+
4. CF7 Skins comes with many beautiful Styles for your forms.
|
92 |
+
5. Detailed view of a Template.
|
93 |
+
6. Detailed view of a Style.
|
94 |
+
7. Completed CF7 Skins Form.
|
95 |
+
|
96 |
+
== Changelog ==
|
97 |
+
|
98 |
+
= 1.0 - 2015-04-01 =
|
99 |
+
|
100 |
+
* Initial Release
|
skins/styles/blush/blush.css
ADDED
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Blush
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Named for its subtlety and soft colors, Blush will blend in with many themes, especially those with a similar color scheme.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-25
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: pink, white, gray, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These items should be used to reset standard HTML elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-blush p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-blush em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-blush a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used to style the overall CF7 Form
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-blush {
|
50 |
+
padding: 20px;
|
51 |
+
color: #000;
|
52 |
+
border: 1px solid #bb9393;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-blush fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 1px solid #bb9393;
|
63 |
+
background: #dcc7c6;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-blush legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 2px 10px;
|
69 |
+
color: #fff;
|
70 |
+
border: 1px solid #bfbfbf;
|
71 |
+
background: #3b3b3b;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wpcf7 .cf7s-blush label {
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-blush fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-blush fieldset fieldset {
|
81 |
+
background: #e9d9da;
|
82 |
+
}
|
83 |
+
|
84 |
+
.wpcf7 .cf7s-blush fieldset fieldset legend {
|
85 |
+
}
|
86 |
+
|
87 |
+
.wpcf7 .cf7s-blush fieldset fieldset input,
|
88 |
+
.wpcf7 .cf7s-blush fieldset fieldset textarea {
|
89 |
+
}
|
90 |
+
|
91 |
+
/** Text Fields
|
92 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
93 |
+
------------------------------------------------------------ */
|
94 |
+
.wpcf7 .cf7s-blush input,
|
95 |
+
.wpcf7 .cf7s-blush textarea {
|
96 |
+
margin-bottom: 8px;
|
97 |
+
padding: 7px;
|
98 |
+
border: 1px solid #b89090;
|
99 |
+
background: #fff;
|
100 |
+
}
|
101 |
+
|
102 |
+
.wpcf7 .cf7s-blush input[type="text"],
|
103 |
+
.wpcf7 .cf7s-blush input[type="email"],
|
104 |
+
.wpcf7 .cf7s-blush input[type="tel"],
|
105 |
+
.wpcf7 .cf7s-blush input[type="url"],
|
106 |
+
.wpcf7 .cf7s-blush input[type="number"],
|
107 |
+
.wpcf7 .cf7s-blush input[type="range"],
|
108 |
+
.wpcf7 .cf7s-blush input[type=date],
|
109 |
+
.wpcf7 .cf7s-blush input[type=file] {
|
110 |
+
/* width: 100%; Added to cf7s-default */
|
111 |
+
}
|
112 |
+
|
113 |
+
.wpcf7 .cf7s-blush input[type="text"] {
|
114 |
+
}
|
115 |
+
|
116 |
+
.wpcf7 .cf7s-blush input[type="email"] {
|
117 |
+
}
|
118 |
+
|
119 |
+
.wpcf7 .cf7s-blush input[type="tel"] {
|
120 |
+
}
|
121 |
+
|
122 |
+
.wpcf7 .cf7s-blush textarea {
|
123 |
+
/* width: 100%; Added to cf7s-default */
|
124 |
+
padding: 5px 7px; /* deliberately different from Input */
|
125 |
+
}
|
126 |
+
|
127 |
+
/** Ordered & Unordered lists
|
128 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
129 |
+
------------------------------------------------------------ */
|
130 |
+
.wpcf7 .cf7s-blush ol,
|
131 |
+
.wpcf7 .cf7s-blush ul,
|
132 |
+
.wpcf7 .cf7s-blush li {
|
133 |
+
}
|
134 |
+
|
135 |
+
.wpcf7 .cf7s-blush ol {
|
136 |
+
}
|
137 |
+
|
138 |
+
.wpcf7 .cf7s-blush li {
|
139 |
+
margin-bottom: 5px; /* in many cases this adds to Input margin-bottom: 8px; */
|
140 |
+
}
|
141 |
+
|
142 |
+
.wpcf7 .cf7s-blush li label {
|
143 |
+
}
|
144 |
+
|
145 |
+
.wpcf7 .cf7s-blush .wpcf7-list-item {
|
146 |
+
}
|
147 |
+
|
148 |
+
.wpcf7 .cf7s-blush .wpcf7-list-item-label {
|
149 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
150 |
+
}
|
151 |
+
|
152 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
153 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
154 |
+
------------------------------------------------------------ */
|
155 |
+
.wpcf7 .cf7s-blush input[type="checkbox"],
|
156 |
+
.wpcf7 .cf7s-blush input[type="radio"] {
|
157 |
+
margin-right: 6px;
|
158 |
+
border: none;
|
159 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
160 |
+
}
|
161 |
+
|
162 |
+
.wpcf7 .cf7s-blush select {
|
163 |
+
margin-bottom: 8px;
|
164 |
+
margin-left: 0; /* same as Input */
|
165 |
+
padding: 5px;
|
166 |
+
border: 1px solid #b89090;
|
167 |
+
}
|
168 |
+
|
169 |
+
.wpcf7 .cf7s-blush select option{
|
170 |
+
}
|
171 |
+
|
172 |
+
.wpcf7 .cf7s-blush select option:hover{
|
173 |
+
background: #dcc7c6;
|
174 |
+
}
|
175 |
+
|
176 |
+
.wpcf7 .cf7s-blush .wpcf7-checkbox .wpcf7-list-item,
|
177 |
+
.wpcf7 .cf7s-blush .wpcf7-radio .wpcf7-list-item {
|
178 |
+
margin-left: 13px;
|
179 |
+
}
|
180 |
+
|
181 |
+
/** Other Fields
|
182 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
183 |
+
------------------------------------------------------------ */
|
184 |
+
|
185 |
+
|
186 |
+
/** Submit Buttons
|
187 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
188 |
+
------------------------------------------------------------ */
|
189 |
+
.wpcf7 .cf7s-blush input[type="submit"] {
|
190 |
+
font-size: 1.2em; /* Font size matches Legend */
|
191 |
+
padding: 5px 15px;
|
192 |
+
border: 1px solid #bfbfbf;
|
193 |
+
background: #3b3b3b;
|
194 |
+
color: #fff;
|
195 |
+
}
|
196 |
+
|
197 |
+
.wpcf7 .cf7s-blush input[type="submit"]:hover {
|
198 |
+
color: #dcc7c6;
|
199 |
+
}
|
200 |
+
|
201 |
+
/** Special Classes
|
202 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
203 |
+
------------------------------------------------------------ */
|
204 |
+
|
205 |
+
|
206 |
+
/** Ready Styles
|
207 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
208 |
+
------------------------------------------------------------ */
|
209 |
+
.wpcf7 .cf7s-blush .singleline {
|
210 |
+
}
|
211 |
+
|
212 |
+
.wpcf7 .cf7s-blush .singleline li {
|
213 |
+
display: inline-block;
|
214 |
+
margin: 0 2% 0 0;
|
215 |
+
width: 47%; /* CHANGE TO CALC */
|
216 |
+
}
|
217 |
+
|
218 |
+
.wpcf7 .cf7s-blush .singleline input {
|
219 |
+
}
|
220 |
+
|
221 |
+
.wpcf7 .cf7s-blush .checkbox-horizontal,
|
222 |
+
.wpcf7 .cf7s-blush .radio-horizontal {
|
223 |
+
}
|
224 |
+
|
225 |
+
.wpcf7 .cf7s-blush .boxaround {
|
226 |
+
margin-bottom: 15px;
|
227 |
+
padding: 10px;
|
228 |
+
border: 1px solid #bb9393;
|
229 |
+
background: #e9d9da;
|
230 |
+
}
|
231 |
+
|
232 |
+
.wpcf7 .cf7s-blush .boxaround1 { /* This name was used previously - selector kept for older forms */
|
233 |
+
margin-bottom: 15px;
|
234 |
+
padding: 10px;
|
235 |
+
border: 1px solid #bb9393;
|
236 |
+
background: #e9d9da;
|
237 |
+
}
|
238 |
+
|
239 |
+
.wpcf7 .cf7s-blush .boxaround select {
|
240 |
+
}
|
241 |
+
|
242 |
+
.wpcf7 .cf7s-blush .boxaround1 select {
|
243 |
+
}
|
skins/styles/blush/modal.png
ADDED
Binary file
|
skins/styles/blush/thumbnail.png
ADDED
Binary file
|
skins/styles/caspar/caspar.css
ADDED
@@ -0,0 +1,241 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Caspar
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Caspar is a simple monochromatic theme with the ability to blend in with most white or grayscale themes. It is incredibly simple yet effective.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-25
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: white, gray, black, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These items should be used to reset standard HTML elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-caspar p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-caspar em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-caspar a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall CF7 form
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-caspar {
|
50 |
+
padding: 20px;
|
51 |
+
color: #000;
|
52 |
+
border: 1px solid #c3c3c3;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-caspar fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 1px solid #c3c3c3;
|
63 |
+
background: #fff;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-caspar legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 2px 10px;
|
69 |
+
color: #1a1a1a;
|
70 |
+
border: 1px solid #c3c3c3;
|
71 |
+
background: #ededed;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wpcf7 .cf7s-caspar label {
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-caspar fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-caspar fieldset fieldset {
|
81 |
+
}
|
82 |
+
|
83 |
+
.wpcf7 .cf7s-caspar fieldset fieldset legend {
|
84 |
+
}
|
85 |
+
|
86 |
+
.wpcf7 .cf7s-caspar fieldset fieldset input,
|
87 |
+
.wpcf7 .cf7s-caspar fieldset fieldset textarea {
|
88 |
+
}
|
89 |
+
|
90 |
+
/** Text Fields
|
91 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
92 |
+
------------------------------------------------------------ */
|
93 |
+
.wpcf7 .cf7s-caspar input,
|
94 |
+
.wpcf7 .cf7s-caspar textarea {
|
95 |
+
margin-bottom: 8px;
|
96 |
+
padding: 7px;
|
97 |
+
border: 1px solid #c3c3c3;
|
98 |
+
background: #fff;
|
99 |
+
}
|
100 |
+
|
101 |
+
.wpcf7 .cf7s-caspar input[type="text"],
|
102 |
+
.wpcf7 .cf7s-caspar input[type="email"],
|
103 |
+
.wpcf7 .cf7s-caspar input[type="tel"],
|
104 |
+
.wpcf7 .cf7s-caspar input[type="url"],
|
105 |
+
.wpcf7 .cf7s-caspar input[type="number"],
|
106 |
+
.wpcf7 .cf7s-caspar input[type="range"],
|
107 |
+
.wpcf7 .cf7s-caspar input[type=date],
|
108 |
+
.wpcf7 .cf7s-caspar input[type=file] {
|
109 |
+
/* width: 100%; Added to cf7s-default */
|
110 |
+
}
|
111 |
+
|
112 |
+
.wpcf7 .cf7s-caspar input[type="text"] {
|
113 |
+
}
|
114 |
+
|
115 |
+
.wpcf7 .cf7s-caspar input[type="email"] {
|
116 |
+
}
|
117 |
+
|
118 |
+
.wpcf7 .cf7s-caspar input[type="tel"] {
|
119 |
+
}
|
120 |
+
|
121 |
+
.wpcf7 .cf7s-caspar textarea {
|
122 |
+
/* width: 100%; Added to cf7s-default */
|
123 |
+
padding: 5px 7px; /* deliberately different from Input */
|
124 |
+
}
|
125 |
+
|
126 |
+
/** Ordered & Unordered lists
|
127 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
128 |
+
------------------------------------------------------------ */
|
129 |
+
.wpcf7 .cf7s-caspar ol,
|
130 |
+
.wpcf7 .cf7s-caspar ul,
|
131 |
+
.wpcf7 .cf7s-caspar li {
|
132 |
+
}
|
133 |
+
|
134 |
+
.wpcf7 .cf7s-caspar ol {
|
135 |
+
}
|
136 |
+
|
137 |
+
.wpcf7 .cf7s-caspar li {
|
138 |
+
margin-bottom: 5px;
|
139 |
+
}
|
140 |
+
|
141 |
+
.wpcf7 .cf7s-caspar li label {
|
142 |
+
}
|
143 |
+
|
144 |
+
.wpcf7 .cf7s-caspar .wpcf7-list-item {
|
145 |
+
}
|
146 |
+
|
147 |
+
.wpcf7 .cf7s-caspar .wpcf7-list-item-label {
|
148 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
149 |
+
}
|
150 |
+
|
151 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
152 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
153 |
+
------------------------------------------------------------ */
|
154 |
+
.wpcf7 .cf7s-caspar input[type="checkbox"],
|
155 |
+
.wpcf7 .cf7s-caspar input[type="radio"] {
|
156 |
+
margin-right: 6px;
|
157 |
+
border: none;
|
158 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
159 |
+
}
|
160 |
+
|
161 |
+
.wpcf7 .cf7s-caspar select {
|
162 |
+
margin-bottom: 8px;
|
163 |
+
margin-left: 0; /* same as Input */
|
164 |
+
padding: 5px;
|
165 |
+
border: 1px solid #c3c3c3;
|
166 |
+
}
|
167 |
+
|
168 |
+
.wpcf7 .cf7s-caspar select option{
|
169 |
+
}
|
170 |
+
|
171 |
+
.wpcf7 .cf7s-caspar select option:hover{
|
172 |
+
background: #ededed;
|
173 |
+
}
|
174 |
+
|
175 |
+
.wpcf7 .cf7s-caspar .wpcf7-checkbox .wpcf7-list-item,
|
176 |
+
.wpcf7 .cf7s-caspar .wpcf7-radio .wpcf7-list-item {
|
177 |
+
margin-left: 13px;
|
178 |
+
}
|
179 |
+
|
180 |
+
/** Other Fields
|
181 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
182 |
+
------------------------------------------------------------ */
|
183 |
+
|
184 |
+
|
185 |
+
/** Submit Buttons
|
186 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
187 |
+
------------------------------------------------------------ */
|
188 |
+
.wpcf7 .cf7s-caspar input[type="submit"] {
|
189 |
+
padding: 5px 15px;
|
190 |
+
border: 1px solid #c3c3c3;
|
191 |
+
background: #ededed;
|
192 |
+
color: #1a1a1a;
|
193 |
+
}
|
194 |
+
|
195 |
+
.wpcf7 .cf7s-caspar input[type="submit"]:hover {
|
196 |
+
background: #fff;
|
197 |
+
}
|
198 |
+
|
199 |
+
/** Special Classes
|
200 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
201 |
+
------------------------------------------------------------ */
|
202 |
+
|
203 |
+
|
204 |
+
/** Ready Styles
|
205 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
206 |
+
------------------------------------------------------------ */
|
207 |
+
.wpcf7 .cf7s-caspar .singleline {
|
208 |
+
}
|
209 |
+
|
210 |
+
.wpcf7 .cf7s-caspar .singleline li {
|
211 |
+
display: inline-block;
|
212 |
+
margin: 0 2% 0 0;
|
213 |
+
width: 47%; /* CHANGE TO CALC */
|
214 |
+
}
|
215 |
+
|
216 |
+
.wpcf7 .cf7s-caspar .singleline input {
|
217 |
+
}
|
218 |
+
|
219 |
+
.wpcf7 .cf7s-caspar .checkbox-horizontal,
|
220 |
+
.wpcf7 .cf7s-caspar .radio-horizontal {
|
221 |
+
}
|
222 |
+
|
223 |
+
.wpcf7 .cf7s-caspar .boxaround {
|
224 |
+
margin-bottom: 15px;
|
225 |
+
padding: 10px;
|
226 |
+
border: 1px solid #c3c3c3;
|
227 |
+
background: #fff;
|
228 |
+
}
|
229 |
+
|
230 |
+
.wpcf7 .cf7s-caspar .boxaround1 {
|
231 |
+
margin-bottom: 15px;
|
232 |
+
padding: 10px;
|
233 |
+
border: 1px solid #c3c3c3;
|
234 |
+
background: #fff;
|
235 |
+
}
|
236 |
+
|
237 |
+
.wpcf7 .cf7s-caspar .boxaround select {
|
238 |
+
}
|
239 |
+
|
240 |
+
.wpcf7 .cf7s-caspar .boxaround1 select {
|
241 |
+
}
|
skins/styles/caspar/modal.png
ADDED
Binary file
|
skins/styles/caspar/thumbnail.png
ADDED
Binary file
|
skins/styles/choc-shake/choc-shake.css
ADDED
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Choc Shake
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: This delicious style will work well with a range of different backgrounds, drawing in attention with its smooth and clean styling.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-25
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: brown, white, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These are used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-choc-shake p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-choc-shake em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-choc-shake a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-choc-shake {
|
50 |
+
padding: 20px;
|
51 |
+
color: #866c4a;
|
52 |
+
border: 1px solid #c9b3a0;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-choc-shake fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 25px;
|
62 |
+
border: 1px solid #c9b3a0;
|
63 |
+
background: #e1cfbf;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-choc-shake legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 3px 20px;
|
69 |
+
color: #fff;
|
70 |
+
border: 1px solid #c9b3a0;
|
71 |
+
background: #bca17d;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wpcf7 .cf7s-choc-shake label {
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-choc-shake fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-choc-shake fieldset fieldset {
|
81 |
+
background: #ccb7a4;
|
82 |
+
}
|
83 |
+
|
84 |
+
.wpcf7 .cf7s-choc-shake fieldset fieldset legend {
|
85 |
+
}
|
86 |
+
|
87 |
+
.wpcf7 .cf7s-choc-shake fieldset fieldset input,
|
88 |
+
.wpcf7 .cf7s-choc-shake fieldset fieldset textarea {
|
89 |
+
}
|
90 |
+
|
91 |
+
/** Text Fields
|
92 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
93 |
+
------------------------------------------------------------ */
|
94 |
+
.wpcf7 .cf7s-choc-shake input,
|
95 |
+
.wpcf7 .cf7s-choc-shake textarea {
|
96 |
+
margin-bottom: 8px;
|
97 |
+
padding: 7px;
|
98 |
+
color: #fff;
|
99 |
+
border: 1px solid #bfa48e;
|
100 |
+
background: #dec29d;
|
101 |
+
}
|
102 |
+
|
103 |
+
.wpcf7 .cf7s-choc-shake input[type="text"],
|
104 |
+
.wpcf7 .cf7s-choc-shake input[type="email"],
|
105 |
+
.wpcf7 .cf7s-choc-shake input[type="tel"],
|
106 |
+
.wpcf7 .cf7s-choc-shake input[type="url"],
|
107 |
+
.wpcf7 .cf7s-choc-shake input[type="number"],
|
108 |
+
.wpcf7 .cf7s-choc-shake input[type="range"],
|
109 |
+
.wpcf7 .cf7s-choc-shake input[type=date],
|
110 |
+
.wpcf7 .cf7s-choc-shake input[type=file] {
|
111 |
+
/* width: 100%; Added to cf7s-default */
|
112 |
+
}
|
113 |
+
|
114 |
+
.wpcf7 .cf7s-choc-shake input[type="text"] {
|
115 |
+
}
|
116 |
+
|
117 |
+
.wpcf7 .cf7s-choc-shake input[type="email"] {
|
118 |
+
}
|
119 |
+
|
120 |
+
.wpcf7 .cf7s-choc-shake input[type="tel"] {
|
121 |
+
}
|
122 |
+
|
123 |
+
.wpcf7 .cf7s-choc-shake textarea {
|
124 |
+
/* width: 100%; Added to cf7s-default */
|
125 |
+
}
|
126 |
+
|
127 |
+
/** Ordered & Unordered lists
|
128 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
129 |
+
------------------------------------------------------------ */
|
130 |
+
.wpcf7 .cf7s-choc-shake ol,
|
131 |
+
.wpcf7 .cf7s-choc-shake ul,
|
132 |
+
.wpcf7 .cf7s-choc-shake li {
|
133 |
+
}
|
134 |
+
|
135 |
+
.wpcf7 .cf7s-choc-shake ol {
|
136 |
+
}
|
137 |
+
|
138 |
+
.wpcf7 .cf7s-choc-shake li {
|
139 |
+
margin-bottom: 5px;
|
140 |
+
}
|
141 |
+
|
142 |
+
.wpcf7 .cf7s-choc-shake li label {
|
143 |
+
}
|
144 |
+
|
145 |
+
.wpcf7 .cf7s-choc-shake .wpcf7-list-item {
|
146 |
+
}
|
147 |
+
|
148 |
+
.wpcf7 .cf7s-choc-shake .wpcf7-list-item-label {
|
149 |
+
margin-right: 7px;
|
150 |
+
}
|
151 |
+
|
152 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
153 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
154 |
+
------------------------------------------------------------ */
|
155 |
+
.wpcf7 .cf7s-choc-shake input[type="checkbox"],
|
156 |
+
.wpcf7 .cf7s-choc-shake input[type="radio"] {
|
157 |
+
margin-right: 6px;
|
158 |
+
border: none;
|
159 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
160 |
+
}
|
161 |
+
|
162 |
+
.wpcf7 .cf7s-choc-shake select {
|
163 |
+
margin-bottom: 8px;
|
164 |
+
margin-left: 13px;
|
165 |
+
padding: 5px;
|
166 |
+
border: 1px solid #bfa48e;
|
167 |
+
background: #dec29d;
|
168 |
+
}
|
169 |
+
|
170 |
+
.wpcf7 .cf7s-choc-shake select option{
|
171 |
+
}
|
172 |
+
|
173 |
+
.wpcf7 .cf7s-choc-shake select option:hover {
|
174 |
+
color: #fff;
|
175 |
+
background: #bca17d;
|
176 |
+
}
|
177 |
+
|
178 |
+
.wpcf7 .cf7s-choc-shake .wpcf7-checkbox .wpcf7-list-item,
|
179 |
+
.wpcf7 .cf7s-choc-shake .wpcf7-radio .wpcf7-list-item {
|
180 |
+
margin-left: 13px;
|
181 |
+
}
|
182 |
+
|
183 |
+
/** Other Fields
|
184 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
185 |
+
------------------------------------------------------------ */
|
186 |
+
|
187 |
+
|
188 |
+
/** Submit Buttons
|
189 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
190 |
+
------------------------------------------------------------ */
|
191 |
+
.wpcf7 .cf7s-choc-shake input[type="submit"] {
|
192 |
+
padding: 5px 15px;
|
193 |
+
color: #fff;
|
194 |
+
border: 1px solid #c9b3a0;
|
195 |
+
background: #bca17d;
|
196 |
+
}
|
197 |
+
|
198 |
+
.wpcf7 .cf7s-choc-shake input[type="submit"]:hover {
|
199 |
+
color: #866c4a;
|
200 |
+
background: #dec29d;
|
201 |
+
}
|
202 |
+
|
203 |
+
/** Special Classes
|
204 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
205 |
+
------------------------------------------------------------ */
|
206 |
+
|
207 |
+
|
208 |
+
/** Ready Styles
|
209 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
210 |
+
------------------------------------------------------------ */
|
211 |
+
.wpcf7 .cf7s-choc-shake .singleline {
|
212 |
+
}
|
213 |
+
|
214 |
+
.wpcf7 .cf7s-choc-shake .singleline li {
|
215 |
+
display: inline-block;
|
216 |
+
margin: 0 2% 0 0;
|
217 |
+
width: 47%; /* CHANGE TO CALC */
|
218 |
+
}
|
219 |
+
|
220 |
+
.wpcf7 .cf7s-choc-shake .singleline input {
|
221 |
+
}
|
222 |
+
|
223 |
+
.wpcf7 .cf7s-choc-shake .checkbox-horizontal,
|
224 |
+
.wpcf7 .cf7s-choc-shake .radio-horizontal {
|
225 |
+
}
|
226 |
+
|
227 |
+
.wpcf7 .cf7s-choc-shake .boxaround {
|
228 |
+
margin-bottom: 10px;
|
229 |
+
padding: 10px;
|
230 |
+
border: 1px solid #c9b3a0;
|
231 |
+
background: #ccb7a4;
|
232 |
+
}
|
233 |
+
|
234 |
+
.wpcf7 .cf7s-choc-shake .boxaround1 {
|
235 |
+
margin-bottom: 10px;
|
236 |
+
padding: 10px;
|
237 |
+
border: 1px solid #c9b3a0;
|
238 |
+
background: #ccb7a4;
|
239 |
+
}
|
240 |
+
|
241 |
+
.wpcf7 .cf7s-choc-shake .boxaround select {
|
242 |
+
}
|
243 |
+
|
244 |
+
.wpcf7 .cf7s-choc-shake .boxaround1 select {
|
245 |
+
}
|
skins/styles/choc-shake/modal.png
ADDED
Binary file
|
skins/styles/choc-shake/thumbnail.png
ADDED
Binary file
|
skins/styles/cotton-candy/cotton-candy.css
ADDED
@@ -0,0 +1,252 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Cotton Candy
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Cotton Candy is a bright, eye-catching style that will stand out on your page with its bright and vibrant colors. This is a good style for any forms that need to stand out.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: aqua, pink, white, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These items should be used to reset standard HTML elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-cotton-candy p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-cotton-candy em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-cotton-candy a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used to style the overall CF7 Form
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-cotton-candy {
|
50 |
+
padding: 20px;
|
51 |
+
border: 1px solid #9ffffe;
|
52 |
+
background: #fff;
|
53 |
+
color: #158c8a;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-cotton-candy fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 1px solid #9ffffe;
|
63 |
+
background: #e7ffff;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-cotton-candy legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 3px 20px;
|
69 |
+
color: #fff;
|
70 |
+
border: 1px solid #9ffffe;
|
71 |
+
background: #90ebec;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wpcf7 .cf7s-cotton-candy label {
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-cotton-candy fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-cotton-candy fieldset fieldset {
|
81 |
+
border: 1px solid #e9aefe;
|
82 |
+
background: #f4d8ff;
|
83 |
+
}
|
84 |
+
|
85 |
+
.wpcf7 .cf7s-cotton-candy fieldset fieldset legend {
|
86 |
+
border: 1px solid #e9aefe;
|
87 |
+
background: #e79aff;
|
88 |
+
}
|
89 |
+
|
90 |
+
.wpcf7 .cf7s-cotton-candy fieldset fieldset input,
|
91 |
+
.wpcf7 .cf7s-cotton-candy fieldset fieldset textarea {
|
92 |
+
border: 1px solid #f0b8ff;
|
93 |
+
background: #fff;
|
94 |
+
}
|
95 |
+
|
96 |
+
.wpcf7 .cf7s-cotton-candy fieldset fieldset select {
|
97 |
+
border: 1px solid #f0b8ff;
|
98 |
+
}
|
99 |
+
|
100 |
+
/** Text Fields
|
101 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
102 |
+
------------------------------------------------------------ */
|
103 |
+
.wpcf7 .cf7s-cotton-candy input,
|
104 |
+
.wpcf7 .cf7s-cotton-candy textarea {
|
105 |
+
margin-bottom: 8px;
|
106 |
+
padding: 7px;
|
107 |
+
border: 1px solid #9ffffe;
|
108 |
+
background: #fff;
|
109 |
+
color: #999;
|
110 |
+
}
|
111 |
+
|
112 |
+
.wpcf7 .cf7s-cotton-candy input[type="text"],
|
113 |
+
.wpcf7 .cf7s-cotton-candy input[type="email"],
|
114 |
+
.wpcf7 .cf7s-cotton-candy input[type="tel"],
|
115 |
+
.wpcf7 .cf7s-cotton-candy input[type="url"],
|
116 |
+
.wpcf7 .cf7s-cotton-candy input[type="number"],
|
117 |
+
.wpcf7 .cf7s-cotton-candy input[type="range"],
|
118 |
+
.wpcf7 .cf7s-cotton-candy input[type=date],
|
119 |
+
.wpcf7 .cf7s-cotton-candy input[type=file] {
|
120 |
+
/* width: 100%; Added to cf7s-default */
|
121 |
+
}
|
122 |
+
|
123 |
+
.wpcf7 .cf7s-cotton-candy input[type="text"] {
|
124 |
+
}
|
125 |
+
|
126 |
+
.wpcf7 .cf7s-cotton-candy input[type="email"] {
|
127 |
+
}
|
128 |
+
|
129 |
+
.wpcf7 .cf7s-cotton-candy input[type="tel"] {
|
130 |
+
}
|
131 |
+
|
132 |
+
.wpcf7 .cf7s-cotton-candy textarea {
|
133 |
+
/* width: 100%; Added to cf7s-default */
|
134 |
+
padding: 5px 7px; /* deliberately different from Input */
|
135 |
+
}
|
136 |
+
|
137 |
+
/** Ordered & Unordered lists
|
138 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
139 |
+
------------------------------------------------------------ */
|
140 |
+
.wpcf7 .cf7s-cotton-candy ol,
|
141 |
+
.wpcf7 .cf7s-cotton-candy ul,
|
142 |
+
.wpcf7 .cf7s-cotton-candy li {
|
143 |
+
}
|
144 |
+
|
145 |
+
.wpcf7 .cf7s-cotton-candy ol {
|
146 |
+
}
|
147 |
+
|
148 |
+
.wpcf7 .cf7s-cotton-candy li {
|
149 |
+
margin-bottom: 5px;
|
150 |
+
}
|
151 |
+
|
152 |
+
.wpcf7 .cf7s-cotton-candy li label {
|
153 |
+
}
|
154 |
+
|
155 |
+
.wpcf7 .cf7s-cotton-candy .wpcf7-list-item {
|
156 |
+
}
|
157 |
+
|
158 |
+
.wpcf7 .cf7s-cotton-candy .wpcf7-list-item-label {
|
159 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
160 |
+
}
|
161 |
+
|
162 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
163 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
164 |
+
------------------------------------------------------------ */
|
165 |
+
.wpcf7 .cf7s-cotton-candy input[type="checkbox"],
|
166 |
+
.wpcf7 .cf7s-cotton-candy input[type="radio"] {
|
167 |
+
margin-right: 6px;
|
168 |
+
border: none;
|
169 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
170 |
+
}
|
171 |
+
|
172 |
+
.wpcf7 .cf7s-cotton-candy select {
|
173 |
+
margin-bottom: 8px;
|
174 |
+
margin-left: 0; /* same as Input */
|
175 |
+
padding: 5px;
|
176 |
+
border: 1px solid #9ffffe;
|
177 |
+
}
|
178 |
+
|
179 |
+
.wpcf7 .cf7s-cotton-candy select option{
|
180 |
+
}
|
181 |
+
|
182 |
+
.wpcf7 .cf7s-cotton-candy select option:hover{
|
183 |
+
background: #f4d8ff;
|
184 |
+
}
|
185 |
+
|
186 |
+
.wpcf7 .cf7s-cotton-candy .wpcf7-checkbox .wpcf7-list-item,
|
187 |
+
.wpcf7 .cf7s-cotton-candy .wpcf7-radio .wpcf7-list-item {
|
188 |
+
margin-left: 13px;
|
189 |
+
}
|
190 |
+
|
191 |
+
/** Other Fields
|
192 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
193 |
+
------------------------------------------------------------ */
|
194 |
+
|
195 |
+
|
196 |
+
/** Submit Buttons
|
197 |
+
NOTE: Use these CSS selectors to style these elements within CF7 forms
|
198 |
+
------------------------------------------------------------ */
|
199 |
+
.wpcf7 .cf7s-cotton-candy input[type="submit"] {
|
200 |
+
padding: 5px 15px;
|
201 |
+
background: #91ebeb;
|
202 |
+
border: 1px solid #6ccbcb;
|
203 |
+
color: #fff;
|
204 |
+
}
|
205 |
+
|
206 |
+
.wpcf7 .cf7s-cotton-candy input[type="submit"]:hover {
|
207 |
+
background: #e59bff;
|
208 |
+
}
|
209 |
+
|
210 |
+
/** Special Classes
|
211 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
212 |
+
------------------------------------------------------------ */
|
213 |
+
|
214 |
+
|
215 |
+
/** Ready Styles
|
216 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
217 |
+
------------------------------------------------------------ */
|
218 |
+
.wpcf7 .cf7s-cotton-candy .singleline {
|
219 |
+
}
|
220 |
+
|
221 |
+
.wpcf7 .cf7s-cotton-candy .singleline li {
|
222 |
+
display: inline-block;
|
223 |
+
margin: 0 2% 0 0;
|
224 |
+
width: 47%; /* CHANGE TO CALC */
|
225 |
+
}
|
226 |
+
|
227 |
+
.wpcf7 .cf7s-cotton-candy .singleline input {
|
228 |
+
}
|
229 |
+
|
230 |
+
.wpcf7 .cf7s-cotton-candy .checkbox-horizontal,
|
231 |
+
.wpcf7 .cf7s-cotton-candy .radio-horizontal {
|
232 |
+
}
|
233 |
+
|
234 |
+
.wpcf7 .cf7s-cotton-candy .boxaround {
|
235 |
+
padding: 10px;
|
236 |
+
border: 1px solid #eaafff;
|
237 |
+
background: #f4d8ff;
|
238 |
+
}
|
239 |
+
|
240 |
+
.wpcf7 .cf7s-cotton-candy .boxaround1 {
|
241 |
+
padding: 10px;
|
242 |
+
border: 1px solid #eaafff;
|
243 |
+
background: #f4d8ff;
|
244 |
+
}
|
245 |
+
|
246 |
+
.wpcf7 .cf7s-cotton-candy .boxaround select {
|
247 |
+
border: 1px solid #f0b8ff;
|
248 |
+
}
|
249 |
+
|
250 |
+
.wpcf7 .cf7s-cotton-candy .boxaround1 select {
|
251 |
+
border: 1px solid #f0b8ff;
|
252 |
+
}
|
skins/styles/cotton-candy/modal.png
ADDED
Binary file
|
skins/styles/cotton-candy/thumbnail.png
ADDED
Binary file
|
skins/styles/default/cf7s-default.css
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Default
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Default CF7 Skins styling - provides default base styling for all CF7 Skins Styles including styling for standard HTML elements such as fieldsets which are often not styled by many WordPress themes.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.02
|
9 |
+
* Version Date: 2014-11-13
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags:
|
13 |
+
*/
|
skins/styles/default/modal.png
ADDED
Binary file
|
skins/styles/default/thumbnail.png
ADDED
Binary file
|
skins/styles/eggplant/eggplant.css
ADDED
@@ -0,0 +1,253 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Eggplant
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Primarily white with a dash of purple, Eggplant will make an appealing addition to websites with a variety of themes. Its simplicity and white background makes this style a suitable option for many websites.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: white, pink, gray, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These items should be used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-eggplant p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-eggplant em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-eggplant a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-eggplant {
|
50 |
+
padding: 20px;
|
51 |
+
color: #7f0f7f;
|
52 |
+
border: 1px solid #d056cd;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-eggplant fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 2px solid #d056cd;
|
63 |
+
background: #fff;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-eggplant legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 2px 10px;
|
69 |
+
color: #7f0f7f;
|
70 |
+
border: 2px solid #d056cd;
|
71 |
+
background: #fff;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wpcf7 .cf7s-eggplant label {
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-eggplant fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-eggplant fieldset fieldset {
|
81 |
+
background: #f2f2f2;
|
82 |
+
}
|
83 |
+
|
84 |
+
.wpcf7 .cf7s-eggplant fieldset fieldset legend {
|
85 |
+
}
|
86 |
+
|
87 |
+
.wpcf7 .cf7s-eggplant fieldset fieldset input,
|
88 |
+
.wpcf7 .cf7s-eggplant fieldset fieldset textarea {
|
89 |
+
background: #fff;
|
90 |
+
}
|
91 |
+
|
92 |
+
.wpcf7 .cf7s-eggplant fieldset fieldset select {
|
93 |
+
background: #fff;
|
94 |
+
}
|
95 |
+
|
96 |
+
/** Text Fields
|
97 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
98 |
+
------------------------------------------------------------ */
|
99 |
+
.wpcf7 .cf7s-eggplant input,
|
100 |
+
.wpcf7 .cf7s-eggplant textarea {
|
101 |
+
margin-bottom: 8px;
|
102 |
+
padding: 7px;
|
103 |
+
color: #8f8f8f;
|
104 |
+
border: 1px solid #d056cd;
|
105 |
+
background: #f2f2f2;
|
106 |
+
}
|
107 |
+
|
108 |
+
.wpcf7 .cf7s-eggplant input[type="text"],
|
109 |
+
.wpcf7 .cf7s-eggplant input[type="email"],
|
110 |
+
.wpcf7 .cf7s-eggplant input[type="tel"],
|
111 |
+
.wpcf7 .cf7s-eggplant input[type="url"],
|
112 |
+
.wpcf7 .cf7s-eggplant input[type="number"],
|
113 |
+
.wpcf7 .cf7s-eggplant input[type="range"],
|
114 |
+
.wpcf7 .cf7s-eggplant input[type=date],
|
115 |
+
.wpcf7 .cf7s-eggplant input[type=file] {
|
116 |
+
/* width: 100%; Added to cf7s-default */
|
117 |
+
}
|
118 |
+
|
119 |
+
.wpcf7 .cf7s-eggplant input[type="text"] {
|
120 |
+
}
|
121 |
+
|
122 |
+
.wpcf7 .cf7s-eggplant input[type="email"] {
|
123 |
+
}
|
124 |
+
|
125 |
+
.wpcf7 .cf7s-eggplant input[type="tel"] {
|
126 |
+
}
|
127 |
+
|
128 |
+
.wpcf7 .cf7s-eggplant textarea {
|
129 |
+
/* width: 100%; Added to cf7s-default */
|
130 |
+
padding: 5px 7px; /* deliberately different from Input */
|
131 |
+
}
|
132 |
+
|
133 |
+
/** Ordered & Unordered lists
|
134 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
135 |
+
------------------------------------------------------------ */
|
136 |
+
.wpcf7 .cf7s-eggplant ol,
|
137 |
+
.wpcf7 .cf7s-eggplant ul,
|
138 |
+
.wpcf7 .cf7s-eggplant li {
|
139 |
+
}
|
140 |
+
|
141 |
+
.wpcf7 .cf7s-eggplant ol {
|
142 |
+
}
|
143 |
+
|
144 |
+
.wpcf7 .cf7s-eggplant li {
|
145 |
+
margin-bottom: 5px;
|
146 |
+
}
|
147 |
+
|
148 |
+
.wpcf7 .cf7s-eggplant li label {
|
149 |
+
}
|
150 |
+
|
151 |
+
.wpcf7 .cf7s-eggplant .wpcf7-list-item {
|
152 |
+
}
|
153 |
+
|
154 |
+
.wpcf7 .cf7s-eggplant .wpcf7-list-item-label {
|
155 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
156 |
+
}
|
157 |
+
|
158 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
159 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
160 |
+
------------------------------------------------------------ */
|
161 |
+
.wpcf7 .cf7s-eggplant input[type="checkbox"],
|
162 |
+
.wpcf7 .cf7s-eggplant input[type="radio"] {
|
163 |
+
margin-right: 6px;
|
164 |
+
border: none;
|
165 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
166 |
+
}
|
167 |
+
|
168 |
+
.wpcf7 .cf7s-eggplant select {
|
169 |
+
margin-bottom: 8px;
|
170 |
+
margin-left: 0; /* same as Input */
|
171 |
+
padding: 5px;
|
172 |
+
border: 1px solid #d056cd;
|
173 |
+
background: #f2f2f2;
|
174 |
+
}
|
175 |
+
|
176 |
+
.wpcf7 .cf7s-eggplant select option{
|
177 |
+
padding: 1px 5px; /* Doesn't work in IE */
|
178 |
+
}
|
179 |
+
|
180 |
+
.wpcf7 .cf7s-eggplant select option:hover{
|
181 |
+
color: #fff;
|
182 |
+
background: #d056cd;
|
183 |
+
}
|
184 |
+
|
185 |
+
.wpcf7 .cf7s-eggplant .wpcf7-checkbox .wpcf7-list-item,
|
186 |
+
.wpcf7 .cf7s-eggplant .wpcf7-radio .wpcf7-list-item {
|
187 |
+
margin-left: 13px;
|
188 |
+
}
|
189 |
+
|
190 |
+
/** Other Fields
|
191 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
192 |
+
------------------------------------------------------------ */
|
193 |
+
|
194 |
+
|
195 |
+
/** Submit Buttons
|
196 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
197 |
+
------------------------------------------------------------ */
|
198 |
+
.wpcf7 .cf7s-eggplant input[type="submit"] {
|
199 |
+
padding: 5px 15px;
|
200 |
+
color: #7f0f7f;
|
201 |
+
border: 2px solid #d056cd;
|
202 |
+
background: #f2f2f2;
|
203 |
+
}
|
204 |
+
|
205 |
+
.wpcf7 .cf7s-eggplant input[type="submit"]:hover {
|
206 |
+
background: #fff;
|
207 |
+
}
|
208 |
+
|
209 |
+
/** Special Classes
|
210 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
211 |
+
------------------------------------------------------------ */
|
212 |
+
|
213 |
+
|
214 |
+
/** Ready Styles
|
215 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
216 |
+
------------------------------------------------------------ */
|
217 |
+
.wpcf7 .cf7s-eggplant .singleline {
|
218 |
+
}
|
219 |
+
|
220 |
+
.wpcf7 .cf7s-eggplant .singleline li {
|
221 |
+
display: inline-block;
|
222 |
+
margin: 0 2% 0 0;
|
223 |
+
width: 47%; /* CHANGE TO CALC */
|
224 |
+
}
|
225 |
+
|
226 |
+
.wpcf7 .cf7s-eggplant .singleline input {
|
227 |
+
}
|
228 |
+
|
229 |
+
.wpcf7 .cf7s-eggplant .checkbox-horizontal,
|
230 |
+
.wpcf7 .cf7s-eggplant .radio-horizontal {
|
231 |
+
}
|
232 |
+
|
233 |
+
.wpcf7 .cf7s-eggplant .boxaround {
|
234 |
+
margin-bottom: 15px;
|
235 |
+
padding: 10px;
|
236 |
+
border: 2px solid #d056cd;
|
237 |
+
background: #f2f2f2;
|
238 |
+
}
|
239 |
+
|
240 |
+
.wpcf7 .cf7s-eggplant .boxaround1 {
|
241 |
+
margin-bottom: 15px;
|
242 |
+
padding: 10px;
|
243 |
+
border: 2px solid #d056cd;
|
244 |
+
background: #f2f2f2;
|
245 |
+
}
|
246 |
+
|
247 |
+
.wpcf7 .cf7s-eggplant .boxaround select {
|
248 |
+
background: #fff;
|
249 |
+
}
|
250 |
+
|
251 |
+
.wpcf7 .cf7s-eggplant .boxaround1 select {
|
252 |
+
background: #fff;
|
253 |
+
}
|
skins/styles/eggplant/modal.png
ADDED
Binary file
|
skins/styles/eggplant/thumbnail.png
ADDED
Binary file
|
skins/styles/magnum/magnum.css
ADDED
@@ -0,0 +1,257 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Magnum
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Magnum is bound to stand out with its stylish use of bright colors. While it will work best on pages with a similar color palette, it will also tie in well with many others due to its bright colors and detail.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: green, purple, white, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These are used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-magnum p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-magnum em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-magnum a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-magnum {
|
50 |
+
padding: 20px;
|
51 |
+
color: #838ada;
|
52 |
+
border: 1px solid #bdc2fd;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-magnum fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 15px 25px;
|
62 |
+
color: #fff;
|
63 |
+
border: 1px solid #bdc2fd; /* needed for IE */
|
64 |
+
background: #bdc2fd;
|
65 |
+
}
|
66 |
+
|
67 |
+
.wpcf7 .cf7s-magnum legend {
|
68 |
+
font-size: 1.2em;
|
69 |
+
padding: 3px 20px;
|
70 |
+
color: #fff;
|
71 |
+
border: none;
|
72 |
+
background: #89d9c0;
|
73 |
+
}
|
74 |
+
|
75 |
+
.wpcf7 .cf7s-magnum label {
|
76 |
+
}
|
77 |
+
|
78 |
+
.wpcf7 .cf7s-magnum fieldset p {
|
79 |
+
}
|
80 |
+
|
81 |
+
.wpcf7 .cf7s-magnum fieldset input,
|
82 |
+
.wpcf7 .cf7s-magnum fieldset textarea {
|
83 |
+
background: #fff;
|
84 |
+
}
|
85 |
+
|
86 |
+
.wpcf7 .cf7s-magnum fieldset fieldset {
|
87 |
+
background: #b1e8d7;
|
88 |
+
color: #838ada;
|
89 |
+
}
|
90 |
+
|
91 |
+
.wpcf7 .cf7s-magnum fieldset fieldset legend {
|
92 |
+
}
|
93 |
+
|
94 |
+
.wpcf7 .cf7s-magnum fieldset fieldset input,
|
95 |
+
.wpcf7 .cf7s-magnum fieldset fieldset textarea {
|
96 |
+
}
|
97 |
+
|
98 |
+
/** Text Fields
|
99 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
100 |
+
------------------------------------------------------------ */
|
101 |
+
.wpcf7 .cf7s-magnum input,
|
102 |
+
.wpcf7 .cf7s-magnum textarea {
|
103 |
+
margin-bottom: 8px;
|
104 |
+
padding: 8px;
|
105 |
+
color: #479e83;
|
106 |
+
border: none;
|
107 |
+
background: #b1e8d7;
|
108 |
+
}
|
109 |
+
|
110 |
+
.wpcf7 .cf7s-magnum input[type="text"],
|
111 |
+
.wpcf7 .cf7s-magnum input[type="email"],
|
112 |
+
.wpcf7 .cf7s-magnum input[type="tel"],
|
113 |
+
.wpcf7 .cf7s-magnum input[type="url"],
|
114 |
+
.wpcf7 .cf7s-magnum input[type="number"],
|
115 |
+
.wpcf7 .cf7s-magnum input[type="range"],
|
116 |
+
.wpcf7 .cf7s-magnum input[type=date],
|
117 |
+
.wpcf7 .cf7s-magnum input[type=file] {
|
118 |
+
/* width: 100%; Added to cf7s-default */
|
119 |
+
}
|
120 |
+
|
121 |
+
.wpcf7 .cf7s-magnum input[type="text"] {
|
122 |
+
}
|
123 |
+
|
124 |
+
.wpcf7 .cf7s-magnum input[type="email"] {
|
125 |
+
}
|
126 |
+
|
127 |
+
.wpcf7 .cf7s-magnum input[type="tel"] {
|
128 |
+
}
|
129 |
+
|
130 |
+
.wpcf7 .cf7s-magnum textarea {
|
131 |
+
/* width: 100%; Added to cf7s-default */
|
132 |
+
padding: 5px 7px; /* deliberately different from Input */
|
133 |
+
}
|
134 |
+
|
135 |
+
/** Ordered & Unordered lists
|
136 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
137 |
+
------------------------------------------------------------ */
|
138 |
+
.wpcf7 .cf7s-magnum ol,
|
139 |
+
.wpcf7 .cf7s-magnum ul,
|
140 |
+
.wpcf7 .cf7s-magnum li {
|
141 |
+
}
|
142 |
+
|
143 |
+
.wpcf7 .cf7s-magnum ol {
|
144 |
+
}
|
145 |
+
|
146 |
+
.wpcf7 .cf7s-magnum li {
|
147 |
+
margin-bottom: 5px;
|
148 |
+
}
|
149 |
+
|
150 |
+
.wpcf7 .cf7s-magnum li label {
|
151 |
+
}
|
152 |
+
|
153 |
+
.wpcf7 .cf7s-magnum .wpcf7-list-item {
|
154 |
+
}
|
155 |
+
|
156 |
+
.wpcf7 .cf7s-magnum .wpcf7-list-item-label {
|
157 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
158 |
+
}
|
159 |
+
|
160 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
161 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
162 |
+
------------------------------------------------------------ */
|
163 |
+
.wpcf7 .cf7s-magnum input[type="checkbox"],
|
164 |
+
.wpcf7 .cf7s-magnum input[type="radio"] {
|
165 |
+
margin-right: 6px;
|
166 |
+
border: none;
|
167 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
168 |
+
}
|
169 |
+
|
170 |
+
.wpcf7 .cf7s-magnum select {
|
171 |
+
margin-bottom: 8px;
|
172 |
+
margin-left: 0; /* same as Input */
|
173 |
+
padding: 5px;
|
174 |
+
color: #838ada;
|
175 |
+
border: 1px solid #bdc2fd;
|
176 |
+
background: #fff;
|
177 |
+
}
|
178 |
+
|
179 |
+
.wpcf7 .cf7s-magnum select option {
|
180 |
+
padding: 2px 8px; /* Doesn't work in IE */
|
181 |
+
}
|
182 |
+
|
183 |
+
.wpcf7 .cf7s-magnum select option:hover {
|
184 |
+
color: #fff;
|
185 |
+
background: #838ada;
|
186 |
+
}
|
187 |
+
|
188 |
+
.wpcf7 .cf7s-magnum .wpcf7-checkbox .wpcf7-list-item,
|
189 |
+
.wpcf7 .cf7s-magnum .wpcf7-radio .wpcf7-list-item {
|
190 |
+
margin-left: 13px;
|
191 |
+
}
|
192 |
+
|
193 |
+
/** Other Fields
|
194 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
195 |
+
------------------------------------------------------------ */
|
196 |
+
|
197 |
+
|
198 |
+
/** Submit Buttons
|
199 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
200 |
+
------------------------------------------------------------ */
|
201 |
+
.wpcf7 .cf7s-magnum input[type="submit"] {
|
202 |
+
font-size: 1.2em;
|
203 |
+
padding: 5px 15px;
|
204 |
+
background: #89d9c0;
|
205 |
+
color: #fff;
|
206 |
+
border: none;
|
207 |
+
}
|
208 |
+
|
209 |
+
.wpcf7 .cf7s-magnum input[type="submit"]:hover {
|
210 |
+
color: #000;
|
211 |
+
}
|
212 |
+
|
213 |
+
/** Special Classes
|
214 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
215 |
+
------------------------------------------------------------ */
|
216 |
+
|
217 |
+
|
218 |
+
/** Ready Styles
|
219 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
220 |
+
------------------------------------------------------------ */
|
221 |
+
.wpcf7 .cf7s-magnum .singleline {
|
222 |
+
}
|
223 |
+
|
224 |
+
.wpcf7 .cf7s-magnum .singleline li {
|
225 |
+
display: inline-block;
|
226 |
+
margin: 0 2% 0 0;
|
227 |
+
width: 47%; /* CHANGE TO CALC */
|
228 |
+
}
|
229 |
+
|
230 |
+
.wpcf7 .cf7s-magnum .singleline input {
|
231 |
+
}
|
232 |
+
|
233 |
+
.wpcf7 .cf7s-magnum .checkbox-horizontal,
|
234 |
+
.wpcf7 .cf7s-magnum .radio-horizontal {
|
235 |
+
}
|
236 |
+
|
237 |
+
.wpcf7 .cf7s-magnum .boxaround {
|
238 |
+
margin-bottom: 15px;
|
239 |
+
padding: 10px;
|
240 |
+
color: #838ada;
|
241 |
+
border: none;
|
242 |
+
background: #b1e8d7;
|
243 |
+
}
|
244 |
+
|
245 |
+
.wpcf7 .cf7s-magnum .boxaround1 {
|
246 |
+
margin-bottom: 15px;
|
247 |
+
padding: 10px;
|
248 |
+
color: #838ada;
|
249 |
+
border: none;
|
250 |
+
background: #b1e8d7;
|
251 |
+
}
|
252 |
+
|
253 |
+
.wpcf7 .cf7s-magnum .boxaround select {
|
254 |
+
}
|
255 |
+
|
256 |
+
.wpcf7 .cf7s-magnum .boxaround1 select {
|
257 |
+
}
|
skins/styles/magnum/modal.png
ADDED
Binary file
|
skins/styles/magnum/thumbnail.png
ADDED
Binary file
|
skins/styles/pina-colada/modal.png
ADDED
Binary file
|
skins/styles/pina-colada/pina-colada.css
ADDED
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Pina Colada
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Pina Colada is a simple yet attractive style that will blend in nicely with many themes. Its clean detailing and soft colors will add a smart and sophisticated appearance to your website forms.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: featured, red, brown, white, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These are used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-pina-colada p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-pina-colada em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-pina-colada a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-pina-colada {
|
50 |
+
padding: 20px;
|
51 |
+
color: #000;
|
52 |
+
border: 1px solid #d7cfb9;
|
53 |
+
background :#fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-pina-colada fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 1px solid #d7cfb9;
|
63 |
+
background: #efe6ce;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-pina-colada legend {
|
67 |
+
padding: 2px 10px;
|
68 |
+
color: #fff;
|
69 |
+
background: #65001d;
|
70 |
+
}
|
71 |
+
|
72 |
+
.wpcf7 .cf7s-pina-colada label {
|
73 |
+
color: #4a003a;
|
74 |
+
font-weight: bold;
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-pina-colada fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-pina-colada fieldset fieldset {
|
81 |
+
background: #fff;
|
82 |
+
}
|
83 |
+
|
84 |
+
.wpcf7 .cf7s-pina-colada fieldset fieldset legend {
|
85 |
+
}
|
86 |
+
|
87 |
+
.wpcf7 .cf7s-pina-colada fieldset fieldset input,
|
88 |
+
.wpcf7 .cf7s-pina-colada fieldset fieldset textarea {
|
89 |
+
}
|
90 |
+
|
91 |
+
/** Text Fields
|
92 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
93 |
+
------------------------------------------------------------ */
|
94 |
+
.wpcf7 .cf7s-pina-colada input,
|
95 |
+
.wpcf7 .cf7s-pina-colada textarea {
|
96 |
+
margin-bottom: 5px;
|
97 |
+
padding: 5px 10px;
|
98 |
+
border: 1px solid #d7cfb9;
|
99 |
+
background: #fafafa;
|
100 |
+
}
|
101 |
+
|
102 |
+
.wpcf7 .cf7s-pina-colada input[type="text"],
|
103 |
+
.wpcf7 .cf7s-pina-colada input[type="email"],
|
104 |
+
.wpcf7 .cf7s-pina-colada input[type="tel"],
|
105 |
+
.wpcf7 .cf7s-pina-colada input[type="url"],
|
106 |
+
.wpcf7 .cf7s-pina-colada input[type="number"],
|
107 |
+
.wpcf7 .cf7s-pina-colada input[type="range"],
|
108 |
+
.wpcf7 .cf7s-pina-colada input[type=date],
|
109 |
+
.wpcf7 .cf7s-pina-colada input[type=file] {
|
110 |
+
/* width: 100%; Added to cf7s-default */
|
111 |
+
}
|
112 |
+
|
113 |
+
.wpcf7 .cf7s-pina-colada input[type="text"] {
|
114 |
+
}
|
115 |
+
|
116 |
+
.wpcf7 .cf7s-pina-colada input[type="email"] {
|
117 |
+
}
|
118 |
+
|
119 |
+
.wpcf7 .cf7s-pina-colada input[type="tel"] {
|
120 |
+
}
|
121 |
+
|
122 |
+
.wpcf7 .cf7s-pina-colada textarea {
|
123 |
+
/* width: 100%; Added to cf7s-default */
|
124 |
+
padding: 5px 7px; /* deliberately different from Input */
|
125 |
+
}
|
126 |
+
|
127 |
+
/** Ordered & Unordered lists
|
128 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
129 |
+
------------------------------------------------------------ */
|
130 |
+
.wpcf7 .cf7s-pina-colada ol,
|
131 |
+
.wpcf7 .cf7s-pina-colada ul,
|
132 |
+
.wpcf7 .cf7s-pina-colada li {
|
133 |
+
}
|
134 |
+
|
135 |
+
.wpcf7 .cf7s-pina-colada ol {
|
136 |
+
}
|
137 |
+
|
138 |
+
.wpcf7 .cf7s-pina-colada li {
|
139 |
+
}
|
140 |
+
|
141 |
+
.wpcf7 .cf7s-pina-colada li label {
|
142 |
+
}
|
143 |
+
|
144 |
+
.wpcf7 .cf7s-pina-colada .wpcf7-list-item {
|
145 |
+
}
|
146 |
+
|
147 |
+
.wpcf7 .cf7s-pina-colada .wpcf7-list-item-label {
|
148 |
+
color: #000; /* needed to have consistent Radio Button labels color */
|
149 |
+
font-weight: normal; /* needed because labels bold */
|
150 |
+
}
|
151 |
+
|
152 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
153 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
154 |
+
------------------------------------------------------------ */
|
155 |
+
.wpcf7 .cf7s-pina-colada input[type="checkbox"],
|
156 |
+
.wpcf7 .cf7s-pina-colada input[type="radio"] {
|
157 |
+
border: none;
|
158 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
159 |
+
}
|
160 |
+
|
161 |
+
.wpcf7 .cf7s-pina-colada select {
|
162 |
+
margin-bottom: 8px;
|
163 |
+
}
|
164 |
+
|
165 |
+
.wpcf7 .cf7s-pina-colada select option {
|
166 |
+
}
|
167 |
+
|
168 |
+
.wpcf7 .cf7s-pina-colada select option:hover {
|
169 |
+
background: #efe6ce;
|
170 |
+
}
|
171 |
+
|
172 |
+
.wpcf7 .cf7s-pina-colada .wpcf7-checkbox .wpcf7-list-item,
|
173 |
+
.wpcf7 .cf7s-pina-colada .wpcf7-radio .wpcf7-list-item {
|
174 |
+
}
|
175 |
+
|
176 |
+
/** Other Fields
|
177 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
178 |
+
------------------------------------------------------------ */
|
179 |
+
|
180 |
+
|
181 |
+
/** Submit Buttons
|
182 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
183 |
+
------------------------------------------------------------ */
|
184 |
+
.wpcf7 .cf7s-pina-colada input[type="submit"] {
|
185 |
+
background: #4b0016; /* Old browsers */
|
186 |
+
background: -moz-linear-gradient(top, #4b0016 0%, #77003a 47%, #720031 50%, #670020 53%, #99005d 100%); /* FF3.6+ */
|
187 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4b0016), color-stop(47%,#77003a), color-stop(50%,#720031), color-stop(53%,#670020), color-stop(100%,#99005d)); /* Chrome,Safari4+ */
|
188 |
+
background: -webkit-linear-gradient(top, #4b0016 0%,#77003a 47%,#720031 50%,#670020 53%,#99005d 100%); /* Chrome10+,Safari5.1+ */
|
189 |
+
background: -o-linear-gradient(top, #4b0016 0%,#77003a 47%,#720031 50%,#670020 53%,#99005d 100%); /* Opera 11.10+ */
|
190 |
+
background: -ms-linear-gradient(top, #4b0016 0%,#77003a 47%,#720031 50%,#670020 53%,#99005d 100%); /* IE10+ */
|
191 |
+
background: linear-gradient(to bottom, #4b0016 0%,#77003a 47%,#720031 50%,#670020 53%,#99005d 100%); /* W3C */
|
192 |
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4b0016', endColorstr='#99005d',GradientType=0 ); /* IE6-9 */
|
193 |
+
color: #fff;
|
194 |
+
padding: 7px 10px;
|
195 |
+
}
|
196 |
+
|
197 |
+
.wpcf7 .cf7s-pina-colada input[type="submit"]:hover {
|
198 |
+
background: #000;
|
199 |
+
}
|
200 |
+
|
201 |
+
/** Special Classes
|
202 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
203 |
+
------------------------------------------------------------ */
|
204 |
+
|
205 |
+
|
206 |
+
/** Ready Styles
|
207 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
208 |
+
------------------------------------------------------------ */
|
209 |
+
.wpcf7 .cf7s-pina-colada .singleline {
|
210 |
+
}
|
211 |
+
|
212 |
+
.wpcf7 .cf7s-pina-colada .singleline li {
|
213 |
+
display: inline-block;
|
214 |
+
margin: 0 2% 0 0;
|
215 |
+
width: 48%; /* CHANGE TO CALC */
|
216 |
+
}
|
217 |
+
|
218 |
+
.wpcf7 .cf7s-pina-colada .singleline input {
|
219 |
+
}
|
220 |
+
|
221 |
+
.wpcf7 .cf7s-pina-colada .checkbox-horizontal,
|
222 |
+
.wpcf7 .cf7s-pina-colada .radio-horizontal {
|
223 |
+
}
|
224 |
+
|
225 |
+
.wpcf7 .cf7s-pina-colada .checkbox-horizontal .wpcf7-list-item ,
|
226 |
+
.wpcf7 .cf7s-pina-colada .radio-horizontal .wpcf7-list-item {
|
227 |
+
margin: 0 30px 0 0; /* provides space between radio options */
|
228 |
+
}
|
229 |
+
|
230 |
+
.wpcf7 .cf7s-pina-colada .boxaround {
|
231 |
+
padding: 10px 20px;
|
232 |
+
border: 1px solid #d7cfb9;
|
233 |
+
background:#fff;
|
234 |
+
}
|
235 |
+
|
236 |
+
.wpcf7 .cf7s-pina-colada .boxaround1 {
|
237 |
+
padding: 10px 20px;
|
238 |
+
border: 1px solid #d7cfb9;
|
239 |
+
background:#fff;
|
240 |
+
}
|
241 |
+
|
242 |
+
.wpcf7 .cf7s-pina-colada .boxaround select {
|
243 |
+
}
|
244 |
+
|
245 |
+
.wpcf7 .cf7s-pina-colada .boxaround1 select {
|
246 |
+
}
|
skins/styles/pina-colada/thumbnail.png
ADDED
Binary file
|
skins/styles/topaz/modal.png
ADDED
Binary file
|
skins/styles/topaz/thumbnail.png
ADDED
Binary file
|
skins/styles/topaz/topaz.css
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Topaz
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Topaz is a smart orange style, with subtle color variations, that will work well with themes that follow a similar color scheme.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: yellow, orange, white, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These are used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-topaz p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-topaz em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-topaz a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-topaz {
|
50 |
+
padding: 20px;
|
51 |
+
color: #d17534;
|
52 |
+
border: 1px solid #e0bf7a;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-topaz fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 1px solid #e0bf7a;
|
63 |
+
background: #f8db9d;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-topaz legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 3px 20px;
|
69 |
+
color: #fff;
|
70 |
+
border: 1px solid #feeeca;
|
71 |
+
background: #d78148;
|
72 |
+
}
|
73 |
+
|
74 |
+
.wpcf7 .cf7s-topaz label {
|
75 |
+
}
|
76 |
+
|
77 |
+
.wpcf7 .cf7s-topaz fieldset p {
|
78 |
+
}
|
79 |
+
|
80 |
+
.wpcf7 .cf7s-topaz fieldset fieldset {
|
81 |
+
}
|
82 |
+
|
83 |
+
.wpcf7 .cf7s-topaz fieldset fieldset legend {
|
84 |
+
}
|
85 |
+
|
86 |
+
.wpcf7 .cf7s-topaz fieldset fieldset input,
|
87 |
+
.wpcf7 .cf7s-topaz fieldset fieldset textarea {
|
88 |
+
}
|
89 |
+
|
90 |
+
/** Text Fields
|
91 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
92 |
+
------------------------------------------------------------ */
|
93 |
+
.wpcf7 .cf7s-topaz input,
|
94 |
+
.wpcf7 .cf7s-topaz textarea {
|
95 |
+
margin-bottom: 8px;
|
96 |
+
padding: 7px;
|
97 |
+
color: #d17534;
|
98 |
+
border: 1px solid #e0bf7a;
|
99 |
+
background: #fff5dc;
|
100 |
+
}
|
101 |
+
|
102 |
+
.wpcf7 .cf7s-topaz input[type="text"],
|
103 |
+
.wpcf7 .cf7s-topaz input[type="email"],
|
104 |
+
.wpcf7 .cf7s-topaz input[type="tel"],
|
105 |
+
.wpcf7 .cf7s-topaz input[type="url"],
|
106 |
+
.wpcf7 .cf7s-topaz input[type="number"],
|
107 |
+
.wpcf7 .cf7s-topaz input[type="range"],
|
108 |
+
.wpcf7 .cf7s-topaz input[type=date],
|
109 |
+
.wpcf7 .cf7s-topaz input[type=file] {
|
110 |
+
/* width: 100%; Added to cf7s-default */
|
111 |
+
}
|
112 |
+
|
113 |
+
.wpcf7 .cf7s-topaz input[type="text"] {
|
114 |
+
}
|
115 |
+
|
116 |
+
.wpcf7 .cf7s-topaz input[type="email"] {
|
117 |
+
}
|
118 |
+
|
119 |
+
.wpcf7 .cf7s-topaz input[type="tel"] {
|
120 |
+
}
|
121 |
+
|
122 |
+
.wpcf7 .cf7s-topaz textarea {
|
123 |
+
/* width: 100%; Added to cf7s-default */
|
124 |
+
padding: 5px 7px; /* deliberately different from Input */
|
125 |
+
}
|
126 |
+
|
127 |
+
/** Ordered & Unordered lists
|
128 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
129 |
+
------------------------------------------------------------ */
|
130 |
+
.wpcf7 .cf7s-topaz ol,
|
131 |
+
.wpcf7 .cf7s-topaz ul,
|
132 |
+
.wpcf7 .cf7s-topaz li {
|
133 |
+
}
|
134 |
+
|
135 |
+
.wpcf7 .cf7s-topaz ol {
|
136 |
+
}
|
137 |
+
|
138 |
+
.wpcf7 .cf7s-topaz li {
|
139 |
+
margin-bottom: 5px;
|
140 |
+
}
|
141 |
+
|
142 |
+
.wpcf7 .cf7s-topaz li label {
|
143 |
+
}
|
144 |
+
|
145 |
+
.wpcf7 .cf7s-topaz .wpcf7-list-item {
|
146 |
+
}
|
147 |
+
|
148 |
+
.wpcf7 .cf7s-topaz .wpcf7-list-item-label {
|
149 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
150 |
+
}
|
151 |
+
|
152 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
153 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
154 |
+
------------------------------------------------------------ */
|
155 |
+
.wpcf7 .cf7s-topaz input[type="checkbox"],
|
156 |
+
.wpcf7 .cf7s-topaz input[type="radio"] {
|
157 |
+
margin-right: 6px;
|
158 |
+
border: none;
|
159 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
160 |
+
}
|
161 |
+
|
162 |
+
.wpcf7 .cf7s-topaz select {
|
163 |
+
margin-bottom: 8px;
|
164 |
+
margin-left: 13px;
|
165 |
+
padding: 5px;
|
166 |
+
border: 1px solid #e0bf7a;
|
167 |
+
background: #fff5dc;
|
168 |
+
}
|
169 |
+
|
170 |
+
.wpcf7 .cf7s-topaz select option {
|
171 |
+
}
|
172 |
+
|
173 |
+
.wpcf7 .cf7s-topaz select option:hover {
|
174 |
+
background: #f9db9d;
|
175 |
+
}
|
176 |
+
|
177 |
+
.wpcf7 .cf7s-topaz .wpcf7-checkbox .wpcf7-list-item,
|
178 |
+
.wpcf7 .cf7s-topaz .wpcf7-radio .wpcf7-list-item {
|
179 |
+
margin-left: 13px;
|
180 |
+
}
|
181 |
+
|
182 |
+
/** Other Fields
|
183 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
184 |
+
------------------------------------------------------------ */
|
185 |
+
|
186 |
+
|
187 |
+
/** Submit Buttons
|
188 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
189 |
+
------------------------------------------------------------ */
|
190 |
+
.wpcf7 .cf7s-topaz input[type="submit"] {
|
191 |
+
padding: 5px 15px;
|
192 |
+
color: #fff;
|
193 |
+
border: 1px solid #e0bf7a;
|
194 |
+
background: #d88249;
|
195 |
+
}
|
196 |
+
|
197 |
+
.wpcf7 .cf7s-topaz input[type="submit"]:hover {
|
198 |
+
color: #d17437;
|
199 |
+
background: #f6d896;
|
200 |
+
}
|
201 |
+
|
202 |
+
/** Special Classes
|
203 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
204 |
+
------------------------------------------------------------ */
|
205 |
+
|
206 |
+
|
207 |
+
/** Ready Styles
|
208 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
209 |
+
------------------------------------------------------------ */
|
210 |
+
.wpcf7 .cf7s-topaz .singleline {
|
211 |
+
}
|
212 |
+
|
213 |
+
.wpcf7 .cf7s-topaz .singleline li {
|
214 |
+
display: inline-block;
|
215 |
+
margin: 0 2% 0 0;
|
216 |
+
width: 47%; /* CHANGE TO CALC */
|
217 |
+
}
|
218 |
+
|
219 |
+
.wpcf7 .cf7s-topaz .singleline input {
|
220 |
+
}
|
221 |
+
|
222 |
+
.wpcf7 .cf7s-topaz .checkbox-horizontal,
|
223 |
+
.wpcf7 .cf7s-topaz .radio-horizontal {
|
224 |
+
}
|
225 |
+
|
226 |
+
.wpcf7 .cf7s-topaz .boxaround {
|
227 |
+
padding: 10px;
|
228 |
+
border: 1px solid #dec07a;
|
229 |
+
background: #f9db9d;
|
230 |
+
}
|
231 |
+
|
232 |
+
.wpcf7 .cf7s-topaz .boxaround1 {
|
233 |
+
padding: 10px;
|
234 |
+
border: 1px solid #dec07a;
|
235 |
+
background: #f9db9d;
|
236 |
+
}
|
237 |
+
|
238 |
+
.wpcf7 .cf7s-topaz .boxaround select {
|
239 |
+
}
|
240 |
+
|
241 |
+
.wpcf7 .cf7s-topaz .boxaround1 select {
|
242 |
+
}
|
skins/styles/vanilla/modal.png
ADDED
Binary file
|
skins/styles/vanilla/thumbnail.png
ADDED
Binary file
|
skins/styles/vanilla/vanilla.css
ADDED
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Vanilla
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Vanilla is bright style that uses its soft background and strong labels to draw attention and is well suited for use with a wide range of themes.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: yellow, white, red, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These items should be used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-vanilla p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-vanilla em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-vanilla a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-vanilla {
|
50 |
+
padding: 20px;
|
51 |
+
color: #000;
|
52 |
+
border: 1px solid #a3a3a3;
|
53 |
+
background: #fff;
|
54 |
+
}
|
55 |
+
|
56 |
+
/** Fieldset, Legend, Label
|
57 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
58 |
+
------------------------------------------------------------ */
|
59 |
+
.wpcf7 .cf7s-vanilla fieldset {
|
60 |
+
margin: 10px 0;
|
61 |
+
padding: 10px 20px;
|
62 |
+
border: 1px solid #fff7c0;
|
63 |
+
background: #fff7c0;
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-vanilla legend {
|
67 |
+
font-size: 1.2em;
|
68 |
+
padding: 2px 10px;
|
69 |
+
color: #fff;
|
70 |
+
background: #c63b1c;
|
71 |
+
}
|
72 |
+
|
73 |
+
.wpcf7 .cf7s-vanilla label {
|
74 |
+
}
|
75 |
+
|
76 |
+
.wpcf7 .cf7s-vanilla fieldset p {
|
77 |
+
}
|
78 |
+
|
79 |
+
.wpcf7 .cf7s-vanilla fieldset fieldset {
|
80 |
+
background: #fff;
|
81 |
+
}
|
82 |
+
|
83 |
+
.wpcf7 .cf7s-vanilla fieldset fieldset legend {
|
84 |
+
}
|
85 |
+
|
86 |
+
.wpcf7 .cf7s-vanilla fieldset fieldset input,
|
87 |
+
.wpcf7 .cf7s-vanilla fieldset fieldset textarea {
|
88 |
+
background: #fff7c0;
|
89 |
+
}
|
90 |
+
|
91 |
+
/** Text Fields
|
92 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
93 |
+
------------------------------------------------------------ */
|
94 |
+
.wpcf7 .cf7s-vanilla input,
|
95 |
+
.wpcf7 .cf7s-vanilla textarea {
|
96 |
+
margin-bottom: 8px;
|
97 |
+
padding: 7px;
|
98 |
+
border: 1px solid #a3a3a3;
|
99 |
+
background: #fff;
|
100 |
+
}
|
101 |
+
|
102 |
+
.wpcf7 .cf7s-vanilla input[type="text"],
|
103 |
+
.wpcf7 .cf7s-vanilla input[type="email"],
|
104 |
+
.wpcf7 .cf7s-vanilla input[type="tel"],
|
105 |
+
.wpcf7 .cf7s-vanilla input[type="url"],
|
106 |
+
.wpcf7 .cf7s-vanilla input[type="number"],
|
107 |
+
.wpcf7 .cf7s-vanilla input[type="range"],
|
108 |
+
.wpcf7 .cf7s-vanilla input[type=date],
|
109 |
+
.wpcf7 .cf7s-vanilla input[type=file] {
|
110 |
+
/* width: 100%; Added to cf7s-default */
|
111 |
+
}
|
112 |
+
|
113 |
+
.wpcf7 .cf7s-vanilla input[type="text"] {
|
114 |
+
}
|
115 |
+
|
116 |
+
.wpcf7 .cf7s-vanilla input[type="email"] {
|
117 |
+
}
|
118 |
+
|
119 |
+
.wpcf7 .cf7s-vanilla input[type="tel"] {
|
120 |
+
}
|
121 |
+
|
122 |
+
.wpcf7 .cf7s-vanilla textarea {
|
123 |
+
/* width: 100%; Added to cf7s-default */
|
124 |
+
padding: 5px 7px; /* deliberately different from Input */
|
125 |
+
}
|
126 |
+
|
127 |
+
/** Ordered & Unordered lists
|
128 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
129 |
+
------------------------------------------------------------ */
|
130 |
+
.wpcf7 .cf7s-vanilla ol,
|
131 |
+
.wpcf7 .cf7s-vanilla ul,
|
132 |
+
.wpcf7 .cf7s-vanilla li {
|
133 |
+
}
|
134 |
+
|
135 |
+
.wpcf7 .cf7s-vanilla ol {
|
136 |
+
}
|
137 |
+
|
138 |
+
.wpcf7 .cf7s-vanilla li {
|
139 |
+
margin-bottom: 5px;
|
140 |
+
}
|
141 |
+
|
142 |
+
.wpcf7 .cf7s-vanilla li label {
|
143 |
+
}
|
144 |
+
|
145 |
+
.wpcf7 .cf7s-vanilla .wpcf7-list-item {
|
146 |
+
}
|
147 |
+
|
148 |
+
.wpcf7 .cf7s-vanilla .wpcf7-list-item-label {
|
149 |
+
margin-right: 7px; /* adds space after Radio Button labels */
|
150 |
+
}
|
151 |
+
|
152 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
153 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
154 |
+
------------------------------------------------------------ */
|
155 |
+
.wpcf7 .cf7s-vanilla input[type="checkbox"],
|
156 |
+
.wpcf7 .cf7s-vanilla input[type="radio"] {
|
157 |
+
margin-right: 6px;
|
158 |
+
border: none;
|
159 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
160 |
+
}
|
161 |
+
|
162 |
+
.wpcf7 .cf7s-vanilla select {
|
163 |
+
margin-bottom: 8px;
|
164 |
+
margin-left: 13px; /* same as Input */
|
165 |
+
padding: 5px;
|
166 |
+
border: 1px solid #a3a3a3;
|
167 |
+
background: #fff7c0;
|
168 |
+
}
|
169 |
+
|
170 |
+
.wpcf7 .cf7s-vanilla select option {
|
171 |
+
}
|
172 |
+
|
173 |
+
.wpcf7 .cf7s-vanilla select option:hover {
|
174 |
+
color: #fff;
|
175 |
+
background: #c63b1c;
|
176 |
+
}
|
177 |
+
|
178 |
+
.wpcf7 .cf7s-vanilla .wpcf7-checkbox .wpcf7-list-item,
|
179 |
+
.wpcf7 .cf7s-vanilla .wpcf7-radio .wpcf7-list-item {
|
180 |
+
margin-left: 13px;
|
181 |
+
}
|
182 |
+
|
183 |
+
/** Other Fields
|
184 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
185 |
+
------------------------------------------------------------ */
|
186 |
+
|
187 |
+
|
188 |
+
/** Submit Buttons
|
189 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
190 |
+
------------------------------------------------------------ */
|
191 |
+
.wpcf7 .cf7s-vanilla input[type="submit"] {
|
192 |
+
padding: 5px 15px;
|
193 |
+
color: #fff;
|
194 |
+
border: none;
|
195 |
+
background: #c63b1c;
|
196 |
+
}
|
197 |
+
|
198 |
+
.wpcf7 .cf7s-vanilla input[type="submit"]:hover {
|
199 |
+
color: #fff;
|
200 |
+
background: #000;
|
201 |
+
}
|
202 |
+
|
203 |
+
/** Special Classes
|
204 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
205 |
+
------------------------------------------------------------ */
|
206 |
+
|
207 |
+
|
208 |
+
/** Ready Styles
|
209 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
210 |
+
------------------------------------------------------------ */
|
211 |
+
.wpcf7 .cf7s-vanilla .singleline {
|
212 |
+
}
|
213 |
+
|
214 |
+
.wpcf7 .cf7s-vanilla .singleline li {
|
215 |
+
display: inline-block;
|
216 |
+
margin: 0 2% 0 0;
|
217 |
+
width: 47%; /* CHANGE TO CALC */
|
218 |
+
}
|
219 |
+
|
220 |
+
.wpcf7 .cf7s-vanilla .singleline input {
|
221 |
+
}
|
222 |
+
|
223 |
+
.wpcf7 .cf7s-vanilla .checkbox-horizontal,
|
224 |
+
.wpcf7 .cf7s-vanilla .radio-horizontal {
|
225 |
+
}
|
226 |
+
|
227 |
+
.wpcf7 .cf7s-vanilla .boxaround {
|
228 |
+
margin-bottom: 15px;
|
229 |
+
padding: 10px;
|
230 |
+
background: #fff;
|
231 |
+
border: 1px solid #a3a3a3;
|
232 |
+
}
|
233 |
+
|
234 |
+
.wpcf7 .cf7s-vanilla .boxaround1 {
|
235 |
+
margin-bottom: 15px;
|
236 |
+
padding: 10px;
|
237 |
+
background: #fff;
|
238 |
+
border: 1px solid #a3a3a3;
|
239 |
+
}
|
240 |
+
|
241 |
+
.wpcf7 .cf7s-vanilla .boxaround select {
|
242 |
+
}
|
243 |
+
|
244 |
+
.wpcf7 .cf7s-vanilla .boxaround1 select {
|
245 |
+
}
|
skins/styles/wild-west/modal.png
ADDED
Binary file
|
skins/styles/wild-west/thumbnail.png
ADDED
Binary file
|
skins/styles/wild-west/wild-west.css
ADDED
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* Style Name: Wild West
|
3 |
+
* Style URI: http://
|
4 |
+
* Author: Neil Murray
|
5 |
+
* Author URI: http://cf7skins.com
|
6 |
+
* Description: Wild West is a soft brown style with rounded edges and strong Legends that will fit in well with themes that follow a similar color scheme.
|
7 |
+
* Instructions:
|
8 |
+
* Version: 0.04
|
9 |
+
* Version Date: 2015-02-28
|
10 |
+
* License: GNU General Public License v2 or later
|
11 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
+
* Tags: popular, brown, white, light
|
13 |
+
*/
|
14 |
+
|
15 |
+
/** Table of Contents
|
16 |
+
* Import
|
17 |
+
* Resets
|
18 |
+
* Form & Controls
|
19 |
+
* Fieldset, Legend, Label
|
20 |
+
* Text Fields
|
21 |
+
* Ordered & Unordered lists
|
22 |
+
* Checkboxes, Radio Buttons and Drop Down Menus
|
23 |
+
* Other Fields
|
24 |
+
* Submit Buttons
|
25 |
+
* Special Classes
|
26 |
+
* Ready Styles
|
27 |
+
*/
|
28 |
+
|
29 |
+
/** Import
|
30 |
+
NOTE: Use to import other style sheets before setting cf7s defaults
|
31 |
+
------------------------------------------------------------ */
|
32 |
+
/* @import url('../parent/style.css'); */
|
33 |
+
|
34 |
+
/** Resets
|
35 |
+
NOTE: These are used to reset standard HTML form elements within CF7 forms
|
36 |
+
------------------------------------------------------------ */
|
37 |
+
.wpcf7 .cf7s-wild-west p {
|
38 |
+
}
|
39 |
+
|
40 |
+
.wpcf7 .cf7s-wild-west em {
|
41 |
+
}
|
42 |
+
|
43 |
+
.wpcf7 .cf7s-wild-west a {
|
44 |
+
}
|
45 |
+
|
46 |
+
/** Form & Controls
|
47 |
+
NOTE: These items should be used style the overall Form within CF7 forms
|
48 |
+
------------------------------------------------------------ */
|
49 |
+
.wpcf7 .cf7s-wild-west {
|
50 |
+
padding: 20px;
|
51 |
+
color: #4f2a0f;
|
52 |
+
border: 2px solid #f6efdf;
|
53 |
+
border-radius: 7px;
|
54 |
+
background: #dcc8a5;
|
55 |
+
}
|
56 |
+
|
57 |
+
/** Fieldset, Legend, Label
|
58 |
+
NOTE: These items should be used to style these elements within CF7 forms
|
59 |
+
------------------------------------------------------------ */
|
60 |
+
.wpcf7 .cf7s-wild-west fieldset {
|
61 |
+
margin: 10px 0;
|
62 |
+
border: 3px solid #ccb58c;
|
63 |
+
border-radius: 7px; /** Not working in IE **/
|
64 |
+
}
|
65 |
+
|
66 |
+
.wpcf7 .cf7s-wild-west legend {
|
67 |
+
font-weight: bold;
|
68 |
+
padding: 2px 10px;
|
69 |
+
color: #fff;
|
70 |
+
border: 2px solid #f6efdf;
|
71 |
+
border-radius: 7px;
|
72 |
+
background: #4f2a0f;
|
73 |
+
}
|
74 |
+
|
75 |
+
.wpcf7 .cf7s-wild-west label {
|
76 |
+
}
|
77 |
+
|
78 |
+
.wpcf7 .cf7s-wild-west fieldset p {
|
79 |
+
}
|
80 |
+
|
81 |
+
.wpcf7 .cf7s-wild-west fieldset fieldset {
|
82 |
+
}
|
83 |
+
|
84 |
+
.wpcf7 .cf7s-wild-west fieldset fieldset legend {
|
85 |
+
}
|
86 |
+
|
87 |
+
.wpcf7 .cf7s-wild-west fieldset fieldset input,
|
88 |
+
.wpcf7 .cf7s-wild-west fieldset fieldset textarea {
|
89 |
+
}
|
90 |
+
|
91 |
+
/** Text Fields
|
92 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
93 |
+
------------------------------------------------------------ */
|
94 |
+
.wpcf7 .cf7s-wild-west input,
|
95 |
+
.wpcf7 .cf7s-wild-west textarea {
|
96 |
+
margin-bottom: 8px;
|
97 |
+
padding: 5px 7px;
|
98 |
+
color: #000;
|
99 |
+
border: 3px solid #ccb58c;
|
100 |
+
border-radius: 7px;
|
101 |
+
background: #f6efdf;
|
102 |
+
}
|
103 |
+
|
104 |
+
.wpcf7 .cf7s-wild-west input[type="text"],
|
105 |
+
.wpcf7 .cf7s-wild-west input[type="email"],
|
106 |
+
.wpcf7 .cf7s-wild-west input[type="tel"],
|
107 |
+
.wpcf7 .cf7s-wild-west input[type="url"],
|
108 |
+
.wpcf7 .cf7s-wild-west input[type="number"],
|
109 |
+
.wpcf7 .cf7s-wild-west input[type="range"],
|
110 |
+
.wpcf7 .cf7s-wild-west input[type=date],
|
111 |
+
.wpcf7 .cf7s-wild-west input[type=file] {
|
112 |
+
/* width: 100%; Added to cf7s-default */
|
113 |
+
}
|
114 |
+
|
115 |
+
.wpcf7 .cf7s-wild-west input[type="text"] {
|
116 |
+
}
|
117 |
+
|
118 |
+
.wpcf7 .cf7s-wild-west input[type="email"] {
|
119 |
+
}
|
120 |
+
|
121 |
+
.wpcf7 .cf7s-wild-west input[type="tel"] {
|
122 |
+
}
|
123 |
+
|
124 |
+
.wpcf7 .cf7s-wild-west textarea {
|
125 |
+
/* width: 100%; Added to cf7s-default */
|
126 |
+
}
|
127 |
+
|
128 |
+
/** Ordered & Unordered lists
|
129 |
+
------------------------------------------------------------ */
|
130 |
+
.wpcf7 .cf7s-wild-west ol,
|
131 |
+
.wpcf7 .cf7s-wild-west ul,
|
132 |
+
.wpcf7 .cf7s-wild-west li {
|
133 |
+
}
|
134 |
+
|
135 |
+
.wpcf7 .cf7s-wild-west ol {
|
136 |
+
}
|
137 |
+
|
138 |
+
.wpcf7 .cf7s-wild-west li {
|
139 |
+
}
|
140 |
+
|
141 |
+
.wpcf7 .cf7s-wild-west li label {
|
142 |
+
}
|
143 |
+
|
144 |
+
.wpcf7 .cf7s-wild-west .wpcf7-list-item {
|
145 |
+
}
|
146 |
+
.wpcf7 .cf7s-wild-west .wpcf7-list-item-label {
|
147 |
+
}
|
148 |
+
|
149 |
+
/** Checkboxes, Radio Buttons and Drop Down Menus
|
150 |
+
NOTE: These are the CSS selectors that should be used style these Fields within CF7 forms
|
151 |
+
------------------------------------------------------------ */
|
152 |
+
.wpcf7 .cf7s-wild-west input[type="checkbox"],
|
153 |
+
.wpcf7 .cf7s-wild-west input[type="radio"] {
|
154 |
+
border: none;
|
155 |
+
background: none; /* needed for IE - cf7s-default is not specific enough */
|
156 |
+
}
|
157 |
+
|
158 |
+
.wpcf7 .cf7s-wild-west select {
|
159 |
+
margin-bottom: 8px;
|
160 |
+
background: #f6efdf;
|
161 |
+
border: 1px solid #ccb58c;
|
162 |
+
}
|
163 |
+
|
164 |
+
.wpcf7 .cf7s-wild-west select option {
|
165 |
+
}
|
166 |
+
|
167 |
+
.wpcf7 .cf7s-wild-west select option:hover {
|
168 |
+
background: #4f2a0f;
|
169 |
+
color: #fff;
|
170 |
+
}
|
171 |
+
|
172 |
+
.wpcf7 .cf7s-wild-west .wpcf7-checkbox .wpcf7-list-item,
|
173 |
+
.wpcf7 .cf7s-wild-west .wpcf7-radio .wpcf7-list-item {
|
174 |
+
}
|
175 |
+
|
176 |
+
/** Other Fields
|
177 |
+
NOTE: These are the CSS selectors that should be used style these fields within CF7 forms
|
178 |
+
------------------------------------------------------------ */
|
179 |
+
|
180 |
+
|
181 |
+
/** Submit Buttons
|
182 |
+
NOTE: These are the CSS selectors that should be used style Submit Buttons within CF7 forms
|
183 |
+
------------------------------------------------------------ */
|
184 |
+
.wpcf7 .cf7s-wild-west input[type="submit"] {
|
185 |
+
font-weight: bold;
|
186 |
+
padding: 5px 15px;
|
187 |
+
color: #fff;
|
188 |
+
border: 3px solid #ccb58c;
|
189 |
+
border-radius: 7px;
|
190 |
+
background: #4f2a0f;
|
191 |
+
}
|
192 |
+
|
193 |
+
.wpcf7 .cf7s-wild-west input[type="submit"]:hover {
|
194 |
+
background: #000;
|
195 |
+
}
|
196 |
+
|
197 |
+
|
198 |
+
/** Special Classes
|
199 |
+
NOTE: Special Classes are classes added in the CF7 Form HTML for a particular form
|
200 |
+
------------------------------------------------------------ */
|
201 |
+
|
202 |
+
|
203 |
+
/** Ready Styles
|
204 |
+
NOTE: Ready Styles are provided ready to be used in all CF7 forms
|
205 |
+
------------------------------------------------------------ */
|
206 |
+
.wpcf7 .cf7s-wild-west .singleline {
|
207 |
+
}
|
208 |
+
|
209 |
+
.wpcf7 .cf7s-wild-west .singleline li {
|
210 |
+
display: inline-block;
|
211 |
+
margin: 0 2% 0 0;
|
212 |
+
width: 47%; /* CHANGE TO CALC */
|
213 |
+
}
|
214 |
+
|
215 |
+
.wpcf7 .cf7s-wild-west .singleline input {
|
216 |
+
}
|
217 |
+
|
218 |
+
.wpcf7 .cf7s-wild-west .checkbox-horizontal,
|
219 |
+
.wpcf7 .cf7s-wild-west .radio-horizontal {
|
220 |
+
}
|
221 |
+
|
222 |
+
.wpcf7 .cf7s-wild-west .boxaround {
|
223 |
+
padding: 10px;
|
224 |
+
border: 3px solid #ccb58c;
|
225 |
+
border-radius:7px;
|
226 |
+
background: #f6efdf;
|
227 |
+
}
|
228 |
+
|
229 |
+
.wpcf7 .cf7s-wild-west .boxaround1 {
|
230 |
+
padding: 10px;
|
231 |
+
border: 3px solid #ccb58c;
|
232 |
+
border-radius:7px;
|
233 |
+
background: #f6efdf;
|
234 |
+
}
|
235 |
+
|
236 |
+
.wpcf7 .cf7s-wild-west .boxaround select {
|
237 |
+
}
|
238 |
+
|
239 |
+
.wpcf7 .cf7s-wild-west .boxaround1 select {
|
240 |
+
}
|
skins/templates/contact/contact.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Contact
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.4
|
10 |
+
* Version Date: 2014-11-07
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags: popular, contact
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Contact Form','cf7skins'); ?></legend>
|
19 |
+
<ol>
|
20 |
+
<li> <?php _e( 'Your Name (required)', 'cf7skins' ); ?> [text* cf7s-name]</li>
|
21 |
+
<li> <?php _e( 'Email Address (required)', 'cf7skins' ); ?> [email* cf7s-email-address]</li>
|
22 |
+
<li> <?php _e( 'Your Message', 'cf7skins' ); ?> [textarea cf7s-message]</li>
|
23 |
+
</ol>
|
24 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
25 |
+
<p>* <?php _e( 'Required', 'cf7skins' ); ?></p>
|
26 |
+
</fieldset>
|
27 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/contact/description.txt
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Contact gives you the framework you need to create a beautiful and easy-to-use way for your audience to contact you.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Title
|
5 |
+
- Main message area that can be expanded for long messages
|
6 |
+
- Email address that is starred to indicate it's a required field
|
7 |
+
- Submit button
|
8 |
+
- Footer text
|
9 |
+
|
10 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/contact/modal.png
ADDED
Binary file
|
skins/templates/contact/thumbnail.png
ADDED
Binary file
|
skins/templates/default/default-cf7-form.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Default CF7 Form
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description: The Default CF7 Form is a minimalistic contact form without any of the CF7 Skins structure applied. It is simple, straightforward, and will blend in with most plain pages. <br><br> Included in this template are the following fields: <br>• Name <br>• Email address <br>• Subject <br>• Message area that can be expanded for long messages<br>• Submit button <br><br> You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
8 |
+
* Instructions:
|
9 |
+
|
10 |
+
* Version: 0.2
|
11 |
+
* Version Date: 2013-07-01
|
12 |
+
* License: GNU General Public License v2 or later
|
13 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
14 |
+
* Tags:
|
15 |
+
* Text Domain:
|
16 |
+
**/
|
17 |
+
?>
|
18 |
+
<p><?php _e( 'Your Name (required)', 'cf7skins'); ?><br />
|
19 |
+
[text* your-name] </p>
|
20 |
+
|
21 |
+
<p><?php _e( 'Your Email (required)','cf7skins'); ?><br />
|
22 |
+
[email* your-email] </p>
|
23 |
+
|
24 |
+
<p><?php _e( 'Subject', 'cf7skins'); ?><br />
|
25 |
+
[text your-subject] </p>
|
26 |
+
|
27 |
+
<p><?php _e( 'Your Message','cf7skins'); ?><br />
|
28 |
+
[textarea your-message] </p>
|
29 |
+
|
30 |
+
<p>[submit "<?php _e( 'Send','cf7skins'); ?>"]</p>
|
skins/templates/default/modal.png
ADDED
Binary file
|
skins/templates/default/thumbnail.png
ADDED
Binary file
|
skins/templates/event/description.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Planning or scheduling an event or workshop? The Event form makes it easy to customize the content of multiple fields, checkboxes, radio buttons, and drop-down menus with options so you can gather information from possible attendees quickly and easily.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Title
|
5 |
+
- Name
|
6 |
+
- Phone number
|
7 |
+
- Email address (marked with a star to indicate it's required)
|
8 |
+
- Questions with choices listed in checkboxes (for selecting single or multiple options) and radio buttons (for selecting a single option).
|
9 |
+
- Menu with options (for selecting a single option)
|
10 |
+
- Message box (for open questions that the attendee may have)
|
11 |
+
- Submit button
|
12 |
+
- Footer text (for adding text to the bottom of form)
|
13 |
+
|
14 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/event/event.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Event
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.4
|
10 |
+
* Version Date: 2014-11-07
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags: featured, event
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Event', 'cf7skins'); ?></legend>
|
19 |
+
<ol>
|
20 |
+
<li> <?php _e( 'Name', 'cf7skins'); ?> [text cf7s-name]</li>
|
21 |
+
<li> <?php _e( 'Phone Number', 'cf7skins'); ?> [tel cf7s-phone]</li>
|
22 |
+
<li> <?php _e( 'Email', 'cf7skins'); ?> [email* cf7s-email]</li>
|
23 |
+
<li> <?php _e( 'Which workshops will you be attending?', 'cf7skins' ); ?> [checkbox cf7s-checkbox1 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"] </li>
|
24 |
+
<li> <?php _e( 'Are you an existing customer?', 'cf7skins' ); ?> [radio cf7s-radio1 "<?php _e( 'Yes', 'cf7skins' ); ?>" "<?php _e( 'No', 'cf7skins' ); ?>"] </li>
|
25 |
+
<li> <?php _e( 'How did find out about this event?', 'cf7skins'); ?> [select cf7s-select1 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"] </li>
|
26 |
+
<li> <?php _e( 'Comments or Questions', 'cf7skins'); ?> [textarea cf7s-comments]</li>
|
27 |
+
</ol>
|
28 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
29 |
+
<p>* <?php _e( 'Required', 'cf7skins' ); ?></p>
|
30 |
+
</fieldset>
|
31 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/event/modal.png
ADDED
Binary file
|
skins/templates/event/thumbnail.png
ADDED
Binary file
|
skins/templates/fieldset-basic/description.txt
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Fieldset Basic is a standard contact form that uses a fieldset and legend structure for the form. It is a simple, easy and effective contact form for your website.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Title
|
5 |
+
- Name
|
6 |
+
- Email (marked with a star to indicate it's required)
|
7 |
+
- Phone number
|
8 |
+
- Message box area
|
9 |
+
- Submit button
|
10 |
+
- Footer text (for adding text to the bottom of form)
|
11 |
+
|
12 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/fieldset-basic/fieldset-basic.php
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Fieldset - Basic
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.3
|
10 |
+
* Version Date: 2014-11-11
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags: popular, featured, fieldset
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Your Details', 'cf7skins'); ?></legend>
|
19 |
+
<ol>
|
20 |
+
<li><?php _e( 'Name', 'cf7skins'); ?> [text cf7s-name]</li>
|
21 |
+
<li><?php _e( 'Email', 'cf7skins'); ?> [email* cf7s-email]</li>
|
22 |
+
<li><?php _e( 'Phone', 'cf7skins'); ?> [text cf7s-phone]</li>
|
23 |
+
<li> <?php _e( 'Message', 'cf7skins' ); ?> [textarea cf7s-message]</li>
|
24 |
+
</ol>
|
25 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
26 |
+
<p>* <?php _e( 'Required', 'cf7skins' ); ?></p>
|
27 |
+
</fieldset>
|
28 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/fieldset-basic/modal.png
ADDED
Binary file
|
skins/templates/fieldset-basic/thumbnail.png
ADDED
Binary file
|
skins/templates/fieldset-in-fieldset/description.txt
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Fieldset in Fieldset provides extra structure to your form. Rather than just a simple long form, this template makes it easy for you to easily segment your form.
|
2 |
+
|
3 |
+
For example, a form section with general contact information, could be split from a section containing your products or services.
|
4 |
+
|
5 |
+
Included in this template are the following fields:
|
6 |
+
- Main title
|
7 |
+
- Name
|
8 |
+
- Email (marked with a star to indicate it's required)
|
9 |
+
- Phone number
|
10 |
+
- Open message section
|
11 |
+
- Secondary title
|
12 |
+
- Checkboxes (for single or multiple selections)
|
13 |
+
- Radio buttons (for single selection)
|
14 |
+
- Drop-down menu (for single selection)
|
15 |
+
- Fieldset within fieldset
|
16 |
+
- Submit button
|
17 |
+
- Footer text
|
18 |
+
|
19 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/fieldset-in-fieldset/fieldset-in-fieldset.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Fieldset in Fieldset
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.1
|
10 |
+
* Version Date: 2014-07-01
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags:
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Your Details', 'cf7skins'); ?></legend>
|
19 |
+
<ol>
|
20 |
+
<li><?php _e( 'Name', 'cf7skins'); ?> [text cf7s-name]</li>
|
21 |
+
<li><?php _e( 'Email', 'cf7skins'); ?> [email* cf7s-email]</li>
|
22 |
+
<li><?php _e( 'Phone', 'cf7skins'); ?> [text cf7s-phone]</li>
|
23 |
+
<li> <?php _e( 'Message', 'cf7skins' ); ?> [textarea cf7s-message]</li>
|
24 |
+
</ol>
|
25 |
+
<p>Use paragraphs for text that is not a form field.</p>
|
26 |
+
<fieldset>
|
27 |
+
<legend><?php _e( 'Your Requirements', 'cf7skins'); ?></legend>
|
28 |
+
<ol>
|
29 |
+
<li><?php _e( 'Checkboxes', 'cf7skins'); ?> [checkbox cf7s-checkbox-01 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"]</li>
|
30 |
+
<li><?php _e( 'Radio Buttons', 'cf7skins'); ?> [radio cf7s-radio-01 "<?php _e( 'Yes', 'cf7skins' ); ?>" "<?php _e( 'No', 'cf7skins' ); ?>"]</li>
|
31 |
+
<li><?php _e( 'Dropdown Select', 'cf7skins'); ?> [select cf7s-select-01 "<?php _e( 'Item 1', 'cf7skins' ); ?>" "<?php _e( 'Item 2', 'cf7skins' ); ?>" "<?php _e( 'Item 3', 'cf7skins' ); ?>"]</li>
|
32 |
+
</ol>
|
33 |
+
</fieldset>
|
34 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
35 |
+
<p>* <?php _e( 'Required', 'cf7skins' ); ?></p>
|
36 |
+
</fieldset>
|
37 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/fieldset-in-fieldset/modal.png
ADDED
Binary file
|
skins/templates/fieldset-in-fieldset/thumbnail.png
ADDED
Binary file
|
skins/templates/fieldset-multiple/description.txt
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The Fieldset - Multiple template makes it easy to segment a long, complicated form into multiple sections. Separating your form helps your audience better understand longer forms.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Main title
|
5 |
+
- Name
|
6 |
+
- Email (marked with a star to indicate it's required)
|
7 |
+
- Phone number
|
8 |
+
- Open message section
|
9 |
+
- Secondary Title
|
10 |
+
- Checkboxes (for single or multiple selections)
|
11 |
+
- Radio buttons (for single selection)
|
12 |
+
- Drop-down menus (for single selection)
|
13 |
+
- Multiple Fieldsets
|
14 |
+
- Submit button
|
15 |
+
- Footer
|
16 |
+
|
17 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/fieldset-multiple/fieldset-multiple.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Fieldset - Multiple
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.1
|
10 |
+
* Version Date: 2014-07-01
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags:
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Your Details', 'cf7skins'); ?></legend>
|
19 |
+
<ol>
|
20 |
+
<li><?php _e( 'Name', 'cf7skins'); ?> [text cf7s-name]</li>
|
21 |
+
<li><?php _e( 'Email', 'cf7skins'); ?> [email* cf7s-email]</li>
|
22 |
+
<li><?php _e( 'Phone', 'cf7skins'); ?> [text cf7s-phone]</li>
|
23 |
+
<li> <?php _e( 'Message', 'cf7skins' ); ?> [textarea cf7s-message]</li>
|
24 |
+
</ol>
|
25 |
+
</fieldset>
|
26 |
+
<p>Use paragraphs for text that is not a form field.</p>
|
27 |
+
<fieldset>
|
28 |
+
<legend><?php _e( 'Your Requirements', 'cf7skins'); ?></legend>
|
29 |
+
<ol>
|
30 |
+
<li><?php _e( 'Checkboxes', 'cf7skins'); ?> [checkbox cf7s-checkbox-01 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"]</li>
|
31 |
+
<li><?php _e( 'Radio Buttons', 'cf7skins'); ?> [radio cf7s-radio-01 "<?php _e( 'Yes', 'cf7skins' ); ?>" "<?php _e( 'No', 'cf7skins' ); ?>"]</li>
|
32 |
+
<li><?php _e( 'Dropdown Select', 'cf7skins'); ?> [select cf7s-select-01 "<?php _e( 'Item 1', 'cf7skins' ); ?>" "<?php _e( 'Item 2', 'cf7skins' ); ?>" "<?php _e( 'Item 3', 'cf7skins' ); ?>"]</li>
|
33 |
+
</ol>
|
34 |
+
</fieldset>
|
35 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
36 |
+
<p>* <?php _e( 'Required', 'cf7skins' ); ?></p>
|
37 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/fieldset-multiple/modal.png
ADDED
Binary file
|
skins/templates/fieldset-multiple/thumbnail.png
ADDED
Binary file
|
skins/templates/registration/description.txt
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The Registration template is the perfect template for gathering general registration information from your audience. Clear and concise, this template has everything you need to quickly have a registration form ready for your website.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Title
|
5 |
+
- Name
|
6 |
+
- Address
|
7 |
+
- City
|
8 |
+
- State/Province/Region
|
9 |
+
- Phone number
|
10 |
+
- Email
|
11 |
+
- Open message section
|
12 |
+
- Radio buttons for preferred contact method (for single selection)
|
13 |
+
- Drop-down menu with options (for single selection)
|
14 |
+
- Checkboxes with options (for single or multiple selection)
|
15 |
+
- Submit button
|
16 |
+
- Footer text
|
17 |
+
|
18 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/registration/modal.png
ADDED
Binary file
|
skins/templates/registration/registration.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Registration
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.03
|
10 |
+
* Version Date: 2014-11-07
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags:
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Registration', 'cf7skins'); ?></legend>
|
19 |
+
<ol>
|
20 |
+
<li> <?php _e( 'Name', 'cf7skins'); ?> [text cf7s-name]</li>
|
21 |
+
<li> <?php _e( 'Address', 'cf7skins'); ?> [text cf7s-address]</li>
|
22 |
+
<li> <?php _e( 'City', 'cf7skins'); ?> [text cf7s-city]</li>
|
23 |
+
<li> <?php _e( 'State / Province / Region', 'cf7skins'); ?> [text cf7s-state]</li>
|
24 |
+
<li> <?php _e( 'Phone Number', 'cf7skins'); ?> [tel cf7s-phone]</li>
|
25 |
+
<li> <?php _e( 'Email', 'cf7skins'); ?> [email cf7s-email]</li>
|
26 |
+
<li> <?php _e( 'Message', 'cf7skins'); ?> [textarea cf7s-special-needs]</li>
|
27 |
+
<li> <?php _e( 'Preferred Contact Method', 'cf7skins'); ?> [radio cf7s-radio1 "<?php _e( 'Email', 'cf7skins' ); ?>" "<?php _e( 'Phone', 'cf7skins' ); ?>"] </li>
|
28 |
+
<li> <?php _e( 'Drop-down menu', 'cf7skins'); ?> [select cf7s-select1 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"] </li>
|
29 |
+
<li> <?php _e( 'Checkboxes', 'cf7skins'); ?> [checkbox cf7s-checkbox1 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"] </li>
|
30 |
+
</ol>
|
31 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
32 |
+
</fieldset>
|
33 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/registration/thumbnail.png
ADDED
Binary file
|
skins/templates/suggestion/description.txt
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Suggestion provides a simple and effective form structure for your audience to send suggestions and feedback for your products and/or services. Customize the fields and get the most out of your customer's feedback.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Title
|
5 |
+
- Tagline
|
6 |
+
- Drop down menu (for selecting a single option)
|
7 |
+
- Single line text area
|
8 |
+
- Multiple line message area
|
9 |
+
- Email address
|
10 |
+
- Radio button options (for selecting a single option)
|
11 |
+
- Checkbox options (for selecting single or multiple options)
|
12 |
+
- Submit button
|
13 |
+
- Footer text (for adding text to the bottom of form)
|
14 |
+
|
15 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/suggestion/modal.png
ADDED
Binary file
|
skins/templates/suggestion/suggestion.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Suggestion
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.03
|
10 |
+
* Version Date: 2014-11-07
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags:
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Suggestion Form', 'cf7skins'); ?></legend>
|
19 |
+
<p><strong><?php _e( 'Please let us know what you think.', 'cf7skins'); ?></strong></p>
|
20 |
+
<ol>
|
21 |
+
<li> <?php _e( 'In which of the following areas do you have a suggestion?', 'cf7skins'); ?> [select cf7s-select1 multiple"<?php _e( 'Area 1', 'cf7skins' ); ?>" "<?php _e( 'Area 2', 'cf7skins' ); ?>" "<?php _e( 'Area 3', 'cf7skins' ); ?>" "<?php _e( 'Area 4', 'cf7skins' ); ?>"]</li>
|
22 |
+
<p><?php _e( 'Note: You can select multiple items (Use Shift or Ctrl/Cmd + Click)', 'cf7skins'); ?></p>
|
23 |
+
<li><?php _e( 'Suggestion', 'cf7skins'); ?> [text cf7s-suggestion]</li>
|
24 |
+
<li> <?php _e( 'Details', 'cf7skins'); ?> [textarea cf7s-details]</li>
|
25 |
+
<li><?php _e( 'Your Email - please enter your email if you would like us to follow up with you.', 'cf7skins'); ?> [email cf7s-email]</li>
|
26 |
+
<li> <?php _e( 'Radio buttons', 'cf7skins'); ?> [radio cf7s-radio1 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"] </li>
|
27 |
+
<li> <?php _e( 'Checkboxes', 'cf7skins'); ?> [checkbox cf7s-checkbox1 "<?php _e( 'Option 1', 'cf7skins' ); ?>" "<?php _e( 'Option 2', 'cf7skins' ); ?>" "<?php _e( 'Option 3', 'cf7skins' ); ?>"] </li>
|
28 |
+
</ol>
|
29 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
30 |
+
</fieldset>
|
31 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/suggestion/thumbnail.png
ADDED
Binary file
|
skins/templates/survey/description.txt
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Personalizing and creating your own survey is easy with the Survey template. You can add or customize as many radio, checkbox and open message options as you like to gather the information you need.
|
2 |
+
|
3 |
+
Included in this template are the following fields:
|
4 |
+
- Title
|
5 |
+
- Introduction text
|
6 |
+
- Questions with possible choices listed in radio buttons (for selecting a single option) or checkboxes (for both single & multiple selection options)
|
7 |
+
- Open message box
|
8 |
+
- Submit button
|
9 |
+
- Footer text (for adding text to the bottom of form)
|
10 |
+
|
11 |
+
You can copy, add, remove and alter fields, text, titles and fieldsets and more to customize the form to suit your needs.
|
skins/templates/survey/modal.png
ADDED
Binary file
|
skins/templates/survey/survey.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Template Name: Survey
|
4 |
+
* Template URI: http://
|
5 |
+
* Author: Neil Murray
|
6 |
+
* Author URI: http://cf7skins.com
|
7 |
+
* Description:
|
8 |
+
* Instructions:
|
9 |
+
* Version: 0.03
|
10 |
+
* Version Date: 2014-11-07
|
11 |
+
* License: GNU General Public License v2 or later
|
12 |
+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
+
* Tags:
|
14 |
+
* Text Domain:
|
15 |
+
**/
|
16 |
+
?>
|
17 |
+
<fieldset>
|
18 |
+
<legend><?php _e( 'Survey Form', 'cf7skins'); ?></legend>
|
19 |
+
<p>Please help us to serve you better by completing this survey. It should take around 5 minutes to complete.</p>
|
20 |
+
<ol>
|
21 |
+
<li> <?php _e( 'Overall, how satisfied are you with our product / service?', 'cf7skins'); ?> [radio cf7s-survey1 "<?php _e( 'Very Satisfied', 'cf7skins' ); ?>" "<?php _e( 'Satisfied', 'cf7skins' ); ?>" "<?php _e( 'Neutral', 'cf7skins' ); ?>" "<?php _e( 'Unsatisfied', 'cf7skins' ); ?>" "<?php _e( 'Very Unsatisfied', 'cf7skins' ); ?>" " N/A"] </li>
|
22 |
+
<li> <?php _e( 'Would you recommend our product / service to others?', 'cf7skins'); ?> [radio cf7s-survey2 "<?php _e( 'Definitely', 'cf7skins' ); ?>" "<?php _e( 'Probably', 'cf7skins' ); ?>" "<?php _e( 'Not Sure', 'cf7skins' ); ?>" "<?php _e( 'Probably Not', 'cf7skins' ); ?>" "<?php _e( 'Definitely Not', 'cf7skins' ); ?>"] </li>
|
23 |
+
<li> <?php _e( 'How long have you used our product / service?', 'cf7skins'); ?> [radio cf7s-survey3 "<?php _e( 'Less than a month', 'cf7skins' ); ?>" "<?php _e( '1-6 months', 'cf7skins' ); ?>" "<?php _e( '1-3 years', 'cf7skins' ); ?>" "<?php _e( 'Over 3 Years', 'cf7skins' ); ?>" "<?php _e( 'Never used', 'cf7skins' ); ?>"] </li>
|
24 |
+
<li> <?php _e( 'How often do you use our product / service?', 'cf7skins'); ?> [radio cf7s-survey4 "<?php _e( 'Once a week', 'cf7skins' ); ?>" "<?php _e( '2 to 3 times a month', 'cf7skins' ); ?>" "<?php _e( 'Once a month', 'cf7skins' ); ?>" "<?php _e( 'Less than once a month', 'cf7skins' ); ?>"] </li>
|
25 |
+
<li> <?php _e( 'What aspect of the product / service were you most satisfied by?', 'cf7skins'); ?> [radio cf7s-survey5 "<?php _e( 'Quality', 'cf7skins' ); ?>" "<?php _e( 'Price', 'cf7skins' ); ?>" "<?php _e( 'Purchase Experience', 'cf7skins' ); ?>" "<?php _e( 'Usage Experience', 'cf7skins' ); ?>" "<?php _e( 'Customer Service', 'cf7skins' ); ?>"] </li>
|
26 |
+
<li> <?php _e( 'Overall, the product / service met my expectations?', 'cf7skins'); ?> [radio cf7s-survey6 "<?php _e( 'Strongly Agree', 'cf7skins' ); ?>" "<?php _e( 'Agree', 'cf7skins' ); ?>" "<?php _e( 'Neutral', 'cf7skins' ); ?>" "<?php _e( 'Disagree', 'cf7skins' ); ?>" "<?php _e( 'Strongly Disagree', 'cf7skins' ); ?>" "<?php _e( "Don't Know", 'cf7skins' ); ?>"] </li>
|
27 |
+
<li> <?php _e( 'What do you like about the product / service?', 'cf7skins'); ?>[textarea cf7s-survey7]</li>
|
28 |
+
<li> <?php _e( 'Thinking of similar products / services offered by others, how would you compare the product / service offered by us?', 'cf7skins'); ?> [radio cf7s-survey8 "<?php _e( 'Much Better', 'cf7skins' ); ?>" "<?php _e( 'Somewhat Better', 'cf7skins' ); ?>" "<?php _e( 'About the Same', 'cf7skins' ); ?>" "<?php _e( 'Somewhat Worse', 'cf7skins' ); ?>" "<?php _e( 'Much Worse', 'cf7skins' ); ?>" "<?php _e( 'Don\'t Know', 'cf7skins' ); ?>"] </li>
|
29 |
+
</ol>
|
30 |
+
[submit "<?php _e( 'Submit', 'cf7skins'); ?>"]
|
31 |
+
</fieldset>
|
32 |
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tempus pharetra vehicula. Aliquam pellentesque mi non scelerisque placerat.</p>
|
skins/templates/survey/thumbnail.png
ADDED
Binary file
|
uninstall.php
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Uninstall function
|
4 |
+
*
|
5 |
+
* @package cf7Skins
|
6 |
+
* @author Neil Murray
|
7 |
+
* @since 0.0.1
|
8 |
+
*/
|
9 |
+
|
10 |
+
|
11 |
+
// Exit if this file is not called from WordPress
|
12 |
+
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) )
|
13 |
+
exit();
|
14 |
+
|
15 |
+
// Check if user wants to retain plugin data
|
16 |
+
$option = get_option( 'cf7skins' );
|
17 |
+
|
18 |
+
if ( isset( $option['delete_data'] ) && $option['delete_data'] ) {
|
19 |
+
|
20 |
+
// Delete plugin option
|
21 |
+
delete_option('cf7skins');
|
22 |
+
delete_option('cf7skins_version_installed');
|
23 |
+
|
24 |
+
// Delete all post meta by key.
|
25 |
+
// This plugin uses post meta cf7s_style for selected style
|
26 |
+
// and cf7s_template for selected template.
|
27 |
+
delete_post_meta_by_key( 'cf7s_style' );
|
28 |
+
delete_post_meta_by_key( 'cf7s_template' );
|
29 |
+
}
|
30 |
+
?>
|