Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.11.7

Version Description

  • Fixed: Theme version control.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.11.7
Comparing to
See all releases

Code changes from version 1.11.6 to 1.11.7

admin/views/FMViewThemes_fm.php CHANGED
@@ -1,3964 +1,3965 @@
1
- <?php
2
- class FMViewThemes_fm {
3
- ////////////////////////////////////////////////////////////////////////////////////////
4
- // Events //
5
- ////////////////////////////////////////////////////////////////////////////////////////
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- // Constants //
8
- ////////////////////////////////////////////////////////////////////////////////////////
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- // Variables //
11
- ////////////////////////////////////////////////////////////////////////////////////////
12
- private $model;
13
-
14
- ////////////////////////////////////////////////////////////////////////////////////////
15
- // Constructor & Destructor //
16
- ////////////////////////////////////////////////////////////////////////////////////////
17
- public function __construct($model) {
18
- $this->model = $model;
19
- }
20
-
21
- ////////////////////////////////////////////////////////////////////////////////////////
22
- // Public Methods //
23
- ////////////////////////////////////////////////////////////////////////////////////////
24
- public function display() {
25
- $rows_data = $this->model->get_rows_data();
26
- $page_nav = $this->model->page_nav();
27
- $search_value = ((isset($_POST['search_value'])) ? esc_html($_POST['search_value']) : '');
28
- $search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
29
- $asc_or_desc = ((isset($_POST['asc_or_desc']) && $_POST['asc_or_desc'] == 'desc') ? 'desc' : 'asc');
30
- $order_by_array = array('id', 'title', 'default');
31
- $order_by = isset($_POST['order_by']) && in_array(esc_html(stripslashes($_POST['order_by'])), $order_by_array) ? esc_html(stripslashes($_POST['order_by'])) : 'id';
32
- $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
- $ids_string = '';
34
- ?>
35
- <form class="wrap" id="themes_form" method="post" action="admin.php?page=themes_fm">
36
- <?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
37
- <div class="fm-page-banner themes-banner">
38
- <div class="theme_icon">
39
- </div>
40
- <div class="fm-logo-title">Themes</div>
41
- <button class="fm-button add-button medium" style="margin-left: 31px;" onclick="fm_set_input_value('task', 'add'); fm_form_submit(event, 'themes_form');">
42
- <span></span>
43
- Add New
44
- </button>
45
- <div class="fm-page-actions">
46
- <button class="fm-button save-as-copy-button medium" onclick="fm_set_input_value('task', 'copy_themes');">
47
- <span></span>
48
- Copy
49
- </button>
50
- <button class="fm-button delete-button medium" onclick="if (confirm('Do you want to delete selected item(s)?')) { fm_set_input_value('task', 'delete_all'); } else { return false; }">
51
- <span></span>
52
- Delete
53
- </button>
54
- </div>
55
- </div>
56
- <div class="fm-clear"></div>
57
- <div class="tablenav top">
58
- <?php
59
- WDW_FM_Library::search('Title', $search_value, 'themes_form');
60
- WDW_FM_Library::html_page_nav($page_nav['total'], $page_nav['limit'], 'themes_form');
61
- ?>
62
- </div>
63
- <table class="wp-list-table widefat fixed pages">
64
- <thead>
65
- <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;"/></th>
66
- <th class="table_small_col <?php if ($order_by == 'id') { echo $order_class; } ?>">
67
- <a onclick="fm_set_input_value('task', ''); fm_set_input_value('order_by', 'id'); fm_set_input_value('asc_or_desc', '<?php echo (($order_by == 'id' && $asc_or_desc == 'asc') ? 'desc' : 'asc'); ?>'); fm_form_submit(event, 'themes_form')" href="">
68
- <span>ID</span><span class="sorting-indicator"></span></a>
69
- </th>
70
- <th class="<?php if ($order_by == 'title') { echo $order_class; } ?>">
71
- <a onclick="fm_set_input_value('task', ''); fm_set_input_value('order_by', 'title'); fm_set_input_value('asc_or_desc', '<?php echo (($order_by == 'title' && $asc_or_desc == 'asc') ? 'desc' : 'asc'); ?>'); fm_form_submit(event, 'themes_form')" href="">
72
- <span>Title</span><span class="sorting-indicator"></span></a>
73
- </th>
74
- <th class="table_big_col <?php if ($order_by == 'default') { echo $order_class; } ?>">
75
- <a onclick="fm_set_input_value('task', ''); fm_set_input_value('order_by', 'default'); fm_set_input_value('asc_or_desc', '<?php echo (($order_by == 'default' && $asc_or_desc == 'asc') ? 'desc' : 'asc'); ?>'); fm_form_submit(event, 'themes_form')" href="">
76
- <span>Default</span><span class="sorting-indicator"></span></a>
77
- </th>
78
- <th class="table_small_col">Edit</th>
79
- <th class="table_small_col">Delete</th>
80
- </thead>
81
- <tbody id="tbody_arr">
82
- <?php
83
- if ($rows_data) {
84
- foreach ($rows_data as $row_data) {
85
- $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
86
- $default_image = (($row_data->default) ? 'default' : 'notdefault');
87
- $default = (($row_data->default) ? '' : 'setdefault');
88
- ?>
89
- <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
90
- <td class="table_small_col check-column">
91
- <input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" type="checkbox"/>
92
- </td>
93
- <td class="table_small_col"><?php echo $row_data->id; ?></td>
94
- <td>
95
- <a onclick="fm_set_input_value('task', 'edit'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form')" href="" title="Edit"><?php echo $row_data->title; ?></a>
96
- </td>
97
- <td class="table_big_col">
98
- <?php if ($default != '') { ?>
99
- <a onclick="fm_set_input_value('task', '<?php echo $default; ?>'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form')" href="">
100
- <?php } ?>
101
- <img src="<?php echo WD_FM_URL . '/images/' . $default_image . '.png?ver='. WD_FM_VERSION.''; ?>" />
102
- <?php if ($default != '') { ?>
103
- </a>
104
- <?php } ?>
105
- </td>
106
- <td class="table_small_col">
107
- <button class="fm-icon edit-icon" onclick="fm_set_input_value('task', 'edit'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form');">
108
- <span></span>
109
- </button>
110
- </td>
111
- <td class="table_small_col">
112
- <button class="fm-icon delete-icon" onclick="if (confirm('Do you want to delete selected item(s)?')) { fm_set_input_value('task', 'delete'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form'); } else {return false;}">
113
- <span></span>
114
- </button>
115
- </td>
116
- </tr>
117
- <?php
118
- $ids_string .= $row_data->id . ',';
119
- }
120
- }
121
- ?>
122
- </tbody>
123
- </table>
124
- <input id="task" name="task" type="hidden" value=""/>
125
- <input id="current_id" name="current_id" type="hidden" value=""/>
126
- <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>"/>
127
- <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc"/>
128
- <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>"/>
129
- </form>
130
- <?php
131
- }
132
-
133
- public function edit($id, $reset) {
134
- $row = $this->model->get_row_data($id, $reset);
135
- $page_title = 'Theme: ' . $row->title;
136
- $param_values = $row->css;
137
- $border_types = array( 'solid' => 'Solid', 'dotted' => 'Dotted', 'dashed' => 'Dashed', 'double' => 'Double', 'groove' => 'Groove', 'ridge' => 'Ridge', 'inset' => 'Inset', 'outset' => 'Outset', 'initial' => 'Initial', 'inherit' => 'Inherit', 'hidden' => 'Hidden', 'none' => 'None' );
138
- $borders = array('top' => 'Top', 'right' => 'Right', 'bottom' => 'Bottom', 'left' => 'Left' );
139
- $border_values = array('top' => 'BorderTop', 'right' => 'BorderRight', 'bottom' => 'BorderBottom', 'left' => 'BorderLeft' );
140
- $position_types = array('static' => 'Static', 'relative' => 'Relative', 'fixed' => 'Fixed', 'absolute' => 'Absolute' );
141
-
142
- $font_weights = array( 'normal' => 'Normal', 'bold' => 'Bold', 'bolder' => 'Bolder', 'lighter' => 'Lighter', 'initial' => 'Initial' );
143
- $aligns = array( 'left' => 'Left', 'center' => 'Center', 'right' => 'Right' );
144
- $aligns_no_center = array( 'left' => 'Left', 'right' => 'Right' );
145
-
146
- $basic_fonts = array( 'arial' => 'Arial', 'lucida grande' => 'Lucida grande', 'segoe ui' => 'Segoe ui', 'tahoma' => 'Tahoma', 'trebuchet ms' => 'Trebuchet ms', 'verdana' => 'Verdana', 'cursive' =>'Cursive', 'fantasy' => 'Fantasy','monospace' => 'Monospace', 'serif' => 'Serif' );
147
-
148
- $bg_repeats = array( 'repeat' => 'repeat', 'repeat-x' => 'repeat-x', 'repeat-y' => 'repeat-y', 'no-repeat' => 'no-repeat', 'initial' => 'initial', 'inherit' => 'inherit');
149
-
150
- $google_fonts = WDW_FM_Library::get_google_fonts();
151
- $font_families = $basic_fonts + $google_fonts;
152
- $fonts = implode("|", str_replace(' ', '+', $google_fonts));
153
- wp_enqueue_style('fm_googlefonts', 'https://fonts.googleapis.com/css?family=' . $fonts . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic', null, null);
154
-
155
- $tabs = array(
156
- 'global' => 'Global Parameters',
157
- 'header' => 'Header',
158
- 'content' => 'Content',
159
- 'input_select' => 'Inputbox',
160
- 'choices' => 'Choices',
161
- 'subscribe' => 'General Buttons',
162
- 'paigination' => 'Pagination',
163
- 'buttons' => 'Buttons',
164
- 'close_button' => 'Close(Minimize) Button',
165
- 'minimize' => 'Minimize Text',
166
- 'other' => 'Other',
167
- 'custom_css' => 'Custom CSS'
168
- );
169
-
170
- $all_params = array(
171
- 'global' => array(
172
- array (
173
- 'label' => '',
174
- 'type' => 'panel',
175
- 'class' => 'col-md-12',
176
- 'label_class' => '',
177
- 'after' => ''
178
- ),
179
- array (
180
- 'label' => 'Font Family',
181
- 'name' => 'GPFontFamily',
182
- 'type' => 'select',
183
- 'options' => $font_families,
184
- 'class' => '',
185
- 'value' => isset($param_values['GPFontFamily']) ? $param_values['GPFontFamily'] : '',
186
- 'after' => ''
187
- ),
188
- array (
189
- 'label' => 'Width',
190
- 'name' => 'AGPWidth',
191
- 'type' => 'text',
192
- 'class' => '',
193
- 'value' => isset($param_values['AGPWidth']) ? $param_values['AGPWidth'] : '',
194
- 'after' => '%'
195
- ),
196
- array (
197
- 'label' => 'Width (for scrollbox, popup form types)',
198
- 'name' => 'AGPSPWidth',
199
- 'type' => 'text',
200
- 'class' => '',
201
- 'value' => isset($param_values['AGPSPWidth']) ? $param_values['AGPSPWidth'] : '',
202
- 'after' => '%'
203
- ),
204
- array (
205
- 'label' => 'Padding',
206
- 'name' => 'AGPPadding',
207
- 'type' => 'text',
208
- 'class' => '',
209
- 'value' => isset($param_values['AGPPadding']) ? $param_values['AGPPadding'] : '',
210
- 'after' => 'px/%'
211
- ),
212
- array (
213
- 'label' => 'Margin',
214
- 'name' => 'AGPMargin',
215
- 'type' => 'text',
216
- 'class' => '',
217
- 'value' => isset($param_values['AGPMargin']) ? $param_values['AGPMargin'] : '',
218
- 'placeholder' => 'e.g. 5px 10px or 5% 10%',
219
- 'after' => 'px/%'
220
- ),
221
- array (
222
- 'label' => 'Border',
223
- 'name' => 'AGPBorder',
224
- 'type' => 'checkbox',
225
- 'options' => $borders,
226
- 'class' => '',
227
- 'after' => ''
228
- ),
229
- array (
230
- 'label' => 'Border Color',
231
- 'name' => 'AGPBorderColor',
232
- 'type' => 'text',
233
- 'class' => 'color',
234
- 'value' => isset($param_values['AGPBorderColor']) ? $param_values['AGPBorderColor'] : '',
235
- 'after' => ''
236
- ),
237
- array (
238
- 'label' => 'Border Type',
239
- 'name' => 'AGPBorderType',
240
- 'type' => 'select',
241
- 'options' => $border_types,
242
- 'class' => '',
243
- 'value' => isset($param_values['AGPBorderType']) ? $param_values['AGPBorderType'] : '',
244
- 'after' => ''
245
- ),
246
- array (
247
- 'label' => 'Border Width',
248
- 'name' => 'AGPBorderWidth',
249
- 'type' => 'text',
250
- 'class' => '',
251
- 'value' => isset($param_values['AGPBorderWidth']) ? $param_values['AGPBorderWidth'] : '',
252
- 'after' => 'px'
253
- ),
254
- array (
255
- 'label' => 'Border Radius',
256
- 'name' => 'AGPBorderRadius',
257
- 'type' => 'text',
258
- 'class' => '',
259
- 'value' => isset($param_values['AGPBorderRadius']) ? $param_values['AGPBorderRadius'] : '',
260
- 'after' => 'px'
261
- ),
262
- array (
263
- 'label' => 'Box Shadow',
264
- 'name' => 'AGPBoxShadow',
265
- 'type' => 'text',
266
- 'class' => '',
267
- 'value' => isset($param_values['AGPBoxShadow']) ? $param_values['AGPBoxShadow'] : '',
268
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
269
- 'after' => '</div>'
270
- )
271
- ),
272
- 'header' => array(
273
- array (
274
- 'label' => 'General Parameters',
275
- 'type' => 'panel',
276
- 'class' => 'col-md-6',
277
- 'label_class' => 'fm-mini-title',
278
- 'after' => '<br/>'
279
- ),
280
- array (
281
- 'label' => 'Alignment',
282
- 'name' => 'HPAlign',
283
- 'type' => 'select',
284
- 'options' => $borders,
285
- 'class' => '',
286
- 'value' => isset($param_values['HPAlign']) ? $param_values['HPAlign'] : '',
287
- 'after' => ''
288
- ),
289
- array (
290
- 'label' => 'Background Color',
291
- 'name' => 'HPBGColor',
292
- 'type' => 'text',
293
- 'class' => 'color',
294
- 'value' => isset($param_values['HPBGColor']) ? $param_values['HPBGColor'] : '',
295
- 'after' => ''
296
- ),
297
- array (
298
- 'label' => 'Width',
299
- 'name' => 'HPWidth',
300
- 'type' => 'text',
301
- 'class' => '',
302
- 'value' => isset($param_values['HPWidth']) ? $param_values['HPWidth'] : '',
303
- 'after' => '%'
304
- ),
305
- array (
306
- 'label' => 'Width (for topbar form type)',
307
- 'name' => 'HTPWidth',
308
- 'type' => 'text',
309
- 'class' => '',
310
- 'value' => isset($param_values['HTPWidth']) ? $param_values['HTPWidth'] : '',
311
- 'after' => '%'
312
- ),
313
- array (
314
- 'label' => 'Padding',
315
- 'name' => 'HPPadding',
316
- 'type' => 'text',
317
- 'class' => '',
318
- 'value' => isset($param_values['HPPadding']) ? $param_values['HPPadding'] : '',
319
- 'after' => 'px/%'
320
- ),
321
- array (
322
- 'label' => 'Margin',
323
- 'name' => 'HPMargin',
324
- 'type' => 'text',
325
- 'class' => '',
326
- 'value' => isset($param_values['HPMargin']) ? $param_values['HPMargin'] : '',
327
- 'placeholder' => 'e.g. 5px 10px or 5% 10%',
328
- 'after' => 'px/%'
329
- ),
330
- array (
331
- 'label' => 'Text Align',
332
- 'name' => 'HPTextAlign',
333
- 'type' => 'select',
334
- 'options' => $aligns,
335
- 'class' => '',
336
- 'value' => isset($param_values['HPTextAlign']) ? $param_values['HPTextAlign'] : '',
337
- 'after' => ''
338
- ),
339
- array (
340
- 'label' => 'Border',
341
- 'name' => 'HPBorder',
342
- 'type' => 'checkbox',
343
- 'options' => $borders,
344
- 'class' => '',
345
- 'after' => ''
346
- ),
347
- array (
348
- 'label' => 'Border Color',
349
- 'name' => 'HPBorderColor',
350
- 'type' => 'text',
351
- 'class' => 'color',
352
- 'value' => isset($param_values['HPBorderColor']) ? $param_values['HPBorderColor'] : '',
353
- 'after' => ''
354
- ),
355
- array (
356
- 'label' => 'Border Type',
357
- 'name' => 'HPBorderType',
358
- 'type' => 'select',
359
- 'options' => $border_types,
360
- 'class' => '',
361
- 'value' => isset($param_values['HPBorderType']) ? $param_values['HPBorderType'] : '',
362
- 'after' => ''
363
- ),
364
- array (
365
- 'label' => 'Border Width',
366
- 'name' => 'HPBorderWidth',
367
- 'type' => 'text',
368
- 'class' => '',
369
- 'value' => isset($param_values['HPBorderWidth']) ? $param_values['HPBorderWidth'] : '',
370
- 'after' => 'px'
371
- ),
372
- array (
373
- 'label' => 'Border Radius',
374
- 'name' => 'HPBorderRadius',
375
- 'type' => 'text',
376
- 'class' => '',
377
- 'value' => isset($param_values['HPBorderRadius']) ? $param_values['HPBorderRadius'] : '',
378
- 'after' => 'px</div>'
379
- ),
380
- array (
381
- 'label' => 'Title Parameters',
382
- 'type' => 'panel',
383
- 'class' => 'col-md-6',
384
- 'label_class' => 'fm-mini-title',
385
- 'after' => '<br/>'
386
- ),
387
- array (
388
- 'label' => 'Font Size',
389
- 'name' => 'HTPFontSize',
390
- 'type' => 'text',
391
- 'class' => '',
392
- 'value' => isset($param_values['HTPFontSize']) ? $param_values['HTPFontSize'] : '',
393
- 'after' => 'px'
394
- ),
395
- array (
396
- 'label' => 'Font Weight',
397
- 'name' => 'HTPWeight',
398
- 'type' => 'select',
399
- 'options' => $font_weights,
400
- 'class' => '',
401
- 'value' => isset($param_values['HTPWeight']) ? $param_values['HTPWeight'] : '',
402
- 'after' => ''
403
- ),
404
- array (
405
- 'label' => 'Color',
406
- 'name' => 'HTPColor',
407
- 'type' => 'text',
408
- 'class' => 'color',
409
- 'value' => isset($param_values['HTPColor']) ? $param_values['HTPColor'] : '',
410
- 'after' => ''
411
- ),
412
- array (
413
- 'label' => 'Description Parameters',
414
- 'type' => 'label',
415
- 'class' => 'fm-mini-title',
416
- 'after' => '<br/>'
417
- ),
418
- array (
419
- 'label' => 'Font Size',
420
- 'name' => 'HDPFontSize',
421
- 'type' => 'text',
422
- 'class' => '',
423
- 'value' => isset($param_values['HDPFontSize']) ? $param_values['HDPFontSize'] : '',
424
- 'after' => 'px'
425
- ),
426
- array (
427
- 'label' => 'Color',
428
- 'name' => 'HDPColor',
429
- 'type' => 'text',
430
- 'class' => 'color',
431
- 'value' => isset($param_values['HDPColor']) ? $param_values['HDPColor'] : '',
432
- 'after' => ''
433
- ),
434
- array (
435
- 'label' => 'Image Parameters',
436
- 'type' => 'label',
437
- 'class' => 'fm-mini-title',
438
- 'after' => '<br/>'
439
- ),
440
- array (
441
- 'label' => 'Alignment',
442
- 'name' => 'HIPAlign',
443
- 'type' => 'select',
444
- 'options' => $borders,
445
- 'class' => '',
446
- 'value' => isset($param_values['HIPAlign']) ? $param_values['HIPAlign'] : '',
447
- 'after' => 'px'
448
- ),
449
- array (
450
- 'label' => 'Width',
451
- 'name' => 'HIPWidth',
452
- 'type' => 'text',
453
- 'class' => '',
454
- 'value' => isset($param_values['HIPWidth']) ? $param_values['HIPWidth'] : '',
455
- 'after' => 'px'
456
- ),
457
- array (
458
- 'label' => 'Height',
459
- 'name' => 'HIPHeight',
460
- 'type' => 'text',
461
- 'class' => '',
462
- 'value' => isset($param_values['HIPHeight']) ? $param_values['HIPHeight'] : '',
463
- 'after' => 'px</div>'
464
- )
465
- ),
466
- 'content' => array(
467
- array (
468
- 'label' => 'General Parameters',
469
- 'type' => 'panel',
470
- 'class' => 'col-md-6',
471
- 'label_class' => 'fm-mini-title',
472
- 'after' => '<br/>'
473
- ),
474
- array (
475
- 'label' => 'Background Color',
476
- 'name' => 'GPBGColor',
477
- 'type' => 'text',
478
- 'class' => 'color',
479
- 'value' => isset($param_values['GPBGColor']) ? $param_values['GPBGColor'] : '',
480
- 'after' => ''
481
- ),
482
- array (
483
- 'label' => 'Font Size',
484
- 'name' => 'GPFontSize',
485
- 'type' => 'text',
486
- 'class' => '',
487
- 'value' => isset($param_values['GPFontSize']) ? $param_values['GPFontSize'] : '',
488
- 'after' => 'px'
489
- ),
490
- array (
491
- 'label' => 'Font Weight',
492
- 'name' => 'GPFontWeight',
493
- 'type' => 'select',
494
- 'options' => $font_weights,
495
- 'class' => '',
496
- 'value' => isset($param_values['GPFontWeight']) ? $param_values['GPFontWeight'] : '',
497
- 'after' => ''
498
- ),
499
- array (
500
- 'label' => 'Width',
501
- 'name' => 'GPWidth',
502
- 'type' => 'text',
503
- 'class' => '',
504
- 'value' => isset($param_values['GPWidth']) ? $param_values['GPWidth'] : '',
505
- 'after' => '%'
506
- ),
507
- array (
508
- 'label' => 'Width (for topbar form type)',
509
- 'name' => 'GTPWidth',
510
- 'type' => 'text',
511
- 'class' => '',
512
- 'value' => isset($param_values['GTPWidth']) ? $param_values['GTPWidth'] : '',
513
- 'after' => '%'
514
- ),
515
- array (
516
- 'label' => 'Alignment',
517
- 'name' => 'GPAlign',
518
- 'type' => 'select',
519
- 'options' => $aligns,
520
- 'class' => '',
521
- 'value' => isset($param_values['GPAlign']) ? $param_values['GPAlign'] : '',
522
- 'after' => ''
523
- ),
524
- array (
525
- 'label' => 'Background URL',
526
- 'name' => 'GPBackground',
527
- 'type' => 'text',
528
- 'class' => '',
529
- 'value' => isset($param_values['GPBackground']) ? $param_values['GPBackground'] : '',
530
- 'after' => ''
531
- ),
532
- array (
533
- 'label' => 'Background Repeat',
534
- 'name' => 'GPBackgroundRepeat',
535
- 'type' => 'select',
536
- 'options' => $bg_repeats,
537
- 'class' => '',
538
- 'value' => isset($param_values['GPBackgroundRepeat']) ? $param_values['GPBackgroundRepeat'] : '',
539
- 'after' => ''
540
- ),
541
- array (
542
- 'label' => 'Background Position',
543
- 'name1' => 'GPBGPosition1',
544
- 'name2' => 'GPBGPosition2',
545
- 'type' => '2text',
546
- 'class' => 'fm-2text',
547
- 'value1' => isset($param_values['GPBGPosition1']) ? $param_values['GPBGPosition1'] : '',
548
- 'value2' => isset($param_values['GPBGPosition2']) ? $param_values['GPBGPosition2'] : '',
549
- 'before1' => '',
550
- 'before2' => '',
551
- 'after' => '%/left..'
552
- ),
553
- array (
554
- 'label' => 'Background Size',
555
- 'name1' => 'GPBGSize1',
556
- 'name2' => 'GPBGSize2',
557
- 'type' => '2text',
558
- 'class' => 'fm-2text',
559
- 'value1' => isset($param_values['GPBGSize1']) ? $param_values['GPBGSize1'] : '',
560
- 'value2' => isset($param_values['GPBGSize2']) ? $param_values['GPBGSize2'] : '',
561
- 'before1' => '',
562
- 'before2' => '',
563
- 'after' => '%/px'
564
- ),
565
- array (
566
- 'label' => 'Color',
567
- 'name' => 'GPColor',
568
- 'type' => 'text',
569
- 'class' => 'color',
570
- 'value' => isset($param_values['GPColor']) ? $param_values['GPColor'] : '',
571
- 'after' => ''
572
- ),
573
- array (
574
- 'label' => 'Padding',
575
- 'name' => 'GPPadding',
576
- 'type' => 'text',
577
- 'class' => '',
578
- 'value' => isset($param_values['GPPadding']) ? $param_values['GPPadding'] : '',
579
- 'after' => 'px/%'
580
- ),
581
- array (
582
- 'label' => 'Margin',
583
- 'name' => 'GPMargin',
584
- 'type' => 'text',
585
- 'class' => '',
586
- 'value' => isset($param_values['GPMargin']) ? $param_values['GPMargin'] : '',
587
- 'placeholder' => 'e.g. 5px 10px or 5% 10%',
588
- 'after' => 'px/%'
589
- ),
590
- array (
591
- 'label' => 'Border',
592
- 'name' => 'GPBorder',
593
- 'type' => 'checkbox',
594
- 'options' => $borders,
595
- 'class' => '',
596
- 'after' => ''
597
- ),
598
- array (
599
- 'label' => 'Border Color',
600
- 'name' => 'GPBorderColor',
601
- 'type' => 'text',
602
- 'class' => 'color',
603
- 'value' => isset($param_values['GPBorderColor']) ? $param_values['GPBorderColor'] : '',
604
- 'after' => ''
605
- ),
606
- array (
607
- 'label' => 'Border Type',
608
- 'name' => 'GPBorderType',
609
- 'type' => 'select',
610
- 'options' => $border_types,
611
- 'class' => '',
612
- 'value' => isset($param_values['GPBorderType']) ? $param_values['GPBorderType'] : '',
613
- 'after' => ''
614
- ),
615
- array (
616
- 'label' => 'Border Width',
617
- 'name' => 'GPBorderWidth',
618
- 'type' => 'text',
619
- 'class' => '',
620
- 'value' => isset($param_values['GPBorderWidth']) ? $param_values['GPBorderWidth'] : '',
621
- 'after' => 'px'
622
- ),
623
- array (
624
- 'label' => 'Border Radius',
625
- 'name' => 'GPBorderRadius',
626
- 'type' => 'text',
627
- 'class' => '',
628
- 'value' => isset($param_values['GPBorderRadius']) ? $param_values['GPBorderRadius'] : '',
629
- 'after' => 'px</div>'
630
- ),
631
- array (
632
- 'label' => 'Mini labels (name, phone, address, checkbox, radio) Parameters',
633
- 'type' => 'panel',
634
- 'class' => 'col-md-6',
635
- 'label_class' => 'fm-mini-title',
636
- 'after' => '<br/>'
637
- ),
638
- array (
639
- 'label' => 'Font Size',
640
- 'name' => 'GPMLFontSize',
641
- 'type' => 'text',
642
- 'class' => '',
643
- 'value' => isset($param_values['GPMLFontSize']) ? $param_values['GPMLFontSize'] : '',
644
- 'after' => 'px'
645
- ),
646
- array (
647
- 'label' => 'Font Weight',
648
- 'name' => 'GPMLFontWeight',
649
- 'type' => 'select',
650
- 'options' => $font_weights,
651
- 'class' => '',
652
- 'value' => isset($param_values['GPMLFontWeight']) ? $param_values['GPMLFontWeight'] : '',
653
- 'after' => ''
654
- ),
655
- array (
656
- 'label' => 'Color',
657
- 'name' => 'GPMLColor',
658
- 'type' => 'text',
659
- 'class' => 'color',
660
- 'value' => isset($param_values['GPMLColor']) ? $param_values['GPMLColor'] : '',
661
- 'after' => ''
662
- ),
663
- array (
664
- 'label' => 'Padding',
665
- 'name' => 'GPMLPadding',
666
- 'type' => 'text',
667
- 'class' => '',
668
- 'value' => isset($param_values['GPMLPadding']) ? $param_values['GPMLPadding'] : '',
669
- 'after' => 'px/%'
670
- ),
671
- array (
672
- 'label' => 'Margin',
673
- 'name' => 'GPMLMargin',
674
- 'type' => 'text',
675
- 'class' => '',
676
- 'value' => isset($param_values['GPMLMargin']) ? $param_values['GPMLMargin'] : '',
677
- 'after' => 'px/%'
678
- ),
679
- array (
680
- 'label' => 'Section Parameters',
681
- 'type' => 'label',
682
- 'class' => 'fm-mini-title',
683
- 'after' => '<br/>'
684
- ),
685
- array (
686
- 'label' => 'Background Color',
687
- 'name' => 'SEPBGColor',
688
- 'type' => 'text',
689
- 'class' => 'color',
690
- 'value' => isset($param_values['SEPBGColor']) ? $param_values['SEPBGColor'] : '',
691
- 'after' => ''
692
- ),
693
- array (
694
- 'label' => 'Padding',
695
- 'name' => 'SEPPadding',
696
- 'type' => 'text',
697
- 'class' => '',
698
- 'value' => isset($param_values['SEPPadding']) ? $param_values['SEPPadding'] : '',
699
- 'after' => 'px/%'
700
- ),
701
- array (
702
- 'label' => 'Margin',
703
- 'name' => 'SEPMargin',
704
- 'type' => 'text',
705
- 'class' => '',
706
- 'value' => isset($param_values['SEPMargin']) ? $param_values['SEPMargin'] : '',
707
- 'after' => 'px/%'
708
- ),
709
- array (
710
- 'label' => 'Section Column Parameters',
711
- 'type' => 'label',
712
- 'class' => 'fm-mini-title',
713
- 'after' => '<br/>'
714
- ),
715
- array (
716
- 'label' => 'Padding',
717
- 'name' => 'COPPadding',
718
- 'type' => 'text',
719
- 'class' => '',
720
- 'value' => isset($param_values['COPPadding']) ? $param_values['COPPadding'] : '',
721
- 'after' => 'px/%'
722
- ),
723
- array (
724
- 'label' => 'Margin',
725
- 'name' => 'COPMargin',
726
- 'type' => 'text',
727
- 'class' => '',
728
- 'value' => isset($param_values['COPMargin']) ? $param_values['COPMargin'] : '',
729
- 'after' => 'px/%'
730
- ),
731
- array (
732
- 'label' => 'Footer Parameters',
733
- 'type' => 'label',
734
- 'class' => 'fm-mini-title',
735
- 'after' => '<br/>'
736
- ),
737
- array (
738
- 'label' => 'Width',
739
- 'name' => 'FPWidth',
740
- 'type' => 'text',
741
- 'class' => '',
742
- 'value' => isset($param_values['FPWidth']) ? $param_values['FPWidth'] : '',
743
- 'after' => '%'
744
- ),
745
- array (
746
- 'label' => 'Padding',
747
- 'name' => 'FPPadding',
748
- 'type' => 'text',
749
- 'class' => '',
750
- 'value' => isset($param_values['FPPadding']) ? $param_values['FPPadding'] : '',
751
- 'after' => 'px/%'
752
- ),
753
- array (
754
- 'label' => 'Margin',
755
- 'name' => 'FPMargin',
756
- 'type' => 'text',
757
- 'class' => '',
758
- 'value' => isset($param_values['FPMargin']) ? $param_values['FPMargin'] : '',
759
- 'after' => 'px/%</div>'
760
- )
761
- ),
762
- 'input_select' => array(
763
- array (
764
- 'label' => '',
765
- 'type' => 'panel',
766
- 'class' => 'col-md-12',
767
- 'label_class' => '',
768
- 'after' => ''
769
- ),
770
- array (
771
- 'label' => 'Height',
772
- 'name' => 'IPHeight',
773
- 'type' => 'text',
774
- 'class' => '',
775
- 'value' => isset($param_values['IPHeight']) ? $param_values['IPHeight'] : '',
776
- 'after' => 'px'
777
- ),
778
- array (
779
- 'label' => 'Font Size',
780
- 'name' => 'IPFontSize',
781
- 'type' => 'text',
782
- 'class' => '',
783
- 'value' => isset($param_values['IPFontSize']) ? $param_values['IPFontSize'] : '',
784
- 'after' => 'px'
785
- ),
786
- array (
787
- 'label' => 'Font Weight',
788
- 'name' => 'IPFontWeight',
789
- 'type' => 'select',
790
- 'options' => $font_weights,
791
- 'class' => '',
792
- 'value' => isset($param_values['IPFontWeight']) ? $param_values['IPFontWeight'] : '',
793
- 'after' => ''
794
- ),
795
- array (
796
- 'label' => 'Background Color',
797
- 'name' => 'IPBGColor',
798
- 'type' => 'text',
799
- 'class' => 'color',
800
- 'value' => isset($param_values['IPBGColor']) ? $param_values['IPBGColor'] : '',
801
- 'after' => ''
802
- ),
803
- array (
804
- 'label' => 'Color',
805
- 'name' => 'IPColor',
806
- 'type' => 'text',
807
- 'class' => 'color',
808
- 'value' => isset($param_values['IPColor']) ? $param_values['IPColor'] : '',
809
- 'after' => ''
810
- ),
811
- array (
812
- 'label' => 'Padding',
813
- 'name' => 'IPPadding',
814
- 'type' => 'text',
815
- 'class' => '',
816
- 'value' => isset($param_values['IPPadding']) ? $param_values['IPPadding'] : '',
817
- 'after' => 'px/%'
818
- ),
819
- array (
820
- 'label' => 'Margin',
821
- 'name' => 'IPMargin',
822
- 'type' => 'text',
823
- 'class' => '',
824
- 'value' => isset($param_values['IPMargin']) ? $param_values['IPMargin'] : '',
825
- 'after' => 'px/%'
826
- ),
827
- array (
828
- 'label' => 'Border',
829
- 'name' => 'IPBorder',
830
- 'type' => 'checkbox',
831
- 'options' => $borders,
832
- 'class' => '',
833
- 'after' => ''
834
- ),
835
- array (
836
- 'label' => 'Border Color',
837
- 'name' => 'IPBorderColor',
838
- 'type' => 'text',
839
- 'class' => 'color',
840
- 'value' => isset($param_values['IPBorderColor']) ? $param_values['IPBorderColor'] : '',
841
- 'after' => ''
842
- ),
843
- array (
844
- 'label' => 'Border Type',
845
- 'name' => 'IPBorderType',
846
- 'type' => 'select',
847
- 'options' => $border_types,
848
- 'class' => '',
849
- 'value' => isset($param_values['IPBorderType']) ? $param_values['IPBorderType'] : '',
850
- 'after' => ''
851
- ),
852
- array (
853
- 'label' => 'Border Width',
854
- 'name' => 'IPBorderWidth',
855
- 'type' => 'text',
856
- 'class' => '',
857
- 'value' => isset($param_values['IPBorderWidth']) ? $param_values['IPBorderWidth'] : '',
858
- 'after' => 'px'
859
- ),
860
- array (
861
- 'label' => 'Border Radius',
862
- 'name' => 'IPBorderRadius',
863
- 'type' => 'text',
864
- 'class' => '',
865
- 'value' => isset($param_values['IPBorderRadius']) ? $param_values['IPBorderRadius'] : '',
866
- 'after' => 'px'
867
- ),
868
- array (
869
- 'label' => 'Box Shadow',
870
- 'name' => 'IPBoxShadow',
871
- 'type' => 'text',
872
- 'class' => '',
873
- 'value' => isset($param_values['IPBoxShadow']) ? $param_values['IPBoxShadow'] : '',
874
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
875
- 'after' => '</div>'
876
- ),
877
- array (
878
- 'label' => 'Dropdown additional',
879
- 'type' => 'panel',
880
- 'class' => 'col-md-12',
881
- 'label_class' => 'fm-mini-title',
882
- 'after' => '<br/>'
883
- ),
884
- array (
885
- 'label' => 'Appearance',
886
- 'name' => 'SBPAppearance',
887
- 'type' => 'text',
888
- 'class' => '',
889
- 'value' => isset($param_values['SBPAppearance']) ? $param_values['SBPAppearance'] : '',
890
- 'after' => ''
891
- ),
892
- array (
893
- 'label' => 'Background URL',
894
- 'name' => 'SBPBackground',
895
- 'type' => 'text',
896
- 'class' => '',
897
- 'value' => isset($param_values['SBPBackground']) ? $param_values['SBPBackground'] : '',
898
- 'after' => ''
899
- ),
900
- array (
901
- 'label' => 'Background Repeat',
902
- 'name' => 'SBPBGRepeat',
903
- 'type' => 'select',
904
- 'options' => $bg_repeats,
905
- 'class' => '',
906
- 'value' => isset($param_values['SBPBGRepeat']) ? $param_values['SBPBGRepeat'] : '',
907
- 'after' => ''
908
- ),
909
- array (
910
- 'label' => 'Background Position',
911
- 'name1' => 'SBPBGPos1',
912
- 'name2' => 'SBPBGPos2',
913
- 'type' => '2text',
914
- 'class' => 'fm-2text',
915
- 'value1' => isset($param_values['SBPBGPos1']) ? $param_values['SBPBGPos1'] : '',
916
- 'value2' => isset($param_values['SBPBGPos2']) ? $param_values['SBPBGPos2'] : '',
917
- 'before1' => '',
918
- 'before2' => '',
919
- 'after' => '%/left..'
920
- ),
921
- array (
922
- 'label' => 'Background Size',
923
- 'name1' => 'SBPBGSize1',
924
- 'name2' => 'SBPBGSize2',
925
- 'type' => '2text',
926
- 'class' => 'fm-2text',
927
- 'value1' => isset($param_values['SBPBGSize1']) ? $param_values['SBPBGSize1'] : '',
928
- 'value2' => isset($param_values['SBPBGSize2']) ? $param_values['SBPBGSize2'] : '',
929
- 'before1' => '',
930
- 'before2' => '',
931
- 'after' => '%/px'
932
- ),
933
- array (
934
- 'label' => '',
935
- 'type' => 'label',
936
- 'class' => '',
937
- 'after' => '</div>'
938
- )
939
- ),
940
- 'choices' => array(
941
- array (
942
- 'label' => 'Single Choice',
943
- 'type' => 'panel',
944
- 'class' => 'col-md-6',
945
- 'label_class' => 'fm-mini-title',
946
- 'after' => '<br/>'
947
- ),
948
- array (
949
- 'label' => 'Input Parameters',
950
- 'type' => 'label',
951
- 'class' => 'fm-mini-title',
952
- 'after' => '<br/>'
953
- ),
954
- array (
955
- 'label' => 'Background Color',
956
- 'name' => 'SCPBGColor',
957
- 'type' => 'text',
958
- 'class' => 'color',
959
- 'value' => isset($param_values['SCPBGColor']) ? $param_values['SCPBGColor'] : '',
960
- 'after' => ''
961
- ),
962
- array (
963
- 'label' => 'Width',
964
- 'name' => 'SCPWidth',
965
- 'type' => 'text',
966
- 'class' => '',
967
- 'value' => isset($param_values['SCPWidth']) ? $param_values['SCPWidth'] : '',
968
- 'after' => 'px'
969
- ),
970
- array (
971
- 'label' => 'Height',
972
- 'name' => 'SCPHeight',
973
- 'type' => 'text',
974
- 'class' => '',
975
- 'value' => isset($param_values['SCPHeight']) ? $param_values['SCPHeight'] : '',
976
- 'after' => 'px'
977
- ),
978
- array (
979
- 'label' => 'Border',
980
- 'name' => 'SCPBorder',
981
- 'type' => 'checkbox',
982
- 'options' => $borders,
983
- 'class' => '',
984
- 'after' => ''
985
- ),
986
- array (
987
- 'label' => 'Border Color',
988
- 'name' => 'SCPBorderColor',
989
- 'type' => 'text',
990
- 'class' => 'color',
991
- 'value' => isset($param_values['SCPBorderColor']) ? $param_values['SCPBorderColor'] : '',
992
- 'after' => ''
993
- ),
994
- array (
995
- 'label' => 'Border Type',
996
- 'name' => 'SCPBorderType',
997
- 'type' => 'select',
998
- 'options' => $border_types,
999
- 'class' => '',
1000
- 'value' => isset($param_values['SCPBorderType']) ? $param_values['SCPBorderType'] : '',
1001
- 'after' => ''
1002
- ),
1003
- array (
1004
- 'label' => 'Border Width',
1005
- 'name' => 'SCPBorderWidth',
1006
- 'type' => 'text',
1007
- 'class' => '',
1008
- 'value' => isset($param_values['SCPBorderWidth']) ? $param_values['SCPBorderWidth'] : '',
1009
- 'after' => 'px'
1010
- ),
1011
- array (
1012
- 'label' => 'Margin',
1013
- 'name' => 'SCPMargin',
1014
- 'type' => 'text',
1015
- 'class' => '5px',
1016
- 'value' => isset($param_values['SCPMargin']) ? $param_values['SCPMargin'] : '',
1017
- 'after' => ''
1018
- ),
1019
- array (
1020
- 'label' => 'Border Radius',
1021
- 'name' => 'SCPBorderRadius',
1022
- 'type' => 'text',
1023
- 'class' => '',
1024
- 'value' => isset($param_values['SCPBorderRadius']) ? $param_values['SCPBorderRadius'] : '',
1025
- 'after' => 'px'
1026
- ),
1027
- array (
1028
- 'label' => 'Box Shadow',
1029
- 'name' => 'SCPBoxShadow',
1030
- 'type' => 'text',
1031
- 'class' => '',
1032
- 'value' => isset($param_values['SCPBoxShadow']) ? $param_values['SCPBoxShadow'] : '',
1033
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
1034
- 'after' => ''
1035
- ),
1036
- array (
1037
- 'label' => 'Checked Parameters',
1038
- 'type' => 'label',
1039
- 'class' => 'fm-mini-title',
1040
- 'after' => '<br/>'
1041
- ),
1042
- array (
1043
- 'label' => 'Background Color',
1044
- 'name' => 'SCCPBGColor',
1045
- 'type' => 'text',
1046
- 'class' => 'color',
1047
- 'value' => isset($param_values['SCCPBGColor']) ? $param_values['SCCPBGColor'] : '',
1048
- 'after' => ''
1049
- ),
1050
- array (
1051
- 'label' => 'Width',
1052
- 'name' => 'SCCPWidth',
1053
- 'type' => 'text',
1054
- 'class' => '',
1055
- 'value' => isset($param_values['SCCPWidth']) ? $param_values['SCCPWidth'] : '',
1056
- 'after' => 'px'
1057
- ),
1058
- array (
1059
- 'label' => 'Height',
1060
- 'name' => 'SCCPHeight',
1061
- 'type' => 'text',
1062
- 'class' => '',
1063
- 'value' => isset($param_values['SCCPHeight']) ? $param_values['SCCPHeight'] : '',
1064
- 'after' => 'px'
1065
- ),
1066
- array (
1067
- 'label' => 'Margin',
1068
- 'name' => 'SCCPMargin',
1069
- 'type' => 'text',
1070
- 'class' => '',
1071
- 'value' => isset($param_values['SCCPMargin']) ? $param_values['SCCPMargin'] : '',
1072
- 'after' => ''
1073
- ),
1074
- array (
1075
- 'label' => 'Border Radius',
1076
- 'name' => 'SCCPBorderRadius',
1077
- 'type' => 'text',
1078
- 'class' => '',
1079
- 'value' => isset($param_values['SCCPBorderRadius']) ? $param_values['SCCPBorderRadius'] : '',
1080
- 'after' => 'px</div>'
1081
- ),
1082
- array (
1083
- 'label' => 'Multiple Choice',
1084
- 'type' => 'panel',
1085
- 'class' => 'col-md-6',
1086
- 'label_class' => 'fm-mini-title',
1087
- 'after' => '<br/>'
1088
- ),
1089
- array (
1090
- 'label' => 'Input Parameters',
1091
- 'type' => 'label',
1092
- 'class' => 'fm-mini-title',
1093
- 'after' => '<br/>'
1094
- ),
1095
- array (
1096
- 'label' => 'Background Color',
1097
- 'name' => 'MCPBGColor',
1098
- 'type' => 'text',
1099
- 'class' => 'color',
1100
- 'value' => isset($param_values['MCPBGColor']) ? $param_values['MCPBGColor'] : '',
1101
- 'after' => ''
1102
- ),
1103
- array (
1104
- 'label' => 'Width',
1105
- 'name' => 'MCPWidth',
1106
- 'type' => 'text',
1107
- 'class' => '',
1108
- 'value' => isset($param_values['MCPWidth']) ? $param_values['MCPWidth'] : '',
1109
- 'after' => 'px'
1110
- ),
1111
- array (
1112
- 'label' => 'Height',
1113
- 'name' => 'MCPHeight',
1114
- 'type' => 'text',
1115
- 'class' => '',
1116
- 'value' => isset($param_values['MCPHeight']) ? $param_values['MCPHeight'] : '',
1117
- 'after' => 'px'
1118
- ),
1119
- array (
1120
- 'label' => 'Border',
1121
- 'name' => 'MCPBorder',
1122
- 'type' => 'checkbox',
1123
- 'options' => $borders,
1124
- 'class' => '',
1125
- 'after' => ''
1126
- ),
1127
- array (
1128
- 'label' => 'Border Color',
1129
- 'name' => 'MCPBorderColor',
1130
- 'type' => 'text',
1131
- 'class' => 'color',
1132
- 'value' => isset($param_values['MCPBorderColor']) ? $param_values['MCPBorderColor'] : '',
1133
- 'after' => ''
1134
- ),
1135
- array (
1136
- 'label' => 'Border Type',
1137
- 'name' => 'MCPBorderType',
1138
- 'type' => 'select',
1139
- 'options' => $border_types,
1140
- 'class' => '',
1141
- 'value' => isset($param_values['MCPBorderType']) ? $param_values['MCPBorderType'] : '',
1142
- 'after' => ''
1143
- ),
1144
- array (
1145
- 'label' => 'Border Width',
1146
- 'name' => 'MCPBorderWidth',
1147
- 'type' => 'text',
1148
- 'class' => '',
1149
- 'value' => isset($param_values['MCPBorderWidth']) ? $param_values['MCPBorderWidth'] : '',
1150
- 'after' => 'px'
1151
- ),
1152
- array (
1153
- 'label' => 'Margin',
1154
- 'name' => 'MCPMargin',
1155
- 'type' => 'text',
1156
- 'class' => '5px',
1157
- 'value' => isset($param_values['MCPMargin']) ? $param_values['MCPMargin'] : '',
1158
- 'after' => ''
1159
- ),
1160
- array (
1161
- 'label' => 'Border Radius',
1162
- 'name' => 'MCPBorderRadius',
1163
- 'type' => 'text',
1164
- 'class' => '',
1165
- 'value' => isset($param_values['MCPBorderRadius']) ? $param_values['MCPBorderRadius'] : '',
1166
- 'after' => 'px'
1167
- ),
1168
- array (
1169
- 'label' => 'Box Shadow',
1170
- 'name' => 'MCPBoxShadow',
1171
- 'type' => 'text',
1172
- 'class' => '',
1173
- 'value' => isset($param_values['MCPBoxShadow']) ? $param_values['MCPBoxShadow'] : '',
1174
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
1175
- 'after' => ''
1176
- ),
1177
- array (
1178
- 'label' => 'Checked Parameters',
1179
- 'type' => 'label',
1180
- 'class' => 'fm-mini-title',
1181
- 'after' => '<br/>'
1182
- ),
1183
- array (
1184
- 'label' => 'Background Color',
1185
- 'name' => 'MCCPBGColor',
1186
- 'type' => 'text',
1187
- 'class' => 'color',
1188
- 'value' => isset($param_values['MCCPBGColor']) ? $param_values['MCCPBGColor'] : '',
1189
- 'after' => ''
1190
- ),
1191
- array (
1192
- 'label' => 'Background URL',
1193
- 'name' => 'MCCPBackground',
1194
- 'type' => 'text',
1195
- 'class' => '',
1196
- 'value' => isset($param_values['MCCPBackground']) ? $param_values['MCCPBackground'] : '',
1197
- 'after' => ''
1198
- ),
1199
- array (
1200
- 'label' => 'Background Repeat',
1201
- 'name' => 'MCCPBGRepeat',
1202
- 'type' => 'select',
1203
- 'options' => $bg_repeats,
1204
- 'class' => '',
1205
- 'value' => isset($param_values['MCCPBGRepeat']) ? $param_values['MCCPBGRepeat'] : '',
1206
- 'after' => ''
1207
- ),
1208
- array (
1209
- 'label' => 'Background Position',
1210
- 'name1' => 'MCCPBGPos1',
1211
- 'name2' => 'MCCPBGPos2',
1212
- 'type' => '2text',
1213
- 'class' => 'fm-2text',
1214
- 'value1' => isset($param_values['MCCPBGPos1']) ? $param_values['MCCPBGPos1'] : '',
1215
- 'value2' => isset($param_values['MCCPBGPos2']) ? $param_values['MCCPBGPos2'] : '',
1216
- 'before1' => '',
1217
- 'before2' => '',
1218
- 'after' => '%/left..'
1219
- ),
1220
- array (
1221
- 'label' => 'Width',
1222
- 'name' => 'MCCPWidth',
1223
- 'type' => 'text',
1224
- 'class' => '',
1225
- 'value' => isset($param_values['MCCPWidth']) ? $param_values['MCCPWidth'] : '',
1226
- 'after' => 'px'
1227
- ),
1228
- array (
1229
- 'label' => 'Height',
1230
- 'name' => 'MCCPHeight',
1231
- 'type' => 'text',
1232
- 'class' => '',
1233
- 'value' => isset($param_values['MCCPHeight']) ? $param_values['MCCPHeight'] : '',
1234
- 'after' => 'px'
1235
- ),
1236
- array (
1237
- 'label' => 'Margin',
1238
- 'name' => 'MCCPMargin',
1239
- 'type' => 'text',
1240
- 'class' => '',
1241
- 'value' => isset($param_values['MCCPMargin']) ? $param_values['MCCPMargin'] : '',
1242
- 'after' => ''
1243
- ),
1244
- array (
1245
- 'label' => 'Border Radius',
1246
- 'name' => 'MCCPBorderRadius',
1247
- 'type' => 'text',
1248
- 'class' => '',
1249
- 'value' => isset($param_values['MCCPBorderRadius']) ? $param_values['MCCPBorderRadius'] : '',
1250
- 'after' => 'px</div>'
1251
- )
1252
- ),
1253
- 'subscribe' => array(
1254
- array (
1255
- 'label' => 'Global Parameters',
1256
- 'type' => 'panel',
1257
- 'class' => 'col-md-12',
1258
- 'label_class' => 'fm-mini-title',
1259
- 'after' => '<br/>'
1260
- ),
1261
- array (
1262
- 'label' => 'Alignment',
1263
- 'name' => 'SPAlign',
1264
- 'type' => 'select',
1265
- 'options' => $aligns_no_center,
1266
- 'class' => '',
1267
- 'value' => isset($param_values['SPAlign']) ? $param_values['SPAlign'] : '',
1268
- 'after' => '</div>'
1269
- ),
1270
- array (
1271
- 'label' => 'Submit',
1272
- 'type' => 'panel',
1273
- 'class' => 'col-md-6',
1274
- 'label_class' => 'fm-mini-title',
1275
- 'after' => '<br/>'
1276
- ),
1277
- array (
1278
- 'label' => 'Background Color',
1279
- 'name' => 'SPBGColor',
1280
- 'type' => 'text',
1281
- 'class' => 'color',
1282
- 'value' => isset($param_values['SPBGColor']) ? $param_values['SPBGColor'] : '',
1283
- 'after' => ''
1284
- ),
1285
- array (
1286
- 'label' => 'Width',
1287
- 'name' => 'SPWidth',
1288
- 'type' => 'text',
1289
- 'class' => '',
1290
- 'value' => isset($param_values['SPWidth']) ? $param_values['SPWidth'] : '',
1291
- 'after' => 'px'
1292
- ),
1293
- array (
1294
- 'label' => 'Height',
1295
- 'name' => 'SPHeight',
1296
- 'type' => 'text',
1297
- 'class' => '',
1298
- 'value' => isset($param_values['SPHeight']) ? $param_values['SPHeight'] : '',
1299
- 'after' => 'px'
1300
- ),
1301
- array (
1302
- 'label' => 'Font Size',
1303
- 'name' => 'SPFontSize',
1304
- 'type' => 'text',
1305
- 'class' => '',
1306
- 'value' => isset($param_values['SPFontSize']) ? $param_values['SPFontSize'] : '',
1307
- 'after' => 'px'
1308
- ),
1309
- array (
1310
- 'label' => 'Font Weight',
1311
- 'name' => 'SPFontWeight',
1312
- 'type' => 'select',
1313
- 'options' => $font_weights,
1314
- 'class' => '',
1315
- 'value' => isset($param_values['SPFontWeight']) ? $param_values['SPFontWeight'] : '',
1316
- 'after' => ''
1317
- ),
1318
- array (
1319
- 'label' => 'Color',
1320
- 'name' => 'SPColor',
1321
- 'type' => 'text',
1322
- 'class' => 'color',
1323
- 'value' => isset($param_values['SPColor']) ? $param_values['SPColor'] : '',
1324
- 'after' => ''
1325
- ),
1326
- array (
1327
- 'label' => 'Padding',
1328
- 'name' => 'SPPadding',
1329
- 'type' => 'text',
1330
- 'class' => '',
1331
- 'value' => isset($param_values['SPPadding']) ? $param_values['SPPadding'] : '',
1332
- 'after' => 'px/%'
1333
- ),
1334
- array (
1335
- 'label' => 'Margin',
1336
- 'name' => 'SPMargin',
1337
- 'type' => 'text',
1338
- 'class' => '',
1339
- 'value' => isset($param_values['SPMargin']) ? $param_values['SPMargin'] : '',
1340
- 'after' => 'px/%'
1341
- ),
1342
- array (
1343
- 'label' => 'Border',
1344
- 'name' => 'SPBorder',
1345
- 'type' => 'checkbox',
1346
- 'options' => $borders,
1347
- 'class' => '',
1348
- 'after' => ''
1349
- ),
1350
- array (
1351
- 'label' => 'Border Color',
1352
- 'name' => 'SPBorderColor',
1353
- 'type' => 'text',
1354
- 'class' => 'color',
1355
- 'value' => isset($param_values['SPBorderColor']) ? $param_values['SPBorderColor'] : '',
1356
- 'after' => ''
1357
- ),
1358
- array (
1359
- 'label' => 'Border Type',
1360
- 'name' => 'SPBorderType',
1361
- 'type' => 'select',
1362
- 'options' => $border_types,
1363
- 'class' => '',
1364
- 'value' => isset($param_values['SPBorderType']) ? $param_values['SPBorderType'] : '',
1365
- 'after' => ''
1366
- ),
1367
- array (
1368
- 'label' => 'Border Width',
1369
- 'name' => 'SPBorderWidth',
1370
- 'type' => 'text',
1371
- 'class' => '',
1372
- 'value' => isset($param_values['SPBorderWidth']) ? $param_values['SPBorderWidth'] : '',
1373
- 'after' => 'px'
1374
- ),
1375
- array (
1376
- 'label' => 'Border Radius',
1377
- 'name' => 'SPBorderRadius',
1378
- 'type' => 'text',
1379
- 'class' => '',
1380
- 'value' => isset($param_values['SPBorderRadius']) ? $param_values['SPBorderRadius'] : '',
1381
- 'after' => 'px'
1382
- ),
1383
- array (
1384
- 'label' => 'Box Shadow',
1385
- 'name' => 'SPBoxShadow',
1386
- 'type' => 'text',
1387
- 'class' => '',
1388
- 'value' => isset($param_values['SPBoxShadow']) ? $param_values['SPBoxShadow'] : '',
1389
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
1390
- 'after' => ''
1391
- ),
1392
- array (
1393
- 'label' => 'Hover Parameters',
1394
- 'type' => 'label',
1395
- 'class' => 'fm-mini-title',
1396
- 'after' => '<br/>'
1397
- ),
1398
- array (
1399
- 'label' => 'Background Color',
1400
- 'name' => 'SHPBGColor',
1401
- 'type' => 'text',
1402
- 'class' => 'color',
1403
- 'value' => isset($param_values['SHPBGColor']) ? $param_values['SHPBGColor'] : '',
1404
- 'after' => ''
1405
- ),
1406
- array (
1407
- 'label' => 'Color',
1408
- 'name' => 'SHPColor',
1409
- 'type' => 'text',
1410
- 'class' => 'color',
1411
- 'value' => isset($param_values['SHPColor']) ? $param_values['SHPColor'] : '',
1412
- 'after' => ''
1413
- ),
1414
- array (
1415
- 'label' => 'Border',
1416
- 'name' => 'SHPBorder',
1417
- 'type' => 'checkbox',
1418
- 'options' => $borders,
1419
- 'class' => '',
1420
- 'after' => ''
1421
- ),
1422
- array (
1423
- 'label' => 'Border Color',
1424
- 'name' => 'SHPBorderColor',
1425
- 'type' => 'text',
1426
- 'class' => 'color',
1427
- 'value' => isset($param_values['SHPBorderColor']) ? $param_values['SHPBorderColor'] : '',
1428
- 'after' => ''
1429
- ),
1430
- array (
1431
- 'label' => 'Border Type',
1432
- 'name' => 'SHPBorderType',
1433
- 'type' => 'select',
1434
- 'options' => $border_types,
1435
- 'class' => '',
1436
- 'value' => isset($param_values['SHPBorderType']) ? $param_values['SHPBorderType'] : '',
1437
- 'after' => ''
1438
- ),
1439
- array (
1440
- 'label' => 'Border Width',
1441
- 'name' => 'SHPBorderWidth',
1442
- 'type' => 'text',
1443
- 'class' => '',
1444
- 'value' => isset($param_values['SHPBorderWidth']) ? $param_values['SHPBorderWidth'] : '',
1445
- 'after' => 'px</div>'
1446
- ),
1447
- array (
1448
- 'label' => 'Reset',
1449
- 'type' => 'panel',
1450
- 'class' => 'col-md-6',
1451
- 'label_class' => 'fm-mini-title',
1452
- 'after' => '<br/>'
1453
- ),
1454
- array (
1455
- 'label' => 'Background Color',
1456
- 'name' => 'BPBGColor',
1457
- 'type' => 'text',
1458
- 'class' => 'color',
1459
- 'value' => isset($param_values['BPBGColor']) ? $param_values['BPBGColor'] : '',
1460
- 'after' => ''
1461
- ),
1462
- array (
1463
- 'label' => 'Width',
1464
- 'name' => 'BPWidth',
1465
- 'type' => 'text',
1466
- 'class' => '',
1467
- 'value' => isset($param_values['BPWidth']) ? $param_values['BPWidth'] : '',
1468
- 'after' => 'px'
1469
- ),
1470
- array (
1471
- 'label' => 'Height',
1472
- 'name' => 'BPHeight',
1473
- 'type' => 'text',
1474
- 'class' => '',
1475
- 'value' => isset($param_values['BPHeight']) ? $param_values['BPHeight'] : '',
1476
- 'after' => 'px'
1477
- ),
1478
- array (
1479
- 'label' => 'Font Size',
1480
- 'name' => 'BPFontSize',
1481
- 'type' => 'text',
1482
- 'class' => '',
1483
- 'value' => isset($param_values['BPFontSize']) ? $param_values['BPFontSize'] : '',
1484
- 'after' => 'px'
1485
- ),
1486
- array (
1487
- 'label' => 'Font Weight',
1488
- 'name' => 'BPFontWeight',
1489
- 'type' => 'select',
1490
- 'options' => $font_weights,
1491
- 'class' => '',
1492
- 'value' => isset($param_values['BPFontWeight']) ? $param_values['BPFontWeight'] : '',
1493
- 'after' => ''
1494
- ),
1495
- array (
1496
- 'label' => 'Color',
1497
- 'name' => 'BPColor',
1498
- 'type' => 'text',
1499
- 'class' => 'color',
1500
- 'value' => isset($param_values['BPColor']) ? $param_values['BPColor'] : '',
1501
- 'after' => ''
1502
- ),
1503
- array (
1504
- 'label' => 'Padding',
1505
- 'name' => 'BPPadding',
1506
- 'type' => 'text',
1507
- 'class' => '',
1508
- 'value' => isset($param_values['BPPadding']) ? $param_values['BPPadding'] : '',
1509
- 'after' => 'px/%'
1510
- ),
1511
- array (
1512
- 'label' => 'Margin',
1513
- 'name' => 'BPMargin',
1514
- 'type' => 'text',
1515
- 'class' => '',
1516
- 'value' => isset($param_values['BPMargin']) ? $param_values['BPMargin'] : '',
1517
- 'after' => 'px/%'
1518
- ),
1519
- array (
1520
- 'label' => 'Border',
1521
- 'name' => 'BPBorder',
1522
- 'type' => 'checkbox',
1523
- 'options' => $borders,
1524
- 'class' => '',
1525
- 'after' => ''
1526
- ),
1527
- array (
1528
- 'label' => 'Border Color',
1529
- 'name' => 'BPBorderColor',
1530
- 'type' => 'text',
1531
- 'class' => 'color',
1532
- 'value' => isset($param_values['BPBorderColor']) ? $param_values['BPBorderColor'] : '',
1533
- 'after' => ''
1534
- ),
1535
- array (
1536
- 'label' => 'Border Type',
1537
- 'name' => 'BPBorderType',
1538
- 'type' => 'select',
1539
- 'options' => $border_types,
1540
- 'class' => '',
1541
- 'value' => isset($param_values['BPBorderType']) ? $param_values['BPBorderType'] : '',
1542
- 'after' => ''
1543
- ),
1544
- array (
1545
- 'label' => 'Border Width',
1546
- 'name' => 'BPBorderWidth',
1547
- 'type' => 'text',
1548
- 'class' => '',
1549
- 'value' => isset($param_values['BPBorderWidth']) ? $param_values['BPBorderWidth'] : '',
1550
- 'after' => 'px'
1551
- ),
1552
- array (
1553
- 'label' => 'Border Radius',
1554
- 'name' => 'BPBorderRadius',
1555
- 'type' => 'text',
1556
- 'class' => '',
1557
- 'value' => isset($param_values['BPBorderRadius']) ? $param_values['BPBorderRadius'] : '',
1558
- 'after' => 'px'
1559
- ),
1560
- array (
1561
- 'label' => 'Box Shadow',
1562
- 'name' => 'BPBoxShadow',
1563
- 'type' => 'text',
1564
- 'class' => '',
1565
- 'value' => isset($param_values['BPBoxShadow']) ? $param_values['BPBoxShadow'] : '',
1566
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
1567
- 'after' => ''
1568
- ),
1569
- array (
1570
- 'label' => 'Hover Parameters',
1571
- 'type' => 'label',
1572
- 'class' => 'fm-mini-title',
1573
- 'after' => '<br/>'
1574
- ),
1575
- array (
1576
- 'label' => 'Background Color',
1577
- 'name' => 'BHPBGColor',
1578
- 'type' => 'text',
1579
- 'class' => 'color',
1580
- 'value' => isset($param_values['BHPBGColor']) ? $param_values['BHPBGColor'] : '',
1581
- 'after' => ''
1582
- ),
1583
- array (
1584
- 'label' => 'Color',
1585
- 'name' => 'BHPColor',
1586
- 'type' => 'text',
1587
- 'class' => 'color',
1588
- 'value' => isset($param_values['BHPColor']) ? $param_values['BHPColor'] : '',
1589
- 'after' => ''
1590
- ),
1591
- array (
1592
- 'label' => 'Border',
1593
- 'name' => 'BHPBorder',
1594
- 'type' => 'checkbox',
1595
- 'options' => $borders,
1596
- 'class' => '',
1597
- 'after' => ''
1598
- ),
1599
- array (
1600
- 'label' => 'Border Color',
1601
- 'name' => 'BHPBorderColor',
1602
- 'type' => 'text',
1603
- 'class' => 'color',
1604
- 'value' => isset($param_values['BHPBorderColor']) ? $param_values['BHPBorderColor'] : '',
1605
- 'after' => ''
1606
- ),
1607
- array (
1608
- 'label' => 'Border Type',
1609
- 'name' => 'BHPBorderType',
1610
- 'type' => 'select',
1611
- 'options' => $border_types,
1612
- 'class' => '',
1613
- 'value' => isset($param_values['BHPBorderType']) ? $param_values['BHPBorderType'] : '',
1614
- 'after' => ''
1615
- ),
1616
- array (
1617
- 'label' => 'Border Width',
1618
- 'name' => 'BHPBorderWidth',
1619
- 'type' => 'text',
1620
- 'class' => '',
1621
- 'value' => isset($param_values['BHPBorderWidth']) ? $param_values['BHPBorderWidth'] : '',
1622
- 'after' => 'px</div>'
1623
- )
1624
- ),
1625
- 'paigination' => array(
1626
- array (
1627
- 'label' => 'Active',
1628
- 'type' => 'panel',
1629
- 'class' => 'col-md-6',
1630
- 'label_class' => 'fm-mini-title',
1631
- 'after' => ''
1632
- ),
1633
- array (
1634
- 'label' => 'Background Color',
1635
- 'name' => 'PSAPBGColor',
1636
- 'type' => 'text',
1637
- 'class' => 'color',
1638
- 'value' => isset($param_values['PSAPBGColor']) ? $param_values['PSAPBGColor'] : '',
1639
- 'after' => ''
1640
- ),
1641
- array (
1642
- 'label' => 'Font Size',
1643
- 'name' => 'PSAPFontSize',
1644
- 'type' => 'text',
1645
- 'class' => '',
1646
- 'value' => isset($param_values['PSAPFontSize']) ? $param_values['PSAPFontSize'] : '',
1647
- 'after' => 'px'
1648
- ),
1649
- array (
1650
- 'label' => 'Font Weight',
1651
- 'name' => 'PSAPFontWeight',
1652
- 'type' => 'select',
1653
- 'options' => $font_weights,
1654
- 'class' => '',
1655
- 'value' => isset($param_values['PSAPFontWeight']) ? $param_values['PSAPFontWeight'] : '',
1656
- 'after' => ''
1657
- ),
1658
- array (
1659
- 'label' => 'Color',
1660
- 'name' => 'PSAPColor',
1661
- 'type' => 'text',
1662
- 'class' => 'color',
1663
- 'value' => isset($param_values['PSAPColor']) ? $param_values['PSAPColor'] : '',
1664
- 'after' => ''
1665
- ),
1666
- array (
1667
- 'label' => 'Height',
1668
- 'name' => 'PSAPHeight',
1669
- 'type' => 'text',
1670
- 'class' => '',
1671
- 'value' => isset($param_values['PSAPHeight']) ? $param_values['PSAPHeight'] : '',
1672
- 'after' => 'px'
1673
- ),
1674
- array (
1675
- 'label' => 'Line Height',
1676
- 'name' => 'PSAPLineHeight',
1677
- 'type' => 'text',
1678
- 'class' => '',
1679
- 'value' => isset($param_values['PSAPLineHeight']) ? $param_values['PSAPLineHeight'] : '',
1680
- 'after' => 'px'
1681
- ),
1682
- array (
1683
- 'label' => 'Padding',
1684
- 'name' => 'PSAPPadding',
1685
- 'type' => 'text',
1686
- 'class' => '',
1687
- 'value' => isset($param_values['PSAPPadding']) ? $param_values['PSAPPadding'] : '',
1688
- 'after' => 'px/%'
1689
- ),
1690
- array (
1691
- 'label' => 'Margin',
1692
- 'name' => 'PSAPMargin',
1693
- 'type' => 'text',
1694
- 'class' => '',
1695
- 'value' => isset($param_values['PSAPMargin']) ? $param_values['PSAPMargin'] : '',
1696
- 'after' => 'px/%'
1697
- ),
1698
- array (
1699
- 'label' => 'Border',
1700
- 'name' => 'PSAPBorder',
1701
- 'type' => 'checkbox',
1702
- 'options' => $borders,
1703
- 'class' => '',
1704
- 'after' => ''
1705
- ),
1706
- array (
1707
- 'label' => 'Border Color',
1708
- 'name' => 'PSAPBorderColor',
1709
- 'type' => 'text',
1710
- 'class' => 'color',
1711
- 'value' => isset($param_values['PSAPBorderColor']) ? $param_values['PSAPBorderColor'] : '',
1712
- 'after' => ''
1713
- ),
1714
- array (
1715
- 'label' => 'Border Type',
1716
- 'name' => 'PSAPBorderType',
1717
- 'type' => 'select',
1718
- 'options' => $border_types,
1719
- 'class' => '',
1720
- 'value' => isset($param_values['PSAPBorderType']) ? $param_values['PSAPBorderType'] : '',
1721
- 'after' => ''
1722
- ),
1723
- array (
1724
- 'label' => 'Border Width',
1725
- 'name' => 'PSAPBorderWidth',
1726
- 'type' => 'text',
1727
- 'class' => '',
1728
- 'value' => isset($param_values['PSAPBorderWidth']) ? $param_values['PSAPBorderWidth'] : '',
1729
- 'after' => 'px'
1730
- ),
1731
- array (
1732
- 'label' => 'Border Radius',
1733
- 'name' => 'PSAPBorderRadius',
1734
- 'type' => 'text',
1735
- 'class' => '',
1736
- 'value' => isset($param_values['PSAPBorderRadius']) ? $param_values['PSAPBorderRadius'] : '',
1737
- 'after' => 'px</div>'
1738
- ),
1739
- array (
1740
- 'label' => 'Deactive',
1741
- 'type' => 'panel',
1742
- 'class' => 'col-md-6',
1743
- 'label_class' => 'fm-mini-title',
1744
- 'after' => ''
1745
- ),
1746
- array (
1747
- 'label' => 'Background Color',
1748
- 'name' => 'PSDPBGColor',
1749
- 'type' => 'text',
1750
- 'class' => 'color',
1751
- 'value' => isset($param_values['PSDPBGColor']) ? $param_values['PSDPBGColor'] : '',
1752
- 'after' => ''
1753
- ),
1754
- array (
1755
- 'label' => 'Font Size',
1756
- 'name' => 'PSDPFontSize',
1757
- 'type' => 'text',
1758
- 'class' => '',
1759
- 'value' => isset($param_values['PSDPFontSize']) ? $param_values['PSDPFontSize'] : '',
1760
- 'after' => 'px'
1761
- ),
1762
- array (
1763
- 'label' => 'Font Weight',
1764
- 'name' => 'PSDPFontWeight',
1765
- 'type' => 'select',
1766
- 'options' => $font_weights,
1767
- 'class' => '',
1768
- 'value' => isset($param_values['PSDPFontWeight']) ? $param_values['PSDPFontWeight'] : '',
1769
- 'after' => ''
1770
- ),
1771
- array (
1772
- 'label' => 'Color',
1773
- 'name' => 'PSDPColor',
1774
- 'type' => 'text',
1775
- 'class' => 'color',
1776
- 'value' => isset($param_values['PSDPColor']) ? $param_values['PSDPColor'] : '',
1777
- 'after' => ''
1778
- ),
1779
- array (
1780
- 'label' => 'Height',
1781
- 'name' => 'PSDPHeight',
1782
- 'type' => 'text',
1783
- 'class' => '',
1784
- 'value' => isset($param_values['PSDPHeight']) ? $param_values['PSDPHeight'] : '',
1785
- 'after' => 'px'
1786
- ),
1787
- array (
1788
- 'label' => 'Line Height',
1789
- 'name' => 'PSDPLineHeight',
1790
- 'type' => 'text',
1791
- 'class' => '',
1792
- 'value' => isset($param_values['PSDPLineHeight']) ? $param_values['PSDPLineHeight'] : '',
1793
- 'after' => 'px'
1794
- ),
1795
- array (
1796
- 'label' => 'Padding',
1797
- 'name' => 'PSDPPadding',
1798
- 'type' => 'text',
1799
- 'class' => '',
1800
- 'value' => isset($param_values['PSDPPadding']) ? $param_values['PSDPPadding'] : '',
1801
- 'after' => 'px/%'
1802
- ),
1803
- array (
1804
- 'label' => 'Margin',
1805
- 'name' => 'PSDPMargin',
1806
- 'type' => 'text',
1807
- 'class' => '',
1808
- 'value' => isset($param_values['PSDPMargin']) ? $param_values['PSDPMargin'] : '',
1809
- 'after' => 'px/%'
1810
- ),
1811
- array (
1812
- 'label' => 'Border',
1813
- 'name' => 'PSDPBorder',
1814
- 'type' => 'checkbox',
1815
- 'options' => $borders,
1816
- 'class' => '',
1817
- 'after' => ''
1818
- ),
1819
- array (
1820
- 'label' => 'Border Color',
1821
- 'name' => 'PSDPBorderColor',
1822
- 'type' => 'text',
1823
- 'class' => 'color',
1824
- 'value' => isset($param_values['PSDPBorderColor']) ? $param_values['PSDPBorderColor'] : '',
1825
- 'after' => ''
1826
- ),
1827
- array (
1828
- 'label' => 'Border Type',
1829
- 'name' => 'PSDPBorderType',
1830
- 'type' => 'select',
1831
- 'options' => $border_types,
1832
- 'class' => '',
1833
- 'value' => isset($param_values['PSDPBorderType']) ? $param_values['PSDPBorderType'] : '',
1834
- 'after' => ''
1835
- ),
1836
- array (
1837
- 'label' => 'Border Width',
1838
- 'name' => 'PSDPBorderWidth',
1839
- 'type' => 'text',
1840
- 'class' => '',
1841
- 'value' => isset($param_values['PSDPBorderWidth']) ? $param_values['PSDPBorderWidth'] : '',
1842
- 'after' => 'px'
1843
- ),
1844
- array (
1845
- 'label' => 'Border Radius',
1846
- 'name' => 'PSDPBorderRadius',
1847
- 'type' => 'text',
1848
- 'class' => '',
1849
- 'value' => isset($param_values['PSDPBorderRadius']) ? $param_values['PSDPBorderRadius'] : '',
1850
- 'after' => 'px</div>'
1851
- ),
1852
- array (
1853
- 'label' => 'Steps',
1854
- 'type' => 'panel',
1855
- 'class' => 'col-md-12',
1856
- 'label_class' => 'fm-mini-title',
1857
- 'after' => ''
1858
- ),
1859
- array (
1860
- 'label' => 'Alignment',
1861
- 'name' => 'PSAPAlign',
1862
- 'type' => 'select',
1863
- 'options' => $aligns ,
1864
- 'class' => '',
1865
- 'value' => isset($param_values['PSAPAlign']) ? $param_values['PSAPAlign'] : '',
1866
- 'after' => ''
1867
- ),
1868
- array (
1869
- 'label' => 'Width',
1870
- 'name' => 'PSAPWidth',
1871
- 'type' => 'text',
1872
- 'class' => '',
1873
- 'value' => isset($param_values['PSAPWidth']) ? $param_values['PSAPWidth'] : '',
1874
- 'after' => 'px</div>'
1875
- ),
1876
- array (
1877
- 'label' => 'Percentage',
1878
- 'type' => 'panel',
1879
- 'class' => 'col-md-12',
1880
- 'label_class' => 'fm-mini-title',
1881
- 'after' => ''
1882
- ),
1883
- array (
1884
- 'label' => 'Width',
1885
- 'name' => 'PPAPWidth',
1886
- 'type' => 'text',
1887
- 'class' => '',
1888
- 'value' => isset($param_values['PPAPWidth']) ? $param_values['PPAPWidth'] : '',
1889
- 'placeholder' => 'e.g. 100% or 500px',
1890
- 'after' => 'px/%</div>'
1891
- )
1892
- ),
1893
- 'buttons' => array(
1894
- array (
1895
- 'label' => 'Global Parameters',
1896
- 'type' => 'panel',
1897
- 'class' => 'col-md-12',
1898
- 'label_class' => 'fm-mini-title',
1899
- 'after' => '<br/>'
1900
- ),
1901
- array (
1902
- 'label' => 'Font Size',
1903
- 'name' => 'BPFontSize',
1904
- 'type' => 'text',
1905
- 'class' => '',
1906
- 'value' => isset($param_values['BPFontSize']) ? $param_values['BPFontSize'] : '',
1907
- 'after' => 'px'
1908
- ),
1909
- array (
1910
- 'label' => 'Font Weight',
1911
- 'name' => 'BPFontWeight',
1912
- 'type' => 'select',
1913
- 'options' => $font_weights,
1914
- 'class' => '',
1915
- 'value' => isset($param_values['BPFontWeight']) ? $param_values['BPFontWeight'] : '',
1916
- 'after' => '</div>'
1917
- ),
1918
- array (
1919
- 'label' => 'Next Button Parameters',
1920
- 'type' => 'panel',
1921
- 'class' => 'col-md-6',
1922
- 'label_class' => 'fm-mini-title',
1923
- 'after' => '<br/>'
1924
- ),
1925
- array (
1926
- 'label' => 'Background Color',
1927
- 'name' => 'NBPBGColor',
1928
- 'type' => 'text',
1929
- 'class' => 'color',
1930
- 'value' => isset($param_values['NBPBGColor']) ? $param_values['NBPBGColor'] : '',
1931
- 'after' => ''
1932
- ),
1933
- array (
1934
- 'label' => 'Width',
1935
- 'name' => 'NBPWidth',
1936
- 'type' => 'text',
1937
- 'class' => '',
1938
- 'value' => isset($param_values['NBPWidth']) ? $param_values['NBPWidth'] : '',
1939
- 'after' => 'px'
1940
- ),
1941
- array (
1942
- 'label' => 'Height',
1943
- 'name' => 'NBPHeight',
1944
- 'type' => 'text',
1945
- 'class' => '',
1946
- 'value' => isset($param_values['NBPHeight']) ? $param_values['NBPHeight'] : '',
1947
- 'after' => 'px'
1948
- ),
1949
- array (
1950
- 'label' => 'Line Height',
1951
- 'name' => 'NBPLineHeight',
1952
- 'type' => 'text',
1953
- 'class' => '',
1954
- 'value' => isset($param_values['NBPLineHeight']) ? $param_values['NBPLineHeight'] : '',
1955
- 'after' => 'px'
1956
- ),
1957
- array (
1958
- 'label' => 'Color',
1959
- 'name' => 'NBPColor',
1960
- 'type' => 'text',
1961
- 'class' => 'color',
1962
- 'value' => isset($param_values['NBPColor']) ? $param_values['NBPColor'] : '',
1963
- 'after' => ''
1964
- ),
1965
- array (
1966
- 'label' => 'Padding',
1967
- 'name' => 'NBPPadding',
1968
- 'type' => 'text',
1969
- 'class' => '',
1970
- 'value' => isset($param_values['NBPPadding']) ? $param_values['NBPPadding'] : '',
1971
- 'after' => 'px/%'
1972
- ),
1973
- array (
1974
- 'label' => 'Margin',
1975
- 'name' => 'NBPMargin',
1976
- 'type' => 'text',
1977
- 'class' => '',
1978
- 'value' => isset($param_values['NBPMargin']) ? $param_values['NBPMargin'] : '',
1979
- 'after' => 'px/%'
1980
- ),
1981
- array (
1982
- 'label' => 'Border',
1983
- 'name' => 'NBPBorder',
1984
- 'type' => 'checkbox',
1985
- 'options' => $borders,
1986
- 'class' => '',
1987
- 'after' => ''
1988
- ),
1989
- array (
1990
- 'label' => 'Border Color',
1991
- 'name' => 'NBPBorderColor',
1992
- 'type' => 'text',
1993
- 'class' => 'color',
1994
- 'value' => isset($param_values['NBPBorderColor']) ? $param_values['NBPBorderColor'] : '',
1995
- 'after' => ''
1996
- ),
1997
- array (
1998
- 'label' => 'Border Type',
1999
- 'name' => 'NBPBorderType',
2000
- 'type' => 'select',
2001
- 'options' => $border_types,
2002
- 'class' => '',
2003
- 'value' => isset($param_values['NBPBorderType']) ? $param_values['NBPBorderType'] : '',
2004
- 'after' => ''
2005
- ),
2006
- array (
2007
- 'label' => 'Border Width',
2008
- 'name' => 'NBPBorderWidth',
2009
- 'type' => 'text',
2010
- 'class' => '',
2011
- 'value' => isset($param_values['NBPBorderWidth']) ? $param_values['NBPBorderWidth'] : '',
2012
- 'after' => 'px'
2013
- ),
2014
- array (
2015
- 'label' => 'Border Radius',
2016
- 'name' => 'NBPBorderRadius',
2017
- 'type' => 'text',
2018
- 'class' => '',
2019
- 'value' => isset($param_values['NBPBorderRadius']) ? $param_values['NBPBorderRadius'] : '',
2020
- 'after' => 'px'
2021
- ),
2022
- array (
2023
- 'label' => 'Box Shadow',
2024
- 'name' => 'NBPBoxShadow',
2025
- 'type' => 'text',
2026
- 'class' => '',
2027
- 'value' => isset($param_values['NBPBoxShadow']) ? $param_values['NBPBoxShadow'] : '',
2028
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
2029
- 'after' => ''
2030
- ),
2031
- array (
2032
- 'label' => 'Hover Parameters',
2033
- 'type' => 'label',
2034
- 'class' => 'fm-mini-title',
2035
- 'after' => '<br/>'
2036
- ),
2037
- array (
2038
- 'label' => 'Background Color',
2039
- 'name' => 'NBHPBGColor',
2040
- 'type' => 'text',
2041
- 'class' => 'color',
2042
- 'value' => isset($param_values['NBHPBGColor']) ? $param_values['NBHPBGColor'] : '',
2043
- 'after' => ''
2044
- ),
2045
- array (
2046
- 'label' => 'Color',
2047
- 'name' => 'NBHPColor',
2048
- 'type' => 'text',
2049
- 'class' => 'color',
2050
- 'value' => isset($param_values['NBHPColor']) ? $param_values['NBHPColor'] : '',
2051
- 'after' => ''
2052
- ),
2053
- array (
2054
- 'label' => 'Border',
2055
- 'name' => 'NBHPBorder',
2056
- 'type' => 'checkbox',
2057
- 'options' => $borders,
2058
- 'class' => '',
2059
- 'after' => ''
2060
- ),
2061
- array (
2062
- 'label' => 'Border Color',
2063
- 'name' => 'NBHPBorderColor',
2064
- 'type' => 'text',
2065
- 'class' => 'color',
2066
- 'value' => isset($param_values['NBHPBorderColor']) ? $param_values['NBHPBorderColor'] : '',
2067
- 'after' => ''
2068
- ),
2069
- array (
2070
- 'label' => 'Border Type',
2071
- 'name' => 'NBHPBorderType',
2072
- 'type' => 'select',
2073
- 'options' => $border_types,
2074
- 'class' => '',
2075
- 'value' => isset($param_values['NBHPBorderType']) ? $param_values['NBHPBorderType'] : '',
2076
- 'after' => ''
2077
- ),
2078
- array (
2079
- 'label' => 'Border Width',
2080
- 'name' => 'NBHPBorderWidth',
2081
- 'type' => 'text',
2082
- 'class' => '',
2083
- 'value' => isset($param_values['NBHPBorderWidth']) ? $param_values['NBHPBorderWidth'] : '',
2084
- 'after' => 'px</div>'
2085
- ),
2086
- array (
2087
- 'label' => 'Previous Button Parameters',
2088
- 'type' => 'panel',
2089
- 'class' => 'col-md-6',
2090
- 'label_class' => 'fm-mini-title',
2091
- 'after' => '<br/>'
2092
- ),
2093
- array (
2094
- 'label' => 'Background Color',
2095
- 'name' => 'PBPBGColor',
2096
- 'type' => 'text',
2097
- 'class' => 'color',
2098
- 'value' => isset($param_values['PBPBGColor']) ? $param_values['PBPBGColor'] : '',
2099
- 'after' => ''
2100
- ),
2101
- array (
2102
- 'label' => 'Width',
2103
- 'name' => 'PBPWidth',
2104
- 'type' => 'text',
2105
- 'class' => '',
2106
- 'value' => isset($param_values['PBPWidth']) ? $param_values['PBPWidth'] : '',
2107
- 'after' => 'px'
2108
- ),
2109
- array (
2110
- 'label' => 'Height',
2111
- 'name' => 'PBPHeight',
2112
- 'type' => 'text',
2113
- 'class' => '',
2114
- 'value' => isset($param_values['PBPHeight']) ? $param_values['PBPHeight'] : '',
2115
- 'after' => 'px'
2116
- ),
2117
- array (
2118
- 'label' => 'Line Height',
2119
- 'name' => 'PBPLineHeight',
2120
- 'type' => 'text',
2121
- 'class' => '',
2122
- 'value' => isset($param_values['PBPLineHeight']) ? $param_values['PBPLineHeight'] : '',
2123
- 'after' => 'px'
2124
- ),
2125
- array (
2126
- 'label' => 'Color',
2127
- 'name' => 'PBPColor',
2128
- 'type' => 'text',
2129
- 'class' => 'color',
2130
- 'value' => isset($param_values['PBPColor']) ? $param_values['PBPColor'] : '',
2131
- 'after' => ''
2132
- ),
2133
- array (
2134
- 'label' => 'Padding',
2135
- 'name' => 'PBPPadding',
2136
- 'type' => 'text',
2137
- 'class' => '',
2138
- 'value' => isset($param_values['PBPPadding']) ? $param_values['PBPPadding'] : '',
2139
- 'after' => 'px/%'
2140
- ),
2141
- array (
2142
- 'label' => 'Margin',
2143
- 'name' => 'PBPMargin',
2144
- 'type' => 'text',
2145
- 'class' => '',
2146
- 'value' => isset($param_values['PBPMargin']) ? $param_values['PBPMargin'] : '',
2147
- 'after' => 'px/%'
2148
- ),
2149
- array (
2150
- 'label' => 'Border',
2151
- 'name' => 'PBPBorder',
2152
- 'type' => 'checkbox',
2153
- 'options' => $borders,
2154
- 'class' => '',
2155
- 'after' => ''
2156
- ),
2157
- array (
2158
- 'label' => 'Border Color',
2159
- 'name' => 'PBPBorderColor',
2160
- 'type' => 'text',
2161
- 'class' => 'color',
2162
- 'value' => isset($param_values['PBPBorderColor']) ? $param_values['PBPBorderColor'] : '',
2163
- 'after' => ''
2164
- ),
2165
- array (
2166
- 'label' => 'Border Type',
2167
- 'name' => 'PBPBorderType',
2168
- 'type' => 'select',
2169
- 'options' => $border_types,
2170
- 'class' => '',
2171
- 'value' => isset($param_values['PBPBorderType']) ? $param_values['PBPBorderType'] : '',
2172
- 'after' => ''
2173
- ),
2174
- array (
2175
- 'label' => 'Border Width',
2176
- 'name' => 'PBPBorderWidth',
2177
- 'type' => 'text',
2178
- 'class' => '',
2179
- 'value' => isset($param_values['PBPBorderWidth']) ? $param_values['PBPBorderWidth'] : '',
2180
- 'after' => 'px'
2181
- ),
2182
- array (
2183
- 'label' => 'Border Radius',
2184
- 'name' => 'PBPBorderRadius',
2185
- 'type' => 'text',
2186
- 'class' => '',
2187
- 'value' => isset($param_values['PBPBorderRadius']) ? $param_values['PBPBorderRadius'] : '',
2188
- 'after' => 'px'
2189
- ),
2190
- array (
2191
- 'label' => 'Box Shadow',
2192
- 'name' => 'PBPBoxShadow',
2193
- 'type' => 'text',
2194
- 'class' => '',
2195
- 'value' => isset($param_values['PBPBoxShadow']) ? $param_values['PBPBoxShadow'] : '',
2196
- 'placeholder' => 'e.g. 5px 5px 2px #888888',
2197
- 'after' => ''
2198
- ),
2199
- array (
2200
- 'label' => 'Hover Parameters',
2201
- 'type' => 'label',
2202
- 'class' => 'fm-mini-title',
2203
- 'after' => '<br/>'
2204
- ),
2205
- array (
2206
- 'label' => 'Background Color',
2207
- 'name' => 'PBHPBGColor',
2208
- 'type' => 'text',
2209
- 'class' => 'color',
2210
- 'value' => isset($param_values['PBHPBGColor']) ? $param_values['PBHPBGColor'] : '',
2211
- 'after' => ''
2212
- ),
2213
- array (
2214
- 'label' => 'Color',
2215
- 'name' => 'PBHPColor',
2216
- 'type' => 'text',
2217
- 'class' => 'color',
2218
- 'value' => isset($param_values['PBHPColor']) ? $param_values['PBHPColor'] : '',
2219
- 'after' => ''
2220
- ),
2221
- array (
2222
- 'label' => 'Border',
2223
- 'name' => 'PBHPBorder',
2224
- 'type' => 'checkbox',
2225
- 'options' => $borders,
2226
- 'class' => '',
2227
- 'after' => ''
2228
- ),
2229
- array (
2230
- 'label' => 'Border Color',
2231
- 'name' => 'PBHPBorderColor',
2232
- 'type' => 'text',
2233
- 'class' => 'color',
2234
- 'value' => isset($param_values['PBHPBorderColor']) ? $param_values['PBHPBorderColor'] : '',
2235
- 'after' => ''
2236
- ),
2237
- array (
2238
- 'label' => 'Border Type',
2239
- 'name' => 'PBHPBorderType',
2240
- 'type' => 'select',
2241
- 'options' => $border_types,
2242
- 'class' => '',
2243
- 'value' => isset($param_values['PBHPBorderType']) ? $param_values['PBHPBorderType'] : '',
2244
- 'after' => ''
2245
- ),
2246
- array (
2247
- 'label' => 'Border Width',
2248
- 'name' => 'PBHPBorderWidth',
2249
- 'type' => 'text',
2250
- 'class' => '',
2251
- 'value' => isset($param_values['PBHPBorderWidth']) ? $param_values['PBHPBorderWidth'] : '',
2252
- 'after' => 'px</div>'
2253
- )
2254
- ),
2255
- 'close_button' => array(
2256
- array (
2257
- 'label' => '',
2258
- 'type' => 'panel',
2259
- 'class' => 'col-md-12',
2260
- 'label_class' => '',
2261
- 'after' => ''
2262
- ),
2263
- array (
2264
- 'label' => 'Position',
2265
- 'name' => 'CBPPosition',
2266
- 'type' => 'select',
2267
- 'options' => $position_types,
2268
- 'class' => '',
2269
- 'value' => isset($param_values['CBPPosition']) ? $param_values['CBPPosition'] : '',
2270
- 'after' => ''
2271
- ),
2272
- array (
2273
- 'label' => 'Top',
2274
- 'name' => 'CBPTop',
2275
- 'type' => 'text',
2276
- 'class' => '',
2277
- 'value' => isset($param_values['CBPTop']) ? $param_values['CBPTop'] : '',
2278
- 'after' => 'px/%'
2279
- ),
2280
- array (
2281
- 'label' => 'Right',
2282
- 'name' => 'CBPRight',
2283
- 'type' => 'text',
2284
- 'class' => '',
2285
- 'value' => isset($param_values['CBPRight']) ? $param_values['CBPRight'] : '',
2286
- 'after' => 'px/%'
2287
- ),
2288
- array (
2289
- 'label' => 'Bottom',
2290
- 'name' => 'CBPBottom',
2291
- 'type' => 'text',
2292
- 'class' => '',
2293
- 'value' => isset($param_values['CBPBottom']) ? $param_values['CBPBottom'] : '',
2294
- 'after' => 'px/%'
2295
- ),
2296
- array (
2297
- 'label' => 'Left',
2298
- 'name' => 'CBPLeft',
2299
- 'type' => 'text',
2300
- 'class' => '',
2301
- 'value' => isset($param_values['CBPLeft']) ? $param_values['CBPLeft'] : '',
2302
- 'after' => 'px/%'
2303
- ),
2304
- array (
2305
- 'label' => 'Background Color',
2306
- 'name' => 'CBPBGColor',
2307
- 'type' => 'text',
2308
- 'class' => 'color',
2309
- 'value' => isset($param_values['CBPBGColor']) ? $param_values['CBPBGColor'] : '',
2310
- 'after' => ''
2311
- ),
2312
- array (
2313
- 'label' => 'Font Size',
2314
- 'name' => 'CBPFontSize',
2315
- 'type' => 'text',
2316
- 'class' => '13',
2317
- 'value' => isset($param_values['CBPFontSize']) ? $param_values['CBPFontSize'] : '',
2318
- 'after' => 'px'
2319
- ),
2320
- array (
2321
- 'label' => 'Font Weight',
2322
- 'name' => 'CBPFontWeight',
2323
- 'type' => 'select',
2324
- 'options' => $font_weights,
2325
- 'class' => '',
2326
- 'value' => isset($param_values['CBPFontWeight']) ? $param_values['CBPFontWeight'] : '',
2327
- 'after' => ''
2328
- ),
2329
- array (
2330
- 'label' => 'Color',
2331
- 'name' => 'CBPColor',
2332
- 'type' => 'text',
2333
- 'class' => 'color',
2334
- 'value' => isset($param_values['CBPColor']) ? $param_values['CBPColor'] : '',
2335
- 'after' => ''
2336
- ),
2337
- array (
2338
- 'label' => 'Padding',
2339
- 'name' => 'CBPPadding',
2340
- 'type' => 'text',
2341
- 'class' => '',
2342
- 'value' => isset($param_values['CBPPadding']) ? $param_values['CBPPadding'] : '',
2343
- 'after' => 'px/%'
2344
- ),
2345
- array (
2346
- 'label' => 'Margin',
2347
- 'name' => 'CBPMargin',
2348
- 'type' => 'text',
2349
- 'class' => '',
2350
- 'value' => isset($param_values['CBPMargin']) ? $param_values['CBPMargin'] : '',
2351
- 'after' => 'px/%'
2352
- ),
2353
- array (
2354
- 'label' => 'Border',
2355
- 'name' => 'CBPBorder',
2356
- 'type' => 'checkbox',
2357
- 'options' => $borders,
2358
- 'class' => '',
2359
- 'after' => ''
2360
- ),
2361
- array (
2362
- 'label' => 'Border Color',
2363
- 'name' => 'CBPBorderColor',
2364
- 'type' => 'text',
2365
- 'class' => 'color',
2366
- 'value' => isset($param_values['CBPBorderColor']) ? $param_values['CBPBorderColor'] : '',
2367
- 'after' => ''
2368
- ),
2369
- array (
2370
- 'label' => 'Border Type',
2371
- 'name' => 'CBPBorderType',
2372
- 'type' => 'select',
2373
- 'options' => $border_types,
2374
- 'class' => '',
2375
- 'value' => isset($param_values['CBPBorderType']) ? $param_values['CBPBorderType'] : '',
2376
- 'after' => ''
2377
- ),
2378
- array (
2379
- 'label' => 'Border Width',
2380
- 'name' => 'CBPBorderWidth',
2381
- 'type' => 'text',
2382
- 'class' => '',
2383
- 'value' => isset($param_values['CBPBorderWidth']) ? $param_values['CBPBorderWidth'] : '',
2384
- 'after' => 'px'
2385
- ),
2386
- array (
2387
- 'label' => 'Border Radius',
2388
- 'name' => 'CBPBorderRadius',
2389
- 'type' => 'text',
2390
- 'class' => '',
2391
- 'value' => isset($param_values['CBPBorderRadius']) ? $param_values['CBPBorderRadius'] : '',
2392
- 'after' => 'px'
2393
- ),
2394
- array (
2395
- 'label' => 'Hover Parameters',
2396
- 'type' => 'label',
2397
- 'class' => 'fm-mini-title',
2398
- 'after' => '<br/>'
2399
- ),
2400
- array (
2401
- 'label' => 'Background Color',
2402
- 'name' => 'CBHPBGColor',
2403
- 'type' => 'text',
2404
- 'class' => 'color',
2405
- 'value' => isset($param_values['CBHPBGColor']) ? $param_values['CBHPBGColor'] : '',
2406
- 'after' => ''
2407
- ),
2408
- array (
2409
- 'label' => 'Color',
2410
- 'name' => 'CBHPColor',
2411
- 'type' => 'text',
2412
- 'class' => 'color',
2413
- 'value' => isset($param_values['CBHPColor']) ? $param_values['CBHPColor'] : '',
2414
- 'after' => ''
2415
- ),
2416
- array (
2417
- 'label' => 'Border',
2418
- 'name' => 'CBHPBorder',
2419
- 'type' => 'checkbox',
2420
- 'options' => $borders,
2421
- 'class' => '',
2422
- 'after' => ''
2423
- ),
2424
- array (
2425
- 'label' => 'Border Color',
2426
- 'name' => 'CBHPBorderColor',
2427
- 'type' => 'text',
2428
- 'class' => 'color',
2429
- 'value' => isset($param_values['CBHPBorderColor']) ? $param_values['CBHPBorderColor'] : '',
2430
- 'after' => ''
2431
- ),
2432
- array (
2433
- 'label' => 'Border Type',
2434
- 'name' => 'CBHPBorderType',
2435
- 'type' => 'select',
2436
- 'options' => $border_types,
2437
- 'class' => '',
2438
- 'value' => isset($param_values['CBHPBorderType']) ? $param_values['CBHPBorderType'] : '',
2439
- 'after' => ''
2440
- ),
2441
- array (
2442
- 'label' => 'Border Width',
2443
- 'name' => 'CBHPBorderWidth',
2444
- 'type' => 'text',
2445
- 'class' => '',
2446
- 'value' => isset($param_values['CBHPBorderWidth']) ? $param_values['CBHPBorderWidth'] : '',
2447
- 'after' => 'px</div>'
2448
- )
2449
- ),
2450
- 'minimize' => array(
2451
- array (
2452
- 'label' => '',
2453
- 'type' => 'panel',
2454
- 'class' => 'col-md-12',
2455
- 'label_class' => '',
2456
- 'after' => ''
2457
- ),
2458
- array (
2459
- 'label' => 'Background Color',
2460
- 'name' => 'MBPBGColor',
2461
- 'type' => 'text',
2462
- 'class' => 'color',
2463
- 'value' => isset($param_values['MBPBGColor']) ? $param_values['MBPBGColor'] : '',
2464
- 'after' => ''
2465
- ),
2466
- array (
2467
- 'label' => 'Font Size',
2468
- 'name' => 'MBPFontSize',
2469
- 'type' => 'text',
2470
- 'class' => '13',
2471
- 'value' => isset($param_values['MBPFontSize']) ? $param_values['MBPFontSize'] : '',
2472
- 'after' => 'px'
2473
- ),
2474
- array (
2475
- 'label' => 'Font Weight',
2476
- 'name' => 'MBPFontWeight',
2477
- 'type' => 'select',
2478
- 'options' => $font_weights,
2479
- 'class' => '',
2480
- 'value' => isset($param_values['MBPFontWeight']) ? $param_values['MBPFontWeight'] : '',
2481
- 'after' => ''
2482
- ),
2483
- array (
2484
- 'label' => 'Color',
2485
- 'name' => 'MBPColor',
2486
- 'type' => 'text',
2487
- 'class' => 'color',
2488
- 'value' => isset($param_values['MBPColor']) ? $param_values['MBPColor'] : '',
2489
- 'after' => ''
2490
- ),
2491
- array (
2492
- 'label' => 'Text Align',
2493
- 'name' => 'MBPTextAlign',
2494
- 'type' => 'select',
2495
- 'options' => $aligns,
2496
- 'class' => '',
2497
- 'value' => isset($param_values['MBPTextAlign']) ? $param_values['MBPTextAlign'] : '',
2498
- 'after' => ''
2499
- ),
2500
- array (
2501
- 'label' => 'Padding',
2502
- 'name' => 'MBPPadding',
2503
- 'type' => 'text',
2504
- 'class' => '',
2505
- 'value' => isset($param_values['MBPPadding']) ? $param_values['MBPPadding'] : '',
2506
- 'after' => 'px/%'
2507
- ),
2508
- array (
2509
- 'label' => 'Margin',
2510
- 'name' => 'MBPMargin',
2511
- 'type' => 'text',
2512
- 'class' => '',
2513
- 'value' => isset($param_values['MBPMargin']) ? $param_values['MBPMargin'] : '',
2514
- 'after' => 'px/%'
2515
- ),
2516
- array (
2517
- 'label' => 'Border',
2518
- 'name' => 'MBPBorder',
2519
- 'type' => 'checkbox',
2520
- 'options' => $borders,
2521
- 'class' => '',
2522
- 'after' => ''
2523
- ),
2524
- array (
2525
- 'label' => 'Border Color',
2526
- 'name' => 'MBPBorderColor',
2527
- 'type' => 'text',
2528
- 'class' => 'color',
2529
- 'value' => isset($param_values['MBPBorderColor']) ? $param_values['MBPBorderColor'] : '',
2530
- 'after' => ''
2531
- ),
2532
- array (
2533
- 'label' => 'Border Type',
2534
- 'name' => 'MBPBorderType',
2535
- 'type' => 'select',
2536
- 'options' => $border_types,
2537
- 'class' => '',
2538
- 'value' => isset($param_values['MBPBorderType']) ? $param_values['MBPBorderType'] : '',
2539
- 'after' => ''
2540
- ),
2541
- array (
2542
- 'label' => 'Border Width',
2543
- 'name' => 'MBPBorderWidth',
2544
- 'type' => 'text',
2545
- 'class' => '',
2546
- 'value' => isset($param_values['MBPBorderWidth']) ? $param_values['MBPBorderWidth'] : '',
2547
- 'after' => 'px'
2548
- ),
2549
- array (
2550
- 'label' => 'Border Radius',
2551
- 'name' => 'MBPBorderRadius',
2552
- 'type' => 'text',
2553
- 'class' => '',
2554
- 'value' => isset($param_values['MBPBorderRadius']) ? $param_values['MBPBorderRadius'] : '',
2555
- 'after' => 'px'
2556
- ),
2557
- array (
2558
- 'label' => 'Hover Parameters',
2559
- 'type' => 'label',
2560
- 'class' => 'fm-mini-title',
2561
- 'after' => '<br/>'
2562
- ),
2563
- array (
2564
- 'label' => 'Background Color',
2565
- 'name' => 'MBHPBGColor',
2566
- 'type' => 'text',
2567
- 'class' => 'color',
2568
- 'value' => isset($param_values['MBHPBGColor']) ? $param_values['MBHPBGColor'] : '',
2569
- 'after' => ''
2570
- ),
2571
- array (
2572
- 'label' => 'Color',
2573
- 'name' => 'MBHPColor',
2574
- 'type' => 'text',
2575
- 'class' => 'color',
2576
- 'value' => isset($param_values['MBHPColor']) ? $param_values['MBHPColor'] : '',
2577
- 'after' => ''
2578
- ),
2579
- array (
2580
- 'label' => 'Border',
2581
- 'name' => 'MBHPBorder',
2582
- 'type' => 'checkbox',
2583
- 'options' => $borders,
2584
- 'class' => '',
2585
- 'after' => ''
2586
- ),
2587
- array (
2588
- 'label' => 'Border Color',
2589
- 'name' => 'MBHPBorderColor',
2590
- 'type' => 'text',
2591
- 'class' => 'color',
2592
- 'value' => isset($param_values['MBHPBorderColor']) ? $param_values['MBHPBorderColor'] : '',
2593
- 'after' => ''
2594
- ),
2595
- array (
2596
- 'label' => 'Border Type',
2597
- 'name' => 'MBHPBorderType',
2598
- 'type' => 'select',
2599
- 'options' => $border_types,
2600
- 'class' => '',
2601
- 'value' => isset($param_values['MBHPBorderType']) ? $param_values['MBHPBorderType'] : '',
2602
- 'after' => ''
2603
- ),
2604
- array (
2605
- 'label' => 'Border Width',
2606
- 'name' => 'MBHPBorderWidth',
2607
- 'type' => 'text',
2608
- 'class' => '',
2609
- 'value' => isset($param_values['MBHPBorderWidth']) ? $param_values['MBHPBorderWidth'] : '',
2610
- 'after' => 'px</div>'
2611
- )
2612
- ),
2613
-
2614
- 'other' => array(
2615
- array (
2616
- 'label' => 'Deactive Text',
2617
- 'type' => 'panel',
2618
- 'class' => 'col-md-12',
2619
- 'label_class' => 'fm-mini-title',
2620
- 'after' => '<br/>'
2621
- ),
2622
- array (
2623
- 'label' => 'Color',
2624
- 'name' => 'OPDeInputColor',
2625
- 'type' => 'text',
2626
- 'class' => 'color',
2627
- 'value' => isset($param_values['OPDeInputColor']) ? $param_values['OPDeInputColor'] : '',
2628
- 'after' => ''
2629
- ),
2630
- array (
2631
- 'label' => 'Font Style',
2632
- 'name' => 'OPFontStyle',
2633
- 'type' => 'text',
2634
- 'class' => '',
2635
- 'value' => isset($param_values['OPFontStyle']) ? $param_values['OPFontStyle'] : '',
2636
- 'after' => ''
2637
- ),
2638
- array (
2639
- 'label' => 'Required',
2640
- 'type' => 'label',
2641
- 'class' => 'fm-mini-title',
2642
- 'after' => '<br/>'
2643
- ),
2644
- array (
2645
- 'label' => 'Color',
2646
- 'name' => 'OPRColor',
2647
- 'type' => 'text',
2648
- 'class' => 'color',
2649
- 'value' => isset($param_values['OPRColor']) ? $param_values['OPRColor'] : '',
2650
- 'after' => ''
2651
- ),
2652
- array (
2653
- 'label' => 'Date Picker',
2654
- 'type' => 'label',
2655
- 'class' => 'fm-mini-title',
2656
- 'after' => '<br/>'
2657
- ),
2658
- array (
2659
- 'label' => 'Background URL',
2660
- 'name' => 'OPDPIcon',
2661
- 'type' => 'text',
2662
- 'class' => '',
2663
- 'placeholder' => '',
2664
- 'value' => isset($param_values['OPDPIcon']) ? $param_values['OPDPIcon'] : '',
2665
- 'after' => ''
2666
- ),
2667
- array (
2668
- 'label' => 'Background Repeat',
2669
- 'name' => 'OPDPRepeat',
2670
- 'type' => 'select',
2671
- 'options' => $bg_repeats,
2672
- 'class' => '',
2673
- 'value' => isset($param_values['OPDPRepeat']) ? $param_values['OPDPRepeat'] : '',
2674
- 'after' => ''
2675
- ),
2676
- array (
2677
- 'label' => 'Background Position',
2678
- 'name1' => 'OPDPPos1',
2679
- 'name2' => 'OPDPPos2',
2680
- 'type' => '2text',
2681
- 'class' => 'fm-2text',
2682
- 'value1' => isset($param_values['OPDPPos1']) ? $param_values['OPDPPos1'] : '',
2683
- 'value2' => isset($param_values['OPDPPos2']) ? $param_values['OPDPPos2'] : '',
2684
- 'before1' => '',
2685
- 'before2' => '',
2686
- 'after' => '%/left..'
2687
- ),
2688
- array (
2689
- 'label' => 'Margin',
2690
- 'name' => 'OPDPMargin',
2691
- 'type' => 'text',
2692
- 'class' => '',
2693
- 'value' => isset($param_values['OPDPMargin']) ? $param_values['OPDPMargin'] : '',
2694
- 'after' => 'px/%'
2695
- ),
2696
- array (
2697
- 'label' => 'File Upload',
2698
- 'type' => 'label',
2699
- 'class' => 'fm-mini-title',
2700
- 'after' => '<br/>'
2701
- ),
2702
- array (
2703
- 'label' => 'Background URL',
2704
- 'name' => 'OPFBgUrl',
2705
- 'type' => 'text',
2706
- 'class' => '',
2707
- 'value' => isset($param_values['OPFBgUrl']) ? $param_values['OPFBgUrl'] : '',
2708
- 'after' => ''
2709
- ),
2710
- array (
2711
- 'label' => 'Background Repeat',
2712
- 'name' => 'OPFBGRepeat',
2713
- 'type' => 'select',
2714
- 'options' => $bg_repeats,
2715
- 'class' => '',
2716
- 'value' => isset($param_values['OPFBGRepeat']) ? $param_values['OPFBGRepeat'] : '',
2717
- 'after' => ''
2718
- ),
2719
- array (
2720
- 'label' => 'Background Position',
2721
- 'name1' => 'OPFPos1',
2722
- 'name2' => 'OPFPos2',
2723
- 'type' => '2text',
2724
- 'class' => 'fm-2text',
2725
- 'value1' => isset($param_values['OPFPos1']) ? $param_values['OPFPos1'] : '',
2726
- 'value2' => isset($param_values['OPFPos2']) ? $param_values['OPFPos2'] : '',
2727
- 'before1' => '',
2728
- 'before2' => '',
2729
- 'after' => '%/left..'
2730
- ),
2731
- array (
2732
- 'label' => 'Grading',
2733
- 'type' => 'label',
2734
- 'class' => 'fm-mini-title',
2735
- 'after' => '<br/>'
2736
- ),
2737
- array (
2738
- 'label' => 'Text Width',
2739
- 'name' => 'OPGWidth',
2740
- 'type' => 'text',
2741
- 'class' => '',
2742
- 'value' => isset($param_values['OPGWidth']) ? $param_values['OPGWidth'] : '',
2743
- 'after' => 'px</div>'
2744
- )
2745
- ),
2746
- 'custom_css' => array(
2747
- array (
2748
- 'label' => '',
2749
- 'type' => 'panel',
2750
- 'class' => 'col-md-12',
2751
- 'label_class' => '',
2752
- 'after' => ''
2753
- ),
2754
- array (
2755
- 'label' => 'Custom CSS',
2756
- 'name' => 'CUPCSS',
2757
- 'type' => 'textarea',
2758
- 'class' => '',
2759
- 'value' => isset($param_values['CUPCSS']) ? $param_values['CUPCSS'] : '',
2760
- 'after' => '</div>'
2761
- ),
2762
- )
2763
- );
2764
- $active_tab = isset($_REQUEST["active_tab"]) && $_REQUEST["active_tab"] ? $_REQUEST["active_tab"] : ($row->version == 1 ? 'custom_css' : 'global');
2765
- $pagination = isset($_REQUEST["pagination"]) ? $_REQUEST["pagination"] : 'none';
2766
-
2767
- ?>
2768
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
2769
-
2770
- <div ng-app="ThemeParams">
2771
- <div ng-controller="FMTheme">
2772
- <form id="fm-themes-form" method="post" action="admin.php?page=themes_fm">
2773
- <?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
2774
- <div class="fm-page-header">
2775
- <div class="fm-logo">
2776
- </div>
2777
- <div class="fm-page-title">
2778
- <?php echo $page_title; ?>
2779
- </div>
2780
- <div class="fm-page-actions">
2781
- <?php if ($id) { ?>
2782
- <button class="fm-button save-as-copy-button medium" onclick="if (fm_check_required('title', 'Title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'save_as_copy');">
2783
- <span></span>
2784
- Save as Copy
2785
- </button>
2786
- <?php } ?>
2787
- <button class="fm-button save-button medium" onclick="if (fm_check_required('title', 'Title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'save');">
2788
- <span></span>
2789
- Save
2790
- </button>
2791
- <button class="fm-button apply-button medium" onclick="if (fm_check_required('title', 'Title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'apply');">
2792
- <span></span>
2793
- Apply
2794
- </button>
2795
- <button class="fm-button cancel-button medium" onclick="fm_set_input_value('task', 'cancel');">
2796
- <span></span>
2797
- Cancel
2798
- </button>
2799
- </div>
2800
- <div class="fm-clear"></div>
2801
- </div>
2802
-
2803
- <input type="hidden" id="task" name="task" value=""/>
2804
- <input type="hidden" id="params" name="params" value=""/>
2805
- <input type="hidden" id="current_id" name="current_id" value="<?php echo $row->id; ?>"/>
2806
- <input type="hidden" id="default" name="default" value="<?php echo $row->default; ?>"/>
2807
- <input type="hidden" name="active_tab" id="active_tab" value="<?php echo $active_tab; ?>" />
2808
-
2809
- <style>
2810
- .fm-form{
2811
- background-color:{{GPBGColor}} !important;
2812
- font-family:{{GPFontFamily}} !important;
2813
- width:{{AGPWidth}}% !important;
2814
- padding:{{AGPPadding}} !important;
2815
- margin:{{AGPMargin}} !important;
2816
- border-radius:{{AGPBorderRadius}}px !important;
2817
- box-shadow:{{AGPBoxShadow}} !important;
2818
- position: relative !important;
2819
- }
2820
-
2821
- .fm-form-header.alignLeft,
2822
- .fm-form-content.alignLeft{
2823
- border-radius:{{AGPBorderRadius}}px !important;
2824
- }
2825
-
2826
- .fm-form.borderRight{
2827
- border-right:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2828
- }
2829
-
2830
- .fm-form.borderLeft{
2831
- border-left:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2832
- }
2833
-
2834
- .fm-form.borderTop{
2835
- border-top:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2836
- }
2837
-
2838
- .fm-form.borderBottom{
2839
- border-bottom:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2840
- }
2841
-
2842
- .fm-form-content{
2843
- font-size:{{GPFontSize}}px !important;
2844
- font-weight:{{GPFontWeight}} !important;
2845
- width:{{GPWidth}}% !important;
2846
- color:{{GPColor}} !important;
2847
- padding:{{GPPadding}} !important;
2848
- margin:{{GPMargin}} !important;
2849
- border-radius:{{GPBorderRadius}}px !important;
2850
- }
2851
-
2852
- .fm-form-content.isBG{
2853
- background:url(<?php echo WD_FM_URL; ?>/{{GPBackground}}) {{GPBackgroundRepeat}} {{GPBGPosition1}} {{GPBGPosition2}} !important;
2854
- background-size: {{GPBGSize1}} {{GPPBGSize2}} !important;
2855
- }
2856
-
2857
- .fm-form-content.borderRight{
2858
- border-right:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2859
- }
2860
-
2861
- .fm-form-content.borderLeft{
2862
- border-left:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2863
- }
2864
-
2865
- .fm-form-content.borderTop{
2866
- border-top:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2867
- }
2868
-
2869
- .fm-form-content.borderBottom{
2870
- border-bottom:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2871
- }
2872
-
2873
- .fm-form-content label{
2874
- font-size:{{GPFontSize}}px !important;
2875
- }
2876
-
2877
- .fm-form-content .fm-section{
2878
- background-color:{{SEPBGColor}} !important;
2879
- padding:{{SEPPadding}} !important;
2880
- margin:{{SEPMargin}} !important;
2881
- }
2882
-
2883
-
2884
- .fm-form-content .fm-column{
2885
- padding:{{COPPadding}} !important;
2886
- margin:{{COPMargin}} !important;
2887
- }
2888
-
2889
- .fm-form-content input[type="text"],
2890
- .fm-form-content select{
2891
- font-size:{{IPFontSize}}px !important;
2892
- font-weight:{{IPFontWeight}} !important;
2893
- height:{{IPHeight}}px !important;
2894
- line-height:{{IPHeight}}px !important;
2895
- background-color:{{IPBGColor}} !important;
2896
- color:{{IPColor}} !important;
2897
- padding:{{IPPadding}} !important;
2898
- margin:{{IPMargin}} !important;
2899
- border-radius:{{IPBorderRadius}}px !important;
2900
- box-shadow:{{IPBoxShadow}} !important;
2901
- border:none !important;
2902
- }
2903
-
2904
- .fm-form-content input[type="text"].borderRight,
2905
- .fm-form-content select.borderRight{
2906
- border-right:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2907
- }
2908
-
2909
- .fm-form-content input[type="text"].borderLeft,
2910
- .fm-form-content select.borderLeft{
2911
- border-left:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2912
- }
2913
-
2914
- .fm-form-content input[type="text"].borderTop,
2915
- .fm-form-content select.borderTop{
2916
- border-top:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2917
- }
2918
-
2919
- .fm-form-content input[type="text"].borderBottom,
2920
- .fm-form-content select.borderBottom{
2921
- border-bottom:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2922
- }
2923
-
2924
- .fm-form-content select{
2925
- appearance: {{SBPAppearance}} !important;
2926
- -moz-appearance: {{SBPAppearance}} !important;
2927
- -webkit-appearance: {{SBPAppearance}} !important;
2928
- background:{{IPBGColor}} !important;
2929
- }
2930
-
2931
- .fm-form-content select.isBG{
2932
- background:{{IPBGColor}} url(<?php echo WD_FM_URL; ?>/{{SBPBackground}}) {{SBPBGRepeat}} {{SBPBGPos1}} {{SBPBGPos2}} !important;
2933
- background-size: {{SBPBGSize1}} {{SBPBGSize2}} !important;
2934
- }
2935
-
2936
- .fm-form-example label.mini_label{
2937
- font-size:{{GPMLFontSize}}px !important;
2938
- font-weight:{{GPMLFontWeight}} !important;
2939
- color:{{GPMLColor}} !important;
2940
- padding:{{GPMLPadding}} !important;
2941
- margin:{{GPMLMargin}} !important;
2942
- width: initial !important;
2943
- }
2944
-
2945
- .fm-button-reset {
2946
- background-color:{{BPBGColor}} !important;
2947
- color:{{BPColor}} !important;
2948
- height:{{BPHeight}}px !important;
2949
- width:{{BPWidth}}px !important;
2950
- margin:{{BPMargin}} !important;
2951
- padding:{{BPPadding}} !important;
2952
- box-shadow:{{BPBoxShadow}} !important;
2953
- border-radius:{{BPBorderRadius}}px !important;
2954
- outline: none !important;
2955
- border: none !important;
2956
- }
2957
-
2958
- .fm-button-reset.borderRight {
2959
- border-right:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2960
- }
2961
-
2962
- .fm-button-reset.borderLeft {
2963
- border-left:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2964
- }
2965
-
2966
- .fm-button-reset.borderTop {
2967
- border-top:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2968
- }
2969
-
2970
- .fm-button-reset.borderBottom {
2971
- border-bottom:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2972
- }
2973
-
2974
- .fm-button-reset:hover {
2975
- background-color:{{BHPBGColor}} !important;
2976
- color:{{BHPColor}} !important;
2977
- outline: none;
2978
- border: none !important;
2979
- }
2980
-
2981
- .fm-button-reset.borderHoverRight:hover {
2982
- border-right:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2983
- }
2984
-
2985
- .fm-button-reset.borderHoverLeft:hover {
2986
- border-left:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2987
- }
2988
-
2989
- .fm-button-reset.borderHoverTop:hover {
2990
- border-top:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2991
- }
2992
-
2993
- .fm-button-reset.borderHoverBottom:hover {
2994
- border-bottom:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2995
- }
2996
-
2997
- .fm-form-content button,
2998
- .fm-wdform-page-button{
2999
- font-size: {{BPFontSize}}px !important;
3000
- font-weight: {{BPFontWeight}} !important;
3001
- }
3002
-
3003
- .fm-previous-page .fm-wdform-page-button{
3004
- background-color:{{PBPBGColor}} !important;
3005
- color:{{PBPColor}} !important;
3006
- height:{{PBPHeight}}px !important;
3007
- line-height:{{PBPLineHeight}}px !important;
3008
- width:{{PBPWidth}}px !important;
3009
- margin:{{PBPMargin}} !important;
3010
- padding:{{PBPPadding}} !important;
3011
- border-radius:{{PBPBorderRadius}}px !important;
3012
- box-shadow:{{PBPBoxShadow}} !important;
3013
- outline: none !important;
3014
- }
3015
-
3016
- .fm-previous-page .fm-wdform-page-button.borderRight {
3017
- border-right:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3018
- }
3019
-
3020
- .fm-previous-page .fm-wdform-page-button.borderLeft {
3021
- border-left:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3022
- }
3023
-
3024
- .fm-previous-page .fm-wdform-page-button.borderTop {
3025
- border-top:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3026
- }
3027
-
3028
- .fm-previous-page .fm-wdform-page-button.borderBottom {
3029
- border-bottom:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3030
- }
3031
-
3032
- .fm-previous-page .fm-wdform-page-button:hover {
3033
- background-color:{{PBHPBGColor}} !important;
3034
- color:{{PBHPColor}} !important;
3035
- }
3036
-
3037
- .fm-previous-page .fm-wdform-page-button.borderHoverRight:hover {
3038
- border-right:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3039
- }
3040
-
3041
- .fm-previous-page .fm-wdform-page-button.borderHoverLeft:hover {
3042
- border-left:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3043
- }
3044
-
3045
- .fm-previous-page .fm-wdform-page-button.borderHoverTop:hover {
3046
- border-top:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3047
- }
3048
-
3049
- .fm-previous-page .fm-wdform-page-button.borderHoverBottom:hover {
3050
- border-bottom:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3051
- }
3052
-
3053
-
3054
- .fm-next-page .fm-wdform-page-button{
3055
- background-color:{{NBPBGColor}} !important;
3056
- color:{{NBPColor}} !important;
3057
- height:{{NBPHeight}}px !important;
3058
- line-height:{{NBPLineHeight}}px !important;
3059
- width:{{NBPWidth}}px !important;
3060
- margin:{{NBPMargin}} !important;
3061
- padding:{{NBPPadding}} !important;
3062
- border-radius:{{NBPBorderRadius}}px !important;
3063
- box-shadow:{{NBPBoxShadow}} !important;
3064
- }
3065
-
3066
- .fm-next-page .fm-wdform-page-button.borderRight {
3067
- border-right:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3068
- }
3069
-
3070
- .fm-next-page .fm-wdform-page-button.borderLeft {
3071
- border-left:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3072
- }
3073
-
3074
- .fm-next-page .fm-wdform-page-button.borderTop {
3075
- border-top:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3076
- }
3077
-
3078
- .fm-next-page .fm-wdform-page-button.borderBottom {
3079
- border-bottom:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3080
- }
3081
-
3082
- .fm-next-page .fm-wdform-page-button:hover {
3083
- background-color:{{NBHPBGColor}} !important;
3084
- color:{{NBHPColor}} !important;
3085
- outline: none !important;
3086
- }
3087
-
3088
- .fm-next-page .fm-wdform-page-button.borderHoverRight:hover {
3089
- border-right:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3090
- }
3091
-
3092
- .fm-next-page .fm-wdform-page-button.borderHoverLeft:hover {
3093
- border-left:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3094
- }
3095
-
3096
- .fm-next-page .fm-wdform-page-button.borderHoverTop:hover {
3097
- border-top:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3098
- }
3099
-
3100
- .fm-next-page .fm-wdform-page-button.borderHoverBottom:hover {
3101
- border-bottom:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3102
- }
3103
-
3104
- .fm-button-subscribe {
3105
- background-color:{{SPBGColor}} !important;
3106
- font-size:{{SPFontSize}}px !important;
3107
- font-weight:{{SPFontWeight}} !important;
3108
- color:{{SPColor}} !important;
3109
- height:{{SPHeight}}px !important;
3110
- width:{{SPWidth}}px !important;
3111
- margin:{{SPMargin}} !important;
3112
- padding:{{SPPadding}} !important;
3113
- box-shadow:{{SPBoxShadow}} !important;
3114
- border-radius: {{SPBorderRadius}}px !important;
3115
- outline: none !important;
3116
- border: none !important;
3117
- }
3118
-
3119
- .fm-button-subscribe.borderRight {
3120
- border-right:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3121
- }
3122
-
3123
- .fm-button-subscribe.borderLeft {
3124
- border-left:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3125
- }
3126
-
3127
- .fm-button-subscribe.borderTop {
3128
- border-top:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3129
- }
3130
-
3131
- .fm-button-subscribe.borderBottom {
3132
- border-bottom:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3133
- }
3134
-
3135
- .fm-button-subscribe:hover {
3136
- background-color:{{SHPBGColor}} !important;
3137
- color:{{SHPColor}} !important;
3138
- outline: none !important;
3139
- border: none !important;
3140
- }
3141
-
3142
- .fm-button-subscribe.borderHoverRight:hover {
3143
- border-right:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3144
- }
3145
-
3146
- .fm-button-subscribe.borderHoverLeft:hover {
3147
- border-left:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3148
- }
3149
-
3150
- .fm-button-subscribe.borderHoverTop:hover {
3151
- border-top:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3152
- }
3153
-
3154
- .fm-button-subscribe.borderHoverBottom:hover {
3155
- border-bottom:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3156
- }
3157
-
3158
- .radio-div label span {
3159
- height:{{SCPHeight}}px !important;
3160
- width:{{SCPWidth}}px !important;
3161
- background-color:{{SCPBGColor}} !important;
3162
- margin:{{SCPMargin}} !important;
3163
- box-shadow:{{SCPBoxShadow}} !important;
3164
- border-radius: {{SCPBorderRadius}}px !important;
3165
- border: none !important;
3166
- display: inline-block !important;
3167
- vertical-align: middle !important;
3168
- box-sizing: content-box !important;
3169
- }
3170
-
3171
- .radio-div input[type='radio']:checked + label span:after {
3172
- content: '';
3173
- width:{{SCCPWidth}}px !important;
3174
- height:{{SCCPHeight}}px !important;
3175
- background:{{SCCPBGColor}} !important;
3176
- border-radius:{{SCCPBorderRadius}}px !important;
3177
- margin:{{SCCPMargin}}px !important;
3178
- display: block !important;
3179
- }
3180
-
3181
- .radio-div label span.borderRight {
3182
- border-right:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3183
- }
3184
-
3185
- .radio-div label span.borderLeft {
3186
- border-left:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3187
- }
3188
-
3189
- .radio-div label span.borderTop {
3190
- border-top:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3191
- }
3192
-
3193
- .radio-div label span.borderBottom {
3194
- border-bottom:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3195
- }
3196
-
3197
- .checkbox-div label span {
3198
- height:{{MCPHeight}}px !important;
3199
- width:{{MCPWidth}}px !important;
3200
- background-color:{{MCPBGColor}} !important;
3201
- margin:{{MCPMargin}} !important;
3202
- box-shadow:{{MCPBoxShadow}} !important;
3203
- border-radius: {{MCPBorderRadius}}px !important;
3204
- border: none !important;
3205
- display: inline-block !important;
3206
- vertical-align: middle !important;
3207
- box-sizing: content-box !important;
3208
- }
3209
-
3210
- .checkbox-div input[type='checkbox']:checked + label span:after {
3211
- content: '';
3212
- width:{{MCCPWidth}}px !important;
3213
- height:{{MCCPHeight}}px !important;
3214
- border-radius:{{MCCPBorderRadius}}px !important;
3215
- margin:{{MCCPMargin}}px !important;
3216
- display: block !important;
3217
- background:{{MCCPBGColor}} !important;
3218
- }
3219
-
3220
- .checkbox-div.isBG input[type='checkbox']:checked + label span:after{
3221
- background:{{MCCPBGColor}} url(<?php echo WD_FM_URL; ?>/{{MCCPBackground}}) {{MCCPBGRepeat}} {{MCCPBGPos1}} {{MCCPBGPos2}} !important;
3222
- }
3223
-
3224
- .checkbox-div label span.borderRight {
3225
- border-right:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3226
- }
3227
-
3228
- .checkbox-div label span.borderLeft {
3229
- border-left:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3230
- }
3231
-
3232
- .checkbox-div label span.borderTop {
3233
- border-top:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3234
- }
3235
-
3236
- .checkbox-div label span.borderBottom {
3237
- border-bottom:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3238
- }
3239
-
3240
- .fm-form-pagination {
3241
- width:{{AGPWidth}}% !important;
3242
- margin:{{AGPMargin}} !important;
3243
- }
3244
-
3245
- .fm-footer{
3246
- font-size:{{GPFontSize}}px !important;
3247
- font-weight:{{GPFontWeight}} !important;
3248
- width:{{FPWidth}}% !important;
3249
- padding:{{FPPadding}} !important;
3250
- margin:{{FPMargin}} !important;
3251
- color:{{GPColor}} !important;
3252
- clear: both !important;
3253
- }
3254
-
3255
- .fm-pages-steps{
3256
- text-align: {{PSAPAlign}} !important;
3257
- }
3258
-
3259
- .active-step{
3260
- background-color: {{PSAPBGColor}} !important;
3261
- font-size: {{PSAPFontSize}}px !important;
3262
- font-weight: {{PSAPFontWeight}} !important;
3263
- color: {{PSAPColor}} !important;
3264
- width: {{PSAPWidth}}px !important;
3265
- height: {{PSAPHeight}}px !important;
3266
- line-height: {{PSAPLineHeight}}px !important;
3267
- margin: {{PSAPMargin}} !important;
3268
- padding: {{PSAPPadding}} !important;
3269
- border-radius: {{PSAPBorderRadius}}px !important;
3270
-
3271
- text-align: center !important;
3272
- display: inline-block !important;
3273
- cursor: pointer !important;
3274
- }
3275
-
3276
- .active-step.borderRight {
3277
- border-right:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3278
- }
3279
-
3280
- .active-step.borderLeft {
3281
- border-left:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3282
- }
3283
-
3284
- .active-step.borderTop {
3285
- border-top:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3286
- }
3287
-
3288
- .active-step.borderBottom {
3289
- border-bottom:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3290
- }
3291
-
3292
- .deactive-step{
3293
- background-color: {{PSDPBGColor}} !important;
3294
- font-size: {{PSDPFontSize}}px !important;
3295
- font-weight: {{PSDPFontWeight}} !important;
3296
- color: {{PSDPColor}} !important;
3297
- width: {{PSAPWidth}}px !important;
3298
- height: {{PSDPHeight}}px !important;
3299
- line-height: {{PSDPLineHeight}}px !important;
3300
- margin: {{PSDPMargin}} !important;
3301
- padding: {{PSDPPadding}} !important;
3302
- border-radius: {{PSDPBorderRadius}}px !important;
3303
-
3304
- text-align: center !important;
3305
- display: inline-block !important;
3306
- cursor: pointer !important;
3307
- }
3308
-
3309
- .deactive-step.borderRight {
3310
- border-right:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3311
- }
3312
-
3313
- .deactive-step.borderLeft {
3314
- border-left:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3315
- }
3316
-
3317
- .deactive-step.borderTop {
3318
- border-top:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3319
- }
3320
-
3321
- .deactive-step.borderBottom {
3322
- border-bottom:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3323
- }
3324
-
3325
- .active-percentage {
3326
- background-color: {{PSAPBGColor}} !important;
3327
- font-size: {{PSAPFontSize}}px !important;
3328
- font-weight: {{PSAPFontWeight}} !important;
3329
- color: {{PSAPColor}} !important;
3330
- width: {{PSAPWidth}}px !important;
3331
- height: {{PSAPHeight}}px !important;
3332
- line-height: {{PSAPLineHeight}}px !important;
3333
- margin: {{PSAPMargin}} !important;
3334
- padding: {{PSAPPadding}} !important;
3335
- border-radius: {{PSAPBorderRadius}}px !important;
3336
-
3337
- display: inline-block !important;
3338
- }
3339
-
3340
- .active-percentage.borderRight {
3341
- border-right:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3342
- }
3343
-
3344
- .active-percentage.borderLeft {
3345
- border-left:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3346
- }
3347
-
3348
- .active-percentage.borderTop {
3349
- border-top:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3350
- }
3351
-
3352
- .active-percentage.borderBottom {
3353
- border-bottom:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3354
- }
3355
-
3356
- .deactive-percentage {
3357
- background-color: {{PSDPBGColor}} !important;
3358
- font-size: {{PSDPFontSize}}px !important;
3359
- font-weight: {{PSDPFontWeight}} !important;
3360
- color: {{PSDPColor}} !important;
3361
- width: {{PPAPWidth}} !important;
3362
- height: {{PSDPHeight}}px !important;
3363
- line-height: {{PSDPLineHeight}}px !important;
3364
- margin: {{PSDPMargin}} !important;
3365
- padding: {{PSDPPadding}} !important;
3366
- border-radius: {{PSDPBorderRadius}}px !important;
3367
-
3368
- display: inline-block !important;
3369
- }
3370
-
3371
- .deactive-percentage.borderRight {
3372
- border-right:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3373
- }
3374
-
3375
- .deactive-percentage.borderLeft {
3376
- border-left:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3377
- }
3378
-
3379
- .deactive-percentage.borderTop {
3380
- border-top:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3381
- }
3382
-
3383
- .deactive-percentage.borderBottom {
3384
- border-bottom:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3385
- }
3386
-
3387
- .fm-close-icon {
3388
- color: {{CBPColor}} !important;
3389
- font-size: {{CBPFontSize}}px !important;
3390
- font-weight: {{CBPFontWeight}} !important;
3391
- text-align: center !important;
3392
- }
3393
-
3394
- .fm-close {
3395
- position: {{CBPPosition}} !important;
3396
- top: {{CBPTop}} !important;
3397
- right: {{CBPRight}} !important;
3398
- bottom: {{CBPBottom}} !important;
3399
- left: {{CBPLeft}} !important;
3400
- background-color: {{CBPBGColor}} !important;
3401
- padding: {{CBPPadding}} !important;
3402
- margin: {{CBPMargin}} !important;
3403
- border-radius: {{CBPBorderRadius}}px !important;
3404
- border: none !important;
3405
- cursor: pointer !important;
3406
- }
3407
-
3408
- .fm-close.borderRight{
3409
- border-right:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3410
- }
3411
-
3412
- .fm-close.borderLeft{
3413
- border-left:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3414
- }
3415
-
3416
- .fm-close.borderTop{
3417
- border-top:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3418
- }
3419
-
3420
- .fm-close.borderBottom {
3421
- border-bottom:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3422
- }
3423
-
3424
- .fm-close:hover{
3425
- background-color:{{CBHPBGColor}} !important;
3426
- color:{{CBHPColor}} !important;
3427
- outline: none !important;
3428
- border: none !important;
3429
- }
3430
-
3431
- .fm-close.borderHoverRight:hover {
3432
- border-right:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3433
- }
3434
-
3435
- .fm-close.borderHoverLeft:hover {
3436
- border-left:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3437
- }
3438
-
3439
- .fm-close.borderHoverTop:hover{
3440
- border-top:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3441
- }
3442
-
3443
- .fm-close.borderHoverBottom:hover {
3444
- border-bottom:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3445
- }
3446
-
3447
- .fm-form-header {
3448
- background-color:{{HPBGColor}} !important;
3449
- width:{{HPWidth}}% !important;
3450
- padding:{{HPPadding}} !important;
3451
- margin:{{HPMargin}} !important;
3452
- border-radius:{{HPBorderRadius}}px !important;
3453
- }
3454
-
3455
- .fm-form-header .htitle {
3456
- font-size:{{HTPFontSize}}px !important;
3457
- color:{{HTPColor}} !important;
3458
- text-align:{{HPTextAlign}} !important;
3459
- padding: 10px 0 !important;
3460
- line-height:{{HTPFontSize}}px !important;
3461
- font-weight:{{HTPWeight}} !important;
3462
-
3463
- }
3464
-
3465
- .fm-form-header .himage img {
3466
- width:{{HIPWidth}}px !important;
3467
- height:{{HIPHeight}}px !important;
3468
- }
3469
-
3470
- .fm-form-header .himage.imageTop,
3471
- .fm-form-header .himage.imageBottom{
3472
- text-align:{{HPTextAlign}} !important;
3473
- }
3474
-
3475
-
3476
- .fm-form-header .hdescription {
3477
- font-size:{{HDPFontSize}}px !important;
3478
- color:{{HDPColor}} !important;
3479
- text-align:{{HPTextAlign}} !important;
3480
- padding: 5px 0 !important;
3481
- }
3482
-
3483
- .fm-form-header.borderRight{
3484
- border-right:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3485
- }
3486
-
3487
- .fm-form-header.borderLeft{
3488
- border-left:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3489
- }
3490
-
3491
- .fm-form-header.borderTop{
3492
- border-top:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3493
- }
3494
-
3495
- .fm-form-header.borderBottom{
3496
- border-bottom:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3497
- }
3498
-
3499
- .fm-form-header.alignLeft,
3500
- .fm-form-content.alignLeft {
3501
- display: table-cell !important;
3502
- vertical-align:middle !important;
3503
- }
3504
-
3505
- .wdform-required {
3506
- color: {{OPRColor}} !important;
3507
- }
3508
-
3509
- .fm-calendar-button {
3510
- position: relative !important;
3511
- }
3512
-
3513
- .fm-calendar-button span{
3514
- position: absolute !important;
3515
- padding: 10px !important;
3516
- pointer-events: none !important;
3517
- right: 3px !important;
3518
- top: 0px !important;
3519
-
3520
- width: 20px !important;
3521
- height: 20px !important;
3522
- margin: {{OPDPMargin}} !important;
3523
- background: url(<?php echo WD_FM_URL; ?>/{{OPDPIcon}}) {{OPDPRepeat}} {{OPDPPos1}} {{OPDPPos2}} !important;
3524
- }
3525
-
3526
- .subscribe-reset {
3527
- float: {{SPAlign}} !important;
3528
- margin-right:-15px !important;
3529
- }
3530
- </style>
3531
-
3532
- <div class="fm-themes fm-mailchimp container-fluid">
3533
- <div class="row">
3534
- <div class="col-md-6 col-sm-5">
3535
- <div class="fm-sidebar">
3536
- <div class="fm-row">
3537
- <label>Theme title: </label>
3538
- <input type="text" id="title" name="title" value="<?php echo $row->title; ?>"/>
3539
- </div>
3540
- <br />
3541
- </div>
3542
- <br />
3543
- <div class="fm-themes-tabs col-md-12">
3544
- <ul>
3545
- <?php
3546
- foreach($tabs as $tkey => $tab) {
3547
- $active_class = $active_tab == $tkey ? "fm-theme-active-tab" : "";
3548
- echo '<li><a id="'.$tkey.'" href="#" class="'.$active_class . ($row->version == 1 && $tkey != 'custom_css' ? ' fm-disabled' : '') . '">'.$tab.'</a></li>';
3549
- }
3550
- ?>
3551
- </ul>
3552
- <div class="fm-clear"></div>
3553
- <div class="fm-themes-tabs-container">
3554
- <?php
3555
- $k = 0;
3556
- foreach($all_params as $pkey => $params) {
3557
- $show_hide_class = $active_tab == $pkey ? '' : 'fm-hide';
3558
- echo '<div id="'.$pkey.'-content" class="fm-themes-container '.$show_hide_class.'">';
3559
- if ($row->version == 1 && $pkey == 'custom_css') {
3560
- echo '<div class="wd_error"><p>This theme is outdated. Theme Options are only available in new themes provided by Form Maker.
3561
- You can use Custom CSS panel to edit form styling, or alternatively select a new theme for your form.</p></div>';
3562
- }
3563
- foreach($params as $param){
3564
- /*
3565
- * New themes colorpicker conflict with others.
3566
- * Remove comments if no '#' is beeing saved with colors.
3567
- * */
3568
- /*if ($param["class"] == "color") {
3569
- if ($param["value"] != '' && strpos($param["value"], '#') === false) {
3570
- $param["value"] = '#' . $param["value"];
3571
- }
3572
- }*/
3573
- if($param["type"] == 'panel') {
3574
- echo '<div class="'.$param["class"].'">';
3575
- }
3576
- if($param["type"] != 'panel' || ($param["type"] == 'panel' && $param["label"]) )
3577
- echo '<div class="fm-row">';
3578
- if($param["type"] == 'panel' && $param["label"]) {
3579
- echo '<label class="'.$param["label_class"].'" >'.$param["label"].'</label>'.$param["after"];
3580
- } else {
3581
- if($param["type"] == 'text') {
3582
- echo '<label>'.$param["label"].'</label>
3583
- <input type="'.$param["type"].'" name="'.$param["name"].'" class="'.$param["class"].'" ng-model="'.$param["name"].'" ng-init="'.$param["name"].'=\''.$param["value"].'\'" value="'.$param["value"].'" placeholder="'.(isset($param["placeholder"]) ? $param["placeholder"] : "").'" />'.$param["after"];
3584
- }
3585
- else {
3586
- if($param["type"] == '2text') {
3587
- echo '<label>'.$param["label"].'</label>
3588
- <div class="'.$param["class"].'" style="display:inline-block; vertical-align: middle;">
3589
- <div style="display:table-row;">
3590
- <span style="display:table-cell;">'.$param["before1"].'</span><input type="text" name="'.$param["name1"].'" ng-model="'.$param["name1"].'" ng-init="'.$param["name1"].'=\''.$param["value1"].'\'" value="'.$param["value1"].'" placeholder="'.(isset($param["placeholder"]) ? $param["placeholder"] : "").'" style="display:table-cell; "/>'.$param["after"].'
3591
- </div>
3592
- <div style="display:table-row;">
3593
- <span style="display:table-cell;">'.$param["before2"].'</span><input type="text" name="'.$param["name2"].'" class="'.$param["class"].'" ng-model="'.$param["name2"].'" ng-init="'.$param["name2"].'=\''.$param["value2"].'\'" value="'.$param["value2"].'" placeholder="'.(isset($param["placeholder"]) ? $param["placeholder"] : "").'" style="display:table-cell; "/>'.$param["after"].'
3594
- </div>
3595
- </div>
3596
- ';
3597
-
3598
- }
3599
- else {
3600
- if($param["type"] == 'select') {
3601
- echo '<label>'.$param["label"].'</label>
3602
- <select name="'.$param["name"].'" ng-model="'.$param["name"].'" ng-init="'.$param["name"].'=\''.$param["value"].'\'">';
3603
- foreach($param["options"] as $option_key => $option) {
3604
- echo '<option value="'.$option_key.'">'.$option.'</option>';
3605
- }
3606
- echo '</select>'.$param["after"];
3607
- } else {
3608
- if($param["type"] == 'label') {
3609
- echo '<label class="'.$param["class"].'" >'.$param["label"].'</label>'.$param["after"];
3610
- } else {
3611
- if($param["type"] == 'checkbox') {
3612
- echo '<label>'.$param["label"].'</label>
3613
- <div class="fm-btn-group">';
3614
- foreach($param["options"] as $op_key => $option){
3615
- $init = isset($param_values[$param["name"].ucfirst($op_key)]) ? 'true' : 'false';
3616
- echo '<div class="fm-ch-button">
3617
- <input type="checkbox" id="'.$param["name"].ucfirst($op_key).'" name="'.$param["name"].ucfirst($op_key).'" value="'.$op_key.'" ng-model="'.$param["name"].ucfirst($op_key).'" ng-checked="'.$param["name"].ucfirst($op_key).'" ng-init="'.$param["name"].ucfirst($op_key).'='.$init.'"><label for="'.$param["name"].ucfirst($op_key).'">'.$option.'</label>
3618
- </div>';
3619
- }
3620
- echo '</div>';
3621
-
3622
- } else{
3623
- if($param["type"] == 'hidden') {
3624
- echo '<input type="'.$param["type"].'" />'.$param["after"];
3625
- } else {
3626
- if($param["type"] == 'textarea') {
3627
- echo '<label>'.$param["label"].'</label>
3628
- <textarea name="'.$param["name"].'" rows="5" columns="10" style="vertical-align:middle;">'.$param["value"].'</textarea>';
3629
- }
3630
- }
3631
-
3632
- }
3633
- }
3634
- }
3635
- }
3636
- }
3637
- }
3638
- if($param["type"] != 'panel' || ($param["type"] == 'panel' && $param["label"]) )
3639
- echo '</div>';
3640
- }
3641
- echo '</div>';
3642
- } ?>
3643
- </div>
3644
- </div>
3645
- </div>
3646
- </div>
3647
- <div class="fm-preview-form col-md-6 col-sm-7" style="display:none;">
3648
- <div class="form-example-preview fm-sidebar col-md-12">
3649
- <p>Preview</p>
3650
- <div class="fm-row">
3651
- <label>Pagination Type: </label>
3652
- <div class="pagination-type" ng-init="pagination='<?php echo $pagination; ?>'">
3653
- <input type="radio" id="step" name="pagination-type" value="step" ng-model="pagination"/>
3654
- <label for="step">Step</label>
3655
- <input type="radio" id="percentage" name="pagination-type" value="percentage" ng-model="pagination" />
3656
- <label for="percentage">Percentage</label>
3657
- <input type="radio" id="none" name="pagination-type" value="none" ng-model="pagination" />
3658
- <label for="none">None</label>
3659
- </div>
3660
- </div>
3661
- </div>
3662
- <div class="fm-clear"></div>
3663
- <br />
3664
- <div class="fm-content">
3665
- <div class="fm-form-example form-embedded">
3666
- <div class="fm-form-pagination">
3667
- <div class="fm-pages-steps" ng-show="pagination == 'step'">
3668
- <span class="active-step" ng-class="{borderRight : PSAPBorderRight, borderLeft : PSAPBorderLeft, borderBottom : PSAPBorderBottom, borderTop : PSAPBorderTop}">1(active)</span>
3669
- <span class="deactive-step" ng-class="{borderRight : PSDPBorderRight, borderLeft : PSDPBorderLeft, borderBottom : PSDPBorderBottom, borderTop : PSDPBorderTop}">2</span>
3670
- </div>
3671
- <div class="fm-pages-percentage" ng-show="pagination == 'percentage'">
3672
- <div class="deactive-percentage" ng-class="{borderRight : PSDPBorderRight, borderLeft : PSDPBorderLeft, borderBottom : PSDPBorderBottom, borderTop : PSDPBorderTop}">
3673
- <div class="active-percentage" ng-class="{borderRight : PSAPBorderRight, borderLeft : PSAPBorderLeft, borderBottom : PSAPBorderBottom, borderTop : PSAPBorderTop}" style="width: 50%;">
3674
- <b class="wdform_percentage_text">50%</b>
3675
- </div>
3676
- <div class="wdform_percentage_arrow">
3677
- </div>
3678
- </div>
3679
- </div>
3680
- <div>
3681
- </div>
3682
- </div>
3683
-
3684
- <div class="fm-form" ng-class="{borderRight : AGPBorderRight, borderLeft : AGPBorderLeft, borderBottom : AGPBorderBottom, borderTop : AGPBorderTop}">
3685
- <div ng-show="HPAlign != 'bottom' && HPAlign != 'right'" ng-class="{borderRight : HPBorderRight, borderLeft : HPBorderLeft, borderBottom : HPBorderBottom, borderTop : HPBorderTop, alignLeft : HPAlign == 'left'}" class="fm-form-header">
3686
- <div ng-show="HIPAlign != 'bottom' && HIPAlign != 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3687
- <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3688
- </div>
3689
- <div ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="htext">
3690
- <div class="htitle">Subscribe Our Newsletter </div>
3691
- <div class="hdescription">Join our mailing list to receive the latest news from our team.</div>
3692
- </div>
3693
- <div ng-show="HIPAlign == 'bottom' || HIPAlign == 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3694
- <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3695
- </div>
3696
- </div>
3697
-
3698
- <div class="fm-form-content" ng-class="{isBG : GPBackground != '', borderRight : GPBorderRight, borderLeft : GPBorderLeft, borderBottom : GPBorderBottom, borderTop : GPBorderTop, alignLeft : HPAlign == 'left' || HPAlign == 'right'}">
3699
- <div class="container-fluid">
3700
- <div class="embedded-form">
3701
- <div class="fm-section fm-{{GPAlign}}">
3702
- <div class="fm-column">
3703
- <div class="fm-row">
3704
- <div type="type_submitter_mail" class="wdform-field">
3705
- <div class="wdform-label-section" style="float: left; width: 90px;"><span class="wdform-label">E-mail:</span><span class="wdform-required">*</span>
3706
- </div>
3707
- <div class="wdform-element-section" style="width: 150px;">
3708
- <input type="text" value="example@example.com" style="width: 100%;" ng-class="{borderRight : IPBorderRight, borderLeft : IPBorderLeft, borderBottom : IPBorderBottom, borderTop : IPBorderTop}" />
3709
- </div>
3710
- </div>
3711
- </div>
3712
- <div class="fm-row">
3713
- <div type="type_country" class="wdform-field">
3714
- <div class="wdform-label-section" style="float: left; width: 90px;">
3715
- <span class="wdform-label">Country:</span>
3716
- </div>
3717
- <div class="wdform-element-section wdform_select" style=" width: 150px;">
3718
- <select style="width: 100%;" ng-class="{isBG : SBPBackground != '', borderRight : IPBorderRight, borderLeft : IPBorderLeft, borderBottom : IPBorderBottom, borderTop : IPBorderTop}">
3719
- <option value="Armenia">Armenia</option>
3720
- </select>
3721
- </div>
3722
- </div>
3723
- </div>
3724
-
3725
- <div class="fm-row">
3726
- <div type="type_radio" class="wdform-field">
3727
- <div class="wdform-label-section" style="float: left; width: 90px;">
3728
- <span class="wdform-label">Radio:</span>
3729
- </div>
3730
- <div class="wdform-element-section " style="display:table;">
3731
- <div style="display: table-row; vertical-align:top">
3732
- <div style="display: table-cell;">
3733
- <div class="radio-div check-rad">
3734
- <input type="radio" id="em-rad-op-1" value="option 1">
3735
- <label for="em-rad-op-1" class="mini_label">
3736
- <span ng-class="{borderRight : SCPBorderRight, borderLeft : SCPBorderLeft, borderBottom : SCPBorderBottom, borderTop : SCPBorderTop}"></span>option 1
3737
- </label>
3738
- </div>
3739
- </div>
3740
- </div>
3741
- </div>
3742
- </div>
3743
- </div>
3744
- <div class="fm-row">
3745
- <div type="type_checkbox" class="wdform-field">
3746
- <div class="wdform-label-section" style="float: left; width: 90px;">
3747
- <span class="wdform-label">Checkbox:</span>
3748
- </div>
3749
- <div class="wdform-element-section" style="display: table;">
3750
- <div style="display: table-row; vertical-align:top">
3751
- <div style="display: table-cell;">
3752
- <div class="checkbox-div forlabs" ng-class="{isBG : MCCPBackground != ''}">
3753
- <input type="checkbox" id="em-ch-op-1" value="option 1">
3754
- <label for="em-ch-op-1" class="mini_label"><span ng-class="{borderRight : MCPBorderRight, borderLeft : MCPBorderLeft, borderBottom : MCPBorderBottom, borderTop : MCPBorderTop}"></span>option 1</label>
3755
- </div>
3756
- </div>
3757
- </div>
3758
- </div>
3759
- </div>
3760
- </div>
3761
- <div class="fm-row">
3762
- <div type="type_date" class="wdform-field">
3763
- <div class="wdform-label-section" style="float: left; width: 90px;">
3764
- <span class="wdform-label">Date:</span>
3765
- </div>
3766
- <div class="wdform-element-section fm-calendar-button" style="width: 150px;">
3767
- <input type="text" value="" style="width: 100%;" ng-class="{borderRight : IPBorderRight, borderLeft : IPBorderLeft, borderBottom : IPBorderBottom, borderTop : IPBorderTop}" />
3768
- <span></span>
3769
- </div>
3770
- </div>
3771
- </div>
3772
- <div class="fm-row">
3773
- <div type="type_submit_reset" class="wdform-field subscribe-reset">
3774
- <div class="wdform-label-section" style="display: table-cell;"></div>
3775
- <div class="wdform-element-section" style="display: table-cell;">
3776
- <button type="button" class="fm-button-subscribe" ng-class="{borderRight : SPBorderRight, borderLeft : SPBorderLeft, borderBottom : SPBorderBottom, borderTop : SPBorderTop, borderHoverRight : SHPBorderRight, borderHoverLeft : SHPBorderLeft, borderHoverBottom : SHPBorderBottom, borderHoverTop : SHPBorderTop}" >Submit</button>
3777
- <button type="button" class="fm-button-reset" ng-class="{borderRight : BPBorderRight, borderLeft : BPBorderLeft, borderBottom : BPBorderBottom, borderTop : BPBorderTop, borderHoverRight : BHPBorderRight, borderHoverLeft : BHPBorderLeft, borderHoverBottom : BHPBorderBottom, borderHoverTop : BHPBorderTop}">Reset</button>
3778
- </div>
3779
- </div>
3780
- </div>
3781
- <div class="fm-clear"></div>
3782
- </div>
3783
-
3784
- </div>
3785
- <div class="fm-close-icon" ng-class="{borderRight : CBPBorderRight, borderLeft : CBPBorderLeft, borderBottom : CBPBorderBottom, borderTop : CBPBorderTop, borderHoverRight : CBHPBorderRight, borderHoverLeft : CBHPBorderLeft, borderHoverBottom : CBHPBorderBottom, borderHoverTop : CBHPBorderTop}">
3786
- <span class="fm-close fa fa-close" ng-class="{borderRight : CBPBorderRight, borderLeft : CBPBorderLeft, borderBottom : CBPBorderBottom, borderTop : CBPBorderTop, borderHoverRight : CBHPBorderRight, borderHoverLeft : CBHPBorderLeft, borderHoverBottom : CBHPBorderBottom, borderHoverTop : CBHPBorderTop}"></span>
3787
- </div>
3788
- <div class="fm-footer" ng-show="pagination != 'none'">
3789
- <div style="width: 100%;">
3790
- <div style="width: 100%; display: table;">
3791
- <div style="display: table-row-group;">
3792
- <div style="display: table-row;">
3793
- <div class="fm-previous-page" style="display: table-cell; width: 45%;">
3794
- <div class="fm-wdform-page-button" ng-class="{borderRight : PBPBorderRight, borderLeft : PBPBorderLeft, borderBottom : PBPBorderBottom, borderTop : PBPBorderTop, borderHoverRight : PBHPBorderRight, borderHoverLeft : PBHPBorderLeft, borderHoverBottom : PBHPBorderBottom, borderHoverTop : PBHPBorderTop}"><span class="fa fa-angle-double-left"></span> Previous</div>
3795
- </div>
3796
- <div class="page-numbers text-center" style="display: table-cell;">
3797
- <span>2/3</span>
3798
- </div>
3799
- <div class="fm-next-page" style="display: table-cell; width: 45%; text-align: right;">
3800
- <div class="fm-wdform-page-button" ng-class="{borderRight : NBPBorderRight, borderLeft : NBPBorderLeft, borderBottom : NBPBorderBottom, borderTop : NBPBorderTop, borderHoverRight : NBHPBorderRight, borderHoverLeft : NBHPBorderLeft, borderHoverBottom : NBHPBorderBottom, borderHoverTop : NBHPBorderTop}">Next <span class="fa fa-angle-double-right"></span></div>
3801
- </div>
3802
- </div>
3803
- </div>
3804
- </div>
3805
- </div>
3806
- </div>
3807
- </div>
3808
- </div>
3809
- </div>
3810
- <div ng-show="HPAlign == 'bottom' || HPAlign == 'right'" ng-class="{borderRight : HPBorderRight, borderLeft : HPBorderLeft, borderBottom : HPBorderBottom, borderTop : HPBorderTop, alignLeft : HPAlign == 'right'}" class="fm-form-header">
3811
- <div ng-show="HIPAlign != 'bottom' && HIPAlign != 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3812
- <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3813
- </div>
3814
- <div ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="htext">
3815
- <div class="htitle">Subscribe Our Newsletter </div>
3816
- <div class="hdescription">Join our mailing list to receive the latest news from our team.</div>
3817
- </div>
3818
- <div ng-show="HIPAlign == 'bottom' || HIPAlign == 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3819
- <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3820
- </div>
3821
- </div>
3822
- </div>
3823
- </div>
3824
- <div class="fm-clear"></div>
3825
- </div>
3826
- </div>
3827
- </div>
3828
- </div>
3829
- </form>
3830
- </div>
3831
- </div>
3832
- <script>
3833
- angular.module('ThemeParams', []).controller('FMTheme', function($scope) {
3834
- });
3835
-
3836
- (function(jQuery){
3837
- jQuery.fn.serializeObject = function(){
3838
-
3839
- var self = this,
3840
- json = {},
3841
- push_counters = {},
3842
- patterns = {
3843
- "validate": /^[a-zA-Z][a-zA-Z0-9_]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,
3844
- "key": /[a-zA-Z0-9_]+|(?=\[\])/g,
3845
- "push": /^$/,
3846
- "fixed": /^\d+$/,
3847
- "named": /^[a-zA-Z0-9_]+$/
3848
- };
3849
-
3850
- this.build = function(base, key, value){
3851
- base[key] = value;
3852
- return base;
3853
- };
3854
-
3855
- this.push_counter = function(key){
3856
- if(push_counters[key] === undefined){
3857
- push_counters[key] = 0;
3858
- }
3859
- return push_counters[key]++;
3860
- };
3861
-
3862
- jQuery.each(jQuery(this).serializeArray(), function(){
3863
-
3864
- // skip invalid keys
3865
- if(!patterns.validate.test(this.name)){
3866
- return;
3867
- }
3868
-
3869
- var k,
3870
- keys = this.name.match(patterns.key),
3871
- merge = this.value,
3872
- reverse_key = this.name;
3873
-
3874
- while((k = keys.pop()) !== undefined){
3875
-
3876
- // adjust reverse_key
3877
- reverse_key = reverse_key.replace(new RegExp("\\[" + k + "\\]$"), '');
3878
-
3879
- // push
3880
- if(k.match(patterns.push)){
3881
- merge = self.build([], self.push_counter(reverse_key), merge);
3882
- }
3883
-
3884
- // fixed
3885
- else if(k.match(patterns.fixed)){
3886
- merge = self.build([], k, merge);
3887
- }
3888
-
3889
- // named
3890
- else if(k.match(patterns.named)){
3891
- merge = self.build({}, k, merge);
3892
- }
3893
- }
3894
-
3895
- json = jQuery.extend(true, json, merge);
3896
- });
3897
-
3898
- return json;
3899
- };
3900
- })(jQuery);
3901
-
3902
- jQuery(".fm-themes-tabs li a").click(function(){
3903
- jQuery(".fm-themes-tabs-container .fm-themes-container").hide();
3904
- jQuery(".fm-themes-tabs li a").removeClass("fm-theme-active-tab");
3905
- jQuery("#"+jQuery(this).attr("id")+'-content').show();
3906
- jQuery(this).addClass("fm-theme-active-tab");
3907
- jQuery("#active_tab").val(jQuery(this).attr("id"));
3908
- return false;
3909
- });
3910
-
3911
-
3912
- function submitbutton() {
3913
- var all_params = <?php echo $row->version == 1 ? 'jQuery(\'textarea[name=CUPCSS]\').serializeObject()' : 'jQuery(\'#fm-themes-form\').serializeObject()'; ?>;
3914
- jQuery('#params').val(JSON.stringify(all_params).replace('<?php echo WD_FM_URL ?>', 'WD_FM_URL'));
3915
- return true;
3916
- }
3917
-
3918
- jQuery('.color').spectrum({
3919
- showAlpha: true,
3920
- showInput: true,
3921
- showSelectionPalette: true,
3922
- preferredFormat: "hex",
3923
- allowEmpty: true,
3924
- move: function(color){
3925
- jQuery(this).val(color);
3926
- jQuery(this).trigger("change");
3927
- },
3928
- change: function(color){
3929
- jQuery(this).val(color);
3930
- jQuery(this).trigger("change");
3931
- }
3932
- });
3933
-
3934
- setTimeout(function(){
3935
- jQuery('.fm-preview-form').show();
3936
- }, 1500);
3937
-
3938
- setTimeout(function(){
3939
- var fm_form_example_pos = jQuery('.fm-content').offset().top;
3940
- jQuery(window).scroll(function() {
3941
- if(jQuery(this).scrollTop() > fm_form_example_pos) {
3942
- jQuery('.fm-content').css({'position' : 'fixed', 'top': '32px', 'z-index' : '10000', 'width' : jQuery(".form-example-preview").outerWidth()+'px'});
3943
-
3944
- } else{
3945
- jQuery('.fm-content').css({'position' : 'relative', 'top' : '32px', 'z-index' : '', 'width' : ''});
3946
- }
3947
- });
3948
-
3949
- }, 2500);
3950
-
3951
- </script>
3952
- <?php
3953
- }
3954
-
3955
- ////////////////////////////////////////////////////////////////////////////////////////
3956
- // Getters & Setters //
3957
- ////////////////////////////////////////////////////////////////////////////////////////
3958
- ////////////////////////////////////////////////////////////////////////////////////////
3959
- // Private Methods //
3960
- ////////////////////////////////////////////////////////////////////////////////////////
3961
- ////////////////////////////////////////////////////////////////////////////////////////
3962
- // Listeners //
3963
- ////////////////////////////////////////////////////////////////////////////////////////
 
3964
  }
1
+ <?php
2
+ class FMViewThemes_fm {
3
+ ////////////////////////////////////////////////////////////////////////////////////////
4
+ // Events //
5
+ ////////////////////////////////////////////////////////////////////////////////////////
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ // Constants //
8
+ ////////////////////////////////////////////////////////////////////////////////////////
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ // Variables //
11
+ ////////////////////////////////////////////////////////////////////////////////////////
12
+ private $model;
13
+
14
+ ////////////////////////////////////////////////////////////////////////////////////////
15
+ // Constructor & Destructor //
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ public function __construct($model) {
18
+ $this->model = $model;
19
+ }
20
+
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+ public function display() {
25
+ $rows_data = $this->model->get_rows_data();
26
+ $page_nav = $this->model->page_nav();
27
+ $search_value = ((isset($_POST['search_value'])) ? esc_html($_POST['search_value']) : '');
28
+ $search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
29
+ $asc_or_desc = ((isset($_POST['asc_or_desc']) && $_POST['asc_or_desc'] == 'desc') ? 'desc' : 'asc');
30
+ $order_by_array = array('id', 'title', 'default');
31
+ $order_by = isset($_POST['order_by']) && in_array(esc_html(stripslashes($_POST['order_by'])), $order_by_array) ? esc_html(stripslashes($_POST['order_by'])) : 'id';
32
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
+ $ids_string = '';
34
+ ?>
35
+ <form class="wrap" id="themes_form" method="post" action="admin.php?page=themes_fm">
36
+ <?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
37
+ <div class="fm-page-banner themes-banner">
38
+ <div class="theme_icon">
39
+ </div>
40
+ <div class="fm-logo-title">Themes</div>
41
+ <button class="fm-button add-button medium" style="margin-left: 31px;" onclick="fm_set_input_value('task', 'add'); fm_form_submit(event, 'themes_form');">
42
+ <span></span>
43
+ Add New
44
+ </button>
45
+ <div class="fm-page-actions">
46
+ <button class="fm-button save-as-copy-button medium" onclick="fm_set_input_value('task', 'copy_themes');">
47
+ <span></span>
48
+ Copy
49
+ </button>
50
+ <button class="fm-button delete-button medium" onclick="if (confirm('Do you want to delete selected item(s)?')) { fm_set_input_value('task', 'delete_all'); } else { return false; }">
51
+ <span></span>
52
+ Delete
53
+ </button>
54
+ </div>
55
+ </div>
56
+ <div class="fm-clear"></div>
57
+ <div class="tablenav top">
58
+ <?php
59
+ WDW_FM_Library::search('Title', $search_value, 'themes_form');
60
+ WDW_FM_Library::html_page_nav($page_nav['total'], $page_nav['limit'], 'themes_form');
61
+ ?>
62
+ </div>
63
+ <table class="wp-list-table widefat fixed pages">
64
+ <thead>
65
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;"/></th>
66
+ <th class="table_small_col <?php if ($order_by == 'id') { echo $order_class; } ?>">
67
+ <a onclick="fm_set_input_value('task', ''); fm_set_input_value('order_by', 'id'); fm_set_input_value('asc_or_desc', '<?php echo (($order_by == 'id' && $asc_or_desc == 'asc') ? 'desc' : 'asc'); ?>'); fm_form_submit(event, 'themes_form')" href="">
68
+ <span>ID</span><span class="sorting-indicator"></span></a>
69
+ </th>
70
+ <th class="<?php if ($order_by == 'title') { echo $order_class; } ?>">
71
+ <a onclick="fm_set_input_value('task', ''); fm_set_input_value('order_by', 'title'); fm_set_input_value('asc_or_desc', '<?php echo (($order_by == 'title' && $asc_or_desc == 'asc') ? 'desc' : 'asc'); ?>'); fm_form_submit(event, 'themes_form')" href="">
72
+ <span>Title</span><span class="sorting-indicator"></span></a>
73
+ </th>
74
+ <th class="table_big_col <?php if ($order_by == 'default') { echo $order_class; } ?>">
75
+ <a onclick="fm_set_input_value('task', ''); fm_set_input_value('order_by', 'default'); fm_set_input_value('asc_or_desc', '<?php echo (($order_by == 'default' && $asc_or_desc == 'asc') ? 'desc' : 'asc'); ?>'); fm_form_submit(event, 'themes_form')" href="">
76
+ <span>Default</span><span class="sorting-indicator"></span></a>
77
+ </th>
78
+ <th class="table_small_col">Edit</th>
79
+ <th class="table_small_col">Delete</th>
80
+ </thead>
81
+ <tbody id="tbody_arr">
82
+ <?php
83
+ if ($rows_data) {
84
+ foreach ($rows_data as $row_data) {
85
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
86
+ $default_image = (($row_data->default) ? 'default' : 'notdefault');
87
+ $default = (($row_data->default) ? '' : 'setdefault');
88
+ ?>
89
+ <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
90
+ <td class="table_small_col check-column">
91
+ <input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" type="checkbox"/>
92
+ </td>
93
+ <td class="table_small_col"><?php echo $row_data->id; ?></td>
94
+ <td>
95
+ <a onclick="fm_set_input_value('task', 'edit'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form')" href="" title="Edit"><?php echo $row_data->title; ?></a>
96
+ </td>
97
+ <td class="table_big_col">
98
+ <?php if ($default != '') { ?>
99
+ <a onclick="fm_set_input_value('task', '<?php echo $default; ?>'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form')" href="">
100
+ <?php } ?>
101
+ <img src="<?php echo WD_FM_URL . '/images/' . $default_image . '.png?ver='. WD_FM_VERSION.''; ?>" />
102
+ <?php if ($default != '') { ?>
103
+ </a>
104
+ <?php } ?>
105
+ </td>
106
+ <td class="table_small_col">
107
+ <button class="fm-icon edit-icon" onclick="fm_set_input_value('task', 'edit'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form');">
108
+ <span></span>
109
+ </button>
110
+ </td>
111
+ <td class="table_small_col">
112
+ <button class="fm-icon delete-icon" onclick="if (confirm('Do you want to delete selected item(s)?')) { fm_set_input_value('task', 'delete'); fm_set_input_value('current_id', '<?php echo $row_data->id; ?>'); fm_form_submit(event, 'themes_form'); } else {return false;}">
113
+ <span></span>
114
+ </button>
115
+ </td>
116
+ </tr>
117
+ <?php
118
+ $ids_string .= $row_data->id . ',';
119
+ }
120
+ }
121
+ ?>
122
+ </tbody>
123
+ </table>
124
+ <input id="task" name="task" type="hidden" value=""/>
125
+ <input id="current_id" name="current_id" type="hidden" value=""/>
126
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>"/>
127
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc"/>
128
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>"/>
129
+ </form>
130
+ <?php
131
+ }
132
+
133
+ public function edit($id, $reset) {
134
+ $row = $this->model->get_row_data($id, $reset);
135
+ $page_title = 'Theme: ' . $row->title;
136
+ $param_values = $row->css;
137
+ $border_types = array( 'solid' => 'Solid', 'dotted' => 'Dotted', 'dashed' => 'Dashed', 'double' => 'Double', 'groove' => 'Groove', 'ridge' => 'Ridge', 'inset' => 'Inset', 'outset' => 'Outset', 'initial' => 'Initial', 'inherit' => 'Inherit', 'hidden' => 'Hidden', 'none' => 'None' );
138
+ $borders = array('top' => 'Top', 'right' => 'Right', 'bottom' => 'Bottom', 'left' => 'Left' );
139
+ $border_values = array('top' => 'BorderTop', 'right' => 'BorderRight', 'bottom' => 'BorderBottom', 'left' => 'BorderLeft' );
140
+ $position_types = array('static' => 'Static', 'relative' => 'Relative', 'fixed' => 'Fixed', 'absolute' => 'Absolute' );
141
+
142
+ $font_weights = array( 'normal' => 'Normal', 'bold' => 'Bold', 'bolder' => 'Bolder', 'lighter' => 'Lighter', 'initial' => 'Initial' );
143
+ $aligns = array( 'left' => 'Left', 'center' => 'Center', 'right' => 'Right' );
144
+ $aligns_no_center = array( 'left' => 'Left', 'right' => 'Right' );
145
+
146
+ $basic_fonts = array( 'arial' => 'Arial', 'lucida grande' => 'Lucida grande', 'segoe ui' => 'Segoe ui', 'tahoma' => 'Tahoma', 'trebuchet ms' => 'Trebuchet ms', 'verdana' => 'Verdana', 'cursive' =>'Cursive', 'fantasy' => 'Fantasy','monospace' => 'Monospace', 'serif' => 'Serif' );
147
+
148
+ $bg_repeats = array( 'repeat' => 'repeat', 'repeat-x' => 'repeat-x', 'repeat-y' => 'repeat-y', 'no-repeat' => 'no-repeat', 'initial' => 'initial', 'inherit' => 'inherit');
149
+
150
+ $google_fonts = WDW_FM_Library::get_google_fonts();
151
+ $font_families = $basic_fonts + $google_fonts;
152
+ $fonts = implode("|", str_replace(' ', '+', $google_fonts));
153
+ wp_enqueue_style('fm_googlefonts', 'https://fonts.googleapis.com/css?family=' . $fonts . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic', null, null);
154
+
155
+ $tabs = array(
156
+ 'global' => 'Global Parameters',
157
+ 'header' => 'Header',
158
+ 'content' => 'Content',
159
+ 'input_select' => 'Inputbox',
160
+ 'choices' => 'Choices',
161
+ 'subscribe' => 'General Buttons',
162
+ 'paigination' => 'Pagination',
163
+ 'buttons' => 'Buttons',
164
+ 'close_button' => 'Close(Minimize) Button',
165
+ 'minimize' => 'Minimize Text',
166
+ 'other' => 'Other',
167
+ 'custom_css' => 'Custom CSS'
168
+ );
169
+
170
+ $all_params = array(
171
+ 'global' => array(
172
+ array (
173
+ 'label' => '',
174
+ 'type' => 'panel',
175
+ 'class' => 'col-md-12',
176
+ 'label_class' => '',
177
+ 'after' => ''
178
+ ),
179
+ array (
180
+ 'label' => 'Font Family',
181
+ 'name' => 'GPFontFamily',
182
+ 'type' => 'select',
183
+ 'options' => $font_families,
184
+ 'class' => '',
185
+ 'value' => isset($param_values['GPFontFamily']) ? $param_values['GPFontFamily'] : '',
186
+ 'after' => ''
187
+ ),
188
+ array (
189
+ 'label' => 'Width',
190
+ 'name' => 'AGPWidth',
191
+ 'type' => 'text',
192
+ 'class' => '',
193
+ 'value' => isset($param_values['AGPWidth']) ? $param_values['AGPWidth'] : '',
194
+ 'after' => '%'
195
+ ),
196
+ array (
197
+ 'label' => 'Width (for scrollbox, popup form types)',
198
+ 'name' => 'AGPSPWidth',
199
+ 'type' => 'text',
200
+ 'class' => '',
201
+ 'value' => isset($param_values['AGPSPWidth']) ? $param_values['AGPSPWidth'] : '',
202
+ 'after' => '%'
203
+ ),
204
+ array (
205
+ 'label' => 'Padding',
206
+ 'name' => 'AGPPadding',
207
+ 'type' => 'text',
208
+ 'class' => '',
209
+ 'value' => isset($param_values['AGPPadding']) ? $param_values['AGPPadding'] : '',
210
+ 'after' => 'px/%'
211
+ ),
212
+ array (
213
+ 'label' => 'Margin',
214
+ 'name' => 'AGPMargin',
215
+ 'type' => 'text',
216
+ 'class' => '',
217
+ 'value' => isset($param_values['AGPMargin']) ? $param_values['AGPMargin'] : '',
218
+ 'placeholder' => 'e.g. 5px 10px or 5% 10%',
219
+ 'after' => 'px/%'
220
+ ),
221
+ array (
222
+ 'label' => 'Border',
223
+ 'name' => 'AGPBorder',
224
+ 'type' => 'checkbox',
225
+ 'options' => $borders,
226
+ 'class' => '',
227
+ 'after' => ''
228
+ ),
229
+ array (
230
+ 'label' => 'Border Color',
231
+ 'name' => 'AGPBorderColor',
232
+ 'type' => 'text',
233
+ 'class' => 'color',
234
+ 'value' => isset($param_values['AGPBorderColor']) ? $param_values['AGPBorderColor'] : '',
235
+ 'after' => ''
236
+ ),
237
+ array (
238
+ 'label' => 'Border Type',
239
+ 'name' => 'AGPBorderType',
240
+ 'type' => 'select',
241
+ 'options' => $border_types,
242
+ 'class' => '',
243
+ 'value' => isset($param_values['AGPBorderType']) ? $param_values['AGPBorderType'] : '',
244
+ 'after' => ''
245
+ ),
246
+ array (
247
+ 'label' => 'Border Width',
248
+ 'name' => 'AGPBorderWidth',
249
+ 'type' => 'text',
250
+ 'class' => '',
251
+ 'value' => isset($param_values['AGPBorderWidth']) ? $param_values['AGPBorderWidth'] : '',
252
+ 'after' => 'px'
253
+ ),
254
+ array (
255
+ 'label' => 'Border Radius',
256
+ 'name' => 'AGPBorderRadius',
257
+ 'type' => 'text',
258
+ 'class' => '',
259
+ 'value' => isset($param_values['AGPBorderRadius']) ? $param_values['AGPBorderRadius'] : '',
260
+ 'after' => 'px'
261
+ ),
262
+ array (
263
+ 'label' => 'Box Shadow',
264
+ 'name' => 'AGPBoxShadow',
265
+ 'type' => 'text',
266
+ 'class' => '',
267
+ 'value' => isset($param_values['AGPBoxShadow']) ? $param_values['AGPBoxShadow'] : '',
268
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
269
+ 'after' => '</div>'
270
+ )
271
+ ),
272
+ 'header' => array(
273
+ array (
274
+ 'label' => 'General Parameters',
275
+ 'type' => 'panel',
276
+ 'class' => 'col-md-6',
277
+ 'label_class' => 'fm-mini-title',
278
+ 'after' => '<br/>'
279
+ ),
280
+ array (
281
+ 'label' => 'Alignment',
282
+ 'name' => 'HPAlign',
283
+ 'type' => 'select',
284
+ 'options' => $borders,
285
+ 'class' => '',
286
+ 'value' => isset($param_values['HPAlign']) ? $param_values['HPAlign'] : '',
287
+ 'after' => ''
288
+ ),
289
+ array (
290
+ 'label' => 'Background Color',
291
+ 'name' => 'HPBGColor',
292
+ 'type' => 'text',
293
+ 'class' => 'color',
294
+ 'value' => isset($param_values['HPBGColor']) ? $param_values['HPBGColor'] : '',
295
+ 'after' => ''
296
+ ),
297
+ array (
298
+ 'label' => 'Width',
299
+ 'name' => 'HPWidth',
300
+ 'type' => 'text',
301
+ 'class' => '',
302
+ 'value' => isset($param_values['HPWidth']) ? $param_values['HPWidth'] : '',
303
+ 'after' => '%'
304
+ ),
305
+ array (
306
+ 'label' => 'Width (for topbar form type)',
307
+ 'name' => 'HTPWidth',
308
+ 'type' => 'text',
309
+ 'class' => '',
310
+ 'value' => isset($param_values['HTPWidth']) ? $param_values['HTPWidth'] : '',
311
+ 'after' => '%'
312
+ ),
313
+ array (
314
+ 'label' => 'Padding',
315
+ 'name' => 'HPPadding',
316
+ 'type' => 'text',
317
+ 'class' => '',
318
+ 'value' => isset($param_values['HPPadding']) ? $param_values['HPPadding'] : '',
319
+ 'after' => 'px/%'
320
+ ),
321
+ array (
322
+ 'label' => 'Margin',
323
+ 'name' => 'HPMargin',
324
+ 'type' => 'text',
325
+ 'class' => '',
326
+ 'value' => isset($param_values['HPMargin']) ? $param_values['HPMargin'] : '',
327
+ 'placeholder' => 'e.g. 5px 10px or 5% 10%',
328
+ 'after' => 'px/%'
329
+ ),
330
+ array (
331
+ 'label' => 'Text Align',
332
+ 'name' => 'HPTextAlign',
333
+ 'type' => 'select',
334
+ 'options' => $aligns,
335
+ 'class' => '',
336
+ 'value' => isset($param_values['HPTextAlign']) ? $param_values['HPTextAlign'] : '',
337
+ 'after' => ''
338
+ ),
339
+ array (
340
+ 'label' => 'Border',
341
+ 'name' => 'HPBorder',
342
+ 'type' => 'checkbox',
343
+ 'options' => $borders,
344
+ 'class' => '',
345
+ 'after' => ''
346
+ ),
347
+ array (
348
+ 'label' => 'Border Color',
349
+ 'name' => 'HPBorderColor',
350
+ 'type' => 'text',
351
+ 'class' => 'color',
352
+ 'value' => isset($param_values['HPBorderColor']) ? $param_values['HPBorderColor'] : '',
353
+ 'after' => ''
354
+ ),
355
+ array (
356
+ 'label' => 'Border Type',
357
+ 'name' => 'HPBorderType',
358
+ 'type' => 'select',
359
+ 'options' => $border_types,
360
+ 'class' => '',
361
+ 'value' => isset($param_values['HPBorderType']) ? $param_values['HPBorderType'] : '',
362
+ 'after' => ''
363
+ ),
364
+ array (
365
+ 'label' => 'Border Width',
366
+ 'name' => 'HPBorderWidth',
367
+ 'type' => 'text',
368
+ 'class' => '',
369
+ 'value' => isset($param_values['HPBorderWidth']) ? $param_values['HPBorderWidth'] : '',
370
+ 'after' => 'px'
371
+ ),
372
+ array (
373
+ 'label' => 'Border Radius',
374
+ 'name' => 'HPBorderRadius',
375
+ 'type' => 'text',
376
+ 'class' => '',
377
+ 'value' => isset($param_values['HPBorderRadius']) ? $param_values['HPBorderRadius'] : '',
378
+ 'after' => 'px</div>'
379
+ ),
380
+ array (
381
+ 'label' => 'Title Parameters',
382
+ 'type' => 'panel',
383
+ 'class' => 'col-md-6',
384
+ 'label_class' => 'fm-mini-title',
385
+ 'after' => '<br/>'
386
+ ),
387
+ array (
388
+ 'label' => 'Font Size',
389
+ 'name' => 'HTPFontSize',
390
+ 'type' => 'text',
391
+ 'class' => '',
392
+ 'value' => isset($param_values['HTPFontSize']) ? $param_values['HTPFontSize'] : '',
393
+ 'after' => 'px'
394
+ ),
395
+ array (
396
+ 'label' => 'Font Weight',
397
+ 'name' => 'HTPWeight',
398
+ 'type' => 'select',
399
+ 'options' => $font_weights,
400
+ 'class' => '',
401
+ 'value' => isset($param_values['HTPWeight']) ? $param_values['HTPWeight'] : '',
402
+ 'after' => ''
403
+ ),
404
+ array (
405
+ 'label' => 'Color',
406
+ 'name' => 'HTPColor',
407
+ 'type' => 'text',
408
+ 'class' => 'color',
409
+ 'value' => isset($param_values['HTPColor']) ? $param_values['HTPColor'] : '',
410
+ 'after' => ''
411
+ ),
412
+ array (
413
+ 'label' => 'Description Parameters',
414
+ 'type' => 'label',
415
+ 'class' => 'fm-mini-title',
416
+ 'after' => '<br/>'
417
+ ),
418
+ array (
419
+ 'label' => 'Font Size',
420
+ 'name' => 'HDPFontSize',
421
+ 'type' => 'text',
422
+ 'class' => '',
423
+ 'value' => isset($param_values['HDPFontSize']) ? $param_values['HDPFontSize'] : '',
424
+ 'after' => 'px'
425
+ ),
426
+ array (
427
+ 'label' => 'Color',
428
+ 'name' => 'HDPColor',
429
+ 'type' => 'text',
430
+ 'class' => 'color',
431
+ 'value' => isset($param_values['HDPColor']) ? $param_values['HDPColor'] : '',
432
+ 'after' => ''
433
+ ),
434
+ array (
435
+ 'label' => 'Image Parameters',
436
+ 'type' => 'label',
437
+ 'class' => 'fm-mini-title',
438
+ 'after' => '<br/>'
439
+ ),
440
+ array (
441
+ 'label' => 'Alignment',
442
+ 'name' => 'HIPAlign',
443
+ 'type' => 'select',
444
+ 'options' => $borders,
445
+ 'class' => '',
446
+ 'value' => isset($param_values['HIPAlign']) ? $param_values['HIPAlign'] : '',
447
+ 'after' => 'px'
448
+ ),
449
+ array (
450
+ 'label' => 'Width',
451
+ 'name' => 'HIPWidth',
452
+ 'type' => 'text',
453
+ 'class' => '',
454
+ 'value' => isset($param_values['HIPWidth']) ? $param_values['HIPWidth'] : '',
455
+ 'after' => 'px'
456
+ ),
457
+ array (
458
+ 'label' => 'Height',
459
+ 'name' => 'HIPHeight',
460
+ 'type' => 'text',
461
+ 'class' => '',
462
+ 'value' => isset($param_values['HIPHeight']) ? $param_values['HIPHeight'] : '',
463
+ 'after' => 'px</div>'
464
+ )
465
+ ),
466
+ 'content' => array(
467
+ array (
468
+ 'label' => 'General Parameters',
469
+ 'type' => 'panel',
470
+ 'class' => 'col-md-6',
471
+ 'label_class' => 'fm-mini-title',
472
+ 'after' => '<br/>'
473
+ ),
474
+ array (
475
+ 'label' => 'Background Color',
476
+ 'name' => 'GPBGColor',
477
+ 'type' => 'text',
478
+ 'class' => 'color',
479
+ 'value' => isset($param_values['GPBGColor']) ? $param_values['GPBGColor'] : '',
480
+ 'after' => ''
481
+ ),
482
+ array (
483
+ 'label' => 'Font Size',
484
+ 'name' => 'GPFontSize',
485
+ 'type' => 'text',
486
+ 'class' => '',
487
+ 'value' => isset($param_values['GPFontSize']) ? $param_values['GPFontSize'] : '',
488
+ 'after' => 'px'
489
+ ),
490
+ array (
491
+ 'label' => 'Font Weight',
492
+ 'name' => 'GPFontWeight',
493
+ 'type' => 'select',
494
+ 'options' => $font_weights,
495
+ 'class' => '',
496
+ 'value' => isset($param_values['GPFontWeight']) ? $param_values['GPFontWeight'] : '',
497
+ 'after' => ''
498
+ ),
499
+ array (
500
+ 'label' => 'Width',
501
+ 'name' => 'GPWidth',
502
+ 'type' => 'text',
503
+ 'class' => '',
504
+ 'value' => isset($param_values['GPWidth']) ? $param_values['GPWidth'] : '',
505
+ 'after' => '%'
506
+ ),
507
+ array (
508
+ 'label' => 'Width (for topbar form type)',
509
+ 'name' => 'GTPWidth',
510
+ 'type' => 'text',
511
+ 'class' => '',
512
+ 'value' => isset($param_values['GTPWidth']) ? $param_values['GTPWidth'] : '',
513
+ 'after' => '%'
514
+ ),
515
+ array (
516
+ 'label' => 'Alignment',
517
+ 'name' => 'GPAlign',
518
+ 'type' => 'select',
519
+ 'options' => $aligns,
520
+ 'class' => '',
521
+ 'value' => isset($param_values['GPAlign']) ? $param_values['GPAlign'] : '',
522
+ 'after' => ''
523
+ ),
524
+ array (
525
+ 'label' => 'Background URL',
526
+ 'name' => 'GPBackground',
527
+ 'type' => 'text',
528
+ 'class' => '',
529
+ 'value' => isset($param_values['GPBackground']) ? $param_values['GPBackground'] : '',
530
+ 'after' => ''
531
+ ),
532
+ array (
533
+ 'label' => 'Background Repeat',
534
+ 'name' => 'GPBackgroundRepeat',
535
+ 'type' => 'select',
536
+ 'options' => $bg_repeats,
537
+ 'class' => '',
538
+ 'value' => isset($param_values['GPBackgroundRepeat']) ? $param_values['GPBackgroundRepeat'] : '',
539
+ 'after' => ''
540
+ ),
541
+ array (
542
+ 'label' => 'Background Position',
543
+ 'name1' => 'GPBGPosition1',
544
+ 'name2' => 'GPBGPosition2',
545
+ 'type' => '2text',
546
+ 'class' => 'fm-2text',
547
+ 'value1' => isset($param_values['GPBGPosition1']) ? $param_values['GPBGPosition1'] : '',
548
+ 'value2' => isset($param_values['GPBGPosition2']) ? $param_values['GPBGPosition2'] : '',
549
+ 'before1' => '',
550
+ 'before2' => '',
551
+ 'after' => '%/left..'
552
+ ),
553
+ array (
554
+ 'label' => 'Background Size',
555
+ 'name1' => 'GPBGSize1',
556
+ 'name2' => 'GPBGSize2',
557
+ 'type' => '2text',
558
+ 'class' => 'fm-2text',
559
+ 'value1' => isset($param_values['GPBGSize1']) ? $param_values['GPBGSize1'] : '',
560
+ 'value2' => isset($param_values['GPBGSize2']) ? $param_values['GPBGSize2'] : '',
561
+ 'before1' => '',
562
+ 'before2' => '',
563
+ 'after' => '%/px'
564
+ ),
565
+ array (
566
+ 'label' => 'Color',
567
+ 'name' => 'GPColor',
568
+ 'type' => 'text',
569
+ 'class' => 'color',
570
+ 'value' => isset($param_values['GPColor']) ? $param_values['GPColor'] : '',
571
+ 'after' => ''
572
+ ),
573
+ array (
574
+ 'label' => 'Padding',
575
+ 'name' => 'GPPadding',
576
+ 'type' => 'text',
577
+ 'class' => '',
578
+ 'value' => isset($param_values['GPPadding']) ? $param_values['GPPadding'] : '',
579
+ 'after' => 'px/%'
580
+ ),
581
+ array (
582
+ 'label' => 'Margin',
583
+ 'name' => 'GPMargin',
584
+ 'type' => 'text',
585
+ 'class' => '',
586
+ 'value' => isset($param_values['GPMargin']) ? $param_values['GPMargin'] : '',
587
+ 'placeholder' => 'e.g. 5px 10px or 5% 10%',
588
+ 'after' => 'px/%'
589
+ ),
590
+ array (
591
+ 'label' => 'Border',
592
+ 'name' => 'GPBorder',
593
+ 'type' => 'checkbox',
594
+ 'options' => $borders,
595
+ 'class' => '',
596
+ 'after' => ''
597
+ ),
598
+ array (
599
+ 'label' => 'Border Color',
600
+ 'name' => 'GPBorderColor',
601
+ 'type' => 'text',
602
+ 'class' => 'color',
603
+ 'value' => isset($param_values['GPBorderColor']) ? $param_values['GPBorderColor'] : '',
604
+ 'after' => ''
605
+ ),
606
+ array (
607
+ 'label' => 'Border Type',
608
+ 'name' => 'GPBorderType',
609
+ 'type' => 'select',
610
+ 'options' => $border_types,
611
+ 'class' => '',
612
+ 'value' => isset($param_values['GPBorderType']) ? $param_values['GPBorderType'] : '',
613
+ 'after' => ''
614
+ ),
615
+ array (
616
+ 'label' => 'Border Width',
617
+ 'name' => 'GPBorderWidth',
618
+ 'type' => 'text',
619
+ 'class' => '',
620
+ 'value' => isset($param_values['GPBorderWidth']) ? $param_values['GPBorderWidth'] : '',
621
+ 'after' => 'px'
622
+ ),
623
+ array (
624
+ 'label' => 'Border Radius',
625
+ 'name' => 'GPBorderRadius',
626
+ 'type' => 'text',
627
+ 'class' => '',
628
+ 'value' => isset($param_values['GPBorderRadius']) ? $param_values['GPBorderRadius'] : '',
629
+ 'after' => 'px</div>'
630
+ ),
631
+ array (
632
+ 'label' => 'Mini labels (name, phone, address, checkbox, radio) Parameters',
633
+ 'type' => 'panel',
634
+ 'class' => 'col-md-6',
635
+ 'label_class' => 'fm-mini-title',
636
+ 'after' => '<br/>'
637
+ ),
638
+ array (
639
+ 'label' => 'Font Size',
640
+ 'name' => 'GPMLFontSize',
641
+ 'type' => 'text',
642
+ 'class' => '',
643
+ 'value' => isset($param_values['GPMLFontSize']) ? $param_values['GPMLFontSize'] : '',
644
+ 'after' => 'px'
645
+ ),
646
+ array (
647
+ 'label' => 'Font Weight',
648
+ 'name' => 'GPMLFontWeight',
649
+ 'type' => 'select',
650
+ 'options' => $font_weights,
651
+ 'class' => '',
652
+ 'value' => isset($param_values['GPMLFontWeight']) ? $param_values['GPMLFontWeight'] : '',
653
+ 'after' => ''
654
+ ),
655
+ array (
656
+ 'label' => 'Color',
657
+ 'name' => 'GPMLColor',
658
+ 'type' => 'text',
659
+ 'class' => 'color',
660
+ 'value' => isset($param_values['GPMLColor']) ? $param_values['GPMLColor'] : '',
661
+ 'after' => ''
662
+ ),
663
+ array (
664
+ 'label' => 'Padding',
665
+ 'name' => 'GPMLPadding',
666
+ 'type' => 'text',
667
+ 'class' => '',
668
+ 'value' => isset($param_values['GPMLPadding']) ? $param_values['GPMLPadding'] : '',
669
+ 'after' => 'px/%'
670
+ ),
671
+ array (
672
+ 'label' => 'Margin',
673
+ 'name' => 'GPMLMargin',
674
+ 'type' => 'text',
675
+ 'class' => '',
676
+ 'value' => isset($param_values['GPMLMargin']) ? $param_values['GPMLMargin'] : '',
677
+ 'after' => 'px/%'
678
+ ),
679
+ array (
680
+ 'label' => 'Section Parameters',
681
+ 'type' => 'label',
682
+ 'class' => 'fm-mini-title',
683
+ 'after' => '<br/>'
684
+ ),
685
+ array (
686
+ 'label' => 'Background Color',
687
+ 'name' => 'SEPBGColor',
688
+ 'type' => 'text',
689
+ 'class' => 'color',
690
+ 'value' => isset($param_values['SEPBGColor']) ? $param_values['SEPBGColor'] : '',
691
+ 'after' => ''
692
+ ),
693
+ array (
694
+ 'label' => 'Padding',
695
+ 'name' => 'SEPPadding',
696
+ 'type' => 'text',
697
+ 'class' => '',
698
+ 'value' => isset($param_values['SEPPadding']) ? $param_values['SEPPadding'] : '',
699
+ 'after' => 'px/%'
700
+ ),
701
+ array (
702
+ 'label' => 'Margin',
703
+ 'name' => 'SEPMargin',
704
+ 'type' => 'text',
705
+ 'class' => '',
706
+ 'value' => isset($param_values['SEPMargin']) ? $param_values['SEPMargin'] : '',
707
+ 'after' => 'px/%'
708
+ ),
709
+ array (
710
+ 'label' => 'Section Column Parameters',
711
+ 'type' => 'label',
712
+ 'class' => 'fm-mini-title',
713
+ 'after' => '<br/>'
714
+ ),
715
+ array (
716
+ 'label' => 'Padding',
717
+ 'name' => 'COPPadding',
718
+ 'type' => 'text',
719
+ 'class' => '',
720
+ 'value' => isset($param_values['COPPadding']) ? $param_values['COPPadding'] : '',
721
+ 'after' => 'px/%'
722
+ ),
723
+ array (
724
+ 'label' => 'Margin',
725
+ 'name' => 'COPMargin',
726
+ 'type' => 'text',
727
+ 'class' => '',
728
+ 'value' => isset($param_values['COPMargin']) ? $param_values['COPMargin'] : '',
729
+ 'after' => 'px/%'
730
+ ),
731
+ array (
732
+ 'label' => 'Footer Parameters',
733
+ 'type' => 'label',
734
+ 'class' => 'fm-mini-title',
735
+ 'after' => '<br/>'
736
+ ),
737
+ array (
738
+ 'label' => 'Width',
739
+ 'name' => 'FPWidth',
740
+ 'type' => 'text',
741
+ 'class' => '',
742
+ 'value' => isset($param_values['FPWidth']) ? $param_values['FPWidth'] : '',
743
+ 'after' => '%'
744
+ ),
745
+ array (
746
+ 'label' => 'Padding',
747
+ 'name' => 'FPPadding',
748
+ 'type' => 'text',
749
+ 'class' => '',
750
+ 'value' => isset($param_values['FPPadding']) ? $param_values['FPPadding'] : '',
751
+ 'after' => 'px/%'
752
+ ),
753
+ array (
754
+ 'label' => 'Margin',
755
+ 'name' => 'FPMargin',
756
+ 'type' => 'text',
757
+ 'class' => '',
758
+ 'value' => isset($param_values['FPMargin']) ? $param_values['FPMargin'] : '',
759
+ 'after' => 'px/%</div>'
760
+ )
761
+ ),
762
+ 'input_select' => array(
763
+ array (
764
+ 'label' => '',
765
+ 'type' => 'panel',
766
+ 'class' => 'col-md-12',
767
+ 'label_class' => '',
768
+ 'after' => ''
769
+ ),
770
+ array (
771
+ 'label' => 'Height',
772
+ 'name' => 'IPHeight',
773
+ 'type' => 'text',
774
+ 'class' => '',
775
+ 'value' => isset($param_values['IPHeight']) ? $param_values['IPHeight'] : '',
776
+ 'after' => 'px'
777
+ ),
778
+ array (
779
+ 'label' => 'Font Size',
780
+ 'name' => 'IPFontSize',
781
+ 'type' => 'text',
782
+ 'class' => '',
783
+ 'value' => isset($param_values['IPFontSize']) ? $param_values['IPFontSize'] : '',
784
+ 'after' => 'px'
785
+ ),
786
+ array (
787
+ 'label' => 'Font Weight',
788
+ 'name' => 'IPFontWeight',
789
+ 'type' => 'select',
790
+ 'options' => $font_weights,
791
+ 'class' => '',
792
+ 'value' => isset($param_values['IPFontWeight']) ? $param_values['IPFontWeight'] : '',
793
+ 'after' => ''
794
+ ),
795
+ array (
796
+ 'label' => 'Background Color',
797
+ 'name' => 'IPBGColor',
798
+ 'type' => 'text',
799
+ 'class' => 'color',
800
+ 'value' => isset($param_values['IPBGColor']) ? $param_values['IPBGColor'] : '',
801
+ 'after' => ''
802
+ ),
803
+ array (
804
+ 'label' => 'Color',
805
+ 'name' => 'IPColor',
806
+ 'type' => 'text',
807
+ 'class' => 'color',
808
+ 'value' => isset($param_values['IPColor']) ? $param_values['IPColor'] : '',
809
+ 'after' => ''
810
+ ),
811
+ array (
812
+ 'label' => 'Padding',
813
+ 'name' => 'IPPadding',
814
+ 'type' => 'text',
815
+ 'class' => '',
816
+ 'value' => isset($param_values['IPPadding']) ? $param_values['IPPadding'] : '',
817
+ 'after' => 'px/%'
818
+ ),
819
+ array (
820
+ 'label' => 'Margin',
821
+ 'name' => 'IPMargin',
822
+ 'type' => 'text',
823
+ 'class' => '',
824
+ 'value' => isset($param_values['IPMargin']) ? $param_values['IPMargin'] : '',
825
+ 'after' => 'px/%'
826
+ ),
827
+ array (
828
+ 'label' => 'Border',
829
+ 'name' => 'IPBorder',
830
+ 'type' => 'checkbox',
831
+ 'options' => $borders,
832
+ 'class' => '',
833
+ 'after' => ''
834
+ ),
835
+ array (
836
+ 'label' => 'Border Color',
837
+ 'name' => 'IPBorderColor',
838
+ 'type' => 'text',
839
+ 'class' => 'color',
840
+ 'value' => isset($param_values['IPBorderColor']) ? $param_values['IPBorderColor'] : '',
841
+ 'after' => ''
842
+ ),
843
+ array (
844
+ 'label' => 'Border Type',
845
+ 'name' => 'IPBorderType',
846
+ 'type' => 'select',
847
+ 'options' => $border_types,
848
+ 'class' => '',
849
+ 'value' => isset($param_values['IPBorderType']) ? $param_values['IPBorderType'] : '',
850
+ 'after' => ''
851
+ ),
852
+ array (
853
+ 'label' => 'Border Width',
854
+ 'name' => 'IPBorderWidth',
855
+ 'type' => 'text',
856
+ 'class' => '',
857
+ 'value' => isset($param_values['IPBorderWidth']) ? $param_values['IPBorderWidth'] : '',
858
+ 'after' => 'px'
859
+ ),
860
+ array (
861
+ 'label' => 'Border Radius',
862
+ 'name' => 'IPBorderRadius',
863
+ 'type' => 'text',
864
+ 'class' => '',
865
+ 'value' => isset($param_values['IPBorderRadius']) ? $param_values['IPBorderRadius'] : '',
866
+ 'after' => 'px'
867
+ ),
868
+ array (
869
+ 'label' => 'Box Shadow',
870
+ 'name' => 'IPBoxShadow',
871
+ 'type' => 'text',
872
+ 'class' => '',
873
+ 'value' => isset($param_values['IPBoxShadow']) ? $param_values['IPBoxShadow'] : '',
874
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
875
+ 'after' => '</div>'
876
+ ),
877
+ array (
878
+ 'label' => 'Dropdown additional',
879
+ 'type' => 'panel',
880
+ 'class' => 'col-md-12',
881
+ 'label_class' => 'fm-mini-title',
882
+ 'after' => '<br/>'
883
+ ),
884
+ array (
885
+ 'label' => 'Appearance',
886
+ 'name' => 'SBPAppearance',
887
+ 'type' => 'text',
888
+ 'class' => '',
889
+ 'value' => isset($param_values['SBPAppearance']) ? $param_values['SBPAppearance'] : '',
890
+ 'after' => ''
891
+ ),
892
+ array (
893
+ 'label' => 'Background URL',
894
+ 'name' => 'SBPBackground',
895
+ 'type' => 'text',
896
+ 'class' => '',
897
+ 'value' => isset($param_values['SBPBackground']) ? $param_values['SBPBackground'] : '',
898
+ 'after' => ''
899
+ ),
900
+ array (
901
+ 'label' => 'Background Repeat',
902
+ 'name' => 'SBPBGRepeat',
903
+ 'type' => 'select',
904
+ 'options' => $bg_repeats,
905
+ 'class' => '',
906
+ 'value' => isset($param_values['SBPBGRepeat']) ? $param_values['SBPBGRepeat'] : '',
907
+ 'after' => ''
908
+ ),
909
+ array (
910
+ 'label' => 'Background Position',
911
+ 'name1' => 'SBPBGPos1',
912
+ 'name2' => 'SBPBGPos2',
913
+ 'type' => '2text',
914
+ 'class' => 'fm-2text',
915
+ 'value1' => isset($param_values['SBPBGPos1']) ? $param_values['SBPBGPos1'] : '',
916
+ 'value2' => isset($param_values['SBPBGPos2']) ? $param_values['SBPBGPos2'] : '',
917
+ 'before1' => '',
918
+ 'before2' => '',
919
+ 'after' => '%/left..'
920
+ ),
921
+ array (
922
+ 'label' => 'Background Size',
923
+ 'name1' => 'SBPBGSize1',
924
+ 'name2' => 'SBPBGSize2',
925
+ 'type' => '2text',
926
+ 'class' => 'fm-2text',
927
+ 'value1' => isset($param_values['SBPBGSize1']) ? $param_values['SBPBGSize1'] : '',
928
+ 'value2' => isset($param_values['SBPBGSize2']) ? $param_values['SBPBGSize2'] : '',
929
+ 'before1' => '',
930
+ 'before2' => '',
931
+ 'after' => '%/px'
932
+ ),
933
+ array (
934
+ 'label' => '',
935
+ 'type' => 'label',
936
+ 'class' => '',
937
+ 'after' => '</div>'
938
+ )
939
+ ),
940
+ 'choices' => array(
941
+ array (
942
+ 'label' => 'Single Choice',
943
+ 'type' => 'panel',
944
+ 'class' => 'col-md-6',
945
+ 'label_class' => 'fm-mini-title',
946
+ 'after' => '<br/>'
947
+ ),
948
+ array (
949
+ 'label' => 'Input Parameters',
950
+ 'type' => 'label',
951
+ 'class' => 'fm-mini-title',
952
+ 'after' => '<br/>'
953
+ ),
954
+ array (
955
+ 'label' => 'Background Color',
956
+ 'name' => 'SCPBGColor',
957
+ 'type' => 'text',
958
+ 'class' => 'color',
959
+ 'value' => isset($param_values['SCPBGColor']) ? $param_values['SCPBGColor'] : '',
960
+ 'after' => ''
961
+ ),
962
+ array (
963
+ 'label' => 'Width',
964
+ 'name' => 'SCPWidth',
965
+ 'type' => 'text',
966
+ 'class' => '',
967
+ 'value' => isset($param_values['SCPWidth']) ? $param_values['SCPWidth'] : '',
968
+ 'after' => 'px'
969
+ ),
970
+ array (
971
+ 'label' => 'Height',
972
+ 'name' => 'SCPHeight',
973
+ 'type' => 'text',
974
+ 'class' => '',
975
+ 'value' => isset($param_values['SCPHeight']) ? $param_values['SCPHeight'] : '',
976
+ 'after' => 'px'
977
+ ),
978
+ array (
979
+ 'label' => 'Border',
980
+ 'name' => 'SCPBorder',
981
+ 'type' => 'checkbox',
982
+ 'options' => $borders,
983
+ 'class' => '',
984
+ 'after' => ''
985
+ ),
986
+ array (
987
+ 'label' => 'Border Color',
988
+ 'name' => 'SCPBorderColor',
989
+ 'type' => 'text',
990
+ 'class' => 'color',
991
+ 'value' => isset($param_values['SCPBorderColor']) ? $param_values['SCPBorderColor'] : '',
992
+ 'after' => ''
993
+ ),
994
+ array (
995
+ 'label' => 'Border Type',
996
+ 'name' => 'SCPBorderType',
997
+ 'type' => 'select',
998
+ 'options' => $border_types,
999
+ 'class' => '',
1000
+ 'value' => isset($param_values['SCPBorderType']) ? $param_values['SCPBorderType'] : '',
1001
+ 'after' => ''
1002
+ ),
1003
+ array (
1004
+ 'label' => 'Border Width',
1005
+ 'name' => 'SCPBorderWidth',
1006
+ 'type' => 'text',
1007
+ 'class' => '',
1008
+ 'value' => isset($param_values['SCPBorderWidth']) ? $param_values['SCPBorderWidth'] : '',
1009
+ 'after' => 'px'
1010
+ ),
1011
+ array (
1012
+ 'label' => 'Margin',
1013
+ 'name' => 'SCPMargin',
1014
+ 'type' => 'text',
1015
+ 'class' => '5px',
1016
+ 'value' => isset($param_values['SCPMargin']) ? $param_values['SCPMargin'] : '',
1017
+ 'after' => ''
1018
+ ),
1019
+ array (
1020
+ 'label' => 'Border Radius',
1021
+ 'name' => 'SCPBorderRadius',
1022
+ 'type' => 'text',
1023
+ 'class' => '',
1024
+ 'value' => isset($param_values['SCPBorderRadius']) ? $param_values['SCPBorderRadius'] : '',
1025
+ 'after' => 'px'
1026
+ ),
1027
+ array (
1028
+ 'label' => 'Box Shadow',
1029
+ 'name' => 'SCPBoxShadow',
1030
+ 'type' => 'text',
1031
+ 'class' => '',
1032
+ 'value' => isset($param_values['SCPBoxShadow']) ? $param_values['SCPBoxShadow'] : '',
1033
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
1034
+ 'after' => ''
1035
+ ),
1036
+ array (
1037
+ 'label' => 'Checked Parameters',
1038
+ 'type' => 'label',
1039
+ 'class' => 'fm-mini-title',
1040
+ 'after' => '<br/>'
1041
+ ),
1042
+ array (
1043
+ 'label' => 'Background Color',
1044
+ 'name' => 'SCCPBGColor',
1045
+ 'type' => 'text',
1046
+ 'class' => 'color',
1047
+ 'value' => isset($param_values['SCCPBGColor']) ? $param_values['SCCPBGColor'] : '',
1048
+ 'after' => ''
1049
+ ),
1050
+ array (
1051
+ 'label' => 'Width',
1052
+ 'name' => 'SCCPWidth',
1053
+ 'type' => 'text',
1054
+ 'class' => '',
1055
+ 'value' => isset($param_values['SCCPWidth']) ? $param_values['SCCPWidth'] : '',
1056
+ 'after' => 'px'
1057
+ ),
1058
+ array (
1059
+ 'label' => 'Height',
1060
+ 'name' => 'SCCPHeight',
1061
+ 'type' => 'text',
1062
+ 'class' => '',
1063
+ 'value' => isset($param_values['SCCPHeight']) ? $param_values['SCCPHeight'] : '',
1064
+ 'after' => 'px'
1065
+ ),
1066
+ array (
1067
+ 'label' => 'Margin',
1068
+ 'name' => 'SCCPMargin',
1069
+ 'type' => 'text',
1070
+ 'class' => '',
1071
+ 'value' => isset($param_values['SCCPMargin']) ? $param_values['SCCPMargin'] : '',
1072
+ 'after' => ''
1073
+ ),
1074
+ array (
1075
+ 'label' => 'Border Radius',
1076
+ 'name' => 'SCCPBorderRadius',
1077
+ 'type' => 'text',
1078
+ 'class' => '',
1079
+ 'value' => isset($param_values['SCCPBorderRadius']) ? $param_values['SCCPBorderRadius'] : '',
1080
+ 'after' => 'px</div>'
1081
+ ),
1082
+ array (
1083
+ 'label' => 'Multiple Choice',
1084
+ 'type' => 'panel',
1085
+ 'class' => 'col-md-6',
1086
+ 'label_class' => 'fm-mini-title',
1087
+ 'after' => '<br/>'
1088
+ ),
1089
+ array (
1090
+ 'label' => 'Input Parameters',
1091
+ 'type' => 'label',
1092
+ 'class' => 'fm-mini-title',
1093
+ 'after' => '<br/>'
1094
+ ),
1095
+ array (
1096
+ 'label' => 'Background Color',
1097
+ 'name' => 'MCPBGColor',
1098
+ 'type' => 'text',
1099
+ 'class' => 'color',
1100
+ 'value' => isset($param_values['MCPBGColor']) ? $param_values['MCPBGColor'] : '',
1101
+ 'after' => ''
1102
+ ),
1103
+ array (
1104
+ 'label' => 'Width',
1105
+ 'name' => 'MCPWidth',
1106
+ 'type' => 'text',
1107
+ 'class' => '',
1108
+ 'value' => isset($param_values['MCPWidth']) ? $param_values['MCPWidth'] : '',
1109
+ 'after' => 'px'
1110
+ ),
1111
+ array (
1112
+ 'label' => 'Height',
1113
+ 'name' => 'MCPHeight',
1114
+ 'type' => 'text',
1115
+ 'class' => '',
1116
+ 'value' => isset($param_values['MCPHeight']) ? $param_values['MCPHeight'] : '',
1117
+ 'after' => 'px'
1118
+ ),
1119
+ array (
1120
+ 'label' => 'Border',
1121
+ 'name' => 'MCPBorder',
1122
+ 'type' => 'checkbox',
1123
+ 'options' => $borders,
1124
+ 'class' => '',
1125
+ 'after' => ''
1126
+ ),
1127
+ array (
1128
+ 'label' => 'Border Color',
1129
+ 'name' => 'MCPBorderColor',
1130
+ 'type' => 'text',
1131
+ 'class' => 'color',
1132
+ 'value' => isset($param_values['MCPBorderColor']) ? $param_values['MCPBorderColor'] : '',
1133
+ 'after' => ''
1134
+ ),
1135
+ array (
1136
+ 'label' => 'Border Type',
1137
+ 'name' => 'MCPBorderType',
1138
+ 'type' => 'select',
1139
+ 'options' => $border_types,
1140
+ 'class' => '',
1141
+ 'value' => isset($param_values['MCPBorderType']) ? $param_values['MCPBorderType'] : '',
1142
+ 'after' => ''
1143
+ ),
1144
+ array (
1145
+ 'label' => 'Border Width',
1146
+ 'name' => 'MCPBorderWidth',
1147
+ 'type' => 'text',
1148
+ 'class' => '',
1149
+ 'value' => isset($param_values['MCPBorderWidth']) ? $param_values['MCPBorderWidth'] : '',
1150
+ 'after' => 'px'
1151
+ ),
1152
+ array (
1153
+ 'label' => 'Margin',
1154
+ 'name' => 'MCPMargin',
1155
+ 'type' => 'text',
1156
+ 'class' => '5px',
1157
+ 'value' => isset($param_values['MCPMargin']) ? $param_values['MCPMargin'] : '',
1158
+ 'after' => ''
1159
+ ),
1160
+ array (
1161
+ 'label' => 'Border Radius',
1162
+ 'name' => 'MCPBorderRadius',
1163
+ 'type' => 'text',
1164
+ 'class' => '',
1165
+ 'value' => isset($param_values['MCPBorderRadius']) ? $param_values['MCPBorderRadius'] : '',
1166
+ 'after' => 'px'
1167
+ ),
1168
+ array (
1169
+ 'label' => 'Box Shadow',
1170
+ 'name' => 'MCPBoxShadow',
1171
+ 'type' => 'text',
1172
+ 'class' => '',
1173
+ 'value' => isset($param_values['MCPBoxShadow']) ? $param_values['MCPBoxShadow'] : '',
1174
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
1175
+ 'after' => ''
1176
+ ),
1177
+ array (
1178
+ 'label' => 'Checked Parameters',
1179
+ 'type' => 'label',
1180
+ 'class' => 'fm-mini-title',
1181
+ 'after' => '<br/>'
1182
+ ),
1183
+ array (
1184
+ 'label' => 'Background Color',
1185
+ 'name' => 'MCCPBGColor',
1186
+ 'type' => 'text',
1187
+ 'class' => 'color',
1188
+ 'value' => isset($param_values['MCCPBGColor']) ? $param_values['MCCPBGColor'] : '',
1189
+ 'after' => ''
1190
+ ),
1191
+ array (
1192
+ 'label' => 'Background URL',
1193
+ 'name' => 'MCCPBackground',
1194
+ 'type' => 'text',
1195
+ 'class' => '',
1196
+ 'value' => isset($param_values['MCCPBackground']) ? $param_values['MCCPBackground'] : '',
1197
+ 'after' => ''
1198
+ ),
1199
+ array (
1200
+ 'label' => 'Background Repeat',
1201
+ 'name' => 'MCCPBGRepeat',
1202
+ 'type' => 'select',
1203
+ 'options' => $bg_repeats,
1204
+ 'class' => '',
1205
+ 'value' => isset($param_values['MCCPBGRepeat']) ? $param_values['MCCPBGRepeat'] : '',
1206
+ 'after' => ''
1207
+ ),
1208
+ array (
1209
+ 'label' => 'Background Position',
1210
+ 'name1' => 'MCCPBGPos1',
1211
+ 'name2' => 'MCCPBGPos2',
1212
+ 'type' => '2text',
1213
+ 'class' => 'fm-2text',
1214
+ 'value1' => isset($param_values['MCCPBGPos1']) ? $param_values['MCCPBGPos1'] : '',
1215
+ 'value2' => isset($param_values['MCCPBGPos2']) ? $param_values['MCCPBGPos2'] : '',
1216
+ 'before1' => '',
1217
+ 'before2' => '',
1218
+ 'after' => '%/left..'
1219
+ ),
1220
+ array (
1221
+ 'label' => 'Width',
1222
+ 'name' => 'MCCPWidth',
1223
+ 'type' => 'text',
1224
+ 'class' => '',
1225
+ 'value' => isset($param_values['MCCPWidth']) ? $param_values['MCCPWidth'] : '',
1226
+ 'after' => 'px'
1227
+ ),
1228
+ array (
1229
+ 'label' => 'Height',
1230
+ 'name' => 'MCCPHeight',
1231
+ 'type' => 'text',
1232
+ 'class' => '',
1233
+ 'value' => isset($param_values['MCCPHeight']) ? $param_values['MCCPHeight'] : '',
1234
+ 'after' => 'px'
1235
+ ),
1236
+ array (
1237
+ 'label' => 'Margin',
1238
+ 'name' => 'MCCPMargin',
1239
+ 'type' => 'text',
1240
+ 'class' => '',
1241
+ 'value' => isset($param_values['MCCPMargin']) ? $param_values['MCCPMargin'] : '',
1242
+ 'after' => ''
1243
+ ),
1244
+ array (
1245
+ 'label' => 'Border Radius',
1246
+ 'name' => 'MCCPBorderRadius',
1247
+ 'type' => 'text',
1248
+ 'class' => '',
1249
+ 'value' => isset($param_values['MCCPBorderRadius']) ? $param_values['MCCPBorderRadius'] : '',
1250
+ 'after' => 'px</div>'
1251
+ )
1252
+ ),
1253
+ 'subscribe' => array(
1254
+ array (
1255
+ 'label' => 'Global Parameters',
1256
+ 'type' => 'panel',
1257
+ 'class' => 'col-md-12',
1258
+ 'label_class' => 'fm-mini-title',
1259
+ 'after' => '<br/>'
1260
+ ),
1261
+ array (
1262
+ 'label' => 'Alignment',
1263
+ 'name' => 'SPAlign',
1264
+ 'type' => 'select',
1265
+ 'options' => $aligns_no_center,
1266
+ 'class' => '',
1267
+ 'value' => isset($param_values['SPAlign']) ? $param_values['SPAlign'] : '',
1268
+ 'after' => '</div>'
1269
+ ),
1270
+ array (
1271
+ 'label' => 'Submit',
1272
+ 'type' => 'panel',
1273
+ 'class' => 'col-md-6',
1274
+ 'label_class' => 'fm-mini-title',
1275
+ 'after' => '<br/>'
1276
+ ),
1277
+ array (
1278
+ 'label' => 'Background Color',
1279
+ 'name' => 'SPBGColor',
1280
+ 'type' => 'text',
1281
+ 'class' => 'color',
1282
+ 'value' => isset($param_values['SPBGColor']) ? $param_values['SPBGColor'] : '',
1283
+ 'after' => ''
1284
+ ),
1285
+ array (
1286
+ 'label' => 'Width',
1287
+ 'name' => 'SPWidth',
1288
+ 'type' => 'text',
1289
+ 'class' => '',
1290
+ 'value' => isset($param_values['SPWidth']) ? $param_values['SPWidth'] : '',
1291
+ 'after' => 'px'
1292
+ ),
1293
+ array (
1294
+ 'label' => 'Height',
1295
+ 'name' => 'SPHeight',
1296
+ 'type' => 'text',
1297
+ 'class' => '',
1298
+ 'value' => isset($param_values['SPHeight']) ? $param_values['SPHeight'] : '',
1299
+ 'after' => 'px'
1300
+ ),
1301
+ array (
1302
+ 'label' => 'Font Size',
1303
+ 'name' => 'SPFontSize',
1304
+ 'type' => 'text',
1305
+ 'class' => '',
1306
+ 'value' => isset($param_values['SPFontSize']) ? $param_values['SPFontSize'] : '',
1307
+ 'after' => 'px'
1308
+ ),
1309
+ array (
1310
+ 'label' => 'Font Weight',
1311
+ 'name' => 'SPFontWeight',
1312
+ 'type' => 'select',
1313
+ 'options' => $font_weights,
1314
+ 'class' => '',
1315
+ 'value' => isset($param_values['SPFontWeight']) ? $param_values['SPFontWeight'] : '',
1316
+ 'after' => ''
1317
+ ),
1318
+ array (
1319
+ 'label' => 'Color',
1320
+ 'name' => 'SPColor',
1321
+ 'type' => 'text',
1322
+ 'class' => 'color',
1323
+ 'value' => isset($param_values['SPColor']) ? $param_values['SPColor'] : '',
1324
+ 'after' => ''
1325
+ ),
1326
+ array (
1327
+ 'label' => 'Padding',
1328
+ 'name' => 'SPPadding',
1329
+ 'type' => 'text',
1330
+ 'class' => '',
1331
+ 'value' => isset($param_values['SPPadding']) ? $param_values['SPPadding'] : '',
1332
+ 'after' => 'px/%'
1333
+ ),
1334
+ array (
1335
+ 'label' => 'Margin',
1336
+ 'name' => 'SPMargin',
1337
+ 'type' => 'text',
1338
+ 'class' => '',
1339
+ 'value' => isset($param_values['SPMargin']) ? $param_values['SPMargin'] : '',
1340
+ 'after' => 'px/%'
1341
+ ),
1342
+ array (
1343
+ 'label' => 'Border',
1344
+ 'name' => 'SPBorder',
1345
+ 'type' => 'checkbox',
1346
+ 'options' => $borders,
1347
+ 'class' => '',
1348
+ 'after' => ''
1349
+ ),
1350
+ array (
1351
+ 'label' => 'Border Color',
1352
+ 'name' => 'SPBorderColor',
1353
+ 'type' => 'text',
1354
+ 'class' => 'color',
1355
+ 'value' => isset($param_values['SPBorderColor']) ? $param_values['SPBorderColor'] : '',
1356
+ 'after' => ''
1357
+ ),
1358
+ array (
1359
+ 'label' => 'Border Type',
1360
+ 'name' => 'SPBorderType',
1361
+ 'type' => 'select',
1362
+ 'options' => $border_types,
1363
+ 'class' => '',
1364
+ 'value' => isset($param_values['SPBorderType']) ? $param_values['SPBorderType'] : '',
1365
+ 'after' => ''
1366
+ ),
1367
+ array (
1368
+ 'label' => 'Border Width',
1369
+ 'name' => 'SPBorderWidth',
1370
+ 'type' => 'text',
1371
+ 'class' => '',
1372
+ 'value' => isset($param_values['SPBorderWidth']) ? $param_values['SPBorderWidth'] : '',
1373
+ 'after' => 'px'
1374
+ ),
1375
+ array (
1376
+ 'label' => 'Border Radius',
1377
+ 'name' => 'SPBorderRadius',
1378
+ 'type' => 'text',
1379
+ 'class' => '',
1380
+ 'value' => isset($param_values['SPBorderRadius']) ? $param_values['SPBorderRadius'] : '',
1381
+ 'after' => 'px'
1382
+ ),
1383
+ array (
1384
+ 'label' => 'Box Shadow',
1385
+ 'name' => 'SPBoxShadow',
1386
+ 'type' => 'text',
1387
+ 'class' => '',
1388
+ 'value' => isset($param_values['SPBoxShadow']) ? $param_values['SPBoxShadow'] : '',
1389
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
1390
+ 'after' => ''
1391
+ ),
1392
+ array (
1393
+ 'label' => 'Hover Parameters',
1394
+ 'type' => 'label',
1395
+ 'class' => 'fm-mini-title',
1396
+ 'after' => '<br/>'
1397
+ ),
1398
+ array (
1399
+ 'label' => 'Background Color',
1400
+ 'name' => 'SHPBGColor',
1401
+ 'type' => 'text',
1402
+ 'class' => 'color',
1403
+ 'value' => isset($param_values['SHPBGColor']) ? $param_values['SHPBGColor'] : '',
1404
+ 'after' => ''
1405
+ ),
1406
+ array (
1407
+ 'label' => 'Color',
1408
+ 'name' => 'SHPColor',
1409
+ 'type' => 'text',
1410
+ 'class' => 'color',
1411
+ 'value' => isset($param_values['SHPColor']) ? $param_values['SHPColor'] : '',
1412
+ 'after' => ''
1413
+ ),
1414
+ array (
1415
+ 'label' => 'Border',
1416
+ 'name' => 'SHPBorder',
1417
+ 'type' => 'checkbox',
1418
+ 'options' => $borders,
1419
+ 'class' => '',
1420
+ 'after' => ''
1421
+ ),
1422
+ array (
1423
+ 'label' => 'Border Color',
1424
+ 'name' => 'SHPBorderColor',
1425
+ 'type' => 'text',
1426
+ 'class' => 'color',
1427
+ 'value' => isset($param_values['SHPBorderColor']) ? $param_values['SHPBorderColor'] : '',
1428
+ 'after' => ''
1429
+ ),
1430
+ array (
1431
+ 'label' => 'Border Type',
1432
+ 'name' => 'SHPBorderType',
1433
+ 'type' => 'select',
1434
+ 'options' => $border_types,
1435
+ 'class' => '',
1436
+ 'value' => isset($param_values['SHPBorderType']) ? $param_values['SHPBorderType'] : '',
1437
+ 'after' => ''
1438
+ ),
1439
+ array (
1440
+ 'label' => 'Border Width',
1441
+ 'name' => 'SHPBorderWidth',
1442
+ 'type' => 'text',
1443
+ 'class' => '',
1444
+ 'value' => isset($param_values['SHPBorderWidth']) ? $param_values['SHPBorderWidth'] : '',
1445
+ 'after' => 'px</div>'
1446
+ ),
1447
+ array (
1448
+ 'label' => 'Reset',
1449
+ 'type' => 'panel',
1450
+ 'class' => 'col-md-6',
1451
+ 'label_class' => 'fm-mini-title',
1452
+ 'after' => '<br/>'
1453
+ ),
1454
+ array (
1455
+ 'label' => 'Background Color',
1456
+ 'name' => 'BPBGColor',
1457
+ 'type' => 'text',
1458
+ 'class' => 'color',
1459
+ 'value' => isset($param_values['BPBGColor']) ? $param_values['BPBGColor'] : '',
1460
+ 'after' => ''
1461
+ ),
1462
+ array (
1463
+ 'label' => 'Width',
1464
+ 'name' => 'BPWidth',
1465
+ 'type' => 'text',
1466
+ 'class' => '',
1467
+ 'value' => isset($param_values['BPWidth']) ? $param_values['BPWidth'] : '',
1468
+ 'after' => 'px'
1469
+ ),
1470
+ array (
1471
+ 'label' => 'Height',
1472
+ 'name' => 'BPHeight',
1473
+ 'type' => 'text',
1474
+ 'class' => '',
1475
+ 'value' => isset($param_values['BPHeight']) ? $param_values['BPHeight'] : '',
1476
+ 'after' => 'px'
1477
+ ),
1478
+ array (
1479
+ 'label' => 'Font Size',
1480
+ 'name' => 'BPFontSize',
1481
+ 'type' => 'text',
1482
+ 'class' => '',
1483
+ 'value' => isset($param_values['BPFontSize']) ? $param_values['BPFontSize'] : '',
1484
+ 'after' => 'px'
1485
+ ),
1486
+ array (
1487
+ 'label' => 'Font Weight',
1488
+ 'name' => 'BPFontWeight',
1489
+ 'type' => 'select',
1490
+ 'options' => $font_weights,
1491
+ 'class' => '',
1492
+ 'value' => isset($param_values['BPFontWeight']) ? $param_values['BPFontWeight'] : '',
1493
+ 'after' => ''
1494
+ ),
1495
+ array (
1496
+ 'label' => 'Color',
1497
+ 'name' => 'BPColor',
1498
+ 'type' => 'text',
1499
+ 'class' => 'color',
1500
+ 'value' => isset($param_values['BPColor']) ? $param_values['BPColor'] : '',
1501
+ 'after' => ''
1502
+ ),
1503
+ array (
1504
+ 'label' => 'Padding',
1505
+ 'name' => 'BPPadding',
1506
+ 'type' => 'text',
1507
+ 'class' => '',
1508
+ 'value' => isset($param_values['BPPadding']) ? $param_values['BPPadding'] : '',
1509
+ 'after' => 'px/%'
1510
+ ),
1511
+ array (
1512
+ 'label' => 'Margin',
1513
+ 'name' => 'BPMargin',
1514
+ 'type' => 'text',
1515
+ 'class' => '',
1516
+ 'value' => isset($param_values['BPMargin']) ? $param_values['BPMargin'] : '',
1517
+ 'after' => 'px/%'
1518
+ ),
1519
+ array (
1520
+ 'label' => 'Border',
1521
+ 'name' => 'BPBorder',
1522
+ 'type' => 'checkbox',
1523
+ 'options' => $borders,
1524
+ 'class' => '',
1525
+ 'after' => ''
1526
+ ),
1527
+ array (
1528
+ 'label' => 'Border Color',
1529
+ 'name' => 'BPBorderColor',
1530
+ 'type' => 'text',
1531
+ 'class' => 'color',
1532
+ 'value' => isset($param_values['BPBorderColor']) ? $param_values['BPBorderColor'] : '',
1533
+ 'after' => ''
1534
+ ),
1535
+ array (
1536
+ 'label' => 'Border Type',
1537
+ 'name' => 'BPBorderType',
1538
+ 'type' => 'select',
1539
+ 'options' => $border_types,
1540
+ 'class' => '',
1541
+ 'value' => isset($param_values['BPBorderType']) ? $param_values['BPBorderType'] : '',
1542
+ 'after' => ''
1543
+ ),
1544
+ array (
1545
+ 'label' => 'Border Width',
1546
+ 'name' => 'BPBorderWidth',
1547
+ 'type' => 'text',
1548
+ 'class' => '',
1549
+ 'value' => isset($param_values['BPBorderWidth']) ? $param_values['BPBorderWidth'] : '',
1550
+ 'after' => 'px'
1551
+ ),
1552
+ array (
1553
+ 'label' => 'Border Radius',
1554
+ 'name' => 'BPBorderRadius',
1555
+ 'type' => 'text',
1556
+ 'class' => '',
1557
+ 'value' => isset($param_values['BPBorderRadius']) ? $param_values['BPBorderRadius'] : '',
1558
+ 'after' => 'px'
1559
+ ),
1560
+ array (
1561
+ 'label' => 'Box Shadow',
1562
+ 'name' => 'BPBoxShadow',
1563
+ 'type' => 'text',
1564
+ 'class' => '',
1565
+ 'value' => isset($param_values['BPBoxShadow']) ? $param_values['BPBoxShadow'] : '',
1566
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
1567
+ 'after' => ''
1568
+ ),
1569
+ array (
1570
+ 'label' => 'Hover Parameters',
1571
+ 'type' => 'label',
1572
+ 'class' => 'fm-mini-title',
1573
+ 'after' => '<br/>'
1574
+ ),
1575
+ array (
1576
+ 'label' => 'Background Color',
1577
+ 'name' => 'BHPBGColor',
1578
+ 'type' => 'text',
1579
+ 'class' => 'color',
1580
+ 'value' => isset($param_values['BHPBGColor']) ? $param_values['BHPBGColor'] : '',
1581
+ 'after' => ''
1582
+ ),
1583
+ array (
1584
+ 'label' => 'Color',
1585
+ 'name' => 'BHPColor',
1586
+ 'type' => 'text',
1587
+ 'class' => 'color',
1588
+ 'value' => isset($param_values['BHPColor']) ? $param_values['BHPColor'] : '',
1589
+ 'after' => ''
1590
+ ),
1591
+ array (
1592
+ 'label' => 'Border',
1593
+ 'name' => 'BHPBorder',
1594
+ 'type' => 'checkbox',
1595
+ 'options' => $borders,
1596
+ 'class' => '',
1597
+ 'after' => ''
1598
+ ),
1599
+ array (
1600
+ 'label' => 'Border Color',
1601
+ 'name' => 'BHPBorderColor',
1602
+ 'type' => 'text',
1603
+ 'class' => 'color',
1604
+ 'value' => isset($param_values['BHPBorderColor']) ? $param_values['BHPBorderColor'] : '',
1605
+ 'after' => ''
1606
+ ),
1607
+ array (
1608
+ 'label' => 'Border Type',
1609
+ 'name' => 'BHPBorderType',
1610
+ 'type' => 'select',
1611
+ 'options' => $border_types,
1612
+ 'class' => '',
1613
+ 'value' => isset($param_values['BHPBorderType']) ? $param_values['BHPBorderType'] : '',
1614
+ 'after' => ''
1615
+ ),
1616
+ array (
1617
+ 'label' => 'Border Width',
1618
+ 'name' => 'BHPBorderWidth',
1619
+ 'type' => 'text',
1620
+ 'class' => '',
1621
+ 'value' => isset($param_values['BHPBorderWidth']) ? $param_values['BHPBorderWidth'] : '',
1622
+ 'after' => 'px</div>'
1623
+ )
1624
+ ),
1625
+ 'paigination' => array(
1626
+ array (
1627
+ 'label' => 'Active',
1628
+ 'type' => 'panel',
1629
+ 'class' => 'col-md-6',
1630
+ 'label_class' => 'fm-mini-title',
1631
+ 'after' => ''
1632
+ ),
1633
+ array (
1634
+ 'label' => 'Background Color',
1635
+ 'name' => 'PSAPBGColor',
1636
+ 'type' => 'text',
1637
+ 'class' => 'color',
1638
+ 'value' => isset($param_values['PSAPBGColor']) ? $param_values['PSAPBGColor'] : '',
1639
+ 'after' => ''
1640
+ ),
1641
+ array (
1642
+ 'label' => 'Font Size',
1643
+ 'name' => 'PSAPFontSize',
1644
+ 'type' => 'text',
1645
+ 'class' => '',
1646
+ 'value' => isset($param_values['PSAPFontSize']) ? $param_values['PSAPFontSize'] : '',
1647
+ 'after' => 'px'
1648
+ ),
1649
+ array (
1650
+ 'label' => 'Font Weight',
1651
+ 'name' => 'PSAPFontWeight',
1652
+ 'type' => 'select',
1653
+ 'options' => $font_weights,
1654
+ 'class' => '',
1655
+ 'value' => isset($param_values['PSAPFontWeight']) ? $param_values['PSAPFontWeight'] : '',
1656
+ 'after' => ''
1657
+ ),
1658
+ array (
1659
+ 'label' => 'Color',
1660
+ 'name' => 'PSAPColor',
1661
+ 'type' => 'text',
1662
+ 'class' => 'color',
1663
+ 'value' => isset($param_values['PSAPColor']) ? $param_values['PSAPColor'] : '',
1664
+ 'after' => ''
1665
+ ),
1666
+ array (
1667
+ 'label' => 'Height',
1668
+ 'name' => 'PSAPHeight',
1669
+ 'type' => 'text',
1670
+ 'class' => '',
1671
+ 'value' => isset($param_values['PSAPHeight']) ? $param_values['PSAPHeight'] : '',
1672
+ 'after' => 'px'
1673
+ ),
1674
+ array (
1675
+ 'label' => 'Line Height',
1676
+ 'name' => 'PSAPLineHeight',
1677
+ 'type' => 'text',
1678
+ 'class' => '',
1679
+ 'value' => isset($param_values['PSAPLineHeight']) ? $param_values['PSAPLineHeight'] : '',
1680
+ 'after' => 'px'
1681
+ ),
1682
+ array (
1683
+ 'label' => 'Padding',
1684
+ 'name' => 'PSAPPadding',
1685
+ 'type' => 'text',
1686
+ 'class' => '',
1687
+ 'value' => isset($param_values['PSAPPadding']) ? $param_values['PSAPPadding'] : '',
1688
+ 'after' => 'px/%'
1689
+ ),
1690
+ array (
1691
+ 'label' => 'Margin',
1692
+ 'name' => 'PSAPMargin',
1693
+ 'type' => 'text',
1694
+ 'class' => '',
1695
+ 'value' => isset($param_values['PSAPMargin']) ? $param_values['PSAPMargin'] : '',
1696
+ 'after' => 'px/%'
1697
+ ),
1698
+ array (
1699
+ 'label' => 'Border',
1700
+ 'name' => 'PSAPBorder',
1701
+ 'type' => 'checkbox',
1702
+ 'options' => $borders,
1703
+ 'class' => '',
1704
+ 'after' => ''
1705
+ ),
1706
+ array (
1707
+ 'label' => 'Border Color',
1708
+ 'name' => 'PSAPBorderColor',
1709
+ 'type' => 'text',
1710
+ 'class' => 'color',
1711
+ 'value' => isset($param_values['PSAPBorderColor']) ? $param_values['PSAPBorderColor'] : '',
1712
+ 'after' => ''
1713
+ ),
1714
+ array (
1715
+ 'label' => 'Border Type',
1716
+ 'name' => 'PSAPBorderType',
1717
+ 'type' => 'select',
1718
+ 'options' => $border_types,
1719
+ 'class' => '',
1720
+ 'value' => isset($param_values['PSAPBorderType']) ? $param_values['PSAPBorderType'] : '',
1721
+ 'after' => ''
1722
+ ),
1723
+ array (
1724
+ 'label' => 'Border Width',
1725
+ 'name' => 'PSAPBorderWidth',
1726
+ 'type' => 'text',
1727
+ 'class' => '',
1728
+ 'value' => isset($param_values['PSAPBorderWidth']) ? $param_values['PSAPBorderWidth'] : '',
1729
+ 'after' => 'px'
1730
+ ),
1731
+ array (
1732
+ 'label' => 'Border Radius',
1733
+ 'name' => 'PSAPBorderRadius',
1734
+ 'type' => 'text',
1735
+ 'class' => '',
1736
+ 'value' => isset($param_values['PSAPBorderRadius']) ? $param_values['PSAPBorderRadius'] : '',
1737
+ 'after' => 'px</div>'
1738
+ ),
1739
+ array (
1740
+ 'label' => 'Deactive',
1741
+ 'type' => 'panel',
1742
+ 'class' => 'col-md-6',
1743
+ 'label_class' => 'fm-mini-title',
1744
+ 'after' => ''
1745
+ ),
1746
+ array (
1747
+ 'label' => 'Background Color',
1748
+ 'name' => 'PSDPBGColor',
1749
+ 'type' => 'text',
1750
+ 'class' => 'color',
1751
+ 'value' => isset($param_values['PSDPBGColor']) ? $param_values['PSDPBGColor'] : '',
1752
+ 'after' => ''
1753
+ ),
1754
+ array (
1755
+ 'label' => 'Font Size',
1756
+ 'name' => 'PSDPFontSize',
1757
+ 'type' => 'text',
1758
+ 'class' => '',
1759
+ 'value' => isset($param_values['PSDPFontSize']) ? $param_values['PSDPFontSize'] : '',
1760
+ 'after' => 'px'
1761
+ ),
1762
+ array (
1763
+ 'label' => 'Font Weight',
1764
+ 'name' => 'PSDPFontWeight',
1765
+ 'type' => 'select',
1766
+ 'options' => $font_weights,
1767
+ 'class' => '',
1768
+ 'value' => isset($param_values['PSDPFontWeight']) ? $param_values['PSDPFontWeight'] : '',
1769
+ 'after' => ''
1770
+ ),
1771
+ array (
1772
+ 'label' => 'Color',
1773
+ 'name' => 'PSDPColor',
1774
+ 'type' => 'text',
1775
+ 'class' => 'color',
1776
+ 'value' => isset($param_values['PSDPColor']) ? $param_values['PSDPColor'] : '',
1777
+ 'after' => ''
1778
+ ),
1779
+ array (
1780
+ 'label' => 'Height',
1781
+ 'name' => 'PSDPHeight',
1782
+ 'type' => 'text',
1783
+ 'class' => '',
1784
+ 'value' => isset($param_values['PSDPHeight']) ? $param_values['PSDPHeight'] : '',
1785
+ 'after' => 'px'
1786
+ ),
1787
+ array (
1788
+ 'label' => 'Line Height',
1789
+ 'name' => 'PSDPLineHeight',
1790
+ 'type' => 'text',
1791
+ 'class' => '',
1792
+ 'value' => isset($param_values['PSDPLineHeight']) ? $param_values['PSDPLineHeight'] : '',
1793
+ 'after' => 'px'
1794
+ ),
1795
+ array (
1796
+ 'label' => 'Padding',
1797
+ 'name' => 'PSDPPadding',
1798
+ 'type' => 'text',
1799
+ 'class' => '',
1800
+ 'value' => isset($param_values['PSDPPadding']) ? $param_values['PSDPPadding'] : '',
1801
+ 'after' => 'px/%'
1802
+ ),
1803
+ array (
1804
+ 'label' => 'Margin',
1805
+ 'name' => 'PSDPMargin',
1806
+ 'type' => 'text',
1807
+ 'class' => '',
1808
+ 'value' => isset($param_values['PSDPMargin']) ? $param_values['PSDPMargin'] : '',
1809
+ 'after' => 'px/%'
1810
+ ),
1811
+ array (
1812
+ 'label' => 'Border',
1813
+ 'name' => 'PSDPBorder',
1814
+ 'type' => 'checkbox',
1815
+ 'options' => $borders,
1816
+ 'class' => '',
1817
+ 'after' => ''
1818
+ ),
1819
+ array (
1820
+ 'label' => 'Border Color',
1821
+ 'name' => 'PSDPBorderColor',
1822
+ 'type' => 'text',
1823
+ 'class' => 'color',
1824
+ 'value' => isset($param_values['PSDPBorderColor']) ? $param_values['PSDPBorderColor'] : '',
1825
+ 'after' => ''
1826
+ ),
1827
+ array (
1828
+ 'label' => 'Border Type',
1829
+ 'name' => 'PSDPBorderType',
1830
+ 'type' => 'select',
1831
+ 'options' => $border_types,
1832
+ 'class' => '',
1833
+ 'value' => isset($param_values['PSDPBorderType']) ? $param_values['PSDPBorderType'] : '',
1834
+ 'after' => ''
1835
+ ),
1836
+ array (
1837
+ 'label' => 'Border Width',
1838
+ 'name' => 'PSDPBorderWidth',
1839
+ 'type' => 'text',
1840
+ 'class' => '',
1841
+ 'value' => isset($param_values['PSDPBorderWidth']) ? $param_values['PSDPBorderWidth'] : '',
1842
+ 'after' => 'px'
1843
+ ),
1844
+ array (
1845
+ 'label' => 'Border Radius',
1846
+ 'name' => 'PSDPBorderRadius',
1847
+ 'type' => 'text',
1848
+ 'class' => '',
1849
+ 'value' => isset($param_values['PSDPBorderRadius']) ? $param_values['PSDPBorderRadius'] : '',
1850
+ 'after' => 'px</div>'
1851
+ ),
1852
+ array (
1853
+ 'label' => 'Steps',
1854
+ 'type' => 'panel',
1855
+ 'class' => 'col-md-12',
1856
+ 'label_class' => 'fm-mini-title',
1857
+ 'after' => ''
1858
+ ),
1859
+ array (
1860
+ 'label' => 'Alignment',
1861
+ 'name' => 'PSAPAlign',
1862
+ 'type' => 'select',
1863
+ 'options' => $aligns ,
1864
+ 'class' => '',
1865
+ 'value' => isset($param_values['PSAPAlign']) ? $param_values['PSAPAlign'] : '',
1866
+ 'after' => ''
1867
+ ),
1868
+ array (
1869
+ 'label' => 'Width',
1870
+ 'name' => 'PSAPWidth',
1871
+ 'type' => 'text',
1872
+ 'class' => '',
1873
+ 'value' => isset($param_values['PSAPWidth']) ? $param_values['PSAPWidth'] : '',
1874
+ 'after' => 'px</div>'
1875
+ ),
1876
+ array (
1877
+ 'label' => 'Percentage',
1878
+ 'type' => 'panel',
1879
+ 'class' => 'col-md-12',
1880
+ 'label_class' => 'fm-mini-title',
1881
+ 'after' => ''
1882
+ ),
1883
+ array (
1884
+ 'label' => 'Width',
1885
+ 'name' => 'PPAPWidth',
1886
+ 'type' => 'text',
1887
+ 'class' => '',
1888
+ 'value' => isset($param_values['PPAPWidth']) ? $param_values['PPAPWidth'] : '',
1889
+ 'placeholder' => 'e.g. 100% or 500px',
1890
+ 'after' => 'px/%</div>'
1891
+ )
1892
+ ),
1893
+ 'buttons' => array(
1894
+ array (
1895
+ 'label' => 'Global Parameters',
1896
+ 'type' => 'panel',
1897
+ 'class' => 'col-md-12',
1898
+ 'label_class' => 'fm-mini-title',
1899
+ 'after' => '<br/>'
1900
+ ),
1901
+ array (
1902
+ 'label' => 'Font Size',
1903
+ 'name' => 'BPFontSize',
1904
+ 'type' => 'text',
1905
+ 'class' => '',
1906
+ 'value' => isset($param_values['BPFontSize']) ? $param_values['BPFontSize'] : '',
1907
+ 'after' => 'px'
1908
+ ),
1909
+ array (
1910
+ 'label' => 'Font Weight',
1911
+ 'name' => 'BPFontWeight',
1912
+ 'type' => 'select',
1913
+ 'options' => $font_weights,
1914
+ 'class' => '',
1915
+ 'value' => isset($param_values['BPFontWeight']) ? $param_values['BPFontWeight'] : '',
1916
+ 'after' => '</div>'
1917
+ ),
1918
+ array (
1919
+ 'label' => 'Next Button Parameters',
1920
+ 'type' => 'panel',
1921
+ 'class' => 'col-md-6',
1922
+ 'label_class' => 'fm-mini-title',
1923
+ 'after' => '<br/>'
1924
+ ),
1925
+ array (
1926
+ 'label' => 'Background Color',
1927
+ 'name' => 'NBPBGColor',
1928
+ 'type' => 'text',
1929
+ 'class' => 'color',
1930
+ 'value' => isset($param_values['NBPBGColor']) ? $param_values['NBPBGColor'] : '',
1931
+ 'after' => ''
1932
+ ),
1933
+ array (
1934
+ 'label' => 'Width',
1935
+ 'name' => 'NBPWidth',
1936
+ 'type' => 'text',
1937
+ 'class' => '',
1938
+ 'value' => isset($param_values['NBPWidth']) ? $param_values['NBPWidth'] : '',
1939
+ 'after' => 'px'
1940
+ ),
1941
+ array (
1942
+ 'label' => 'Height',
1943
+ 'name' => 'NBPHeight',
1944
+ 'type' => 'text',
1945
+ 'class' => '',
1946
+ 'value' => isset($param_values['NBPHeight']) ? $param_values['NBPHeight'] : '',
1947
+ 'after' => 'px'
1948
+ ),
1949
+ array (
1950
+ 'label' => 'Line Height',
1951
+ 'name' => 'NBPLineHeight',
1952
+ 'type' => 'text',
1953
+ 'class' => '',
1954
+ 'value' => isset($param_values['NBPLineHeight']) ? $param_values['NBPLineHeight'] : '',
1955
+ 'after' => 'px'
1956
+ ),
1957
+ array (
1958
+ 'label' => 'Color',
1959
+ 'name' => 'NBPColor',
1960
+ 'type' => 'text',
1961
+ 'class' => 'color',
1962
+ 'value' => isset($param_values['NBPColor']) ? $param_values['NBPColor'] : '',
1963
+ 'after' => ''
1964
+ ),
1965
+ array (
1966
+ 'label' => 'Padding',
1967
+ 'name' => 'NBPPadding',
1968
+ 'type' => 'text',
1969
+ 'class' => '',
1970
+ 'value' => isset($param_values['NBPPadding']) ? $param_values['NBPPadding'] : '',
1971
+ 'after' => 'px/%'
1972
+ ),
1973
+ array (
1974
+ 'label' => 'Margin',
1975
+ 'name' => 'NBPMargin',
1976
+ 'type' => 'text',
1977
+ 'class' => '',
1978
+ 'value' => isset($param_values['NBPMargin']) ? $param_values['NBPMargin'] : '',
1979
+ 'after' => 'px/%'
1980
+ ),
1981
+ array (
1982
+ 'label' => 'Border',
1983
+ 'name' => 'NBPBorder',
1984
+ 'type' => 'checkbox',
1985
+ 'options' => $borders,
1986
+ 'class' => '',
1987
+ 'after' => ''
1988
+ ),
1989
+ array (
1990
+ 'label' => 'Border Color',
1991
+ 'name' => 'NBPBorderColor',
1992
+ 'type' => 'text',
1993
+ 'class' => 'color',
1994
+ 'value' => isset($param_values['NBPBorderColor']) ? $param_values['NBPBorderColor'] : '',
1995
+ 'after' => ''
1996
+ ),
1997
+ array (
1998
+ 'label' => 'Border Type',
1999
+ 'name' => 'NBPBorderType',
2000
+ 'type' => 'select',
2001
+ 'options' => $border_types,
2002
+ 'class' => '',
2003
+ 'value' => isset($param_values['NBPBorderType']) ? $param_values['NBPBorderType'] : '',
2004
+ 'after' => ''
2005
+ ),
2006
+ array (
2007
+ 'label' => 'Border Width',
2008
+ 'name' => 'NBPBorderWidth',
2009
+ 'type' => 'text',
2010
+ 'class' => '',
2011
+ 'value' => isset($param_values['NBPBorderWidth']) ? $param_values['NBPBorderWidth'] : '',
2012
+ 'after' => 'px'
2013
+ ),
2014
+ array (
2015
+ 'label' => 'Border Radius',
2016
+ 'name' => 'NBPBorderRadius',
2017
+ 'type' => 'text',
2018
+ 'class' => '',
2019
+ 'value' => isset($param_values['NBPBorderRadius']) ? $param_values['NBPBorderRadius'] : '',
2020
+ 'after' => 'px'
2021
+ ),
2022
+ array (
2023
+ 'label' => 'Box Shadow',
2024
+ 'name' => 'NBPBoxShadow',
2025
+ 'type' => 'text',
2026
+ 'class' => '',
2027
+ 'value' => isset($param_values['NBPBoxShadow']) ? $param_values['NBPBoxShadow'] : '',
2028
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
2029
+ 'after' => ''
2030
+ ),
2031
+ array (
2032
+ 'label' => 'Hover Parameters',
2033
+ 'type' => 'label',
2034
+ 'class' => 'fm-mini-title',
2035
+ 'after' => '<br/>'
2036
+ ),
2037
+ array (
2038
+ 'label' => 'Background Color',
2039
+ 'name' => 'NBHPBGColor',
2040
+ 'type' => 'text',
2041
+ 'class' => 'color',
2042
+ 'value' => isset($param_values['NBHPBGColor']) ? $param_values['NBHPBGColor'] : '',
2043
+ 'after' => ''
2044
+ ),
2045
+ array (
2046
+ 'label' => 'Color',
2047
+ 'name' => 'NBHPColor',
2048
+ 'type' => 'text',
2049
+ 'class' => 'color',
2050
+ 'value' => isset($param_values['NBHPColor']) ? $param_values['NBHPColor'] : '',
2051
+ 'after' => ''
2052
+ ),
2053
+ array (
2054
+ 'label' => 'Border',
2055
+ 'name' => 'NBHPBorder',
2056
+ 'type' => 'checkbox',
2057
+ 'options' => $borders,
2058
+ 'class' => '',
2059
+ 'after' => ''
2060
+ ),
2061
+ array (
2062
+ 'label' => 'Border Color',
2063
+ 'name' => 'NBHPBorderColor',
2064
+ 'type' => 'text',
2065
+ 'class' => 'color',
2066
+ 'value' => isset($param_values['NBHPBorderColor']) ? $param_values['NBHPBorderColor'] : '',
2067
+ 'after' => ''
2068
+ ),
2069
+ array (
2070
+ 'label' => 'Border Type',
2071
+ 'name' => 'NBHPBorderType',
2072
+ 'type' => 'select',
2073
+ 'options' => $border_types,
2074
+ 'class' => '',
2075
+ 'value' => isset($param_values['NBHPBorderType']) ? $param_values['NBHPBorderType'] : '',
2076
+ 'after' => ''
2077
+ ),
2078
+ array (
2079
+ 'label' => 'Border Width',
2080
+ 'name' => 'NBHPBorderWidth',
2081
+ 'type' => 'text',
2082
+ 'class' => '',
2083
+ 'value' => isset($param_values['NBHPBorderWidth']) ? $param_values['NBHPBorderWidth'] : '',
2084
+ 'after' => 'px</div>'
2085
+ ),
2086
+ array (
2087
+ 'label' => 'Previous Button Parameters',
2088
+ 'type' => 'panel',
2089
+ 'class' => 'col-md-6',
2090
+ 'label_class' => 'fm-mini-title',
2091
+ 'after' => '<br/>'
2092
+ ),
2093
+ array (
2094
+ 'label' => 'Background Color',
2095
+ 'name' => 'PBPBGColor',
2096
+ 'type' => 'text',
2097
+ 'class' => 'color',
2098
+ 'value' => isset($param_values['PBPBGColor']) ? $param_values['PBPBGColor'] : '',
2099
+ 'after' => ''
2100
+ ),
2101
+ array (
2102
+ 'label' => 'Width',
2103
+ 'name' => 'PBPWidth',
2104
+ 'type' => 'text',
2105
+ 'class' => '',
2106
+ 'value' => isset($param_values['PBPWidth']) ? $param_values['PBPWidth'] : '',
2107
+ 'after' => 'px'
2108
+ ),
2109
+ array (
2110
+ 'label' => 'Height',
2111
+ 'name' => 'PBPHeight',
2112
+ 'type' => 'text',
2113
+ 'class' => '',
2114
+ 'value' => isset($param_values['PBPHeight']) ? $param_values['PBPHeight'] : '',
2115
+ 'after' => 'px'
2116
+ ),
2117
+ array (
2118
+ 'label' => 'Line Height',
2119
+ 'name' => 'PBPLineHeight',
2120
+ 'type' => 'text',
2121
+ 'class' => '',
2122
+ 'value' => isset($param_values['PBPLineHeight']) ? $param_values['PBPLineHeight'] : '',
2123
+ 'after' => 'px'
2124
+ ),
2125
+ array (
2126
+ 'label' => 'Color',
2127
+ 'name' => 'PBPColor',
2128
+ 'type' => 'text',
2129
+ 'class' => 'color',
2130
+ 'value' => isset($param_values['PBPColor']) ? $param_values['PBPColor'] : '',
2131
+ 'after' => ''
2132
+ ),
2133
+ array (
2134
+ 'label' => 'Padding',
2135
+ 'name' => 'PBPPadding',
2136
+ 'type' => 'text',
2137
+ 'class' => '',
2138
+ 'value' => isset($param_values['PBPPadding']) ? $param_values['PBPPadding'] : '',
2139
+ 'after' => 'px/%'
2140
+ ),
2141
+ array (
2142
+ 'label' => 'Margin',
2143
+ 'name' => 'PBPMargin',
2144
+ 'type' => 'text',
2145
+ 'class' => '',
2146
+ 'value' => isset($param_values['PBPMargin']) ? $param_values['PBPMargin'] : '',
2147
+ 'after' => 'px/%'
2148
+ ),
2149
+ array (
2150
+ 'label' => 'Border',
2151
+ 'name' => 'PBPBorder',
2152
+ 'type' => 'checkbox',
2153
+ 'options' => $borders,
2154
+ 'class' => '',
2155
+ 'after' => ''
2156
+ ),
2157
+ array (
2158
+ 'label' => 'Border Color',
2159
+ 'name' => 'PBPBorderColor',
2160
+ 'type' => 'text',
2161
+ 'class' => 'color',
2162
+ 'value' => isset($param_values['PBPBorderColor']) ? $param_values['PBPBorderColor'] : '',
2163
+ 'after' => ''
2164
+ ),
2165
+ array (
2166
+ 'label' => 'Border Type',
2167
+ 'name' => 'PBPBorderType',
2168
+ 'type' => 'select',
2169
+ 'options' => $border_types,
2170
+ 'class' => '',
2171
+ 'value' => isset($param_values['PBPBorderType']) ? $param_values['PBPBorderType'] : '',
2172
+ 'after' => ''
2173
+ ),
2174
+ array (
2175
+ 'label' => 'Border Width',
2176
+ 'name' => 'PBPBorderWidth',
2177
+ 'type' => 'text',
2178
+ 'class' => '',
2179
+ 'value' => isset($param_values['PBPBorderWidth']) ? $param_values['PBPBorderWidth'] : '',
2180
+ 'after' => 'px'
2181
+ ),
2182
+ array (
2183
+ 'label' => 'Border Radius',
2184
+ 'name' => 'PBPBorderRadius',
2185
+ 'type' => 'text',
2186
+ 'class' => '',
2187
+ 'value' => isset($param_values['PBPBorderRadius']) ? $param_values['PBPBorderRadius'] : '',
2188
+ 'after' => 'px'
2189
+ ),
2190
+ array (
2191
+ 'label' => 'Box Shadow',
2192
+ 'name' => 'PBPBoxShadow',
2193
+ 'type' => 'text',
2194
+ 'class' => '',
2195
+ 'value' => isset($param_values['PBPBoxShadow']) ? $param_values['PBPBoxShadow'] : '',
2196
+ 'placeholder' => 'e.g. 5px 5px 2px #888888',
2197
+ 'after' => ''
2198
+ ),
2199
+ array (
2200
+ 'label' => 'Hover Parameters',
2201
+ 'type' => 'label',
2202
+ 'class' => 'fm-mini-title',
2203
+ 'after' => '<br/>'
2204
+ ),
2205
+ array (
2206
+ 'label' => 'Background Color',
2207
+ 'name' => 'PBHPBGColor',
2208
+ 'type' => 'text',
2209
+ 'class' => 'color',
2210
+ 'value' => isset($param_values['PBHPBGColor']) ? $param_values['PBHPBGColor'] : '',
2211
+ 'after' => ''
2212
+ ),
2213
+ array (
2214
+ 'label' => 'Color',
2215
+ 'name' => 'PBHPColor',
2216
+ 'type' => 'text',
2217
+ 'class' => 'color',
2218
+ 'value' => isset($param_values['PBHPColor']) ? $param_values['PBHPColor'] : '',
2219
+ 'after' => ''
2220
+ ),
2221
+ array (
2222
+ 'label' => 'Border',
2223
+ 'name' => 'PBHPBorder',
2224
+ 'type' => 'checkbox',
2225
+ 'options' => $borders,
2226
+ 'class' => '',
2227
+ 'after' => ''
2228
+ ),
2229
+ array (
2230
+ 'label' => 'Border Color',
2231
+ 'name' => 'PBHPBorderColor',
2232
+ 'type' => 'text',
2233
+ 'class' => 'color',
2234
+ 'value' => isset($param_values['PBHPBorderColor']) ? $param_values['PBHPBorderColor'] : '',
2235
+ 'after' => ''
2236
+ ),
2237
+ array (
2238
+ 'label' => 'Border Type',
2239
+ 'name' => 'PBHPBorderType',
2240
+ 'type' => 'select',
2241
+ 'options' => $border_types,
2242
+ 'class' => '',
2243
+ 'value' => isset($param_values['PBHPBorderType']) ? $param_values['PBHPBorderType'] : '',
2244
+ 'after' => ''
2245
+ ),
2246
+ array (
2247
+ 'label' => 'Border Width',
2248
+ 'name' => 'PBHPBorderWidth',
2249
+ 'type' => 'text',
2250
+ 'class' => '',
2251
+ 'value' => isset($param_values['PBHPBorderWidth']) ? $param_values['PBHPBorderWidth'] : '',
2252
+ 'after' => 'px</div>'
2253
+ )
2254
+ ),
2255
+ 'close_button' => array(
2256
+ array (
2257
+ 'label' => '',
2258
+ 'type' => 'panel',
2259
+ 'class' => 'col-md-12',
2260
+ 'label_class' => '',
2261
+ 'after' => ''
2262
+ ),
2263
+ array (
2264
+ 'label' => 'Position',
2265
+ 'name' => 'CBPPosition',
2266
+ 'type' => 'select',
2267
+ 'options' => $position_types,
2268
+ 'class' => '',
2269
+ 'value' => isset($param_values['CBPPosition']) ? $param_values['CBPPosition'] : '',
2270
+ 'after' => ''
2271
+ ),
2272
+ array (
2273
+ 'label' => 'Top',
2274
+ 'name' => 'CBPTop',
2275
+ 'type' => 'text',
2276
+ 'class' => '',
2277
+ 'value' => isset($param_values['CBPTop']) ? $param_values['CBPTop'] : '',
2278
+ 'after' => 'px/%'
2279
+ ),
2280
+ array (
2281
+ 'label' => 'Right',
2282
+ 'name' => 'CBPRight',
2283
+ 'type' => 'text',
2284
+ 'class' => '',
2285
+ 'value' => isset($param_values['CBPRight']) ? $param_values['CBPRight'] : '',
2286
+ 'after' => 'px/%'
2287
+ ),
2288
+ array (
2289
+ 'label' => 'Bottom',
2290
+ 'name' => 'CBPBottom',
2291
+ 'type' => 'text',
2292
+ 'class' => '',
2293
+ 'value' => isset($param_values['CBPBottom']) ? $param_values['CBPBottom'] : '',
2294
+ 'after' => 'px/%'
2295
+ ),
2296
+ array (
2297
+ 'label' => 'Left',
2298
+ 'name' => 'CBPLeft',
2299
+ 'type' => 'text',
2300
+ 'class' => '',
2301
+ 'value' => isset($param_values['CBPLeft']) ? $param_values['CBPLeft'] : '',
2302
+ 'after' => 'px/%'
2303
+ ),
2304
+ array (
2305
+ 'label' => 'Background Color',
2306
+ 'name' => 'CBPBGColor',
2307
+ 'type' => 'text',
2308
+ 'class' => 'color',
2309
+ 'value' => isset($param_values['CBPBGColor']) ? $param_values['CBPBGColor'] : '',
2310
+ 'after' => ''
2311
+ ),
2312
+ array (
2313
+ 'label' => 'Font Size',
2314
+ 'name' => 'CBPFontSize',
2315
+ 'type' => 'text',
2316
+ 'class' => '13',
2317
+ 'value' => isset($param_values['CBPFontSize']) ? $param_values['CBPFontSize'] : '',
2318
+ 'after' => 'px'
2319
+ ),
2320
+ array (
2321
+ 'label' => 'Font Weight',
2322
+ 'name' => 'CBPFontWeight',
2323
+ 'type' => 'select',
2324
+ 'options' => $font_weights,
2325
+ 'class' => '',
2326
+ 'value' => isset($param_values['CBPFontWeight']) ? $param_values['CBPFontWeight'] : '',
2327
+ 'after' => ''
2328
+ ),
2329
+ array (
2330
+ 'label' => 'Color',
2331
+ 'name' => 'CBPColor',
2332
+ 'type' => 'text',
2333
+ 'class' => 'color',
2334
+ 'value' => isset($param_values['CBPColor']) ? $param_values['CBPColor'] : '',
2335
+ 'after' => ''
2336
+ ),
2337
+ array (
2338
+ 'label' => 'Padding',
2339
+ 'name' => 'CBPPadding',
2340
+ 'type' => 'text',
2341
+ 'class' => '',
2342
+ 'value' => isset($param_values['CBPPadding']) ? $param_values['CBPPadding'] : '',
2343
+ 'after' => 'px/%'
2344
+ ),
2345
+ array (
2346
+ 'label' => 'Margin',
2347
+ 'name' => 'CBPMargin',
2348
+ 'type' => 'text',
2349
+ 'class' => '',
2350
+ 'value' => isset($param_values['CBPMargin']) ? $param_values['CBPMargin'] : '',
2351
+ 'after' => 'px/%'
2352
+ ),
2353
+ array (
2354
+ 'label' => 'Border',
2355
+ 'name' => 'CBPBorder',
2356
+ 'type' => 'checkbox',
2357
+ 'options' => $borders,
2358
+ 'class' => '',
2359
+ 'after' => ''
2360
+ ),
2361
+ array (
2362
+ 'label' => 'Border Color',
2363
+ 'name' => 'CBPBorderColor',
2364
+ 'type' => 'text',
2365
+ 'class' => 'color',
2366
+ 'value' => isset($param_values['CBPBorderColor']) ? $param_values['CBPBorderColor'] : '',
2367
+ 'after' => ''
2368
+ ),
2369
+ array (
2370
+ 'label' => 'Border Type',
2371
+ 'name' => 'CBPBorderType',
2372
+ 'type' => 'select',
2373
+ 'options' => $border_types,
2374
+ 'class' => '',
2375
+ 'value' => isset($param_values['CBPBorderType']) ? $param_values['CBPBorderType'] : '',
2376
+ 'after' => ''
2377
+ ),
2378
+ array (
2379
+ 'label' => 'Border Width',
2380
+ 'name' => 'CBPBorderWidth',
2381
+ 'type' => 'text',
2382
+ 'class' => '',
2383
+ 'value' => isset($param_values['CBPBorderWidth']) ? $param_values['CBPBorderWidth'] : '',
2384
+ 'after' => 'px'
2385
+ ),
2386
+ array (
2387
+ 'label' => 'Border Radius',
2388
+ 'name' => 'CBPBorderRadius',
2389
+ 'type' => 'text',
2390
+ 'class' => '',
2391
+ 'value' => isset($param_values['CBPBorderRadius']) ? $param_values['CBPBorderRadius'] : '',
2392
+ 'after' => 'px'
2393
+ ),
2394
+ array (
2395
+ 'label' => 'Hover Parameters',
2396
+ 'type' => 'label',
2397
+ 'class' => 'fm-mini-title',
2398
+ 'after' => '<br/>'
2399
+ ),
2400
+ array (
2401
+ 'label' => 'Background Color',
2402
+ 'name' => 'CBHPBGColor',
2403
+ 'type' => 'text',
2404
+ 'class' => 'color',
2405
+ 'value' => isset($param_values['CBHPBGColor']) ? $param_values['CBHPBGColor'] : '',
2406
+ 'after' => ''
2407
+ ),
2408
+ array (
2409
+ 'label' => 'Color',
2410
+ 'name' => 'CBHPColor',
2411
+ 'type' => 'text',
2412
+ 'class' => 'color',
2413
+ 'value' => isset($param_values['CBHPColor']) ? $param_values['CBHPColor'] : '',
2414
+ 'after' => ''
2415
+ ),
2416
+ array (
2417
+ 'label' => 'Border',
2418
+ 'name' => 'CBHPBorder',
2419
+ 'type' => 'checkbox',
2420
+ 'options' => $borders,
2421
+ 'class' => '',
2422
+ 'after' => ''
2423
+ ),
2424
+ array (
2425
+ 'label' => 'Border Color',
2426
+ 'name' => 'CBHPBorderColor',
2427
+ 'type' => 'text',
2428
+ 'class' => 'color',
2429
+ 'value' => isset($param_values['CBHPBorderColor']) ? $param_values['CBHPBorderColor'] : '',
2430
+ 'after' => ''
2431
+ ),
2432
+ array (
2433
+ 'label' => 'Border Type',
2434
+ 'name' => 'CBHPBorderType',
2435
+ 'type' => 'select',
2436
+ 'options' => $border_types,
2437
+ 'class' => '',
2438
+ 'value' => isset($param_values['CBHPBorderType']) ? $param_values['CBHPBorderType'] : '',
2439
+ 'after' => ''
2440
+ ),
2441
+ array (
2442
+ 'label' => 'Border Width',
2443
+ 'name' => 'CBHPBorderWidth',
2444
+ 'type' => 'text',
2445
+ 'class' => '',
2446
+ 'value' => isset($param_values['CBHPBorderWidth']) ? $param_values['CBHPBorderWidth'] : '',
2447
+ 'after' => 'px</div>'
2448
+ )
2449
+ ),
2450
+ 'minimize' => array(
2451
+ array (
2452
+ 'label' => '',
2453
+ 'type' => 'panel',
2454
+ 'class' => 'col-md-12',
2455
+ 'label_class' => '',
2456
+ 'after' => ''
2457
+ ),
2458
+ array (
2459
+ 'label' => 'Background Color',
2460
+ 'name' => 'MBPBGColor',
2461
+ 'type' => 'text',
2462
+ 'class' => 'color',
2463
+ 'value' => isset($param_values['MBPBGColor']) ? $param_values['MBPBGColor'] : '',
2464
+ 'after' => ''
2465
+ ),
2466
+ array (
2467
+ 'label' => 'Font Size',
2468
+ 'name' => 'MBPFontSize',
2469
+ 'type' => 'text',
2470
+ 'class' => '13',
2471
+ 'value' => isset($param_values['MBPFontSize']) ? $param_values['MBPFontSize'] : '',
2472
+ 'after' => 'px'
2473
+ ),
2474
+ array (
2475
+ 'label' => 'Font Weight',
2476
+ 'name' => 'MBPFontWeight',
2477
+ 'type' => 'select',
2478
+ 'options' => $font_weights,
2479
+ 'class' => '',
2480
+ 'value' => isset($param_values['MBPFontWeight']) ? $param_values['MBPFontWeight'] : '',
2481
+ 'after' => ''
2482
+ ),
2483
+ array (
2484
+ 'label' => 'Color',
2485
+ 'name' => 'MBPColor',
2486
+ 'type' => 'text',
2487
+ 'class' => 'color',
2488
+ 'value' => isset($param_values['MBPColor']) ? $param_values['MBPColor'] : '',
2489
+ 'after' => ''
2490
+ ),
2491
+ array (
2492
+ 'label' => 'Text Align',
2493
+ 'name' => 'MBPTextAlign',
2494
+ 'type' => 'select',
2495
+ 'options' => $aligns,
2496
+ 'class' => '',
2497
+ 'value' => isset($param_values['MBPTextAlign']) ? $param_values['MBPTextAlign'] : '',
2498
+ 'after' => ''
2499
+ ),
2500
+ array (
2501
+ 'label' => 'Padding',
2502
+ 'name' => 'MBPPadding',
2503
+ 'type' => 'text',
2504
+ 'class' => '',
2505
+ 'value' => isset($param_values['MBPPadding']) ? $param_values['MBPPadding'] : '',
2506
+ 'after' => 'px/%'
2507
+ ),
2508
+ array (
2509
+ 'label' => 'Margin',
2510
+ 'name' => 'MBPMargin',
2511
+ 'type' => 'text',
2512
+ 'class' => '',
2513
+ 'value' => isset($param_values['MBPMargin']) ? $param_values['MBPMargin'] : '',
2514
+ 'after' => 'px/%'
2515
+ ),
2516
+ array (
2517
+ 'label' => 'Border',
2518
+ 'name' => 'MBPBorder',
2519
+ 'type' => 'checkbox',
2520
+ 'options' => $borders,
2521
+ 'class' => '',
2522
+ 'after' => ''
2523
+ ),
2524
+ array (
2525
+ 'label' => 'Border Color',
2526
+ 'name' => 'MBPBorderColor',
2527
+ 'type' => 'text',
2528
+ 'class' => 'color',
2529
+ 'value' => isset($param_values['MBPBorderColor']) ? $param_values['MBPBorderColor'] : '',
2530
+ 'after' => ''
2531
+ ),
2532
+ array (
2533
+ 'label' => 'Border Type',
2534
+ 'name' => 'MBPBorderType',
2535
+ 'type' => 'select',
2536
+ 'options' => $border_types,
2537
+ 'class' => '',
2538
+ 'value' => isset($param_values['MBPBorderType']) ? $param_values['MBPBorderType'] : '',
2539
+ 'after' => ''
2540
+ ),
2541
+ array (
2542
+ 'label' => 'Border Width',
2543
+ 'name' => 'MBPBorderWidth',
2544
+ 'type' => 'text',
2545
+ 'class' => '',
2546
+ 'value' => isset($param_values['MBPBorderWidth']) ? $param_values['MBPBorderWidth'] : '',
2547
+ 'after' => 'px'
2548
+ ),
2549
+ array (
2550
+ 'label' => 'Border Radius',
2551
+ 'name' => 'MBPBorderRadius',
2552
+ 'type' => 'text',
2553
+ 'class' => '',
2554
+ 'value' => isset($param_values['MBPBorderRadius']) ? $param_values['MBPBorderRadius'] : '',
2555
+ 'after' => 'px'
2556
+ ),
2557
+ array (
2558
+ 'label' => 'Hover Parameters',
2559
+ 'type' => 'label',
2560
+ 'class' => 'fm-mini-title',
2561
+ 'after' => '<br/>'
2562
+ ),
2563
+ array (
2564
+ 'label' => 'Background Color',
2565
+ 'name' => 'MBHPBGColor',
2566
+ 'type' => 'text',
2567
+ 'class' => 'color',
2568
+ 'value' => isset($param_values['MBHPBGColor']) ? $param_values['MBHPBGColor'] : '',
2569
+ 'after' => ''
2570
+ ),
2571
+ array (
2572
+ 'label' => 'Color',
2573
+ 'name' => 'MBHPColor',
2574
+ 'type' => 'text',
2575
+ 'class' => 'color',
2576
+ 'value' => isset($param_values['MBHPColor']) ? $param_values['MBHPColor'] : '',
2577
+ 'after' => ''
2578
+ ),
2579
+ array (
2580
+ 'label' => 'Border',
2581
+ 'name' => 'MBHPBorder',
2582
+ 'type' => 'checkbox',
2583
+ 'options' => $borders,
2584
+ 'class' => '',
2585
+ 'after' => ''
2586
+ ),
2587
+ array (
2588
+ 'label' => 'Border Color',
2589
+ 'name' => 'MBHPBorderColor',
2590
+ 'type' => 'text',
2591
+ 'class' => 'color',
2592
+ 'value' => isset($param_values['MBHPBorderColor']) ? $param_values['MBHPBorderColor'] : '',
2593
+ 'after' => ''
2594
+ ),
2595
+ array (
2596
+ 'label' => 'Border Type',
2597
+ 'name' => 'MBHPBorderType',
2598
+ 'type' => 'select',
2599
+ 'options' => $border_types,
2600
+ 'class' => '',
2601
+ 'value' => isset($param_values['MBHPBorderType']) ? $param_values['MBHPBorderType'] : '',
2602
+ 'after' => ''
2603
+ ),
2604
+ array (
2605
+ 'label' => 'Border Width',
2606
+ 'name' => 'MBHPBorderWidth',
2607
+ 'type' => 'text',
2608
+ 'class' => '',
2609
+ 'value' => isset($param_values['MBHPBorderWidth']) ? $param_values['MBHPBorderWidth'] : '',
2610
+ 'after' => 'px</div>'
2611
+ )
2612
+ ),
2613
+
2614
+ 'other' => array(
2615
+ array (
2616
+ 'label' => 'Deactive Text',
2617
+ 'type' => 'panel',
2618
+ 'class' => 'col-md-12',
2619
+ 'label_class' => 'fm-mini-title',
2620
+ 'after' => '<br/>'
2621
+ ),
2622
+ array (
2623
+ 'label' => 'Color',
2624
+ 'name' => 'OPDeInputColor',
2625
+ 'type' => 'text',
2626
+ 'class' => 'color',
2627
+ 'value' => isset($param_values['OPDeInputColor']) ? $param_values['OPDeInputColor'] : '',
2628
+ 'after' => ''
2629
+ ),
2630
+ array (
2631
+ 'label' => 'Font Style',
2632
+ 'name' => 'OPFontStyle',
2633
+ 'type' => 'text',
2634
+ 'class' => '',
2635
+ 'value' => isset($param_values['OPFontStyle']) ? $param_values['OPFontStyle'] : '',
2636
+ 'after' => ''
2637
+ ),
2638
+ array (
2639
+ 'label' => 'Required',
2640
+ 'type' => 'label',
2641
+ 'class' => 'fm-mini-title',
2642
+ 'after' => '<br/>'
2643
+ ),
2644
+ array (
2645
+ 'label' => 'Color',
2646
+ 'name' => 'OPRColor',
2647
+ 'type' => 'text',
2648
+ 'class' => 'color',
2649
+ 'value' => isset($param_values['OPRColor']) ? $param_values['OPRColor'] : '',
2650
+ 'after' => ''
2651
+ ),
2652
+ array (
2653
+ 'label' => 'Date Picker',
2654
+ 'type' => 'label',
2655
+ 'class' => 'fm-mini-title',
2656
+ 'after' => '<br/>'
2657
+ ),
2658
+ array (
2659
+ 'label' => 'Background URL',
2660
+ 'name' => 'OPDPIcon',
2661
+ 'type' => 'text',
2662
+ 'class' => '',
2663
+ 'placeholder' => '',
2664
+ 'value' => isset($param_values['OPDPIcon']) ? $param_values['OPDPIcon'] : '',
2665
+ 'after' => ''
2666
+ ),
2667
+ array (
2668
+ 'label' => 'Background Repeat',
2669
+ 'name' => 'OPDPRepeat',
2670
+ 'type' => 'select',
2671
+ 'options' => $bg_repeats,
2672
+ 'class' => '',
2673
+ 'value' => isset($param_values['OPDPRepeat']) ? $param_values['OPDPRepeat'] : '',
2674
+ 'after' => ''
2675
+ ),
2676
+ array (
2677
+ 'label' => 'Background Position',
2678
+ 'name1' => 'OPDPPos1',
2679
+ 'name2' => 'OPDPPos2',
2680
+ 'type' => '2text',
2681
+ 'class' => 'fm-2text',
2682
+ 'value1' => isset($param_values['OPDPPos1']) ? $param_values['OPDPPos1'] : '',
2683
+ 'value2' => isset($param_values['OPDPPos2']) ? $param_values['OPDPPos2'] : '',
2684
+ 'before1' => '',
2685
+ 'before2' => '',
2686
+ 'after' => '%/left..'
2687
+ ),
2688
+ array (
2689
+ 'label' => 'Margin',
2690
+ 'name' => 'OPDPMargin',
2691
+ 'type' => 'text',
2692
+ 'class' => '',
2693
+ 'value' => isset($param_values['OPDPMargin']) ? $param_values['OPDPMargin'] : '',
2694
+ 'after' => 'px/%'
2695
+ ),
2696
+ array (
2697
+ 'label' => 'File Upload',
2698
+ 'type' => 'label',
2699
+ 'class' => 'fm-mini-title',
2700
+ 'after' => '<br/>'
2701
+ ),
2702
+ array (
2703
+ 'label' => 'Background URL',
2704
+ 'name' => 'OPFBgUrl',
2705
+ 'type' => 'text',
2706
+ 'class' => '',
2707
+ 'value' => isset($param_values['OPFBgUrl']) ? $param_values['OPFBgUrl'] : '',
2708
+ 'after' => ''
2709
+ ),
2710
+ array (
2711
+ 'label' => 'Background Repeat',
2712
+ 'name' => 'OPFBGRepeat',
2713
+ 'type' => 'select',
2714
+ 'options' => $bg_repeats,
2715
+ 'class' => '',
2716
+ 'value' => isset($param_values['OPFBGRepeat']) ? $param_values['OPFBGRepeat'] : '',
2717
+ 'after' => ''
2718
+ ),
2719
+ array (
2720
+ 'label' => 'Background Position',
2721
+ 'name1' => 'OPFPos1',
2722
+ 'name2' => 'OPFPos2',
2723
+ 'type' => '2text',
2724
+ 'class' => 'fm-2text',
2725
+ 'value1' => isset($param_values['OPFPos1']) ? $param_values['OPFPos1'] : '',
2726
+ 'value2' => isset($param_values['OPFPos2']) ? $param_values['OPFPos2'] : '',
2727
+ 'before1' => '',
2728
+ 'before2' => '',
2729
+ 'after' => '%/left..'
2730
+ ),
2731
+ array (
2732
+ 'label' => 'Grading',
2733
+ 'type' => 'label',
2734
+ 'class' => 'fm-mini-title',
2735
+ 'after' => '<br/>'
2736
+ ),
2737
+ array (
2738
+ 'label' => 'Text Width',
2739
+ 'name' => 'OPGWidth',
2740
+ 'type' => 'text',
2741
+ 'class' => '',
2742
+ 'value' => isset($param_values['OPGWidth']) ? $param_values['OPGWidth'] : '',
2743
+ 'after' => 'px</div>'
2744
+ )
2745
+ ),
2746
+ 'custom_css' => array(
2747
+ array (
2748
+ 'label' => '',
2749
+ 'type' => 'panel',
2750
+ 'class' => 'col-md-12',
2751
+ 'label_class' => '',
2752
+ 'after' => ''
2753
+ ),
2754
+ array (
2755
+ 'label' => 'Custom CSS',
2756
+ 'name' => 'CUPCSS',
2757
+ 'type' => 'textarea',
2758
+ 'class' => '',
2759
+ 'value' => isset($param_values['CUPCSS']) ? $param_values['CUPCSS'] : '',
2760
+ 'after' => '</div>'
2761
+ ),
2762
+ )
2763
+ );
2764
+ $active_tab = isset($_REQUEST["active_tab"]) && $_REQUEST["active_tab"] ? $_REQUEST["active_tab"] : ($row->version == 1 ? 'custom_css' : 'global');
2765
+ $pagination = isset($_REQUEST["pagination"]) ? $_REQUEST["pagination"] : 'none';
2766
+
2767
+ ?>
2768
+ <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
2769
+
2770
+ <div ng-app="ThemeParams">
2771
+ <div ng-controller="FMTheme">
2772
+ <form id="fm-themes-form" method="post" action="admin.php?page=themes_fm">
2773
+ <?php wp_nonce_field('nonce_fm', 'nonce_fm'); ?>
2774
+ <div class="fm-page-header">
2775
+ <div class="fm-logo">
2776
+ </div>
2777
+ <div class="fm-page-title">
2778
+ <?php echo $page_title; ?>
2779
+ </div>
2780
+ <div class="fm-page-actions">
2781
+ <?php if ($id) { ?>
2782
+ <button class="fm-button save-as-copy-button medium" onclick="if (fm_check_required('title', 'Title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'save_as_copy');">
2783
+ <span></span>
2784
+ Save as Copy
2785
+ </button>
2786
+ <?php } ?>
2787
+ <button class="fm-button save-button medium" onclick="if (fm_check_required('title', 'Title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'save');">
2788
+ <span></span>
2789
+ Save
2790
+ </button>
2791
+ <button class="fm-button apply-button medium" onclick="if (fm_check_required('title', 'Title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'apply');">
2792
+ <span></span>
2793
+ Apply
2794
+ </button>
2795
+ <button class="fm-button cancel-button medium" onclick="fm_set_input_value('task', 'cancel');">
2796
+ <span></span>
2797
+ Cancel
2798
+ </button>
2799
+ </div>
2800
+ <div class="fm-clear"></div>
2801
+ </div>
2802
+
2803
+ <input type="hidden" id="task" name="task" value=""/>
2804
+ <input type="hidden" id="params" name="params" value=""/>
2805
+ <input type="hidden" id="current_id" name="current_id" value="<?php echo $row->id; ?>"/>
2806
+ <input type="hidden" id="default" name="default" value="<?php echo $row->default; ?>"/>
2807
+ <input type="hidden" name="active_tab" id="active_tab" value="<?php echo $active_tab; ?>" />
2808
+ <input type="hidden" name="version" id="version" value="<?php echo rand(); ?>" />
2809
+
2810
+ <style>
2811
+ .fm-form{
2812
+ background-color:{{GPBGColor}} !important;
2813
+ font-family:{{GPFontFamily}} !important;
2814
+ width:{{AGPWidth}}% !important;
2815
+ padding:{{AGPPadding}} !important;
2816
+ margin:{{AGPMargin}} !important;
2817
+ border-radius:{{AGPBorderRadius}}px !important;
2818
+ box-shadow:{{AGPBoxShadow}} !important;
2819
+ position: relative !important;
2820
+ }
2821
+
2822
+ .fm-form-header.alignLeft,
2823
+ .fm-form-content.alignLeft{
2824
+ border-radius:{{AGPBorderRadius}}px !important;
2825
+ }
2826
+
2827
+ .fm-form.borderRight{
2828
+ border-right:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2829
+ }
2830
+
2831
+ .fm-form.borderLeft{
2832
+ border-left:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2833
+ }
2834
+
2835
+ .fm-form.borderTop{
2836
+ border-top:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2837
+ }
2838
+
2839
+ .fm-form.borderBottom{
2840
+ border-bottom:{{AGPBorderWidth}}px {{AGPBorderType}} {{AGPBorderColor}} !important;
2841
+ }
2842
+
2843
+ .fm-form-content{
2844
+ font-size:{{GPFontSize}}px !important;
2845
+ font-weight:{{GPFontWeight}} !important;
2846
+ width:{{GPWidth}}% !important;
2847
+ color:{{GPColor}} !important;
2848
+ padding:{{GPPadding}} !important;
2849
+ margin:{{GPMargin}} !important;
2850
+ border-radius:{{GPBorderRadius}}px !important;
2851
+ }
2852
+
2853
+ .fm-form-content.isBG{
2854
+ background:url(<?php echo WD_FM_URL; ?>/{{GPBackground}}) {{GPBackgroundRepeat}} {{GPBGPosition1}} {{GPBGPosition2}} !important;
2855
+ background-size: {{GPBGSize1}} {{GPPBGSize2}} !important;
2856
+ }
2857
+
2858
+ .fm-form-content.borderRight{
2859
+ border-right:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2860
+ }
2861
+
2862
+ .fm-form-content.borderLeft{
2863
+ border-left:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2864
+ }
2865
+
2866
+ .fm-form-content.borderTop{
2867
+ border-top:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2868
+ }
2869
+
2870
+ .fm-form-content.borderBottom{
2871
+ border-bottom:{{GPBorderWidth}}px {{GPBorderType}} {{GPBorderColor}} !important;
2872
+ }
2873
+
2874
+ .fm-form-content label{
2875
+ font-size:{{GPFontSize}}px !important;
2876
+ }
2877
+
2878
+ .fm-form-content .fm-section{
2879
+ background-color:{{SEPBGColor}} !important;
2880
+ padding:{{SEPPadding}} !important;
2881
+ margin:{{SEPMargin}} !important;
2882
+ }
2883
+
2884
+
2885
+ .fm-form-content .fm-column{
2886
+ padding:{{COPPadding}} !important;
2887
+ margin:{{COPMargin}} !important;
2888
+ }
2889
+
2890
+ .fm-form-content input[type="text"],
2891
+ .fm-form-content select{
2892
+ font-size:{{IPFontSize}}px !important;
2893
+ font-weight:{{IPFontWeight}} !important;
2894
+ height:{{IPHeight}}px !important;
2895
+ line-height:{{IPHeight}}px !important;
2896
+ background-color:{{IPBGColor}} !important;
2897
+ color:{{IPColor}} !important;
2898
+ padding:{{IPPadding}} !important;
2899
+ margin:{{IPMargin}} !important;
2900
+ border-radius:{{IPBorderRadius}}px !important;
2901
+ box-shadow:{{IPBoxShadow}} !important;
2902
+ border:none !important;
2903
+ }
2904
+
2905
+ .fm-form-content input[type="text"].borderRight,
2906
+ .fm-form-content select.borderRight{
2907
+ border-right:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2908
+ }
2909
+
2910
+ .fm-form-content input[type="text"].borderLeft,
2911
+ .fm-form-content select.borderLeft{
2912
+ border-left:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2913
+ }
2914
+
2915
+ .fm-form-content input[type="text"].borderTop,
2916
+ .fm-form-content select.borderTop{
2917
+ border-top:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2918
+ }
2919
+
2920
+ .fm-form-content input[type="text"].borderBottom,
2921
+ .fm-form-content select.borderBottom{
2922
+ border-bottom:{{IPBorderWidth}}px {{IPBorderType}} {{IPBorderColor}} !important;
2923
+ }
2924
+
2925
+ .fm-form-content select{
2926
+ appearance: {{SBPAppearance}} !important;
2927
+ -moz-appearance: {{SBPAppearance}} !important;
2928
+ -webkit-appearance: {{SBPAppearance}} !important;
2929
+ background:{{IPBGColor}} !important;
2930
+ }
2931
+
2932
+ .fm-form-content select.isBG{
2933
+ background:{{IPBGColor}} url(<?php echo WD_FM_URL; ?>/{{SBPBackground}}) {{SBPBGRepeat}} {{SBPBGPos1}} {{SBPBGPos2}} !important;
2934
+ background-size: {{SBPBGSize1}} {{SBPBGSize2}} !important;
2935
+ }
2936
+
2937
+ .fm-form-example label.mini_label{
2938
+ font-size:{{GPMLFontSize}}px !important;
2939
+ font-weight:{{GPMLFontWeight}} !important;
2940
+ color:{{GPMLColor}} !important;
2941
+ padding:{{GPMLPadding}} !important;
2942
+ margin:{{GPMLMargin}} !important;
2943
+ width: initial !important;
2944
+ }
2945
+
2946
+ .fm-button-reset {
2947
+ background-color:{{BPBGColor}} !important;
2948
+ color:{{BPColor}} !important;
2949
+ height:{{BPHeight}}px !important;
2950
+ width:{{BPWidth}}px !important;
2951
+ margin:{{BPMargin}} !important;
2952
+ padding:{{BPPadding}} !important;
2953
+ box-shadow:{{BPBoxShadow}} !important;
2954
+ border-radius:{{BPBorderRadius}}px !important;
2955
+ outline: none !important;
2956
+ border: none !important;
2957
+ }
2958
+
2959
+ .fm-button-reset.borderRight {
2960
+ border-right:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2961
+ }
2962
+
2963
+ .fm-button-reset.borderLeft {
2964
+ border-left:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2965
+ }
2966
+
2967
+ .fm-button-reset.borderTop {
2968
+ border-top:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2969
+ }
2970
+
2971
+ .fm-button-reset.borderBottom {
2972
+ border-bottom:{{BPBorderWidth}}px {{BPBorderType}} {{BPBorderColor}} !important;
2973
+ }
2974
+
2975
+ .fm-button-reset:hover {
2976
+ background-color:{{BHPBGColor}} !important;
2977
+ color:{{BHPColor}} !important;
2978
+ outline: none;
2979
+ border: none !important;
2980
+ }
2981
+
2982
+ .fm-button-reset.borderHoverRight:hover {
2983
+ border-right:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2984
+ }
2985
+
2986
+ .fm-button-reset.borderHoverLeft:hover {
2987
+ border-left:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2988
+ }
2989
+
2990
+ .fm-button-reset.borderHoverTop:hover {
2991
+ border-top:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2992
+ }
2993
+
2994
+ .fm-button-reset.borderHoverBottom:hover {
2995
+ border-bottom:{{BHPBorderWidth}}px {{BHPBorderType}} {{BHPBorderColor}} !important;
2996
+ }
2997
+
2998
+ .fm-form-content button,
2999
+ .fm-wdform-page-button{
3000
+ font-size: {{BPFontSize}}px !important;
3001
+ font-weight: {{BPFontWeight}} !important;
3002
+ }
3003
+
3004
+ .fm-previous-page .fm-wdform-page-button{
3005
+ background-color:{{PBPBGColor}} !important;
3006
+ color:{{PBPColor}} !important;
3007
+ height:{{PBPHeight}}px !important;
3008
+ line-height:{{PBPLineHeight}}px !important;
3009
+ width:{{PBPWidth}}px !important;
3010
+ margin:{{PBPMargin}} !important;
3011
+ padding:{{PBPPadding}} !important;
3012
+ border-radius:{{PBPBorderRadius}}px !important;
3013
+ box-shadow:{{PBPBoxShadow}} !important;
3014
+ outline: none !important;
3015
+ }
3016
+
3017
+ .fm-previous-page .fm-wdform-page-button.borderRight {
3018
+ border-right:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3019
+ }
3020
+
3021
+ .fm-previous-page .fm-wdform-page-button.borderLeft {
3022
+ border-left:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3023
+ }
3024
+
3025
+ .fm-previous-page .fm-wdform-page-button.borderTop {
3026
+ border-top:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3027
+ }
3028
+
3029
+ .fm-previous-page .fm-wdform-page-button.borderBottom {
3030
+ border-bottom:{{PBPBorderWidth}}px {{PBPBorderType}} {{PBPBorderColor}} !important;
3031
+ }
3032
+
3033
+ .fm-previous-page .fm-wdform-page-button:hover {
3034
+ background-color:{{PBHPBGColor}} !important;
3035
+ color:{{PBHPColor}} !important;
3036
+ }
3037
+
3038
+ .fm-previous-page .fm-wdform-page-button.borderHoverRight:hover {
3039
+ border-right:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3040
+ }
3041
+
3042
+ .fm-previous-page .fm-wdform-page-button.borderHoverLeft:hover {
3043
+ border-left:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3044
+ }
3045
+
3046
+ .fm-previous-page .fm-wdform-page-button.borderHoverTop:hover {
3047
+ border-top:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3048
+ }
3049
+
3050
+ .fm-previous-page .fm-wdform-page-button.borderHoverBottom:hover {
3051
+ border-bottom:{{PBHPBorderWidth}}px {{PBHPBorderType}} {{PBHPBorderColor}} !important;
3052
+ }
3053
+
3054
+
3055
+ .fm-next-page .fm-wdform-page-button{
3056
+ background-color:{{NBPBGColor}} !important;
3057
+ color:{{NBPColor}} !important;
3058
+ height:{{NBPHeight}}px !important;
3059
+ line-height:{{NBPLineHeight}}px !important;
3060
+ width:{{NBPWidth}}px !important;
3061
+ margin:{{NBPMargin}} !important;
3062
+ padding:{{NBPPadding}} !important;
3063
+ border-radius:{{NBPBorderRadius}}px !important;
3064
+ box-shadow:{{NBPBoxShadow}} !important;
3065
+ }
3066
+
3067
+ .fm-next-page .fm-wdform-page-button.borderRight {
3068
+ border-right:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3069
+ }
3070
+
3071
+ .fm-next-page .fm-wdform-page-button.borderLeft {
3072
+ border-left:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3073
+ }
3074
+
3075
+ .fm-next-page .fm-wdform-page-button.borderTop {
3076
+ border-top:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3077
+ }
3078
+
3079
+ .fm-next-page .fm-wdform-page-button.borderBottom {
3080
+ border-bottom:{{NBPBorderWidth}}px {{NBPBorderType}} {{NBPBorderColor}} !important;
3081
+ }
3082
+
3083
+ .fm-next-page .fm-wdform-page-button:hover {
3084
+ background-color:{{NBHPBGColor}} !important;
3085
+ color:{{NBHPColor}} !important;
3086
+ outline: none !important;
3087
+ }
3088
+
3089
+ .fm-next-page .fm-wdform-page-button.borderHoverRight:hover {
3090
+ border-right:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3091
+ }
3092
+
3093
+ .fm-next-page .fm-wdform-page-button.borderHoverLeft:hover {
3094
+ border-left:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3095
+ }
3096
+
3097
+ .fm-next-page .fm-wdform-page-button.borderHoverTop:hover {
3098
+ border-top:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3099
+ }
3100
+
3101
+ .fm-next-page .fm-wdform-page-button.borderHoverBottom:hover {
3102
+ border-bottom:{{NBHPBorderWidth}}px {{NBHPBorderType}} {{NBHPBorderColor}} !important;
3103
+ }
3104
+
3105
+ .fm-button-subscribe {
3106
+ background-color:{{SPBGColor}} !important;
3107
+ font-size:{{SPFontSize}}px !important;
3108
+ font-weight:{{SPFontWeight}} !important;
3109
+ color:{{SPColor}} !important;
3110
+ height:{{SPHeight}}px !important;
3111
+ width:{{SPWidth}}px !important;
3112
+ margin:{{SPMargin}} !important;
3113
+ padding:{{SPPadding}} !important;
3114
+ box-shadow:{{SPBoxShadow}} !important;
3115
+ border-radius: {{SPBorderRadius}}px !important;
3116
+ outline: none !important;
3117
+ border: none !important;
3118
+ }
3119
+
3120
+ .fm-button-subscribe.borderRight {
3121
+ border-right:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3122
+ }
3123
+
3124
+ .fm-button-subscribe.borderLeft {
3125
+ border-left:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3126
+ }
3127
+
3128
+ .fm-button-subscribe.borderTop {
3129
+ border-top:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3130
+ }
3131
+
3132
+ .fm-button-subscribe.borderBottom {
3133
+ border-bottom:{{SPBorderWidth}}px {{SPBorderType}} {{SPBorderColor}} !important;
3134
+ }
3135
+
3136
+ .fm-button-subscribe:hover {
3137
+ background-color:{{SHPBGColor}} !important;
3138
+ color:{{SHPColor}} !important;
3139
+ outline: none !important;
3140
+ border: none !important;
3141
+ }
3142
+
3143
+ .fm-button-subscribe.borderHoverRight:hover {
3144
+ border-right:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3145
+ }
3146
+
3147
+ .fm-button-subscribe.borderHoverLeft:hover {
3148
+ border-left:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3149
+ }
3150
+
3151
+ .fm-button-subscribe.borderHoverTop:hover {
3152
+ border-top:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3153
+ }
3154
+
3155
+ .fm-button-subscribe.borderHoverBottom:hover {
3156
+ border-bottom:{{SHPBorderWidth}}px {{SHPBorderType}} {{SHPBorderColor}} !important;
3157
+ }
3158
+
3159
+ .radio-div label span {
3160
+ height:{{SCPHeight}}px !important;
3161
+ width:{{SCPWidth}}px !important;
3162
+ background-color:{{SCPBGColor}} !important;
3163
+ margin:{{SCPMargin}} !important;
3164
+ box-shadow:{{SCPBoxShadow}} !important;
3165
+ border-radius: {{SCPBorderRadius}}px !important;
3166
+ border: none !important;
3167
+ display: inline-block !important;
3168
+ vertical-align: middle !important;
3169
+ box-sizing: content-box !important;
3170
+ }
3171
+
3172
+ .radio-div input[type='radio']:checked + label span:after {
3173
+ content: '';
3174
+ width:{{SCCPWidth}}px !important;
3175
+ height:{{SCCPHeight}}px !important;
3176
+ background:{{SCCPBGColor}} !important;
3177
+ border-radius:{{SCCPBorderRadius}}px !important;
3178
+ margin:{{SCCPMargin}}px !important;
3179
+ display: block !important;
3180
+ }
3181
+
3182
+ .radio-div label span.borderRight {
3183
+ border-right:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3184
+ }
3185
+
3186
+ .radio-div label span.borderLeft {
3187
+ border-left:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3188
+ }
3189
+
3190
+ .radio-div label span.borderTop {
3191
+ border-top:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3192
+ }
3193
+
3194
+ .radio-div label span.borderBottom {
3195
+ border-bottom:{{SCPBorderWidth}}px {{SCPBorderType}} {{SCPBorderColor}} !important;
3196
+ }
3197
+
3198
+ .checkbox-div label span {
3199
+ height:{{MCPHeight}}px !important;
3200
+ width:{{MCPWidth}}px !important;
3201
+ background-color:{{MCPBGColor}} !important;
3202
+ margin:{{MCPMargin}} !important;
3203
+ box-shadow:{{MCPBoxShadow}} !important;
3204
+ border-radius: {{MCPBorderRadius}}px !important;
3205
+ border: none !important;
3206
+ display: inline-block !important;
3207
+ vertical-align: middle !important;
3208
+ box-sizing: content-box !important;
3209
+ }
3210
+
3211
+ .checkbox-div input[type='checkbox']:checked + label span:after {
3212
+ content: '';
3213
+ width:{{MCCPWidth}}px !important;
3214
+ height:{{MCCPHeight}}px !important;
3215
+ border-radius:{{MCCPBorderRadius}}px !important;
3216
+ margin:{{MCCPMargin}}px !important;
3217
+ display: block !important;
3218
+ background:{{MCCPBGColor}} !important;
3219
+ }
3220
+
3221
+ .checkbox-div.isBG input[type='checkbox']:checked + label span:after{
3222
+ background:{{MCCPBGColor}} url(<?php echo WD_FM_URL; ?>/{{MCCPBackground}}) {{MCCPBGRepeat}} {{MCCPBGPos1}} {{MCCPBGPos2}} !important;
3223
+ }
3224
+
3225
+ .checkbox-div label span.borderRight {
3226
+ border-right:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3227
+ }
3228
+
3229
+ .checkbox-div label span.borderLeft {
3230
+ border-left:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3231
+ }
3232
+
3233
+ .checkbox-div label span.borderTop {
3234
+ border-top:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3235
+ }
3236
+
3237
+ .checkbox-div label span.borderBottom {
3238
+ border-bottom:{{MCPBorderWidth}}px {{MCPBorderType}} {{MCPBorderColor}} !important;
3239
+ }
3240
+
3241
+ .fm-form-pagination {
3242
+ width:{{AGPWidth}}% !important;
3243
+ margin:{{AGPMargin}} !important;
3244
+ }
3245
+
3246
+ .fm-footer{
3247
+ font-size:{{GPFontSize}}px !important;
3248
+ font-weight:{{GPFontWeight}} !important;
3249
+ width:{{FPWidth}}% !important;
3250
+ padding:{{FPPadding}} !important;
3251
+ margin:{{FPMargin}} !important;
3252
+ color:{{GPColor}} !important;
3253
+ clear: both !important;
3254
+ }
3255
+
3256
+ .fm-pages-steps{
3257
+ text-align: {{PSAPAlign}} !important;
3258
+ }
3259
+
3260
+ .active-step{
3261
+ background-color: {{PSAPBGColor}} !important;
3262
+ font-size: {{PSAPFontSize}}px !important;
3263
+ font-weight: {{PSAPFontWeight}} !important;
3264
+ color: {{PSAPColor}} !important;
3265
+ width: {{PSAPWidth}}px !important;
3266
+ height: {{PSAPHeight}}px !important;
3267
+ line-height: {{PSAPLineHeight}}px !important;
3268
+ margin: {{PSAPMargin}} !important;
3269
+ padding: {{PSAPPadding}} !important;
3270
+ border-radius: {{PSAPBorderRadius}}px !important;
3271
+
3272
+ text-align: center !important;
3273
+ display: inline-block !important;
3274
+ cursor: pointer !important;
3275
+ }
3276
+
3277
+ .active-step.borderRight {
3278
+ border-right:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3279
+ }
3280
+
3281
+ .active-step.borderLeft {
3282
+ border-left:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3283
+ }
3284
+
3285
+ .active-step.borderTop {
3286
+ border-top:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3287
+ }
3288
+
3289
+ .active-step.borderBottom {
3290
+ border-bottom:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3291
+ }
3292
+
3293
+ .deactive-step{
3294
+ background-color: {{PSDPBGColor}} !important;
3295
+ font-size: {{PSDPFontSize}}px !important;
3296
+ font-weight: {{PSDPFontWeight}} !important;
3297
+ color: {{PSDPColor}} !important;
3298
+ width: {{PSAPWidth}}px !important;
3299
+ height: {{PSDPHeight}}px !important;
3300
+ line-height: {{PSDPLineHeight}}px !important;
3301
+ margin: {{PSDPMargin}} !important;
3302
+ padding: {{PSDPPadding}} !important;
3303
+ border-radius: {{PSDPBorderRadius}}px !important;
3304
+
3305
+ text-align: center !important;
3306
+ display: inline-block !important;
3307
+ cursor: pointer !important;
3308
+ }
3309
+
3310
+ .deactive-step.borderRight {
3311
+ border-right:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3312
+ }
3313
+
3314
+ .deactive-step.borderLeft {
3315
+ border-left:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3316
+ }
3317
+
3318
+ .deactive-step.borderTop {
3319
+ border-top:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3320
+ }
3321
+
3322
+ .deactive-step.borderBottom {
3323
+ border-bottom:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3324
+ }
3325
+
3326
+ .active-percentage {
3327
+ background-color: {{PSAPBGColor}} !important;
3328
+ font-size: {{PSAPFontSize}}px !important;
3329
+ font-weight: {{PSAPFontWeight}} !important;
3330
+ color: {{PSAPColor}} !important;
3331
+ width: {{PSAPWidth}}px !important;
3332
+ height: {{PSAPHeight}}px !important;
3333
+ line-height: {{PSAPLineHeight}}px !important;
3334
+ margin: {{PSAPMargin}} !important;
3335
+ padding: {{PSAPPadding}} !important;
3336
+ border-radius: {{PSAPBorderRadius}}px !important;
3337
+
3338
+ display: inline-block !important;
3339
+ }
3340
+
3341
+ .active-percentage.borderRight {
3342
+ border-right:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3343
+ }
3344
+
3345
+ .active-percentage.borderLeft {
3346
+ border-left:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3347
+ }
3348
+
3349
+ .active-percentage.borderTop {
3350
+ border-top:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3351
+ }
3352
+
3353
+ .active-percentage.borderBottom {
3354
+ border-bottom:{{PSAPBorderWidth}}px {{PSAPBorderType}} {{PSAPBorderColor}} !important;
3355
+ }
3356
+
3357
+ .deactive-percentage {
3358
+ background-color: {{PSDPBGColor}} !important;
3359
+ font-size: {{PSDPFontSize}}px !important;
3360
+ font-weight: {{PSDPFontWeight}} !important;
3361
+ color: {{PSDPColor}} !important;
3362
+ width: {{PPAPWidth}} !important;
3363
+ height: {{PSDPHeight}}px !important;
3364
+ line-height: {{PSDPLineHeight}}px !important;
3365
+ margin: {{PSDPMargin}} !important;
3366
+ padding: {{PSDPPadding}} !important;
3367
+ border-radius: {{PSDPBorderRadius}}px !important;
3368
+
3369
+ display: inline-block !important;
3370
+ }
3371
+
3372
+ .deactive-percentage.borderRight {
3373
+ border-right:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3374
+ }
3375
+
3376
+ .deactive-percentage.borderLeft {
3377
+ border-left:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3378
+ }
3379
+
3380
+ .deactive-percentage.borderTop {
3381
+ border-top:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3382
+ }
3383
+
3384
+ .deactive-percentage.borderBottom {
3385
+ border-bottom:{{PSDPBorderWidth}}px {{PSDPBorderType}} {{PSDPBorderColor}} !important;
3386
+ }
3387
+
3388
+ .fm-close-icon {
3389
+ color: {{CBPColor}} !important;
3390
+ font-size: {{CBPFontSize}}px !important;
3391
+ font-weight: {{CBPFontWeight}} !important;
3392
+ text-align: center !important;
3393
+ }
3394
+
3395
+ .fm-close {
3396
+ position: {{CBPPosition}} !important;
3397
+ top: {{CBPTop}} !important;
3398
+ right: {{CBPRight}} !important;
3399
+ bottom: {{CBPBottom}} !important;
3400
+ left: {{CBPLeft}} !important;
3401
+ background-color: {{CBPBGColor}} !important;
3402
+ padding: {{CBPPadding}} !important;
3403
+ margin: {{CBPMargin}} !important;
3404
+ border-radius: {{CBPBorderRadius}}px !important;
3405
+ border: none !important;
3406
+ cursor: pointer !important;
3407
+ }
3408
+
3409
+ .fm-close.borderRight{
3410
+ border-right:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3411
+ }
3412
+
3413
+ .fm-close.borderLeft{
3414
+ border-left:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3415
+ }
3416
+
3417
+ .fm-close.borderTop{
3418
+ border-top:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3419
+ }
3420
+
3421
+ .fm-close.borderBottom {
3422
+ border-bottom:{{CBPBorderWidth}}px {{CBPBorderType}} {{CBPBorderColor}} !important;
3423
+ }
3424
+
3425
+ .fm-close:hover{
3426
+ background-color:{{CBHPBGColor}} !important;
3427
+ color:{{CBHPColor}} !important;
3428
+ outline: none !important;
3429
+ border: none !important;
3430
+ }
3431
+
3432
+ .fm-close.borderHoverRight:hover {
3433
+ border-right:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3434
+ }
3435
+
3436
+ .fm-close.borderHoverLeft:hover {
3437
+ border-left:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3438
+ }
3439
+
3440
+ .fm-close.borderHoverTop:hover{
3441
+ border-top:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3442
+ }
3443
+
3444
+ .fm-close.borderHoverBottom:hover {
3445
+ border-bottom:{{CBHPBorderWidth}}px {{CBHPBorderType}} {{CBHPBorderColor}} !important;
3446
+ }
3447
+
3448
+ .fm-form-header {
3449
+ background-color:{{HPBGColor}} !important;
3450
+ width:{{HPWidth}}% !important;
3451
+ padding:{{HPPadding}} !important;
3452
+ margin:{{HPMargin}} !important;
3453
+ border-radius:{{HPBorderRadius}}px !important;
3454
+ }
3455
+
3456
+ .fm-form-header .htitle {
3457
+ font-size:{{HTPFontSize}}px !important;
3458
+ color:{{HTPColor}} !important;
3459
+ text-align:{{HPTextAlign}} !important;
3460
+ padding: 10px 0 !important;
3461
+ line-height:{{HTPFontSize}}px !important;
3462
+ font-weight:{{HTPWeight}} !important;
3463
+
3464
+ }
3465
+
3466
+ .fm-form-header .himage img {
3467
+ width:{{HIPWidth}}px !important;
3468
+ height:{{HIPHeight}}px !important;
3469
+ }
3470
+
3471
+ .fm-form-header .himage.imageTop,
3472
+ .fm-form-header .himage.imageBottom{
3473
+ text-align:{{HPTextAlign}} !important;
3474
+ }
3475
+
3476
+
3477
+ .fm-form-header .hdescription {
3478
+ font-size:{{HDPFontSize}}px !important;
3479
+ color:{{HDPColor}} !important;
3480
+ text-align:{{HPTextAlign}} !important;
3481
+ padding: 5px 0 !important;
3482
+ }
3483
+
3484
+ .fm-form-header.borderRight{
3485
+ border-right:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3486
+ }
3487
+
3488
+ .fm-form-header.borderLeft{
3489
+ border-left:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3490
+ }
3491
+
3492
+ .fm-form-header.borderTop{
3493
+ border-top:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3494
+ }
3495
+
3496
+ .fm-form-header.borderBottom{
3497
+ border-bottom:{{HPBorderWidth}}px {{HPBorderType}} {{HPBorderColor}} !important;
3498
+ }
3499
+
3500
+ .fm-form-header.alignLeft,
3501
+ .fm-form-content.alignLeft {
3502
+ display: table-cell !important;
3503
+ vertical-align:middle !important;
3504
+ }
3505
+
3506
+ .wdform-required {
3507
+ color: {{OPRColor}} !important;
3508
+ }
3509
+
3510
+ .fm-calendar-button {
3511
+ position: relative !important;
3512
+ }
3513
+
3514
+ .fm-calendar-button span{
3515
+ position: absolute !important;
3516
+ padding: 10px !important;
3517
+ pointer-events: none !important;
3518
+ right: 3px !important;
3519
+ top: 0px !important;
3520
+
3521
+ width: 20px !important;
3522
+ height: 20px !important;
3523
+ margin: {{OPDPMargin}} !important;
3524
+ background: url(<?php echo WD_FM_URL; ?>/{{OPDPIcon}}) {{OPDPRepeat}} {{OPDPPos1}} {{OPDPPos2}} !important;
3525
+ }
3526
+
3527
+ .subscribe-reset {
3528
+ float: {{SPAlign}} !important;
3529
+ margin-right:-15px !important;
3530
+ }
3531
+ </style>
3532
+
3533
+ <div class="fm-themes fm-mailchimp container-fluid">
3534
+ <div class="row">
3535
+ <div class="col-md-6 col-sm-5">
3536
+ <div class="fm-sidebar">
3537
+ <div class="fm-row">
3538
+ <label>Theme title: </label>
3539
+ <input type="text" id="title" name="title" value="<?php echo $row->title; ?>"/>
3540
+ </div>
3541
+ <br />
3542
+ </div>
3543
+ <br />
3544
+ <div class="fm-themes-tabs col-md-12">
3545
+ <ul>
3546
+ <?php
3547
+ foreach($tabs as $tkey => $tab) {
3548
+ $active_class = $active_tab == $tkey ? "fm-theme-active-tab" : "";
3549
+ echo '<li><a id="'.$tkey.'" href="#" class="'.$active_class . ($row->version == 1 && $tkey != 'custom_css' ? ' fm-disabled' : '') . '">'.$tab.'</a></li>';
3550
+ }
3551
+ ?>
3552
+ </ul>
3553
+ <div class="fm-clear"></div>
3554
+ <div class="fm-themes-tabs-container">
3555
+ <?php
3556
+ $k = 0;
3557
+ foreach($all_params as $pkey => $params) {
3558
+ $show_hide_class = $active_tab == $pkey ? '' : 'fm-hide';
3559
+ echo '<div id="'.$pkey.'-content" class="fm-themes-container '.$show_hide_class.'">';
3560
+ if ($row->version == 1 && $pkey == 'custom_css') {
3561
+ echo '<div class="wd_error"><p>This theme is outdated. Theme Options are only available in new themes provided by Form Maker.
3562
+ You can use Custom CSS panel to edit form styling, or alternatively select a new theme for your form.</p></div>';
3563
+ }
3564
+ foreach($params as $param){
3565
+ /*
3566
+ * New themes colorpicker conflict with others.
3567
+ * Remove comments if no '#' is beeing saved with colors.
3568
+ * */
3569
+ /*if ($param["class"] == "color") {
3570
+ if ($param["value"] != '' && strpos($param["value"], '#') === false) {
3571
+ $param["value"] = '#' . $param["value"];
3572
+ }
3573
+ }*/
3574
+ if($param["type"] == 'panel') {
3575
+ echo '<div class="'.$param["class"].'">';
3576
+ }
3577
+ if($param["type"] != 'panel' || ($param["type"] == 'panel' && $param["label"]) )
3578
+ echo '<div class="fm-row">';
3579
+ if($param["type"] == 'panel' && $param["label"]) {
3580
+ echo '<label class="'.$param["label_class"].'" >'.$param["label"].'</label>'.$param["after"];
3581
+ } else {
3582
+ if($param["type"] == 'text') {
3583
+ echo '<label>'.$param["label"].'</label>
3584
+ <input type="'.$param["type"].'" name="'.$param["name"].'" class="'.$param["class"].'" ng-model="'.$param["name"].'" ng-init="'.$param["name"].'=\''.$param["value"].'\'" value="'.$param["value"].'" placeholder="'.(isset($param["placeholder"]) ? $param["placeholder"] : "").'" />'.$param["after"];
3585
+ }
3586
+ else {
3587
+ if($param["type"] == '2text') {
3588
+ echo '<label>'.$param["label"].'</label>
3589
+ <div class="'.$param["class"].'" style="display:inline-block; vertical-align: middle;">
3590
+ <div style="display:table-row;">
3591
+ <span style="display:table-cell;">'.$param["before1"].'</span><input type="text" name="'.$param["name1"].'" ng-model="'.$param["name1"].'" ng-init="'.$param["name1"].'=\''.$param["value1"].'\'" value="'.$param["value1"].'" placeholder="'.(isset($param["placeholder"]) ? $param["placeholder"] : "").'" style="display:table-cell; "/>'.$param["after"].'
3592
+ </div>
3593
+ <div style="display:table-row;">
3594
+ <span style="display:table-cell;">'.$param["before2"].'</span><input type="text" name="'.$param["name2"].'" class="'.$param["class"].'" ng-model="'.$param["name2"].'" ng-init="'.$param["name2"].'=\''.$param["value2"].'\'" value="'.$param["value2"].'" placeholder="'.(isset($param["placeholder"]) ? $param["placeholder"] : "").'" style="display:table-cell; "/>'.$param["after"].'
3595
+ </div>
3596
+ </div>
3597
+ ';
3598
+
3599
+ }
3600
+ else {
3601
+ if($param["type"] == 'select') {
3602
+ echo '<label>'.$param["label"].'</label>
3603
+ <select name="'.$param["name"].'" ng-model="'.$param["name"].'" ng-init="'.$param["name"].'=\''.$param["value"].'\'">';
3604
+ foreach($param["options"] as $option_key => $option) {
3605
+ echo '<option value="'.$option_key.'">'.$option.'</option>';
3606
+ }
3607
+ echo '</select>'.$param["after"];
3608
+ } else {
3609
+ if($param["type"] == 'label') {
3610
+ echo '<label class="'.$param["class"].'" >'.$param["label"].'</label>'.$param["after"];
3611
+ } else {
3612
+ if($param["type"] == 'checkbox') {
3613
+ echo '<label>'.$param["label"].'</label>
3614
+ <div class="fm-btn-group">';
3615
+ foreach($param["options"] as $op_key => $option){
3616
+ $init = isset($param_values[$param["name"].ucfirst($op_key)]) ? 'true' : 'false';
3617
+ echo '<div class="fm-ch-button">
3618
+ <input type="checkbox" id="'.$param["name"].ucfirst($op_key).'" name="'.$param["name"].ucfirst($op_key).'" value="'.$op_key.'" ng-model="'.$param["name"].ucfirst($op_key).'" ng-checked="'.$param["name"].ucfirst($op_key).'" ng-init="'.$param["name"].ucfirst($op_key).'='.$init.'"><label for="'.$param["name"].ucfirst($op_key).'">'.$option.'</label>
3619
+ </div>';
3620
+ }
3621
+ echo '</div>';
3622
+
3623
+ } else{
3624
+ if($param["type"] == 'hidden') {
3625
+ echo '<input type="'.$param["type"].'" />'.$param["after"];
3626
+ } else {
3627
+ if($param["type"] == 'textarea') {
3628
+ echo '<label>'.$param["label"].'</label>
3629
+ <textarea name="'.$param["name"].'" rows="5" columns="10" style="vertical-align:middle;">'.$param["value"].'</textarea>';
3630
+ }
3631
+ }
3632
+
3633
+ }
3634
+ }
3635
+ }
3636
+ }
3637
+ }
3638
+ }
3639
+ if($param["type"] != 'panel' || ($param["type"] == 'panel' && $param["label"]) )
3640
+ echo '</div>';
3641
+ }
3642
+ echo '</div>';
3643
+ } ?>
3644
+ </div>
3645
+ </div>
3646
+ </div>
3647
+ </div>
3648
+ <div class="fm-preview-form col-md-6 col-sm-7" style="display:none;">
3649
+ <div class="form-example-preview fm-sidebar col-md-12">
3650
+ <p>Preview</p>
3651
+ <div class="fm-row">
3652
+ <label>Pagination Type: </label>
3653
+ <div class="pagination-type" ng-init="pagination='<?php echo $pagination; ?>'">
3654
+ <input type="radio" id="step" name="pagination-type" value="step" ng-model="pagination"/>
3655
+ <label for="step">Step</label>
3656
+ <input type="radio" id="percentage" name="pagination-type" value="percentage" ng-model="pagination" />
3657
+ <label for="percentage">Percentage</label>
3658
+ <input type="radio" id="none" name="pagination-type" value="none" ng-model="pagination" />
3659
+ <label for="none">None</label>
3660
+ </div>
3661
+ </div>
3662
+ </div>
3663
+ <div class="fm-clear"></div>
3664
+ <br />
3665
+ <div class="fm-content">
3666
+ <div class="fm-form-example form-embedded">
3667
+ <div class="fm-form-pagination">
3668
+ <div class="fm-pages-steps" ng-show="pagination == 'step'">
3669
+ <span class="active-step" ng-class="{borderRight : PSAPBorderRight, borderLeft : PSAPBorderLeft, borderBottom : PSAPBorderBottom, borderTop : PSAPBorderTop}">1(active)</span>
3670
+ <span class="deactive-step" ng-class="{borderRight : PSDPBorderRight, borderLeft : PSDPBorderLeft, borderBottom : PSDPBorderBottom, borderTop : PSDPBorderTop}">2</span>
3671
+ </div>
3672
+ <div class="fm-pages-percentage" ng-show="pagination == 'percentage'">
3673
+ <div class="deactive-percentage" ng-class="{borderRight : PSDPBorderRight, borderLeft : PSDPBorderLeft, borderBottom : PSDPBorderBottom, borderTop : PSDPBorderTop}">
3674
+ <div class="active-percentage" ng-class="{borderRight : PSAPBorderRight, borderLeft : PSAPBorderLeft, borderBottom : PSAPBorderBottom, borderTop : PSAPBorderTop}" style="width: 50%;">
3675
+ <b class="wdform_percentage_text">50%</b>
3676
+ </div>
3677
+ <div class="wdform_percentage_arrow">
3678
+ </div>
3679
+ </div>
3680
+ </div>
3681
+ <div>
3682
+ </div>
3683
+ </div>
3684
+
3685
+ <div class="fm-form" ng-class="{borderRight : AGPBorderRight, borderLeft : AGPBorderLeft, borderBottom : AGPBorderBottom, borderTop : AGPBorderTop}">
3686
+ <div ng-show="HPAlign != 'bottom' && HPAlign != 'right'" ng-class="{borderRight : HPBorderRight, borderLeft : HPBorderLeft, borderBottom : HPBorderBottom, borderTop : HPBorderTop, alignLeft : HPAlign == 'left'}" class="fm-form-header">
3687
+ <div ng-show="HIPAlign != 'bottom' && HIPAlign != 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3688
+ <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3689
+ </div>
3690
+ <div ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="htext">
3691
+ <div class="htitle">Subscribe Our Newsletter </div>
3692
+ <div class="hdescription">Join our mailing list to receive the latest news from our team.</div>
3693
+ </div>
3694
+ <div ng-show="HIPAlign == 'bottom' || HIPAlign == 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3695
+ <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3696
+ </div>
3697
+ </div>
3698
+
3699
+ <div class="fm-form-content" ng-class="{isBG : GPBackground != '', borderRight : GPBorderRight, borderLeft : GPBorderLeft, borderBottom : GPBorderBottom, borderTop : GPBorderTop, alignLeft : HPAlign == 'left' || HPAlign == 'right'}">
3700
+ <div class="container-fluid">
3701
+ <div class="embedded-form">
3702
+ <div class="fm-section fm-{{GPAlign}}">
3703
+ <div class="fm-column">
3704
+ <div class="fm-row">
3705
+ <div type="type_submitter_mail" class="wdform-field">
3706
+ <div class="wdform-label-section" style="float: left; width: 90px;"><span class="wdform-label">E-mail:</span><span class="wdform-required">*</span>
3707
+ </div>
3708
+ <div class="wdform-element-section" style="width: 150px;">
3709
+ <input type="text" value="example@example.com" style="width: 100%;" ng-class="{borderRight : IPBorderRight, borderLeft : IPBorderLeft, borderBottom : IPBorderBottom, borderTop : IPBorderTop}" />
3710
+ </div>
3711
+ </div>
3712
+ </div>
3713
+ <div class="fm-row">
3714
+ <div type="type_country" class="wdform-field">
3715
+ <div class="wdform-label-section" style="float: left; width: 90px;">
3716
+ <span class="wdform-label">Country:</span>
3717
+ </div>
3718
+ <div class="wdform-element-section wdform_select" style=" width: 150px;">
3719
+ <select style="width: 100%;" ng-class="{isBG : SBPBackground != '', borderRight : IPBorderRight, borderLeft : IPBorderLeft, borderBottom : IPBorderBottom, borderTop : IPBorderTop}">
3720
+ <option value="Armenia">Armenia</option>
3721
+ </select>
3722
+ </div>
3723
+ </div>
3724
+ </div>
3725
+
3726
+ <div class="fm-row">
3727
+ <div type="type_radio" class="wdform-field">
3728
+ <div class="wdform-label-section" style="float: left; width: 90px;">
3729
+ <span class="wdform-label">Radio:</span>
3730
+ </div>
3731
+ <div class="wdform-element-section " style="display:table;">
3732
+ <div style="display: table-row; vertical-align:top">
3733
+ <div style="display: table-cell;">
3734
+ <div class="radio-div check-rad">
3735
+ <input type="radio" id="em-rad-op-1" value="option 1">
3736
+ <label for="em-rad-op-1" class="mini_label">
3737
+ <span ng-class="{borderRight : SCPBorderRight, borderLeft : SCPBorderLeft, borderBottom : SCPBorderBottom, borderTop : SCPBorderTop}"></span>option 1
3738
+ </label>
3739
+ </div>
3740
+ </div>
3741
+ </div>
3742
+ </div>
3743
+ </div>
3744
+ </div>
3745
+ <div class="fm-row">
3746
+ <div type="type_checkbox" class="wdform-field">
3747
+ <div class="wdform-label-section" style="float: left; width: 90px;">
3748
+ <span class="wdform-label">Checkbox:</span>
3749
+ </div>
3750
+ <div class="wdform-element-section" style="display: table;">
3751
+ <div style="display: table-row; vertical-align:top">
3752
+ <div style="display: table-cell;">
3753
+ <div class="checkbox-div forlabs" ng-class="{isBG : MCCPBackground != ''}">
3754
+ <input type="checkbox" id="em-ch-op-1" value="option 1">
3755
+ <label for="em-ch-op-1" class="mini_label"><span ng-class="{borderRight : MCPBorderRight, borderLeft : MCPBorderLeft, borderBottom : MCPBorderBottom, borderTop : MCPBorderTop}"></span>option 1</label>
3756
+ </div>
3757
+ </div>
3758
+ </div>
3759
+ </div>
3760
+ </div>
3761
+ </div>
3762
+ <div class="fm-row">
3763
+ <div type="type_date" class="wdform-field">
3764
+ <div class="wdform-label-section" style="float: left; width: 90px;">
3765
+ <span class="wdform-label">Date:</span>
3766
+ </div>
3767
+ <div class="wdform-element-section fm-calendar-button" style="width: 150px;">
3768
+ <input type="text" value="" style="width: 100%;" ng-class="{borderRight : IPBorderRight, borderLeft : IPBorderLeft, borderBottom : IPBorderBottom, borderTop : IPBorderTop}" />
3769
+ <span></span>
3770
+ </div>
3771
+ </div>
3772
+ </div>
3773
+ <div class="fm-row">
3774
+ <div type="type_submit_reset" class="wdform-field subscribe-reset">
3775
+ <div class="wdform-label-section" style="display: table-cell;"></div>
3776
+ <div class="wdform-element-section" style="display: table-cell;">
3777
+ <button type="button" class="fm-button-subscribe" ng-class="{borderRight : SPBorderRight, borderLeft : SPBorderLeft, borderBottom : SPBorderBottom, borderTop : SPBorderTop, borderHoverRight : SHPBorderRight, borderHoverLeft : SHPBorderLeft, borderHoverBottom : SHPBorderBottom, borderHoverTop : SHPBorderTop}" >Submit</button>
3778
+ <button type="button" class="fm-button-reset" ng-class="{borderRight : BPBorderRight, borderLeft : BPBorderLeft, borderBottom : BPBorderBottom, borderTop : BPBorderTop, borderHoverRight : BHPBorderRight, borderHoverLeft : BHPBorderLeft, borderHoverBottom : BHPBorderBottom, borderHoverTop : BHPBorderTop}">Reset</button>
3779
+ </div>
3780
+ </div>
3781
+ </div>
3782
+ <div class="fm-clear"></div>
3783
+ </div>
3784
+
3785
+ </div>
3786
+ <div class="fm-close-icon" ng-class="{borderRight : CBPBorderRight, borderLeft : CBPBorderLeft, borderBottom : CBPBorderBottom, borderTop : CBPBorderTop, borderHoverRight : CBHPBorderRight, borderHoverLeft : CBHPBorderLeft, borderHoverBottom : CBHPBorderBottom, borderHoverTop : CBHPBorderTop}">
3787
+ <span class="fm-close fa fa-close" ng-class="{borderRight : CBPBorderRight, borderLeft : CBPBorderLeft, borderBottom : CBPBorderBottom, borderTop : CBPBorderTop, borderHoverRight : CBHPBorderRight, borderHoverLeft : CBHPBorderLeft, borderHoverBottom : CBHPBorderBottom, borderHoverTop : CBHPBorderTop}"></span>
3788
+ </div>
3789
+ <div class="fm-footer" ng-show="pagination != 'none'">
3790
+ <div style="width: 100%;">
3791
+ <div style="width: 100%; display: table;">
3792
+ <div style="display: table-row-group;">
3793
+ <div style="display: table-row;">
3794
+ <div class="fm-previous-page" style="display: table-cell; width: 45%;">
3795
+ <div class="fm-wdform-page-button" ng-class="{borderRight : PBPBorderRight, borderLeft : PBPBorderLeft, borderBottom : PBPBorderBottom, borderTop : PBPBorderTop, borderHoverRight : PBHPBorderRight, borderHoverLeft : PBHPBorderLeft, borderHoverBottom : PBHPBorderBottom, borderHoverTop : PBHPBorderTop}"><span class="fa fa-angle-double-left"></span> Previous</div>
3796
+ </div>
3797
+ <div class="page-numbers text-center" style="display: table-cell;">
3798
+ <span>2/3</span>
3799
+ </div>
3800
+ <div class="fm-next-page" style="display: table-cell; width: 45%; text-align: right;">
3801
+ <div class="fm-wdform-page-button" ng-class="{borderRight : NBPBorderRight, borderLeft : NBPBorderLeft, borderBottom : NBPBorderBottom, borderTop : NBPBorderTop, borderHoverRight : NBHPBorderRight, borderHoverLeft : NBHPBorderLeft, borderHoverBottom : NBHPBorderBottom, borderHoverTop : NBHPBorderTop}">Next <span class="fa fa-angle-double-right"></span></div>
3802
+ </div>
3803
+ </div>
3804
+ </div>
3805
+ </div>
3806
+ </div>
3807
+ </div>
3808
+ </div>
3809
+ </div>
3810
+ </div>
3811
+ <div ng-show="HPAlign == 'bottom' || HPAlign == 'right'" ng-class="{borderRight : HPBorderRight, borderLeft : HPBorderLeft, borderBottom : HPBorderBottom, borderTop : HPBorderTop, alignLeft : HPAlign == 'right'}" class="fm-form-header">
3812
+ <div ng-show="HIPAlign != 'bottom' && HIPAlign != 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3813
+ <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3814
+ </div>
3815
+ <div ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="htext">
3816
+ <div class="htitle">Subscribe Our Newsletter </div>
3817
+ <div class="hdescription">Join our mailing list to receive the latest news from our team.</div>
3818
+ </div>
3819
+ <div ng-show="HIPAlign == 'bottom' || HIPAlign == 'right'" ng-class="{imageRight : HIPAlign == 'right', imageLeft : HIPAlign == 'left', imageBottom : HIPAlign == 'bottom', imageTop : HIPAlign == 'top'}" class="himage">
3820
+ <img src="<?php echo WD_FM_URL; ?>/images/preview_header.png" />
3821
+ </div>
3822
+ </div>
3823
+ </div>
3824
+ </div>
3825
+ <div class="fm-clear"></div>
3826
+ </div>
3827
+ </div>
3828
+ </div>
3829
+ </div>
3830
+ </form>
3831
+ </div>
3832
+ </div>
3833
+ <script>
3834
+ angular.module('ThemeParams', []).controller('FMTheme', function($scope) {
3835
+ });
3836
+
3837
+ (function(jQuery){
3838
+ jQuery.fn.serializeObject = function(){
3839
+
3840
+ var self = this,
3841
+ json = {},
3842
+ push_counters = {},
3843
+ patterns = {
3844
+ "validate": /^[a-zA-Z][a-zA-Z0-9_]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,
3845
+ "key": /[a-zA-Z0-9_]+|(?=\[\])/g,
3846
+ "push": /^$/,
3847
+ "fixed": /^\d+$/,
3848
+ "named": /^[a-zA-Z0-9_]+$/
3849
+ };
3850
+
3851
+ this.build = function(base, key, value){
3852
+ base[key] = value;
3853
+ return base;
3854
+ };
3855
+
3856
+ this.push_counter = function(key){
3857
+ if(push_counters[key] === undefined){
3858
+ push_counters[key] = 0;
3859
+ }
3860
+ return push_counters[key]++;
3861
+ };
3862
+
3863
+ jQuery.each(jQuery(this).serializeArray(), function(){
3864
+
3865
+ // skip invalid keys
3866
+ if(!patterns.validate.test(this.name)){
3867
+ return;
3868
+ }
3869
+
3870
+ var k,
3871
+ keys = this.name.match(patterns.key),
3872
+ merge = this.value,
3873
+ reverse_key = this.name;
3874
+
3875
+ while((k = keys.pop()) !== undefined){
3876
+
3877
+ // adjust reverse_key
3878
+ reverse_key = reverse_key.replace(new RegExp("\\[" + k + "\\]$"), '');
3879
+
3880
+ // push
3881
+ if(k.match(patterns.push)){
3882
+ merge = self.build([], self.push_counter(reverse_key), merge);
3883
+ }
3884
+
3885
+ // fixed
3886
+ else if(k.match(patterns.fixed)){
3887
+ merge = self.build([], k, merge);
3888
+ }
3889
+
3890
+ // named
3891
+ else if(k.match(patterns.named)){
3892
+ merge = self.build({}, k, merge);
3893
+ }
3894
+ }
3895
+
3896
+ json = jQuery.extend(true, json, merge);
3897
+ });
3898
+
3899
+ return json;
3900
+ };
3901
+ })(jQuery);
3902
+
3903
+ jQuery(".fm-themes-tabs li a").click(function(){
3904
+ jQuery(".fm-themes-tabs-container .fm-themes-container").hide();
3905
+ jQuery(".fm-themes-tabs li a").removeClass("fm-theme-active-tab");
3906
+ jQuery("#"+jQuery(this).attr("id")+'-content').show();
3907
+ jQuery(this).addClass("fm-theme-active-tab");
3908
+ jQuery("#active_tab").val(jQuery(this).attr("id"));
3909
+ return false;
3910
+ });
3911
+
3912
+
3913
+ function submitbutton() {
3914
+ var all_params = <?php echo $row->version == 1 ? 'jQuery(\'textarea[name=CUPCSS]\').serializeObject()' : 'jQuery(\'#fm-themes-form\').serializeObject()'; ?>;
3915
+ jQuery('#params').val(JSON.stringify(all_params).replace('<?php echo WD_FM_URL ?>', 'WD_FM_URL'));
3916
+ return true;
3917
+ }
3918
+
3919
+ jQuery('.color').spectrum({
3920
+ showAlpha: true,
3921
+ showInput: true,
3922
+ showSelectionPalette: true,
3923
+ preferredFormat: "hex",
3924
+ allowEmpty: true,
3925
+ move: function(color){
3926
+ jQuery(this).val(color);
3927
+ jQuery(this).trigger("change");
3928
+ },
3929
+ change: function(color){
3930
+ jQuery(this).val(color);
3931
+ jQuery(this).trigger("change");
3932
+ }
3933
+ });
3934
+
3935
+ setTimeout(function(){
3936
+ jQuery('.fm-preview-form').show();
3937
+ }, 1500);
3938
+
3939
+ setTimeout(function(){
3940
+ var fm_form_example_pos = jQuery('.fm-content').offset().top;
3941
+ jQuery(window).scroll(function() {
3942
+ if(jQuery(this).scrollTop() > fm_form_example_pos) {
3943
+ jQuery('.fm-content').css({'position' : 'fixed', 'top': '32px', 'z-index' : '10000', 'width' : jQuery(".form-example-preview").outerWidth()+'px'});
3944
+
3945
+ } else{
3946
+ jQuery('.fm-content').css({'position' : 'relative', 'top' : '32px', 'z-index' : '', 'width' : ''});
3947
+ }
3948
+ });
3949
+
3950
+ }, 2500);
3951
+
3952
+ </script>
3953
+ <?php
3954
+ }
3955
+
3956
+ ////////////////////////////////////////////////////////////////////////////////////////
3957
+ // Getters & Setters //
3958
+ ////////////////////////////////////////////////////////////////////////////////////////
3959
+ ////////////////////////////////////////////////////////////////////////////////////////
3960
+ // Private Methods //
3961
+ ////////////////////////////////////////////////////////////////////////////////////////
3962
+ ////////////////////////////////////////////////////////////////////////////////////////
3963
+ // Listeners //
3964
+ ////////////////////////////////////////////////////////////////////////////////////////
3965
  }
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- * Version: 1.11.6
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -11,7 +11,7 @@
11
  define('WD_FM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
12
  define('WD_FM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
  define('WD_MAIN_FILE', plugin_basename(__FILE__));
14
- define('WD_FM_VERSION', '1.11.6');
15
  // Plugin menu.
16
  function form_maker_options_panel() {
17
  $parent_slug = null;
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ * Version: 1.11.7
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
11
  define('WD_FM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
12
  define('WD_FM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
  define('WD_MAIN_FILE', plugin_basename(__FILE__));
14
+ define('WD_FM_VERSION', '1.11.7');
15
  // Plugin menu.
16
  function form_maker_options_panel() {
17
  $parent_slug = null;
frontend/models/FMModelForm_maker.php CHANGED
@@ -34,7 +34,7 @@ class FMModelForm_maker {
34
  $form_theme = array("CUPCSS" => $form_theme->css);
35
  }
36
 
37
- $cssver = isset($form_theme['nonce_fm']) ? $form_theme['nonce_fm'] : rand();
38
  $create_css_data = $this->create_css($theme_id, $form_theme, $old);
39
  wp_register_style('fm-style-' . $theme_id, WD_FM_URL . '/css/frontend/fm-style-' . $theme_id . '.css', array(), $cssver);
40
 
34
  $form_theme = array("CUPCSS" => $form_theme->css);
35
  }
36
 
37
+ $cssver = isset($form_theme['version']) ? $form_theme['version'] : rand();
38
  $create_css_data = $this->create_css($theme_id, $form_theme, $old);
39
  wp_register_style('fm-style-' . $theme_id, WD_FM_URL . '/css/frontend/fm-style-' . $theme_id . '.css', array(), $cssver);
40
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.html
4
  Tags: form, form builder, contact form, custom form, feedback, contact, contact forms, captcha, email, form manager, forms, survey
5
  Requires at least: 3.4
6
  Tested up to: 4.8
7
- Stable tag: 1.11.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -290,6 +290,9 @@ MailChimp form add-on of Form Maker lets you build up a customer database on you
290
 
291
  == Changelog ==
292
 
 
 
 
293
  = 1.11.6 =
294
  * Fixed: Shortcode editor pop-up styles.
295
  * Fixed: Scripts enqueue in Manage Forms page.
@@ -302,18 +305,18 @@ MailChimp form add-on of Form Maker lets you build up a customer database on you
302
  * Fixed: File upload field styles with "Inherit from website theme".
303
 
304
  = 1.11.4 =
305
- * Fixed: Bug on color picker when choosing transparency
306
  * Fixed: Bug on submissions edit
307
- * Fixed: Bug on "Inherit from website" theme
308
  * Fixed: Bug on Paypal notifications
 
309
  * Changed: Form Options tab id to avoid conflict with some plugins
310
 
311
 
312
  = 1.11.3 =
 
313
  * Added: Global option to enable Advanced Layout
314
  * Changed: Themes table field name: `params` to `css`
315
  * Fixed: Bug on PHP 5.2
316
- * Fixed: Uninstall bug in free version
317
  * Fixed: bug on generating Theme css
318
  * Fixed: CSS conflict with some ajax themes
319
 
@@ -329,8 +332,8 @@ MailChimp form add-on of Form Maker lets you build up a customer database on you
329
  * Added: Form Header
330
  * Added: New Themes
331
  * Added: New Theme Editor
332
- * Added: Form Display Options (Embedded, Popup, Topbar, Scrollbox)
333
  * Fixed: Database creation on some versions of MySQL
 
334
  * Fixed: Removed html tags from csv and xml
335
 
336
  = 1.10.11 =
4
  Tags: form, form builder, contact form, custom form, feedback, contact, contact forms, captcha, email, form manager, forms, survey
5
  Requires at least: 3.4
6
  Tested up to: 4.8
7
+ Stable tag: 1.11.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
290
 
291
  == Changelog ==
292
 
293
+ = 1.11.7 =
294
+ * Fixed: Theme version control.
295
+
296
  = 1.11.6 =
297
  * Fixed: Shortcode editor pop-up styles.
298
  * Fixed: Scripts enqueue in Manage Forms page.
305
  * Fixed: File upload field styles with "Inherit from website theme".
306
 
307
  = 1.11.4 =
 
308
  * Fixed: Bug on submissions edit
309
+ * Fixed: Bug on color picker when choosing transparency
310
  * Fixed: Bug on Paypal notifications
311
+ * Fixed: Bug on "Inherit from website" theme
312
  * Changed: Form Options tab id to avoid conflict with some plugins
313
 
314
 
315
  = 1.11.3 =
316
+ * Fixed: Uninstall bug in free version
317
  * Added: Global option to enable Advanced Layout
318
  * Changed: Themes table field name: `params` to `css`
319
  * Fixed: Bug on PHP 5.2
 
320
  * Fixed: bug on generating Theme css
321
  * Fixed: CSS conflict with some ajax themes
322
 
332
  * Added: Form Header
333
  * Added: New Themes
334
  * Added: New Theme Editor
 
335
  * Fixed: Database creation on some versions of MySQL
336
+ * Added: Form Display Options (Embedded, Popup, Topbar, Scrollbox)
337
  * Fixed: Removed html tags from csv and xml
338
 
339
  = 1.10.11 =