Formidable Forms – Form Builder for WordPress - Version 1.07.05

Version Description

  • Added XML import/export
  • Moved more email settings and bulk form delete to free version
  • Added form edit links to admin bar
  • Removed .required class from required form inputs to minimize conflicts
  • Revert to random entry keys now that data from entries values can be used in filtering views
  • Encode email subject with frm_encode_subject hook to prevent encoding
  • PRO: Allow entries to be edited via csv import when entry ID is included
  • PRO: Expanded conditional logic for email notifications
  • PRO: Allow the frm-field-value shortcode to get the entry ID from the URL. [frm-field-value field_id=x entry_id=id]. Replace "id" with the name of the parameter in your URL
  • PRO: Added separate set of confirmation options for editing
  • PRO: Added option to disable visual tab on each view
  • PRO: Added 'action' parameter back to the frm_redirect_url hook
  • PRO: Added drafts parameter to view shortcode to show draft entries. [display-frm-data id=40 drafts=1]
  • PRO: Switched star ratings to icon font
  • PRO: Added multiple="multiple" into multiple file upload fields
  • PRO: Allow field keys in the exlude_fields shortcode option
  • PRO: Allow updated-at, created-at, updated-by to by used in conditional statements
  • PRO: Added update message and button to global default messages
  • PRO: Added progress bar to csv import
  • PRO: Added frm_csv_line_break filter for changing line breaks in csv export
  • PRO: Change the updated_at and updated_by values when a field is changed with the edit field link
  • PRO: Fixed adding new conditional logic to newly added notifications
  • PRO: Allow "GROUP BY" addition to form in frm_where_filter by rearranging SQL
  • PRO: Don't apply custom display filters to single post page
  • PRO: Fixed showing only file name in views
  • PRO: Removed Pretty Link plugin integration to be placed in an add-on
  • PRO: Added delete_link and confirm parameter to formresults shortcode
  • PRO: Added entry_id, x_title, y_title, start_date, and tooltip_label to graph shortcode options
  • PRO: Allow data from entries fields to be used as x_axis in graphs
  • PRO: Allow field keys in graph shortcode
  • PRO: Add height and line-height to Global Settings
  • PRO: Filter the empty_msg for Views
  • PRO: Added draft status to csv export/import
  • PRO: Check for valid file type when saving a draft
  • PRO: Added sorting on entry listing table for non-post fields
  • PRO: Fixed form pagination with errors and no ajax validation
  • PRO: Changed image to a link when editing an entry with an image
  • PRO: Moved the frm_setup_new_fields_vars hook to fire later when dynamically getting options from a dependent data from entries field
  • PRO: Added frm_get_categories hook
  • PRO: Added frm_jquery_themes hook for creating custom jQuery calendar themes
  • PRO: Added frm_no_data_graph hook for customizing "No Data" message for graphs
Download this release

Release Info

Developer sswells
Plugin Icon 128x128 Formidable Forms – Form Builder for WordPress
Version 1.07.05
Comparing to
See all releases

Code changes from version 1.07.0 to 1.07.05

Files changed (107) hide show
  1. classes/controllers/FrmApiController.php +0 -74
  2. classes/controllers/FrmAppController.php +224 -148
  3. classes/controllers/FrmEntriesController.php +193 -73
  4. classes/controllers/FrmFieldsController.php +79 -70
  5. classes/controllers/FrmFormsController.php +379 -174
  6. classes/controllers/FrmSettingsController.php +57 -30
  7. classes/controllers/FrmStatisticsController.php +11 -7
  8. classes/controllers/FrmUpdatesController.php +0 -538
  9. classes/controllers/FrmXMLController.php +318 -0
  10. classes/helpers/FrmAppHelper.php +123 -109
  11. classes/helpers/FrmEntriesHelper.php +53 -27
  12. classes/helpers/FrmFieldsHelper.php +113 -30
  13. classes/helpers/FrmFormsHelper.php +129 -47
  14. classes/helpers/FrmListHelper.php +45 -73
  15. classes/helpers/FrmSettingsHelper.php +0 -4
  16. classes/helpers/FrmXMLHelper.php +251 -0
  17. classes/models/FrmDb.php +53 -19
  18. classes/models/FrmEntry.php +160 -129
  19. classes/models/FrmEntryMeta.php +225 -165
  20. classes/models/FrmField.php +66 -39
  21. classes/models/FrmForm.php +271 -253
  22. classes/models/FrmNotification.php +55 -47
  23. classes/models/FrmSettings.php +13 -69
  24. classes/models/FrmUpdate.php +0 -361
  25. classes/templates/contact.php +0 -76
  26. classes/views/frm-entries/direct.php +4 -2
  27. classes/views/frm-entries/errors.php +16 -12
  28. classes/views/frm-entries/form.php +18 -15
  29. classes/views/frm-entries/frm-entry.php +39 -50
  30. classes/views/frm-entries/list.php +10 -8
  31. classes/views/frm-entries/new.php +11 -2
  32. classes/views/frm-entries/no_entries.php +10 -10
  33. classes/views/frm-fields/input.php +7 -7
  34. classes/views/frm-fields/radio.php +1 -1
  35. classes/views/frm-fields/single-option.php +5 -5
  36. classes/views/frm-forms/add_field.php +140 -63
  37. classes/views/frm-forms/add_field_links.php +2 -28
  38. classes/views/frm-forms/default-templates.php +7 -7
  39. classes/views/frm-forms/edit.php +11 -19
  40. classes/views/frm-forms/footer.php +0 -35
  41. classes/views/frm-forms/form.php +24 -8
  42. classes/views/frm-forms/insert_form_popup.php +20 -19
  43. classes/views/frm-forms/list.php +4 -189
  44. classes/views/frm-forms/mb_html_tab.php +3 -3
  45. classes/views/frm-forms/mb_insert_fields.php +2 -2
  46. classes/views/frm-forms/new-selection.php +9 -5
  47. classes/views/frm-forms/new.php +10 -13
  48. classes/views/frm-forms/notification.php +29 -19
  49. classes/views/frm-forms/settings.php +70 -80
  50. classes/views/frm-forms/sidebar-settings.php +12 -9
  51. classes/views/frm-forms/translate.php +0 -62
  52. classes/views/frm-settings/form.php +121 -208
  53. classes/views/frm-settings/license_box.php +17 -0
  54. classes/views/frm-settings/styling_tab.php +4 -0
  55. classes/views/frm-statistics/list.php +12 -7
  56. classes/views/frm-statistics/list_displays.php +7 -4
  57. classes/views/shared/errors.php +3 -2
  58. classes/views/shared/form-nav.php +6 -6
  59. classes/views/shared/item-table-nav.php +0 -12
  60. classes/views/shared/nav.php +1 -1
  61. classes/views/shared/pagination.php +0 -52
  62. classes/views/shared/update_message.php +1 -1
  63. classes/views/xml/default-templates.xml +109 -0
  64. classes/views/xml/forms_xml.php +53 -0
  65. classes/views/xml/import_form.php +110 -0
  66. classes/views/xml/xml.php +33 -0
  67. classes/widgets/FrmShowForm.php +10 -10
  68. css/frm_admin.css +537 -143
  69. css/frm_display.css +19 -9
  70. css/frm_fonts.css +34 -0
  71. deprecated.php +35 -0
  72. fonts/s11-fp.eot +0 -0
  73. fonts/s11-fp.svg +36 -0
  74. fonts/s11-fp.ttf +0 -0
  75. fonts/s11-fp.woff +0 -0
  76. formidable.php +46 -91
  77. images/duplicate.png +0 -0
  78. images/form_16-2x.png +0 -0
  79. images/form_16.png +0 -0
  80. images/form_32.png +0 -0
  81. images/form_32_sprite-2x.png +0 -0
  82. images/form_32_sprite.png +0 -0
  83. images/form_nav_bg6.png +0 -0
  84. images/grey_bg.png +0 -0
  85. images/icon.png +0 -0
  86. images/icons.png +0 -0
  87. images/marker.png +0 -0
  88. images/mask.png +0 -0
  89. images/move.png +0 -0
  90. images/report_icon.png +0 -0
  91. images/rte.gif +0 -0
  92. images/tooltip.png +0 -0
  93. images/tooltip_white.png +0 -0
  94. images/tr_icons_white.png +0 -0
  95. images/trash.png +0 -0
  96. images/wheel.png +0 -0
  97. js/bootstrap.min.js +12 -0
  98. js/formidable.js +336 -205
  99. js/formidable.min.js +38 -33
  100. js/formidable_admin.js +767 -273
  101. js/jquery/jquery-ui-themepicker.js +4 -4
  102. js/jquery/jquery.editinplace.js +1 -1
  103. js/jquery/jquery.editinplace.packed.js +1 -1
  104. js/jquery/jquery.placeholder.js +183 -0
  105. languages/formidable-de_DE.mo +0 -0
  106. languages/formidable-de_DE.po +2161 -2151
  107. languages/formidable-en_US.po +236 -487
classes/controllers/FrmApiController.php DELETED
@@ -1,74 +0,0 @@
1
- <?php
2
- /**
3
- * @package Formidable
4
- */
5
-
6
- class FrmApiController{
7
-
8
- /********* DISPLAY DATA *************/
9
- function frm_filter_content($args){
10
- global $frm_entry;
11
- $args = explode(",",$args[1]);
12
-
13
- $form_key = sanitize_title($args[0]);
14
-
15
- $where = '';//" fr.form_key = '$form_key'";
16
- $items = $frm_entry->getAll($where);
17
-
18
- $list = $form_key;
19
- foreach ($items as $item){
20
- $list .= $item->name;
21
- }
22
-
23
- return $list;
24
- }
25
-
26
- function get_frm_items($args = null){
27
- global $frm_entry, $frm_form, $frm_entry_meta;
28
-
29
- $defaults = array(
30
- 'form_key' => '', 'order' => '', 'limit' => '',
31
- 'search' =>'', 'search_type' => '',
32
- 'search_field' => '', 'search_operator' => 'LIKE'
33
- );
34
-
35
- $r = wp_parse_args( $args, $defaults );
36
-
37
- $form = $frm_form->getOne($r['form_key']);
38
-
39
- $where = " (it.form_id='". $form->id ."')";
40
-
41
- if (!($r['order'] == ''))
42
- $r['order'] = " ORDER BY {$r['order']}";
43
-
44
- if (!($r['limit'] == ''))
45
- $r['limit'] = " LIMIT {$r['limit']}";
46
-
47
- if (!($r['search'] == '') and $r['search_type'] == '')
48
- $where .= " and (it.item_key LIKE '%{$r['search']}%' or it.description LIKE '%{$r['search']}%' or it.name LIKE '%{$r['search']}%')";
49
-
50
- $items = $frm_entry->getAll($where, $r['order'], $r['limit']);
51
-
52
- if (!($r['search'] == '') and $r['search_type'] == 'meta'){ //search meta values
53
- $item_ids = $frm_entry_meta->search_entry_metas($r['search'], $r['search_field'], $r['search_operator']);
54
- $item_list = array();
55
- foreach ($items as $item){
56
- if (in_array($item->id, $item_ids))
57
- $item_list[] = $item;
58
- }
59
- return $item_list;
60
- }else
61
- return $items;
62
- }
63
-
64
- function get_frm_item($item_key){
65
- global $frm_entry;
66
- return $frm_entry->getOne( $item_key );
67
- }
68
-
69
- function get_frm_item_by_id($id){
70
- global $frm_entry;
71
- return $frm_entry->getOne( $id );
72
- }
73
-
74
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/controllers/FrmAppController.php CHANGED
@@ -2,19 +2,24 @@
2
  /**
3
  * @package Formidable
4
  */
5
-
 
 
 
 
6
  class FrmAppController{
7
- function FrmAppController(){
8
  add_action('admin_menu', 'FrmAppController::menu', 1);
9
- add_action('admin_head', 'FrmAppController::menu_css');
10
  add_filter('plugin_action_links_formidable/formidable.php', 'FrmAppController::settings_link', 10, 2 );
11
- add_action('after_plugin_row_formidable/formidable.php', 'FrmAppController::pro_action_needed');
12
  add_action('admin_notices', 'FrmAppController::pro_get_started_headline');
13
  add_filter('the_content', 'FrmAppController::page_route', 10);
 
14
  add_action('init', 'FrmAppController::front_head');
15
  add_action('wp_footer', 'FrmAppController::footer_js', 1, 0);
16
  add_action('admin_init', 'FrmAppController::admin_js', 11);
17
- register_activation_hook(FRM_PATH.'/formidable.php', 'FrmAppController::install');
18
  add_action('wp_ajax_frm_install', 'FrmAppController::install');
19
  add_action('wp_ajax_frm_uninstall', 'FrmAppController::uninstall');
20
  add_action('wp_ajax_frm_deauthorize', 'FrmAppController::deauthorize');
@@ -23,14 +28,10 @@ class FrmAppController{
23
  add_action('init', 'FrmAppController::parse_standalone_request', 40);
24
  // Update the session data
25
  add_action('init', 'FrmAppController::referer_session', 1);
26
-
27
- //Shortcodes
28
- add_shortcode('formidable', 'FrmAppController::get_form_shortcode');
29
- add_filter( 'widget_text', 'FrmAppController::widget_text_filter', 9 );
30
  }
31
 
32
  public static function menu(){
33
- global $frmpro_is_installed, $frm_settings;
34
 
35
  if(is_super_admin() and !current_user_can('frm_view_forms')){
36
  global $current_user;
@@ -47,26 +48,35 @@ class FrmAppController{
47
  $pos = apply_filters('frm_menu_position', $pos);
48
 
49
  if(current_user_can('frm_view_forms')){
50
- add_menu_page('Formidable', $frm_settings->menu, 'frm_view_forms', 'formidable', 'FrmFormsController::route', 'div', $pos);
51
- }else if(current_user_can('frm_view_entries') and $frmpro_is_installed){
52
- add_menu_page('Formidable', $frm_settings->menu, 'frm_view_entries', 'formidable', 'FrmProEntriesController::route', 'div', $pos);
53
  }
 
 
54
  }
55
 
56
- public static function menu_css(){ ?>
57
- <style type="text/css">#adminmenu .toplevel_page_formidable div.wp-menu-image{background: url(<?php echo FRM_IMAGES_URL ?>/form_16.png) no-repeat center;}.menu-icon-frmdisplay .wp-menu-image img{display:none;}
58
- </style>
59
- <?php
60
- //#adminmenu .toplevel_page_formidable:hover div.wp-menu-image{background: url(<?php echo FRM_IMAGES_URL /icon_16.png) no-repeat center;}
61
  }
62
 
63
  public static function get_form_nav($id, $show_nav=false){
64
- global $pagenow;
65
 
66
  $show_nav = FrmAppHelper::get_param('show_nav', $show_nav);
 
 
 
 
 
 
 
 
 
 
 
67
 
68
- if($show_nav)
69
- include(FRM_VIEWS_PATH.'/shared/form-nav.php');
70
  }
71
 
72
  // Adds a settings link to the plugins page
@@ -77,73 +87,109 @@ class FrmAppController{
77
  return $links;
78
  }
79
 
80
- public static function pro_action_needed( $plugin ){
81
- $frm_update = new FrmUpdatesController();
82
- if( $frm_update->pro_is_authorized() and !$frm_update->pro_is_installed() ){
83
- if (IS_WPMU and $frm_update->pro_wpmu and !FrmAppHelper::is_super_admin())
84
- return;
85
- $frm_update->manually_queue_update();
86
- $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $plugin, 'upgrade-plugin_' . $plugin);
87
- ?>
88
- <td colspan="3" class="plugin-update"><div class="update-message" style="-moz-border-radius:5px;border:1px solid #CC0000;; margin:5px;background-color:#FFEBE8;padding:3px 5px;"><?php printf(__('Your Formidable Pro installation isn\'t quite complete yet.<br/>%1$sAutomatically Upgrade to Enable Formidable Pro%2$s', 'formidable'), '<a href="'.$inst_install_url.'">', '</a>'); ?></div></td>
89
- <?php
90
- }
 
 
 
 
 
 
 
91
  }
92
 
93
  public static function pro_get_started_headline(){
94
- $frm_update = new FrmUpdatesController();
95
-
 
 
 
 
 
 
96
  // Don't display this error as we're upgrading the thing... cmon
97
  if(isset($_GET['action']) and $_GET['action'] == 'upgrade-plugin')
98
  return;
99
 
100
- if (IS_WPMU and !is_super_admin())
101
  return;
102
-
103
  if(!isset($_GET['activate'])){
104
- global $frmpro_is_installed, $frm_db_version;
105
  $db_version = get_option('frm_db_version');
106
- $pro_db_version = ($frmpro_is_installed) ? get_option('frmpro_db_version') : false;
107
- if(((int)$db_version < (int)$frm_db_version) or ($frmpro_is_installed and (int)$pro_db_version < 21)){ //this number should match the db_version in FrmDb.php
 
108
  ?>
109
- <div class="error" id="frm_install_message" style="padding:7px;"><?php _e('Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this or', 'formidable'); ?> <a id="frm_install_link" href="#" onclick="frm_install_now();return false;"><?php _e('Update Now', 'formidable') ?></a></div>
110
  <script type="text/javascript">
111
- function frm_install_now(){
112
- jQuery('#frm_install_link').replaceWith('<img src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="<?php _e('Loading...', 'formidable'); ?>" />');
113
- jQuery.ajax({type:"POST",url:"<?php echo admin_url('admin-ajax.php') ?>",data:"action=frm_install",
114
- success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
115
- });
116
- };
 
 
117
  </script>
118
  <?php
119
  }
120
  }
121
 
122
- if( $frm_update->pro_is_authorized() and !$frm_update->pro_is_installed()){
123
- $frm_update->manually_queue_update();
124
- $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $frm_update->plugin_name, 'upgrade-plugin_' . $frm_update->plugin_name);
125
  ?>
126
- <div class="error" style="padding:7px;"><?php printf(__('Your Formidable Pro installation isn\'t quite complete yet.<br/>%1$sAutomatically Upgrade to Enable Formidable Pro%2$s', 'formidable'), '<a href="'.$inst_install_url.'">', '</a>'); ?></div>
 
 
 
 
 
 
 
 
 
 
 
127
  <?php
128
  }
129
  }
130
 
131
  public static function admin_js(){
132
- global $frm_version, $pagenow;
133
  wp_enqueue_script('jquery');
134
  wp_enqueue_script('jquery-ui-core');
 
135
 
136
- if(isset($_GET) and (isset($_GET['page']) and preg_match('/formidable*/', $_GET['page'])) or ($pagenow == 'edit.php' and isset($_GET) and isset($_GET['post_type']) and $_GET['post_type'] == 'frm_display')){
 
137
  add_filter('admin_body_class', 'FrmAppController::admin_body_class');
138
 
139
  wp_enqueue_script('jquery-ui-sortable');
140
  wp_enqueue_script('jquery-ui-draggable');
141
  wp_enqueue_script('admin-widgets');
142
  wp_enqueue_style('widgets');
143
- wp_enqueue_script('formidable_admin', FRM_URL . '/js/formidable_admin.js', array('jquery', 'jquery-ui-draggable'), $frm_version);
144
  wp_enqueue_script('formidable');
145
- wp_enqueue_style('formidable-admin', FRM_URL. '/css/frm_admin.css', array(), $frm_version);
 
 
 
146
  add_thickbox();
 
 
 
 
 
147
  }else if($pagenow == 'post.php' or ($pagenow == 'post-new.php' and isset($_REQUEST['post_type']) and $_REQUEST['post_type'] == 'frm_display')){
148
  if(isset($_REQUEST['post_type'])){
149
  $post_type = $_REQUEST['post_type'];
@@ -157,92 +203,133 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
157
  }
158
 
159
  if($post_type == 'frm_display'){
 
160
  wp_enqueue_script('jquery-ui-draggable');
161
- wp_enqueue_script('formidable_admin', FRM_URL . '/js/formidable_admin.js', array('jquery', 'jquery-ui-draggable'), $frm_version);
162
- wp_enqueue_style('formidable-admin', FRM_URL. '/css/frm_admin.css', array(), $frm_version);
 
163
  }
164
  }
165
  }
166
 
167
  public static function admin_body_class($classes){
168
  global $wp_version;
 
 
169
  if(version_compare( $wp_version, '3.4.9', '>'))
170
  $classes .= ' frm_35_trigger';
171
 
172
  return $classes;
173
  }
174
 
175
- public static function front_head(){
176
- global $frm_settings, $frm_version, $frm_db_version;
 
 
 
177
 
178
- if (IS_WPMU){
179
- global $frmpro_is_installed;
180
- //$frm_db_version is the version of the database we're moving to
 
 
 
 
 
 
 
 
 
 
181
  $old_db_version = get_option('frm_db_version');
182
- $pro_db_version = ($frmpro_is_installed) ? get_option('frmpro_db_version') : false;
183
- if(((int)$old_db_version < (int)$frm_db_version) or ($frmpro_is_installed and (int)$pro_db_version < 21))
 
184
  self::install($old_db_version);
 
185
  }
186
-
187
- wp_register_script('formidable', FRM_URL . '/js/formidable.min.js', array('jquery'), $frm_version, true);
 
 
 
 
188
  wp_register_script('recaptcha-ajax', 'http'. (is_ssl() ? 's' : '').'://www.google.com/recaptcha/api/js/recaptcha_ajax.js', '', true);
189
  wp_enqueue_script('jquery');
 
190
 
191
- $style = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css');
192
  if($style){
193
  foreach((array)$style as $k => $file){
194
- $k = $k ? 'frm-forms'. $k : 'formidable';
195
- wp_register_style($k, $file, array(), $frm_version);
 
196
  unset($k);
197
  unset($file);
198
  }
199
  }
200
 
201
- if(!is_admin() and $frm_settings->load_style == 'all'){
202
- $css = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css', 'header');
203
- if(is_array($css)){
204
- foreach($css as $css_key => $file)
205
- wp_enqueue_style('frm-forms'.$css_key, $file, array(), $frm_version);
206
- unset($css_key);
207
- unset($file);
208
- }else
209
- wp_enqueue_style('frm-forms', $css, array(), $frm_version);
210
- unset($css);
211
-
212
- global $frm_css_loaded;
213
- $frm_css_loaded = true;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  }
215
  }
216
 
217
  public static function footer_js($location='footer'){
218
- global $frm_load_css, $frm_settings, $frm_version, $frm_css_loaded, $frm_forms_loaded;
219
 
220
- if($frm_load_css and !is_admin() and ($frm_settings->load_style != 'none')){
221
- if($frm_css_loaded)
222
- $css = apply_filters('get_frm_stylesheet', '', $location);
223
  else
224
- $css = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css', $location);
225
 
226
  if(!empty($css)){
227
  echo "\n".'<script type="text/javascript">';
228
- if(is_array($css)){
229
- foreach($css as $css_key => $file){
230
- echo 'jQuery("head").append(unescape("%3Clink rel=\'stylesheet\' id=\'frm-forms'. ($css_key + $frm_css_loaded) .'-css\' href=\''. $file. '\' type=\'text/css\' media=\'all\' /%3E"));';
231
- //wp_enqueue_style('frm-forms'.$css_key, $file, array(), $frm_version);
232
- unset($css_key);
233
- unset($file);
234
- }
235
- }else{
236
- echo 'jQuery("head").append(unescape("%3Clink rel=\'stylesheet\' id=\'frm-forms-css\' href=\''. $css. '\' type=\'text/css\' media=\'all\' /%3E"));';
237
  }
238
  unset($css);
239
 
240
- //wp_enqueue_style('frm-forms', $css, array(), $frm_version);
241
  echo '</script>'."\n";
242
  }
243
  }
244
 
245
- if(!is_admin() and $location != 'header' and !empty($frm_forms_loaded)) //load formidable js
246
  FrmAppHelper::load_scripts(array('formidable'));
247
  }
248
 
@@ -255,19 +342,12 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
255
  if(is_super_admin()){
256
  global $frmdb;
257
  $frmdb->uninstall();
258
- return true;
259
- //wp_die(__('Formidable was successfully uninstalled.', 'formidable'));
260
  }else{
261
  global $frm_settings;
262
  wp_die($frm_settings->admin_permission);
263
  }
264
- }
265
-
266
- public static function deauthorize(){
267
- delete_option('frmpro-credentials');
268
- delete_option('frmpro-authorized');
269
- delete_site_option('frmpro-credentials');
270
- delete_site_option('frmpro-authorized');
271
  }
272
 
273
  // Routes for wordpress pages -- we're just replacing content here folks.
@@ -282,10 +362,13 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
282
  }
283
 
284
  public static function referer_session() {
285
- global $frm_siteurl, $frm_settings;
286
 
287
  if(!isset($frm_settings->track) or !$frm_settings->track or defined('WP_IMPORTING'))
288
  return;
 
 
 
289
 
290
  if ( !isset($_SESSION) )
291
  session_start();
@@ -296,7 +379,7 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
296
  if ( !isset($_SESSION['frm_http_referer']) or !is_array($_SESSION['frm_http_referer']) )
297
  $_SESSION['frm_http_referer'] = array();
298
 
299
- if (!isset($_SERVER['HTTP_REFERER']) or (isset($_SERVER['HTTP_REFERER']) and (strpos($_SERVER['HTTP_REFERER'], $frm_siteurl) === false) and ! (in_array($_SERVER['HTTP_REFERER'], $_SESSION['frm_http_referer'])) )) {
300
  if (! isset($_SERVER['HTTP_REFERER'])){
301
  $direct = __('Type-in or bookmark', 'formidable');
302
  if(!in_array($direct, $_SESSION['frm_http_referer']))
@@ -309,10 +392,10 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
309
  if ($_SESSION['frm_http_pages'] and !empty($_SESSION['frm_http_pages']) and (end($_SESSION['frm_http_pages']) != "http://". $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI']))
310
  $_SESSION['frm_http_pages'][] = "http://". $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'];
311
 
312
- //keep the page history below 100
313
- if(count($_SESSION['frm_http_pages']) > 100){
314
  foreach($_SESSION['frm_http_pages'] as $pkey => $ppage){
315
- if(count($_SESSION['frm_http_pages']) <= 100)
316
  break;
317
 
318
  unset($_SESSION['frm_http_pages'][$pkey]);
@@ -320,58 +403,37 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
320
  }
321
  }
322
 
323
- // The tight way to process standalone requests dogg...
324
  public static function parse_standalone_request(){
325
- $plugin = FrmAppHelper::get_param('plugin');
326
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
327
  $action = FrmAppHelper::get_param($action);
328
  $controller = FrmAppHelper::get_param('controller');
329
-
330
  if( !empty($plugin) and $plugin == 'formidable' and !empty($controller) ){
331
- self::standalone_route($controller, $action);
332
- die();
333
- }
334
- }
335
-
336
- // Routes for standalone / ajax requests
337
- public static function standalone_route($controller, $action=''){
338
- if($controller == 'forms' and !in_array($action, array('export', 'import', 'xml')))
339
- FrmFormsController::preview(FrmAppHelper::get_param('form'));
340
- else
341
- do_action('frm_standalone_route', $controller, $action);
342
 
343
- do_action('frm_ajax_'. $controller .'_'. $action);
344
- }
345
-
 
346
 
347
- //formidable shortcode
348
- public static function get_form_shortcode($atts){
349
- global $frm_skip_shortcode;
350
- if($frm_skip_shortcode){
351
- $sc = '[formidable';
352
- foreach($atts as $k => $v)
353
- $sc .= ' '. $k .'="'. $v .'"';
354
- return $sc .']';
355
  }
356
-
357
- extract(shortcode_atts(array('id' => '', 'key' => '', 'title' => false, 'description' => false, 'readonly' => false, 'entry_id' => false, 'fields' => array()), $atts));
358
- do_action('formidable_shortcode_atts', compact('id', 'key', 'title', 'description', 'readonly', 'entry_id', 'fields'));
359
- return FrmEntriesController::show_form($id, $key, $title, $description);
360
  }
361
-
362
- //filter form shortcode in text widgets
363
- public static function widget_text_filter( $content ){
364
- $regex = '/\[\s*formidable\s+.*\]/';
365
- return preg_replace_callback( $regex, 'FrmAppController::widget_text_filter_callback', $content );
366
  }
367
 
368
-
369
  public static function widget_text_filter_callback( $matches ) {
370
  return do_shortcode( $matches[0] );
371
  }
372
 
373
  public static function update_message($features){
374
- include(FRM_VIEWS_PATH .'/shared/update_message.php');
375
  }
376
 
377
  public static function get_postbox_class(){
@@ -380,5 +442,19 @@ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
380
  else
381
  return 'inner-sidebar';
382
  }
383
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384
  }
2
  /**
3
  * @package Formidable
4
  */
5
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
6
+
7
+ if(class_exists('FrmAppController'))
8
+ return;
9
+
10
  class FrmAppController{
11
+ public static function load_hooks(){
12
  add_action('admin_menu', 'FrmAppController::menu', 1);
13
+ add_action( 'admin_enqueue_scripts', 'FrmAppController::load_wp_admin_style' );
14
  add_filter('plugin_action_links_formidable/formidable.php', 'FrmAppController::settings_link', 10, 2 );
15
+ add_filter('update_plugin_complete_actions', 'FrmAppController::update_action_links', 10, 2 );
16
  add_action('admin_notices', 'FrmAppController::pro_get_started_headline');
17
  add_filter('the_content', 'FrmAppController::page_route', 10);
18
+ add_action('plugins_loaded', 'FrmAppController::load_lang');
19
  add_action('init', 'FrmAppController::front_head');
20
  add_action('wp_footer', 'FrmAppController::footer_js', 1, 0);
21
  add_action('admin_init', 'FrmAppController::admin_js', 11);
22
+ register_activation_hook(FrmAppHelper::plugin_path().'/formidable.php', 'FrmAppController::install');
23
  add_action('wp_ajax_frm_install', 'FrmAppController::install');
24
  add_action('wp_ajax_frm_uninstall', 'FrmAppController::uninstall');
25
  add_action('wp_ajax_frm_deauthorize', 'FrmAppController::deauthorize');
28
  add_action('init', 'FrmAppController::parse_standalone_request', 40);
29
  // Update the session data
30
  add_action('init', 'FrmAppController::referer_session', 1);
 
 
 
 
31
  }
32
 
33
  public static function menu(){
34
+ global $frm_vars, $frm_settings;
35
 
36
  if(is_super_admin() and !current_user_can('frm_view_forms')){
37
  global $current_user;
48
  $pos = apply_filters('frm_menu_position', $pos);
49
 
50
  if(current_user_can('frm_view_forms')){
51
+ add_menu_page('Formidable', $frm_settings->menu, 'frm_view_forms', 'formidable', 'FrmFormsController::route', FrmAppHelper::plugin_url() .'/images/form_16.png', $pos);
52
+ }else if(current_user_can('frm_view_entries') and $frm_vars['pro_is_installed']){
53
+ add_menu_page('Formidable', $frm_settings->menu, 'frm_view_entries', 'formidable', 'FrmProEntriesController::route', FrmAppHelper::plugin_url() .'/images/form_16.png', $pos);
54
  }
55
+
56
+ add_filter('admin_body_class', 'FrmAppController::wp_admin_body_class');
57
  }
58
 
59
+ public static function load_wp_admin_style(){
60
+ wp_enqueue_style( 'frm_fonts', FrmAppHelper::plugin_url() .'/css/frm_fonts.css', array(), FrmAppHelper::plugin_version());
 
 
 
61
  }
62
 
63
  public static function get_form_nav($id, $show_nav=false){
64
+ global $pagenow, $frm_vars;
65
 
66
  $show_nav = FrmAppHelper::get_param('show_nav', $show_nav);
67
+ if(!$show_nav)
68
+ return;
69
+
70
+ $current_page = (isset($_GET['page'])) ? $_GET['page'] : (isset($_GET['post_type']) ? $_GET['post_type'] : 'None');
71
+ if($id and is_numeric($id)){
72
+ $frm_form = new FrmForm();
73
+ $form = $frm_form->getOne($id);
74
+ unset($frm_form);
75
+ }else{
76
+ $form = false;
77
+ }
78
 
79
+ include(FrmAppHelper::plugin_path() .'/classes/views/shared/form-nav.php');
 
80
  }
81
 
82
  // Adds a settings link to the plugins page
87
  return $links;
88
  }
89
 
90
+ public static function update_action_links( $actions, $plugin ) {
91
+
92
+ if ( 'formidable/formidable.php' != $plugin )
93
+ return $actions;
94
+
95
+ global $frm_vars;
96
+
97
+ $db_version = get_option('frm_db_version');
98
+ $pro_db_version = $frm_vars['pro_is_installed'] ? get_option('frmpro_db_version') : false;
99
+
100
+ if ( ( (int) $db_version < (int) FrmAppHelper::$db_version ) ||
101
+ ( $frm_vars['pro_is_installed'] && (int) $pro_db_version < (int) FrmAppHelper::$pro_db_version ) ) {
102
+
103
+ return sprintf( '<a href="%s">%s</a>', add_query_arg(array('upgraded' => 'true'), menu_page_url( 'formidable', 0 )), __( 'Click here to complete the upgrade', 'formidable' ) );
104
+
105
+ } else {
106
+ return $actions;
107
+ }
108
  }
109
 
110
  public static function pro_get_started_headline(){
111
+ if ( isset($_GET['page']) && 'formidable' == $_GET['page'] && isset( $_REQUEST['upgraded'] ) && 'true' == $_REQUEST['upgraded'] ) {
112
+ self::install();
113
+ ?>
114
+ <div id="message" class="frm_message updated"><?php _e('Congratulations! Formidable is ready to roll.', 'formidable') ?></div>
115
+ <?php
116
+ return;
117
+ }
118
+
119
  // Don't display this error as we're upgrading the thing... cmon
120
  if(isset($_GET['action']) and $_GET['action'] == 'upgrade-plugin')
121
  return;
122
 
123
+ if (is_multisite() and !is_super_admin())
124
  return;
125
+
126
  if(!isset($_GET['activate'])){
127
+ global $frm_vars;
128
  $db_version = get_option('frm_db_version');
129
+ $pro_db_version = ($frm_vars['pro_is_installed']) ? get_option('frmpro_db_version') : false;
130
+ if ( ( (int) $db_version < (int) FrmAppHelper::$db_version ) ||
131
+ ( $frm_vars['pro_is_installed'] && (int) $pro_db_version < (int) FrmAppHelper::$pro_db_version ) ) {
132
  ?>
133
+ <div class="error" id="frm_install_message" style="padding:7px;"><?php _e('Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this or', 'formidable'); ?> <a id="frm_install_link" href="javascript:void(0)"><?php _e('Update Now', 'formidable') ?></a></div>
134
  <script type="text/javascript">
135
+ jQuery(document).ready(function($){ $('#frm_install_link').click(function(){frm_install_now()}); });
136
+ function frm_install_now(){
137
+ jQuery('#frm_install_link').replaceWith('<img src="<?php echo FrmAppHelper::plugin_url() ?>/images/wpspin_light.gif" alt="<?php _e('Loading&hellip;') ?>" />');
138
+ jQuery.ajax({
139
+ type:"POST",url:ajaxurl,data:"action=frm_install",
140
+ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
141
+ });
142
+ }
143
  </script>
144
  <?php
145
  }
146
  }
147
 
148
+ if ( self::pro_is_authorized() && !self::pro_is_installed()) {
149
+ // user is authorized, but running free version
150
+ $inst_install_url = 'http://formidablepro.com/knowledgebase/manually-install-formidable-pro/';
151
  ?>
152
+ <div class="error" style="padding:7px;"><?php echo apply_filters('frm_pro_update_msg', sprintf(__('This site has been previously authorized to run Formidable Pro.<br/>%1$sInstall the pro version%2$s or %3$sdeauthorize%4$s this site to continue running the free version and remove this message.', 'formidable'), '<a href="'. $inst_install_url .'" target="_blank">', '</a>', '<a href="javascript:void(0)" onclick="frm_deauthorize_now()" class="frm_deauthorize_link">', '</a>'), $inst_install_url); ?></div>
153
+ <script type="text/javascript">
154
+ function frm_deauthorize_now(){
155
+ if(!confirm("<?php esc_attr_e('Are you sure you want to deauthorize Formidable Pro on this site?', 'formidable') ?>"))
156
+ return false;
157
+ jQuery('.frm_deauthorize_link').html('<span class="spinner" style="display:inline-block;margin-top:0;float:none;"></span>');
158
+ jQuery.ajax({type:'POST',url:ajaxurl,data:'action=frm_deauthorize',
159
+ success:function(msg){jQuery('.error').fadeOut('slow');}
160
+ });
161
+ return false;
162
+ }
163
+ </script>
164
  <?php
165
  }
166
  }
167
 
168
  public static function admin_js(){
169
+ global $pagenow;
170
  wp_enqueue_script('jquery');
171
  wp_enqueue_script('jquery-ui-core');
172
+ wp_register_script('bootstrap_tooltip', FrmAppHelper::plugin_url() .'/js/bootstrap.min.js', array('jquery'), '3.0.3');
173
 
174
+ if ( isset($_GET) && (isset($_GET['page']) && preg_match('/formidable*/', $_GET['page'])) || ($pagenow == 'edit.php' && isset($_GET) && isset($_GET['post_type']) && $_GET['post_type'] == 'frm_display') ) {
175
+ $version = FrmAppHelper::plugin_version();
176
  add_filter('admin_body_class', 'FrmAppController::admin_body_class');
177
 
178
  wp_enqueue_script('jquery-ui-sortable');
179
  wp_enqueue_script('jquery-ui-draggable');
180
  wp_enqueue_script('admin-widgets');
181
  wp_enqueue_style('widgets');
 
182
  wp_enqueue_script('formidable');
183
+ wp_enqueue_script('formidable_admin', FrmAppHelper::plugin_url() .'/js/formidable_admin.js', array('formidable', 'jquery', 'jquery-ui-draggable', 'bootstrap_tooltip'), $version);
184
+ self::localize_script('admin');
185
+
186
+ wp_enqueue_style('formidable-admin', FrmAppHelper::plugin_url() .'/css/frm_admin.css', array(), $version);
187
  add_thickbox();
188
+
189
+ wp_register_script('formidable-editinplace', FrmAppHelper::plugin_url() .'/js/jquery/jquery.editinplace.packed.js', array('jquery'), '2.3.0');
190
+ wp_register_script('jquery-frm-themepicker', FrmAppHelper::plugin_url() .'/js/jquery/jquery-ui-themepicker.js', array('jquery'), $version);
191
+
192
+
193
  }else if($pagenow == 'post.php' or ($pagenow == 'post-new.php' and isset($_REQUEST['post_type']) and $_REQUEST['post_type'] == 'frm_display')){
194
  if(isset($_REQUEST['post_type'])){
195
  $post_type = $_REQUEST['post_type'];
203
  }
204
 
205
  if($post_type == 'frm_display'){
206
+ $version = FrmAppHelper::plugin_version();
207
  wp_enqueue_script('jquery-ui-draggable');
208
+ wp_enqueue_script('formidable_admin', FrmAppHelper::plugin_url() . '/js/formidable_admin.js', array('formidable', 'jquery', 'jquery-ui-draggable', 'bootstrap_tooltip'), $version);
209
+ wp_enqueue_style('formidable-admin', FrmAppHelper::plugin_url(). '/css/frm_admin.css', array(), $version);
210
+ self::localize_script('admin');
211
  }
212
  }
213
  }
214
 
215
  public static function admin_body_class($classes){
216
  global $wp_version;
217
+
218
+ //we only need this class on Formidable pages
219
  if(version_compare( $wp_version, '3.4.9', '>'))
220
  $classes .= ' frm_35_trigger';
221
 
222
  return $classes;
223
  }
224
 
225
+ public static function wp_admin_body_class($classes){
226
+ global $wp_version;
227
+ //we need this class everywhere in the admin for the menu
228
+ if(version_compare( $wp_version, '3.7.2', '>'))
229
+ $classes .= ' frm_38_trigger';
230
 
231
+ return $classes;
232
+ }
233
+
234
+ public static function load_lang(){
235
+ load_plugin_textdomain('formidable', false, 'formidable/languages/' );
236
+ }
237
+
238
+ public static function front_head(){
239
+ global $frm_settings;
240
+
241
+ if (is_multisite()){
242
+ global $frm_vars;
243
+
244
  $old_db_version = get_option('frm_db_version');
245
+ $pro_db_version = ($frm_vars['pro_is_installed']) ? get_option('frmpro_db_version') : false;
246
+ if ( ( (int) $old_db_version < (int) FrmAppHelper::$db_version ) ||
247
+ ( $frm_vars['pro_is_installed'] && (int) $pro_db_version < (int) FrmAppHelper::$pro_db_version ) ) {
248
  self::install($old_db_version);
249
+ }
250
  }
251
+
252
+ $version = FrmAppHelper::plugin_version();
253
+ wp_register_script('formidable', FrmAppHelper::plugin_url() . '/js/formidable.min.js', array('jquery'), $version, true);
254
+ if(!is_admin() or defined('DOING_AJAX'))
255
+ self::localize_script('front');
256
+
257
  wp_register_script('recaptcha-ajax', 'http'. (is_ssl() ? 's' : '').'://www.google.com/recaptcha/api/js/recaptcha_ajax.js', '', true);
258
  wp_enqueue_script('jquery');
259
+ wp_register_script('jquery-placeholder', FrmAppHelper::plugin_url() .'/js/jquery/jquery.placeholder.js', array('jquery'), '2.0.7', true);
260
 
261
+ $style = apply_filters('get_frm_stylesheet', array('frm-forms' => FrmAppHelper::plugin_url() .'/css/frm_display.css'));
262
  if($style){
263
  foreach((array)$style as $k => $file){
264
+ wp_register_style($k, $file, array(), $version);
265
+ if((!is_admin() or defined('DOING_AJAX')) and $frm_settings->load_style == 'all')
266
+ wp_enqueue_style($k);
267
  unset($k);
268
  unset($file);
269
  }
270
  }
271
 
272
+ if((!is_admin() or defined('DOING_AJAX')) and $frm_settings->load_style == 'all'){
273
+ global $frm_vars;
274
+ $frm_vars['css_loaded'] = true;
275
+ }
276
+ }
277
+
278
+ public static function localize_script($location){
279
+ wp_localize_script('formidable', 'frm_js', array(
280
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
281
+ 'images_url' => FrmAppHelper::plugin_url() .'/images',
282
+ 'loading' => __('Loading&hellip;'),
283
+ 'remove' => __('Remove', 'formidable')
284
+ ));
285
+
286
+ if($location == 'admin'){
287
+ global $frm_settings;
288
+ wp_localize_script('formidable_admin', 'frm_admin_js', array(
289
+ 'confirm_uninstall' => __('Are you sure you want to do this? Clicking OK will delete all forms, form data, and all other Formidable data. There is no Undo.', 'formidable'),
290
+ 'get_page' => (isset($_GET) && isset($_GET['page'])) ? $_GET['page'] : '',
291
+ 'desc' => __('(Click here to add a description or instructions)', 'formidable'),
292
+ 'blank' => __('(Blank)', 'formidable'),
293
+ 'saving' => esc_attr(__('Saving', 'formidable')),
294
+ 'saved' => esc_attr(__('Saved', 'formidable')),
295
+ 'ok' => __('OK'),
296
+ 'cancel' => __('Cancel', 'formidable'),
297
+ 'clear_default' => __('Clear default value when typing', 'formidable'),
298
+ 'no_clear_default' => __('Do not clear default value when typing', 'formidable'),
299
+ 'valid_default' => __('Default value will pass form validation', 'formidable'),
300
+ 'no_valid_default' => __('Default value will NOT pass form validation', 'formidable'),
301
+ 'deauthorize' => __('Are you sure you want to deactivate Formidable Pro on this site?', 'formidable'),
302
+ 'confirm' => __('Are you sure?', 'formidable'),
303
+ 'default_unique' => $frm_settings->unique_msg,
304
+ 'import_complete' => __('Import Complete', 'formidable'),
305
+ ));
306
  }
307
  }
308
 
309
  public static function footer_js($location='footer'){
310
+ global $frm_settings, $frm_vars;
311
 
312
+ if($frm_vars['load_css'] and (!is_admin() or defined('DOING_AJAX')) and ($frm_settings->load_style != 'none')){
313
+ if(isset($frm_vars['css_loaded']) && $frm_vars['css_loaded'])
314
+ $css = apply_filters('get_frm_stylesheet', array());
315
  else
316
+ $css = apply_filters('get_frm_stylesheet', array('frm-forms' => FrmAppHelper::plugin_url() .'/css/frm_display.css'));
317
 
318
  if(!empty($css)){
319
  echo "\n".'<script type="text/javascript">';
320
+ foreach((array)$css as $css_key => $file){
321
+ echo 'jQuery("head").append(unescape("%3Clink rel=\'stylesheet\' id=\''. ($css_key + (isset($frm_vars['css_loaded']) ? $frm_vars['css_loaded'] : false)) .'-css\' href=\''. $file. '\' type=\'text/css\' media=\'all\' /%3E"));';
322
+ //wp_enqueue_style($css_key);
323
+ unset($css_key);
324
+ unset($file);
 
 
 
 
325
  }
326
  unset($css);
327
 
 
328
  echo '</script>'."\n";
329
  }
330
  }
331
 
332
+ if((!is_admin() or defined('DOING_AJAX')) and $location != 'header' and !empty($frm_vars['forms_loaded'])) //load formidable js
333
  FrmAppHelper::load_scripts(array('formidable'));
334
  }
335
 
342
  if(is_super_admin()){
343
  global $frmdb;
344
  $frmdb->uninstall();
345
+ echo true;
 
346
  }else{
347
  global $frm_settings;
348
  wp_die($frm_settings->admin_permission);
349
  }
350
+ die();
 
 
 
 
 
 
351
  }
352
 
353
  // Routes for wordpress pages -- we're just replacing content here folks.
362
  }
363
 
364
  public static function referer_session() {
365
+ global $frm_settings;
366
 
367
  if(!isset($frm_settings->track) or !$frm_settings->track or defined('WP_IMPORTING'))
368
  return;
369
+
370
+ // keep the page history below 100
371
+ $max = 100;
372
 
373
  if ( !isset($_SESSION) )
374
  session_start();
379
  if ( !isset($_SESSION['frm_http_referer']) or !is_array($_SESSION['frm_http_referer']) )
380
  $_SESSION['frm_http_referer'] = array();
381
 
382
+ if (!isset($_SERVER['HTTP_REFERER']) or (isset($_SERVER['HTTP_REFERER']) and (strpos($_SERVER['HTTP_REFERER'], FrmAppHelper::site_url()) === false) and ! (in_array($_SERVER['HTTP_REFERER'], $_SESSION['frm_http_referer'])) )) {
383
  if (! isset($_SERVER['HTTP_REFERER'])){
384
  $direct = __('Type-in or bookmark', 'formidable');
385
  if(!in_array($direct, $_SESSION['frm_http_referer']))
392
  if ($_SESSION['frm_http_pages'] and !empty($_SESSION['frm_http_pages']) and (end($_SESSION['frm_http_pages']) != "http://". $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI']))
393
  $_SESSION['frm_http_pages'][] = "http://". $_SERVER['SERVER_NAME']. $_SERVER['REQUEST_URI'];
394
 
395
+ //keep the page history below the max
396
+ if(count($_SESSION['frm_http_pages']) > $max){
397
  foreach($_SESSION['frm_http_pages'] as $pkey => $ppage){
398
+ if(count($_SESSION['frm_http_pages']) <= $max)
399
  break;
400
 
401
  unset($_SESSION['frm_http_pages'][$pkey]);
403
  }
404
  }
405
 
 
406
  public static function parse_standalone_request(){
407
+ $plugin = FrmAppHelper::get_param('plugin');
408
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
409
  $action = FrmAppHelper::get_param($action);
410
  $controller = FrmAppHelper::get_param('controller');
411
+
412
  if( !empty($plugin) and $plugin == 'formidable' and !empty($controller) ){
413
+ _deprecated_function( __FUNCTION__, '1.07.02', 'wp_ajax_nopriv()' );
 
 
 
 
 
 
 
 
 
 
414
 
415
+ if($controller == 'forms')
416
+ FrmFormsController::preview(FrmAppHelper::get_param('form'));
417
+ else
418
+ do_action('frm_standalone_route', $controller, $action);
419
 
420
+ do_action('frm_ajax_'. $controller .'_'. $action);
421
+ die();
 
 
 
 
 
 
422
  }
 
 
 
 
423
  }
424
+
425
+ //formidable shortcode
426
+ public static function get_form_shortcode($atts){
427
+ _deprecated_function( __FUNCTION__, '1.07.05', 'FrmFormsController::get_form_shortcode()' );
428
+ return FrmFormsController::get_form_shortcode($atts);
429
  }
430
 
 
431
  public static function widget_text_filter_callback( $matches ) {
432
  return do_shortcode( $matches[0] );
433
  }
434
 
435
  public static function update_message($features){
436
+ include(FrmAppHelper::plugin_path() .'/classes/views/shared/update_message.php');
437
  }
438
 
439
  public static function get_postbox_class(){
442
  else
443
  return 'inner-sidebar';
444
  }
445
+
446
+ public static function pro_is_installed(){
447
+ return file_exists(FrmAppHelper::plugin_path() . '/pro/formidable-pro.php');
448
+ }
449
+
450
+ public static function pro_is_authorized(){
451
+ return get_site_option('frmpro-authorized');
452
+ }
453
+
454
+ public static function deauthorize(){
455
+ delete_option('frmpro-credentials');
456
+ delete_option('frmpro-authorized');
457
+ delete_site_option('frmpro-credentials');
458
+ delete_site_option('frmpro-authorized');
459
+ }
460
  }
classes/controllers/FrmEntriesController.php CHANGED
@@ -3,27 +3,32 @@
3
  * @package Formidable
4
  */
5
 
 
 
 
 
 
6
  class FrmEntriesController{
7
 
8
- function FrmEntriesController(){
9
- add_action('admin_menu', 'FrmEntriesController::menu', 20);
10
  add_action('wp', 'FrmEntriesController::process_entry', 10, 0);
11
  add_action('frm_wp', 'FrmEntriesController::process_entry', 10, 0);
12
- add_filter('frm_redirect_msg', 'FrmEntriesController::delete_entry_before_redirect', 50, 3);
13
- add_filter('frm_redirect_url', 'FrmEntriesController::delete_entry_before_wpredirect', 50, 3);
14
  add_action('frm_after_entry_processed', 'FrmEntriesController::delete_entry_after_save', 100);
15
  add_filter('frm_email_value', 'FrmEntriesController::filter_email_value', 10, 3);
16
  }
17
 
18
  public static function menu(){
19
- global $frmpro_is_installed;
20
- if(!$frmpro_is_installed){
21
  add_submenu_page('formidable', 'Formidable |'. __('Entries', 'formidable'), '<span style="opacity:.5;filter:alpha(opacity=50);">'. __('Entries', 'formidable') .'</span>', 'administrator', 'formidable-entries', 'FrmEntriesController::list_entries');
22
  }
23
  }
24
 
25
  public static function list_entries(){
26
- global $frm_form, $frm_entry;
 
27
  $form_select = $frm_form->getAll("is_template=0 AND (status is NULL OR status = '' OR status = 'published')", ' ORDER BY name');
28
  $form_id = FrmAppHelper::get_param('form', false);
29
  if($form_id)
@@ -34,95 +39,57 @@ class FrmEntriesController{
34
  if($form)
35
  $entry_count = $frm_entry->getRecordCount($form->id);
36
 
37
- include(FRM_VIEWS_PATH.'/frm-entries/list.php');
38
  }
39
 
40
  public static function show_form($id='', $key='', $title=false, $description=false){
41
- global $frm_form, $user_ID, $frm_settings, $post;
42
- if ($id) $form = $frm_form->getOne((int)$id);
43
- else if ($key) $form = $frm_form->getOne($key);
44
- else $form = false;
45
-
46
- $form = apply_filters('frm_pre_display_form', $form);
47
-
48
- if(!$form or
49
- (($form->is_template or $form->status == 'draft') and !isset($_GET) and !isset($_GET['form']) and
50
- (!isset($_GET['preview']) or $post and $post->ID != $frm_settings->preview_page_id))
51
- ){
52
- return __('Please select a valid form', 'formidable');
53
- }else if ($form->logged_in and !$user_ID){
54
- global $frm_settings;
55
- return do_shortcode($frm_settings->login_msg);
56
- }
57
-
58
- if($form->logged_in and $user_ID and isset($form->options['logged_in_role']) and $form->options['logged_in_role'] != ''){
59
- if(FrmAppHelper::user_has_permission($form->options['logged_in_role'])){
60
- return FrmEntriesController::get_form(FRM_VIEWS_PATH.'/frm-entries/frm-entry.php', $form, $title, $description);
61
- }else{
62
- global $frm_settings;
63
- return do_shortcode($frm_settings->login_msg);
64
- }
65
- }else
66
- return FrmEntriesController::get_form(FRM_VIEWS_PATH.'/frm-entries/frm-entry.php', $form, $title, $description);
67
  }
68
 
69
  public static function get_form($filename, $form, $title, $description) {
70
- if (is_file($filename)) {
71
- ob_start();
72
- include $filename;
73
- $contents = ob_get_contents();
74
- ob_end_clean();
75
- return $contents;
76
- }
77
- return false;
78
  }
79
 
80
- public static function process_entry($errors=''){
81
- if(is_admin() or !isset($_POST) or !isset($_POST['form_id']) or !is_numeric($_POST['form_id']) or !isset($_POST['item_key']))
82
  return;
83
 
84
- global $frm_entry, $frm_form, $frm_created_entry, $frm_form_params;
85
 
 
86
  $form = $frm_form->getOne($_POST['form_id']);
87
  if(!$form)
88
  return;
89
 
90
- if(!$frm_form_params)
91
- $frm_form_params = array();
92
  $params = FrmEntriesController::get_params($form);
93
- $frm_form_params[$form->id] = $params;
94
 
95
- if(!$frm_created_entry)
96
- $frm_created_entry = array();
97
-
98
- if(isset($frm_created_entry[$_POST['form_id']]))
 
99
  return;
100
-
101
  if($errors == '')
102
  $errors = $frm_entry->validate($_POST);
103
- $frm_created_entry[$_POST['form_id']] = array('errors' => $errors);
104
 
105
  if( empty($errors) ){
106
  $_POST['frm_skip_cookie'] = 1;
107
  if($params['action'] == 'create'){
108
- if (apply_filters('frm_continue_to_create', true, $_POST['form_id']) and !isset($frm_created_entry[$_POST['form_id']]['entry_id']))
109
- $frm_created_entry[$_POST['form_id']]['entry_id'] = $frm_entry->create( $_POST );
110
  }
111
 
112
- do_action('frm_process_entry', $params, $errors, $form);
113
  unset($_POST['frm_skip_cookie']);
114
  }
115
  }
116
 
117
- //Delete entry if it shouldn't be saved before redirect
118
- public static function delete_entry_before_redirect($redirect_msg, $atts){
119
- self::_delete_entry($atts['entry_id'], $atts['form']);
120
- return $redirect_msg;
121
- }
122
-
123
- public static function delete_entry_before_wpredirect($url, $form, $atts){
124
- if(!defined('DOING_AJAX'))
125
- self::_delete_entry($atts['id'], $form);
126
  return $url;
127
  }
128
 
@@ -142,9 +109,159 @@ class FrmEntriesController{
142
  }
143
  }
144
 
145
- public static function &filter_email_value($value, $meta, $entry, $atts=array()){
146
- global $frm_field;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  $field = $frm_field->getOne($meta->field_id);
149
  if(!$field)
150
  return $value;
@@ -195,13 +312,16 @@ class FrmEntriesController{
195
  }
196
 
197
  public static function get_params($form=null){
198
- global $frm_form, $frm_form_params;
199
-
 
200
  if(!$form)
201
  $form = $frm_form->getAll(array(), 'name', 1);
202
-
203
- if($frm_form_params and isset($frm_form_params[$form->id]))
204
- return $frm_form_params[$form->id];
 
 
205
 
206
  $action_var = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
207
  $action = apply_filters('frm_show_new_entry_page', FrmAppHelper::get_param($action_var, 'new'), $form);
3
  * @package Formidable
4
  */
5
 
6
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
7
+
8
+ if(class_exists('FrmEntriesController'))
9
+ return;
10
+
11
  class FrmEntriesController{
12
 
13
+ public static function load_hooks(){
14
+ add_action('admin_menu', 'FrmEntriesController::menu', 11);
15
  add_action('wp', 'FrmEntriesController::process_entry', 10, 0);
16
  add_action('frm_wp', 'FrmEntriesController::process_entry', 10, 0);
17
+ add_filter('frm_redirect_url', 'FrmEntriesController::delete_entry_before_redirect', 50, 3);
 
18
  add_action('frm_after_entry_processed', 'FrmEntriesController::delete_entry_after_save', 100);
19
  add_filter('frm_email_value', 'FrmEntriesController::filter_email_value', 10, 3);
20
  }
21
 
22
  public static function menu(){
23
+ global $frm_vars;
24
+ if(!$frm_vars['pro_is_installed']){
25
  add_submenu_page('formidable', 'Formidable |'. __('Entries', 'formidable'), '<span style="opacity:.5;filter:alpha(opacity=50);">'. __('Entries', 'formidable') .'</span>', 'administrator', 'formidable-entries', 'FrmEntriesController::list_entries');
26
  }
27
  }
28
 
29
  public static function list_entries(){
30
+ global $frm_entry;
31
+ $frm_form = new FrmForm();
32
  $form_select = $frm_form->getAll("is_template=0 AND (status is NULL OR status = '' OR status = 'published')", ' ORDER BY name');
33
  $form_id = FrmAppHelper::get_param('form', false);
34
  if($form_id)
39
  if($form)
40
  $entry_count = $frm_entry->getRecordCount($form->id);
41
 
42
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/list.php');
43
  }
44
 
45
  public static function show_form($id='', $key='', $title=false, $description=false){
46
+ _deprecated_function( __FUNCTION__, '1.07.05', 'FrmFormsController::show_form()' );
47
+ FrmFormsController::show_form($id, $key, $title, $description);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
  public static function get_form($filename, $form, $title, $description) {
51
+ _deprecated_function( __FUNCTION__, '1.07.05', 'FrmFormsController::get_form()' );
52
+ FrmFormsController::get_form($form, $title, $description);
 
 
 
 
 
 
53
  }
54
 
55
+ public static function process_entry($errors='', $ajax=false){
56
+ if((is_admin() and !defined('DOING_AJAX')) or !isset($_POST) or !isset($_POST['form_id']) or !is_numeric($_POST['form_id']) or !isset($_POST['item_key']))
57
  return;
58
 
59
+ global $frm_entry, $frm_vars;
60
 
61
+ $frm_form = new FrmForm();
62
  $form = $frm_form->getOne($_POST['form_id']);
63
  if(!$form)
64
  return;
65
 
 
 
66
  $params = FrmEntriesController::get_params($form);
 
67
 
68
+ if(!isset($frm_vars['form_params']))
69
+ $frm_vars['form_params'] = array();
70
+ $frm_vars['form_params'][$form->id] = $params;
71
+
72
+ if(isset($frm_vars['created_entries'][$_POST['form_id']]))
73
  return;
74
+
75
  if($errors == '')
76
  $errors = $frm_entry->validate($_POST);
77
+ $frm_vars['created_entries'][$_POST['form_id']] = array('errors' => $errors);
78
 
79
  if( empty($errors) ){
80
  $_POST['frm_skip_cookie'] = 1;
81
  if($params['action'] == 'create'){
82
+ if (apply_filters('frm_continue_to_create', true, $_POST['form_id']) and !isset($frm_vars['created_entries'][$_POST['form_id']]['entry_id']))
83
+ $frm_vars['created_entries'][$_POST['form_id']]['entry_id'] = $frm_entry->create( $_POST );
84
  }
85
 
86
+ do_action('frm_process_entry', $params, $errors, $form, array('ajax' => $ajax));
87
  unset($_POST['frm_skip_cookie']);
88
  }
89
  }
90
 
91
+ public static function delete_entry_before_redirect($url, $form, $atts){
92
+ self::_delete_entry($atts['id'], $form);
 
 
 
 
 
 
 
93
  return $url;
94
  }
95
 
109
  }
110
  }
111
 
112
+ public static function show_entry_shortcode($atts){
113
+ extract(shortcode_atts(array(
114
+ 'id' => false, 'entry' => false, 'fields' => false, 'plain_text' => false,
115
+ 'user_info' => false, 'include_blank' => false, 'default_email' => false,
116
+ 'form_id' => false, 'format' => 'text',
117
+ ), $atts));
118
+
119
+ if ( $format != 'text' ) {
120
+ //format options are text, array, or json
121
+ $plain_text = true;
122
+ }
123
+
124
+ global $frm_entry;
125
+
126
+ if ( !$entry || !is_object($entry) ) {
127
+ if ( !$id && !$default_email ) {
128
+ return '';
129
+ }
130
+
131
+ if($id)
132
+ $entry = $frm_entry->getOne($id, true);
133
+ }
134
+
135
+ if ( $entry ) {
136
+ $form_id = $entry->form_id;
137
+ $id = $entry->id;
138
+ }
139
 
140
+ if ( !$fields || !is_array($fields) ) {
141
+ global $frm_field;
142
+ $fields = $frm_field->getAll(array('fi.form_id' => $form_id), 'field_order');
143
+ }
144
+
145
+ $content = ( $format != 'text' ) ? array() : '';
146
+ $odd = true;
147
+
148
+ if ( !$plain_text ) {
149
+ global $frmpro_settings;
150
+ if ( !$frmpro_settings ) {
151
+ $frmpro_settings = array(
152
+ 'field_border_width' => '1px',
153
+ 'border_color' => 'dddddd',
154
+ 'bg_color' => 'f7f7f7',
155
+ 'bg_color_active' => 'ffffff',
156
+ 'text_color' => '444444',
157
+ );
158
+ $frmpro_settings = (object) $frmpro_settings;
159
+ }
160
+ $content .= "<table cellspacing='0' style='font-size:{$frmpro_settings->font_size};line-height:135%; border-bottom:{$frmpro_settings->field_border_width} solid #{$frmpro_settings->border_color};'><tbody>\r\n";
161
+ $bg_color = " style='background-color:#{$frmpro_settings->bg_color};'";
162
+ $bg_color_alt = " style='background-color:#{$frmpro_settings->bg_color_active};'";
163
+ $row_style = "style='text-align:left;color:#{$frmpro_settings->text_color};padding:7px 9px;border-top:{$frmpro_settings->field_border_width} solid #{$frmpro_settings->border_color}'";
164
+ }
165
+
166
+ foreach ( $fields as $f ) {
167
+ if ( in_array($f->type, array('divider', 'captcha', 'break', 'html')) )
168
+ continue;
169
+
170
+ if ( !isset($entry->metas[$f->id]) ) {
171
+ if ( $entry->post_id && ( $f->type == 'tag' || (isset($f->field_options['post_field']) && $f->field_options['post_field'])) ) {
172
+ $p_val = FrmProEntryMetaHelper::get_post_value($entry->post_id, $f->field_options['post_field'], $f->field_options['custom_field'], array(
173
+ 'truncate' => (($f->field_options['post_field'] == 'post_category') ? true : false),
174
+ 'form_id' => $entry->form_id, 'field' => $f, 'type' => $f->type,
175
+ 'exclude_cat' => (isset($f->field_options['exclude_cat']) ? $f->field_options['exclude_cat'] : 0)
176
+ ));
177
+ if ( $p_val != '' ) {
178
+ $entry->metas[$f->id] = $p_val;
179
+ }
180
+ }
181
+
182
+ if ( !isset($entry->metas[$f->id]) && !$include_blank && !$default_email ) {
183
+ continue;
184
+ }
185
+
186
+ $entry->metas[$f->id] = $default_email ? '['. $f->id .']' : '';
187
+ }
188
+
189
+ $prev_val = maybe_unserialize($entry->metas[$f->id]);
190
+ $meta = array('item_id' => $id, 'field_id' => $f->id, 'meta_value' => $prev_val, 'field_type' => $f->type);
191
+
192
+ if ( $default_email ) {
193
+ $val = $prev_val;
194
+ } else {
195
+ $val = apply_filters('frm_email_value', $prev_val, (object)$meta, $entry);
196
+ }
197
+
198
+ if ( $f->type == 'textarea' and !$plain_text ) {
199
+ $val = str_replace(array("\r\n", "\r", "\n"), ' <br/>', $val);
200
+ }
201
+
202
+ if ( is_array($val) && $format == 'text' ) {
203
+ $val = implode(', ', $val);
204
+ }
205
+
206
+ $fname = $default_email ? '['. $f->id .' show=field_label]' : $f->name;
207
+
208
+ if ( $format != 'text' ){
209
+ $content[$f->field_key] = $val;
210
+ } else if ( $plain_text ) {
211
+ $content .= $fname . ': ' . $val . "\r\n\r\n";
212
+ } else {
213
+ if (!$default_email){
214
+ $content .= "<tr".(($odd) ? $bg_color : $bg_color_alt)."><th $row_style>" . $fname ."</th><td $row_style>$val</td></tr>\r\n";
215
+ $odd = ($odd) ? false : true;
216
+ }else{
217
+ $content .= "[if $f->id]<tr style=\"[frm-alt-color]\"><th $row_style>" . $fname ."</th><td $row_style>$val</td></tr>\r\n[/if $f->id]";
218
+ }
219
+
220
+ }
221
+
222
+ unset($fname);
223
+ unset($f);
224
+ }
225
+
226
+ if ( $user_info ) {
227
+ if ( isset($entry->description) ) {
228
+ $data = maybe_unserialize($entry->description);
229
+ } else if ( $default_email ) {
230
+ $entry->ip = '[ip]';
231
+ $data = array(
232
+ 'browser' => '[browser]',
233
+ 'referrer' => '[referrer]',
234
+ );
235
+ }
236
+ if ( $format != 'text' ) {
237
+ $content['ip'] = $entry->ip;
238
+ $content['browser'] = $data['browser'];
239
+ $content['referrer'] = $data['referrer'];
240
+ } else if ( $plain_text ) {
241
+ $content .= "\r\n\r\n" . __('User Information', 'formidable') ."\r\n";
242
+ $content .= __('IP Address', 'formidable') . ": ". $entry->ip ."\r\n";
243
+ $content .= __('User-Agent (Browser/OS)', 'formidable') . ": ". $data['browser']."\r\n";
244
+ $content .= __('Referrer', 'formidable') . ": ". $data['referrer']."\r\n";
245
+ } else {
246
+ $content .= "<tr".(($odd) ? $bg_color : $bg_color_alt)."><th $row_style>". __('IP Address', 'formidable') . "</th><td $row_style>". $entry->ip ."</td></tr>\r\n";
247
+ $odd = ($odd) ? false : true;
248
+ $content .= "<tr".(($odd) ? $bg_color : $bg_color_alt)."><th $row_style>".__('User-Agent (Browser/OS)', 'formidable') . "</th><td $row_style>". $data['browser']."</td></tr>\r\n";
249
+ $odd = ($odd) ? false : true;
250
+ $content .= "<tr".(($odd) ? $bg_color : $bg_color_alt)."><th $row_style>".__('Referrer', 'formidable') . "</th><td $row_style>". str_replace("\r\n", '<br/>', $data['referrer']) ."</td></tr>\r\n";
251
+ }
252
+ }
253
+
254
+ if(!$plain_text)
255
+ $content .= "</tbody></table>";
256
+
257
+ if ( $format == 'json' )
258
+ $content = json_encode($content);
259
+
260
+ return $content;
261
+ }
262
+
263
+ public static function &filter_email_value($value, $meta, $entry, $atts=array()){
264
+ $frm_field = new FrmField();
265
  $field = $frm_field->getOne($meta->field_id);
266
  if(!$field)
267
  return $value;
312
  }
313
 
314
  public static function get_params($form=null){
315
+ global $frm_vars;
316
+
317
+ $frm_form = new FrmForm();
318
  if(!$form)
319
  $form = $frm_form->getAll(array(), 'name', 1);
320
+ else if(!is_object($form))
321
+ $form = $frm_form->getOne($form);
322
+
323
+ if(isset($frm_vars['form_params']) && is_array($frm_vars['form_params']) && isset($frm_vars['form_params'][$form->id]))
324
+ return $frm_vars['form_params'][$form->id];
325
 
326
  $action_var = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
327
  $action = apply_filters('frm_show_new_entry_page', FrmAppHelper::get_param($action_var, 'new'), $form);
classes/controllers/FrmFieldsController.php CHANGED
@@ -2,14 +2,18 @@
2
  /**
3
  * @package Formidable
4
  */
 
 
 
 
 
5
 
6
  class FrmFieldsController{
7
- function FrmFieldsController(){
8
  add_action('wp_ajax_frm_load_field', 'FrmFieldsController::load_field');
9
  add_action('wp_ajax_frm_insert_field', 'FrmFieldsController::create');
10
  add_action('wp_ajax_frm_field_name_in_place_edit', 'FrmFieldsController::edit_name');
11
  add_action('wp_ajax_frm_field_desc_in_place_edit', 'FrmFieldsController::edit_description');
12
- add_action('wp_ajax_frm_mark_required', 'FrmFieldsController::mark_required');
13
  add_action('wp_ajax_frm_update_ajax_option', 'FrmFieldsController::update_ajax_option');
14
  add_action('wp_ajax_frm_duplicate_field', 'FrmFieldsController::duplicate');
15
  add_action('wp_ajax_frm_delete_field', 'FrmFieldsController::destroy');
@@ -27,8 +31,6 @@ class FrmFieldsController{
27
  }
28
 
29
  public static function load_field(){
30
- global $frm_field, $frm_form;
31
-
32
  $id = $field_id = $_POST['field_id'];
33
  if(!$field_id or !is_numeric($field_id))
34
  die();
@@ -40,43 +42,43 @@ class FrmFieldsController{
40
  $field['value'] = '';
41
 
42
  $field_name = "item_meta[$field_id]";
43
-
44
  $values = array();
45
-
46
- include(FRM_VIEWS_PATH .'/frm-forms/add_field.php');
47
- include(FRM_VIEWS_PATH .'/frm-forms/new-field-js.php');
 
 
48
 
49
  die();
50
  }
51
 
52
  public static function create(){
53
- global $frm_field;
54
  $field_data = $_POST['field'];
55
  $form_id = $_POST['form_id'];
56
  $values = array();
57
  if(class_exists('FrmProForm'))
58
- $values['post_type'] = FrmProForm::post_type($form_id);
59
 
60
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars($field_data, $form_id));
61
 
 
62
  $field_id = $frm_field->create( $field_values );
63
 
64
  if ($field_id){
65
  $field = FrmFieldsHelper::setup_edit_vars($frm_field->getOne($field_id));
66
  $field_name = "item_meta[$field_id]";
67
  $id = $form_id;
68
- require(FRM_VIEWS_PATH.'/frm-forms/add_field.php');
69
- require(FRM_VIEWS_PATH.'/frm-forms/new-field-js.php');
70
  }
71
  die();
72
  }
73
 
74
  public static function edit_name(){
75
- global $frm_field;
76
  $id = str_replace('field_label_', '', $_POST['element_id']);
77
  $values = array('name' => trim($_POST['update_value']));
78
- if ($_POST['original_html'] == 'Untitled')
79
- $values['field_key'] = $_POST['update_value'];
80
  $form = $frm_field->update($id, $values);
81
  echo stripslashes($_POST['update_value']);
82
  die();
@@ -84,23 +86,16 @@ class FrmFieldsController{
84
 
85
 
86
  public static function edit_description(){
87
- global $frm_field;
88
  $id = str_replace('field_description_', '', $_POST['element_id']);
89
  $frm_field->update($id, array('description' => $_POST['update_value']));
90
  echo stripslashes($_POST['update_value']);
91
  die();
92
- }
93
-
94
- public static function mark_required(){
95
- global $frm_field;
96
- $frm_field->update($_POST['field'], array('required' => $_POST['required']));
97
- die();
98
  }
99
 
100
  public static function update_ajax_option(){
101
- global $frm_field;
102
  $field = $frm_field->getOne($_POST['field']);
103
- $field->field_options = maybe_unserialize($field->field_options);
104
  foreach(array('clear_on_focus', 'separate_value', 'default_blank') as $val){
105
  if(isset($_POST[$val])){
106
  $new_val = $_POST[$val];
@@ -118,19 +113,20 @@ class FrmFieldsController{
118
  }
119
 
120
  public static function duplicate(){
121
- global $frmdb, $frm_field;
122
 
 
123
  $copy_field = $frm_field->getOne($_POST['field_id']);
124
  if (!$copy_field) return;
125
 
126
  $values = array();
127
- $values['field_key'] = FrmAppHelper::get_unique_key('', $frmdb->fields, 'field_key');
128
  $values['options'] = maybe_serialize($copy_field->options);
129
  $values['default_value'] = maybe_serialize($copy_field->default_value);
130
  $values['form_id'] = $copy_field->form_id;
131
  foreach (array('name', 'description', 'type', 'field_options', 'required') as $col)
132
  $values[$col] = $copy_field->{$col};
133
- $field_count = FrmAppHelper::getRecordCount("form_id='$copy_field->form_id'", $frmdb->fields);
134
  $values['field_order'] = $field_count + 1;
135
 
136
  $field_id = $frm_field->create($values);
@@ -141,21 +137,21 @@ class FrmFieldsController{
141
  $id = $field['form_id'];
142
  if($field['type'] == 'html')
143
  $field['stop_filter'] = true;
144
- require(FRM_VIEWS_PATH.'/frm-forms/add_field.php');
145
- require(FRM_VIEWS_PATH.'/frm-forms/new-field-js.php');
146
  }
147
  die();
148
  }
149
 
150
  public static function destroy(){
151
- global $frm_field;
152
  $field_id = $frm_field->destroy($_POST['field_id']);
153
  die();
154
  }
155
 
156
  /* Field Options */
157
  public static function add_option(){
158
- global $frm_field;
159
 
160
  $id = $_POST['field_id'];
161
  $field = $frm_field->getOne($id);
@@ -186,12 +182,11 @@ class FrmFieldsController{
186
  $field['separate_value'] = isset($field_data->field_options['separate_value']) ? $field_data->field_options['separate_value'] : 0;
187
  $field_name = "item_meta[$id]";
188
 
189
- require(FRM_VIEWS_PATH.'/frm-fields/single-option.php');
190
  die();
191
  }
192
 
193
  public static function edit_option(){
194
- global $frm_field;
195
  $ids = explode('-', $_POST['element_id']);
196
  $id = str_replace('field_', '', $ids[0]);
197
  if(strpos($_POST['element_id'], 'key_')){
@@ -200,6 +195,8 @@ class FrmFieldsController{
200
  }else{
201
  $new_label = $_POST['update_value'];
202
  }
 
 
203
  $field = $frm_field->getOne($id);
204
  $options = maybe_unserialize($field->options);
205
  $this_opt = (array)$options[$ids[1]];
@@ -220,12 +217,12 @@ class FrmFieldsController{
220
  $options[$ids[1]] = $_POST['update_value'];
221
 
222
  $frm_field->update($id, array('options' => maybe_serialize($options)));
223
- echo stripslashes($_POST['update_value']);
224
  die();
225
  }
226
 
227
  public static function delete_option(){
228
- global $frm_field;
229
  $field = $frm_field->getOne($_POST['field_id']);
230
  $options = maybe_unserialize($field->options);
231
  unset($options[$_POST['opt_key']]);
@@ -239,24 +236,26 @@ class FrmFieldsController{
239
 
240
  $field_id = $_REQUEST['field_id'];
241
 
242
- global $current_screen, $hook_suffix, $frm_field;
243
 
244
  // Catch plugins that include admin-header.php before admin.php completes.
245
- if (empty( $current_screen ) and function_exists('set_current_screen')){
246
  $hook_suffix = '';
247
  set_current_screen();
248
  }
249
 
250
- if(function_exists('register_admin_color_schemes'))
251
  register_admin_color_schemes();
 
252
 
253
  $hook_suffix = $admin_body_class = '';
254
 
255
  if ( get_user_setting('mfold') == 'f' )
256
  $admin_body_class .= ' folded';
257
 
258
- if ( function_exists('is_admin_bar_showing') and is_admin_bar_showing() )
259
  $admin_body_class .= ' admin-bar';
 
260
 
261
  if ( is_rtl() )
262
  $admin_body_class .= ' rtl';
@@ -266,8 +265,14 @@ class FrmFieldsController{
266
  $prepop[__('Countries', 'formidable')] = FrmAppHelper::get_countries();
267
 
268
  $states = FrmAppHelper::get_us_states();
269
- $prepop[__('U.S. States', 'formidable')] = array_values($states);
270
- $prepop[__('U.S. State Abbreviations', 'formidable')] = array_keys($states);
 
 
 
 
 
 
271
 
272
  $prepop[__('Age', 'formidable')] = array(
273
  __('Under 18', 'formidable'), __('18-24', 'formidable'), __('25-34', 'formidable'),
@@ -290,9 +295,10 @@ class FrmFieldsController{
290
  __('Disagree', 'formidable'), __('Strongly Disagree', 'formidable'), __('N/A', 'formidable')
291
  );
292
 
 
293
  $field = $frm_field->getOne($field_id);
294
 
295
- include(FRM_VIEWS_PATH.'/frm-fields/import_choices.php');
296
  die();
297
  }
298
 
@@ -300,17 +306,15 @@ class FrmFieldsController{
300
  if(!is_admin() or !current_user_can('frm_edit_forms'))
301
  return;
302
 
303
- global $frm_field;
304
-
305
- extract($_POST);
306
 
 
307
  $field = $frm_field->getOne($field_id);
308
 
309
  if(!in_array($field->type, array('radio', 'checkbox', 'select')))
310
  return;
311
 
312
  $field = FrmFieldsHelper::setup_edit_vars($field);
313
- $opts = stripslashes($opts);
314
  $opts = explode("\n", rtrim($opts, "\n"));
315
  if($field['separate_value']){
316
  foreach($opts as $opt_key => $opt){
@@ -327,27 +331,27 @@ class FrmFieldsController{
327
 
328
  $frm_field->update($field_id, array('options' => maybe_serialize($opts)));
329
 
330
- $field['options'] = stripslashes_deep($opts);
331
  $field_name = $field['name'];
332
 
333
  if ($field['type'] == 'radio' or $field['type'] == 'checkbox'){
334
- require(FRM_VIEWS_PATH.'/frm-fields/radio.php');
335
  }else{
336
  foreach ($field['options'] as $opt_key => $opt){
337
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
338
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
339
- require(FRM_VIEWS_PATH.'/frm-fields/single-option.php');
340
  }
341
  }
342
 
343
- require(FRM_VIEWS_PATH.'/frm-forms/new-field-js.php');
344
 
345
  die();
346
  }
347
 
348
  public static function update_order(){
349
  if(isset($_POST) and isset($_POST['frm_field_id'])){
350
- global $frm_field;
351
 
352
  foreach ($_POST['frm_field_id'] as $position => $item)
353
  $frm_field->update($item, array('field_order' => $position));
@@ -356,9 +360,9 @@ class FrmFieldsController{
356
  }
357
 
358
  public static function change_type($type){
359
- global $frmpro_is_installed;
360
 
361
- if ($frmpro_is_installed) return $type;
362
 
363
  if($type == 'scale' || $type == '10radio')
364
  $type = 'radio';
@@ -401,7 +405,7 @@ class FrmFieldsController{
401
 
402
  $class = ''; //$field['type'];
403
 
404
- if(is_admin() and !in_array($field['type'], array('scale', 'radio', 'checkbox', 'data')))
405
  $class .= 'dyn_default_value';
406
 
407
  $add_html = '';
@@ -415,29 +419,33 @@ class FrmFieldsController{
415
  if(isset($field['max']) and !in_array($field['type'], array('textarea', 'rte', 'hidden')) and !empty($field['max']))
416
  $add_html .= ' maxlength="'. $field['max'] .'"';
417
 
418
- if(!is_admin() or !isset($_GET) or !isset($_GET['page']) or $_GET['page'] == 'formidable_entries'){
419
- $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
420
- $action = FrmAppHelper::get_param($action);
421
-
422
- if(isset($field['required']) and $field['required']){
423
  //if($field['type'] != 'checkbox')
424
  // $add_html .= ' required="required"';
425
 
426
  if($field['type'] == 'file' and $action == 'edit'){
427
  //don't add the required class if this is a file upload when editing
428
- }else
429
  $class .= " required";
430
- }
431
-
432
- //if($frm_settings->use_html and isset($field['default_value']) and !empty($field['default_value']) and isset($field['clear_on_focus']) and $field['clear_on_focus'] and !in_array($field['type'], array('select', 'radio', 'checkbox', 'hidden')))
433
- // $add_html .= ' placeholder="'.$field['default_value'].'"';
434
-
435
  if(isset($field['clear_on_focus']) and $field['clear_on_focus'] and !empty($field['default_value'])){
436
- $val = str_replace(array("\r\n", "\n"), '\r', addslashes(str_replace('&#039;', "'", esc_attr($field['default_value']))));
437
- $add_html .= ' onfocus="frmClearDefault('."'". $val ."'". ',this)" onblur="frmReplaceDefault('."'". $val ."'". ',this)"';
438
 
439
- if($field['value'] == $field['default_value'])
440
- $class .= ' frm_default';
 
 
 
 
 
 
 
441
  }
442
  }
443
 
@@ -445,12 +453,13 @@ class FrmFieldsController{
445
  $class .= ' '. $field['input_class'];
446
 
447
  $class = apply_filters('frm_field_classes', $class, $field);
 
448
  if(!empty($class))
449
  $add_html .= ' class="'. trim($class) .'"';
450
 
451
  if(isset($field['shortcodes']) and !empty($field['shortcodes'])){
452
  foreach($field['shortcodes'] as $k => $v){
453
- if($k == 'opt') continue;
454
  $add_html .= ' '. $k .'="'. $v .'"';
455
  unset($k);
456
  unset($v);
2
  /**
3
  * @package Formidable
4
  */
5
+
6
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
7
+
8
+ if(class_exists('FrmFieldsController'))
9
+ return;
10
 
11
  class FrmFieldsController{
12
+ public static function load_hooks(){
13
  add_action('wp_ajax_frm_load_field', 'FrmFieldsController::load_field');
14
  add_action('wp_ajax_frm_insert_field', 'FrmFieldsController::create');
15
  add_action('wp_ajax_frm_field_name_in_place_edit', 'FrmFieldsController::edit_name');
16
  add_action('wp_ajax_frm_field_desc_in_place_edit', 'FrmFieldsController::edit_description');
 
17
  add_action('wp_ajax_frm_update_ajax_option', 'FrmFieldsController::update_ajax_option');
18
  add_action('wp_ajax_frm_duplicate_field', 'FrmFieldsController::duplicate');
19
  add_action('wp_ajax_frm_delete_field', 'FrmFieldsController::destroy');
31
  }
32
 
33
  public static function load_field(){
 
 
34
  $id = $field_id = $_POST['field_id'];
35
  if(!$field_id or !is_numeric($field_id))
36
  die();
42
  $field['value'] = '';
43
 
44
  $field_name = "item_meta[$field_id]";
45
+ $ajax = true;
46
  $values = array();
47
+
48
+ $path = FrmAppHelper::plugin_path();
49
+ include($path .'/classes/views/frm-forms/add_field.php');
50
+ include($path .'/classes/views/frm-forms/new-field-js.php');
51
+ unset($path);
52
 
53
  die();
54
  }
55
 
56
  public static function create(){
 
57
  $field_data = $_POST['field'];
58
  $form_id = $_POST['form_id'];
59
  $values = array();
60
  if(class_exists('FrmProForm'))
61
+ $values['post_type'] = FrmProFormsHelper::post_type($form_id);
62
 
63
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars($field_data, $form_id));
64
 
65
+ $frm_field = new FrmField();
66
  $field_id = $frm_field->create( $field_values );
67
 
68
  if ($field_id){
69
  $field = FrmFieldsHelper::setup_edit_vars($frm_field->getOne($field_id));
70
  $field_name = "item_meta[$field_id]";
71
  $id = $form_id;
72
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field.php');
73
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new-field-js.php');
74
  }
75
  die();
76
  }
77
 
78
  public static function edit_name(){
 
79
  $id = str_replace('field_label_', '', $_POST['element_id']);
80
  $values = array('name' => trim($_POST['update_value']));
81
+ $frm_field = new FrmField();
 
82
  $form = $frm_field->update($id, $values);
83
  echo stripslashes($_POST['update_value']);
84
  die();
86
 
87
 
88
  public static function edit_description(){
89
+ $frm_field = new FrmField();
90
  $id = str_replace('field_description_', '', $_POST['element_id']);
91
  $frm_field->update($id, array('description' => $_POST['update_value']));
92
  echo stripslashes($_POST['update_value']);
93
  die();
 
 
 
 
 
 
94
  }
95
 
96
  public static function update_ajax_option(){
97
+ $frm_field = new FrmField();
98
  $field = $frm_field->getOne($_POST['field']);
 
99
  foreach(array('clear_on_focus', 'separate_value', 'default_blank') as $val){
100
  if(isset($_POST[$val])){
101
  $new_val = $_POST[$val];
113
  }
114
 
115
  public static function duplicate(){
116
+ global $wpdb;
117
 
118
+ $frm_field = new FrmField();
119
  $copy_field = $frm_field->getOne($_POST['field_id']);
120
  if (!$copy_field) return;
121
 
122
  $values = array();
123
+ $values['field_key'] = FrmAppHelper::get_unique_key('', $wpdb->prefix . 'frm_fields', 'field_key');
124
  $values['options'] = maybe_serialize($copy_field->options);
125
  $values['default_value'] = maybe_serialize($copy_field->default_value);
126
  $values['form_id'] = $copy_field->form_id;
127
  foreach (array('name', 'description', 'type', 'field_options', 'required') as $col)
128
  $values[$col] = $copy_field->{$col};
129
+ $field_count = FrmAppHelper::getRecordCount(array('form_id' => $copy_field->form_id), $wpdb->prefix . 'frm_fields');
130
  $values['field_order'] = $field_count + 1;
131
 
132
  $field_id = $frm_field->create($values);
137
  $id = $field['form_id'];
138
  if($field['type'] == 'html')
139
  $field['stop_filter'] = true;
140
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field.php');
141
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new-field-js.php');
142
  }
143
  die();
144
  }
145
 
146
  public static function destroy(){
147
+ $frm_field = new FrmField();
148
  $field_id = $frm_field->destroy($_POST['field_id']);
149
  die();
150
  }
151
 
152
  /* Field Options */
153
  public static function add_option(){
154
+ $frm_field = new FrmField();
155
 
156
  $id = $_POST['field_id'];
157
  $field = $frm_field->getOne($id);
182
  $field['separate_value'] = isset($field_data->field_options['separate_value']) ? $field_data->field_options['separate_value'] : 0;
183
  $field_name = "item_meta[$id]";
184
 
185
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/single-option.php');
186
  die();
187
  }
188
 
189
  public static function edit_option(){
 
190
  $ids = explode('-', $_POST['element_id']);
191
  $id = str_replace('field_', '', $ids[0]);
192
  if(strpos($_POST['element_id'], 'key_')){
195
  }else{
196
  $new_label = $_POST['update_value'];
197
  }
198
+
199
+ $frm_field = new FrmField();
200
  $field = $frm_field->getOne($id);
201
  $options = maybe_unserialize($field->options);
202
  $this_opt = (array)$options[$ids[1]];
217
  $options[$ids[1]] = $_POST['update_value'];
218
 
219
  $frm_field->update($id, array('options' => maybe_serialize($options)));
220
+ echo (trim($_POST['update_value']) == '') ? __('(Blank)', 'formidable') : stripslashes($_POST['update_value']);
221
  die();
222
  }
223
 
224
  public static function delete_option(){
225
+ $frm_field = new FrmField();
226
  $field = $frm_field->getOne($_POST['field_id']);
227
  $options = maybe_unserialize($field->options);
228
  unset($options[$_POST['opt_key']]);
236
 
237
  $field_id = $_REQUEST['field_id'];
238
 
239
+ global $current_screen, $hook_suffix;
240
 
241
  // Catch plugins that include admin-header.php before admin.php completes.
242
+ if ( empty( $current_screen ) && function_exists('set_current_screen') ) {
243
  $hook_suffix = '';
244
  set_current_screen();
245
  }
246
 
247
+ if ( function_exists('register_admin_color_schemes') ) {
248
  register_admin_color_schemes();
249
+ }
250
 
251
  $hook_suffix = $admin_body_class = '';
252
 
253
  if ( get_user_setting('mfold') == 'f' )
254
  $admin_body_class .= ' folded';
255
 
256
+ if ( function_exists('is_admin_bar_showing') && is_admin_bar_showing() ) {
257
  $admin_body_class .= ' admin-bar';
258
+ }
259
 
260
  if ( is_rtl() )
261
  $admin_body_class .= ' rtl';
265
  $prepop[__('Countries', 'formidable')] = FrmAppHelper::get_countries();
266
 
267
  $states = FrmAppHelper::get_us_states();
268
+ $state_abv = array_keys($states);
269
+ sort($state_abv);
270
+ $prepop[__('U.S. State Abbreviations', 'formidable')] = $state_abv;
271
+ $states = array_values($states);
272
+ sort($states);
273
+ $prepop[__('U.S. States', 'formidable')] = $states;
274
+ unset($state_abv);
275
+ unset($states);
276
 
277
  $prepop[__('Age', 'formidable')] = array(
278
  __('Under 18', 'formidable'), __('18-24', 'formidable'), __('25-34', 'formidable'),
295
  __('Disagree', 'formidable'), __('Strongly Disagree', 'formidable'), __('N/A', 'formidable')
296
  );
297
 
298
+ $frm_field = new FrmField();
299
  $field = $frm_field->getOne($field_id);
300
 
301
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/import_choices.php');
302
  die();
303
  }
304
 
306
  if(!is_admin() or !current_user_can('frm_edit_forms'))
307
  return;
308
 
309
+ extract(stripslashes_deep($_POST));
 
 
310
 
311
+ $frm_field = new FrmField();
312
  $field = $frm_field->getOne($field_id);
313
 
314
  if(!in_array($field->type, array('radio', 'checkbox', 'select')))
315
  return;
316
 
317
  $field = FrmFieldsHelper::setup_edit_vars($field);
 
318
  $opts = explode("\n", rtrim($opts, "\n"));
319
  if($field['separate_value']){
320
  foreach($opts as $opt_key => $opt){
331
 
332
  $frm_field->update($field_id, array('options' => maybe_serialize($opts)));
333
 
334
+ $field['options'] = $opts;
335
  $field_name = $field['name'];
336
 
337
  if ($field['type'] == 'radio' or $field['type'] == 'checkbox'){
338
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/radio.php');
339
  }else{
340
  foreach ($field['options'] as $opt_key => $opt){
341
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
342
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
343
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/single-option.php');
344
  }
345
  }
346
 
347
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new-field-js.php');
348
 
349
  die();
350
  }
351
 
352
  public static function update_order(){
353
  if(isset($_POST) and isset($_POST['frm_field_id'])){
354
+ $frm_field = new FrmField();
355
 
356
  foreach ($_POST['frm_field_id'] as $position => $item)
357
  $frm_field->update($item, array('field_order' => $position));
360
  }
361
 
362
  public static function change_type($type){
363
+ global $frm_vars;
364
 
365
+ if ($frm_vars['pro_is_installed']) return $type;
366
 
367
  if($type == 'scale' || $type == '10radio')
368
  $type = 'radio';
405
 
406
  $class = ''; //$field['type'];
407
 
408
+ if(is_admin() and !defined('DOING_AJAX') and !in_array($field['type'], array('scale', 'radio', 'checkbox', 'data')))
409
  $class .= 'dyn_default_value';
410
 
411
  $add_html = '';
419
  if(isset($field['max']) and !in_array($field['type'], array('textarea', 'rte', 'hidden')) and !empty($field['max']))
420
  $add_html .= ' maxlength="'. $field['max'] .'"';
421
 
422
+ if(!is_admin() or defined('DOING_AJAX') or !isset($_GET) or !isset($_GET['page']) or $_GET['page'] == 'formidable-entries'){
423
+ /*if(isset($field['required']) and $field['required']){
424
+ $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
425
+ $action = FrmAppHelper::get_param($action);
426
+
427
  //if($field['type'] != 'checkbox')
428
  // $add_html .= ' required="required"';
429
 
430
  if($field['type'] == 'file' and $action == 'edit'){
431
  //don't add the required class if this is a file upload when editing
432
+ }else{
433
  $class .= " required";
434
+ }
435
+ unset($action);
436
+ }*/
437
+
 
438
  if(isset($field['clear_on_focus']) and $field['clear_on_focus'] and !empty($field['default_value'])){
 
 
439
 
440
+ if($frm_settings->use_html and !in_array($field['type'], array('select', 'radio', 'checkbox', 'hidden'))){
441
+ $add_html .= ' placeholder="'. esc_attr($field['default_value']) .'"';
442
+ FrmAppHelper::load_scripts('jquery-placeholder');
443
+ }else if(!$frm_settings->use_html){
444
+ $val = str_replace(array("\r\n", "\n"), '\r', addslashes(str_replace('&#039;', "'", esc_attr($field['default_value']))));
445
+ $add_html .= ' onfocus="frmClearDefault('."'". $val ."'". ',this)" onblur="frmReplaceDefault('."'". $val ."'". ',this)"';
446
+ if($field['value'] == $field['default_value'])
447
+ $class .= ' frm_default';
448
+ }
449
  }
450
  }
451
 
453
  $class .= ' '. $field['input_class'];
454
 
455
  $class = apply_filters('frm_field_classes', $class, $field);
456
+
457
  if(!empty($class))
458
  $add_html .= ' class="'. trim($class) .'"';
459
 
460
  if(isset($field['shortcodes']) and !empty($field['shortcodes'])){
461
  foreach($field['shortcodes'] as $k => $v){
462
+ if($k == 'opt' or strpos($add_html, " $k=")) continue;
463
  $add_html .= ' '. $k .'="'. $v .'"';
464
  unset($k);
465
  unset($v);
classes/controllers/FrmFormsController.php CHANGED
@@ -1,16 +1,23 @@
1
  <?php
2
  /**
3
  * @package Formidable
4
- */
 
 
 
 
 
5
 
6
  class FrmFormsController{
7
- function FrmFormsController(){
8
- add_action('admin_menu', 'FrmFormsController::menu');
9
- add_action('admin_menu', 'FrmFormsController::lower_menu', 90);
10
  add_action('admin_head-toplevel_page_formidable', 'FrmFormsController::head');
11
- add_action('wp_ajax_frm_form_name_in_place_edit', 'FrmFormsController::edit_name');
 
12
  add_action('wp_ajax_frm_form_desc_in_place_edit', 'FrmFormsController::edit_description');
13
  add_action('wp_ajax_frm_delete_form_wo_fields', 'FrmFormsController::destroy_wo_fields');
 
14
  add_action('wp_ajax_frm_save_form', 'FrmFormsController::route');
15
  add_filter('frm_submit_button', 'FrmFormsController::submit_button_label');
16
  add_filter('media_buttons_context', 'FrmFormsController::insert_form_button');
@@ -18,35 +25,49 @@ class FrmFormsController{
18
  add_action('admin_footer', 'FrmFormsController::insert_form_popup');
19
 
20
  add_filter('set-screen-option', 'FrmFormsController::save_per_page', 10, 3);
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
 
23
  public static function menu(){
24
  global $frm_settings;
25
  add_submenu_page('formidable', $frm_settings->menu .' | '. __('Forms', 'formidable'), __('Forms', 'formidable'), 'frm_view_forms', 'formidable', 'FrmFormsController::route');
26
- add_submenu_page('formidable', $frm_settings->menu .' | '. __('Templates', 'formidable'), __('Templates', 'formidable'), 'frm_view_forms', 'formidable-templates', 'FrmFormsController::template_list');
27
 
28
- add_action('admin_head-'. sanitize_title($frm_settings->menu) .'_page_formidable-new', 'FrmFormsController::head');
29
  add_action('admin_head-'. sanitize_title($frm_settings->menu) .'_page_formidable-templates', 'FrmFormsController::head');
30
 
31
- if(class_exists('WP_List_Table')){
32
- add_filter('manage_toplevel_page_formidable_columns', 'FrmFormsController::get_columns', 0 );
33
- add_filter('manage_'. sanitize_title($frm_settings->menu) .'_page_formidable-templates_columns', 'FrmFormsController::get_columns', 0 );
34
- add_filter('manage_toplevel_page_formidable_sortable_columns', 'FrmFormsController::get_sortable_columns');
35
- add_filter('manage_'. sanitize_title($frm_settings->menu) .'_page_formidable-templates_sortable_columns', 'FrmFormsController::get_sortable_columns');
36
- add_filter('get_user_option_managetoplevel_page_formidablecolumnshidden', 'FrmFormsController::hidden_columns');
37
- add_filter('get_user_option_manage'. sanitize_title($frm_settings->menu) .'_page_formidable-templatescolumnshidden', 'FrmFormsController::hidden_columns');
38
- }
39
  }
40
 
41
- public static function lower_menu(){
42
- add_submenu_page('formidable', 'Formidable | '. __('Add New Form', 'formidable'), '<span style="display:none;">'. __('Add New Form', 'formidable') .'</span>', 'frm_edit_forms', 'formidable-new', 'FrmFormsController::new_form');
 
43
  }
44
 
45
  public static function head(){
46
  global $frm_settings;
47
 
48
- $js_file = array(FRM_URL . '/js/jquery/jquery-ui-themepicker.js', FRM_URL.'/js/jquery/jquery.editinplace.packed.js');
49
- require(FRM_VIEWS_PATH . '/shared/head.php');
 
 
 
 
 
50
  }
51
 
52
  public static function list_form(){
@@ -62,14 +83,12 @@ class FrmFormsController{
62
  }
63
 
64
  public static function new_form($values=false){
65
- global $frm_form, $frmpro_is_installed;
66
 
67
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
68
- if($values){
69
- $action = $values[$action];
70
- }else{
71
- $action = FrmAppHelper::get_param($action);
72
- }
73
  if ($action == 'create'){
74
  return self::create($values);
75
  }else if ($action == 'new'){
@@ -77,20 +96,26 @@ class FrmFormsController{
77
  $values = FrmFormsHelper::setup_new_vars($values);
78
  $id = $frm_form->create( $values );
79
  $values['id'] = $id;
80
- require(FRM_VIEWS_PATH.'/frm-forms/new.php');
81
  }else{
82
  $all_templates = $frm_form->getAll(array('is_template' => 1), 'name');
83
- require(FRM_VIEWS_PATH.'/frm-forms/new-selection.php');
84
  }
85
  }
86
 
87
  public static function create($values=false){
88
- global $frm_entry, $frm_form, $frm_field, $frmpro_is_installed;
89
  if(!$values)
90
  $values = $_POST;
91
-
 
 
 
 
 
92
  $id = isset($values['id']) ? (int)$values['id'] : (int)FrmAppHelper::get_param('id');
93
 
 
94
  $errors = $frm_form->validate($values);
95
 
96
  if( count($errors) > 0 ){
@@ -99,10 +124,10 @@ class FrmFormsController{
99
  $record = $frm_form->getOne( $id );
100
  $fields = $frm_field->getAll(array('fi.form_id' => $id), 'field_order');
101
  $values = FrmAppHelper::setup_edit_vars($record, 'forms', $fields, true);
102
- require(FRM_VIEWS_PATH.'/frm-forms/new.php');
103
- }else{
104
  $record = $frm_form->update( $id, $values, true );
105
- die('<script type="text/javascript">window.location="'. admin_url('admin.php?page=formidable&frm_action=settings&id='. $id) .'"</script>');
106
  //$message = __('Form was Successfully Created', 'formidable');
107
  //return self::settings($record, $message);
108
  }
@@ -120,10 +145,11 @@ class FrmFormsController{
120
  }
121
 
122
  public static function update_settings(){
123
- global $frm_form;
124
-
125
  $id = FrmAppHelper::get_param('id');
 
 
126
  $errors = $frm_form->validate($_POST);
 
127
  if( count($errors) > 0 ){
128
  return self::get_settings_vars($id, $errors);
129
  }else{
@@ -133,50 +159,55 @@ class FrmFormsController{
133
  }
134
  }
135
 
136
- public static function translate($action){
137
- global $frmpro_is_installed, $frm_form;
138
- $id = FrmAppHelper::get_param('id', false);
139
- $form = $frm_form->getOne($id);
140
- $values = (array)$form;
141
- include(FRM_VIEWS_PATH . '/frm-forms/translate.php');
142
- }
143
-
144
- public static function edit_name(){
145
- global $frm_form;
146
- $values = array('name' => trim($_POST['update_value']));
147
  $form = $frm_form->update($_POST['form_id'], $values);
148
- echo stripslashes($_POST['update_value']);
 
149
  die();
150
  }
151
 
152
  public static function edit_description(){
153
- global $frm_form;
154
  $form = $frm_form->update($_POST['form_id'], array('description' => $_POST['update_value']));
155
  $description = stripslashes($_POST['update_value']);
156
  if(apply_filters('frm_use_wpautop', true))
157
- $description = wpautop($description);
158
  echo $description;
159
  die();
160
  }
161
 
162
  public static function update($values=false){
163
- global $frm_form;
164
 
165
  if(!$values)
166
  $values = $_POST;
 
167
  $errors = $frm_form->validate($values);
 
 
 
 
 
 
168
  $id = isset($values['id']) ? (int)$values['id'] : (int)FrmAppHelper::get_param('id');
 
169
  if( count($errors) > 0 ){
170
  return self::get_edit_vars($id, $errors);
171
  }else{
172
  $record = $frm_form->update( $id, $values );
173
  $message = __('Form was Successfully Updated', 'formidable');
 
 
 
174
  return self::get_edit_vars($id, '', $message);
175
  }
176
  }
177
 
178
  public static function duplicate(){
179
- global $frm_form;
180
 
181
  $params = self::get_params();
182
  $record = $frm_form->duplicate( $params['id'], $params['template'], true );
@@ -187,19 +218,29 @@ class FrmFormsController{
187
  return self::display_forms_list($params, __('There was a problem creating new template.', 'formidable'));
188
  }
189
 
 
 
 
 
 
 
190
  public static function page_preview(){
191
- global $frm_form;
192
  $params = self::get_params();
193
  if (!$params['form']) return;
 
 
194
  $form = $frm_form->getOne($params['form']);
195
  if(!$form) return;
196
- return FrmEntriesController::show_form($form->id, '', true, true);
197
  }
198
 
199
  public static function preview(){
200
  do_action('frm_wp');
201
 
202
- global $frm_form, $frm_settings, $frmpro_is_installed;
 
 
 
203
  if ( !defined( 'ABSPATH' ) && !defined( 'XMLRPC_REQUEST' )) {
204
  global $wp;
205
  $root = dirname(dirname(dirname(dirname(__FILE__))));
@@ -208,18 +249,19 @@ class FrmFormsController{
208
  $wp->register_globals();
209
  }
210
 
211
- if($frmpro_is_installed)
212
  FrmProEntriesController::register_scripts();
213
 
214
- header("Content-Type: text/html; charset=utf-8");
215
 
216
  $plugin = FrmAppHelper::get_param('plugin');
217
  $controller = FrmAppHelper::get_param('controller');
218
  $key = (isset($_GET['form']) ? $_GET['form'] : (isset($_POST['form']) ? $_POST['form'] : ''));
219
  $form = $frm_form->getAll(array('form_key' => $key), '', 1);
220
- if (!$form) $form = $frm_form->getAll(array(), '', 1);
221
 
222
- require(FRM_VIEWS_PATH.'/frm-entries/direct.php');
 
223
  }
224
 
225
  public static function destroy(){
@@ -228,7 +270,7 @@ class FrmFormsController{
228
  wp_die($frm_settings->admin_permission);
229
  }
230
 
231
- global $frm_form;
232
  $params = self::get_params();
233
  $message = '';
234
  if ($frm_form->destroy( $params['id'] ))
@@ -237,10 +279,12 @@ class FrmFormsController{
237
  }
238
 
239
  public static function destroy_wo_fields(){
240
- global $frm_field, $frm_form, $frmdb;
241
  $id = $_POST['form_id'];
242
- if ($frmdb->get_count($frmdb->fields, array('form_id' => $id)) <= 0)
 
243
  $frm_form->destroy($id);
 
244
  die();
245
  }
246
 
@@ -254,14 +298,14 @@ class FrmFormsController{
254
 
255
  public static function insert_form_button($content){
256
  if(current_user_can('frm_view_forms'))
257
- $content .= '<a href="#TB_inline?width=450&height=550&inlineId=frm_insert_form" class="thickbox" title="' . __("Add Formidable Form", 'formidable') . '"><img src="'.FRM_IMAGES_URL.'/form_16.png" alt="' . __("Add Formidable Form", 'formidable') . '" /></a>';
258
  return $content;
259
  }
260
 
261
  public static function show_form_button($id){
262
  if($id != 'content')
263
  return;
264
- echo '<a href="#TB_inline?width=450&height=550&inlineId=frm_insert_form" class="thickbox" title="' . __("Add Formidable Form", 'formidable') . '"><img src="'. esc_url(FRM_IMAGES_URL.'/form_16.png'). '" alt="' . __("Add Formidable Form", 'formidable') . '" /></a>';
265
  }
266
 
267
  public static function insert_form_popup(){
@@ -271,135 +315,59 @@ class FrmFormsController{
271
  global $frmpro_display;
272
  $displays = $frmpro_display->getAll('', 'post_title');
273
  }
274
- require(FRM_VIEWS_PATH.'/frm-forms/insert_form_popup.php');
275
  }
276
  }
277
 
278
  public static function display_forms_list($params=false, $message='', $page_params_ov = false, $current_page_ov = false, $errors = array()){
279
- global $wpdb, $frmdb, $frm_form, $frm_entry, $frm_page_size, $frmpro_is_installed;
280
 
281
  if(!$params)
282
  $params = self::get_params();
283
-
284
- if($message=='')
285
- $message = FrmAppHelper::frm_get_main_message();
286
-
287
  $page_params = '&action=0&&frm_action=0&page=formidable';
288
 
 
289
  if ($params['template']){
290
  $default_templates = $frm_form->getAll(array('default_template' => 1));
291
  $all_templates = $frm_form->getAll(array('is_template' => 1), 'name');
292
  }
293
 
294
- if(class_exists('WP_List_Table')){
295
- require_once( FRM_PATH .'/classes/helpers/FrmListHelper.php' );
296
 
297
- $args = array('table_name' => $frmdb->forms, 'params' => $params);
298
- $args['page_name'] = $params['template'] ? '-template' : '';
299
- $wp_list_table = new FrmListHelper($args);
300
- unset($args);
301
-
302
- $pagenum = $wp_list_table->get_pagenum();
303
 
304
- $wp_list_table->prepare_items();
305
 
306
- $total_pages = $wp_list_table->get_pagination_arg( 'total_pages' );
307
- if ( $pagenum > $total_pages && $total_pages > 0 ) {
308
- wp_redirect( add_query_arg( 'paged', $total_pages ) );
309
- die();
310
- }
311
-
312
- if ( ! empty( $_REQUEST['s'] ) )
313
- $page_params .= '&s='. urlencode($_REQUEST['s']);
314
- }else{
315
-
316
- $where_clause = " (status is NULL OR status = '' OR status = 'published') AND default_template=0 AND is_template = ".$params['template'];
317
 
318
- $form_vars = self::get_form_sort_vars($params, $where_clause);
319
-
320
- $current_page = ($current_page_ov) ? $current_page_ov : $params['paged'];
321
- $page_params .= ($page_params_ov) ? $page_params_ov : $form_vars['page_params'];
322
-
323
- $sort_str = $form_vars['sort_str'];
324
- $sdir_str = $form_vars['sdir_str'];
325
- $search_str = $form_vars['search_str'];
326
-
327
- $record_count = FrmAppHelper::getRecordCount($form_vars['where_clause'], $frmdb->forms);
328
- $page_count = FrmAppHelper::getPageCount($frm_page_size, $record_count, $frmdb->forms);
329
- $forms = FrmAppHelper::getPage($current_page, $frm_page_size, $form_vars['where_clause'], $form_vars['order_by'], $frmdb->forms);
330
- $page_last_record = FrmAppHelper::getLastRecordNum($record_count,$current_page,$frm_page_size);
331
- $page_first_record = FrmAppHelper::getFirstRecordNum($record_count,$current_page,$frm_page_size);
332
  }
 
 
 
333
 
334
- require(FRM_VIEWS_PATH.'/frm-forms/list.php');
335
- }
336
-
337
- public static function get_form_sort_vars($params,$where_clause = ''){
338
- $order_by = '';
339
- $page_params = '';
340
-
341
- // These will have to work with both get and post
342
- $sort_str = $params['sort'];
343
- $sdir_str = $params['sdir'];
344
- $search_str = $params['search'];
345
-
346
- // Insert search string
347
- if(!empty($search_str)){
348
- $search_params = explode(" ", $search_str);
349
-
350
- foreach($search_params as $search_param){
351
- if(!empty($where_clause))
352
- $where_clause .= " AND";
353
-
354
- $where_clause .= " (name like '%$search_param%' OR description like '%$search_param%' OR created_at like '%$search_param%')";
355
- }
356
-
357
- $page_params .="&search=$search_str";
358
- }
359
-
360
- // make sure page params stay correct
361
- if(!empty($sort_str))
362
- $page_params .="&sort=$sort_str";
363
-
364
- if(!empty($sdir_str))
365
- $page_params .= "&sdir=$sdir_str";
366
-
367
- // Add order by clause
368
- switch($sort_str){
369
- case "id":
370
- case "name":
371
- case "description":
372
- case "form_key":
373
- $order_by .= " ORDER BY $sort_str";
374
- break;
375
- default:
376
- $order_by .= " ORDER BY name";
377
- }
378
-
379
- // Toggle ascending / descending
380
- if((empty($sort_str) and empty($sdir_str)) or $sdir_str == 'asc'){
381
- $order_by .= ' ASC';
382
- $sdir_str = 'asc';
383
- }else{
384
- $order_by .= ' DESC';
385
- $sdir_str = 'desc';
386
- }
387
-
388
- return compact('order_by', 'sort_str', 'sdir_str', 'search_str', 'where_clause', 'page_params');
389
  }
390
 
391
  public static function get_columns($columns){
392
  $columns['cb'] = '<input type="checkbox" />';
393
  $columns['id'] = 'ID';
394
- $columns['name'] = __('Name', 'formidable');
395
- $columns['description'] = __('Description', 'formidable');
396
  $columns['form_key'] = __('Key', 'formidable');
397
 
398
  if($_GET['page'] == 'formidable-templates'){
399
  add_screen_option( 'per_page', array('label' => __('Templates', 'formidable'), 'default' => 10, 'option' => 'formidable_page_formidable_templates_per_page') );
400
  }else{
401
  $columns['entries'] = __('Entries', 'formidable');
402
- $columns['link'] = __('Direct Link', 'formidable');
403
  $columns['shortcode'] = __('Shortcodes', 'formidable');
404
  add_screen_option( 'per_page', array('label' => __('Forms', 'formidable'), 'default' => 20, 'option' => 'formidable_page_formidable_per_page') );
405
  }
@@ -446,9 +414,14 @@ class FrmFormsController{
446
  return $save;
447
  }
448
 
449
- public static function get_edit_vars($id, $errors = '', $message='', $create_link=false){
450
- global $frm_entry, $frm_form, $frm_field, $frmpro_is_installed;
 
451
  $record = $frm_form->getOne( $id );
 
 
 
 
452
  $frm_field_selection = FrmFieldsHelper::field_selection();
453
  $fields = $frm_field->getAll(array('fi.form_id' => $record->id), 'field_order');
454
  $values = FrmAppHelper::setup_edit_vars($record, 'forms', $fields, true);
@@ -462,22 +435,23 @@ class FrmFormsController{
462
  else if(defined('DOING_AJAX'))
463
  die();
464
  else if($create_link)
465
- require(FRM_VIEWS_PATH.'/frm-forms/new.php');
466
  else
467
- require(FRM_VIEWS_PATH.'/frm-forms/edit.php');
468
  }
469
 
470
  public static function get_settings_vars($id, $errors = '', $message=''){
471
- global $frm_entry, $frm_form, $frm_field, $frmpro_is_installed;
472
- $record = $frm_form->getOne( $id );
 
473
  $fields = $frm_field->getAll(array('fi.form_id' => $id), 'field_order');
474
- $values = FrmAppHelper::setup_edit_vars($record, 'forms', $fields, true);
475
  $sections = apply_filters('frm_add_form_settings_section', array(), $values);
476
- $pro_feature = ($frmpro_is_installed) ? '' : ' class="pro_feature"';
477
  if (isset($values['default_template']) && $values['default_template'])
478
  wp_die(__('That template cannot be edited', 'formidable'));
479
  else
480
- require(FRM_VIEWS_PATH.'/frm-forms/settings.php');
481
  }
482
 
483
  public static function get_params(){
@@ -488,10 +462,67 @@ class FrmFormsController{
488
  return $values;
489
  }
490
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
491
  public static function add_default_templates($path, $default=true, $template=true){
492
- global $frm_form, $frm_field;
 
 
 
493
  $templates = glob($path."/*.php");
494
 
 
495
  for($i = count($templates) - 1; $i >= 0; $i--){
496
  $filename = str_replace('.php', '', str_replace($path.'/', '', $templates[$i]));
497
  $template_query = array('form_key' => $filename);
@@ -505,7 +536,16 @@ class FrmFormsController{
505
  $values['status'] = 'published';
506
  if($default) $values['default_template'] = 1;
507
 
508
- include_once($templates[$i]);
 
 
 
 
 
 
 
 
 
509
  }
510
  }
511
 
@@ -525,7 +565,7 @@ class FrmFormsController{
525
  $action = FrmAppHelper::get_param($action);
526
  }
527
 
528
- if($action == 'new')
529
  return self::new_form($vars);
530
  else if($action == 'create')
531
  return self::create($vars);
@@ -543,9 +583,11 @@ class FrmFormsController{
543
  return self::settings();
544
  else if($action == 'update_settings')
545
  return self::update_settings();
546
- else if($action == 'translate' or $action == 'update_translate')
547
- return self::translate($action);
548
  else{
 
 
 
 
549
  $action = FrmAppHelper::get_param('action');
550
  if($action == -1)
551
  $action = FrmAppHelper::get_param('action2');
@@ -562,5 +604,168 @@ class FrmFormsController{
562
  }
563
  }
564
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
565
 
566
  }
1
  <?php
2
  /**
3
  * @package Formidable
4
+ */
5
+
6
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
7
+
8
+ if(class_exists('FrmFormsController'))
9
+ return;
10
 
11
  class FrmFormsController{
12
+ public static function load_hooks(){
13
+ add_action('admin_menu', 'FrmFormsController::menu', 10);
14
+ add_action('admin_menu', 'FrmFormsController::mid_menu', 40);
15
  add_action('admin_head-toplevel_page_formidable', 'FrmFormsController::head');
16
+ add_action('widgets_init', 'FrmFormsController::register_widgets');
17
+ add_action('wp_ajax_frm_form_key_in_place_edit', 'FrmFormsController::edit_key');
18
  add_action('wp_ajax_frm_form_desc_in_place_edit', 'FrmFormsController::edit_description');
19
  add_action('wp_ajax_frm_delete_form_wo_fields', 'FrmFormsController::destroy_wo_fields');
20
+ add_action('frm_after_duplicate_form', 'FrmFormsController::after_duplicate', 10, 2);
21
  add_action('wp_ajax_frm_save_form', 'FrmFormsController::route');
22
  add_filter('frm_submit_button', 'FrmFormsController::submit_button_label');
23
  add_filter('media_buttons_context', 'FrmFormsController::insert_form_button');
25
  add_action('admin_footer', 'FrmFormsController::insert_form_popup');
26
 
27
  add_filter('set-screen-option', 'FrmFormsController::save_per_page', 10, 3);
28
+
29
+ add_action('wp_ajax_frm_forms_preview', 'FrmFormsController::preview');
30
+ add_action('wp_ajax_nopriv_frm_forms_preview', 'FrmFormsController::preview');
31
+
32
+ add_filter('frm_admin_list_form_action', 'FrmFormsController::process_bulk_form_actions');
33
+
34
+ add_action( 'admin_bar_init', 'FrmFormsController::admin_bar_css' );
35
+ add_action( 'wp_before_admin_bar_render', 'FrmFormsController::admin_bar_configure' );
36
+
37
+ //Shortcodes
38
+ add_shortcode('formidable', 'FrmFormsController::get_form_shortcode');
39
+ add_filter( 'widget_text', 'FrmFormsController::widget_text_filter', 9 );
40
  }
41
 
42
  public static function menu(){
43
  global $frm_settings;
44
  add_submenu_page('formidable', $frm_settings->menu .' | '. __('Forms', 'formidable'), __('Forms', 'formidable'), 'frm_view_forms', 'formidable', 'FrmFormsController::route');
 
45
 
 
46
  add_action('admin_head-'. sanitize_title($frm_settings->menu) .'_page_formidable-templates', 'FrmFormsController::head');
47
 
48
+ add_filter('manage_toplevel_page_formidable_columns', 'FrmFormsController::get_columns', 0 );
49
+ add_filter('manage_'. sanitize_title($frm_settings->menu) .'_page_formidable-templates_columns', 'FrmFormsController::get_columns', 0 );
50
+ add_filter('manage_toplevel_page_formidable_sortable_columns', 'FrmFormsController::get_sortable_columns');
51
+ add_filter('manage_'. sanitize_title($frm_settings->menu) .'_page_formidable-templates_sortable_columns', 'FrmFormsController::get_sortable_columns');
52
+ add_filter('get_user_option_managetoplevel_page_formidablecolumnshidden', 'FrmFormsController::hidden_columns');
53
+ add_filter('get_user_option_manage'. sanitize_title($frm_settings->menu) .'_page_formidable-templatescolumnshidden', 'FrmFormsController::hidden_columns');
 
 
54
  }
55
 
56
+ public static function mid_menu(){
57
+ global $frm_settings;
58
+ add_submenu_page('formidable', $frm_settings->menu .' | '. __('Templates', 'formidable'), __('Templates', 'formidable'), 'frm_view_forms', 'formidable-templates', 'FrmFormsController::template_list');
59
  }
60
 
61
  public static function head(){
62
  global $frm_settings;
63
 
64
+ wp_enqueue_script('formidable-editinplace');
65
+ wp_enqueue_script('jquery-frm-themepicker');
66
+ }
67
+
68
+ public static function register_widgets(){
69
+ require(FrmAppHelper::plugin_path() . '/classes/widgets/FrmShowForm.php');
70
+ register_widget('FrmShowForm');
71
  }
72
 
73
  public static function list_form(){
83
  }
84
 
85
  public static function new_form($values=false){
86
+ global $frm_vars;
87
 
88
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
89
+ $action = ($values) ? $values[$action] : FrmAppHelper::get_param($action);
90
+ $frm_form = new FrmForm();
91
+
 
 
92
  if ($action == 'create'){
93
  return self::create($values);
94
  }else if ($action == 'new'){
96
  $values = FrmFormsHelper::setup_new_vars($values);
97
  $id = $frm_form->create( $values );
98
  $values['id'] = $id;
99
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new.php');
100
  }else{
101
  $all_templates = $frm_form->getAll(array('is_template' => 1), 'name');
102
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new-selection.php');
103
  }
104
  }
105
 
106
  public static function create($values=false){
107
+ global $frm_entry, $frm_field, $frm_vars;
108
  if(!$values)
109
  $values = $_POST;
110
+
111
+ if($_POST and (!isset($values['frm_save_form']) or !wp_verify_nonce($values['frm_save_form'], 'frm_save_form_nonce'))){
112
+ global $frm_settings;
113
+ $errors['form'] = $frm_settings->admin_permission;
114
+ }
115
+
116
  $id = isset($values['id']) ? (int)$values['id'] : (int)FrmAppHelper::get_param('id');
117
 
118
+ $frm_form = new FrmForm();
119
  $errors = $frm_form->validate($values);
120
 
121
  if( count($errors) > 0 ){
124
  $record = $frm_form->getOne( $id );
125
  $fields = $frm_field->getAll(array('fi.form_id' => $id), 'field_order');
126
  $values = FrmAppHelper::setup_edit_vars($record, 'forms', $fields, true);
127
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new.php');
128
+ }else{
129
  $record = $frm_form->update( $id, $values, true );
130
+ die(FrmAppHelper::js_redirect(admin_url('admin.php?page=formidable&frm_action=settings&id='. $id)));
131
  //$message = __('Form was Successfully Created', 'formidable');
132
  //return self::settings($record, $message);
133
  }
145
  }
146
 
147
  public static function update_settings(){
 
 
148
  $id = FrmAppHelper::get_param('id');
149
+
150
+ $frm_form = new FrmForm();
151
  $errors = $frm_form->validate($_POST);
152
+
153
  if( count($errors) > 0 ){
154
  return self::get_settings_vars($id, $errors);
155
  }else{
159
  }
160
  }
161
 
162
+ public static function edit_key(){
163
+ global $wpdb;
164
+ $values = array('form_key' => trim($_POST['update_value']));
165
+ $frm_form = new FrmForm();
 
 
 
 
 
 
 
166
  $form = $frm_form->update($_POST['form_id'], $values);
167
+ $key = $wpdb->get_var($wpdb->prepare("SELECT form_key FROM {$wpdb->prefix}frm_forms WHERE id=%d", $_POST['form_id']));
168
+ echo stripslashes($key);
169
  die();
170
  }
171
 
172
  public static function edit_description(){
173
+ $frm_form = new FrmForm();
174
  $form = $frm_form->update($_POST['form_id'], array('description' => $_POST['update_value']));
175
  $description = stripslashes($_POST['update_value']);
176
  if(apply_filters('frm_use_wpautop', true))
177
+ $description = wpautop(str_replace( '<br>', '<br />', $description));
178
  echo $description;
179
  die();
180
  }
181
 
182
  public static function update($values=false){
183
+ $frm_form = new FrmForm();
184
 
185
  if(!$values)
186
  $values = $_POST;
187
+
188
  $errors = $frm_form->validate($values);
189
+
190
+ if($_POST and (!isset($values['frm_save_form']) or !wp_verify_nonce($values['frm_save_form'], 'frm_save_form_nonce'))){
191
+ global $frm_settings;
192
+ $errors['form'] = $frm_settings->admin_permission;
193
+ }
194
+
195
  $id = isset($values['id']) ? (int)$values['id'] : (int)FrmAppHelper::get_param('id');
196
+
197
  if( count($errors) > 0 ){
198
  return self::get_edit_vars($id, $errors);
199
  }else{
200
  $record = $frm_form->update( $id, $values );
201
  $message = __('Form was Successfully Updated', 'formidable');
202
+ if ( defined('DOING_AJAX') ) {
203
+ die($message);
204
+ }
205
  return self::get_edit_vars($id, '', $message);
206
  }
207
  }
208
 
209
  public static function duplicate(){
210
+ $frm_form = new FrmForm();
211
 
212
  $params = self::get_params();
213
  $record = $frm_form->duplicate( $params['id'], $params['template'], true );
218
  return self::display_forms_list($params, __('There was a problem creating new template.', 'formidable'));
219
  }
220
 
221
+
222
+ public static function after_duplicate($form_id, $values) {
223
+ $frm_form = new FrmForm();
224
+ $frm_form->after_duplicate($form_id, $values);
225
+ }
226
+
227
  public static function page_preview(){
 
228
  $params = self::get_params();
229
  if (!$params['form']) return;
230
+
231
+ $frm_form = new FrmForm();
232
  $form = $frm_form->getOne($params['form']);
233
  if(!$form) return;
234
+ return self::show_form($form->id, '', true, true);
235
  }
236
 
237
  public static function preview(){
238
  do_action('frm_wp');
239
 
240
+ global $frm_settings, $frm_vars;
241
+ $frm_vars['preview'] = true;
242
+
243
+ $frm_form = new FrmForm();
244
  if ( !defined( 'ABSPATH' ) && !defined( 'XMLRPC_REQUEST' )) {
245
  global $wp;
246
  $root = dirname(dirname(dirname(dirname(__FILE__))));
249
  $wp->register_globals();
250
  }
251
 
252
+ if($frm_vars['pro_is_installed'])
253
  FrmProEntriesController::register_scripts();
254
 
255
+ header("Content-Type: text/html; charset=". get_option( 'blog_charset' ));
256
 
257
  $plugin = FrmAppHelper::get_param('plugin');
258
  $controller = FrmAppHelper::get_param('controller');
259
  $key = (isset($_GET['form']) ? $_GET['form'] : (isset($_POST['form']) ? $_POST['form'] : ''));
260
  $form = $frm_form->getAll(array('form_key' => $key), '', 1);
261
+ if (!$form) $form = $frm_form->getAll('', '', 1);
262
 
263
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/direct.php');
264
+ die();
265
  }
266
 
267
  public static function destroy(){
270
  wp_die($frm_settings->admin_permission);
271
  }
272
 
273
+ $frm_form = new FrmForm();
274
  $params = self::get_params();
275
  $message = '';
276
  if ($frm_form->destroy( $params['id'] ))
279
  }
280
 
281
  public static function destroy_wo_fields(){
282
+ global $frm_field, $frmdb, $wpdb;
283
  $id = $_POST['form_id'];
284
+ if ($frmdb->get_count($wpdb->prefix . 'frm_fields', array('form_id' => $id)) <= 0){
285
+ $frm_form = new FrmForm();
286
  $frm_form->destroy($id);
287
+ }
288
  die();
289
  }
290
 
298
 
299
  public static function insert_form_button($content){
300
  if(current_user_can('frm_view_forms'))
301
+ $content .= '<a href="#TB_inline?width=450&height=550&inlineId=frm_insert_form" class="thickbox button add_media frm_insert_form" title="' . __("Add Formidable Form", 'formidable') . '"><span class="frm-buttons-icon wp-media-buttons-icon"></span> '. __('Add Form', 'formidable') . '</a>';
302
  return $content;
303
  }
304
 
305
  public static function show_form_button($id){
306
  if($id != 'content')
307
  return;
308
+ echo '<a href="#TB_inline?width=450&height=550&inlineId=frm_insert_form" class="thickbox" title="' . __("Add Formidable Form", 'formidable') . '"><img src="'. esc_url(FrmAppHelper::plugin_url() .'/images/form_16.png') .'" alt="' . __("Add Formidable Form", 'formidable') . '" /></a>';
309
  }
310
 
311
  public static function insert_form_popup(){
315
  global $frmpro_display;
316
  $displays = $frmpro_display->getAll('', 'post_title');
317
  }
318
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/insert_form_popup.php');
319
  }
320
  }
321
 
322
  public static function display_forms_list($params=false, $message='', $page_params_ov = false, $current_page_ov = false, $errors = array()){
323
+ global $wpdb, $frmdb, $frm_entry, $frm_vars;
324
 
325
  if(!$params)
326
  $params = self::get_params();
327
+
 
 
 
328
  $page_params = '&action=0&&frm_action=0&page=formidable';
329
 
330
+ $frm_form = new FrmForm();
331
  if ($params['template']){
332
  $default_templates = $frm_form->getAll(array('default_template' => 1));
333
  $all_templates = $frm_form->getAll(array('is_template' => 1), 'name');
334
  }
335
 
336
+ require( FrmAppHelper::plugin_path() .'/classes/helpers/FrmListHelper.php' );
 
337
 
338
+ $args = array('table_name' => $wpdb->prefix .'frm_forms', 'params' => $params);
339
+ $args['page_name'] = $params['template'] ? '-template' : '';
340
+ $wp_list_table = new FrmListHelper($args);
341
+ unset($args);
 
 
342
 
343
+ $pagenum = $wp_list_table->get_pagenum();
344
 
345
+ $wp_list_table->prepare_items();
 
 
 
 
 
 
 
 
 
 
346
 
347
+ $total_pages = $wp_list_table->get_pagination_arg( 'total_pages' );
348
+ if ( $pagenum > $total_pages && $total_pages > 0 ) {
349
+ wp_redirect( add_query_arg( 'paged', $total_pages ) );
350
+ die();
 
 
 
 
 
 
 
 
 
 
351
  }
352
+
353
+ if ( ! empty( $_REQUEST['s'] ) )
354
+ $page_params .= '&s='. urlencode($_REQUEST['s']);
355
 
356
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/list.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  }
358
 
359
  public static function get_columns($columns){
360
  $columns['cb'] = '<input type="checkbox" />';
361
  $columns['id'] = 'ID';
362
+ $columns['name'] = __('Name');
363
+ $columns['description'] = __('Description');
364
  $columns['form_key'] = __('Key', 'formidable');
365
 
366
  if($_GET['page'] == 'formidable-templates'){
367
  add_screen_option( 'per_page', array('label' => __('Templates', 'formidable'), 'default' => 10, 'option' => 'formidable_page_formidable_templates_per_page') );
368
  }else{
369
  $columns['entries'] = __('Entries', 'formidable');
370
+ $columns['link'] = __('Actions', 'formidable');
371
  $columns['shortcode'] = __('Shortcodes', 'formidable');
372
  add_screen_option( 'per_page', array('label' => __('Forms', 'formidable'), 'default' => 20, 'option' => 'formidable_page_formidable_per_page') );
373
  }
414
  return $save;
415
  }
416
 
417
+ private static function get_edit_vars($id, $errors = '', $message='', $create_link=false){
418
+ global $frm_entry, $frm_field, $frm_vars;
419
+ $frm_form = new FrmForm();
420
  $record = $frm_form->getOne( $id );
421
+ if ( !$record ) {
422
+ wp_die( __('You are trying to edit a form that does not exist.', 'formidable') );
423
+ }
424
+
425
  $frm_field_selection = FrmFieldsHelper::field_selection();
426
  $fields = $frm_field->getAll(array('fi.form_id' => $record->id), 'field_order');
427
  $values = FrmAppHelper::setup_edit_vars($record, 'forms', $fields, true);
435
  else if(defined('DOING_AJAX'))
436
  die();
437
  else if($create_link)
438
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/new.php');
439
  else
440
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/edit.php');
441
  }
442
 
443
  public static function get_settings_vars($id, $errors = '', $message=''){
444
+ global $frm_entry, $frm_field, $frm_vars;
445
+ $frm_form = new FrmForm();
446
+ $form = $frm_form->getOne( $id );
447
  $fields = $frm_field->getAll(array('fi.form_id' => $id), 'field_order');
448
+ $values = FrmAppHelper::setup_edit_vars($form, 'forms', $fields, true);
449
  $sections = apply_filters('frm_add_form_settings_section', array(), $values);
450
+ $pro_feature = $frm_vars['pro_is_installed'] ? '' : ' class="pro_feature"';
451
  if (isset($values['default_template']) && $values['default_template'])
452
  wp_die(__('That template cannot be edited', 'formidable'));
453
  else
454
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/settings.php');
455
  }
456
 
457
  public static function get_params(){
462
  return $values;
463
  }
464
 
465
+ public static function process_bulk_form_actions($errors) {
466
+ if ( !isset($_POST) ) return;
467
+
468
+ $bulkaction = FrmAppHelper::get_param('action');
469
+ if ( $bulkaction == -1 ) {
470
+ $bulkaction = FrmAppHelper::get_param('action2');
471
+ }
472
+
473
+ if ( !empty($bulkaction) && strpos($bulkaction, 'bulk_') === 0 ) {
474
+ if ( isset($_GET) && isset($_GET['action']) ) {
475
+ $_SERVER['REQUEST_URI'] = str_replace('&action=' .$_GET['action'], '', $_SERVER['REQUEST_URI']);
476
+ }
477
+ if ( isset($_GET) && isset($_GET['action2']) ) {
478
+ $_SERVER['REQUEST_URI'] = str_replace('&action=' .$_GET['action2'], '', $_SERVER['REQUEST_URI']);
479
+ }
480
+
481
+ $bulkaction = str_replace('bulk_', '', $bulkaction);
482
+ } else {
483
+ $bulkaction = '-1';
484
+ if(isset($_POST['bulkaction']) && $_POST['bulkaction'] != '-1') {
485
+ $bulkaction = $_POST['bulkaction'];
486
+ } else if(isset($_POST['bulkaction2']) && $_POST['bulkaction2'] != '-1') {
487
+ $bulkaction = $_POST['bulkaction2'];
488
+ }
489
+ }
490
+
491
+ $ids = FrmAppHelper::get_param('item-action', '');
492
+ if ( empty($ids) ) {
493
+ $errors[] = __('No forms were specified', 'formidable');
494
+ } else {
495
+ if ( $bulkaction == 'delete' ) {
496
+ if ( !current_user_can('frm_delete_forms') ) {
497
+ global $frm_settings;
498
+ $errors[] = $frm_settings->admin_permission;
499
+ } else {
500
+ if ( !is_array($ids) ) {
501
+ $ids = explode(',', $ids);
502
+ }
503
+
504
+ if ( is_array($ids) ) {
505
+ if ( $bulkaction == 'delete' ) {
506
+ $frm_form = new FrmForm();
507
+ foreach ( $ids as $form_id ) {
508
+ $frm_form->destroy($form_id);
509
+ }
510
+ }
511
+ }
512
+ }
513
+ }
514
+ }
515
+ return $errors;
516
+ }
517
+
518
  public static function add_default_templates($path, $default=true, $template=true){
519
+ _deprecated_function( __FUNCTION__, '1.07.05', 'FrmXMLController::add_default_templates()' );
520
+
521
+ global $frm_field;
522
+ $path = untrailingslashit(trim($path));
523
  $templates = glob($path."/*.php");
524
 
525
+ $frm_form = new FrmForm();
526
  for($i = count($templates) - 1; $i >= 0; $i--){
527
  $filename = str_replace('.php', '', str_replace($path.'/', '', $templates[$i]));
528
  $template_query = array('form_key' => $filename);
536
  $values['status'] = 'published';
537
  if($default) $values['default_template'] = 1;
538
 
539
+ include($templates[$i]);
540
+
541
+ //get updated form
542
+ if($form)
543
+ $form = $frm_form->getOne($form->id);
544
+ else
545
+ $form = $frm_form->getAll($template_query, '', 1);
546
+
547
+ if($form)
548
+ do_action('frm_after_duplicate_form', $form->id, (array)$form);
549
  }
550
  }
551
 
565
  $action = FrmAppHelper::get_param($action);
566
  }
567
 
568
+ if($action == 'new' or $action == 'new-selection')
569
  return self::new_form($vars);
570
  else if($action == 'create')
571
  return self::create($vars);
583
  return self::settings();
584
  else if($action == 'update_settings')
585
  return self::update_settings();
 
 
586
  else{
587
+ do_action('frm_form_action_'. $action);
588
+ if(apply_filters('frm_form_stop_action_'. $action, false))
589
+ return;
590
+
591
  $action = FrmAppHelper::get_param('action');
592
  if($action == -1)
593
  $action = FrmAppHelper::get_param('action2');
604
  }
605
  }
606
  }
607
+
608
+
609
+ /* FRONT-END FORMS */
610
+ public static function admin_bar_css() {
611
+ FrmAppController::load_wp_admin_style();
612
+ }
613
+
614
+ public static function admin_bar_configure() {
615
+ if ( is_admin() || !current_user_can('frm_edit_forms') ) {
616
+ return;
617
+ }
618
+
619
+ global $frm_vars;
620
+ if ( empty($frm_vars['forms_loaded']) ) {
621
+ return;
622
+ }
623
+
624
+ $actions = array();
625
+ foreach ($frm_vars['forms_loaded'] as $form ) {
626
+ if ( is_object($form) ) {
627
+ $actions[$form->id] = $form->name;
628
+ }
629
+ unset($form);
630
+ }
631
+
632
+ if ( empty($actions) ) {
633
+ return;
634
+ }
635
+
636
+ asort($actions);
637
+
638
+ global $wp_admin_bar;
639
+
640
+ if ( count($actions) == 1 ) {
641
+ $wp_admin_bar->add_menu( array(
642
+ 'title' => 'Edit Form',
643
+ 'href' => admin_url('admin.php?page=formidable&frm_action=edit&id='. current( array_keys( $actions ) )),
644
+ 'id' => 'frm-forms'
645
+ ) );
646
+ } else {
647
+ $wp_admin_bar->add_menu( array(
648
+ 'id' => 'frm-forms',
649
+ 'title' => '<span class="ab-icon"></span><span class="ab-label">' . __( 'Edit Forms', 'formidable' ) . '</span>',
650
+ 'href' => admin_url( 'admin.php?page=formidable&frm_action=edit&id='. current( array_keys( $actions ) ) ),
651
+ 'meta' => array(
652
+ 'title' => __( 'Edit Forms', 'formidable' ),
653
+ ),
654
+ ) );
655
+
656
+ foreach ( $actions as $form_id => $name ) {
657
+
658
+ $wp_admin_bar->add_menu( array(
659
+ 'parent' => 'frm-forms',
660
+ 'id' => 'edit_form_'. $form_id,
661
+ 'title' => empty($name) ? __('(no title)') : $name,
662
+ 'href' => admin_url( 'admin.php?page=formidable&frm_action=edit&id='. $form_id )
663
+ ) );
664
+ }
665
+ }
666
+ }
667
+
668
+
669
+
670
+ //formidable shortcode
671
+ public static function get_form_shortcode($atts) {
672
+ global $frm_vars;
673
+ if ( isset($frm_vars['skip_shortcode']) && $frm_vars['skip_shortcode'] ) {
674
+ $sc = '[formidable';
675
+ foreach ( $atts as $k => $v ) {
676
+ $sc .= ' '. $k .'="'. $v .'"';
677
+ }
678
+ return $sc .']';
679
+ }
680
+
681
+ $shortcode_atts = shortcode_atts(array('id' => '', 'key' => '', 'title' => false, 'description' => false, 'readonly' => false, 'entry_id' => false, 'fields' => array(), 'exclude_fields' => array()), $atts);
682
+ do_action('formidable_shortcode_atts', $shortcode_atts, $atts);
683
+ extract($shortcode_atts);
684
+ return self::show_form($id, $key, $title, $description);
685
+ }
686
+
687
+ //filter form shortcode in text widgets
688
+ public static function widget_text_filter( $content ) {
689
+ $regex = '/\[\s*formidable\s+.*\]/';
690
+ return preg_replace_callback( $regex, 'FrmAppController::widget_text_filter_callback', $content );
691
+ }
692
+
693
+ public static function show_form($id = '', $key = '', $title = false, $description = false) {
694
+ global $frm_settings, $post;
695
+
696
+ $frm_form = new FrmForm();
697
+ if ( empty($id) ) {
698
+ $id = $key;
699
+ }
700
+
701
+ // no form id or key set
702
+ if ( empty($id) ) {
703
+ return __('Please select a valid form', 'formidable');
704
+ }
705
+
706
+ $form = $frm_form->getOne($id);
707
+ if ( !$form ) {
708
+ return __('Please select a valid form', 'formidable');
709
+ }
710
+ $form = apply_filters('frm_pre_display_form', $form);
711
+
712
+ // don't show a draft form on a page
713
+ if ( $form->status == 'draft' && (!$post || $post->ID != $frm_settings->preview_page_id) ) {
714
+ return __('Please select a valid form', 'formidable');
715
+ }
716
+
717
+ // don't show the form if user should be logged in
718
+ if ( $form->logged_in && !is_user_logged_in() ) {
719
+ return do_shortcode($frm_settings->login_msg);
720
+ }
721
+
722
+ // don't show the form if user doesn't have permission
723
+ if ( $form->logged_in && get_current_user_id() && isset($form->options['logged_in_role']) && $form->options['logged_in_role'] != '' && !FrmAppHelper::user_has_permission($form->options['logged_in_role']) ) {
724
+ return do_shortcode($frm_settings->login_msg);
725
+ }
726
+
727
+ $form = self::get_form($form, $title, $description);
728
+
729
+ // check for external shortcodes
730
+ $form = do_shortcode($form);
731
+
732
+ return $form;
733
+ }
734
+
735
+ public static function get_form($form, $title, $description) {
736
+ global $frm_field, $frm_entry, $frm_entry_meta, $frm_settings, $frm_vars;
737
+ $form_name = $form->name;
738
+
739
+ $frm_form = new FrmForm();
740
+ $submit = isset($form->options['submit_value']) ? $form->options['submit_value'] : $frm_settings->submit_value;
741
+ $saved_message = isset($form->options['success_msg']) ? $form->options['success_msg'] : $frm_settings->success_msg;
742
+
743
+ $user_ID = get_current_user_id();
744
+
745
+ $params = FrmEntriesController::get_params($form);
746
+
747
+ $message = $errors = '';
748
+
749
+ FrmEntriesHelper::enqueue_scripts($params);
750
+
751
+ if ( $params['posted_form_id'] == $form->id && $_POST ) {
752
+ $errors = isset($frm_vars['created_entries'][$form->id]) ? $frm_vars['created_entries'][$form->id]['errors'] : array();
753
+ }
754
+
755
+ $fields = FrmFieldsHelper::get_form_fields($form->id, (isset($errors) && !empty($errors)));
756
+
757
+ $filename = FrmAppHelper::plugin_path() .'/classes/views/frm-entries/frm-entry.php';
758
+
759
+ if ( is_file($filename) ) {
760
+ ob_start();
761
+ include $filename;
762
+ $contents = ob_get_contents();
763
+ ob_end_clean();
764
+ // TODO: check if minimizing is turned on
765
+ //$contents = preg_replace('(\r|\n|\t)', '', $contents);
766
+ return $contents;
767
+ }
768
+ return false;
769
+ }
770
 
771
  }
classes/controllers/FrmSettingsController.php CHANGED
@@ -2,53 +2,80 @@
2
  /**
3
  * @package Formidable
4
  */
5
-
 
 
 
 
 
6
  class FrmSettingsController{
7
- function FrmSettingsController(){
8
- add_action('admin_menu', 'FrmSettingsController::menu', 26);
 
9
  }
10
 
11
  public static function menu(){
12
  add_submenu_page('formidable', 'Formidable | '. __('Global Settings', 'formidable'), __('Global Settings', 'formidable'), 'frm_change_settings', 'formidable-settings', 'FrmSettingsController::route');
13
  }
 
 
 
 
 
14
 
15
- public static function display_form(){
16
- global $frm_settings, $frmpro_is_installed;
 
 
17
 
18
- $frm_update = new FrmUpdatesController();
19
- $frm_roles = FrmAppHelper::frm_capabilities();
 
 
 
20
 
21
- $uploads = wp_upload_dir();
22
- $target_path = $uploads['basedir'] . "/formidable/css";
23
- $sections = apply_filters('frm_add_settings_section', array());
24
-
25
- require(FRM_VIEWS_PATH . '/frm-settings/form.php');
26
  }
27
 
28
- public static function process_form(){
29
- global $frm_settings, $frmpro_is_installed;
 
 
 
 
 
 
 
 
 
 
30
 
31
- $frm_update = new FrmUpdatesController();
32
- //$errors = $frm_settings->validate($_POST,array());
33
- $errors = array();
34
- $frm_settings->update($_POST);
35
-
36
- if( empty($errors) ){
37
- $frm_settings->store();
38
- $message = __('Settings Saved', 'formidable');
39
- }
40
- $frm_roles = FrmAppHelper::frm_capabilities();
41
- $sections = apply_filters('frm_add_settings_section', array());
42
-
43
- require(FRM_VIEWS_PATH . '/frm-settings/form.php');
 
 
 
 
 
44
  }
45
 
46
- public static function route(){
47
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
48
  $action = FrmAppHelper::get_param($action);
49
  if($action == 'process-form')
50
- return self::process_form();
51
- else
52
  return self::display_form();
53
  }
54
  }
2
  /**
3
  * @package Formidable
4
  */
5
+
6
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
7
+
8
+ if(class_exists('FrmSettingsController'))
9
+ return;
10
+
11
  class FrmSettingsController{
12
+ public static function load_hooks(){
13
+ add_action('admin_menu', 'FrmSettingsController::menu', 45);
14
+ add_action('frm_before_settings', 'FrmSettingsController::license_box');
15
  }
16
 
17
  public static function menu(){
18
  add_submenu_page('formidable', 'Formidable | '. __('Global Settings', 'formidable'), __('Global Settings', 'formidable'), 'frm_change_settings', 'formidable-settings', 'FrmSettingsController::route');
19
  }
20
+
21
+ public static function license_box(){
22
+ $a = isset($_GET['t']) ? $_GET['t'] : 'general_settings';
23
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-settings/license_box.php');
24
+ }
25
 
26
+ public static function display_form($errors=array(), $message=''){
27
+ global $frm_settings, $frm_vars;
28
+
29
+ $frm_roles = FrmAppHelper::frm_capabilities();
30
 
31
+ $uploads = wp_upload_dir();
32
+ $target_path = $uploads['basedir'] . '/formidable/css';
33
+ $sections = apply_filters('frm_add_settings_section', array(
34
+ 'styling' => array('name' => __('Form Styling', 'formidable'), 'class' => 'FrmSettingsController', 'function' => 'styling_tab')
35
+ ));
36
 
37
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-settings/form.php');
 
 
 
 
38
  }
39
 
40
+ public static function process_form($stop_load=false){
41
+ global $frm_settings, $frm_vars;
42
+
43
+ if(!isset($_POST['process_form']) or !wp_verify_nonce($_POST['process_form'], 'process_form_nonce'))
44
+ wp_die($frm_settings->admin_permission);
45
+
46
+ $errors = array();
47
+ $message = '';
48
+
49
+ if(!isset($frm_vars['settings_routed']) or !$frm_vars['settings_routed']){
50
+ //$errors = $frm_settings->validate($_POST,array());
51
+ $frm_settings->update(stripslashes_deep($_POST));
52
 
53
+ if( empty($errors) ){
54
+ $frm_settings->store();
55
+ $message = __('Settings Saved', 'formidable');
56
+ }
57
+ }else{
58
+ $message = __('Settings Saved', 'formidable');
59
+ }
60
+
61
+ if($stop_load == 'stop_load'){
62
+ $frm_vars['settings_routed'] = true;
63
+ return;
64
+ }
65
+
66
+ self::display_form($errors, $message);
67
+ }
68
+
69
+ public static function styling_tab(){
70
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-settings/styling_tab.php');
71
  }
72
 
73
+ public static function route($stop_load=false){
74
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
75
  $action = FrmAppHelper::get_param($action);
76
  if($action == 'process-form')
77
+ return self::process_form($stop_load);
78
+ else if($stop_load != 'stop_load')
79
  return self::display_form();
80
  }
81
  }
classes/controllers/FrmStatisticsController.php CHANGED
@@ -1,28 +1,32 @@
1
  <?php
2
-
 
 
 
 
3
  class FrmStatisticsController{
4
- function FrmStatisticsController(){
5
  add_action('admin_menu', 'FrmStatisticsController::menu', 24);
6
  }
7
 
8
  public static function menu(){
9
- global $frmpro_is_installed;
10
- if($frmpro_is_installed)
11
  return;
12
 
13
- add_submenu_page('formidable', 'Formidable | '. __('Custom Displays', 'formidable'), '<span style="opacity:.5;filter:alpha(opacity=50);">'. __('Custom Displays', 'formidable') .'</span>', 'administrator', 'formidable-entry-templates', 'FrmStatisticsController::list_displays');
14
 
15
  add_submenu_page('formidable', 'Formidable | '. __('Reports', 'formidable'), '<span style="opacity:.5;filter:alpha(opacity=50);">'. __('Reports', 'formidable') .'</span>', 'administrator', 'formidable-reports', 'FrmStatisticsController::list_reports');
16
  }
17
 
18
  public static function list_reports(){
19
  $form = FrmAppHelper::get_param('form', false);
20
- require(FRM_VIEWS_PATH . '/frm-statistics/list.php');
21
  }
22
 
23
  public static function list_displays(){
24
  $form = FrmAppHelper::get_param('form', false);
25
- require(FRM_VIEWS_PATH . '/frm-statistics/list_displays.php');
26
  }
27
 
28
  }
1
  <?php
2
+ if(!defined('ABSPATH')) die('You are not allowed to call this page directly.');
3
+
4
+ if(class_exists('FrmStatisticsController'))
5
+ return;
6
+
7
  class FrmStatisticsController{
8
+ public static function load_hooks(){
9
  add_action('admin_menu', 'FrmStatisticsController::menu', 24);
10
  }
11
 
12
  public static function menu(){
13
+ global $frm_vars;
14
+ if($frm_vars['pro_is_installed'])
15
  return;
16
 
17
+ add_submenu_page('formidable', 'Formidable | '. __('Views', 'formidable'), '<span style="opacity:.5;filter:alpha(opacity=50);">'. __('Views', 'formidable') .'</span>', 'administrator', 'formidable-entry-templates', 'FrmStatisticsController::list_displays');
18
 
19
  add_submenu_page('formidable', 'Formidable | '. __('Reports', 'formidable'), '<span style="opacity:.5;filter:alpha(opacity=50);">'. __('Reports', 'formidable') .'</span>', 'administrator', 'formidable-reports', 'FrmStatisticsController::list_reports');
20
  }
21
 
22
  public static function list_reports(){
23
  $form = FrmAppHelper::get_param('form', false);
24
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-statistics/list.php');
25
  }
26
 
27
  public static function list_displays(){
28
  $form = FrmAppHelper::get_param('form', false);
29
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-statistics/list_displays.php');
30
  }
31
 
32
  }
classes/controllers/FrmUpdatesController.php DELETED
@@ -1,538 +0,0 @@
1
- <?php
2
- if(!defined('ABSPATH')) die('You are not allowed to call this page directly.');
3
-
4
- // Contains all the functions necessary to provide an update mechanism for FormidablePro!
5
-
6
- class FrmUpdatesController{
7
- var $plugin_nicename;
8
- var $plugin_name;
9
- var $plugin_url;
10
- var $pro_script;
11
- var $pro_mothership;
12
-
13
- var $pro_cred_store;
14
- var $pro_auth_store;
15
- var $pro_wpmu_store;
16
-
17
- var $pro_license_label;
18
- var $pro_license_str;
19
-
20
- var $pro_error_message_str;
21
-
22
- var $pro_check_interval;
23
- var $pro_last_checked_store;
24
-
25
- var $pro_username;
26
- var $pro_password;
27
- var $license;
28
- var $pro_mothership_xmlrpc_url;
29
- var $timeout;
30
-
31
- function FrmUpdatesController(){
32
- // Where all the vitals are defined for this plugin
33
- $this->plugin_nicename = 'formidable';
34
- $this->plugin_name = 'formidable/formidable.php';
35
- $this->plugin_url = 'http://formidablepro.com/formidable-wordpress-plugin';
36
- $this->pro_script = FRM_PATH . '/pro/formidable-pro.php';
37
- $this->pro_mothership = 'http://api.strategy11.com/plugin-updates/';
38
- $this->pro_cred_store = 'frmpro-credentials';
39
- $this->pro_auth_store = 'frmpro-authorized';
40
- $this->pro_wpmu_store = 'frmpro-wpmu-sitewide';
41
- $this->pro_last_checked_store = 'frm_autoupdate';
42
- $this->pro_license_label = __('Formidable Pro License', 'formidable');
43
- $this->pro_error_message_str = __('Your Formidable Pro License was Invalid', 'formidable');
44
- $this->pro_check_interval = 60*60*12; // Checking every 12 hours
45
- $this->timeout = 10;
46
-
47
- // Don't modify these variables
48
- $this->pro_license_str = 'proplug-license';
49
- $this->pro_mothership_xmlrpc_url = 'http://formidablepro.com/xmlrpc.php';
50
-
51
- add_filter('site_transient_update_plugins', array( &$this, 'queue_update' ) );
52
- //add_action('admin_notices', array( &$this, 'activation_warning'));
53
- add_action('wp_ajax_frm_activate_license', array( &$this, 'activate'));
54
- add_action('wp_ajax_frm_deactivate_license', array( &$this, 'deactivate'));
55
-
56
- // Retrieve Pro Credentials
57
- $this->pro_wpmu = false;
58
- if (IS_WPMU and get_site_option($this->pro_wpmu_store)){
59
- $creds = get_site_option($this->pro_cred_store);
60
- $this->pro_wpmu = true;
61
- }else
62
- $creds = get_option($this->pro_cred_store);
63
-
64
- $license = '';
65
- if($creds and is_array($creds)){
66
- extract($creds);
67
- $this->license = (isset($license) and !empty($license)) ? $license : '';
68
- $this->pro_username = (isset($username) and !empty($username)) ? $username : '';
69
- $this->pro_password = (isset($password) and !empty($password)) ? $password : '';
70
- }
71
- }
72
-
73
- function pro_is_installed(){
74
- return file_exists($this->pro_script);
75
- }
76
-
77
- function pro_is_authorized($force_check=false){
78
- if( empty($this->license) and empty($this->pro_username) and empty($this->pro_password))
79
- return false;
80
-
81
- if( empty($this->license) ){
82
- $license = $this->get_user_license();
83
- if(empty($license))
84
- return false;
85
- }
86
-
87
- if (IS_WPMU and $this->pro_wpmu)
88
- $authorized = get_site_option($this->pro_auth_store);
89
- else
90
- $authorized = get_option($this->pro_auth_store);
91
-
92
- if(!$force_check)
93
- return $authorized;
94
-
95
- if( !empty($this->license) ){
96
- $new_auth = $this->check_license();
97
- return $new_auth['auth'];
98
- }
99
-
100
- return false;
101
- }
102
-
103
- function pro_is_installed_and_authorized(){
104
- return ($this->pro_is_installed() and $this->pro_is_authorized());
105
- }
106
-
107
- public function get_user_license(){
108
- include_once( ABSPATH . 'wp-includes/class-IXR.php' );
109
-
110
- $client = new IXR_Client( $this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
111
-
112
- if( !$client->query( 'proplug.get_license', $this->pro_username, $this->pro_password ) )
113
- return false;
114
-
115
- $license = $client->getResponse();
116
-
117
- if($license and !empty($license))
118
- $this->_update_auth(array('license' => $license, 'wpmu' => $this->pro_wpmu));
119
-
120
- return $client->getResponse();
121
- }
122
- public function pro_cred_form(){
123
- global $frmpro_is_installed;
124
- if(isset($_POST) and isset($_POST['process_cred_form']) and $_POST['process_cred_form'] == 'Y'){
125
- $response = $this->process_form();
126
- if($response['auth']){ ?>
127
- <div id="message" class="updated fade"><strong>
128
- <?php
129
- if(!$this->pro_is_authorized() and !$this->pro_is_installed()){
130
- $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $this->plugin_name, 'upgrade-plugin_' . $this->plugin_name);
131
- printf(__('Your License was accepted<br/>Now you can %1$sUpgrade Automatically!%2$s', 'formidable'), "<a href='{$inst_install_url}'>","</a>");
132
- }else if($this->pro_is_installed()){
133
- $frmpro_is_installed = $this->pro_is_installed_and_authorized();
134
- _e('Your Pro installation is now active. Enjoy!', 'formidable');
135
- } ?>
136
- </strong></div>
137
- <?php }else{ ?>
138
- <div class="error">
139
- <ul>
140
- <li><strong><?php _e('ERROR', 'formidable'); ?></strong>: <?php echo $response['response']; ?></li>
141
- </ul>
142
- </div>
143
- <?php
144
- }
145
- }
146
- ?>
147
- <div style="float:left;width:55%">
148
- <?php $this->display_form();
149
-
150
- if(!$frmpro_is_installed){ ?>
151
- <p>Already signed up? <a href="http://formidablepro.com/account/" target="_blank"><?php _e('Click here', 'formidable') ?></a> to get your license number.</p>
152
- <?php } ?>
153
- </div>
154
-
155
- <?php if($frmpro_is_installed){ ?>
156
- <div class="frm_pro_installed">
157
- <div><strong class="alignleft" style="margin-right:10px;"><?php _e('Formidable Pro is Installed', 'formidable') ?></strong>
158
- <a href="javascript:frm_show_auth_form()" class="button-secondary alignleft"><?php _e('Enter new license', 'formidable') ?></a>
159
- <a href="javascript:frm_deauthorize()" onclick="return confirm('<?php echo esc_attr(__('Are you sure you want to deactivate Formidable Pro on this site?', 'formidable')) ?>')" id="frm_deauthorize_link" class="button-secondary alignright"><?php _e('Deauthorize this site', 'formidable') ?></a>
160
- </div>
161
- <div class="clear"></div>
162
- </div>
163
- <p class="frm_aff_link"><a href="http://formidablepro.com/account/" target="_blank"><?php _e('Account', 'formidable') ?></a> |
164
- <a href="http://formidablepro.com/affiliate-dashboard/" target="_blank"><?php _e('Affiliate Dashboard', 'formidable') ?></a>
165
- </p>
166
-
167
- <script type="text/javascript">
168
- function frm_show_auth_form(){
169
- jQuery('#pro_cred_form,.frm_pro_installed').toggle();
170
- }
171
- function frm_deauthorize(){
172
- jQuery('#frm_deauthorize_link').replaceWith('<img src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="<?php _e('Loading...', 'formidable'); ?>" id="frm_deauthorize_link" />');
173
- jQuery.ajax({type:'POST',url:ajaxurl,data:'action=frm_deauthorize',
174
- success:function(msg){jQuery('#frm_deauthorize_link').fadeOut('slow'); frm_show_auth_form();}
175
- });
176
- };
177
- </script>
178
- <?php }else{ ?>
179
-
180
- <div style="float:right;width:40%">
181
- <p><?php _e('Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports.', 'formidable') ?></p>
182
- <a href="http://formidablepro.com"><?php _e('Learn More', 'formidable') ?> &#187;</a>
183
- </div>
184
- <?php } ?>
185
-
186
- <div class="clear"></div>
187
-
188
- <?php
189
- }
190
-
191
- function display_form(){
192
- global $frmpro_is_installed;
193
-
194
- // Yah, this is the view for the credentials form -- this class isn't a true model
195
- extract($this->get_pro_cred_form_vals());
196
- ?>
197
- <div id="pro_cred_form" <?php echo ($frmpro_is_installed) ? 'style="display:none;"' : ''; ?>>
198
- <form name="cred_form" method="post" autocomplete="off">
199
- <input type="hidden" name="process_cred_form" value="Y" />
200
- <?php wp_nonce_field('cred_form'); ?>
201
-
202
- <table class="form-table frm_lics_form">
203
- <tr class="form-field">
204
- <td valign="top" width="150px"><?php echo $this->pro_license_label; ?></td>
205
- <td><input type="text" name="<?php echo $this->pro_license_str; ?>" value="" style="width:97%;"/></td>
206
- </tr>
207
-
208
- <?php if (IS_WPMU){ ?>
209
- <tr>
210
- <td valign="top"><?php _e('WordPress MU', 'formidable'); ?></td>
211
- <td valign="top">
212
- <input type="checkbox" value="1" name="proplug-wpmu" <?php checked($wpmu, 1) ?> />
213
- <?php _e('Use this license to enable Formidable Pro site-wide', 'formidable'); ?>
214
- </td>
215
- </tr>
216
- <?php } ?>
217
- <tr>
218
- <td></td>
219
- <td>
220
- <input class="button-secondary" type="submit" value="<?php _e('Save License', 'formidable'); ?>" />
221
- <?php if($frmpro_is_installed){
222
- _e('or', 'formidable');
223
- ?>
224
- <a href="javascript:frm_show_auth_form()" class="button-secondary"><?php _e('Cancel', 'formidable'); ?></a>
225
- <?php } ?>
226
- </td>
227
- </tr>
228
- </table>
229
- </form>
230
- </div>
231
- <?php
232
- }
233
-
234
- function process_form(){
235
- $creds = $this->get_pro_cred_form_vals();
236
- $user_authorized = $this->check_license($creds['license']);
237
-
238
- if(!empty($user_authorized['auth']) and $user_authorized['auth']){
239
- $this->_update_auth($creds);
240
-
241
- if(!$this->pro_is_installed())
242
- $this->manually_queue_update();
243
- }
244
-
245
- return $user_authorized;
246
- }
247
-
248
- private function _update_auth($creds){
249
- if (IS_WPMU)
250
- update_site_option($this->pro_wpmu_store, $creds['wpmu']);
251
-
252
- if ($creds['wpmu']){
253
- update_site_option($this->pro_cred_store, $creds);
254
- update_site_option($this->pro_auth_store, true);
255
- }else{
256
- update_option($this->pro_cred_store, $creds);
257
- update_option($this->pro_auth_store, true);
258
- }
259
-
260
- extract($creds);
261
- $this->license = (isset($license) and !empty($license)) ? $license : '';
262
- }
263
-
264
- function get_pro_cred_form_vals(){
265
- $license = (isset($_POST[$this->pro_license_str])) ? $_POST[$this->pro_license_str] : $this->license;
266
- $wpmu = (isset($_POST['proplug-wpmu'])) ? true : $this->pro_wpmu;
267
-
268
- return compact('license', 'wpmu');
269
- }
270
-
271
- function activate(){
272
- $message = '';
273
- $errors = array();
274
-
275
- if(!isset($_POST['hlpdsk_license']) or empty($_POST['hlpdsk_license'])){
276
- $errors[] = __('Please enter a license number', 'formidable');
277
- include(FRM_PATH .'/classes/views/shared/errors.php');
278
- die();
279
- }
280
-
281
- $this->license = stripslashes($_POST['hlpdsk_license']);
282
- $domain = home_url();
283
- $args = compact('domain');
284
-
285
- try{
286
- $act = $this->send_mothership_request($this->plugin_nicename .'/activate/'. $hlpdsk_settings->license, $args);
287
-
288
- if(!is_array($act)){
289
- $errors[] = $act;
290
- }else{
291
- $this->manually_queue_update();
292
- $hlpdsk_settings->store(false);
293
- $message = $act['message'];
294
- }
295
- }
296
- catch(Exception $e){
297
- $errors[] = $e->getMessage();
298
- }
299
-
300
- include(FRM_PATH .'/classes/views/shared/errors.php');
301
- die();
302
- }
303
-
304
- function check_license($license=false){
305
- $save = true;
306
- if(empty($license)){
307
- $license = $this->license;
308
- $save = false;
309
- }
310
-
311
- if(empty($license))
312
- return array('auth' => false, 'response' => __('Please enter a license number', 'formidable'));
313
-
314
- $domain = home_url();
315
- $args = compact('domain');
316
-
317
- $act = $this->send_mothership_request($this->plugin_nicename .'/activate/'. $license, $args);
318
-
319
- if($save){
320
- $auth = false;
321
- if(!is_array($act)){
322
- $errors[] = $act;
323
- }else{
324
- $this->manually_queue_update();
325
- $message = $act['message'];
326
-
327
- $auth = is_array($act) ? true : false;
328
-
329
- $wpmu = (isset($_POST) and isset($_POST['proplug-wpmu'])) ? true : $this->pro_wpmu;
330
-
331
- //save response
332
- if (IS_WPMU)
333
- update_site_option($this->pro_wpmu_store, $wpmu);
334
-
335
- if ($wpmu){
336
- update_site_option($this->pro_cred_store, compact('license', 'wpmu'));
337
- update_site_option($this->pro_auth_store, $auth);
338
- }else{
339
- update_option($this->pro_cred_store, compact('license', 'wpmu'));
340
- update_option($this->pro_auth_store, $auth);
341
- }
342
-
343
- }
344
-
345
- return array('auth' => $auth, 'response' => $act);
346
- }
347
-
348
- return array('auth' => false, 'response' => __('Please enter a license number', 'formidable'));
349
- }
350
-
351
- function deactivate(){
352
- delete_option($this->pro_cred_store);
353
- delete_option($this->pro_auth_store);
354
-
355
- if(empty($this->license))
356
- return;
357
-
358
- $domain = home_url();
359
- $args = compact('domain');
360
-
361
- try{
362
- $act = $this->send_mothership_request($this->plugin_nicename .'/deactivate/'. $this->license, $args);
363
- if(!is_array($act))
364
- $errors[] = $act;
365
- else
366
- $message = $act['message'];
367
- }
368
- catch(Exception $e){
369
- $errors[] = $e->getMessage();
370
- }
371
-
372
- include(FRM_PATH .'/classes/views/shared/errors.php');
373
- die();
374
- }
375
-
376
- function queue_update($transient, $force=false){
377
- if(!is_object($transient))
378
- return $transient;
379
-
380
- $plugin = $this;
381
-
382
- //make sure it doesn't show there is an update if plugin is up-to-date
383
- if($this->pro_is_installed() and !empty( $transient->checked ) and
384
- isset($transient->checked[ $this->plugin_name ]) and
385
- ((isset($transient->response) and isset($transient->response[$this->plugin_name]) and
386
- $transient->checked[ $this->plugin_name ] == $transient->response[$this->plugin_name]->new_version) or
387
- (!isset($transient->response)) or empty($transient->response))){
388
-
389
- if(isset($transient->response[$this->plugin_name]))
390
- unset($transient->response[$this->plugin_name]);
391
- set_site_transient( $this->pro_last_checked_store, 'latest', $this->pro_check_interval );
392
- }else if(!empty( $transient->checked ) or
393
- (isset($transient->response) and isset($transient->response[$this->plugin_name]) and
394
- (($transient->response[$this->plugin_name] == 'latest' and !$this->pro_is_installed()) or
395
- $transient->response[$this->plugin_name]->url == 'http://wordpress.org/plugins/'. $this->plugin_nicename .'/'))){
396
-
397
- if( $this->pro_is_authorized()) {
398
- if( !$this->pro_is_installed())
399
- $force = true;
400
-
401
- $transient = $this->queue_addon_update($transient, $plugin, $force, false);
402
- }
403
- }
404
-
405
- return $transient;
406
- }
407
-
408
- function queue_addon_update($transient, $plugin, $force=false, $checked=true){
409
- if(!is_object($transient) or ($checked and empty($transient->checked)))
410
- return $transient;
411
-
412
- $version_info = $this->get_version($transient->checked[ $plugin->plugin_name ], $force, $plugin);
413
- $installed_version = $transient->checked[$plugin->plugin_name];
414
-
415
- if($version_info and isset($version_info['version']) and ($force or version_compare($version_info['version'], $installed_version, '>'))){
416
- $transient->response[$plugin->plugin_name] = new stdClass();
417
- $transient->response[$plugin->plugin_name]->id = 0;
418
- $transient->response[$plugin->plugin_name]->slug = $plugin->plugin_name;
419
- $transient->response[$plugin->plugin_name]->new_version = $version_info['version'];
420
- $transient->response[$plugin->plugin_name]->url = 'http://formidablepro.com/';
421
-
422
- if(isset($version_info['url'])){
423
- $transient->response[$plugin->plugin_name]->package = $version_info['url'];
424
- }else{
425
- //new version available, but no permission
426
- $expired = isset($version_info['expired']) ? __('expired', 'formidable') : __('invalid', 'formidable');
427
- $transient->response[$plugin->plugin_name]->upgrade_notice = sprintf(__('An update is available, but your license is %s.', 'formidable'), $expired);
428
- }
429
-
430
- set_site_transient('update_plugins', $transient);
431
- }else if(!$version_info and isset($transient->response[$plugin->plugin_name])){
432
- unset( $transient->response[$plugin->plugin_name] );
433
- delete_site_transient( $plugin->pro_last_checked_store );
434
- }
435
-
436
- return $transient;
437
- }
438
-
439
- function get_version($version, $force=false, $plugin=false){
440
- if($plugin and $plugin->plugin_nicename != $this->plugin_nicename){
441
- //don't check for update if pro is not installed
442
- global $frmpro_is_installed;
443
- if(!$frmpro_is_installed)
444
- return false;
445
- }
446
-
447
- if(!$force)
448
- $version_info = get_site_transient( $plugin->pro_last_checked_store );
449
-
450
- if($version_info and !is_array($version_info))
451
- $version_info = false;
452
-
453
- if(!isset($version_info) or !$version_info){
454
- $download_url = '';
455
- $errors = false;
456
-
457
- if(empty($this->license) and !empty($this->pro_username) and !empty($this->pro_password) ){
458
- //get license from credentials
459
- $this->get_user_license();
460
- }
461
-
462
- if(!empty($this->license)){
463
- $domain = home_url();
464
- $args = compact('domain');
465
-
466
- $version_info = $this->send_mothership_request($plugin->plugin_nicename .'/info/'. $this->license, $args);
467
- if(!is_array($version_info))
468
- $errors = true;
469
- }
470
-
471
- if(!isset($version_info) or $errors){
472
- // query for the current version
473
- $version_info = $this->send_mothership_request($plugin->plugin_nicename .'/latest');
474
- $errors = !is_array($version_info) ? true : false;
475
- }
476
-
477
- if($errors)
478
- return false;
479
-
480
- // store in transient for 24 hours
481
- set_site_transient( $plugin->pro_last_checked_store, $version_info, $plugin->pro_check_interval );
482
- }
483
-
484
- return (array)$version_info;
485
- }
486
-
487
- function manually_queue_update(){
488
- $transient = get_site_transient('update_plugins');
489
- set_site_transient('update_plugins', $this->queue_update($transient, true));
490
- }
491
-
492
- function queue_button(){ ?>
493
- <a href="<?php echo admin_url('admin.php?page=helpdesk-options&action=queue&_wpnonce=' . wp_create_nonce($this->manually_queue_update)); ?>" class="button"><?php _e('Check for Update', 'formidable')?></a>
494
- <?php
495
- }
496
-
497
- function send_mothership_request( $endpoint, $args=array(), $domain=false){
498
- if(empty($domain))
499
- $domain = $this->pro_mothership;
500
- $uri = "{$domain}{$endpoint}";
501
-
502
- $arg_array = array( 'body' => $args,
503
- 'timeout' => 15,
504
- 'sslverify' => false
505
- );
506
-
507
- $resp = wp_remote_post($uri, $arg_array);
508
- $body = wp_remote_retrieve_body( $resp );
509
-
510
- if(is_wp_error($resp)){
511
- $message = sprintf(__('You had an error communicating with Strategy11\'s API. %1$sClick here%2$s for more information.', 'formidable'), '<a href="http://formidablepro.com/knowledgebase/why-cant-i-activate-formidable-pro/" target="_blank">', '</a>');
512
- if(is_wp_error($resp))
513
- $message .= ' '. $resp->get_error_message();
514
- return $message;
515
- }else if($body == 'error' or is_wp_error($body)){
516
- return __('You had an HTTP error connecting to Strategy11\'s API', 'formidable');
517
- }else{
518
- if(null !== ($json_res = json_decode($body, true))){
519
- if(isset($json_res['error']))
520
- return $json_res['error'];
521
- else
522
- return $json_res;
523
- }else{
524
- return __( 'Your License Key was invalid', 'formidable');
525
- }
526
- }
527
-
528
- return false;
529
- }
530
-
531
- function activation_warning(){
532
- $hlpdsk_settings = HlpdskSettings::fetch();
533
-
534
- if(empty($hlpdsk_settings->license) and (!isset($_REQUEST['page']) or $_REQUEST['page'] != 'hlp-settings'))
535
- include(FRM_PATH . '/classes/views/update/activation_warning.php');
536
- }
537
- }
538
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/controllers/FrmXMLController.php ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( !defined('ABSPATH') ) die('You are not allowed to call this page directly.');
3
+
4
+ class FrmXMLController{
5
+ public static function load_hooks(){
6
+ add_action('admin_menu', 'FrmXMLController::menu', 41);
7
+ add_action('wp_ajax_frm_export_xml', 'FrmXMLController::export_xml');
8
+ }
9
+
10
+ public static function menu() {
11
+ add_submenu_page('formidable', 'Formidable | Import/Export', 'Import/Export', 'frm_edit_forms', 'formidable-import', 'FrmXMLController::route');
12
+ }
13
+
14
+ public static function add_default_templates() {
15
+ if ( !function_exists( 'libxml_disable_entity_loader' ) ){
16
+ // XML import is not enabled on your server
17
+ return;
18
+ }
19
+
20
+ include_once(FrmAppHelper::plugin_path() .'/classes/helpers/FrmXMLHelper.php');
21
+
22
+ $set_err = libxml_use_internal_errors(true);
23
+ $loader = libxml_disable_entity_loader( true );
24
+
25
+ $files = apply_filters('frm_default_templates_files', array(FrmAppHelper::plugin_path() .'/classes/views/xml/default-templates.xml'));
26
+
27
+ foreach ( (array) $files as $file) {
28
+ $result = FrmXMLHelper::import_xml($file);
29
+ unset($file);
30
+ }
31
+ if(is_wp_error($result))
32
+ $errors[] = $result->get_error_message();
33
+ else if($result)
34
+ $message = $result;
35
+
36
+ unset($file);
37
+
38
+ libxml_use_internal_errors( $set_err );
39
+ libxml_disable_entity_loader( $loader );
40
+ }
41
+
42
+ public static function route() {
43
+ $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
44
+ $action = FrmAppHelper::get_param($action);
45
+ if($action == 'import_xml') {
46
+ return self::import_xml();
47
+ } else if($action == 'export_xml') {
48
+ return self::export_xml();
49
+ } else {
50
+ if ( apply_filters('frm_xml_route', true, $action) ){
51
+ return self::form();
52
+ }
53
+ }
54
+ }
55
+
56
+ public static function form($errors = array(), $message = '') {
57
+ //wp_enqueue_script('jquery-chosen');
58
+ //wp_enqueue_style('formidable');
59
+
60
+ $frm_form = new FrmForm();
61
+ $forms = $frm_form->getAll("status is NULL OR status = '' OR status = 'published'", ' ORDER BY name');
62
+ unset($frm_form);
63
+
64
+ $export_types = apply_filters('frm_xml_export_types',
65
+ array('forms' => __('Forms', 'formidable'))
66
+ );
67
+
68
+ $export_format = apply_filters('frm_export_formats', array(
69
+ 'xml' => array( 'name' => 'XML', 'support' => 'forms', 'count' => 'multiple'),
70
+ ));
71
+
72
+ global $frmpro_settings;
73
+ $csv_format = $frmpro_settings ? $frmpro_settings->csv_format : 'UTF-8';
74
+
75
+ include(FrmAppHelper::plugin_path() .'/classes/views/xml/import_form.php');
76
+ }
77
+
78
+ public static function import_xml() {
79
+ $errors = array();
80
+ $message = '';
81
+ if ( !isset($_FILES) || !isset($_FILES['frm_import_file']) || empty($_FILES['frm_import_file']['name']) || (int)$_FILES['frm_import_file']['size'] < 1) {
82
+ $errors[] = __( 'Oops, you didn\'t select a file.', 'formidable' );
83
+ self::form($errors);
84
+ return;
85
+ }
86
+
87
+ $file = $_FILES['frm_import_file']['tmp_name'];
88
+
89
+ if ( !is_uploaded_file($file) ) {
90
+ unset($file);
91
+ $errors[] = __( 'The file does not exist, please try again.', 'formidable' );
92
+ self::form($errors);
93
+ return;
94
+ }
95
+
96
+ //add_filter('upload_mimes', 'FrmXMLController::allow_mime');
97
+
98
+ $export_format = apply_filters('frm_export_formats', array(
99
+ 'xml' => array( 'name' => 'XML', 'support' => 'forms', 'count' => 'multiple'),
100
+ ));
101
+
102
+ $file_type = strtolower(pathinfo($_FILES['frm_import_file']['name'], PATHINFO_EXTENSION));
103
+ if ( $file_type != 'xml' && isset($export_format[$file_type]) ) {
104
+ // allow other file types to be imported
105
+ do_action('frm_before_import_'. $file_type );
106
+ return;
107
+ }
108
+ unset($file_type);
109
+
110
+ //$media_id = FrmProAppHelper::upload_file('frm_import_file');
111
+ //if(is_numeric($media_id)){
112
+
113
+ if ( !function_exists( 'libxml_disable_entity_loader' ) ) {
114
+ $errors[] = __('XML import is not enabled on your server.', 'formidable');
115
+ self::form($errors);
116
+ return;
117
+ }
118
+
119
+ include_once(FrmAppHelper::plugin_path() .'/classes/helpers/FrmXMLHelper.php');
120
+
121
+ $set_err = libxml_use_internal_errors(true);
122
+ $loader = libxml_disable_entity_loader( true );
123
+
124
+ $result = FrmXMLHelper::import_xml($file);
125
+ if ( is_wp_error($result) ) {
126
+ $errors[] = $result->get_error_message();
127
+ } else if ( $result ) {
128
+ if ( is_array($result) ) {
129
+ $t_strings = array(
130
+ 'imported' => __('Imported', 'formidable'),
131
+ 'updated' => __('Updated', 'formidable'),
132
+ );
133
+
134
+ $message = '<ul>';
135
+ foreach ( $result as $type => $results ) {
136
+ if ( !isset($t_strings[$type]) ) {
137
+ // only print imported and updated
138
+ continue;
139
+ }
140
+
141
+ $s_message = array();
142
+ foreach ( $results as $k => $m ) {
143
+ if ( $m ) {
144
+ $strings = array(
145
+ 'forms' => sprintf(_n( '%1$s Form', '%1$s Forms', $m, 'formidable' ), $m ),
146
+ 'fields' => sprintf(_n( '%1$s Field', '%1$s Fields', $m, 'formidable' ), $m),
147
+ 'items' => sprintf(_n( '%1$s Entry', '%1$s Entries', $m, 'formidable' ), $m),
148
+ 'views' => sprintf(_n( '%1$s View', '%1$s Views', $m, 'formidable' ), $m),
149
+ 'posts' => sprintf(_n( '%1$s Post', '%1$s Posts', $m, 'formidable' ), $m),
150
+ 'terms' => sprintf(_n( '%1$s Term', '%1$s Terms', $m, 'formidable' ), $m),
151
+ );
152
+
153
+ $s_message[] = isset($strings[$k]) ? $strings[$k] : $t_strings[$type] .' '. $m .' '. ucfirst($k);
154
+ }
155
+ unset($k);
156
+ unset($m);
157
+ }
158
+
159
+ if ( !empty($s_message) ) {
160
+ $message .= '<li><strong>'. $t_strings[$type] .':</strong> ';
161
+ $message .= implode(', ', $s_message);
162
+ $message .= '</li>';
163
+ }
164
+
165
+ }
166
+
167
+ if ( $message == '<ul>' ) {
168
+ $message = '';
169
+ $errors[] = __('Nothing was imported or updated', 'formidable');
170
+ } else {
171
+ $message .= '</ul>';
172
+ }
173
+ } else {
174
+ $message = $result;
175
+ }
176
+ }
177
+
178
+ unset($file);
179
+
180
+ libxml_use_internal_errors( $set_err );
181
+ libxml_disable_entity_loader( $loader );
182
+ //}else{
183
+ // foreach ($media_id->errors as $error)
184
+ // echo $error[0];
185
+ //}
186
+
187
+ self::form($errors, $message);
188
+ }
189
+
190
+ public static function export_xml() {
191
+ if ( !current_user_can('frm_edit_forms') ) {
192
+ global $frm_settings;
193
+ echo $frm_settings->admin_permission;
194
+ die();
195
+ }
196
+
197
+ if (isset($_POST['frm_export_forms'])) {
198
+ $ids = $_POST['frm_export_forms'];
199
+ } else {
200
+ $ids = array();
201
+ }
202
+
203
+ if ( isset($_POST['type']) ){
204
+ $type = $_POST['type'];
205
+ }
206
+
207
+ $format = isset($_POST['format']) ? $_POST['format'] : 'xml';
208
+
209
+ if ( !headers_sent() && (!isset($type) || !$type) ) {
210
+ wp_redirect(admin_url('admin.php?page=formidable-import'));
211
+ die();
212
+ }
213
+
214
+ if ( $format == 'xml' ) {
215
+ self::generate_xml($type, compact('ids'));
216
+ } else {
217
+ do_action('frm_export_format_'. $format, compact('ids'));
218
+ }
219
+
220
+ die();
221
+ }
222
+
223
+ public static function export_xml_direct($controller = 'forms', $ids = false) {
224
+ if ( !current_user_can('frm_edit_forms') ) {
225
+ global $frm_settings;
226
+ wp_die($frm_settings->admin_permission);
227
+ }
228
+ $is_template = FrmAppHelper::get_param('is_template', false);
229
+ self::generate_xml($controller, compact('ids', 'is_template'));
230
+ die();
231
+ }
232
+
233
+ public static function generate_xml($type, $args = array() ) {
234
+ global $wpdb;
235
+
236
+ $type = (array)$type;
237
+ $tables = array(
238
+ 'items' => $wpdb->prefix .'frm_items',
239
+ 'forms' => $wpdb->prefix .'frm_forms',
240
+ 'views' => $wpdb->posts
241
+ );
242
+
243
+ $defaults = array('ids' => false);
244
+ $args = wp_parse_args( $args, $defaults );
245
+
246
+ $sitename = sanitize_key( get_bloginfo( 'name' ) );
247
+
248
+ if ( ! empty($sitename) ) $sitename .= '.';
249
+ $filename = $sitename . 'formidable.' . date( 'Y-m-d' ) . '.xml';
250
+
251
+ header( 'Content-Description: File Transfer' );
252
+ header( 'Content-Disposition: attachment; filename=' . $filename );
253
+ header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
254
+
255
+ //make sure ids are numeric
256
+ if(is_array($args['ids']) && !empty($args['ids']))
257
+ $args['ids'] = implode(',', array_filter( $args['ids'], 'is_numeric' ));
258
+
259
+ $records = array();
260
+
261
+ foreach($type as $tb_type){
262
+ $where = $join = '';
263
+ $table = $tables[$tb_type];
264
+
265
+ $select = "$table.id";
266
+
267
+ if($tb_type == 'forms'){
268
+ //add forms
269
+ $where = $wpdb->prepare( "$table.status != %s" , 'draft' );
270
+ if ( $args['ids'] )
271
+ $where .= " AND $table.id IN (". $args['ids'] .")";
272
+
273
+ } else if($tb_type == 'items') {
274
+ //$join = "INNER JOIN {$wpdb->prefix}frm_item_metas im ON ($table.id = im.item_id)";
275
+ if ( $args['ids'] ) {
276
+ $where = "$table.form_id IN (". $args['ids'] .")";
277
+ }
278
+ } else {
279
+ $select = "$table.ID";
280
+ $join = "INNER JOIN $wpdb->postmeta pm ON (pm.post_id=$table.ID)";
281
+ $where = "pm.meta_key='frm_form_id' AND pm.meta_value ";
282
+ if ( empty($args['ids']) ) {
283
+ $where .= "> 0";
284
+ } else {
285
+ $where .= "IN (". $args['ids'] .")";
286
+ }
287
+ }
288
+
289
+ if(!empty($where))
290
+ $where = "WHERE ". $where;
291
+
292
+ $records[$tb_type] = $wpdb->get_col( "SELECT $select FROM $table $join $where" );
293
+ unset($tb_type);
294
+ }
295
+
296
+ include_once(FrmAppHelper::plugin_path() .'/classes/helpers/FrmXMLHelper.php');
297
+
298
+ $frm_field = new FrmField();
299
+
300
+ echo '<?xml version="1.0" encoding="' . get_bloginfo('charset') . "\" ?>\n";
301
+ include(FrmAppHelper::plugin_path() .'/classes/views/xml/xml.php');
302
+ }
303
+
304
+ function allow_mime($mimes) {
305
+ if ( !isset($mimes['csv']) ) {
306
+ // allow csv files
307
+ $mimes['csv'] = 'text/csv';
308
+ }
309
+
310
+ if ( !isset($mimes['xml']) ) {
311
+ // allow xml
312
+ $mimes['xml'] = 'text/xml';
313
+ }
314
+
315
+ return $mimes;
316
+ }
317
+
318
+ }
classes/helpers/FrmAppHelper.php CHANGED
@@ -1,6 +1,36 @@
1
  <?php
 
 
 
 
2
 
3
  class FrmAppHelper{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  public static function get_param($param, $default='', $src='get'){
6
  if(strpos($param, '[')){
@@ -34,24 +64,14 @@ class FrmAppHelper{
34
  }
35
 
36
  public static function load_scripts($scripts){
37
- global $wp_version;
38
- if(version_compare( $wp_version, '3.3', '<')){
39
- global $wp_scripts;
40
- $wp_scripts->do_items( (array)$scripts );
41
- }else{
42
- foreach((array)$scripts as $s)
43
- wp_enqueue_script($s);
44
  }
45
  }
46
 
47
  public static function load_styles($styles){
48
- global $wp_version;
49
- if(version_compare( $wp_version, '3.3', '<')){
50
- global $wp_styles;
51
- $wp_styles->do_items( (array)$styles );
52
- }else{
53
- foreach((array)$styles as $s)
54
- wp_enqueue_style($s);
55
  }
56
  }
57
 
@@ -62,7 +82,7 @@ class FrmAppHelper{
62
  public static function wp_pages_dropdown($field_name, $page_id, $truncate=false){
63
  $pages = FrmAppHelper::get_pages();
64
  ?>
65
- <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-dropdown frm-pages-dropdown">
66
  <option value=""></option>
67
  <?php foreach($pages as $page){ ?>
68
  <option value="<?php echo $page->ID; ?>" <?php echo (((isset($_POST[$field_name]) and $_POST[$field_name] == $page->ID) or (!isset($_POST[$field_name]) and $page_id == $page->ID))?' selected="selected"':''); ?>><?php echo ($truncate)? FrmAppHelper::truncate($page->post_title, $truncate) : $page->post_title; ?> </option>
@@ -72,44 +92,50 @@ class FrmAppHelper{
72
  }
73
 
74
  public static function wp_roles_dropdown($field_name, $capability){
75
- global $frm_editable_roles;
76
  $field_value = FrmAppHelper::get_param($field_name);
77
- if(!$frm_editable_roles)
78
- $frm_editable_roles = get_editable_roles();
79
 
80
  ?>
81
- <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-dropdown frm-pages-dropdown">
82
- <?php foreach($frm_editable_roles as $role => $details){
83
  $name = translate_user_role($details['name'] ); ?>
84
  <option value="<?php echo esc_attr($role) ?>" <?php echo (((isset($_POST[$field_name]) and $_POST[$field_name] == $role) or (!isset($_POST[$field_name]) and $capability == $role))?' selected="selected"':''); ?>><?php echo $name ?> </option>
85
- <?php } ?>
 
 
 
86
  </select>
87
  <?php
88
  }
89
 
90
- static public function frm_capabilities(){
91
- global $frmpro_is_installed;
92
  $cap = array(
93
- 'frm_view_forms' => __('View Forms and Templates', 'formidable'),
94
- 'frm_edit_forms' => __('Add/Edit Forms and Templates', 'formidable'),
95
- 'frm_delete_forms' => __('Delete Forms and Templates', 'formidable'),
96
- 'frm_change_settings' => __('Access this Settings Page', 'formidable')
97
  );
98
- if($frmpro_is_installed){
99
  $cap['frm_view_entries'] = __('View Entries from Admin Area', 'formidable');
100
  $cap['frm_create_entries'] = __('Add Entries from Admin Area', 'formidable');
101
  $cap['frm_edit_entries'] = __('Edit Entries from Admin Area', 'formidable');
102
  $cap['frm_delete_entries'] = __('Delete Entries from Admin Area', 'formidable');
103
  $cap['frm_view_reports'] = __('View Reports', 'formidable');
104
- $cap['frm_edit_displays'] = __('Add/Edit Custom Displays', 'formidable');
105
  }
106
  return $cap;
107
  }
108
 
109
- public static function user_has_permission($needed_role){
 
 
 
110
  if($needed_role == '' or current_user_can($needed_role))
111
  return true;
112
-
113
  $roles = array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' );
114
  foreach ($roles as $role){
115
  if (current_user_can($role))
@@ -120,13 +146,6 @@ class FrmAppHelper{
120
  return false;
121
  }
122
 
123
- public static function is_super_admin($user_id=false){
124
- if(function_exists('is_super_admin'))
125
- return is_super_admin($user_id);
126
- else
127
- return is_site_admin($user_id);
128
- }
129
-
130
  public static function checked($values, $current){
131
  if(FrmAppHelper::check_selected($values, $current))
132
  echo ' checked="checked"';
@@ -193,6 +212,10 @@ class FrmAppHelper{
193
  return $ver;
194
  }
195
 
 
 
 
 
196
  public static function get_file_contents($filename){
197
  if (is_file($filename)){
198
  ob_start();
@@ -210,10 +233,7 @@ class FrmAppHelper{
210
  $key = '';
211
 
212
  if (!empty($name)){
213
- if(function_exists('sanitize_key'))
214
- $key = sanitize_key($name);
215
- else
216
- $key = sanitize_title_with_dashes($name);
217
  }
218
 
219
  if(empty($key)){
@@ -243,10 +263,10 @@ class FrmAppHelper{
243
  //Editing a Form or Entry
244
  public static function setup_edit_vars($record, $table, $fields='', $default=false, $post_values=array()){
245
  if(!$record) return false;
246
- global $frm_entry_meta, $frm_form, $frm_settings, $frm_sidebar_width;
247
 
248
  if(empty($post_values))
249
- $post_values = $_POST;
250
 
251
  $values = array('id' => $record->id, 'fields' => array());
252
 
@@ -254,10 +274,9 @@ class FrmAppHelper{
254
  $values[$var] = FrmAppHelper::get_param($var, $default_val);
255
 
256
  if(apply_filters('frm_use_wpautop', true))
257
- $values['description'] = wpautop($values['description']);
258
 
259
- if ($fields){
260
- foreach($fields as $field){
261
 
262
  if ($default){
263
  $meta_value = $field->default_value;
@@ -274,7 +293,7 @@ class FrmAppHelper{
274
  }
275
 
276
  $field_type = isset($post_values['field_options']['type_'.$field->id]) ? $post_values['field_options']['type_'.$field->id] : $field->type;
277
- $new_value = (isset($post_values['item_meta'][$field->id])) ? stripslashes_deep(maybe_unserialize($post_values['item_meta'][$field->id])) : $meta_value;
278
 
279
  $field_array = array(
280
  'id' => $field->id,
@@ -302,14 +321,14 @@ class FrmAppHelper{
302
  $opt_defaults = FrmFieldsHelper::get_default_field_opts($field_array['type'], $field, true);
303
 
304
  foreach ($opt_defaults as $opt => $default_opt){
305
- $field_array[$opt] = ($post_values and isset($post_values['field_options'][$opt.'_'.$field->id]) ) ? stripslashes_deep(maybe_unserialize($post_values['field_options'][$opt.'_'.$field->id])) : (isset($field->field_options[$opt]) ? $field->field_options[$opt] : $default_opt);
306
  if($opt == 'blank' and $field_array[$opt] == ''){
307
  $field_array[$opt] = $frm_settings->blank_msg;
308
  }else if($opt == 'invalid' and $field_array[$opt] == ''){
309
  if($field_type == 'captcha')
310
  $field_array[$opt] = $frm_settings->re_msg;
311
  else
312
- $field_array[$opt] = $field_array['name'] . ' ' . __('is invalid', 'formidable');
313
  }
314
  }
315
 
@@ -319,10 +338,13 @@ class FrmAppHelper{
319
  $field_array['custom_html'] = FrmFieldsHelper::get_default_html($field_type);
320
 
321
  if ($field_array['size'] == '')
322
- $field_array['size'] = $frm_sidebar_width;
323
 
324
  $field_array = apply_filters('frm_setup_edit_fields_vars', $field_array, $field, $values['id']);
325
 
 
 
 
326
  foreach((array)$field->field_options as $k => $v){
327
  if(!isset($field_array[$k]))
328
  $field_array[$k] = $v;
@@ -334,12 +356,10 @@ class FrmAppHelper{
334
 
335
  unset($field);
336
  }
337
- }
338
 
339
- if ($table == 'entries')
340
- $form = $frm_form->getOne( $record->form_id );
341
- else if ($table == 'forms')
342
- $form = $frm_form->getOne( $record->id );
343
 
344
  if ($form){
345
  $form->options = maybe_unserialize($form->options);
@@ -347,9 +367,9 @@ class FrmAppHelper{
347
  if (is_array($form->options)){
348
  foreach ($form->options as $opt => $value){
349
  if(in_array($opt, array('email_to', 'reply_to', 'reply_to_name')))
350
- $values['notification'][0][$opt] = isset($post_values["notification[0][$opt]"]) ? stripslashes_deep(maybe_unserialize($post_values["notification[0][$opt]"])) : $value;
351
 
352
- $values[$opt] = isset($post_values[$opt]) ? stripslashes_deep(maybe_unserialize($post_values[$opt])) : $value;
353
  }
354
  }
355
  }
@@ -371,24 +391,33 @@ class FrmAppHelper{
371
  }
372
  }else{
373
  $values[$opt] = ($post_values and isset($post_values['options'][$opt])) ? $post_values['options'][$opt] : $default;
 
 
 
 
 
 
 
 
 
 
 
374
  }
375
  }
 
376
  unset($opt);
377
  unset($defaut);
378
  }
379
-
380
  if (!isset($values['custom_style']))
381
  $values['custom_style'] = ($post_values and isset($post_values['options']['custom_style'])) ? $_POST['options']['custom_style'] : ($frm_settings->load_style != 'none');
382
 
383
- if (!isset($values['before_html']))
384
- $values['before_html'] = (isset($post_values['options']['before_html']) ? $post_values['options']['before_html'] : FrmFormsHelper::get_default_html('before'));
385
-
386
- if (!isset($values['after_html']))
387
- $values['after_html'] = (isset($post_values['options']['after_html']) ? $post_values['options']['after_html'] : FrmFormsHelper::get_default_html('after'));
388
 
389
- if (!isset($values['submit_html']))
390
- $values['submit_html'] = (isset($post_values['options']['submit_html']) ? $post_values['options']['submit_html'] : FrmFormsHelper::get_default_html('submit'));
391
-
392
  if ($table == 'entries')
393
  $values = FrmEntriesHelper::setup_edit_vars( $values, $record );
394
  else if ($table == 'forms')
@@ -402,13 +431,13 @@ class FrmAppHelper{
402
 
403
  $class = '';
404
 
405
- if(in_array($type, array('email', 'user_id', 'hidden', 'select', 'radio', 'checkbox')))
406
  $class .= 'show_frm_not_email_to';
407
  ?>
408
  <li>
409
- <a class="frmids alignright <?php echo $class ?>" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $id ?>');return false;" href="#">[<?php echo $id ?>]</a>
410
- <a class="frmkeys alignright <?php echo $class ?>" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $key ?>');return false;" href="#">[<?php echo FrmAppHelper::truncate($key, 10) ?>]</a>
411
- <a class="<?php echo $class ?>" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $id ?>');return false;" href="#"><?php echo FrmAppHelper::truncate($name, 60) ?></a>
412
  </li>
413
  <?php
414
  }
@@ -416,7 +445,8 @@ class FrmAppHelper{
416
  public static function get_us_states(){
417
  return apply_filters('frm_us_states', array(
418
  'AL' => 'Alabama', 'AK' => 'Alaska', 'AR' => 'Arkansas', 'AZ' => 'Arizona',
419
- 'CA' => 'California', 'CO' => 'Colorado', 'CT' => 'Connecticut', 'DE' => 'Delaware',
 
420
  'FL' => 'Florida', 'GA' => 'Georgia', 'HI' => 'Hawaii', 'ID' => 'Idaho',
421
  'IL' => 'Illinois', 'IN' => 'Indiana', 'IA' => 'Iowa', 'KS' => 'Kansas',
422
  'KY' => 'Kentucky', 'LA' => 'Louisiana', 'ME' => 'Maine','MD' => 'Maryland',
@@ -508,26 +538,10 @@ class FrmAppHelper{
508
  ));
509
  }
510
 
511
- public static function frm_get_main_message( $message = ''){
512
- global $frmpro_is_installed;
513
-
514
- //if($frmpro_is_installed)
515
- return $message;
516
-
517
- $frm_update = new FrmUpdatesController();
518
-
519
- include_once(ABSPATH.'/wp-includes/class-IXR.php');
520
-
521
- $url = ($frmpro_is_installed or $frm_update->pro_is_authorized()) ? 'http://formidablepro.com/' : 'http://blog.strategy11.com/';
522
- $client = new IXR_Client($url.'xmlrpc.php', false, 80, 5);
523
-
524
- if ($client->query('frm.get_main_message'))
525
- $message = $client->getResponse();
526
-
527
- return $message;
528
- }
529
-
530
  public static function truncate($str, $length, $minword = 3, $continue = '...'){
 
 
 
531
  $length = (int)$length;
532
  $str = strip_tags($str);
533
  $original_len = (function_exists('mb_strlen')) ? mb_strlen($str) : strlen($str);
@@ -560,12 +574,16 @@ class FrmAppHelper{
560
  }
561
 
562
  public static function prepend_and_or_where( $starts_with = ' WHERE ', $where = '' ){
 
 
 
 
563
  if(is_array($where)){
564
  global $frmdb, $wpdb;
565
  extract($frmdb->get_where_clause_and_values( $where ));
566
  $where = $wpdb->prepare($where, $values);
567
  }else{
568
- $where = (( $where == '' ) ? '' : $starts_with . $where);
569
  }
570
 
571
  return $where;
@@ -588,22 +606,6 @@ class FrmAppHelper{
588
  $query = 'SELECT COUNT(*) FROM ' . $table_name . FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
589
  return $wpdb->get_var($query);
590
  }
591
-
592
- public static function getPageCount($p_size, $where="", $table_name){
593
- if(is_numeric($where))
594
- return ceil((int)$where / (int)$p_size);
595
- else
596
- return ceil((int)self::getRecordCount($where, $table_name) / (int)$p_size);
597
- }
598
-
599
- public static function getPage($current_p,$p_size, $where = "", $order_by = '', $table_name){
600
- global $wpdb;
601
- $end_index = $current_p * $p_size;
602
- $start_index = $end_index - $p_size;
603
- $query = 'SELECT * FROM ' . $table_name . FrmAppHelper::prepend_and_or_where(' WHERE', $where) . $order_by .' LIMIT ' . $start_index . ',' . $p_size;
604
- $results = $wpdb->get_results($query);
605
- return $results;
606
- }
607
 
608
  public static function get_referer_query($query) {
609
  if (strpos($query, "google.")) {
@@ -639,7 +641,7 @@ class FrmAppHelper{
639
 
640
  $referrerinfo .= "\r\n";
641
  }else{
642
- $referrerinfo = $_SERVER['HTTP_REFERER'];
643
  }
644
 
645
  $i = 1;
@@ -706,4 +708,16 @@ class FrmAppHelper{
706
  return $vars;
707
  }
708
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  }
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
+
4
+ if(class_exists('FrmAppHelper'))
5
+ return;
6
 
7
  class FrmAppHelper{
8
+ public static $db_version = 11; //version of the database we are moving to (skip 12)
9
+ public static $pro_db_version = 24;
10
+
11
+ public static function plugin_version(){
12
+ $plugin_data = get_file_data( WP_PLUGIN_DIR .'/formidable/formidable.php', array('Version' => 'Version'), 'plugin' );
13
+ return $plugin_data['Version'];
14
+ }
15
+
16
+ public static function plugin_path(){
17
+ return dirname(dirname(dirname(__FILE__)));
18
+ }
19
+
20
+ public static function plugin_url($url=''){
21
+ //prevously FRM_URL constant
22
+ if(empty($url))
23
+ $url = plugins_url('', 'formidable/formidable.php');
24
+ if(is_ssl() and !preg_match('/^https:\/\/.*\..*$/', $url))
25
+ $url = str_replace('http://', 'https://', $url);
26
+
27
+ return $url;
28
+ }
29
+
30
+ public static function site_url(){
31
+ $url = self::plugin_url(site_url());
32
+ return $url;
33
+ }
34
 
35
  public static function get_param($param, $default='', $src='get'){
36
  if(strpos($param, '[')){
64
  }
65
 
66
  public static function load_scripts($scripts){
67
+ foreach ( (array) $scripts as $s ) {
68
+ wp_enqueue_script($s);
 
 
 
 
 
69
  }
70
  }
71
 
72
  public static function load_styles($styles){
73
+ foreach ( (array) $styles as $s ) {
74
+ wp_enqueue_style($s);
 
 
 
 
 
75
  }
76
  }
77
 
82
  public static function wp_pages_dropdown($field_name, $page_id, $truncate=false){
83
  $pages = FrmAppHelper::get_pages();
84
  ?>
85
+ <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-pages-dropdown">
86
  <option value=""></option>
87
  <?php foreach($pages as $page){ ?>
88
  <option value="<?php echo $page->ID; ?>" <?php echo (((isset($_POST[$field_name]) and $_POST[$field_name] == $page->ID) or (!isset($_POST[$field_name]) and $page_id == $page->ID))?' selected="selected"':''); ?>><?php echo ($truncate)? FrmAppHelper::truncate($page->post_title, $truncate) : $page->post_title; ?> </option>
92
  }
93
 
94
  public static function wp_roles_dropdown($field_name, $capability){
95
+ global $frm_vars;
96
  $field_value = FrmAppHelper::get_param($field_name);
97
+ if(!isset($frm_vars['editable_roles']) or !$frm_vars['editable_roles'])
98
+ $frm_vars['editable_roles'] = get_editable_roles();
99
 
100
  ?>
101
+ <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-pages-dropdown">
102
+ <?php foreach($frm_vars['editable_roles'] as $role => $details){
103
  $name = translate_user_role($details['name'] ); ?>
104
  <option value="<?php echo esc_attr($role) ?>" <?php echo (((isset($_POST[$field_name]) and $_POST[$field_name] == $role) or (!isset($_POST[$field_name]) and $capability == $role))?' selected="selected"':''); ?>><?php echo $name ?> </option>
105
+ <?php
106
+ unset($role);
107
+ unset($details);
108
+ } ?>
109
  </select>
110
  <?php
111
  }
112
 
113
+ public static function frm_capabilities(){
114
+ global $frm_vars;
115
  $cap = array(
116
+ 'frm_view_forms' => __('View Forms and Templates', 'formidable'),
117
+ 'frm_edit_forms' => __('Add/Edit Forms and Templates', 'formidable'),
118
+ 'frm_delete_forms' => __('Delete Forms and Templates', 'formidable'),
119
+ 'frm_change_settings' => __('Access this Settings Page', 'formidable')
120
  );
121
+ if($frm_vars['pro_is_installed']){
122
  $cap['frm_view_entries'] = __('View Entries from Admin Area', 'formidable');
123
  $cap['frm_create_entries'] = __('Add Entries from Admin Area', 'formidable');
124
  $cap['frm_edit_entries'] = __('Edit Entries from Admin Area', 'formidable');
125
  $cap['frm_delete_entries'] = __('Delete Entries from Admin Area', 'formidable');
126
  $cap['frm_view_reports'] = __('View Reports', 'formidable');
127
+ $cap['frm_edit_displays'] = __('Add/Edit Views', 'formidable');
128
  }
129
  return $cap;
130
  }
131
 
132
+ public static function user_has_permission($needed_role){
133
+ if($needed_role == '-1')
134
+ return false;
135
+
136
  if($needed_role == '' or current_user_can($needed_role))
137
  return true;
138
+
139
  $roles = array( 'administrator', 'editor', 'author', 'contributor', 'subscriber' );
140
  foreach ($roles as $role){
141
  if (current_user_can($role))
146
  return false;
147
  }
148
 
 
 
 
 
 
 
 
149
  public static function checked($values, $current){
150
  if(FrmAppHelper::check_selected($values, $current))
151
  echo ' checked="checked"';
212
  return $ver;
213
  }
214
 
215
+ public static function js_redirect($url){
216
+ return '<script type="text/javascript">window.location="'. $url .'"</script>';
217
+ }
218
+
219
  public static function get_file_contents($filename){
220
  if (is_file($filename)){
221
  ob_start();
233
  $key = '';
234
 
235
  if (!empty($name)){
236
+ $key = sanitize_key($name);
 
 
 
237
  }
238
 
239
  if(empty($key)){
263
  //Editing a Form or Entry
264
  public static function setup_edit_vars($record, $table, $fields='', $default=false, $post_values=array()){
265
  if(!$record) return false;
266
+ global $frm_entry_meta, $frm_settings, $frm_vars;
267
 
268
  if(empty($post_values))
269
+ $post_values = stripslashes_deep($_POST);
270
 
271
  $values = array('id' => $record->id, 'fields' => array());
272
 
274
  $values[$var] = FrmAppHelper::get_param($var, $default_val);
275
 
276
  if(apply_filters('frm_use_wpautop', true))
277
+ $values['description'] = wpautop(str_replace( '<br>', '<br />', $values['description']));
278
 
279
+ foreach((array)$fields as $field){
 
280
 
281
  if ($default){
282
  $meta_value = $field->default_value;
293
  }
294
 
295
  $field_type = isset($post_values['field_options']['type_'.$field->id]) ? $post_values['field_options']['type_'.$field->id] : $field->type;
296
+ $new_value = isset($post_values['item_meta'][$field->id]) ? maybe_unserialize($post_values['item_meta'][$field->id]) : $meta_value;
297
 
298
  $field_array = array(
299
  'id' => $field->id,
321
  $opt_defaults = FrmFieldsHelper::get_default_field_opts($field_array['type'], $field, true);
322
 
323
  foreach ($opt_defaults as $opt => $default_opt){
324
+ $field_array[$opt] = ($post_values && isset($post_values['field_options'][$opt.'_'.$field->id]) ) ? maybe_unserialize($post_values['field_options'][$opt.'_'.$field->id]) : (isset($field->field_options[$opt]) ? $field->field_options[$opt] : $default_opt);
325
  if($opt == 'blank' and $field_array[$opt] == ''){
326
  $field_array[$opt] = $frm_settings->blank_msg;
327
  }else if($opt == 'invalid' and $field_array[$opt] == ''){
328
  if($field_type == 'captcha')
329
  $field_array[$opt] = $frm_settings->re_msg;
330
  else
331
+ $field_array[$opt] = sprintf(__('%s is invalid', 'formidable'), $field_array['name']);
332
  }
333
  }
334
 
338
  $field_array['custom_html'] = FrmFieldsHelper::get_default_html($field_type);
339
 
340
  if ($field_array['size'] == '')
341
+ $field_array['size'] = isset($frm_vars['sidebar_width']) ? $frm_vars['sidebar_width'] : '';
342
 
343
  $field_array = apply_filters('frm_setup_edit_fields_vars', $field_array, $field, $values['id']);
344
 
345
+ if(!isset($field_array['unique']) or !$field_array['unique'])
346
+ $field_array['unique_msg'] = '';
347
+
348
  foreach((array)$field->field_options as $k => $v){
349
  if(!isset($field_array[$k]))
350
  $field_array[$k] = $v;
356
 
357
  unset($field);
358
  }
 
359
 
360
+ $frm_form = new FrmForm();
361
+ $form = $frm_form->getOne( $table == 'entries' ? $record->form_id : $record->id );
362
+ unset($frm_form);
 
363
 
364
  if ($form){
365
  $form->options = maybe_unserialize($form->options);
367
  if (is_array($form->options)){
368
  foreach ($form->options as $opt => $value){
369
  if(in_array($opt, array('email_to', 'reply_to', 'reply_to_name')))
370
+ $values['notification'][0][$opt] = isset($post_values["notification[0][$opt]"]) ? maybe_unserialize($post_values["notification[0][$opt]"]) : $value;
371
 
372
+ $values[$opt] = isset($post_values[$opt]) ? maybe_unserialize($post_values[$opt]) : $value;
373
  }
374
  }
375
  }
391
  }
392
  }else{
393
  $values[$opt] = ($post_values and isset($post_values['options'][$opt])) ? $post_values['options'][$opt] : $default;
394
+ }
395
+ }else if($values[$opt] == 'notification'){
396
+ foreach($values[$opt] as $k => $n){
397
+ foreach($default as $o => $d){
398
+ if(!isset($n[$o]))
399
+ $values[$opt][$k][$o] = ($post_values and isset($post_values[$opt][$k][$o])) ? $post_values[$opt][$k][$o] : $d;
400
+ unset($o);
401
+ unset($d);
402
+ }
403
+ unset($k);
404
+ unset($n);
405
  }
406
  }
407
+
408
  unset($opt);
409
  unset($defaut);
410
  }
411
+
412
  if (!isset($values['custom_style']))
413
  $values['custom_style'] = ($post_values and isset($post_values['options']['custom_style'])) ? $_POST['options']['custom_style'] : ($frm_settings->load_style != 'none');
414
 
415
+ foreach(array('before', 'after', 'submit') as $h){
416
+ if (!isset($values[$h.'_html']))
417
+ $values[$h .'_html'] = (isset($post_values['options'][$h .'_html']) ? $post_values['options'][$h .'_html'] : FrmFormsHelper::get_default_html($h));
418
+ unset($h);
419
+ }
420
 
 
 
 
421
  if ($table == 'entries')
422
  $values = FrmEntriesHelper::setup_edit_vars( $values, $record );
423
  else if ($table == 'forms')
431
 
432
  $class = '';
433
 
434
+ if(in_array($type, array('email', 'user_id', 'hidden', 'select', 'radio', 'checkbox', 'phone')))
435
  $class .= 'show_frm_not_email_to';
436
  ?>
437
  <li>
438
+ <a class="frmids frm_insert_code alignright <?php echo $class ?>" data-code="<?php echo esc_attr($id) ?>" href="javascript:void(0)">[<?php echo $id ?>]</a>
439
+ <a class="frmkeys frm_insert_code alignright <?php echo $class ?>" data-code="<?php echo esc_attr($key) ?>" href="javascript:void(0)">[<?php echo FrmAppHelper::truncate($key, 10) ?>]</a>
440
+ <a class="frm_insert_code <?php echo $class ?>" data-code="<?php echo esc_attr($id) ?>" href="javascript:void(0)"><?php echo FrmAppHelper::truncate($name, 60) ?></a>
441
  </li>
442
  <?php
443
  }
445
  public static function get_us_states(){
446
  return apply_filters('frm_us_states', array(
447
  'AL' => 'Alabama', 'AK' => 'Alaska', 'AR' => 'Arkansas', 'AZ' => 'Arizona',
448
+ 'CA' => 'California', 'CO' => 'Colorado', 'CT' => 'Connecticut', 'DE' => 'Delaware',
449
+ 'DC' => 'District of Columbia',
450
  'FL' => 'Florida', 'GA' => 'Georgia', 'HI' => 'Hawaii', 'ID' => 'Idaho',
451
  'IL' => 'Illinois', 'IN' => 'Indiana', 'IA' => 'Iowa', 'KS' => 'Kansas',
452
  'KY' => 'Kentucky', 'LA' => 'Louisiana', 'ME' => 'Maine','MD' => 'Maryland',
538
  ));
539
  }
540
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
541
  public static function truncate($str, $length, $minword = 3, $continue = '...'){
542
+ if(is_array($str))
543
+ return;
544
+
545
  $length = (int)$length;
546
  $str = strip_tags($str);
547
  $original_len = (function_exists('mb_strlen')) ? mb_strlen($str) : strlen($str);
574
  }
575
 
576
  public static function prepend_and_or_where( $starts_with = ' WHERE ', $where = '' ){
577
+ if ( empty($where) ) {
578
+ return '';
579
+ }
580
+
581
  if(is_array($where)){
582
  global $frmdb, $wpdb;
583
  extract($frmdb->get_where_clause_and_values( $where ));
584
  $where = $wpdb->prepare($where, $values);
585
  }else{
586
+ $where = $starts_with . $where;
587
  }
588
 
589
  return $where;
606
  $query = 'SELECT COUNT(*) FROM ' . $table_name . FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
607
  return $wpdb->get_var($query);
608
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
609
 
610
  public static function get_referer_query($query) {
611
  if (strpos($query, "google.")) {
641
 
642
  $referrerinfo .= "\r\n";
643
  }else{
644
+ $referrerinfo = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
645
  }
646
 
647
  $i = 1;
708
  return $vars;
709
  }
710
 
711
+ public static function maybe_json_decode($string){
712
+ $new_string = json_decode($string, true);
713
+ if ( function_exists('json_last_error') ) { // php 5.3+
714
+ if ( json_last_error() == JSON_ERROR_NONE ) {
715
+ $string = $new_string;
716
+ }
717
+ } else if ( isset($new_string) ) { // php < 5.3 fallback
718
+ $string = $new_string;
719
+ }
720
+ return $string;
721
+ }
722
+
723
  }
classes/helpers/FrmEntriesHelper.php CHANGED
@@ -1,35 +1,56 @@
1
  <?php
2
 
 
 
 
 
 
3
  class FrmEntriesHelper{
4
 
5
  public static function setup_new_vars($fields, $form='', $reset=false){
6
- global $frm_form, $frm_settings, $frm_sidebar_width;
7
  $values = array();
8
  foreach (array('name' => '', 'description' => '', 'item_key' => '') as $var => $default)
9
  $values[$var] = FrmAppHelper::get_post_param($var, $default);
10
-
11
  $values['fields'] = array();
12
- if ($fields){
13
- foreach($fields as $field){
14
- $field->field_options = maybe_unserialize($field->field_options);
15
- $default = $field->default_value;
16
-
17
- if ($reset)
18
- $new_value = $default;
19
- else
20
- $new_value = ($_POST and isset($_POST['item_meta'][$field->id]) and $_POST['item_meta'][$field->id] != '') ? stripslashes_deep($_POST['item_meta'][$field->id]) : $default;
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
- $is_default = ($new_value == $default) ? true : false;
23
-
24
- if (!is_array($new_value))
25
- $new_value = apply_filters('frm_get_default_value', $new_value, $field);
 
 
 
 
26
 
27
  $new_value = str_replace('"', '&quot;', $new_value);
28
- if($is_default)
29
- $field->default_value = $new_value;
30
- else
31
- $field->default_value = apply_filters('frm_get_default_value', $field->default_value, $field);
32
-
33
  $field_array = array(
34
  'id' => $field->id,
35
  'value' => $new_value,
@@ -56,7 +77,7 @@ class FrmEntriesHelper{
56
  unset($opt_defaults);
57
 
58
  if ($field_array['size'] == '')
59
- $field_array['size'] = $frm_sidebar_width;
60
 
61
 
62
  if ($field_array['custom_html'] == '')
@@ -73,9 +94,11 @@ class FrmEntriesHelper{
73
 
74
  $values['fields'][] = $field_array;
75
 
76
- if (!$form or !isset($form->id))
 
77
  $form = $frm_form->getOne($field->form_id);
78
- }
 
79
 
80
  $form->options = maybe_unserialize($form->options);
81
  if (is_array($form->options)){
@@ -106,24 +129,27 @@ class FrmEntriesHelper{
106
 
107
  if (!isset($values['submit_html']))
108
  $values['submit_html'] = FrmFormsHelper::get_default_html('submit');
109
- }
110
 
111
  return apply_filters('frm_setup_new_entry', $values);
112
  }
113
 
114
  public static function setup_edit_vars($values, $record){
115
  //$values['description'] = maybe_unserialize( $record->description );
116
- $values['item_key'] = ($_POST and isset($_POST['item_key'])) ? $_POST['item_key'] : $record->item_key;
117
  $values['form_id'] = $record->form_id;
 
118
  return apply_filters('frm_setup_edit_entry_vars', $values, $record);
119
  }
120
 
121
  public static function entries_dropdown( $form_id, $field_name, $field_value='', $blank=true, $blank_label='', $onchange=false ){
122
  global $wpdb, $frmdb;
123
 
124
- $entries = $frmdb->get_records($frmdb->entries, array('form_id' => $form_id), 'name', 999, 'id,item_key,name');
 
 
 
125
  ?>
126
- <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-dropdown" <?php if ($onchange) echo 'onchange="'.$onchange.'"'; ?>>
127
  <?php if ($blank){ ?>
128
  <option value=""><?php echo $blank_label; ?></option>
129
  <?php } ?>
1
  <?php
2
 
3
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
4
+
5
+ if(class_exists('FrmEntriesHelper'))
6
+ return;
7
+
8
  class FrmEntriesHelper{
9
 
10
  public static function setup_new_vars($fields, $form='', $reset=false){
11
+ global $frm_settings, $frm_vars;
12
  $values = array();
13
  foreach (array('name' => '', 'description' => '', 'item_key' => '') as $var => $default)
14
  $values[$var] = FrmAppHelper::get_post_param($var, $default);
15
+
16
  $values['fields'] = array();
17
+ if (empty($fields)){
18
+ return apply_filters('frm_setup_new_entry', $values);
19
+ }
20
+
21
+ foreach ( (array) $fields as $field ) {
22
+ $field->field_options = maybe_unserialize($field->field_options);
23
+ $default = $field->default_value;
24
+ $posted_val = false;
25
+
26
+ if ( $reset ) {
27
+ $new_value = $default;
28
+ } else if ( $_POST && isset($_POST['item_meta'][$field->id]) && $_POST['item_meta'][$field->id] != '' ) {
29
+ $new_value = stripslashes_deep($_POST['item_meta'][$field->id]);
30
+ $posted_val = true;
31
+ } else if ( isset($field->field_options['clear_on_focus']) && $field->field_options['clear_on_focus'] ) {
32
+ $new_value = '';
33
+ } else {
34
+ $new_value = $default;
35
+ }
36
+
37
+ $is_default = ($new_value == $default) ? true : false;
38
 
39
+ $field->default_value = apply_filters('frm_get_default_value', $field->default_value, $field);
40
+
41
+ if ( !is_array($new_value) ) {
42
+ if ( $is_default ) {
43
+ $new_value = $field->default_value;
44
+ } else if ( !$posted_val ) {
45
+ $new_value = apply_filters('frm_filter_default_value', $new_value, $field);
46
+ }
47
 
48
  $new_value = str_replace('"', '&quot;', $new_value);
49
+ }
50
+
51
+ unset($is_default);
52
+ unset($posted_val);
53
+
54
  $field_array = array(
55
  'id' => $field->id,
56
  'value' => $new_value,
77
  unset($opt_defaults);
78
 
79
  if ($field_array['size'] == '')
80
+ $field_array['size'] = isset($frm_vars['sidebar_width']) ? $frm_vars['sidebar_width'] : '';
81
 
82
 
83
  if ($field_array['custom_html'] == '')
94
 
95
  $values['fields'][] = $field_array;
96
 
97
+ if (!$form or !isset($form->id)){
98
+ $frm_form = new FrmForm();
99
  $form = $frm_form->getOne($field->form_id);
100
+ }
101
+ }
102
 
103
  $form->options = maybe_unserialize($form->options);
104
  if (is_array($form->options)){
129
 
130
  if (!isset($values['submit_html']))
131
  $values['submit_html'] = FrmFormsHelper::get_default_html('submit');
 
132
 
133
  return apply_filters('frm_setup_new_entry', $values);
134
  }
135
 
136
  public static function setup_edit_vars($values, $record){
137
  //$values['description'] = maybe_unserialize( $record->description );
138
+ $values['item_key'] = isset($_POST['item_key']) ? $_POST['item_key'] : $record->item_key;
139
  $values['form_id'] = $record->form_id;
140
+ $values['is_draft'] = $record->is_draft;
141
  return apply_filters('frm_setup_edit_entry_vars', $values, $record);
142
  }
143
 
144
  public static function entries_dropdown( $form_id, $field_name, $field_value='', $blank=true, $blank_label='', $onchange=false ){
145
  global $wpdb, $frmdb;
146
 
147
+ $entries = $wpdb->get_results( $wpdb->prepare(
148
+ "SELECT id, item_key, name FROM {$wpdb->prefix}frm_items WHERE form_id=%d ORDER BY name ASC LIMIT 999",
149
+ $form_id
150
+ ) );
151
  ?>
152
+ <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" <?php if ($onchange) echo 'onchange="'. $onchange .'"'; ?>>
153
  <?php if ($blank){ ?>
154
  <option value=""><?php echo $blank_label; ?></option>
155
  <?php } ?>
classes/helpers/FrmFieldsHelper.php CHANGED
@@ -1,5 +1,10 @@
1
  <?php
2
 
 
 
 
 
 
3
  class FrmFieldsHelper{
4
 
5
  public static function field_selection(){
@@ -10,7 +15,6 @@ class FrmFieldsHelper{
10
  'radio' => __('Radio Buttons', 'formidable'),
11
  'select' => __('Dropdown', 'formidable'),
12
  'captcha' => __('reCAPTCHA', 'formidable')
13
- //'nucaptcha' => __('NuCaptcha (SPAM Control)', 'formidable')
14
  ));
15
 
16
  return $fields;
@@ -89,11 +93,15 @@ class FrmFieldsHelper{
89
  }
90
 
91
  public static function setup_edit_vars($record, $doing_ajax=false){
92
- global $frm_entry_meta, $frm_form;
93
 
94
  $values = array('id' => $record->id, 'form_id' => $record->form_id);
95
  $defaults = array('name' => $record->name, 'description' => $record->description);
96
- $default_opts = array('field_key' => $record->field_key, 'type' => $record->type, 'default_value'=> $record->default_value, 'field_order' => $record->field_order, 'required' => $record->required);
 
 
 
 
97
 
98
  if($doing_ajax){
99
  $values = $values + $defaults + $default_opts;
@@ -111,7 +119,9 @@ class FrmFieldsHelper{
111
  unset($default);
112
  }
113
 
 
114
  $values['form_name'] = ($record->form_id) ? $frm_form->getName( $record->form_id ) : '';
 
115
  }
116
 
117
  unset($defaults);
@@ -149,12 +159,12 @@ class FrmFieldsHelper{
149
  if($limit)
150
  return $field_options;
151
 
152
- global $frmdb, $frm_settings;
153
 
154
  $form_id = (is_numeric($field)) ? $field : $field->form_id;
155
 
156
- $key = is_numeric($field) ? FrmAppHelper::get_unique_key('', $frmdb->fields, 'field_key') : $field->field_key;
157
- $field_count = FrmAppHelper::getRecordCount("form_id='$form_id'", $frmdb->fields);
158
 
159
  return array(
160
  'name' => __('Untitled', 'formidable'), 'description' => '',
@@ -176,10 +186,13 @@ class FrmFieldsHelper{
176
  public static function get_default_html($type='text'){
177
  if (apply_filters('frm_normal_field_type_html', true, $type)){
178
  $input = (in_array($type, array('radio', 'checkbox', 'data'))) ? '<div class="frm_opt_container">[input]</div>' : '[input]';
 
 
 
179
 
180
  $default_html = <<<DEFAULT_HTML
181
  <div id="frm_field_[id]_container" class="frm_form_field form-field [required_class][error_class]">
182
- <label class="frm_primary_label">[field_name]
183
  <span class="frm_required">[required_label]</span>
184
  </label>
185
  $input
@@ -194,9 +207,6 @@ DEFAULT_HTML;
194
  }
195
 
196
  public static function replace_shortcodes($html, $field, $errors=array(), $form=false){
197
- global $frm_readonly;
198
-
199
- $html = stripslashes($html);
200
  $html = apply_filters('frm_before_replace_shortcodes', $html, $field, $errors, $form);
201
 
202
  $field_name = 'item_meta['. $field['id'] .']';
@@ -213,7 +223,7 @@ DEFAULT_HTML;
213
  $required = ($field['required'] == '0') ? '' : $field['required_indicator'];
214
  if(!is_array($errors))
215
  $errors = array();
216
- $error = (isset($errors['field'. $field['id']])) ? stripslashes($errors['field'. $field['id']]) : false;
217
  foreach (array('description' => $field['description'], 'required_label' => $required, 'error' => $error) as $code => $value){
218
  if (!$value or $value == '')
219
  $html = preg_replace('/(\[if\s+'.$code.'\])(.*?)(\[\/if\s+'.$code.'\])/mis', '', $html);
@@ -254,6 +264,7 @@ DEFAULT_HTML;
254
 
255
  //replace [input]
256
  preg_match_all("/\[(input|deletelink)\b(.*?)(?:(\/))?\]/s", $html, $shortcodes, PREG_PATTERN_ORDER);
 
257
 
258
  foreach ($shortcodes[0] as $short_key => $tag){
259
  $atts = shortcode_parse_atts( $shortcodes[2][$short_key] );
@@ -276,7 +287,7 @@ DEFAULT_HTML;
276
  unset($atts['class']);
277
  $field['shortcodes'] = $atts;
278
  ob_start();
279
- include(FRM_VIEWS_PATH.'/frm-fields/input.php');
280
  $replace_with = ob_get_contents();
281
  ob_end_clean();
282
  }else if($tag == 'deletelink' and class_exists('FrmProEntriesController'))
@@ -296,23 +307,28 @@ DEFAULT_HTML;
296
  }
297
  $html .= "\n";
298
 
299
- return apply_filters('frm_replace_shortcodes', $html, $field, array('errors' => $errors, 'form' => $form));
 
 
 
 
 
 
300
  }
301
 
302
  public static function display_recaptcha($field, $error=null){
303
- global $frm_settings;
304
 
305
  if(!function_exists('recaptcha_get_html'))
306
- require_once(FRM_PATH.'/classes/recaptchalib.php');
307
 
308
  $lang = apply_filters('frm_recaptcha_lang', $frm_settings->re_lang, $field);
309
 
310
- if(defined('DOING_AJAX')){
311
- global $frm_recaptcha_loaded;
312
- if(!$frm_recaptcha_loaded)
313
- $frm_recaptcha_loaded = '';
314
 
315
- $frm_recaptcha_loaded .= "Recaptcha.create('". $frm_settings->pubkey ."','field_". $field['field_key'] ."',{theme:'". $frm_settings->re_theme ."',lang:'". $lang ."'". apply_filters('frm_recaptcha_custom', '', $field) ."});";
316
  ?>
317
  <div id="field_<?php echo $field['field_key'] ?>"></div>
318
  <?php }else{ ?>
@@ -322,7 +338,7 @@ DEFAULT_HTML;
322
  }
323
 
324
  public static function dropdown_categories($args){
325
- global $frmpro_is_installed;
326
 
327
  $defaults = array('field' => false, 'name' => false, 'show_option_all' => ' ');
328
  extract(wp_parse_args($args, $defaults));
@@ -351,12 +367,11 @@ DEFAULT_HTML;
351
 
352
  $args = apply_filters('frm_dropdown_cat', $args, $field);
353
 
354
- if(class_exists('FrmProForm')){
355
- $post_type = FrmProForm::post_type($field['form_id']);
356
- if(function_exists('get_object_taxonomies')){
357
- $args['taxonomy'] = FrmProAppHelper::get_custom_taxonomy($post_type, $field);
358
- if(!$args['taxonomy'])
359
- return;
360
  }
361
  }
362
 
@@ -364,7 +379,7 @@ DEFAULT_HTML;
364
 
365
  $add_html = FrmFieldsController::input_html($field, false);
366
 
367
- if($frmpro_is_installed)
368
  $add_html .= FrmProFieldsController::input_html($field, false);
369
 
370
  $dropdown = str_replace("<select name='$name' id='$id' class='$class'", "<select name='$name' id='$id' ". $add_html, $dropdown);
@@ -384,14 +399,82 @@ DEFAULT_HTML;
384
  return $dropdown;
385
  }
386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
387
  public static function show_onfocus_js($field_id, $clear_on_focus){ ?>
388
- <a href="javascript:frm_clear_on_focus(<?php echo $field_id; ?>,<?php echo $clear_on_focus; ?>)" class="<?php echo ($clear_on_focus) ?'':'frm_inactive_icon '; ?>frm_default_val_icons frm_action_icon frm_reload_icon" id="clear_field_<?php echo $field_id; ?>" title="<?php printf(__('%1$sclear default value when field is clicked', 'formidable'), ($clear_on_focus) ? '': __('Do not', 'formidable').' ' ); ?>"></a>
389
  <?php
390
  }
391
 
392
  public static function show_default_blank_js($field_id, $default_blank){ ?>
393
- <a href="javascript:frm_default_blank(<?php echo $field_id; ?>,<?php echo $default_blank ?>)" class="<?php echo ($default_blank) ?'':'frm_inactive_icon '; ?>frm_default_val_icons frm_action_icon frm_error_icon" id="default_blank_<?php echo $field_id; ?>" title="<?php printf(__('Default value will %1$spass form validation', 'formidable'), ($default_blank) ? __('not', 'formidable').' ' :'' ); ?>"></a>
394
  <?php
395
  }
396
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  }
1
  <?php
2
 
3
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
4
+
5
+ if(class_exists('FrmFieldsHelper'))
6
+ return;
7
+
8
  class FrmFieldsHelper{
9
 
10
  public static function field_selection(){
15
  'radio' => __('Radio Buttons', 'formidable'),
16
  'select' => __('Dropdown', 'formidable'),
17
  'captcha' => __('reCAPTCHA', 'formidable')
 
18
  ));
19
 
20
  return $fields;
93
  }
94
 
95
  public static function setup_edit_vars($record, $doing_ajax=false){
96
+ global $frm_entry_meta;
97
 
98
  $values = array('id' => $record->id, 'form_id' => $record->form_id);
99
  $defaults = array('name' => $record->name, 'description' => $record->description);
100
+ $default_opts = array(
101
+ 'field_key' => $record->field_key, 'type' => $record->type,
102
+ 'default_value'=> $record->default_value, 'field_order' => $record->field_order,
103
+ 'required' => $record->required
104
+ );
105
 
106
  if($doing_ajax){
107
  $values = $values + $defaults + $default_opts;
119
  unset($default);
120
  }
121
 
122
+ $frm_form = new FrmForm();
123
  $values['form_name'] = ($record->form_id) ? $frm_form->getName( $record->form_id ) : '';
124
+ unset($frm_form);
125
  }
126
 
127
  unset($defaults);
159
  if($limit)
160
  return $field_options;
161
 
162
+ global $wpdb, $frm_settings;
163
 
164
  $form_id = (is_numeric($field)) ? $field : $field->form_id;
165
 
166
+ $key = is_numeric($field) ? FrmAppHelper::get_unique_key('', $wpdb->prefix .'frm_fields', 'field_key') : $field->field_key;
167
+ $field_count = FrmAppHelper::getRecordCount(array('form_id' => $form_id), $wpdb->prefix .'frm_fields');
168
 
169
  return array(
170
  'name' => __('Untitled', 'formidable'), 'description' => '',
186
  public static function get_default_html($type='text'){
187
  if (apply_filters('frm_normal_field_type_html', true, $type)){
188
  $input = (in_array($type, array('radio', 'checkbox', 'data'))) ? '<div class="frm_opt_container">[input]</div>' : '[input]';
189
+ $for = '';
190
+ if(!in_array($type, array('radio', 'checkbox', 'data', 'scale')))
191
+ $for = 'for="field_[key]"';
192
 
193
  $default_html = <<<DEFAULT_HTML
194
  <div id="frm_field_[id]_container" class="frm_form_field form-field [required_class][error_class]">
195
+ <label $for class="frm_primary_label">[field_name]
196
  <span class="frm_required">[required_label]</span>
197
  </label>
198
  $input
207
  }
208
 
209
  public static function replace_shortcodes($html, $field, $errors=array(), $form=false){
 
 
 
210
  $html = apply_filters('frm_before_replace_shortcodes', $html, $field, $errors, $form);
211
 
212
  $field_name = 'item_meta['. $field['id'] .']';
223
  $required = ($field['required'] == '0') ? '' : $field['required_indicator'];
224
  if(!is_array($errors))
225
  $errors = array();
226
+ $error = isset($errors['field'. $field['id']]) ? $errors['field'. $field['id']] : false;
227
  foreach (array('description' => $field['description'], 'required_label' => $required, 'error' => $error) as $code => $value){
228
  if (!$value or $value == '')
229
  $html = preg_replace('/(\[if\s+'.$code.'\])(.*?)(\[\/if\s+'.$code.'\])/mis', '', $html);
264
 
265
  //replace [input]
266
  preg_match_all("/\[(input|deletelink)\b(.*?)(?:(\/))?\]/s", $html, $shortcodes, PREG_PATTERN_ORDER);
267
+ global $frm_vars;
268
 
269
  foreach ($shortcodes[0] as $short_key => $tag){
270
  $atts = shortcode_parse_atts( $shortcodes[2][$short_key] );
287
  unset($atts['class']);
288
  $field['shortcodes'] = $atts;
289
  ob_start();
290
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/input.php');
291
  $replace_with = ob_get_contents();
292
  ob_end_clean();
293
  }else if($tag == 'deletelink' and class_exists('FrmProEntriesController'))
307
  }
308
  $html .= "\n";
309
 
310
+ $html = apply_filters('frm_replace_shortcodes', $html, $field, array('errors' => $errors, 'form' => $form));
311
+
312
+ // remove [collapse_this] when running the free version
313
+ if (preg_match('/\[(collapse_this)\]/s', $html))
314
+ $html = str_replace('[collapse_this]', '', $html);
315
+
316
+ return $html;
317
  }
318
 
319
  public static function display_recaptcha($field, $error=null){
320
+ global $frm_settings, $frm_vars;
321
 
322
  if(!function_exists('recaptcha_get_html'))
323
+ require(FrmAppHelper::plugin_path().'/classes/recaptchalib.php');
324
 
325
  $lang = apply_filters('frm_recaptcha_lang', $frm_settings->re_lang, $field);
326
 
327
+ if(defined('DOING_AJAX') and (!isset($frm_vars['preview']) or !$frm_vars['preview'])){
328
+ if(!isset($frm_vars['recaptcha_loaded']) or !$frm_vars['recaptcha_loaded'])
329
+ $frm_vars['recaptcha_loaded'] = '';
 
330
 
331
+ $frm_vars['recaptcha_loaded'] .= "Recaptcha.create('". $frm_settings->pubkey ."','field_". $field['field_key'] ."',{theme:'". $frm_settings->re_theme ."',lang:'". $lang ."'". apply_filters('frm_recaptcha_custom', '', $field) ."});";
332
  ?>
333
  <div id="field_<?php echo $field['field_key'] ?>"></div>
334
  <?php }else{ ?>
338
  }
339
 
340
  public static function dropdown_categories($args){
341
+ global $frm_vars;
342
 
343
  $defaults = array('field' => false, 'name' => false, 'show_option_all' => ' ');
344
  extract(wp_parse_args($args, $defaults));
367
 
368
  $args = apply_filters('frm_dropdown_cat', $args, $field);
369
 
370
+ if(class_exists('FrmProFormsHelper')){
371
+ $post_type = FrmProFormsHelper::post_type($field['form_id']);
372
+ $args['taxonomy'] = FrmProAppHelper::get_custom_taxonomy($post_type, $field);
373
+ if ( !$args['taxonomy'] ) {
374
+ return;
 
375
  }
376
  }
377
 
379
 
380
  $add_html = FrmFieldsController::input_html($field, false);
381
 
382
+ if($frm_vars['pro_is_installed'])
383
  $add_html .= FrmProFieldsController::input_html($field, false);
384
 
385
  $dropdown = str_replace("<select name='$name' id='$id' class='$class'", "<select name='$name' id='$id' ". $add_html, $dropdown);
399
  return $dropdown;
400
  }
401
 
402
+ public static function get_field_types($type){
403
+ $frm_field_selection = FrmFieldsHelper::field_selection();
404
+ $field_types = array();
405
+ $single_input = array(
406
+ 'text', 'textarea', 'rte', 'number', 'email', 'url',
407
+ 'image', 'file', 'date', 'phone', 'hidden', 'time',
408
+ 'user_id', 'tag', 'password'
409
+ );
410
+ $multiple_input = array('radio', 'checkbox', 'select', 'scale');
411
+ $other_type = array('divider', 'html', 'break');
412
+ $frm_pro_field_selection = FrmFieldsHelper::pro_field_selection();
413
+
414
+ if (in_array($type, $single_input)){
415
+ foreach($single_input as $input){
416
+ if (isset($frm_pro_field_selection[$input]))
417
+ $field_types[$input] = $frm_pro_field_selection[$input];
418
+ else
419
+ $field_types[$input] = $frm_field_selection[$input];
420
+ }
421
+ }else if (in_array($type, $multiple_input)){
422
+ foreach($multiple_input as $input){
423
+ if (isset($frm_pro_field_selection[$input]))
424
+ $field_types[$input] = $frm_pro_field_selection[$input];
425
+ else
426
+ $field_types[$input] = $frm_field_selection[$input];
427
+ }
428
+ }else if (in_array($type, $other_type)){
429
+ foreach($other_type as $input){
430
+ if (isset($frm_pro_field_selection[$input]))
431
+ $field_types[$input] = $frm_pro_field_selection[$input];
432
+ else
433
+ $field_types[$input] = $frm_field_selection[$input];
434
+ }
435
+ }
436
+
437
+ return $field_types;
438
+ }
439
+
440
  public static function show_onfocus_js($field_id, $clear_on_focus){ ?>
441
+ <a class="frm_bstooltip <?php echo ($clear_on_focus) ? '' : 'frm_inactive_icon '; ?>frm_default_val_icons frm_action_icon frm_reload_icon frm_icon_font" id="clear_field_<?php echo $field_id; ?>" title="<?php echo esc_attr($clear_on_focus ? __('Clear default value when typing', 'formidable') : __('Do not clear default value when typing', 'formidable')); ?>"></a>
442
  <?php
443
  }
444
 
445
  public static function show_default_blank_js($field_id, $default_blank){ ?>
446
+ <a class="frm_bstooltip <?php echo ($default_blank) ? '' :'frm_inactive_icon '; ?>frm_default_val_icons frm_action_icon frm_error_icon frm_icon_font" id="default_blank_<?php echo $field_id; ?>" title="<?php echo $default_blank ? __('Default value will NOT pass form validation', 'formidable') : __('Default value will pass form validation', 'formidable'); ?>"></a>
447
  <?php
448
  }
449
 
450
+ public static function switch_field_ids($val){
451
+ global $frm_duplicate_ids;
452
+ $replace = array();
453
+ $replace_with = array();
454
+ foreach((array)$frm_duplicate_ids as $old => $new){
455
+ $replace[] = '[if '. $old .']';
456
+ $replace_with[] = '[if '. $new .']';
457
+ $replace[] = '[if '. $old .' ';
458
+ $replace_with[] = '[if '. $new .' ';
459
+ $replace[] = '[/if '. $old .']';
460
+ $replace_with[] = '[/if '. $new .']';
461
+ $replace[] = '['. $old .']';
462
+ $replace_with[] = '['. $new .']';
463
+ $replace[] = '['. $old .' ';
464
+ $replace_with[] = '['. $new .' ';
465
+ unset($old);
466
+ unset($new);
467
+ }
468
+ if(is_array($val)){
469
+ foreach($val as $k => $v){
470
+ $val[$k] = str_replace($replace, $replace_with, $v);
471
+ unset($k);
472
+ unset($v);
473
+ }
474
+ }else{
475
+ $val = str_replace($replace, $replace_with, $val);
476
+ }
477
+
478
+ return $val;
479
+ }
480
  }
classes/helpers/FrmFormsHelper.php CHANGED
@@ -1,19 +1,20 @@
1
  <?php
 
 
 
 
2
 
3
  class FrmFormsHelper{
4
- public static function get_direct_link($key, $prli_link_id=false){
5
- global $frm_siteurl;
6
- $target_url = esc_url($frm_siteurl . '/index.php?plugin=formidable&controller=forms&frm_action=preview&form='.$key);
7
- if ($prli_link_id && class_exists('PrliLink')){
8
- $prli = prli_get_pretty_link_url($prli_link_id);
9
- if ($prli) $target_url = $prli;
10
- }
11
  return $target_url;
12
  }
13
 
14
  public static function get_template_dropdown($templates){ ?>
15
  <select id="select_form" name="select_form" onChange="frmAddNewForm(this.value,'duplicate')">
16
- <option value="">- <?php _e('Create Form from Template', 'formidable') ?> -</option>
17
  <?php foreach ($templates as $temp){ ?>
18
  <option value="<?php echo $temp->id ?>"><?php echo FrmAppHelper::truncate($temp->name, 40) ?></option>
19
  <?php }?>
@@ -22,14 +23,14 @@ class FrmFormsHelper{
22
  }
23
 
24
  public static function forms_dropdown( $field_name, $field_value='', $blank=true, $field_id=false, $onchange=false ){
25
- global $frm_form;
26
  if (!$field_id)
27
  $field_id = $field_name;
28
 
29
  $where = apply_filters('frm_forms_dropdown', "is_template=0 AND (status is NULL OR status = '' OR status = 'published')", $field_name);
 
30
  $forms = $frm_form->getAll($where, ' ORDER BY name');
31
  ?>
32
- <select name="<?php echo $field_name; ?>" id="<?php echo $field_id ?>" class="frm-dropdown" <?php if ($onchange) echo 'onchange="'.$onchange.'"'; ?>>
33
  <?php if ($blank){ ?>
34
  <option value=""><?php echo ($blank == 1) ? '' : '- '. $blank .' -'; ?></option>
35
  <?php } ?>
@@ -39,6 +40,48 @@ class FrmFormsHelper{
39
  </select>
40
  <?php
41
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  public static function get_sortable_classes($col, $sort_col, $sort_dir){
44
  echo ($sort_col == $col) ? 'sorted' : 'sortable';
@@ -46,7 +89,7 @@ class FrmFormsHelper{
46
  }
47
 
48
  public static function setup_new_vars($values=array()){
49
- global $frmdb, $frm_settings;
50
 
51
  if(!empty($values)){
52
  $post_values = $values;
@@ -55,13 +98,13 @@ class FrmFormsHelper{
55
  $post_values = $_POST;
56
  }
57
 
58
- foreach (array('name' => __('Untitled Form', 'formidable'), 'description' => '') as $var => $default){
59
  if(!isset($values[$var]))
60
  $values[$var] = FrmAppHelper::get_param($var, $default);
61
  }
62
 
63
  if(apply_filters('frm_use_wpautop', true))
64
- $values['description'] = wpautop($values['description']);
65
 
66
  foreach (array('form_id' => '', 'logged_in' => '', 'editable' => '', 'default_template' => 0, 'is_template' => 0) as $var => $default){
67
  if(!isset($values[$var]))
@@ -69,26 +112,9 @@ class FrmFormsHelper{
69
  }
70
 
71
  if(!isset($values['form_key']))
72
- $values['form_key'] = ($post_values and isset($post_values['form_key'])) ? $post_values['form_key'] : FrmAppHelper::get_unique_key('', $frmdb->forms, 'form_key');
73
 
74
- $defaults = FrmFormsHelper::get_default_opts();
75
- foreach ($defaults as $var => $default){
76
- if($var == 'notification'){
77
- if(!isset($values[$var]))
78
- $values[$var] = array();
79
-
80
- foreach($default as $k => $v){
81
- $values[$var][$k] = ($post_values and isset($post_values['notification'][$var])) ? $post_values['notification'][$var] : $v;
82
- unset($k);
83
- unset($v);
84
- }
85
- }else{
86
- $values[$var] = ($post_values and isset($post_values['options'][$var])) ? $post_values['options'][$var] : $default;
87
- }
88
-
89
- unset($var);
90
- unset($default);
91
- }
92
 
93
  $values['custom_style'] = ($post_values and isset($post_values['options']['custom_style'])) ? $post_values['options']['custom_style'] : ($frm_settings->load_style != 'none');
94
  $values['before_html'] = FrmFormsHelper::get_default_html('before');
@@ -99,41 +125,81 @@ class FrmFormsHelper{
99
  }
100
 
101
  public static function setup_edit_vars($values, $record, $post_values=array()){
102
- global $frm_form;
103
-
104
  if(empty($post_values))
105
- $post_values = $_POST;
106
 
107
- $values['form_key'] = isset($post_values['form_key']) ? stripslashes_deep($post_values['form_key']) : $record->form_key;
108
  $values['default_template'] = isset($post_values['default_template']) ? $post_values['default_template'] : $record->default_template;
109
  $values['is_template'] = isset($post_values['is_template']) ? $post_values['is_template'] : $record->is_template;
 
 
110
 
111
  return apply_filters('frm_setup_edit_form_vars', $values);
112
  }
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  public static function get_default_opts(){
115
  global $frm_settings;
116
 
117
  return array(
118
  'notification' => array(
119
- array('email_to' => $frm_settings->email_to, 'reply_to' => '', 'reply_to_name' => '',
120
- 'cust_reply_to' => '', 'cust_reply_to_name' => '')
 
 
 
 
121
  ),
122
  'submit_value' => $frm_settings->submit_value, 'success_action' => 'message',
123
  'success_msg' => $frm_settings->success_msg, 'show_form' => 0, 'akismet' => '',
124
- 'no_save' => 0, 'ajax_load' => false
125
  );
126
  }
127
 
128
  public static function get_default_html($loc){
129
  if($loc == 'submit'){
130
  $sending = __('Sending', 'formidable');
131
- $img = FRM_IMAGES_URL .'/ajax_loader.gif';
 
132
  $default_html = <<<SUBMIT_HTML
133
  <div class="frm_submit">
134
- [if back_button]<input type="submit" value="[back_label]" name="frm_prev_page" formnovalidate="formnovalidate" [back_hook] />[/if back_button]
135
  <input type="submit" value="[button_label]" [button_action] />
136
- <img class="frm_ajax_loading" src="$img" alt="$sending"/>
 
137
  </div>
138
  SUBMIT_HTML;
139
  }else if ($loc == 'before'){
@@ -148,23 +214,33 @@ BEFORE_HTML;
148
  return $default_html;
149
  }
150
 
151
- public static function get_custom_submit($html, $form, $submit, $form_action){
152
- $button = FrmFormsHelper::replace_shortcodes($html, $form, $submit, $form_action);
 
 
 
 
 
153
  if(strpos($button, '[button_action]')){
154
  $button_parts = explode('[button_action]', $button);
155
  echo $button_parts[0];
 
 
 
 
 
156
  do_action('frm_submit_button_action', $form, $form_action);
157
  echo $button_parts[1];
158
  }
159
  }
160
 
161
- public static function replace_shortcodes($html, $form, $title=false, $description=false){
162
  foreach (array('form_name' => $title, 'form_description' => $description, 'entry_key' => true) as $code => $show){
163
  if ($code == 'form_name'){
164
  $replace_with = $form->name;
165
  }else if ($code == 'form_description'){
166
  if(apply_filters('frm_use_wpautop', true))
167
- $replace_with = wpautop($form->description);
168
  else
169
  $replace_with = $form->description;
170
  }else if($code == 'entry_key' and isset($_GET) and isset($_GET['entry'])){
@@ -183,15 +259,21 @@ BEFORE_HTML;
183
  //replace [form_key]
184
  $html = str_replace('[form_key]', $form->form_key, $html);
185
 
 
 
 
186
  if(strpos($html, '[button_label]')){
187
  $replace_with = apply_filters('frm_submit_button', $title, $form);
188
  $html = str_replace('[button_label]', $replace_with, $html);
189
  }
190
 
191
- $html = apply_filters('frm_form_replace_shortcodes', stripslashes($html), $form);
192
 
193
  if(strpos($html, '[if back_button]'))
194
  $html = preg_replace('/(\[if\s+back_button\])(.*?)(\[\/if\s+back_button\])/mis', '', $html);
 
 
 
195
 
196
  return $html;
197
  }
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
+
4
+ if(class_exists('FrmFormsHelper'))
5
+ return;
6
 
7
  class FrmFormsHelper{
8
+ public static function get_direct_link($key, $form = false ) {
9
+ $target_url = esc_url(admin_url('admin-ajax.php') . '?action=frm_forms_preview&form='. $key);
10
+ $target_url = apply_filters('frm_direct_link', $target_url, $key, $form);
11
+
 
 
 
12
  return $target_url;
13
  }
14
 
15
  public static function get_template_dropdown($templates){ ?>
16
  <select id="select_form" name="select_form" onChange="frmAddNewForm(this.value,'duplicate')">
17
+ <option value="">&mdash; <?php _e('Create Form from Template', 'formidable') ?> &mdash;</option>
18
  <?php foreach ($templates as $temp){ ?>
19
  <option value="<?php echo $temp->id ?>"><?php echo FrmAppHelper::truncate($temp->name, 40) ?></option>
20
  <?php }?>
23
  }
24
 
25
  public static function forms_dropdown( $field_name, $field_value='', $blank=true, $field_id=false, $onchange=false ){
 
26
  if (!$field_id)
27
  $field_id = $field_name;
28
 
29
  $where = apply_filters('frm_forms_dropdown', "is_template=0 AND (status is NULL OR status = '' OR status = 'published')", $field_name);
30
+ $frm_form = new FrmForm();
31
  $forms = $frm_form->getAll($where, ' ORDER BY name');
32
  ?>
33
+ <select name="<?php echo $field_name; ?>" id="<?php echo $field_id ?>" <?php if ($onchange) echo 'onchange="'. $onchange .'"'; ?>>
34
  <?php if ($blank){ ?>
35
  <option value=""><?php echo ($blank == 1) ? '' : '- '. $blank .' -'; ?></option>
36
  <?php } ?>
40
  </select>
41
  <?php
42
  }
43
+
44
+ public static function form_switcher(){
45
+ $where = apply_filters('frm_forms_dropdown', "is_template=0 AND (status is NULL OR status = '' OR status = 'published')", '');
46
+
47
+ $frm_form = new FrmForm();
48
+ $forms = $frm_form->getAll($where, ' ORDER BY name');
49
+ unset($frm_form);
50
+
51
+ $args = array('id' => 0, 'form' => 0);
52
+ if(isset($_GET['id']) and !isset($_GET['form']))
53
+ unset($args['form']);
54
+ else if(isset($_GET['form']) and !isset($_GET['id']))
55
+ unset($args['id']);
56
+
57
+ if(isset($_GET['page']) and $_GET['page'] == 'formidable-entries' and isset($_GET['frm_action']) and in_array($_GET['frm_action'], array('edit', 'show', 'destroy_all'))){
58
+ $args['frm_action'] = 'list';
59
+ $args['form'] = 0;
60
+ }else if(isset($_GET['page']) and $_GET['page'] == 'formidable' and isset($_GET['frm_action']) and $_GET['frm_action'] == 'new'){
61
+ $args['frm_action'] = 'edit';
62
+ }else if(isset($_GET['post'])){
63
+ $args['form'] = 0;
64
+ $base = admin_url('edit.php?post_type=frm_display');
65
+ }
66
+
67
+ ?>
68
+ <li class="dropdown last" id="frm_bs_dropdown">
69
+ <a href="#" id="frm-navbarDrop" class="frm-dropdown-toggle" data-toggle="dropdown"><?php _e('Switch Form', 'formidable') ?> <b class="caret"></b></a>
70
+ <ul class="frm-dropdown-menu" role="menu" aria-labelledby="frm-navbarDrop">
71
+ <?php foreach($forms as $form){
72
+ if(isset($args['id']))
73
+ $args['id'] = $form->id;
74
+ if(isset($args['form']))
75
+ $args['form'] = $form->id;
76
+ ?>
77
+ <li><a href="<?php echo isset($base) ? add_query_arg($args, $base) : add_query_arg($args); ?>" tabindex="-1"><?php echo empty($form->name) ? __('(no title)') : FrmAppHelper::truncate($form->name, 33); ?></a></li>
78
+ <?php
79
+ unset($form);
80
+ } ?>
81
+ </ul>
82
+ </li>
83
+ <?php
84
+ }
85
 
86
  public static function get_sortable_classes($col, $sort_col, $sort_dir){
87
  echo ($sort_col == $col) ? 'sorted' : 'sortable';
89
  }
90
 
91
  public static function setup_new_vars($values=array()){
92
+ global $wpdb, $frmdb, $frm_settings;
93
 
94
  if(!empty($values)){
95
  $post_values = $values;
98
  $post_values = $_POST;
99
  }
100
 
101
+ foreach (array('name' => '', 'description' => '') as $var => $default){
102
  if(!isset($values[$var]))
103
  $values[$var] = FrmAppHelper::get_param($var, $default);
104
  }
105
 
106
  if(apply_filters('frm_use_wpautop', true))
107
+ $values['description'] = wpautop(str_replace( '<br>', '<br />', $values['description']));
108
 
109
  foreach (array('form_id' => '', 'logged_in' => '', 'editable' => '', 'default_template' => 0, 'is_template' => 0) as $var => $default){
110
  if(!isset($values[$var]))
112
  }
113
 
114
  if(!isset($values['form_key']))
115
+ $values['form_key'] = ($post_values and isset($post_values['form_key'])) ? $post_values['form_key'] : FrmAppHelper::get_unique_key('', $wpdb->prefix .'frm_forms', 'form_key');
116
 
117
+ $values = self::fill_default_opts($values, false, $post_values);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
  $values['custom_style'] = ($post_values and isset($post_values['options']['custom_style'])) ? $post_values['options']['custom_style'] : ($frm_settings->load_style != 'none');
120
  $values['before_html'] = FrmFormsHelper::get_default_html('before');
125
  }
126
 
127
  public static function setup_edit_vars($values, $record, $post_values=array()){
 
 
128
  if(empty($post_values))
129
+ $post_values = stripslashes_deep($_POST);
130
 
131
+ $values['form_key'] = isset($post_values['form_key']) ? $post_values['form_key'] : $record->form_key;
132
  $values['default_template'] = isset($post_values['default_template']) ? $post_values['default_template'] : $record->default_template;
133
  $values['is_template'] = isset($post_values['is_template']) ? $post_values['is_template'] : $record->is_template;
134
+
135
+ $values = self::fill_default_opts($values, $record, $post_values);
136
 
137
  return apply_filters('frm_setup_edit_form_vars', $values);
138
  }
139
 
140
+ public static function fill_default_opts($values, $record, $post_values) {
141
+
142
+ $defaults = FrmFormsHelper::get_default_opts();
143
+ foreach ($defaults as $var => $default){
144
+ if ( is_array($default) ) {
145
+ if(!isset($values[$var]))
146
+ $values[$var] = ($record && isset($record->options[$var])) ? $record->options[$var] : array();
147
+
148
+ foreach($default as $k => $v){
149
+ $values[$var][$k] = ($post_values && isset($post_values[$var][$k])) ? $post_values[$var][$k] : (($record && isset($record->options[$var]) && isset($record->options[$var][$k])) ? $record->options[$var][$k] : $v);
150
+
151
+ if ( is_array($v) ) {
152
+ foreach ( $v as $k1 => $v1 ) {
153
+ $values[$var][$k][$k1] = ($post_values && isset($post_values[$var][$k][$k1])) ? $post_values[$var][$k][$k1] : (($record && isset($record->options[$var]) && isset($record->options[$var][$k]) && isset($record->options[$var][$k][$k1])) ? $record->options[$var][$k][$k1] : $v1);
154
+ unset($k1);
155
+ unset($v1);
156
+ }
157
+ }
158
+
159
+ unset($k);
160
+ unset($v);
161
+ }
162
+
163
+ }else{
164
+ $values[$var] = ($post_values && isset($post_values['options'][$var])) ? $post_values['options'][$var] : (($record && isset($record->options[$var])) ? $record->options[$var] : $default);
165
+ }
166
+
167
+ unset($var);
168
+ unset($default);
169
+ }
170
+
171
+ return $values;
172
+ }
173
+
174
  public static function get_default_opts(){
175
  global $frm_settings;
176
 
177
  return array(
178
  'notification' => array(
179
+ array(
180
+ 'email_to' => $frm_settings->email_to, 'reply_to' => '', 'reply_to_name' => '',
181
+ 'cust_reply_to' => '', 'cust_reply_to_name' => '',
182
+ 'email_subject' => '', 'email_message' => '[default-message]',
183
+ 'inc_user_info' => 0, 'plain_text' => 0,
184
+ )
185
  ),
186
  'submit_value' => $frm_settings->submit_value, 'success_action' => 'message',
187
  'success_msg' => $frm_settings->success_msg, 'show_form' => 0, 'akismet' => '',
188
+ 'no_save' => 0, 'ajax_load' => 0
189
  );
190
  }
191
 
192
  public static function get_default_html($loc){
193
  if($loc == 'submit'){
194
  $sending = __('Sending', 'formidable');
195
+ $draft_link = self::get_draft_link();
196
+ $img = '[frmurl]/images/ajax_loader.gif';
197
  $default_html = <<<SUBMIT_HTML
198
  <div class="frm_submit">
199
+ [if back_button]<input type="button" value="[back_label]" name="frm_prev_page" formnovalidate="formnovalidate" class="frm_prev_page" [back_hook] />[/if back_button]
200
  <input type="submit" value="[button_label]" [button_action] />
201
+ <img class="frm_ajax_loading" src="$img" alt="$sending" style="visibility:hidden;" />
202
+ $draft_link
203
  </div>
204
  SUBMIT_HTML;
205
  }else if ($loc == 'before'){
214
  return $default_html;
215
  }
216
 
217
+ public static function get_draft_link(){
218
+ $link = '[if save_draft]<a class="frm_save_draft" [draft_hook]>[draft_label]</a>[/if save_draft]';
219
+ return $link;
220
+ }
221
+
222
+ public static function get_custom_submit($html, $form, $submit, $form_action, $values){
223
+ $button = FrmFormsHelper::replace_shortcodes($html, $form, $submit, $form_action, $values);
224
  if(strpos($button, '[button_action]')){
225
  $button_parts = explode('[button_action]', $button);
226
  echo $button_parts[0];
227
+ //echo ' id="frm_submit_"';
228
+ $classes = apply_filters('frm_submit_button_class', array(), $form);
229
+ if(!empty($classes))
230
+ echo ' class="'. implode(' ', $classes) .'"';
231
+
232
  do_action('frm_submit_button_action', $form, $form_action);
233
  echo $button_parts[1];
234
  }
235
  }
236
 
237
+ public static function replace_shortcodes($html, $form, $title=false, $description=false, $values=array()){
238
  foreach (array('form_name' => $title, 'form_description' => $description, 'entry_key' => true) as $code => $show){
239
  if ($code == 'form_name'){
240
  $replace_with = $form->name;
241
  }else if ($code == 'form_description'){
242
  if(apply_filters('frm_use_wpautop', true))
243
+ $replace_with = wpautop(str_replace( '<br>', '<br />', $form->description));
244
  else
245
  $replace_with = $form->description;
246
  }else if($code == 'entry_key' and isset($_GET) and isset($_GET['entry'])){
259
  //replace [form_key]
260
  $html = str_replace('[form_key]', $form->form_key, $html);
261
 
262
+ //replace [frmurl]
263
+ $html = str_replace('[frmurl]', FrmAppHelper::plugin_url(), $html);
264
+
265
  if(strpos($html, '[button_label]')){
266
  $replace_with = apply_filters('frm_submit_button', $title, $form);
267
  $html = str_replace('[button_label]', $replace_with, $html);
268
  }
269
 
270
+ $html = apply_filters('frm_form_replace_shortcodes', $html, $form, $values);
271
 
272
  if(strpos($html, '[if back_button]'))
273
  $html = preg_replace('/(\[if\s+back_button\])(.*?)(\[\/if\s+back_button\])/mis', '', $html);
274
+
275
+ if(strpos($html, '[if save_draft]'))
276
+ $html = preg_replace('/(\[if\s+save_draft\])(.*?)(\[\/if\s+save_draft\])/mis', '', $html);
277
 
278
  return $html;
279
  }
classes/helpers/FrmListHelper.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
3
  class FrmListHelper extends WP_List_Table {
4
- var $table_name;
5
- var $page_name;
6
- var $params;
7
 
8
- function FrmListHelper($args) {
9
  global $frm_settings;
10
 
11
  $args = wp_parse_args( $args, array(
@@ -28,7 +30,7 @@ class FrmListHelper extends WP_List_Table {
28
  }
29
 
30
  function prepare_items() {
31
- global $frmdb, $wpdb, $per_page, $frm_settings, $frm_form;
32
  $paged = $this->get_pagenum();
33
  $default_orderby = 'name';
34
  $default_order = 'ASC';
@@ -41,12 +43,11 @@ class FrmListHelper extends WP_List_Table {
41
  $per_page = $this->get_items_per_page( 'formidable_page_formidable'. str_replace('-', '_', $this->page_name) .'_per_page', $default_count);
42
 
43
  $start = ( isset( $_REQUEST['start'] ) ) ? $_REQUEST['start'] : (( $page - 1 ) * $per_page);
44
- $s = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '';
45
  $fid = isset( $_REQUEST['fid'] ) ? $_REQUEST['fid'] : '';
46
  if($s != ''){
47
- $s = stripslashes($s);
48
  preg_match_all('/".*?("|$)|((?<=[\\s",+])|^)[^\\s",+]+/', $s, $matches);
49
- $search_terms = array_map('_search_terms_tidy', $matches[0]);
50
  }
51
 
52
  $s_query = " (status is NULL OR status = '' OR status = 'published') AND default_template=0 AND is_template = ". (int)$this->params['template'];
@@ -62,6 +63,7 @@ class FrmListHelper extends WP_List_Table {
62
  }
63
  }
64
 
 
65
  $this->items = $frm_form->getAll($s_query, " ORDER BY $orderby $order", " LIMIT $start, $per_page", true, false);
66
  $total_items = FrmAppHelper::getRecordCount($s_query, $this->table_name);
67
 
@@ -76,24 +78,18 @@ class FrmListHelper extends WP_List_Table {
76
  if ($this->params['template']){
77
  _e('No Templates Found', 'formidable') ?>.
78
  <br/><br/><?php _e('To add a new template','formidable') ?>:
79
- <ol><li style="list-style:decimal;">Create a <a href="?page=formidable-new">new form</a>.</li>
80
- <li style="list-style:decimal;">After your form is created, go to Formidable -> <a href="?page=formidable">Forms</a>.</li>
81
- <li style="list-style:decimal;"><?php _e('Place your mouse over the name of the form you just created, and click the "Create Template" link.', 'formidable') ?></li>
82
  </ol>
83
  <?php }else{
84
  _e('No Forms Found', 'formidable') ?>.
85
- <a href="?page=formidable-new"><?php _e('Add New', 'formidable'); ?></a>
86
  <?php }
87
  }
88
 
89
  function get_bulk_actions(){
90
- global $frmpro_is_installed;
91
-
92
- $actions = array();
93
- if($frmpro_is_installed){
94
- $actions['bulk_delete'] = __('Delete', 'formidable');
95
- $actions['bulk_export'] = __('Export to XML', 'formidable');
96
- }
97
 
98
  return $actions;
99
  }
@@ -107,7 +103,7 @@ class FrmListHelper extends WP_List_Table {
107
  }
108
 
109
  function single_row( $item, $style='') {
110
- global $frmpro_is_installed, $frm_entry;
111
  $checkbox = '';
112
 
113
  // Set up the hover actions for this user
@@ -115,7 +111,7 @@ class FrmListHelper extends WP_List_Table {
115
  $title = esc_attr(strip_tags($item->name));
116
 
117
  $edit_link = "?page=formidable&frm_action=edit&id={$item->id}";
118
- $actions['frm_edit'] = "<a href='" . wp_nonce_url( $edit_link ) . "'>". __('Edit', 'formidable') ."</a>";
119
 
120
  $duplicate_link = "?page=formidable&frm_action=duplicate&id={$item->id}";
121
 
@@ -125,63 +121,32 @@ class FrmListHelper extends WP_List_Table {
125
  if ($this->params['template']){
126
  $actions['frm_duplicate'] = "<a href='" . wp_nonce_url( $duplicate_link ) . "'>". __('Create Form from Template', 'formidable') ."</a>";
127
  }else{
128
- $actions['frm_settings'] = "<a href='" . wp_nonce_url( "?page=formidable&frm_action=settings&id={$item->id}" ) . "'>". __('Settings', 'formidable') ."</a>";
129
-
130
- //$actions['frm_entries'] = "<a href='" . wp_nonce_url( "?page=formidable-entries&form={$item->id}" ) . "' title='$title ". __('Entries', 'formidable') ."'>". __('Entries', 'formidable') ."</a>";
131
-
132
- $actions['frm_reports'] = "<a href='" . wp_nonce_url( "?page=formidable-reports&form={$item->id}" ) . "' title='$title ". __('Reports', 'formidable') ."'>". __('Reports', 'formidable') ."</a>";
133
-
134
- if($frmpro_is_installed and current_user_can('frm_create_entries')){
135
- $actions['frm_entry'] = "<a href='" . wp_nonce_url( "?page=formidable-entries&frm_action=new&form={$item->id}" ) . "' title='". __('New', 'formidable') ." $title ". __('Entry', 'formidable') ."'>". __('New Entry', 'formidable') ."</a>";
136
  }
137
-
138
- $actions['frm_duplicate'] = "<a href='" . wp_nonce_url( $duplicate_link ) . "' title='". __('Copy', 'formidable') ." $title'>". __('Duplicate', 'formidable') ."</a>";
139
-
140
- $actions['frm_template'] = "<a href='" . wp_nonce_url( "?page=formidable&frm_action=duplicate&id={$item->id}&template=1" ) . "' title='". __('Create Template', 'formidable') ."'>". __('Create Template', 'formidable') ."</a>";
141
  }
142
 
143
- if($frmpro_is_installed){
144
- $actions['export_template'] = "<a href='" . wp_nonce_url( FRM_SCRIPT_URL ."&controller=forms&frm_action=export&id={$item->id}" ) . "' title='$title ". __('Export Template', 'formidable') ."'>". __('Export Template', 'formidable') ."</a>";
145
-
146
- }
147
-
148
  $delete_link = "?page=formidable&frm_action=destroy&id={$item->id}";
149
- $actions['frm_delete'] = "<a class='submitdelete' href='" . wp_nonce_url( $delete_link ) . "' onclick='return confirm(\"". __('Are you sure you want to delete that?', 'formidable') ."\")'>" . __( 'Delete', 'formidable' ) . "</a>";
150
-
151
- if(!current_user_can('frm_view_entries')){
152
- if(isset($actions['frm_entries']))
153
- unset($actions['frm_entries']);
154
-
155
- if(isset($actions['frm_reports']))
156
- unset($actions['frm_reports']);
157
- }
158
-
159
- if(!current_user_can('frm_edit_forms')){
160
- unset($actions['frm_edit']);
161
- unset($actions['frm_duplicate']);
162
- if(isset($actions['frm_settings']))
163
- unset($actions['frm_settings']);
164
-
165
- if(!$frmpro_is_installed)
166
- unset($actions['frm_duplicate']);
167
- }
168
-
169
- if(!current_user_can('frm_delete_forms')){
170
- unset($actions['frm_delete']);
171
- }
172
 
173
  $action_links = $this->row_actions( $actions );
174
 
175
  // Set up the checkbox ( because the user is editable, otherwise its empty )
176
- $checkbox = "<input type='checkbox' name='item-action[]' id='cb-item-action-{$item->id}' value='{$item->id}' />";
177
 
178
- $r = "<tr id='item-action-{$item->id}'$style>";
179
 
180
  list( $columns, $hidden ) = $this->get_column_info();
181
  $action_col = false;
182
 
183
  foreach ( $columns as $column_name => $column_display_name ) {
184
- $class = "class=\"$column_name column-$column_name\"";
185
 
186
  $style = '';
187
  if ( in_array( $column_name, $hidden ) )
@@ -193,13 +158,18 @@ class FrmListHelper extends WP_List_Table {
193
 
194
  switch ( $column_name ) {
195
  case 'cb':
196
- $r .= "<th scope='row' class='check-column'>$checkbox</th>";
197
  break;
198
  case 'id':
199
  case 'form_key':
200
  $val = $item->{$column_name};
201
  break;
202
  case 'name':
 
 
 
 
 
203
  case 'description':
204
  $val = FrmAppHelper::truncate(strip_tags($item->{$column_name}), 50);
205
  break;
@@ -209,21 +179,23 @@ class FrmListHelper extends WP_List_Table {
209
  $val = "<abbr title='". date($format .' g:i:s A', strtotime($item->{$column_name})) ."'>". $date ."</abbr>";
210
  break;
211
  case 'shortcode':
212
- $val = "<input type='text' style='font-size:10px;width:100%;' readonly='true' onclick='this.select();' onfocus='this.select();' value='[formidable id={$item->id}]' /><br/>";
213
- $val .= "<input type='text' style='font-size:10px;width:100%;' readonly='true' onclick='this.select();' onfocus='this.select();' value='[formidable key={$item->form_key}]' />";
214
-
215
  break;
216
  case 'entries':
217
  $text = $frm_entry->getRecordCount($item->id);
218
- $text = sprintf(_n( '%1$s Entry', '%1$s Entries', $text, 'formidable' ), $text);
219
  $val = (current_user_can('frm_view_entries')) ? '<a href="'. esc_url(admin_url('admin.php') .'?page=formidable-entries&form='. $item->id ) .'">'. $text .'</a>' : $text;
220
  unset($text);
221
-
222
  break;
223
  case 'link':
224
- $target_url = FrmFormsHelper::get_direct_link($item->form_key, $item->prli_link_id);
225
- $val = '<input type="text" style="font-size:10px;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="'. esc_html($target_url) .'" /><br/><a href="'. esc_html($target_url) .'" target="blank">'. __('View Form', 'formidable') .'</a>';
226
- unset($target_url);
 
 
 
 
227
  break;
228
  default:
229
  $val = $column_name;
1
  <?php
2
 
3
+ if ( !defined('ABSPATH') ) die('You are not allowed to call this page directly.');
4
+
5
+ if(class_exists('FrmListHelper'))
6
+ return;
7
+
8
  class FrmListHelper extends WP_List_Table {
 
 
 
9
 
10
+ function __construct($args) {
11
  global $frm_settings;
12
 
13
  $args = wp_parse_args( $args, array(
30
  }
31
 
32
  function prepare_items() {
33
+ global $wpdb, $per_page, $frm_settings;
34
  $paged = $this->get_pagenum();
35
  $default_orderby = 'name';
36
  $default_order = 'ASC';
43
  $per_page = $this->get_items_per_page( 'formidable_page_formidable'. str_replace('-', '_', $this->page_name) .'_per_page', $default_count);
44
 
45
  $start = ( isset( $_REQUEST['start'] ) ) ? $_REQUEST['start'] : (( $page - 1 ) * $per_page);
46
+ $s = isset( $_REQUEST['s'] ) ? stripslashes($_REQUEST['s']) : '';
47
  $fid = isset( $_REQUEST['fid'] ) ? $_REQUEST['fid'] : '';
48
  if($s != ''){
 
49
  preg_match_all('/".*?("|$)|((?<=[\\s",+])|^)[^\\s",+]+/', $s, $matches);
50
+ $search_terms = array_map('trim', $matches[0]);
51
  }
52
 
53
  $s_query = " (status is NULL OR status = '' OR status = 'published') AND default_template=0 AND is_template = ". (int)$this->params['template'];
63
  }
64
  }
65
 
66
+ $frm_form = new FrmForm();
67
  $this->items = $frm_form->getAll($s_query, " ORDER BY $orderby $order", " LIMIT $start, $per_page", true, false);
68
  $total_items = FrmAppHelper::getRecordCount($s_query, $this->table_name);
69
 
78
  if ($this->params['template']){
79
  _e('No Templates Found', 'formidable') ?>.
80
  <br/><br/><?php _e('To add a new template','formidable') ?>:
81
+ <ol><li><?php printf(__('Create a new %1$sform%2$s.', 'formidable'), '<a href="?page=formidable&amp;frm_action=new-selection">', '</a>') ?></li>
82
+ <li><?php printf(__('After your form is created, go to Formidable -> %1$sForms%2$s.', 'formidable'), '<a href="?page=formidable">', '</a>') ?></li>
83
+ <li><?php _e('Place your mouse over the name of the form you just created, and click the "Create Template" link.', 'formidable') ?></li>
84
  </ol>
85
  <?php }else{
86
  _e('No Forms Found', 'formidable') ?>.
87
+ <a href="?page=formidable&amp;frm_action=new-selection"><?php _e('Add New', 'formidable'); ?></a>
88
  <?php }
89
  }
90
 
91
  function get_bulk_actions(){
92
+ $actions = array('bulk_delete' => __('Delete'));
 
 
 
 
 
 
93
 
94
  return $actions;
95
  }
103
  }
104
 
105
  function single_row( $item, $style='') {
106
+ global $frm_vars, $frm_entry;
107
  $checkbox = '';
108
 
109
  // Set up the hover actions for this user
111
  $title = esc_attr(strip_tags($item->name));
112
 
113
  $edit_link = "?page=formidable&frm_action=edit&id={$item->id}";
114
+ $actions['frm_edit'] = "<a href='" . wp_nonce_url( $edit_link ) . "'>". __('Edit') ."</a>";
115
 
116
  $duplicate_link = "?page=formidable&frm_action=duplicate&id={$item->id}";
117
 
121
  if ($this->params['template']){
122
  $actions['frm_duplicate'] = "<a href='" . wp_nonce_url( $duplicate_link ) . "'>". __('Create Form from Template', 'formidable') ."</a>";
123
  }else{
124
+ if(current_user_can('frm_edit_forms')){
125
+ $actions['frm_settings'] = "<a href='" . wp_nonce_url( "?page=formidable&frm_action=settings&id={$item->id}" ) . "'>". __('Settings', 'formidable') ."</a>";
126
+
127
+ if($frm_vars['pro_is_installed'])
128
+ $actions['duplicate'] = '<a href="' . wp_nonce_url( $duplicate_link ) . '">'. __('Duplicate', 'formidable') .'</a>';
 
 
 
129
  }
 
 
 
 
130
  }
131
 
 
 
 
 
 
132
  $delete_link = "?page=formidable&frm_action=destroy&id={$item->id}";
133
+ if(current_user_can('frm_delete_forms'))
134
+ $actions['trash'] = '<a class="submitdelete" href="' . wp_nonce_url( $delete_link ) .'" onclick="return confirm(\''. __('Are you sure you want to delete that?', 'formidable') .'\')">' . __( 'Delete' ) . '</a>';
135
+
136
+ $actions['view'] = '<a href="'. FrmFormsHelper::get_direct_link($item->form_key, $item) .'" target="_blank">'. __('Preview') .'</a>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
 
138
  $action_links = $this->row_actions( $actions );
139
 
140
  // Set up the checkbox ( because the user is editable, otherwise its empty )
141
+ $checkbox = '<input type="checkbox" name="item-action[]" id="cb-item-action-'. $item->id .'" value="'. $item->id .'" />';
142
 
143
+ $r = '<tr id="item-action-'. $item->id .'"'. $style .'>';
144
 
145
  list( $columns, $hidden ) = $this->get_column_info();
146
  $action_col = false;
147
 
148
  foreach ( $columns as $column_name => $column_display_name ) {
149
+ $class = 'class="'. $column_name .' column-'. $column_name .'"';
150
 
151
  $style = '';
152
  if ( in_array( $column_name, $hidden ) )
158
 
159
  switch ( $column_name ) {
160
  case 'cb':
161
+ $r .= '<th scope="row" class="check-column">'. $checkbox .'</th>';
162
  break;
163
  case 'id':
164
  case 'form_key':
165
  $val = $item->{$column_name};
166
  break;
167
  case 'name':
168
+ if(trim($item->{$column_name}) == '')
169
+ $val = __('(no title)');
170
+ else
171
+ $val = FrmAppHelper::truncate(strip_tags($item->{$column_name}), 50);
172
+ break;
173
  case 'description':
174
  $val = FrmAppHelper::truncate(strip_tags($item->{$column_name}), 50);
175
  break;
179
  $val = "<abbr title='". date($format .' g:i:s A', strtotime($item->{$column_name})) ."'>". $date ."</abbr>";
180
  break;
181
  case 'shortcode':
182
+ $val = '<input type="text" readonly="true" class="frm_select_box" value="'. esc_attr("[formidable id={$item->id}]") .'" /><br/>';
183
+ $val .= '<input type="text" readonly="true" class="frm_select_box" value="'. esc_attr("[formidable key={$item->form_key}]") .'" />';
 
184
  break;
185
  case 'entries':
186
  $text = $frm_entry->getRecordCount($item->id);
187
+ //$text = sprintf(_n( '%1$s Entry', '%1$s Entries', $text, 'formidable' ), $text);
188
  $val = (current_user_can('frm_view_entries')) ? '<a href="'. esc_url(admin_url('admin.php') .'?page=formidable-entries&form='. $item->id ) .'">'. $text .'</a>' : $text;
189
  unset($text);
 
190
  break;
191
  case 'link':
192
+ $links = array();
193
+ if($frm_vars['pro_is_installed'] and current_user_can('frm_create_entries'))
194
+ $links[] = '<a href="'. wp_nonce_url( "?page=formidable-entries&frm_action=new&form={$item->id}" ) .'" class="frm_add_entry_icon frm_icon_font frm_bstooltip" title="'. __('Add Entry', 'formidable'). '" data-toggle="tooltip"> </a>';
195
+
196
+ $links[] = '<a href="' . wp_nonce_url( "?page=formidable&frm_action=duplicate&id={$item->id}&template=1" ) .'" class="frm_icon_font frm_new_template_icon frm_bstooltip" title="'. __('Create template from form', 'formidable') .'" data-toggle="tooltip"> </a>';
197
+
198
+ $val = implode(' ', $links);
199
  break;
200
  default:
201
  $val = $column_name;
classes/helpers/FrmSettingsHelper.php DELETED
@@ -1,4 +0,0 @@
1
- <?php
2
-
3
- class FrmSettingsHelper{
4
- }
 
 
 
 
classes/helpers/FrmXMLHelper.php ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class FrmXMLHelper{
4
+
5
+ public static function get_xml_values($opt, $padding){
6
+ if(is_array($opt)){
7
+ foreach($opt as $ok => $ov){
8
+ echo "\n". $padding;
9
+ echo '<'. (is_numeric($ok) ? 'key:' : '') . $ok .'>';
10
+ self::get_xml_values($ov, $padding .' ');
11
+ if(is_array($ov))
12
+ echo "\n". $padding;
13
+ echo '</'. (is_numeric($ok) ? 'key:' : '') . $ok .'>';
14
+ }
15
+ }else{
16
+ echo self::cdata($opt);
17
+ }
18
+ }
19
+
20
+ public static function import_xml($file){
21
+ $defaults = array(
22
+ 'forms' => 0, 'fields' => 0, 'terms' => 0,
23
+ );
24
+
25
+ $imported = array(
26
+ 'imported' => $defaults,
27
+ 'updated' => $defaults,
28
+ 'forms' => array(),
29
+ );
30
+
31
+ unset($defaults);
32
+
33
+ if ( !defined('WP_IMPORTING') ) {
34
+ define('WP_IMPORTING', true);
35
+ }
36
+
37
+ $dom = new DOMDocument;
38
+ $success = $dom->loadXML( file_get_contents( $file ) );
39
+ if ( !$success ) {
40
+ return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this XML file', 'formidable' ), libxml_get_errors() );
41
+ }
42
+
43
+ $xml = simplexml_import_dom( $dom );
44
+ unset( $dom );
45
+
46
+ // halt if loading produces an error
47
+ if ( !$xml ) {
48
+ return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this XML file', 'formidable' ), libxml_get_errors() );
49
+ }
50
+
51
+ // add terms, forms (form and field ids), posts (post ids), and entries to db, in that order
52
+
53
+ // grab cats, tags and terms
54
+ if ( isset($xml->term) ) {
55
+ $imported = self::import_xml_terms($xml->term, $imported);
56
+ unset($xml->term);
57
+ }
58
+
59
+ if ( isset($xml->form) ) {
60
+ $imported = self::import_xml_forms($xml->form, $imported);
61
+ unset($xml->form);
62
+ }
63
+
64
+ $return = apply_filters('frm_importing_xml', $imported, $xml );
65
+
66
+ return $return;
67
+ }
68
+
69
+ public static function import_xml_terms($terms, $imported) {
70
+ foreach ( $terms as $t ) {
71
+ if ( term_exists((string) $t->term_slug, (string) $t->term_taxonomy) ) {
72
+ continue;
73
+ }
74
+
75
+ $term_id = wp_insert_term( (string) $t->term_name, (string) $t->term_taxonomy, array(
76
+ 'slug' => (string) $t->term_slug,
77
+ 'description' => (string) $t->term_description,
78
+ 'term_parent' => (string) $t->term_parent,
79
+ 'slug' => (string) $t->term_slug,
80
+ ));
81
+
82
+ if ( $term_id ) {
83
+ $imported['imported']['terms']++;
84
+ }
85
+
86
+ unset($term_id);
87
+ unset($t);
88
+ }
89
+
90
+ return $imported;
91
+ }
92
+
93
+ public static function import_xml_forms($forms, $imported) {
94
+ $frm_form = new FrmForm();
95
+ $frm_field = new FrmField();
96
+
97
+ foreach ( $forms as $item ) {
98
+ $form = array(
99
+ 'id' => (int) $item->id,
100
+ 'form_key' => (string) $item->form_key,
101
+ 'name' => (string) $item->name,
102
+ 'description' => (string) $item->description,
103
+ 'options' => (string) $item->options,
104
+ 'logged_in' => (int) $item->logged_in,
105
+ 'is_template' => (int) $item->is_template,
106
+ 'default_template' => (int) $item->default_template,
107
+ 'editable' => (int) $item->editable,
108
+ 'status' => (string) $item->status,
109
+ 'created_at' => date('Y-m-d H:i:s', strtotime((string) $item->created_at)),
110
+ );
111
+
112
+ $form['options'] = FrmAppHelper::maybe_json_decode($form['options']);
113
+
114
+ // if template, allow to edit if form keys match, otherwise, creation date must also match
115
+ $edit_query = array('form_key' => $form['form_key'], 'is_template' => $form['is_template']);
116
+ if ( !$form['is_template'] ) {
117
+ $edit_query['created_at'] = $form['created_at'];
118
+ }
119
+
120
+ $edit_query = apply_filters('frm_match_xml_form', $edit_query, $form);
121
+
122
+ $this_form = $frm_form->getAll($edit_query, '', 1);
123
+ unset($edit_query);
124
+
125
+ if ( !empty($this_form) ) {
126
+ $form_id = $this_form->id;
127
+ $frm_form->update($form_id, $form );
128
+ $imported['updated']['forms']++;
129
+
130
+ $form_fields = $frm_field->getAll(array('fi.form_id' => $form_id), 'field_order');
131
+ $old_fields = array();
132
+ foreach ( $form_fields as $f ) {
133
+ $old_fields[$f->id] = $f;
134
+ if ( $form['is_template'] ) {
135
+ $old_fields[$f->field_key] = $f->id;
136
+ }
137
+ unset($f);
138
+ }
139
+ $form_fields = $old_fields;
140
+ unset($old_fields);
141
+ } else {
142
+ //form does not exist, so create it
143
+ if ( $form_id = $frm_form->create( $form ) ) {
144
+ $imported['imported']['forms']++;
145
+ }
146
+ }
147
+
148
+ foreach ( $item->field as $field ) {
149
+ $f = array(
150
+ 'id' => (int) $field->id,
151
+ 'field_key' => (string) $field->field_key,
152
+ 'name' => (string) $field->name,
153
+ 'description' => (string) $field->description,
154
+ 'type' => (string) $field->type,
155
+ 'default_value' => FrmAppHelper::maybe_json_decode( (string) $field->default_value),
156
+ 'field_order' => (int) $field->field_order,
157
+ 'form_id' => (int) $form_id,
158
+ 'required' => (int) $field->required,
159
+ 'options' => FrmAppHelper::maybe_json_decode( (string) $field->options),
160
+ 'field_options' => FrmAppHelper::maybe_json_decode( (string) $field->field_options)
161
+ );
162
+
163
+ if ( is_array($f['default_value']) && in_array($f['type'], array('text', 'email', 'url', 'textarea', 'number', 'phone', 'date', 'time', 'image', 'hidden', 'password', 'tag')) ) {
164
+ if ( count($f['default_value']) === 1 ) {
165
+ $f['default_value'] = '['. reset($f['default_value']) .']';
166
+ } else {
167
+ $f['default_value'] = reset($f['default_value']);
168
+ }
169
+ }
170
+
171
+ $f = apply_filters('frm_duplicated_field', $f);
172
+
173
+ if ( $this_form ) {
174
+ // check for field to edit by field id
175
+ if ( isset($form_fields[$f['id']]) ) {
176
+ $frm_field->update( $f['id'], $f );
177
+ $imported['updated']['fields']++;
178
+
179
+ unset($form_fields[$f['id']]);
180
+
181
+ //unset old field key
182
+ if ( isset($form_fields[$f['field_key']]) ) {
183
+ unset($form_fields[$f['field_key']]);
184
+ }
185
+ } else if ( isset($form_fields[$f['field_key']]) ) {
186
+ // check for field to edit by field key
187
+ unset($f['id']);
188
+
189
+ $frm_field->update( $form_fields[$f['field_key']], $f );
190
+ $imported['updated']['fields']++;
191
+
192
+ unset($form_fields[$form_fields[$f['field_key']]]); //unset old field id
193
+ unset($form_fields[$f['field_key']]); //unset old field key
194
+ } else if ( $frm_field->create( $f ) ) {
195
+ // if no matching field id or key in this form, create the field
196
+ $imported['imported']['fields']++;
197
+ }
198
+ } else if ( $frm_field->create( $f ) ) {
199
+ $imported['imported']['fields']++;
200
+ }
201
+
202
+ unset($field);
203
+ }
204
+
205
+
206
+ // Delete any fields attached to this form that were not included in the template
207
+ if ( isset($form_fields) && !empty($form_fields) ) {
208
+ foreach ($form_fields as $field){
209
+ if ( is_object($field) ) {
210
+ $frm_field->destroy($field->id);
211
+ }
212
+ unset($field);
213
+ }
214
+ unset($form_fields);
215
+ }
216
+
217
+
218
+ // Update field ids/keys to new ones
219
+ do_action('frm_after_duplicate_form', $form_id, $form);
220
+
221
+ $imported['forms'][ (int) $item->id] = $form_id;
222
+
223
+ unset($form);
224
+ unset($item);
225
+ }
226
+
227
+ unset($frm_form);
228
+ unset($frm_field);
229
+
230
+ return $imported;
231
+ }
232
+
233
+ public static function cdata( $str ) {
234
+ $str = maybe_unserialize($str);
235
+ if ( is_array($str) ) {
236
+ $str = json_encode($str);
237
+ } else if (seems_utf8( $str ) == false ) {
238
+ $str = utf8_encode( $str );
239
+ }
240
+
241
+ if ( is_numeric($str) ) {
242
+ return $str;
243
+ }
244
+
245
+ // $str = ent2ncr(esc_html($str));
246
+ $str = '<![CDATA[' . str_replace( ']]>', ']]]]><![CDATA[>', $str ) . ']]>';
247
+
248
+ return $str;
249
+ }
250
+
251
+ }
classes/models/FrmDb.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
 
 
 
 
 
2
  class FrmDb{
3
- var $fields;
4
- var $forms;
5
- var $entries;
6
- var $entry_metas;
7
 
8
- function FrmDb(){
9
  global $wpdb;
10
  $this->fields = $wpdb->prefix . "frm_fields";
11
  $this->forms = $wpdb->prefix . "frm_forms";
@@ -14,8 +15,9 @@ class FrmDb{
14
  }
15
 
16
  function upgrade($old_db_version=false){
17
- global $wpdb, $frm_db_version;
18
  //$frm_db_version is the version of the database we're moving to
 
19
  $old_db_version = (float)$old_db_version;
20
  if(!$old_db_version)
21
  $old_db_version = get_option('frm_db_version');
@@ -83,6 +85,7 @@ class FrmDb{
83
  post_id int(11) default NULL,
84
  user_id int(11) default NULL,
85
  parent_item_id int(11) default NULL,
 
86
  updated_by int(11) default NULL,
87
  created_at datetime NOT NULL,
88
  updated_at datetime NOT NULL,
@@ -116,7 +119,7 @@ class FrmDb{
116
  $all_entries = $frm_entry->getAll();
117
  foreach($all_entries as $ent){
118
  $opts = maybe_unserialize($ent->description);
119
- if(is_array($opts))
120
  $wpdb->update( $this->entries, array('ip' => $opts['ip']), array( 'id' => $ent->id ) );
121
  }
122
  }
@@ -151,17 +154,56 @@ DEFAULT_HTML;
151
  $new_default_html = FrmFieldsHelper::get_default_html('text');
152
  foreach($fields as $field){
153
  $field->field_options = maybe_unserialize($field->field_options);
154
- if(!isset($field->field_options['custom_html']) or empty($field->field_options['custom_html']) or (stripslashes($field->field_options['custom_html']) == $default_html) or (stripslashes($field->field_options['custom_html']) == $old_default_html)){
155
  $field->field_options['custom_html'] = $new_default_html;
156
  $wpdb->update($this->fields, array('field_options' => maybe_serialize($field->field_options)), array( 'id' => $field->id ));
157
  }
158
  unset($field);
159
  }
160
  unset($default_html);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  }
 
 
162
 
163
  /**** ADD/UPDATE DEFAULT TEMPLATES ****/
164
- FrmFormsController::add_default_templates(FRM_TEMPLATES_PATH);
 
 
165
 
166
 
167
  /***** SAVE DB VERSION *****/
@@ -253,7 +295,7 @@ DEFAULT_HTML;
253
  wp_die($frm_settings->admin_permission);
254
  }
255
 
256
- global $wpdb;
257
 
258
  $wpdb->query('DROP TABLE IF EXISTS '. $this->fields);
259
  $wpdb->query('DROP TABLE IF EXISTS '. $this->forms);
@@ -261,13 +303,7 @@ DEFAULT_HTML;
261
  $wpdb->query('DROP TABLE IF EXISTS '. $this->entry_metas);
262
 
263
  delete_option('frm_options');
264
- delete_option('frm_db_version');
265
-
266
- $frm_update = new FrmUpdatesController();
267
- delete_option($frm_update->pro_last_checked_store);
268
- delete_option($frm_update->pro_auth_store);
269
- delete_option($frm_update->pro_cred_store);
270
-
271
 
272
  //delete roles
273
  $frm_roles = FrmAppHelper::frm_capabilities();
@@ -278,8 +314,6 @@ DEFAULT_HTML;
278
  unset($role);
279
  unset($details);
280
  }
281
- unset($role);
282
- unset($details);
283
  unset($frm_role);
284
  unset($frm_role_description);
285
  }
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
+
4
+ if(class_exists('FrmDb'))
5
+ return;
6
+
7
  class FrmDb{
 
 
 
 
8
 
9
+ function __construct(){
10
  global $wpdb;
11
  $this->fields = $wpdb->prefix . "frm_fields";
12
  $this->forms = $wpdb->prefix . "frm_forms";
15
  }
16
 
17
  function upgrade($old_db_version=false){
18
+ global $wpdb;
19
  //$frm_db_version is the version of the database we're moving to
20
+ $frm_db_version = FrmAppHelper::$db_version;
21
  $old_db_version = (float)$old_db_version;
22
  if(!$old_db_version)
23
  $old_db_version = get_option('frm_db_version');
85
  post_id int(11) default NULL,
86
  user_id int(11) default NULL,
87
  parent_item_id int(11) default NULL,
88
+ is_draft boolean default 0,
89
  updated_by int(11) default NULL,
90
  created_at datetime NOT NULL,
91
  updated_at datetime NOT NULL,
119
  $all_entries = $frm_entry->getAll();
120
  foreach($all_entries as $ent){
121
  $opts = maybe_unserialize($ent->description);
122
+ if(is_array($opts) and in_array($opts['ip']))
123
  $wpdb->update( $this->entries, array('ip' => $opts['ip']), array( 'id' => $ent->id ) );
124
  }
125
  }
154
  $new_default_html = FrmFieldsHelper::get_default_html('text');
155
  foreach($fields as $field){
156
  $field->field_options = maybe_unserialize($field->field_options);
157
+ if ( !isset($field->field_options['custom_html']) || empty($field->field_options['custom_html']) || $field->field_options['custom_html'] == $default_html || $field->field_options['custom_html'] == $old_default_html ) {
158
  $field->field_options['custom_html'] = $new_default_html;
159
  $wpdb->update($this->fields, array('field_options' => maybe_serialize($field->field_options)), array( 'id' => $field->id ));
160
  }
161
  unset($field);
162
  }
163
  unset($default_html);
164
+ unset($old_default_html);
165
+ unset($fields);
166
+ }
167
+
168
+ if($frm_db_version >= 11 and $old_db_version < 11){
169
+ $forms = $wpdb->get_results("SELECT id, options FROM $this->forms");
170
+ $sending = __('Sending', 'formidable');
171
+ $img = FrmAppHelper::plugin_url() .'/images/ajax_loader.gif';
172
+ $old_default_html = <<<DEFAULT_HTML
173
+ <div class="frm_submit">
174
+ [if back_button]<input type="submit" value="[back_label]" name="frm_prev_page" formnovalidate="formnovalidate" [back_hook] />[/if back_button]
175
+ <input type="submit" value="[button_label]" [button_action] />
176
+ <img class="frm_ajax_loading" src="$img" alt="$sending" style="visibility:hidden;" />
177
+ </div>
178
+ DEFAULT_HTML;
179
+ unset($sending);
180
+ unset($img);
181
+
182
+ $new_default_html = FrmFormsHelper::get_default_html('submit');
183
+ $draft_link = FrmFormsHelper::get_draft_link();
184
+ foreach($forms as $form){
185
+ $form->options = maybe_unserialize($form->options);
186
+ if(!isset($form->options['submit_html']) or empty($form->options['submit_html']))
187
+ continue;
188
+
189
+ if ( $form->options['submit_html'] != $new_default_html && $form->options['submit_html'] == $old_default_html ) {
190
+ $form->options['submit_html'] = $new_default_html;
191
+ $wpdb->update($this->forms, array('options' => serialize($form->options)), array( 'id' => $form->id ));
192
+ }else if(!strpos($form->options['submit_html'], 'save_draft')){
193
+ $form->options['submit_html'] = preg_replace('~\<\/div\>(?!.*\<\/div\>)~', $draft_link ."\r\n</div>", $form->options['submit_html']);
194
+ $wpdb->update($this->forms, array('options' => serialize($form->options)), array( 'id' => $form->id ));
195
+ }
196
+ unset($form);
197
+ }
198
+ unset($forms);
199
  }
200
+
201
+
202
 
203
  /**** ADD/UPDATE DEFAULT TEMPLATES ****/
204
+ if ( class_exists('FrmXMLController') ) {
205
+ FrmXMLController::add_default_templates();
206
+ }
207
 
208
 
209
  /***** SAVE DB VERSION *****/
295
  wp_die($frm_settings->admin_permission);
296
  }
297
 
298
+ global $wpdb, $wp_roles;
299
 
300
  $wpdb->query('DROP TABLE IF EXISTS '. $this->fields);
301
  $wpdb->query('DROP TABLE IF EXISTS '. $this->forms);
303
  $wpdb->query('DROP TABLE IF EXISTS '. $this->entry_metas);
304
 
305
  delete_option('frm_options');
306
+ delete_option('frm_db_version');
 
 
 
 
 
 
307
 
308
  //delete roles
309
  $frm_roles = FrmAppHelper::frm_capabilities();
314
  unset($role);
315
  unset($details);
316
  }
 
 
317
  unset($frm_role);
318
  unset($frm_role_description);
319
  }
classes/models/FrmEntry.php CHANGED
@@ -1,18 +1,30 @@
1
  <?php
 
 
 
 
 
2
  class FrmEntry{
3
 
4
  function create( $values ){
5
- global $wpdb, $frmdb, $frm_entry_meta;
 
 
 
 
 
 
 
 
 
 
 
6
 
7
- $new_values = array();
8
- $new_values['item_key'] = FrmAppHelper::get_unique_key($values['item_key'], $frmdb->entries, 'item_key');
9
- $new_values['name'] = isset($values['name']) ? $values['name'] : $values['item_key'];
10
  if(is_array($new_values['name']))
11
  $new_values['name'] = reset($new_values['name']);
12
- $new_values['ip'] = $_SERVER['REMOTE_ADDR'];
13
 
14
  if(isset($values['description']) and !empty($values['description'])){
15
- $new_values['description'] = $values['description'];
16
  }else{
17
  $referrerinfo = FrmAppHelper::get_referer_info();
18
 
@@ -20,45 +32,48 @@ class FrmEntry{
20
  'referrer' => $referrerinfo));
21
  }
22
 
23
- $new_values['form_id'] = isset($values['form_id']) ? (int)$values['form_id']: null;
24
- $new_values['created_at'] = $new_values['updated_at'] = isset($values['created_at']) ? $values['created_at'] : current_time('mysql', 1);
25
-
26
  //if(isset($values['id']) and is_numeric($values['id']))
27
  // $new_values['id'] = $values['id'];
28
 
29
- if(isset($values['frm_user_id']) and is_numeric($values['frm_user_id'])){
30
- $new_values['user_id'] = $new_values['updated_by'] = $values['frm_user_id'];
31
  }else{
32
- global $user_ID;
33
- if($user_ID)
34
- $new_values['user_id'] = $new_values['updated_by'] = $user_ID;
35
  }
36
 
 
 
37
  //check for duplicate entries created in the last 5 minutes
38
- $create_entry = true;
39
  if(!defined('WP_IMPORTING')){
 
 
40
  $check_val = $new_values;
41
- $check_val['created_at >'] = date('Y-m-d H:i:s', (strtotime($new_values['created_at']) - (60*60*5)));
42
  unset($check_val['created_at']);
 
 
43
  unset($check_val['id']);
44
  unset($check_val['item_key']);
45
  if($new_values['item_key'] == $new_values['name'])
46
  unset($check_val['name']);
47
-
48
-
49
- $entry_exists = $frmdb->get_records($frmdb->entries, $check_val, 'created_at DESC', '', 'id');
 
 
50
  if($entry_exists and !empty($entry_exists)){
51
  foreach($entry_exists as $entry_exist){
52
  if($create_entry){
53
  $create_entry = false;
54
  //add more checks here to make sure it's a duplicate
55
  if (isset($values['item_meta'])){
56
- $metas = FrmEntryMeta::get_entry_meta_info($entry_exist->id);
57
  $field_metas = array();
58
  foreach($metas as $meta)
59
  $field_metas[$meta->field_id] = $meta->meta_value;
60
 
61
- $diff = array_diff_assoc($field_metas, $values['item_meta']);
62
  foreach($diff as $field_id => $meta_value){
63
  if(!empty($meta_value) and !$create_entry)
64
  $create_entry = true;
@@ -67,45 +82,55 @@ class FrmEntry{
67
  }
68
  }
69
  }
 
 
 
 
70
  }
71
 
72
- if($create_entry)
73
- $query_results = $wpdb->insert( $frmdb->entries, $new_values );
74
 
75
- if(isset($query_results) and $query_results){
76
  $entry_id = $wpdb->insert_id;
77
 
78
- global $frm_saved_entries;
79
- $frm_saved_entries[] = (int)$entry_id;
 
 
80
 
81
- if (isset($values['item_meta']))
82
  $frm_entry_meta->update_entry_metas($entry_id, $values['item_meta']);
 
83
 
84
  do_action('frm_after_create_entry', $entry_id, $new_values['form_id']);
85
  do_action('frm_after_create_entry_'. $new_values['form_id'], $entry_id);
86
  return $entry_id;
87
- }else
88
- return false;
 
89
  }
90
 
91
  function duplicate( $id ){
92
- global $wpdb, $frmdb, $frm_entry, $frm_entry_meta;
93
 
94
  $values = $frm_entry->getOne( $id );
95
 
96
  $new_values = array();
97
- $new_values['item_key'] = FrmAppHelper::get_unique_key('', $frmdb->entries, 'item_key');
98
  $new_values['name'] = $values->name;
 
99
  $new_values['user_id'] = $new_values['updated_by'] = (int)$values->user_id;
100
- $new_values['form_id'] = ($values->form_id)?(int)$values->form_id: null;
101
  $new_values['created_at'] = $new_values['updated_at'] = current_time('mysql', 1);
102
 
103
- $query_results = $wpdb->insert( $frmdb->entries, $new_values );
104
  if($query_results){
105
  $entry_id = $wpdb->insert_id;
106
 
107
- global $frm_saved_entries;
108
- $frm_saved_entries[] = (int)$entry_id;
 
 
109
 
110
  $frm_entry_meta->duplicate_entry_metas($id, $entry_id);
111
  return $entry_id;
@@ -114,28 +139,40 @@ class FrmEntry{
114
  }
115
 
116
  function update( $id, $values ){
117
- global $wpdb, $frmdb, $frm_entry_meta, $frm_field, $frm_saved_entries;
118
- if(in_array((int)$id, (array)$frm_saved_entries))
119
  return;
120
 
121
- $new_values = array();
122
-
123
- if (isset($values['item_key']))
124
- $new_values['item_key'] = FrmAppHelper::get_unique_key($values['item_key'], $frmdb->entries, 'item_key', $id);
 
 
 
 
 
 
 
 
 
125
 
126
- $new_values['name'] = isset($values['name'])?$values['name']:'';
127
- $new_values['form_id'] = isset($values['form_id']) ? (int)$values['form_id'] : null;
128
- $new_values['updated_at'] = current_time('mysql', 1);
 
129
  if(isset($values['frm_user_id']) and is_numeric($values['frm_user_id']))
130
  $new_values['user_id'] = $values['frm_user_id'];
131
 
132
- global $user_ID;
133
- $new_values['updated_by'] = $user_ID;
134
-
135
- $query_results = $wpdb->update( $frmdb->entries, $new_values, compact('id') );
136
  if($query_results)
137
  wp_cache_delete( $id, 'frm_entry');
138
- $frm_saved_entries[] = (int)$id;
 
 
 
 
139
 
140
  if (isset($values['item_meta']))
141
  $frm_entry_meta->update_entry_metas($id, $values['item_meta']);
@@ -145,48 +182,56 @@ class FrmEntry{
145
  }
146
 
147
  function &destroy( $id ){
148
- global $wpdb, $frmdb;
149
- $id = (int)$id;
150
-
151
- do_action('frm_before_destroy_entry', $id);
 
 
 
 
 
 
152
 
153
- wp_cache_delete( $id, 'frm_entry');
154
- $wpdb->query('DELETE FROM ' . $frmdb->entry_metas . ' WHERE item_id=' . $id);
155
- $result = $wpdb->query('DELETE FROM ' . $frmdb->entries . ' WHERE id=' . $id);
156
- return $result;
157
  }
158
 
159
  function &update_form( $id, $value, $form_id ){
160
- global $wpdb, $frmdb;
161
- $form_id = isset($value) ? $form_id : NULL;
162
- $result = $wpdb->update( $frmdb->entries, array('form_id' => $form_id), array( 'id' => $id ) );
163
- if($result)
164
- wp_cache_delete( $id, 'frm_entry');
165
- return $result;
166
  }
167
 
168
  function getOne( $id, $meta=false){
169
- global $wpdb, $frmdb;
170
 
171
  $entry = wp_cache_get( $id, 'frm_entry' );
172
  if($entry)
173
- return $entry;
174
 
175
- $query = "SELECT it.*, fr.name as form_name, fr.form_key as form_key FROM $frmdb->entries it
176
- LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id WHERE ";
177
- if(is_numeric($id))
178
- $query .= $wpdb->prepare('it.id=%d', $id);
179
- else
180
- $query .= $wpdb->prepare('it.item_key=%s', $id);
181
 
182
  $entry = $wpdb->get_row($query);
183
 
184
  if($meta and $entry){
185
- global $frm_entry_meta;
186
- $metas = $frm_entry_meta->getAll("item_id=$entry->id and field_id != 0");
187
  $entry_metas = array();
188
- foreach($metas as $meta_val)
 
189
  $entry_metas[$meta_val->field_id] = $entry_metas[$meta_val->field_key] = maybe_unserialize($meta_val->meta_value);
 
 
 
190
 
191
  $entry->metas = $entry_metas;
192
 
@@ -197,54 +242,56 @@ class FrmEntry{
197
  }
198
 
199
  function &exists( $id ){
200
- global $wpdb, $frmdb;
201
 
202
  if(wp_cache_get( $id, 'frm_entry' )){
203
  $exists = true;
204
  return $exists;
205
  }
206
 
207
- if (is_numeric($id))
208
- $where = array('id' => $id);
209
- else
210
- $where = array('item_key' => $id);
211
 
212
- $id = $frmdb->get_var($frmdb->entries, $where);
213
 
214
  $exists = ($id && $id > 0) ? true : false;
215
  return $exists;
216
  }
217
 
218
  function getAll($where = '', $order_by = '', $limit = '', $meta=false, $inc_form=true){
219
- global $wpdb, $frmdb;
220
 
221
  if(is_numeric($limit))
222
  $limit = " LIMIT {$limit}";
223
 
224
  if($inc_form){
225
  $query = "SELECT it.*, fr.name as form_name,fr.form_key as form_key
226
- FROM $frmdb->entries it LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id" .
227
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
228
  }else{
229
  $query = "SELECT it.id, it.item_key, it.name, it.ip, it.form_id, it.post_id, it.user_id, it.updated_by,
230
- it.created_at, it.updated_at FROM $frmdb->entries it" .
231
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
232
  }
 
 
 
 
 
 
233
  $entries = $wpdb->get_results($query, OBJECT_K);
234
  unset($query);
235
 
236
  if($meta and $entries){
237
  if($limit == '' and !is_array($where) and preg_match('/^it\.form_id=\d+$/', $where)){
238
- $meta_where = 'fi.form_id='. substr($where, 11);
239
  }else if($limit == '' and is_array($where) and count($where) == 1 and isset($where['it.form_id'])){
240
- $meta_where = 'fi.form_id='. $where['it.form_id'];
241
  }else{
242
- $meta_where = "item_id in (". implode(',', array_keys($entries)) .")";
243
  }
244
- $query = $wpdb->prepare("SELECT item_id, meta_value, field_id,
245
- fi.field_key as field_key FROM $frmdb->entry_metas it
246
- LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id
247
- WHERE $meta_where and field_id != %d", 0);
248
 
249
  $metas = $wpdb->get_results($query);
250
  unset($query);
@@ -264,22 +311,6 @@ class FrmEntry{
264
  wp_cache_set( $entry->id, $entry, 'frm_entry');
265
  unset($entry);
266
  }
267
-
268
- /*
269
- foreach($entries as $key => $entry){
270
-
271
- $entry_metas = array();
272
- foreach($metas as $meta_val){
273
- if($meta_val->item_id == $entry->id)
274
- $entry_metas[$meta_val->field_id] = $entry_metas[$meta_val->field_key] = $meta_val->meta_value;
275
- }
276
-
277
- $entries[$key]->metas = $entry_metas;
278
-
279
- unset($entry);
280
- unset($key);
281
- }
282
- */
283
  }
284
  }
285
 
@@ -288,11 +319,11 @@ class FrmEntry{
288
 
289
  // Pagination Methods
290
  function getRecordCount($where=''){
291
- global $wpdb, $frmdb;
292
  if(is_numeric($where)){
293
- $query = "SELECT COUNT(*) FROM $frmdb->entries WHERE form_id=". $where;
294
  }else{
295
- $query = "SELECT COUNT(*) FROM $frmdb->entries it LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id" .
296
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
297
  }
298
  return $wpdb->get_var($query);
@@ -306,25 +337,29 @@ class FrmEntry{
306
  }
307
 
308
  function getPage($current_p, $p_size, $where = '', $order_by = ''){
309
- global $wpdb, $frmdb;
310
- $end_index = $current_p * $p_size;
311
- $start_index = $end_index - $p_size;
312
- $results = $this->getAll($where, $order_by, " LIMIT $start_index,$p_size;", true);
313
- return $results;
314
  }
315
 
316
  function validate( $values, $exclude=false ){
317
- global $wpdb, $frmdb, $frm_field, $frm_entry_meta, $frm_settings;
318
-
319
  $errors = array();
320
- if(!isset($values['form_id']) or !isset($values['item_meta'])){
 
 
 
 
 
321
  $errors['form'] = __('There was a problem with your submission. Please try again.', 'formidable');
322
  return $errors;
323
  }
324
 
325
  if( !isset($values['item_key']) or $values['item_key'] == '' ){
326
- $_POST['item_key'] = $values['item_key'] = FrmAppHelper::get_unique_key('', $frmdb->entries, 'item_key');
327
- $gen_key = true;
328
  }
329
 
330
  $where = apply_filters('frm_posted_field_ids', 'fi.form_id='. (int)$values['form_id']);
@@ -352,10 +387,6 @@ class FrmEntry{
352
  $errors['field'. $posted_field->id] = (!isset($posted_field->field_options['blank']) or $posted_field->field_options['blank'] == '' or $posted_field->field_options['blank'] == 'Untitled cannot be blank') ? $frm_settings->blank_msg : $posted_field->field_options['blank'];
353
  }else if ($posted_field->type == 'text' and !isset($_POST['name'])){
354
  $_POST['name'] = $value;
355
- if(isset($gen_key) and $gen_key){
356
- $_POST['item_key'] = $values['item_key'] = FrmAppHelper::get_unique_key($value, $frmdb->entries, 'item_key');
357
- $gen_key = false;
358
- }
359
  }
360
 
361
  $_POST['item_meta'][$posted_field->id] = $value;
@@ -364,7 +395,7 @@ class FrmEntry{
364
  global $frm_settings;
365
 
366
  if(!function_exists('recaptcha_check_answer'))
367
- require_once(FRM_PATH.'/classes/recaptchalib.php');
368
 
369
  $response = recaptcha_check_answer($frm_settings->privkey,
370
  $_SERVER['REMOTE_ADDR'],
@@ -384,20 +415,20 @@ class FrmEntry{
384
 
385
  global $wpcom_api_key;
386
  if (isset($values['item_meta']) and !empty($values['item_meta']) and empty($errors) and function_exists( 'akismet_http_post' ) and ((get_option('wordpress_api_key') or $wpcom_api_key)) and $this->akismet($values)){
387
- global $frm_form;
388
  $form = $frm_form->getOne($values['form_id']);
389
- $form->options = maybe_unserialize($form->options);
390
 
391
  if (isset($form->options['akismet']) && !empty($form->options['akismet']) && ($form->options['akismet'] != 'logged' or !is_user_logged_in()))
392
  $errors['spam'] = __('Your entry appears to be spam!', 'formidable');
393
  }
394
 
395
- return apply_filters('frm_validate_entry', $errors, $values);
 
396
  }
397
 
398
  //Check entries for spam -- returns true if is spam
399
  function akismet($values) {
400
- global $akismet_api_host, $akismet_api_port, $frm_siteurl;
401
 
402
  $content = '';
403
  foreach ( $values['item_meta'] as $val ) {
@@ -412,7 +443,7 @@ class FrmEntry{
412
  return false;
413
 
414
  $datas = array();
415
- $datas['blog'] = $frm_siteurl;
416
  $datas['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
417
  $datas['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
418
  $datas['referrer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : false;
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
+
4
+ if(class_exists('FrmEntry'))
5
+ return;
6
+
7
  class FrmEntry{
8
 
9
  function create( $values ){
10
+ global $wpdb, $frm_entry_meta;
11
+
12
+ $new_values = array(
13
+ 'item_key' => FrmAppHelper::get_unique_key($values['item_key'], $wpdb->prefix .'frm_items', 'item_key'),
14
+ 'name' => isset($values['name']) ? $values['name'] : $values['item_key'],
15
+ 'ip' => $_SERVER['REMOTE_ADDR'],
16
+ 'is_draft' => ( ( isset($values['frm_saving_draft']) && $values['frm_saving_draft'] == 1 ) || ( isset($values['is_draft']) && $values['is_draft'] == 1) ) ? 1 : 0,
17
+ 'form_id' => isset($values['form_id']) ? (int) $values['form_id']: null,
18
+ 'post_id' => isset($values['post_id']) ? (int) $values['post_id']: null,
19
+ 'created_at' => isset($values['created_at']) ? $values['created_at'] : current_time('mysql', 1),
20
+ 'updated_at' => isset($values['updated_at']) ? $values['updated_at'] : ( isset($values['created_at']) ? $values['created_at'] : current_time('mysql', 1) ),
21
+ );
22
 
 
 
 
23
  if(is_array($new_values['name']))
24
  $new_values['name'] = reset($new_values['name']);
 
25
 
26
  if(isset($values['description']) and !empty($values['description'])){
27
+ $new_values['description'] = maybe_serialize($values['description']);
28
  }else{
29
  $referrerinfo = FrmAppHelper::get_referer_info();
30
 
32
  'referrer' => $referrerinfo));
33
  }
34
 
 
 
 
35
  //if(isset($values['id']) and is_numeric($values['id']))
36
  // $new_values['id'] = $values['id'];
37
 
38
+ if(isset($values['frm_user_id']) and (is_numeric($values['frm_user_id']) or (is_admin() and !defined('DOING_AJAX')))){
39
+ $new_values['user_id'] = $values['frm_user_id'];
40
  }else{
41
+ $user_ID = get_current_user_id();
42
+ $new_values['user_id'] = $user_ID ? $user_ID : 0;
 
43
  }
44
 
45
+ $new_values['updated_by'] = isset($values['updated_by']) ? $values['updated_by'] : $new_values['user_id'];
46
+
47
  //check for duplicate entries created in the last 5 minutes
 
48
  if(!defined('WP_IMPORTING')){
49
+ $create_entry = true;
50
+
51
  $check_val = $new_values;
52
+ $check_val['created_at >'] = date('Y-m-d H:i:s', (strtotime($new_values['created_at']) - (60*5)));
53
  unset($check_val['created_at']);
54
+ unset($check_val['updated_at']);
55
+ unset($check_val['is_draft']);
56
  unset($check_val['id']);
57
  unset($check_val['item_key']);
58
  if($new_values['item_key'] == $new_values['name'])
59
  unset($check_val['name']);
60
+
61
+ global $frmdb;
62
+ $entry_exists = $frmdb->get_records($wpdb->prefix .'frm_items', $check_val, 'created_at DESC', '', 'id');
63
+ unset($frmdb);
64
+
65
  if($entry_exists and !empty($entry_exists)){
66
  foreach($entry_exists as $entry_exist){
67
  if($create_entry){
68
  $create_entry = false;
69
  //add more checks here to make sure it's a duplicate
70
  if (isset($values['item_meta'])){
71
+ $metas = $frm_entry_meta->get_entry_meta_info($entry_exist->id);
72
  $field_metas = array();
73
  foreach($metas as $meta)
74
  $field_metas[$meta->field_id] = $meta->meta_value;
75
 
76
+ $diff = array_diff_assoc($field_metas, array_map('maybe_serialize', $values['item_meta']));
77
  foreach($diff as $field_id => $meta_value){
78
  if(!empty($meta_value) and !$create_entry)
79
  $create_entry = true;
82
  }
83
  }
84
  }
85
+
86
+ if ( !$create_entry ) {
87
+ return false;
88
+ }
89
  }
90
 
91
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_items', $new_values );
 
92
 
93
+ if ( $query_results ) {
94
  $entry_id = $wpdb->insert_id;
95
 
96
+ global $frm_vars;
97
+ if(!isset($frm_vars['saved_entries']))
98
+ $frm_vars['saved_entries'] = array();
99
+ $frm_vars['saved_entries'][] = (int)$entry_id;
100
 
101
+ if ( isset($values['item_meta']) ) {
102
  $frm_entry_meta->update_entry_metas($entry_id, $values['item_meta']);
103
+ }
104
 
105
  do_action('frm_after_create_entry', $entry_id, $new_values['form_id']);
106
  do_action('frm_after_create_entry_'. $new_values['form_id'], $entry_id);
107
  return $entry_id;
108
+ } else {
109
+ return false;
110
+ }
111
  }
112
 
113
  function duplicate( $id ){
114
+ global $wpdb, $frm_entry, $frm_entry_meta;
115
 
116
  $values = $frm_entry->getOne( $id );
117
 
118
  $new_values = array();
119
+ $new_values['item_key'] = FrmAppHelper::get_unique_key('', $wpdb->prefix .'frm_items', 'item_key');
120
  $new_values['name'] = $values->name;
121
+ $new_values['is_draft'] = $values->is_draft;
122
  $new_values['user_id'] = $new_values['updated_by'] = (int)$values->user_id;
123
+ $new_values['form_id'] = $values->form_id ? (int)$values->form_id: null;
124
  $new_values['created_at'] = $new_values['updated_at'] = current_time('mysql', 1);
125
 
126
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_items', $new_values );
127
  if($query_results){
128
  $entry_id = $wpdb->insert_id;
129
 
130
+ global $frm_vars;
131
+ if(!isset($frm_vars['saved_entries']))
132
+ $frm_vars['saved_entries'] = array();
133
+ $frm_vars['saved_entries'][] = (int)$entry_id;
134
 
135
  $frm_entry_meta->duplicate_entry_metas($id, $entry_id);
136
  return $entry_id;
139
  }
140
 
141
  function update( $id, $values ){
142
+ global $wpdb, $frm_entry_meta, $frm_field, $frm_vars;
143
+ if(isset($frm_vars['saved_entries']) && is_array($frm_vars['saved_entries']) && in_array((int)$id, (array)$frm_vars['saved_entries']))
144
  return;
145
 
146
+ $user_ID = get_current_user_id();
147
+
148
+ $new_values = array(
149
+ 'name' => isset($values['name']) ? $values['name'] : '',
150
+ 'form_id' => isset($values['form_id']) ? (int) $values['form_id'] : null,
151
+ 'is_draft' => ( ( isset($values['frm_saving_draft']) && $values['frm_saving_draft'] == 1 ) || ( isset($values['is_draft']) && $values['is_draft'] == 1) ) ? 1 : 0,
152
+ 'updated_at' => current_time('mysql', 1),
153
+ 'updated_by' => isset($values['updated_by']) ? $values['updated_by'] : $user_ID,
154
+ );
155
+
156
+ if ( isset($values['post_id']) ) {
157
+ $new_values['post_id'] = (int) $values['post_id'];
158
+ }
159
 
160
+ if ( isset($values['item_key']) ) {
161
+ $new_values['item_key'] = FrmAppHelper::get_unique_key($values['item_key'], $wpdb->prefix .'frm_items', 'item_key', $id);
162
+ }
163
+
164
  if(isset($values['frm_user_id']) and is_numeric($values['frm_user_id']))
165
  $new_values['user_id'] = $values['frm_user_id'];
166
 
167
+ $new_values = apply_filters('frm_update_entry', $new_values, $id);
168
+ $query_results = $wpdb->update( $wpdb->prefix .'frm_items', $new_values, compact('id') );
 
 
169
  if($query_results)
170
  wp_cache_delete( $id, 'frm_entry');
171
+
172
+ if(!isset($frm_vars['saved_entries']))
173
+ $frm_vars['saved_entries'] = array();
174
+
175
+ $frm_vars['saved_entries'][] = (int)$id;
176
 
177
  if (isset($values['item_meta']))
178
  $frm_entry_meta->update_entry_metas($id, $values['item_meta']);
182
  }
183
 
184
  function &destroy( $id ){
185
+ global $wpdb;
186
+ $id = (int)$id;
187
+
188
+ $entry = $this->getOne($id);
189
+ if ( !$entry ) {
190
+ $result = false;
191
+ return $result;
192
+ }
193
+
194
+ do_action('frm_before_destroy_entry', $id, $entry);
195
 
196
+ wp_cache_delete( $id, 'frm_entry');
197
+ $wpdb->query('DELETE FROM ' . $wpdb->prefix .'frm_item_metas WHERE item_id=' . $id);
198
+ $result = $wpdb->query('DELETE FROM ' . $wpdb->prefix .'frm_items WHERE id=' . $id);
199
+ return $result;
200
  }
201
 
202
  function &update_form( $id, $value, $form_id ){
203
+ global $wpdb;
204
+ $form_id = isset($value) ? $form_id : NULL;
205
+ $result = $wpdb->update( $wpdb->prefix .'frm_items', array('form_id' => $form_id), array( 'id' => $id ) );
206
+ if($result)
207
+ wp_cache_delete( $id, 'frm_entry');
208
+ return $result;
209
  }
210
 
211
  function getOne( $id, $meta=false){
212
+ global $wpdb;
213
 
214
  $entry = wp_cache_get( $id, 'frm_entry' );
215
  if($entry)
216
+ return stripslashes_deep($entry);
217
 
218
+ $query = "SELECT it.*, fr.name as form_name, fr.form_key as form_key FROM {$wpdb->prefix}frm_items it
219
+ LEFT OUTER JOIN {$wpdb->prefix}frm_forms fr ON it.form_id=fr.id WHERE ";
220
+
221
+ $query .= $wpdb->prepare( is_numeric($id) ? 'it.id=%d' : 'it.item_key=%s', $id);
 
 
222
 
223
  $entry = $wpdb->get_row($query);
224
 
225
  if($meta and $entry){
226
+ $metas = $wpdb->get_results($wpdb->prepare("SELECT field_id, meta_value, field_key FROM {$wpdb->prefix}frm_item_metas m LEFT JOIN {$wpdb->prefix}frm_fields f ON m.field_id=f.id WHERE item_id=%d and field_id != %d", $entry->id, 0));
227
+
228
  $entry_metas = array();
229
+
230
+ foreach($metas as $meta_val){
231
  $entry_metas[$meta_val->field_id] = $entry_metas[$meta_val->field_key] = maybe_unserialize($meta_val->meta_value);
232
+ unset($meta_val);
233
+ }
234
+ unset($metas);
235
 
236
  $entry->metas = $entry_metas;
237
 
242
  }
243
 
244
  function &exists( $id ){
245
+ global $wpdb;
246
 
247
  if(wp_cache_get( $id, 'frm_entry' )){
248
  $exists = true;
249
  return $exists;
250
  }
251
 
252
+ $where = (is_numeric($id)) ? 'id=%d' : 'item_key=%s';
 
 
 
253
 
254
+ $id = $wpdb->get_var($wpdb->prepare("SELECT id FROM {$wpdb->prefix}frm_items WHERE $where", $id));
255
 
256
  $exists = ($id && $id > 0) ? true : false;
257
  return $exists;
258
  }
259
 
260
  function getAll($where = '', $order_by = '', $limit = '', $meta=false, $inc_form=true){
261
+ global $wpdb;
262
 
263
  if(is_numeric($limit))
264
  $limit = " LIMIT {$limit}";
265
 
266
  if($inc_form){
267
  $query = "SELECT it.*, fr.name as form_name,fr.form_key as form_key
268
+ FROM {$wpdb->prefix}frm_items it LEFT OUTER JOIN {$wpdb->prefix}frm_forms fr ON it.form_id=fr.id" .
269
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
270
  }else{
271
  $query = "SELECT it.id, it.item_key, it.name, it.ip, it.form_id, it.post_id, it.user_id, it.updated_by,
272
+ it.created_at, it.updated_at, it.is_draft FROM {$wpdb->prefix}frm_items it" .
273
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
274
  }
275
+
276
+ if ( preg_match( '/ meta_([0-9]+)/', $order_by, $order_matches ) ) {
277
+ // sort by a requested field
278
+ $query = str_replace( " FROM {$wpdb->prefix}frm_items ", ", (SELECT meta_value FROM {$wpdb->prefix}frm_item_metas WHERE field_id = {$order_matches[1]} AND item_id = it.id) as meta_{$order_matches[1]} FROM {$wpdb->prefix}frm_items ", $query );
279
+ }
280
+
281
  $entries = $wpdb->get_results($query, OBJECT_K);
282
  unset($query);
283
 
284
  if($meta and $entries){
285
  if($limit == '' and !is_array($where) and preg_match('/^it\.form_id=\d+$/', $where)){
286
+ $meta_where = $wpdb->prepare('fi.form_id=%d', substr($where, 11));
287
  }else if($limit == '' and is_array($where) and count($where) == 1 and isset($where['it.form_id'])){
288
+ $meta_where = $wpdb->prepare('fi.form_id=%d', $where['it.form_id']);
289
  }else{
290
+ $meta_where = "item_id in (". implode(',', array_filter(array_keys($entries), 'is_numeric')) .")";
291
  }
292
+ $query = "SELECT item_id, meta_value, field_id, field_key FROM {$wpdb->prefix}frm_item_metas it
293
+ LEFT OUTER JOIN {$wpdb->prefix}frm_fields fi ON it.field_id=fi.id
294
+ WHERE $meta_where and field_id != 0";
 
295
 
296
  $metas = $wpdb->get_results($query);
297
  unset($query);
311
  wp_cache_set( $entry->id, $entry, 'frm_entry');
312
  unset($entry);
313
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
  }
315
  }
316
 
319
 
320
  // Pagination Methods
321
  function getRecordCount($where=''){
322
+ global $wpdb;
323
  if(is_numeric($where)){
324
+ $query = "SELECT COUNT(*) FROM {$wpdb->prefix}frm_items WHERE form_id=". $where;
325
  }else{
326
+ $query = "SELECT COUNT(*) FROM {$wpdb->prefix}frm_items it LEFT OUTER JOIN {$wpdb->prefix}frm_forms fr ON it.form_id=fr.id" .
327
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
328
  }
329
  return $wpdb->get_var($query);
337
  }
338
 
339
  function getPage($current_p, $p_size, $where = '', $order_by = ''){
340
+ global $wpdb;
341
+ $end_index = $current_p * $p_size;
342
+ $start_index = $end_index - $p_size;
343
+ $results = $this->getAll($where, $order_by, " LIMIT $start_index,$p_size;", true);
344
+ return $results;
345
  }
346
 
347
  function validate( $values, $exclude=false ){
348
+ global $wpdb, $frm_field, $frm_entry_meta, $frm_settings;
349
+
350
  $errors = array();
351
+
352
+ if ( !isset($values['frm_submit_entry']) || !wp_verify_nonce($values['frm_submit_entry'], 'frm_submit_entry_nonce') ) {
353
+ $errors['form'] = __('You do not have permission to do that', 'formidable');
354
+ }
355
+
356
+ if ( !isset($values['form_id']) || !isset($values['item_meta']) ) {
357
  $errors['form'] = __('There was a problem with your submission. Please try again.', 'formidable');
358
  return $errors;
359
  }
360
 
361
  if( !isset($values['item_key']) or $values['item_key'] == '' ){
362
+ $_POST['item_key'] = $values['item_key'] = FrmAppHelper::get_unique_key('', $wpdb->prefix .'frm_items', 'item_key');
 
363
  }
364
 
365
  $where = apply_filters('frm_posted_field_ids', 'fi.form_id='. (int)$values['form_id']);
387
  $errors['field'. $posted_field->id] = (!isset($posted_field->field_options['blank']) or $posted_field->field_options['blank'] == '' or $posted_field->field_options['blank'] == 'Untitled cannot be blank') ? $frm_settings->blank_msg : $posted_field->field_options['blank'];
388
  }else if ($posted_field->type == 'text' and !isset($_POST['name'])){
389
  $_POST['name'] = $value;
 
 
 
 
390
  }
391
 
392
  $_POST['item_meta'][$posted_field->id] = $value;
395
  global $frm_settings;
396
 
397
  if(!function_exists('recaptcha_check_answer'))
398
+ require(FrmAppHelper::plugin_path().'/classes/recaptchalib.php');
399
 
400
  $response = recaptcha_check_answer($frm_settings->privkey,
401
  $_SERVER['REMOTE_ADDR'],
415
 
416
  global $wpcom_api_key;
417
  if (isset($values['item_meta']) and !empty($values['item_meta']) and empty($errors) and function_exists( 'akismet_http_post' ) and ((get_option('wordpress_api_key') or $wpcom_api_key)) and $this->akismet($values)){
418
+ $frm_form = new FrmForm();
419
  $form = $frm_form->getOne($values['form_id']);
 
420
 
421
  if (isset($form->options['akismet']) && !empty($form->options['akismet']) && ($form->options['akismet'] != 'logged' or !is_user_logged_in()))
422
  $errors['spam'] = __('Your entry appears to be spam!', 'formidable');
423
  }
424
 
425
+ $errors = apply_filters('frm_validate_entry', $errors, $values);
426
+ return $errors;
427
  }
428
 
429
  //Check entries for spam -- returns true if is spam
430
  function akismet($values) {
431
+ global $akismet_api_host, $akismet_api_port;
432
 
433
  $content = '';
434
  foreach ( $values['item_meta'] as $val ) {
443
  return false;
444
 
445
  $datas = array();
446
+ $datas['blog'] = FrmAppHelper::site_url();
447
  $datas['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
448
  $datas['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
449
  $datas['referrer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : false;
classes/models/FrmEntryMeta.php CHANGED
@@ -1,207 +1,267 @@
1
  <?php
 
 
 
 
 
2
  class FrmEntryMeta{
3
 
4
- function add_entry_meta($entry_id, $field_id, $meta_key='', $meta_value){
5
- global $wpdb, $frmdb;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
- $new_values = array();
8
- $new_values['meta_value'] = trim($meta_value);
9
- $new_values['item_id'] = $entry_id;
10
- $new_values['field_id'] = $field_id;
11
- $new_values['created_at'] = current_time('mysql', 1);
12
- $new_values = apply_filters('frm_add_entry_meta', $new_values);
13
-
14
- $wpdb->insert( $frmdb->entry_metas, $new_values );
15
- }
16
 
17
- function update_entry_meta($entry_id, $field_id, $meta_key='', $meta_value){
18
- //$this->delete_entry_meta($entry_id, $field_id);
19
- if (!empty($meta_value) or $meta_value == '0')
20
- $this->add_entry_meta($entry_id, $field_id, $meta_key, $meta_value);
21
- }
 
 
 
 
 
22
 
23
- function update_entry_metas($entry_id, $values){
24
- global $frm_field;
25
- $this->delete_entry_metas($entry_id, " AND field_id != '0'");
26
- foreach($values as $field_id => $meta_value){
27
- if(is_array($values[$field_id]))
28
- $values[$field_id] = (empty($values[$field_id])) ? false : maybe_serialize($values[$field_id]);
29
- $this->update_entry_meta($entry_id, $field_id, '', $values[$field_id]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
31
- }
32
 
33
- function duplicate_entry_metas($old_id, $new_id){
34
- $metas = $this->get_entry_meta_info($old_id);
35
- foreach ($metas as $meta)
36
- $this->update_entry_meta($new_id, $meta->field_id, '', $meta->meta_value);
37
- }
 
 
38
 
39
- function delete_entry_meta($entry_id, $field_id){
40
- global $wpdb, $frmdb;
41
- $entry_id = (int)$entry_id;
42
- $field_id = (int)$field_id;
43
- return $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE field_id='$field_id' AND item_id='$entry_id'");
44
- }
45
 
46
- function delete_entry_metas($entry_id, $where=''){
47
- global $wpdb, $frmdb;
48
- $entry_id = (int)$entry_id;
49
- $where = "item_id='$entry_id'". $where;
50
-
51
- return $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE $where");
52
- }
53
 
54
- function get_entry_meta_by_field($entry_id, $field_id, $return_var=true){
55
- global $wpdb, $frmdb;
56
 
57
- $entry_id = (int)$entry_id;
58
- $field_id = (int)$field_id;
59
 
60
- $cached = wp_cache_get( $entry_id, 'frm_entry' );
61
- if($cached and isset($cached->metas) and isset($cached->metas[$field_id]))
62
- return $cached->metas[$field_id];
 
 
63
 
64
- if (is_numeric($field_id))
65
- $query = "SELECT meta_value FROM $frmdb->entry_metas WHERE field_id='$field_id' and item_id='$entry_id'";
66
- else
67
- $query = "SELECT meta_value FROM $frmdb->entry_metas it LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id WHERE fi.field_key='{$field_id}' and item_id='{$entry_id}'";
68
 
69
- if($return_var){
70
- $result = maybe_unserialize($wpdb->get_var("{$query} LIMIT 1"));
71
- if($cached){
72
- if(!isset($cached->metas))
73
- $cached->metas = array();
74
- $cached->metas[$field_id] = $result;
75
- wp_cache_set($entry_id, $cached, 'frm_entry');
76
- }
77
- $result = stripslashes_deep($result);
78
- }else{
79
- $result = $wpdb->get_col($query, 0);
80
- }
81
 
82
- return $result;
83
- }
84
 
85
- function get_entry_meta($entry_id, $field_id, $return_var=true){
86
- global $wpdb, $frmdb;
87
 
88
- $entry = wp_cache_get($entry_id, 'frm_entry');
89
- if($return_var and $entry and isset($entry->metas) and isset($entry->metas[$field_id]))
90
- return $entry->metas[$field_id];
 
 
91
 
92
- $query_str = "SELECT meta_value FROM $frmdb->entry_metas WHERE field_id=%d and item_id=%d";
93
- $query = $wpdb->prepare($query_str, $field_id, $entry_id);
94
 
95
- if($return_var){
96
- $var = $wpdb->get_var("{$query} LIMIT 1");
97
- if($var)
98
- $var = stripslashes_deep(maybe_unserialize($var));
99
- }else{
100
- $var = $wpdb->get_col($query, 0);
101
- }
102
- return $var;
103
- }
104
 
105
- function get_entry_metas($entry_id){
106
- global $wpdb, $frmdb;
107
- return $wpdb->get_col("SELECT meta_value FROM $frmdb->entry_metas WHERE item_id='{$entry_id}'");
108
- }
109
 
110
- function get_entry_metas_for_field($field_id, $order='', $limit='', $args=array()){
111
- global $wpdb, $frmdb;
112
 
113
- $defaults = array('value' => false, 'unique' => false, 'stripslashes' => true);
114
- extract(wp_parse_args( $args, $defaults ));
115
 
116
- $query = "SELECT ";
117
- $query .= ($unique) ? "DISTINCT(em.meta_value)" : "em.meta_value";
118
- $query .= " FROM $frmdb->entry_metas em ";
119
- $query .= (is_numeric($field_id)) ? "WHERE em.field_id='{$field_id}'" : "LEFT JOIN $frmdb->fields fi ON (em.field_id = fi.id) WHERE fi.field_key='{$field_id}'";
120
- if($value)
121
- $query .= " AND meta_value='$value'";
122
- $query .= "{$order}{$limit}";
123
-
124
- $values = $wpdb->get_col($query);
125
- if($stripslashes){
126
- foreach($values as $k => $v){
127
- $values[$k] = maybe_unserialize($v);
128
- unset($k);
129
- unset($v);
130
- }
131
- $values = stripslashes_deep($values);
132
- }
 
 
 
 
 
 
 
133
 
134
- return $values;
135
- }
136
 
137
- function get_entry_meta_info($entry_id){
138
- global $wpdb, $frmdb;
139
- return $wpdb->get_results("SELECT * FROM $frmdb->entry_metas WHERE item_id='{$entry_id}'");
140
- }
141
 
142
- function getAll($where = '', $order_by = '', $limit = '', $stripslashes = false){
143
- global $wpdb, $frmdb, $frm_field;
144
- $query = "SELECT it.*, fi.type as field_type, fi.field_key as field_key,
145
- fi.required as required, fi.form_id as field_form_id, fi.name as field_name, fi.options as fi_options
146
- FROM $frmdb->entry_metas it LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id" .
147
- FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
148
 
149
- if ($limit == ' LIMIT 1')
150
- $results = $wpdb->get_row($query);
151
- else
152
- $results = $wpdb->get_results($query);
153
 
154
- if($results and $stripslashes){
155
- foreach($results as $k => $result){
156
- $results[$k]->meta_value = maybe_unserialize($result->meta_value);
157
- unset($k);
158
- unset($result);
 
159
  }
160
- }
161
 
162
- return $results;
163
- }
164
 
165
- function getEntryIds($where = '', $order_by = '', $limit = '', $unique=true){
166
- global $wpdb, $frmdb;
167
- $query = "SELECT ";
168
- $query .= ($unique) ? "DISTINCT(it.item_id)" : "it.item_id";
169
- $query .= " FROM $frmdb->entry_metas it LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id". FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
170
- if ($limit == ' LIMIT 1')
171
- $results = $wpdb->get_var($query);
172
- else
173
- $results = $wpdb->get_col($query);
174
 
175
- return $results;
176
- }
177
-
178
- function getRecordCount($where=""){
179
- global $wpdb, $frmdb;
180
- $query = "SELECT COUNT(*) FROM $frmdb->entry_metas it LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id" .
181
- FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
182
- return $wpdb->get_var($query);
183
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
 
185
- function search_entry_metas($search, $field_id='', $operator){
186
- global $wpdb, $frmdb;
187
- if (is_array($search)){
188
- $where = '';
189
  foreach ($search as $field => $value){
190
- if ($field == 'year' and $value > 0)
191
- $where .= " meta_value {$operator} '%{$value}' and";
192
- if ($field == 'month' and $value > 0)
193
- $where .= " meta_value {$operator} '{$value}%' and";
194
- if ($field == 'day' and $value > 0)
195
- $where .= " meta_value {$operator} '%/{$value}/%' and";
196
  }
197
  $where .= " field_id='{$field_id}'";
198
- $query = "SELECT DISTINCT item_id FROM $frmdb->entry_metas". FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
199
  }else{
200
  if ($operator == 'LIKE')
201
  $search = "%{$search}%";
202
- $query = $wpdb->prepare("SELECT DISTINCT item_id FROM $frmdb->entry_metas WHERE meta_value {$operator} %s and field_id = %d", $search, $field_id);
203
- }
204
- return $wpdb->get_col($query, 0);
205
- }
206
 
207
  }
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
+
4
+ if(class_exists('FrmEntryMeta'))
5
+ return;
6
+
7
  class FrmEntryMeta{
8
 
9
+ function add_entry_meta($entry_id, $field_id, $meta_key = null, $meta_value) {
10
+ global $wpdb;
11
+
12
+ if ( (is_array($meta_value) && empty($meta_value) ) || ( !is_array($meta_value) && trim($meta_value) == '' ) ) {
13
+ // don't save blank fields
14
+ return;
15
+ }
16
+
17
+ $new_values = array(
18
+ 'meta_value' => is_array($meta_value) ? serialize($meta_value) : trim($meta_value),
19
+ 'item_id' => $entry_id,
20
+ 'field_id' => $field_id,
21
+ 'created_at' => current_time('mysql', 1),
22
+ );
23
+
24
+ $new_values = apply_filters('frm_add_entry_meta', $new_values);
25
 
26
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_item_metas', $new_values );
27
+
28
+ $id = $query_results ? $wpdb->insert_id : 0;
29
+
30
+ return $id;
31
+ }
 
 
 
32
 
33
+ function update_entry_meta($entry_id, $field_id, $meta_key = null, $meta_value){
34
+ global $wpdb;
35
+
36
+ $values = $where_values = array( 'item_id' => $entry_id, 'field_id' => $field_id );
37
+ $values['meta_value'] = $meta_value;
38
+ $values = apply_filters('frm_update_entry_meta', $values);
39
+ $meta_value = maybe_serialize($values['meta_value']);
40
+
41
+ return $wpdb->update( $wpdb->prefix .'frm_item_metas', array( 'meta_value' => $meta_value ), $where_values );
42
+ }
43
 
44
+ function update_entry_metas($entry_id, $values){
45
+ global $frm_field, $wpdb;
46
+
47
+ $prev_values = $wpdb->get_col($wpdb->prepare("SELECT field_id FROM {$wpdb->prefix}frm_item_metas WHERE item_id=%d", $entry_id));
48
+
49
+ foreach ( $values as $field_id => $meta_value ) {
50
+
51
+ if ( $prev_values && in_array($field_id, $prev_values) ) {
52
+ // if value exists, then update it
53
+ $this->update_entry_meta($entry_id, $field_id, '', $values[$field_id]);
54
+ } else {
55
+ // if value does not exist, then create it
56
+ $this->add_entry_meta($entry_id, $field_id, '', $values[$field_id]);
57
+ }
58
+
59
+ }
60
+
61
+ if ( empty($prev_values) ) {
62
+ return;
63
+ }
64
+
65
+ $prev_values = array_diff($prev_values, array_keys($values));
66
+
67
+ if ( empty($prev_values) ) {
68
+ return;
69
+ }
70
+
71
+ // Delete any leftovers
72
+ $wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->prefix}frm_item_metas WHERE item_id=%d AND field_id in", $entry_id) ." (". implode(',', $prev_values) .")");
73
  }
 
74
 
75
+ function duplicate_entry_metas($old_id, $new_id){
76
+ $metas = $this->get_entry_meta_info($old_id);
77
+ foreach ( $metas as $meta ) {
78
+ $this->add_entry_meta($new_id, $meta->field_id, null, $meta->meta_value);
79
+ unset($meta);
80
+ }
81
+ }
82
 
83
+ function delete_entry_meta($entry_id, $field_id){
84
+ global $wpdb;
85
+ return $wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->prefix}frm_item_metas WHERE field_id=%d AND item_id=%d", $field_id, $entry_id));
86
+ }
 
 
87
 
88
+ function delete_entry_metas($entry_id, $where=''){
89
+ _deprecated_function( __FUNCTION__, '1.07.05', '$frm_entry_meta->delete_entry_meta()' );
90
+ }
 
 
 
 
91
 
92
+ function get_entry_meta_by_field($entry_id, $field_id, $return_var=true){
93
+ global $wpdb;
94
 
95
+ $entry_id = (int)$entry_id;
96
+ $field_id = (int)$field_id;
97
 
98
+ $cached = wp_cache_get( $entry_id, 'frm_entry' );
99
+ if($cached and isset($cached->metas) and isset($cached->metas[$field_id])){
100
+ $result = $cached->metas[$field_id];
101
+ return stripslashes_deep($result);
102
+ }
103
 
104
+ if (is_numeric($field_id))
105
+ $query = $wpdb->prepare("SELECT meta_value FROM {$wpdb->prefix}frm_item_metas WHERE field_id=%d and item_id=%d", $field_id, $entry_id);
106
+ else
107
+ $query = $wpdb->prepare("SELECT meta_value FROM {$wpdb->prefix}frm_item_metas it LEFT OUTER JOIN {$wpdb->prefix}frm_fields fi ON it.field_id=fi.id WHERE fi.field_key=%s and item_id=%d", $field_id, $entry_id);
108
 
109
+ if($return_var){
110
+ $result = maybe_unserialize($wpdb->get_var("{$query} LIMIT 1"));
111
+ if($cached){
112
+ if(!isset($cached->metas))
113
+ $cached->metas = array();
114
+ $cached->metas[$field_id] = $result;
115
+ wp_cache_set($entry_id, $cached, 'frm_entry');
116
+ }
117
+ $result = stripslashes_deep($result);
118
+ }else{
119
+ $result = $wpdb->get_col($query, 0);
120
+ }
121
 
122
+ return $result;
123
+ }
124
 
125
+ function get_entry_meta($entry_id, $field_id, $return_var=true){
126
+ global $wpdb;
127
 
128
+ $entry = wp_cache_get($entry_id, 'frm_entry');
129
+ if($return_var and $entry and isset($entry->metas) and isset($entry->metas[$field_id])){
130
+ $var = $entry->metas[$field_id];
131
+ return stripslashes_deep($var);
132
+ }
133
 
134
+ $query = $wpdb->prepare("SELECT meta_value FROM {$wpdb->prefix}frm_item_metas WHERE field_id=%d and item_id=%d", $field_id, $entry_id);
 
135
 
136
+ if($return_var){
137
+ $var = $wpdb->get_var("{$query} LIMIT 1");
138
+ if($var)
139
+ $var = stripslashes_deep(maybe_unserialize($var));
140
+ }else{
141
+ $var = $wpdb->get_col($query, 0);
142
+ }
143
+ return $var;
144
+ }
145
 
146
+ function get_entry_metas($entry_id){
147
+ global $wpdb;
148
+ return $wpdb->get_col($wpdb->prepare("SELECT meta_value FROM {$wpdb->prefix}frm_item_metas WHERE item_id=%d", $entry_id));
149
+ }
150
 
151
+ function get_entry_metas_for_field($field_id, $order='', $limit='', $args=array()){
152
+ global $wpdb;
153
 
154
+ $defaults = array('value' => false, 'unique' => false, 'stripslashes' => true, 'is_draft' => false);
155
+ extract(wp_parse_args( $args, $defaults ));
156
 
157
+ $query = "SELECT ";
158
+ $query .= ($unique) ? "DISTINCT(em.meta_value)" : "em.meta_value";
159
+ $query .= " FROM {$wpdb->prefix}frm_item_metas em ";
160
+
161
+ if(!$is_draft)
162
+ $query .= " INNER JOIN {$wpdb->prefix}frm_items e ON (e.id=em.item_id) ";
163
+ $query .= (is_numeric($field_id)) ? "WHERE em.field_id='{$field_id}'" : "LEFT JOIN {$wpdb->prefix}frm_fields fi ON (em.field_id = fi.id) WHERE fi.field_key='{$field_id}'";
164
+
165
+ if(!$is_draft)
166
+ $query .= " AND e.is_draft=0";
167
+
168
+ if($value)
169
+ $query .= " AND meta_value='$value'";
170
+ $query .= "{$order}{$limit}";
171
+
172
+ $values = $wpdb->get_col($query);
173
+ if($stripslashes){
174
+ foreach($values as $k => $v){
175
+ $values[$k] = maybe_unserialize($v);
176
+ unset($k);
177
+ unset($v);
178
+ }
179
+ $values = stripslashes_deep($values);
180
+ }
181
 
182
+ return $values;
183
+ }
184
 
185
+ function get_entry_meta_info($entry_id){
186
+ global $wpdb;
187
+ return $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}frm_item_metas WHERE item_id=%d", $entry_id));
188
+ }
189
 
190
+ function getAll($where = '', $order_by = '', $limit = '', $stripslashes = false){
191
+ global $wpdb, $frm_field;
192
+ $query = "SELECT it.*, fi.type as field_type, fi.field_key as field_key,
193
+ fi.required as required, fi.form_id as field_form_id, fi.name as field_name, fi.options as fi_options
194
+ FROM {$wpdb->prefix}frm_item_metas it LEFT OUTER JOIN {$wpdb->prefix}frm_fields fi ON it.field_id=fi.id" .
195
+ FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
196
 
197
+ if ($limit == ' LIMIT 1')
198
+ $results = $wpdb->get_row($query);
199
+ else
200
+ $results = $wpdb->get_results($query);
201
 
202
+ if($results and $stripslashes){
203
+ foreach($results as $k => $result){
204
+ $results[$k]->meta_value = stripslashes_deep(maybe_unserialize($result->meta_value));
205
+ unset($k);
206
+ unset($result);
207
+ }
208
  }
 
209
 
210
+ return $results;
211
+ }
212
 
213
+ function getEntryIds($where = '', $order_by = '', $limit = '', $unique=true, $drafts=false){
214
+ global $wpdb;
215
+ $query = "SELECT ";
216
+ $query .= ($unique) ? "DISTINCT(it.item_id)" : "it.item_id";
217
+ $query .= " FROM {$wpdb->prefix}frm_item_metas it LEFT OUTER JOIN {$wpdb->prefix}frm_fields fi ON it.field_id=fi.id ";
 
 
 
 
218
 
219
+ if ( !$drafts ) {
220
+ $query .= "INNER JOIN {$wpdb->prefix}frm_items e ON (e.id=it.item_id) ";
221
+ if ( is_array($where) ) {
222
+ $where['e.is_draft'] = 0;
223
+ } else {
224
+ if ( strpos($where, ' GROUP BY ') ) {
225
+ // don't inject WHERE filtering after GROUP BY
226
+ $parts = explode(' GROUP BY ', $where);
227
+ $where = $parts[0];
228
+ $where .= ' AND e.is_draft=0';
229
+ $where .= ' GROUP BY '. $parts[1];
230
+ } else {
231
+ $where .= ' AND e.is_draft=0';
232
+ }
233
+ }
234
+ }
235
+
236
+ $query .= FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
237
+ if ($limit == ' LIMIT 1')
238
+ $results = $wpdb->get_var($query);
239
+ else
240
+ $results = $wpdb->get_col($query);
241
+
242
+ return $results;
243
+ }
244
 
245
+ function search_entry_metas($search, $field_id='', $operator){
246
+ global $wpdb;
247
+ if (is_array($search)){
248
+ $where = '';
249
  foreach ($search as $field => $value){
250
+ if ($field == 'year' and $value > 0)
251
+ $where .= " meta_value {$operator} '%{$value}' and";
252
+ if ($field == 'month' and $value > 0)
253
+ $where .= " meta_value {$operator} '{$value}%' and";
254
+ if ($field == 'day' and $value > 0)
255
+ $where .= " meta_value {$operator} '%/{$value}/%' and";
256
  }
257
  $where .= " field_id='{$field_id}'";
258
+ $query = "SELECT DISTINCT item_id FROM {$wpdb->prefix}frm_item_metas". FrmAppHelper::prepend_and_or_where(' WHERE ', $where);
259
  }else{
260
  if ($operator == 'LIKE')
261
  $search = "%{$search}%";
262
+ $query = $wpdb->prepare("SELECT DISTINCT item_id FROM {$wpdb->prefix}frm_item_metas WHERE meta_value {$operator} %s and field_id = %d", $search, $field_id);
263
+ }
264
+ return $wpdb->get_col($query, 0);
265
+ }
266
 
267
  }
classes/models/FrmField.php CHANGED
@@ -1,20 +1,26 @@
1
  <?php
 
 
 
 
 
2
  class FrmField{
3
 
4
  function create( $values, $return=true ){
5
- global $wpdb, $frmdb;
6
 
7
  $new_values = array();
8
  $key = isset($values['field_key']) ? $values['field_key'] : $values['name'];
9
- $new_values['field_key'] = FrmAppHelper::get_unique_key($key, $frmdb->fields, 'field_key');
10
 
11
- foreach (array('name', 'description', 'type', 'default_value') as $col)
12
- $new_values[$col] = stripslashes_deep($values[$col]);
 
13
 
14
  $new_values['options'] = $values['options'];
15
 
16
  $new_values['field_order'] = isset($values['field_order']) ? (int)$values['field_order'] : NULL;
17
- $new_values['required'] = isset($values['required']) ? (int)$values['required'] : NULL;
18
  $new_values['form_id'] = isset($values['form_id']) ? (int)$values['form_id'] : NULL;
19
  $new_values['field_options'] = $values['field_options'];
20
  $new_values['created_at'] = current_time('mysql', 1);
@@ -23,12 +29,18 @@ class FrmField{
23
  $frm_duplicate_ids[$values['field_key']] = $new_values['field_key'];
24
  $new_values = apply_filters('frm_duplicated_field', $new_values);
25
  }
26
- $new_values['field_options'] = is_array($new_values['field_options']) ? serialize($new_values['field_options']) : $new_values['field_options'];
 
 
 
 
 
 
27
 
28
  //if(isset($values['id']) and is_numeric($values['id']))
29
  // $new_values['id'] = $values['id'];
30
-
31
- $query_results = $wpdb->insert( $frmdb->fields, $new_values );
32
  if($return){
33
  if($query_results){
34
  delete_transient('frm_all_form_fields_'. $new_values['form_id']);
@@ -43,14 +55,14 @@ class FrmField{
43
  }
44
 
45
  function duplicate($old_form_id, $form_id, $copy_keys=false, $blog_id=false){
46
- global $frmdb, $frm_duplicate_ids;
47
  $fields = $this->getAll(array('fi.form_id' => $old_form_id), 'field_order', '', $blog_id);
48
- foreach ($fields as $field){
49
  $values = array();
50
  $new_key = ($copy_keys) ? $field->field_key : '';
51
  if($copy_keys and substr($field->field_key, -1) == 2)
52
  $new_key = rtrim($new_key, 2);
53
- $values['field_key'] = FrmAppHelper::get_unique_key($new_key, $frmdb->fields, 'field_key');
54
  $values['options'] = maybe_serialize($field->options);
55
  $values['form_id'] = $form_id;
56
  foreach (array('name', 'description', 'type', 'default_value', 'field_order', 'required', 'field_options') as $col)
@@ -64,15 +76,25 @@ class FrmField{
64
  }
65
 
66
  function update( $id, $values ){
67
- global $wpdb, $frmdb;
68
-
69
  if (isset($values['field_key']))
70
- $values['field_key'] = FrmAppHelper::get_unique_key($values['field_key'], $frmdb->fields, 'field_key', $id);
71
 
 
 
 
 
 
 
 
72
  if (isset($values['field_options']) and is_array($values['field_options']))
73
  $values['field_options'] = serialize($values['field_options']);
74
-
75
- $query_results = $wpdb->update( $frmdb->fields, $values, array( 'id' => $id ) );
 
 
 
76
 
77
  if(isset($values['form_id'])){
78
  $form_id = $values['form_id'];
@@ -93,30 +115,30 @@ class FrmField{
93
  }
94
 
95
  function destroy( $id ){
96
- global $wpdb, $frmdb;
97
 
98
  do_action('frm_before_destroy_field', $id);
99
  do_action('frm_before_destroy_field_'. $id);
100
 
101
  wp_cache_delete( $id, 'frm_field' );
102
  $field = $this->getOne($id);
 
 
 
 
103
  delete_transient('frm_all_form_fields_'. $field->form_id);
104
 
105
- $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE field_id='$id'");
106
- return $wpdb->query("DELETE FROM $frmdb->fields WHERE id='$id'");
107
  }
108
 
109
  function getOne( $id ){
110
- global $wpdb, $frmdb;
111
  $results = wp_cache_get( $id, 'frm_field' );
112
  if(!$results){
113
 
114
- if (is_numeric($id))
115
- $where = array('id' => $id);
116
- else
117
- $where = array('field_key' => $id);
118
-
119
- $results = $frmdb->get_one_record($frmdb->fields, $where);
120
 
121
  if($results){
122
  wp_cache_set( $results->id, $results, 'frm_field' );
@@ -126,6 +148,8 @@ class FrmField{
126
 
127
  if($results){
128
  $results->field_options = maybe_unserialize($results->field_options);
 
 
129
  $results->options = maybe_unserialize($results->options);
130
  $results->default_value = maybe_unserialize($results->default_value);
131
  }
@@ -134,9 +158,9 @@ class FrmField{
134
  }
135
 
136
  function getAll($where=array(), $order_by = '', $limit = '', $blog_id=false){
137
- global $wpdb, $frmdb;
138
 
139
- if ($blog_id and IS_WPMU){
140
  global $wpmuBaseTablePrefix;
141
  if($wpmuBaseTablePrefix)
142
  $prefix = "{$wpmuBaseTablePrefix}{$blog_id}_";
@@ -146,8 +170,8 @@ class FrmField{
146
  $table_name = "{$prefix}frm_fields";
147
  $form_table_name = "{$prefix}frm_forms";
148
  }else{
149
- $table_name = $frmdb->fields;
150
- $form_table_name = $frmdb->forms;
151
  }
152
 
153
  if(!empty($order_by) and !preg_match("/ORDER BY/", $order_by))
@@ -156,12 +180,10 @@ class FrmField{
156
  if(is_numeric($limit))
157
  $limit = " LIMIT {$limit}";
158
 
159
- $query = 'SELECT fi.*, ' .
160
- 'fr.name as form_name ' .
161
- 'FROM '. $table_name . ' fi ' .
162
- 'LEFT OUTER JOIN ' . $form_table_name . ' fr ON fi.form_id=fr.id';
163
  $old_where = $where;
164
- if(is_array($where)){
 
165
  extract($frmdb->get_where_clause_and_values( $where ));
166
 
167
  $query .= "{$where}{$order_by}{$limit}";
@@ -177,7 +199,7 @@ class FrmField{
177
  if($order_by == ' ORDER BY field_order' and empty($limit) and empty($blog_id) and is_array($old_where) and count($old_where) == 1 and reset($ak) == 'fi.form_id'){
178
  $save_cache = true;
179
  $results = get_transient('frm_all_form_fields_'. reset($old_where));
180
- if($results)
181
  $cached = true;
182
  }
183
  unset($ak);
@@ -191,6 +213,8 @@ class FrmField{
191
  wp_cache_set($result->id, $result, 'frm_field');
192
  wp_cache_set($result->field_key, $result, 'frm_field');
193
  $results[$r_key]->field_options = maybe_unserialize($result->field_options);
 
 
194
  $results[$r_key]->options = maybe_unserialize($result->options);
195
  $results[$r_key]->default_value = maybe_unserialize($result->default_value);
196
  $form_id = $result->form_id;
@@ -201,17 +225,20 @@ class FrmField{
201
  wp_cache_set($results->id, $results, 'frm_field');
202
  wp_cache_set($results->field_key, $results, 'frm_field');
203
  $results->field_options = maybe_unserialize($results->field_options);
 
 
204
  $results->options = maybe_unserialize($results->options);
205
  $results->default_value = maybe_unserialize($results->default_value);
206
  }
207
  }
 
208
  return stripslashes_deep($results);
209
  }
210
 
211
  function getIds($where = '', $order_by = '', $limit = ''){
212
- global $wpdb, $frmdb;
213
- $query = "SELECT fi.id FROM $frmdb->fields fi " .
214
- "LEFT OUTER JOIN $frmdb->forms fr ON fi.form_id=fr.id" .
215
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
216
  if ($limit == ' LIMIT 1' or $limit == 1)
217
  $results = $wpdb->get_row($query);
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
+
4
+ if(class_exists('FrmField'))
5
+ return;
6
+
7
  class FrmField{
8
 
9
  function create( $values, $return=true ){
10
+ global $wpdb;
11
 
12
  $new_values = array();
13
  $key = isset($values['field_key']) ? $values['field_key'] : $values['name'];
14
+ $new_values['field_key'] = FrmAppHelper::get_unique_key($key, $wpdb->prefix .'frm_fields', 'field_key');
15
 
16
+ foreach ( array('name', 'description', 'type', 'default_value') as $col ) {
17
+ $new_values[$col] = $values[$col];
18
+ }
19
 
20
  $new_values['options'] = $values['options'];
21
 
22
  $new_values['field_order'] = isset($values['field_order']) ? (int)$values['field_order'] : NULL;
23
+ $new_values['required'] = isset($values['required']) ? (int)$values['required'] : 0;
24
  $new_values['form_id'] = isset($values['form_id']) ? (int)$values['form_id'] : NULL;
25
  $new_values['field_options'] = $values['field_options'];
26
  $new_values['created_at'] = current_time('mysql', 1);
29
  $frm_duplicate_ids[$values['field_key']] = $new_values['field_key'];
30
  $new_values = apply_filters('frm_duplicated_field', $new_values);
31
  }
32
+
33
+ foreach($new_values as $k => $v){
34
+ if(is_array($v))
35
+ $new_values[$k] = serialize($v);
36
+ unset($k);
37
+ unset($v);
38
+ }
39
 
40
  //if(isset($values['id']) and is_numeric($values['id']))
41
  // $new_values['id'] = $values['id'];
42
+
43
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_fields', $new_values );
44
  if($return){
45
  if($query_results){
46
  delete_transient('frm_all_form_fields_'. $new_values['form_id']);
55
  }
56
 
57
  function duplicate($old_form_id, $form_id, $copy_keys=false, $blog_id=false){
58
+ global $frm_duplicate_ids, $wpdb;
59
  $fields = $this->getAll(array('fi.form_id' => $old_form_id), 'field_order', '', $blog_id);
60
+ foreach ((array)$fields as $field){
61
  $values = array();
62
  $new_key = ($copy_keys) ? $field->field_key : '';
63
  if($copy_keys and substr($field->field_key, -1) == 2)
64
  $new_key = rtrim($new_key, 2);
65
+ $values['field_key'] = FrmAppHelper::get_unique_key($new_key, $wpdb->prefix .'frm_fields', 'field_key');
66
  $values['options'] = maybe_serialize($field->options);
67
  $values['form_id'] = $form_id;
68
  foreach (array('name', 'description', 'type', 'default_value', 'field_order', 'required', 'field_options') as $col)
76
  }
77
 
78
  function update( $id, $values ){
79
+ global $wpdb;
80
+
81
  if (isset($values['field_key']))
82
+ $values['field_key'] = FrmAppHelper::get_unique_key($values['field_key'], $wpdb->prefix .'frm_fields', 'field_key', $id);
83
 
84
+ if ( isset($values['required']) ) {
85
+ $values['required'] = (int) $values['required'];
86
+ }
87
+
88
+ if (isset($values['default_value']) and is_array($values['default_value']))
89
+ $values['default_value'] = serialize($values['default_value']);
90
+
91
  if (isset($values['field_options']) and is_array($values['field_options']))
92
  $values['field_options'] = serialize($values['field_options']);
93
+
94
+ if (isset($values['options']) and is_array($values['options']))
95
+ $values['options'] = serialize($values['options']);
96
+
97
+ $query_results = $wpdb->update( $wpdb->prefix .'frm_fields', $values, array( 'id' => $id ) );
98
 
99
  if(isset($values['form_id'])){
100
  $form_id = $values['form_id'];
115
  }
116
 
117
  function destroy( $id ){
118
+ global $wpdb;
119
 
120
  do_action('frm_before_destroy_field', $id);
121
  do_action('frm_before_destroy_field_'. $id);
122
 
123
  wp_cache_delete( $id, 'frm_field' );
124
  $field = $this->getOne($id);
125
+ if ( !$field ) {
126
+ return false;
127
+ }
128
+
129
  delete_transient('frm_all_form_fields_'. $field->form_id);
130
 
131
+ $wpdb->query("DELETE FROM {$wpdb->prefix}frm_item_metas WHERE field_id='$id'");
132
+ return $wpdb->query("DELETE FROM {$wpdb->prefix}frm_fields WHERE id='$id'");
133
  }
134
 
135
  function getOne( $id ){
136
+ global $wpdb;
137
  $results = wp_cache_get( $id, 'frm_field' );
138
  if(!$results){
139
 
140
+ $where = (is_numeric($id)) ? 'id=%d' : 'field_key=%s';
141
+ $results = $wpdb->get_row($wpdb->prepare("SELECT * FROM {$wpdb->prefix}frm_fields WHERE $where", $id));
 
 
 
 
142
 
143
  if($results){
144
  wp_cache_set( $results->id, $results, 'frm_field' );
148
 
149
  if($results){
150
  $results->field_options = maybe_unserialize($results->field_options);
151
+ if(isset($results->field_options['format']) and !empty($results->field_options['format']))
152
+ $results->field_options['format'] = addslashes($results->field_options['format']);
153
  $results->options = maybe_unserialize($results->options);
154
  $results->default_value = maybe_unserialize($results->default_value);
155
  }
158
  }
159
 
160
  function getAll($where=array(), $order_by = '', $limit = '', $blog_id=false){
161
+ global $wpdb;
162
 
163
+ if ($blog_id and is_multisite()){
164
  global $wpmuBaseTablePrefix;
165
  if($wpmuBaseTablePrefix)
166
  $prefix = "{$wpmuBaseTablePrefix}{$blog_id}_";
170
  $table_name = "{$prefix}frm_fields";
171
  $form_table_name = "{$prefix}frm_forms";
172
  }else{
173
+ $table_name = $wpdb->prefix .'frm_fields';
174
+ $form_table_name = $wpdb->prefix .'frm_forms';
175
  }
176
 
177
  if(!empty($order_by) and !preg_match("/ORDER BY/", $order_by))
180
  if(is_numeric($limit))
181
  $limit = " LIMIT {$limit}";
182
 
183
+ $query = "SELECT fi.*, fr.name as form_name FROM {$table_name} fi LEFT OUTER JOIN {$form_table_name} fr ON fi.form_id=fr.id";
 
 
 
184
  $old_where = $where;
185
+ if(is_array($where)){
186
+ global $frmdb;
187
  extract($frmdb->get_where_clause_and_values( $where ));
188
 
189
  $query .= "{$where}{$order_by}{$limit}";
199
  if($order_by == ' ORDER BY field_order' and empty($limit) and empty($blog_id) and is_array($old_where) and count($old_where) == 1 and reset($ak) == 'fi.form_id'){
200
  $save_cache = true;
201
  $results = get_transient('frm_all_form_fields_'. reset($old_where));
202
+ if($results and (is_array($results) or is_object($results)))
203
  $cached = true;
204
  }
205
  unset($ak);
213
  wp_cache_set($result->id, $result, 'frm_field');
214
  wp_cache_set($result->field_key, $result, 'frm_field');
215
  $results[$r_key]->field_options = maybe_unserialize($result->field_options);
216
+ if(isset($results[$r_key]->field_options['format']) and !empty($results[$r_key]->field_options['format']))
217
+ $results[$r_key]->field_options['format'] = addslashes($results[$r_key]->field_options['format']);
218
  $results[$r_key]->options = maybe_unserialize($result->options);
219
  $results[$r_key]->default_value = maybe_unserialize($result->default_value);
220
  $form_id = $result->form_id;
225
  wp_cache_set($results->id, $results, 'frm_field');
226
  wp_cache_set($results->field_key, $results, 'frm_field');
227
  $results->field_options = maybe_unserialize($results->field_options);
228
+ if(isset($results->field_options['format']) and !empty($results->field_options['format']))
229
+ $results->field_options['format'] = addslashes($results->field_options['format']);
230
  $results->options = maybe_unserialize($results->options);
231
  $results->default_value = maybe_unserialize($results->default_value);
232
  }
233
  }
234
+
235
  return stripslashes_deep($results);
236
  }
237
 
238
  function getIds($where = '', $order_by = '', $limit = ''){
239
+ global $wpdb;
240
+ $query = "SELECT fi.id FROM {$wpdb->prefix}frm_fields fi " .
241
+ "LEFT OUTER JOIN {$wpdb->prefix}frm_forms fr ON fi.form_id=fr.id" .
242
  FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
243
  if ($limit == ' LIMIT 1' or $limit == 1)
244
  $results = $wpdb->get_row($query);
classes/models/FrmForm.php CHANGED
@@ -1,281 +1,299 @@
1
  <?php
2
- class FrmForm{
3
 
4
- function create( $values ){
5
- global $wpdb, $frmdb, $frm_settings;
6
-
7
- $new_values = array();
8
- $new_values['form_key'] = FrmAppHelper::get_unique_key($values['form_key'], $frmdb->forms, 'form_key');
9
- $new_values['name'] = $values['name'];
10
- $new_values['description'] = $values['description'];
11
- $new_values['status'] = isset($values['status']) ? $values['status'] : 'draft';
12
- $new_values['is_template'] = isset($values['is_template']) ? (int)$values['is_template'] : 0;
13
- $new_values['editable'] = isset($values['editable']) ? (int)$values['editable'] : 0;
14
- $new_values['default_template'] = isset($values['default_template']) ? (int)$values['default_template'] : 0;
15
- $new_values['prli_link_id'] = isset($link_id)?(int)$link_id:0;
16
- $options = array();
17
-
18
- $defaults = FrmFormsHelper::get_default_opts();
19
- foreach ($defaults as $var => $default){
20
- $options[$var] = isset($values['options'][$var]) ? $values['options'][$var] : $default;
21
- unset($var);
22
- unset($default);
23
- }
24
-
25
- $options['before_html'] = isset($values['options']['before_html']) ? $values['options']['before_html'] : FrmFormsHelper::get_default_html('before');
26
- $options['after_html'] = isset($values['options']['after_html']) ? $values['options']['after_html'] : FrmFormsHelper::get_default_html('after');
27
- $options['submit_html'] = isset($values['options']['submit_html']) ? $values['options']['submit_html'] : FrmFormsHelper::get_default_html('submit');
28
-
29
- $options = apply_filters('frm_form_options_before_update', $options, $values);
30
- $new_values['options'] = serialize($options);
31
- $new_values['created_at'] = current_time('mysql', 1);
32
-
33
- //if(isset($values['id']) and is_numeric($values['id']))
34
- // $new_values['id'] = $values['id'];
35
 
36
- $query_results = $wpdb->insert( $frmdb->forms, $new_values );
37
-
38
- return $wpdb->insert_id;
39
- }
40
-
41
- function duplicate( $id, $template=false, $copy_keys=false, $blog_id=false ){
42
- global $wpdb, $frmdb, $frm_form, $frm_field;
43
-
44
- $values = $frm_form->getOne( $id, $blog_id );
45
- if(!$values)
46
- return false;
47
-
48
- $new_values = array();
49
- $new_key = ($copy_keys) ? $values->form_key : '';
50
- $new_values['form_key'] = FrmAppHelper::get_unique_key($new_key, $frmdb->forms, 'form_key');
51
- $new_values['name'] = $values->name;
52
- $new_values['description'] = $values->description;
53
- $new_values['status'] = (!$template) ? 'draft' : '';
54
-
55
- if ($blog_id){
56
- $new_values['status'] = 'published';
57
- $new_options = maybe_unserialize($values->options);
58
- $new_options['email_to'] = get_option('admin_email');
59
- $new_options['copy'] = false;
60
- $new_values['options'] = $new_options;
61
- }else
62
- $new_values['options'] = $values->options;
63
-
64
- if(is_array($new_values['options']))
65
- $new_values['options'] = serialize($new_values['options']);
66
-
67
- $new_values['logged_in'] = $values->logged_in ? $values->logged_in : 0;
68
- $new_values['editable'] = $values->editable ? $values->editable : 0;
69
- $new_values['created_at'] = current_time('mysql', 1);
70
- $new_values['is_template'] = ($template) ? 1 : 0;
71
 
72
- $query_results = $wpdb->insert( $frmdb->forms, $new_values );
73
-
74
- if($query_results){
75
- $form_id = $wpdb->insert_id;
76
- $frm_field->duplicate($id, $form_id, $copy_keys, $blog_id);
77
-
78
- return $form_id;
79
- }else
80
- return false;
81
- }
82
-
83
- function update( $id, $values, $create_link = false ){
84
- global $wpdb, $frmdb, $frm_field, $frm_settings;
85
-
86
- if ($create_link or isset($values['options']) or isset($values['item_meta']) or isset($values['field_options']))
87
- $values['status'] = 'published';
88
-
89
- if (isset($values['form_key']))
90
- $values['form_key'] = FrmAppHelper::get_unique_key($values['form_key'], $frmdb->forms, 'form_key', $id);
91
-
92
- $form_fields = array('form_key', 'name', 'description', 'status', 'prli_link_id');
93
-
94
- $new_values = array();
95
 
96
- if (isset($values['options'])){
97
- $options = array();
 
 
 
 
 
 
 
 
98
 
 
 
99
  $defaults = FrmFormsHelper::get_default_opts();
100
- foreach ($defaults as $var => $default){
101
- if($var == 'notification')
102
- $options[$var] = isset($values[$var]) ? $values[$var] : $default;
103
- else
104
- $options[$var] = isset($values['options'][$var]) ? $values['options'][$var] : $default;
105
  }
106
-
107
- $options['custom_style'] = isset($values['options']['custom_style']) ? $values['options']['custom_style'] : 0;
108
  $options['before_html'] = isset($values['options']['before_html']) ? $values['options']['before_html'] : FrmFormsHelper::get_default_html('before');
109
  $options['after_html'] = isset($values['options']['after_html']) ? $values['options']['after_html'] : FrmFormsHelper::get_default_html('after');
110
- $options['submit_html'] = (isset($values['options']['submit_html']) and $values['options']['submit_html'] != '') ? $values['options']['submit_html'] : FrmFormsHelper::get_default_html('submit');
111
-
112
  $options = apply_filters('frm_form_options_before_update', $options, $values);
113
  $new_values['options'] = serialize($options);
 
 
 
 
 
 
 
114
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
- foreach ($values as $value_key => $value){
117
- if (in_array($value_key, $form_fields))
118
- $new_values[$value_key] = $value;
 
 
 
 
 
 
 
 
119
  }
120
-
121
- if(!empty($new_values)){
122
- $query_results = $wpdb->update( $frmdb->forms, $new_values, array( 'id' => $id ) );
123
- if($query_results)
124
- wp_cache_delete( $id, 'frm_form');
125
- }else{
126
- $query_results = true;
 
 
 
 
 
127
  }
128
 
129
- $all_fields = $frm_field->getAll(array('fi.form_id' => $id), 'field_order');
130
- if ($all_fields and (isset($values['options']) or isset($values['item_meta']) or isset($values['field_options']))){
131
- if(!isset($values['item_meta']))
132
- $values['item_meta'] = array();
133
- $existing_keys = array_keys($values['item_meta']);
134
 
135
- foreach ($all_fields as $fid){
136
- if (!in_array($fid->id, $existing_keys) and (isset($values['frm_fields_submitted']) and in_array($fid->id, $values['frm_fields_submitted'])) or isset($values['options']))
137
- $values['item_meta'][$fid->id] = '';
138
  }
139
-
140
- foreach ($values['item_meta'] as $field_id => $default_value){
141
- $field = $frm_field->getOne($field_id);
142
- if (!$field) continue;
143
- $field_options = maybe_unserialize($field->field_options);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
 
145
- if(isset($values['options']) or isset($values['field_options']['custom_html_'.$field_id])){
146
- //updating the settings page
147
- if(isset($values['field_options']['custom_html_'.$field_id])){
148
- $field_options['custom_html'] = isset($values['field_options']['custom_html_'.$field_id]) ? $values['field_options']['custom_html_'.$field_id] : (isset($field_options['custom_html']) ? $field_options['custom_html'] : FrmFieldsHelper::get_default_html($field->type));
149
- $field_options = apply_filters('frm_update_form_field_options', $field_options, $field, $values);
150
- $frm_field->update($field_id, array('field_options' => $field_options));
151
- }else if($field->type == 'hidden' or $field->type == 'user_id'){
152
- $prev_opts = $field_options;
153
- $field_options = apply_filters('frm_update_form_field_options', $field_options, $field, $values);
154
- if($prev_opts != $field_options)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  $frm_field->update($field_id, array('field_options' => $field_options));
156
- unset($prev_opts);
 
 
 
 
 
 
157
  }
158
- }else{
159
- //updating the form
160
-
161
- foreach (array('size', 'max', 'label', 'invalid', 'blank', 'classes') as $opt)
162
- $field_options[$opt] = isset($values['field_options'][$opt.'_'.$field_id]) ? trim($values['field_options'][$opt.'_'.$field_id]) : '';
163
 
164
- $field_options['required_indicator'] = isset($values['field_options']['required_indicator_'. $field_id]) ? trim($values['field_options']['required_indicator_'. $field_id]) : '*';
165
- $field_options['separate_value'] = isset($values['field_options']['separate_value_'.$field_id]) ? trim($values['field_options']['separate_value_'.$field_id]) : 0;
166
-
167
- $field_options = apply_filters('frm_update_field_options', $field_options, $field, $values);
168
- $default_value = maybe_serialize($values['item_meta'][$field_id]);
169
- $field_key = (isset($values['field_options']['field_key_'.$field_id]))? $values['field_options']['field_key_'.$field_id] : $field->field_key;
170
- $field_type = (isset($values['field_options']['type_'.$field_id]))? $values['field_options']['type_'.$field_id] : $field->type;
171
- $field_description = (isset($values['field_options']['description_'.$field_id]))? $values['field_options']['description_'.$field_id] : $field->description;
172
-
173
- $frm_field->update($field_id, array('field_key' => $field_key, 'type' => $field_type, 'default_value' => $default_value, 'field_options' => $field_options, 'description' => $field_description));
 
 
 
 
 
 
 
 
174
  }
175
  }
176
- }
177
-
178
- if (isset($values['form_key']) && class_exists('PrliLink')){
 
 
 
 
 
 
 
179
  $form = $this->getOne($id);
180
- global $prli_link;
181
- $prlink = $prli_link->getOne($form->prli_link_id);
182
- if ($prlink){
183
- $prli = array();
184
- $prli['url'] = FrmFormsHelper::get_direct_link($values['form_key']);
185
- $prli['slug'] = $prlink->slug;
186
- $prli['name'] = $prlink->name;
187
- $prli['param_forwarding'] = $prlink->param_forwarding;
188
- $prli['param_struct'] = $prlink->param_struct;
189
- $prli['redirect_type'] = $prlink->redirect_type;
190
- $prli['description'] = $prlink->description;
191
- $prli['track_me'] = $prlink->track_me;
192
- $prli['nofollow'] = $prlink->nofollow;
193
- $prli['group_id'] = $prlink->group_id;
194
- $prli_link->update($form->prli_link_id, $prli); //update target url
195
- }else if($create_link && $form->is_template != 1){
196
- $link_id = prli_create_pretty_link(FrmFormsHelper::get_direct_link($values['form_key']), $values['form_key'], $form->name, $form->description, $group_id = '' );
197
- $wpdb->update( $frmdb->forms, array('prli_link_id' => $link_id), array( 'id' => $id ) );
198
  }
199
- }
200
- do_action('frm_update_form', $id, $values);
201
- do_action('frm_update_form_'. $id, $values);
202
-
203
- return $query_results;
204
- }
205
-
206
- function destroy( $id ){
207
- global $wpdb, $frmdb, $frm_entry;
208
-
209
- $form = $this->getOne($id);
210
- if (!$form or $form->default_template)
211
- return false;
212
-
213
- // Disconnect the items from this form
214
- $entries = $frm_entry->getAll(array('it.form_id' => $id));
215
- foreach ($entries as $item)
216
- $frm_entry->destroy($item->id);
217
-
218
- // Disconnect the fields from this form
219
- $query_results = $wpdb->query("DELETE FROM `$frmdb->fields` WHERE `form_id` = '$id'");
220
-
221
- $query_results = $wpdb->query("DELETE FROM `$frmdb->forms` WHERE `id` = '$id'");
222
- if ($query_results){
223
- do_action('frm_destroy_form', $id);
224
- do_action('frm_destroy_form_'. $id);
225
  }
226
- return $query_results;
227
- }
228
 
229
- function getName( $id ){
230
- global $wpdb, $frmdb;
231
- $query = "SELECT name FROM $frmdb->forms WHERE ";
232
- $query .= (is_numeric($id)) ? "id" : "form_key";
233
- $query .= "='{$id}'";
234
- $r = $wpdb->get_var($query);
235
- return stripslashes($r);
236
- }
 
 
 
 
 
237
 
238
- function getIdByKey( $key ){
239
- global $wpdb, $frmdb;
240
- $query = "SELECT id FROM $frmdb->forms WHERE form_key='$key' LIMIT 1";
241
- return $wpdb->get_var($query);
242
- }
243
-
244
- function getOne( $id, $blog_id=false ){
245
- global $wpdb, $frmdb;
246
 
247
- if ($blog_id and IS_WPMU){
248
- global $wpmuBaseTablePrefix;
249
- if($wpmuBaseTablePrefix)
250
- $prefix = "{$wpmuBaseTablePrefix}{$blog_id}_";
251
- else
252
- $prefix = $wpdb->get_blog_prefix( $blog_id );
253
 
254
- $table_name = "{$prefix}frm_forms";
255
- }else{
256
- $table_name = $frmdb->forms;
257
- $cache = wp_cache_get($id, 'frm_form');
258
- if($cache){
259
- if(isset($cache->options))
260
- $cache->options = maybe_unserialize($cache->options);
 
261
 
262
- return stripslashes_deep($cache);
263
- }
264
- }
265
 
266
- if (is_numeric($id))
267
- $where = array('id' => $id);
268
- else
269
- $where = array('form_key' => $id);
270
-
271
- $results = $frmdb->get_one_record($table_name, $where);
272
 
273
- if(isset($results->options)){
274
- wp_cache_set($results->id, $results, 'frm_form');
275
- $results->options = maybe_unserialize($results->options);
276
- }
277
- return stripslashes_deep($results);
278
- }
279
 
280
  function getAll( $where = array(), $order_by = '', $limit = '' ){
281
  global $wpdb, $frmdb;
@@ -283,11 +301,11 @@ class FrmForm{
283
  if(is_numeric($limit))
284
  $limit = " LIMIT {$limit}";
285
 
286
- $query = 'SELECT * FROM ' . $frmdb->forms . FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
287
 
288
- if ($limit == ' LIMIT 1' or $limit == 1){
289
  if(is_array($where))
290
- $results = $frmdb->get_one_record($frmdb->forms, $where, '*', $order_by);
291
  else
292
  $results = $wpdb->get_row($query);
293
 
@@ -297,7 +315,7 @@ class FrmForm{
297
  }
298
  }else{
299
  if(is_array($where))
300
- $results = $frmdb->get_records($frmdb->forms, $where, $order_by, $limit);
301
  else
302
  $results = $wpdb->get_results($query);
303
 
@@ -312,17 +330,17 @@ class FrmForm{
312
  return stripslashes_deep($results);
313
  }
314
 
315
- function validate( $values ){
316
- $errors = array();
317
 
318
- /*if( $values['form_key'] == null or $values['form_key'] == '' ){
319
- if( $values['name'] == null or $values['name'] == '' )
320
  $errors[] = "Key can't be blank";
321
  else
322
  $_POST['form_key'] = $values['name'];
323
  }*/
324
 
325
- return apply_filters('frm_validate_form', $errors, $values);
326
- }
327
 
328
  }
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
3
 
4
+ if(class_exists('FrmForm'))
5
+ return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
 
7
+ class FrmForm{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
+ function create( $values ) {
10
+ global $wpdb, $frm_settings;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
+ $new_values = array(
13
+ 'form_key' => FrmAppHelper::get_unique_key($values['form_key'], $wpdb->prefix .'frm_forms', 'form_key'),
14
+ 'name' => $values['name'],
15
+ 'description' => $values['description'],
16
+ 'status' => isset($values['status']) ? $values['status'] : 'draft',
17
+ 'is_template' => isset($values['is_template']) ? (int) $values['is_template'] : 0,
18
+ 'editable' => isset($values['editable']) ? (int) $values['editable'] : 0,
19
+ 'default_template' => isset($values['default_template']) ? (int) $values['default_template'] : 0,
20
+ 'created_at' => isset($values['created_at']) ? $values['created_at'] : current_time('mysql', 1),
21
+ );
22
 
23
+ $options = array();
24
+
25
  $defaults = FrmFormsHelper::get_default_opts();
26
+ foreach ($defaults as $var => $default) {
27
+ $options[$var] = isset($values['options'][$var]) ? $values['options'][$var] : $default;
28
+ unset($var);
29
+ unset($default);
 
30
  }
31
+
 
32
  $options['before_html'] = isset($values['options']['before_html']) ? $values['options']['before_html'] : FrmFormsHelper::get_default_html('before');
33
  $options['after_html'] = isset($values['options']['after_html']) ? $values['options']['after_html'] : FrmFormsHelper::get_default_html('after');
34
+ $options['submit_html'] = isset($values['options']['submit_html']) ? $values['options']['submit_html'] : FrmFormsHelper::get_default_html('submit');
35
+
36
  $options = apply_filters('frm_form_options_before_update', $options, $values);
37
  $new_values['options'] = serialize($options);
38
+
39
+ //if(isset($values['id']) && is_numeric($values['id']))
40
+ // $new_values['id'] = $values['id'];
41
+
42
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_forms', $new_values );
43
+
44
+ return $wpdb->insert_id;
45
  }
46
+
47
+ function duplicate( $id, $template = false, $copy_keys = false, $blog_id = false ) {
48
+ global $wpdb;
49
+
50
+ $frm_form = new FrmForm();
51
+ $values = $frm_form->getOne( $id, $blog_id );
52
+ if ( !$values ) {
53
+ return false;
54
+ }
55
+
56
+ $new_key = $copy_keys ? $values->form_key : '';
57
+
58
+ $new_values = array(
59
+ 'form_key' => FrmAppHelper::get_unique_key($new_key, $wpdb->prefix .'frm_forms', 'form_key'),
60
+ 'name' => $values->name,
61
+ 'description' => $values->description,
62
+ 'status' => $template ? '' : 'draft',
63
+ 'logged_in' => $values->logged_in ? $values->logged_in : 0,
64
+ 'editable' => $values->editable ? $values->editable : 0,
65
+ 'created_at' => current_time('mysql', 1),
66
+ 'is_template' => $template ? 1 : 0,
67
+ );
68
+
69
+ if ( $blog_id ) {
70
+ $new_values['status'] = 'published';
71
+ $new_options = maybe_unserialize($values->options);
72
+ $new_options['email_to'] = get_option('admin_email');
73
+ $new_options['copy'] = false;
74
+ $new_values['options'] = $new_options;
75
+ } else {
76
+ $new_values['options'] = $values->options;
77
+ }
78
+
79
+ if ( is_array($new_values['options']) ) {
80
+ $new_values['options'] = serialize($new_values['options']);
81
+ }
82
+
83
+ $query_results = $wpdb->insert( $wpdb->prefix .'frm_forms', $new_values );
84
 
85
+ if ( $query_results ) {
86
+ global $frm_field;
87
+ $form_id = $wpdb->insert_id;
88
+ $frm_field->duplicate($id, $form_id, $copy_keys, $blog_id);
89
+
90
+ // update form settings after fields are created
91
+ do_action('frm_after_duplicate_form', $form_id, $new_values);
92
+ return $form_id;
93
+ } else {
94
+ return false;
95
+ }
96
  }
97
+
98
+ function after_duplicate($form_id, $values) {
99
+ $new_opts = $values['options'] = maybe_unserialize($values['options']);
100
+
101
+ $new_opts['success_msg'] = FrmFieldsHelper::switch_field_ids($new_opts['success_msg']);
102
+
103
+ $new_opts = apply_filters('frm_after_duplicate_form_values', $new_opts, $form_id);
104
+
105
+ if ( $new_opts != $values['options'] ) {
106
+ global $wpdb;
107
+ $wpdb->update($wpdb->prefix .'frm_forms', array('options' => maybe_serialize($new_opts)), array('id' => $form_id));
108
+ }
109
  }
110
 
111
+ function update( $id, $values, $create_link = false ) {
112
+ global $wpdb, $frm_field, $frm_settings;
 
 
 
113
 
114
+ if ( $create_link || isset($values['options']) || isset($values['item_meta']) || isset($values['field_options']) ) {
115
+ $values['status'] = 'published';
 
116
  }
117
+
118
+ if ( isset($values['form_key']) ) {
119
+ $values['form_key'] = FrmAppHelper::get_unique_key($values['form_key'], $wpdb->prefix .'frm_forms', 'form_key', $id);
120
+ }
121
+
122
+ $form_fields = array( 'form_key', 'name', 'description', 'status', 'prli_link_id' );
123
+
124
+ $new_values = array();
125
+
126
+ if (isset($values['options'])){
127
+ $options = array();
128
+
129
+ $defaults = FrmFormsHelper::get_default_opts();
130
+ foreach ($defaults as $var => $default) {
131
+ if ( $var == 'notification' && !defined('WP_IMPORTING')) {
132
+ $options[$var] = isset($values[$var]) ? $values[$var] : $default;
133
+ } else {
134
+ $options[$var] = isset($values['options'][$var]) ? $values['options'][$var] : $default;
135
+ }
136
+ }
137
 
138
+ $options['custom_style'] = isset($values['options']['custom_style']) ? $values['options']['custom_style'] : 0;
139
+ $options['before_html'] = isset($values['options']['before_html']) ? $values['options']['before_html'] : FrmFormsHelper::get_default_html('before');
140
+ $options['after_html'] = isset($values['options']['after_html']) ? $values['options']['after_html'] : FrmFormsHelper::get_default_html('after');
141
+ $options['submit_html'] = (isset($values['options']['submit_html']) && $values['options']['submit_html'] != '') ? $values['options']['submit_html'] : FrmFormsHelper::get_default_html('submit');
142
+
143
+ $options = apply_filters('frm_form_options_before_update', $options, $values);
144
+ $new_values['options'] = serialize($options);
145
+ }
146
+
147
+ foreach ( $values as $value_key => $value ) {
148
+ if ( in_array($value_key, $form_fields) ) {
149
+ $new_values[$value_key] = $value;
150
+ }
151
+ }
152
+
153
+ if ( !empty($new_values) ) {
154
+ $query_results = $wpdb->update( $wpdb->prefix .'frm_forms', $new_values, array( 'id' => $id ) );
155
+ if ( $query_results ) {
156
+ wp_cache_delete( $id, 'frm_form');
157
+ }
158
+ } else {
159
+ $query_results = true;
160
+ }
161
+
162
+ $all_fields = $frm_field->getAll(array('fi.form_id' => $id), 'field_order');
163
+ if ( $all_fields && (isset($values['options']) || isset($values['item_meta']) || isset($values['field_options'])) ) {
164
+ if ( !isset($values['item_meta']) ) {
165
+ $values['item_meta'] = array();
166
+ }
167
+ $existing_keys = array_keys($values['item_meta']);
168
+
169
+ foreach ( $all_fields as $fid ) {
170
+ if ( !in_array($fid->id, $existing_keys) && ( isset($values['frm_fields_submitted']) && in_array($fid->id, $values['frm_fields_submitted']) ) || isset($values['options']) ) {
171
+ $values['item_meta'][$fid->id] = '';
172
+ }
173
+ }
174
+
175
+ foreach ( $values['item_meta'] as $field_id => $default_value ) {
176
+ $field = $frm_field->getOne($field_id);
177
+ if (!$field) continue;
178
+ $field_options = maybe_unserialize($field->field_options);
179
+
180
+ if ( isset($values['options']) || isset($values['field_options']['custom_html_'. $field_id]) ) {
181
+ //updating the settings page
182
+ if(isset($values['field_options']['custom_html_'.$field_id])){
183
+ $field_options['custom_html'] = isset($values['field_options']['custom_html_'.$field_id]) ? $values['field_options']['custom_html_'.$field_id] : (isset($field_options['custom_html']) ? $field_options['custom_html'] : FrmFieldsHelper::get_default_html($field->type));
184
+ $field_options = apply_filters('frm_update_form_field_options', $field_options, $field, $values);
185
  $frm_field->update($field_id, array('field_options' => $field_options));
186
+ }else if($field->type == 'hidden' || $field->type == 'user_id'){
187
+ $prev_opts = $field_options;
188
+ $field_options = apply_filters('frm_update_form_field_options', $field_options, $field, $values);
189
+ if($prev_opts != $field_options)
190
+ $frm_field->update($field_id, array('field_options' => $field_options));
191
+ unset($prev_opts);
192
+ }
193
  }
 
 
 
 
 
194
 
195
+ if ( (!isset($values['options']) && !isset($values['field_options']['custom_html_'. $field_id])) || defined('WP_IMPORTING') ) {
196
+ //updating the form
197
+ foreach ( array('size', 'max', 'label', 'invalid', 'blank', 'classes') as $opt ) {
198
+ $field_options[$opt] = isset($values['field_options'][$opt.'_'.$field_id]) ? trim($values['field_options'][$opt.'_'.$field_id]) : '';
199
+ }
200
+
201
+ $field_options['required_indicator'] = isset($values['field_options']['required_indicator_'. $field_id]) ? trim($values['field_options']['required_indicator_'. $field_id]) : '*';
202
+ $field_options['separate_value'] = isset($values['field_options']['separate_value_'.$field_id]) ? trim($values['field_options']['separate_value_'.$field_id]) : 0;
203
+
204
+ $field_options = apply_filters('frm_update_field_options', $field_options, $field, $values);
205
+ $default_value = maybe_serialize($values['item_meta'][$field_id]);
206
+ $field_key = (isset($values['field_options']['field_key_'.$field_id])) ? $values['field_options']['field_key_'.$field_id] : $field->field_key;
207
+ $required = (isset($values['field_options']['required_'.$field_id])) ? $values['field_options']['required_'.$field_id] : false;
208
+ $field_type = (isset($values['field_options']['type_'.$field_id])) ? $values['field_options']['type_'.$field_id] : $field->type;
209
+ $field_description = (isset($values['field_options']['description_'.$field_id])) ? $values['field_options']['description_'.$field_id] : $field->description;
210
+
211
+ $frm_field->update($field_id, array('field_key' => $field_key, 'type' => $field_type, 'default_value' => $default_value, 'field_options' => $field_options, 'description' => $field_description, 'required' => $required));
212
+ }
213
  }
214
  }
215
+
216
+ do_action('frm_update_form', $id, $values);
217
+ do_action('frm_update_form_'. $id, $values);
218
+
219
+ return $query_results;
220
+ }
221
+
222
+ function destroy( $id ){
223
+ global $wpdb, $frm_entry;
224
+
225
  $form = $this->getOne($id);
226
+ if ( !$form || $form->default_template ) {
227
+ return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  }
229
+
230
+ // Disconnect the items from this form
231
+ $entries = $frm_entry->getAll(array('it.form_id' => $id));
232
+ foreach ( $entries as $item ) {
233
+ $frm_entry->destroy($item->id);
234
+ unset($item);
235
+ }
236
+ // Disconnect the fields from this form
237
+ $query_results = $wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->prefix}frm_fields WHERE form_id=%d", $id));
238
+
239
+ $query_results = $wpdb->query($wpdb->prepare("DELETE FROM {$wpdb->prefix}frm_forms WHERE id=%d", $id));
240
+ if ( $query_results ) {
241
+ do_action('frm_destroy_form', $id);
242
+ do_action('frm_destroy_form_'. $id);
243
+ }
244
+ return $query_results;
 
 
 
 
 
 
 
 
 
 
245
  }
 
 
246
 
247
+ function getName( $id ) {
248
+ global $wpdb;
249
+ $cache = wp_cache_get($id, 'frm_form');
250
+ if ( $cache ) {
251
+ return stripslashes($cache->name);
252
+ }
253
+ $query = "SELECT name FROM {$wpdb->prefix}frm_forms WHERE ";
254
+ $query .= (is_numeric($id)) ? "id=%d" : "form_key=%s";
255
+ $query = $wpdb->prepare($query, $id);
256
+
257
+ $r = $wpdb->get_var($query);
258
+ return stripslashes($r);
259
+ }
260
 
261
+ function getIdByKey( $key ){
262
+ global $wpdb;
263
+ $query = $wpdb->prepare("SELECT id FROM {$wpdb->prefix}frm_forms WHERE form_key=%s LIMIT 1", $key);
264
+ return $wpdb->get_var($query);
265
+ }
266
+
267
+ function getOne( $id, $blog_id=false ){
268
+ global $wpdb, $frmdb;
269
 
270
+ if ( $blog_id && is_multisite() ) {
271
+ global $wpmuBaseTablePrefix;
272
+ $prefix = $wpmuBaseTablePrefix ? "{$wpmuBaseTablePrefix}{$blog_id}_" : $wpdb->get_blog_prefix( $blog_id );
 
 
 
273
 
274
+ $table_name = "{$prefix}frm_forms";
275
+ } else {
276
+ $table_name = $wpdb->prefix .'frm_forms';
277
+ $cache = wp_cache_get($id, 'frm_form');
278
+ if ( $cache ) {
279
+ if ( isset($cache->options) ) {
280
+ $cache->options = maybe_unserialize($cache->options);
281
+ }
282
 
283
+ return stripslashes_deep($cache);
284
+ }
285
+ }
286
 
287
+ $where = $wpdb->prepare( is_numeric($id) ? 'id=%d' : 'form_key=%s', $id );
288
+
289
+ $results = $wpdb->get_row("SELECT * FROM $table_name WHERE $where");
 
 
 
290
 
291
+ if ( isset($results->options) ) {
292
+ wp_cache_set($results->id, $results, 'frm_form');
293
+ $results->options = maybe_unserialize($results->options);
294
+ }
295
+ return stripslashes_deep($results);
296
+ }
297
 
298
  function getAll( $where = array(), $order_by = '', $limit = '' ){
299
  global $wpdb, $frmdb;
301
  if(is_numeric($limit))
302
  $limit = " LIMIT {$limit}";
303
 
304
+ $query = 'SELECT * FROM ' . $wpdb->prefix .'frm_forms' . FrmAppHelper::prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
305
 
306
+ if ($limit == ' LIMIT 1' || $limit == 1){
307
  if(is_array($where))
308
+ $results = $frmdb->get_one_record($wpdb->prefix .'frm_forms', $where, '*', $order_by);
309
  else
310
  $results = $wpdb->get_row($query);
311
 
315
  }
316
  }else{
317
  if(is_array($where))
318
+ $results = $frmdb->get_records($wpdb->prefix .'frm_forms', $where, $order_by, $limit);
319
  else
320
  $results = $wpdb->get_results($query);
321
 
330
  return stripslashes_deep($results);
331
  }
332
 
333
+ function validate( $values ){
334
+ $errors = array();
335
 
336
+ /*if( $values['form_key'] == null || $values['form_key'] == '' ){
337
+ if( $values['name'] == null || $values['name'] == '' )
338
  $errors[] = "Key can't be blank";
339
  else
340
  $_POST['form_key'] = $values['name'];
341
  }*/
342
 
343
+ return apply_filters('frm_validate_form', $errors, $values);
344
+ }
345
 
346
  }
classes/models/FrmNotification.php CHANGED
@@ -1,17 +1,18 @@
1
  <?php
 
 
2
  class FrmNotification{
3
- function FrmNotification(){
4
  add_action('frm_after_create_entry', array(&$this, 'entry_created'), 10, 2);
5
  }
6
 
7
  function entry_created($entry_id, $form_id){
8
  if (apply_filters('frm_stop_standard_email', false, $entry_id)) return;
9
- global $frm_form, $frm_entry, $frm_entry_meta;
10
-
11
- $frm_blogname = wp_specialchars_decode( get_option('blogname'), ENT_QUOTES );
12
- $entry = $frm_entry->getOne($entry_id);
13
  $form = $frm_form->getOne($form_id);
14
- $form->options = maybe_unserialize($form->options);
15
  $values = $frm_entry_meta->getAll("it.item_id = $entry_id", " ORDER BY fi.field_order");
16
 
17
 
@@ -20,29 +21,21 @@ class FrmNotification{
20
  else
21
  $notification = $form->options;
22
 
 
23
  $to_email = $notification['email_to'];
24
- if($to_email == '')
25
- $to_email = get_option('admin_email');
 
26
 
27
  $to_emails = explode(',', $to_email);
28
 
29
  $reply_to = $reply_to_name = '';
30
-
31
- $opener = sprintf(__('%1$s form has been submitted on %2$s.', 'formidable'), $form->name, $frm_blogname) ."\r\n\r\n";
32
-
33
- $entry_data = '';
34
- foreach ($values as $value){
35
  $val = apply_filters('frm_email_value', maybe_unserialize($value->meta_value), $value, $entry);
36
  if (is_array($val))
37
  $val = implode(', ', $val);
38
 
39
- if($value->field_type == 'textarea'){
40
- //$val = str_replace(array("\r\n", "\r", "\n"), "\r\n", $val);
41
- $val = "\r\n". $val;
42
- }
43
-
44
- $entry_data .= $value->field_name . ': ' . $val . "\r\n\r\n";
45
-
46
  if(isset($notification['reply_to']) and (int)$notification['reply_to'] == $value->field_id and is_email($val))
47
  $reply_to = $val;
48
 
@@ -51,33 +44,43 @@ class FrmNotification{
51
  }
52
 
53
 
54
- if(empty($reply_to)){
55
- if($notification['reply_to'] == 'custom')
56
- $reply_to = $notification['cust_reply_to'];
57
-
58
- if(empty($reply_to))
59
- $reply_to = get_option('admin_email');
60
  }
61
 
62
- if(empty($reply_to_name)){
63
- if($notification['reply_to_name'] == 'custom')
64
- $reply_to_name = $notification['cust_reply_to_name'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  }
66
-
67
- $data = maybe_unserialize($entry->description);
68
- $user_data = __('User Information', 'formidable') ."\r\n";
69
- $user_data .= __('IP Address', 'formidable') . ": ". $entry->ip ."\r\n";
70
- $user_data .= __('User-Agent (Browser/OS)', 'formidable') . ": ". $data['browser']."\r\n";
71
- $user_data .= __('Referrer', 'formidable') . ": ". $data['referrer']."\r\n";
72
-
73
- $mail_body = stripslashes($opener . $entry_data ."\r\n". $user_data);
74
- $subject = sprintf(__('%1$s Form submitted on %2$s', 'formidable'), $form->name, $frm_blogname); //subject
75
-
76
- if(is_array($to_emails)){
77
- foreach($to_emails as $to_email)
78
- $this->send_notification_email(trim($to_email), $subject, $mail_body, $reply_to, $reply_to_name);
79
- }else
80
- $this->send_notification_email($to_email, $subject, $mail_body, $reply_to, $reply_to_name);
81
  }
82
 
83
  function send_notification_email($to_email, $subject, $message, $reply_to='', $reply_to_name='', $plain_text=true, $attachments=array()){
@@ -87,12 +90,13 @@ class FrmNotification{
87
 
88
  if($to_email == '[admin_email]')
89
  $to_email = get_option('admin_email');
90
-
 
91
  $recipient = $to_email; //recipient
92
  $header = array();
93
  $header[] = 'From: "'. $reply_to_name .'" <'. $reply_to .'>';
94
  $header[] = 'Reply-To: '. $reply_to;
95
- $header[] = 'Content-Type: '. $content_type .'; charset="'. get_option('blog_charset') . '"';
96
  $subject = wp_specialchars_decode(strip_tags(stripslashes($subject)), ENT_QUOTES );
97
 
98
  $message = do_shortcode($message);
@@ -102,9 +106,13 @@ class FrmNotification{
102
 
103
  $header = apply_filters('frm_email_header', $header, compact('to_email', 'subject'));
104
 
 
 
 
 
105
  remove_filter('wp_mail_from', 'bp_core_email_from_address_filter' );
106
  remove_filter('wp_mail_from_name', 'bp_core_email_from_name_filter');
107
-
108
  if (!wp_mail($recipient, $subject, $message, $header, $attachments)){
109
  $header = 'From: "'. $reply_to_name .'" <'. $reply_to .'>'. "\r\n";
110
  mail($recipient, $subject, $message, $header);
1
  <?php
2
+ if(!defined('ABSPATH')) die('You are not allowed to call this page directly.');
3
+
4
  class FrmNotification{
5
+ function __construct(){
6
  add_action('frm_after_create_entry', array(&$this, 'entry_created'), 10, 2);
7
  }
8
 
9
  function entry_created($entry_id, $form_id){
10
  if (apply_filters('frm_stop_standard_email', false, $entry_id)) return;
11
+ global $frm_entry, $frm_entry_meta;
12
+
13
+ $entry = $frm_entry->getOne($entry_id, true);
14
+ $frm_form = new FrmForm();
15
  $form = $frm_form->getOne($form_id);
 
16
  $values = $frm_entry_meta->getAll("it.item_id = $entry_id", " ORDER BY fi.field_order");
17
 
18
 
21
  else
22
  $notification = $form->options;
23
 
24
+ // Set the from and to email names and addresses
25
  $to_email = $notification['email_to'];
26
+ if ( empty($to_email) ) {
27
+ $to_email = '[admin_email]';
28
+ }
29
 
30
  $to_emails = explode(',', $to_email);
31
 
32
  $reply_to = $reply_to_name = '';
33
+
34
+ foreach ($values as $value) {
 
 
 
35
  $val = apply_filters('frm_email_value', maybe_unserialize($value->meta_value), $value, $entry);
36
  if (is_array($val))
37
  $val = implode(', ', $val);
38
 
 
 
 
 
 
 
 
39
  if(isset($notification['reply_to']) and (int)$notification['reply_to'] == $value->field_id and is_email($val))
40
  $reply_to = $val;
41
 
44
  }
45
 
46
 
47
+ if ( empty($reply_to) && $notification['reply_to'] == 'custom' ) {
48
+ $reply_to = $notification['cust_reply_to'];
 
 
 
 
49
  }
50
 
51
+ if ( empty($reply_to_name) && $notification['reply_to_name'] == 'custom' ){
52
+ $reply_to_name = $notification['cust_reply_to_name'];
53
+ }
54
+
55
+ // Set the email message
56
+ $plain_text = (isset($notification['plain_text']) && $notification['plain_text']) ? true : false;
57
+ $default = FrmEntriesController::show_entry_shortcode(array(
58
+ 'id' => $entry->id, 'entry' => $entry, 'plain_text' => $plain_text,
59
+ 'user_info' => (isset($notification['inc_user_info']) ? $notification['inc_user_info'] : false)
60
+ ));
61
+
62
+ $mail_body = isset($notification['email_message']) ? $notification['email_message'] : '';
63
+
64
+ // Add the default message
65
+ if ( strpos($mail_body, '[default-message]') !== false ) {
66
+ $mail_body = str_replace('[default-message]', $default, $mail_body);
67
+ } else {
68
+ $mail_body = $default;
69
+ }
70
+
71
+ unset($default);
72
+
73
+ // Set the subject
74
+ $subject = isset($notification['email_subject']) ? $notification['email_subject'] : '';
75
+ if ( empty($subject) ) {
76
+ $frm_blogname = wp_specialchars_decode( get_option('blogname'), ENT_QUOTES );
77
+ $subject = sprintf(__('%1$s Form submitted on %2$s', 'formidable'), $form->name, $frm_blogname);
78
+ }
79
+
80
+ // Send the emails now
81
+ foreach ( (array) $to_emails as $to_email) {
82
+ $this->send_notification_email(trim($to_email), $subject, $mail_body, $reply_to, $reply_to_name, $plain_text);
83
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  }
85
 
86
  function send_notification_email($to_email, $subject, $message, $reply_to='', $reply_to_name='', $plain_text=true, $attachments=array()){
90
 
91
  if($to_email == '[admin_email]')
92
  $to_email = get_option('admin_email');
93
+
94
+ $charset = get_option('blog_charset');
95
  $recipient = $to_email; //recipient
96
  $header = array();
97
  $header[] = 'From: "'. $reply_to_name .'" <'. $reply_to .'>';
98
  $header[] = 'Reply-To: '. $reply_to;
99
+ $header[] = 'Content-Type: '. $content_type .'; charset="'. $charset . '"';
100
  $subject = wp_specialchars_decode(strip_tags(stripslashes($subject)), ENT_QUOTES );
101
 
102
  $message = do_shortcode($message);
106
 
107
  $header = apply_filters('frm_email_header', $header, compact('to_email', 'subject'));
108
 
109
+ if ( apply_filters('frm_encode_subject', 1, $subject ) ) {
110
+ $subject = '=?'. $charset .'?B?'. base64_encode($subject) .'?=';
111
+ }
112
+
113
  remove_filter('wp_mail_from', 'bp_core_email_from_address_filter' );
114
  remove_filter('wp_mail_from_name', 'bp_core_email_from_name_filter');
115
+
116
  if (!wp_mail($recipient, $subject, $message, $header, $attachments)){
117
  $header = 'From: "'. $reply_to_name .'" <'. $reply_to .'>'. "\r\n";
118
  mail($recipient, $subject, $message, $header);
classes/models/FrmSettings.php CHANGED
@@ -1,49 +1,12 @@
1
  <?php
2
- class FrmSettings{
3
- // Page Setup Variables
4
- var $menu;
5
- var $mu_menu;
6
- var $preview_page_id;
7
- var $preview_page_id_str;
8
- var $lock_keys;
9
- var $track;
10
-
11
- var $pubkey;
12
- var $privkey;
13
- var $re_theme;
14
- var $re_lang;
15
- var $re_msg;
16
-
17
- var $use_html;
18
- var $custom_style;
19
- var $load_style;
20
- var $custom_stylesheet;
21
- var $jquery_css;
22
- var $accordion_js;
23
-
24
- var $success_msg;
25
- var $failed_msg;
26
- var $blank_msg;
27
- var $unique_msg;
28
- var $invalid_msg;
29
- var $submit_value;
30
- var $login_msg;
31
- var $admin_permission;
32
- var $email_to;
33
-
34
- var $frm_view_forms;
35
- var $frm_edit_forms;
36
- var $frm_delete_forms;
37
- var $frm_change_settings;
38
- var $frm_view_entries;
39
- var $frm_create_entries;
40
- var $frm_edit_entries;
41
- var $frm_delete_entries;
42
- var $frm_view_reports;
43
- var $frm_edit_displays;
44
 
 
 
45
 
46
- function FrmSettings(){
 
 
47
  $this->set_default_options();
48
  }
49
 
@@ -71,16 +34,11 @@ class FrmSettings{
71
  );
72
  }
73
 
74
- function set_default_options(){
75
- $this->preview_page_id_str = 'frm-preview-page-id';
76
-
77
  if(!isset($this->pubkey)){
78
- if(IS_WPMU)
79
- $recaptcha_opt = get_site_option('recaptcha'); // get the options from the database
80
- else
81
- $recaptcha_opt = get_option('recaptcha');
82
 
83
- $this->pubkey = (isset($recaptcha_opt['pubkey'])) ? $recaptcha_opt['pubkey'] : '';
84
  }
85
 
86
  if(!isset($this->privkey))
@@ -113,7 +71,7 @@ class FrmSettings{
113
  unset($default);
114
  }
115
 
116
- if(IS_WPMU and is_admin()){
117
  $mu_menu = get_site_option('frm_admin_menu_name');
118
  if($mu_menu and !empty($mu_menu)){
119
  $this->menu = $mu_menu;
@@ -126,17 +84,9 @@ class FrmSettings{
126
  if(!isset($this->$frm_role))
127
  $this->$frm_role = 'administrator';
128
  }
129
-
130
- foreach($this as $k => $v){
131
- //$this->{$k} = stripslashes_deep($v);
132
- unset($k);
133
- unset($v);
134
- }
135
  }
136
 
137
- function validate($params,$errors){
138
- //if($params[ $this->preview_page_id_str ] == 0)
139
- // $errors[] = "The Preview Page Must Not Be Blank.";
140
  $errors = apply_filters( 'frm_validate_settings', $errors, $params );
141
  return $errors;
142
  }
@@ -147,7 +97,7 @@ class FrmSettings{
147
  $this->mu_menu = isset($params['frm_mu_menu']) ? $params['frm_mu_menu'] : 0;
148
  if($this->mu_menu)
149
  update_site_option('frm_admin_menu_name', $this->menu);
150
- else if(FrmAppHelper::is_super_admin())
151
  update_site_option('frm_admin_menu_name', false);
152
 
153
  $this->pubkey = trim($params['frm_pubkey']);
@@ -166,7 +116,7 @@ class FrmSettings{
166
  }
167
 
168
  $this->load_style = $params['frm_load_style'];
169
- $this->preview_page_id = (int)$params[ $this->preview_page_id_str ];
170
  $this->lock_keys = isset($params['frm_lock_keys']) ? $params['frm_lock_keys'] : 0;
171
  $this->track = isset($params['frm_track']) ? $params['frm_track'] : 0;
172
 
@@ -191,12 +141,6 @@ class FrmSettings{
191
  }
192
 
193
  do_action( 'frm_update_settings', $params );
194
-
195
- foreach($this as $k => $v){
196
- $this->{$k} = stripslashes_deep($v);
197
- unset($k);
198
- unset($v);
199
- }
200
  }
201
 
202
  function store(){
1
  <?php
2
+ if(!defined('ABSPATH')) die(__('You are not allowed to call this page directly.', 'formidable'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
+ if(class_exists('FrmSettings'))
5
+ return;
6
 
7
+ class FrmSettings{
8
+
9
+ function __construct(){
10
  $this->set_default_options();
11
  }
12
 
34
  );
35
  }
36
 
37
+ function set_default_options(){
 
 
38
  if(!isset($this->pubkey)){
39
+ $recaptcha_opt = is_multisite() ? get_site_option('recaptcha') : get_option('recaptcha'); // get the options from the database
 
 
 
40
 
41
+ $this->pubkey = isset($recaptcha_opt['pubkey']) ? $recaptcha_opt['pubkey'] : '';
42
  }
43
 
44
  if(!isset($this->privkey))
71
  unset($default);
72
  }
73
 
74
+ if(is_multisite() and is_admin()){
75
  $mu_menu = get_site_option('frm_admin_menu_name');
76
  if($mu_menu and !empty($mu_menu)){
77
  $this->menu = $mu_menu;
84
  if(!isset($this->$frm_role))
85
  $this->$frm_role = 'administrator';
86
  }
 
 
 
 
 
 
87
  }
88
 
89
+ function validate($params,$errors){
 
 
90
  $errors = apply_filters( 'frm_validate_settings', $errors, $params );
91
  return $errors;
92
  }
97
  $this->mu_menu = isset($params['frm_mu_menu']) ? $params['frm_mu_menu'] : 0;
98
  if($this->mu_menu)
99
  update_site_option('frm_admin_menu_name', $this->menu);
100
+ else if(is_super_admin())
101
  update_site_option('frm_admin_menu_name', false);
102
 
103
  $this->pubkey = trim($params['frm_pubkey']);
116
  }
117
 
118
  $this->load_style = $params['frm_load_style'];
119
+ $this->preview_page_id = (int)$params['frm-preview-page-id'];
120
  $this->lock_keys = isset($params['frm_lock_keys']) ? $params['frm_lock_keys'] : 0;
121
  $this->track = isset($params['frm_track']) ? $params['frm_track'] : 0;
122
 
141
  }
142
 
143
  do_action( 'frm_update_settings', $params );
 
 
 
 
 
 
144
  }
145
 
146
  function store(){
classes/models/FrmUpdate.php DELETED
@@ -1,361 +0,0 @@
1
- <?php
2
- if(!defined('ABSPATH')) die('You are not allowed to call this page directly.');
3
-
4
- /** Okay, this class is not a pure model -- it contains all the functions
5
- * necessary to successfully provide an update mechanism for FormidablePro!
6
- */
7
- class FrmUpdate{
8
- var $plugin_nicename;
9
- var $plugin_name;
10
- var $plugin_url;
11
- var $pro_script;
12
- var $pro_mothership;
13
-
14
- var $pro_cred_store;
15
- var $pro_auth_store;
16
- var $pro_wpmu_store;
17
-
18
- var $pro_username_label;
19
- var $pro_password_label;
20
-
21
- var $pro_error_message_str;
22
-
23
- var $pro_check_interval;
24
- var $pro_last_checked_store;
25
-
26
- var $pro_username;
27
- var $pro_password;
28
- var $pro_mothership_xmlrpc_url;
29
- var $timeout;
30
-
31
- function FrmUpdate(){
32
- // Where all the vitals are defined for this plugin
33
- $this->plugin_nicename = 'formidable';
34
- $this->plugin_name = 'formidable/formidable.php';
35
- $this->plugin_url = 'http://formidablepro.com/formidable-wordpress-plugin';
36
- $this->pro_script = FRM_PATH . '/pro/formidable-pro.php';
37
- $this->pro_mothership = 'http://formidablepro.com';
38
- $this->pro_cred_store = 'frmpro-credentials';
39
- $this->pro_auth_store = 'frmpro-authorized';
40
- $this->pro_wpmu_store = 'frmpro-wpmu-sitewide';
41
- $this->pro_last_checked_store = 'frm_autoupdate';
42
- $this->pro_username_label = __('Formidable Pro Username', 'formidable');
43
- $this->pro_password_label = __('Formidable Pro Password', 'formidable');
44
- $this->pro_error_message_str = __('Your Formidable Pro Username or Password was Invalid', 'formidable');
45
-
46
- // Don't modify these variables
47
- $this->pro_check_interval = 60*60*12; // Checking every 12 hours
48
- $this->pro_mothership_xmlrpc_url = $this->pro_mothership . '/xmlrpc.php';
49
- $this->timeout = 10;
50
-
51
- add_filter('site_transient_update_plugins', array( &$this, 'queue_update' ) );
52
-
53
- // Retrieve Pro Credentials
54
- $this->pro_wpmu = false;
55
- if (IS_WPMU and get_site_option($this->pro_wpmu_store)){
56
- $creds = get_site_option($this->pro_cred_store);
57
- $this->pro_wpmu = true;
58
- }else
59
- $creds = get_option($this->pro_cred_store);
60
-
61
- if($creds and is_array($creds)){
62
- extract($creds);
63
- $this->pro_username = ((isset($username) and !empty($username))?$username:'');
64
- $this->pro_password = ((isset($password) and !empty($password))?$password:'');
65
- }
66
- }
67
-
68
- function pro_is_installed(){
69
- return file_exists($this->pro_script);
70
- }
71
-
72
- function pro_is_authorized($force_check=false){
73
- if( !empty($this->pro_username) and !empty($this->pro_password) ){
74
- if (IS_WPMU and $this->pro_wpmu)
75
- $authorized = get_site_option($this->pro_auth_store);
76
- else
77
- $authorized = get_option($this->pro_auth_store);
78
-
79
- if(!$force_check and isset($authorized)){
80
- return $authorized;
81
- }else{
82
- $new_auth = $this->authorize_user($this->pro_username,$this->pro_password);
83
- if (IS_WPMU and $this->pro_wpmu)
84
- update_site_option($this->pro_auth_store, $new_auth);
85
- else
86
- update_option($this->pro_auth_store, $new_auth);
87
- return $new_auth;
88
- }
89
- }
90
-
91
- return false;
92
- }
93
-
94
- function pro_is_installed_and_authorized(){
95
- return ($this->pro_is_installed() and $this->pro_is_authorized());
96
- }
97
-
98
- function authorize_user($username, $password){
99
- include_once( ABSPATH . 'wp-includes/class-IXR.php' );
100
-
101
- $client = new IXR_Client($this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
102
-
103
- if ( !$client->query( 'proplug.is_user_authorized', $username, $password ) )
104
- return false;
105
-
106
- return $client->getResponse();
107
- }
108
-
109
- function pro_cred_form(){
110
- global $frmpro_is_installed;
111
- if(isset($_POST) and isset($_POST['process_cred_form']) and $_POST['process_cred_form'] == 'Y'){
112
- if($this->process_pro_cred_form()){ ?>
113
- <div id="message" class="updated fade"><strong>
114
- <?php
115
- if(!$this->pro_is_authorized()){
116
- $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $this->plugin_name, 'upgrade-plugin_' . $this->plugin_name);
117
- printf(__('Your Username & Password were accepted<br/>Now you can %1$sUpgrade Automatically!%2$s', 'formidable'), "<a href='{$inst_install_url}'>","</a>");
118
- }else{
119
- $frmpro_is_installed = $this->pro_is_installed_and_authorized();
120
- _e('Your Pro installation is now active. Enjoy!', 'formidable');
121
- } ?>
122
- </strong></div>
123
- <?php }else{ ?>
124
- <div class="error">
125
- <ul>
126
- <li><strong><?php _e('ERROR', 'formidable'); ?></strong>: <?php echo $this->pro_error_message_str; ?></li>
127
- </ul>
128
- </div>
129
- <?php
130
- }
131
- }
132
- ?>
133
- <div style="float:left;width:55%">
134
- <?php $this->display_pro_cred_form(); ?>
135
- </div>
136
-
137
- <?php if($frmpro_is_installed){ ?>
138
- <div class="frm_pro_installed">
139
- <p><strong class="alignleft" style="margin-right:10px;">Formidable Pro is Installed</strong>
140
- <a href="javascript:frm_show_auth_form()" class="button-secondary alignleft"><?php _e('Enter new credentials', 'formidable') ?></a>
141
- <a href="javascript:frm_deauthorize()" onclick="return confirm('<?php echo esc_attr(__('Are you sure you want to deactivate Formidable Pro on this site?', 'formidable')) ?>')" id="frm_deauthorize_link" class="button-secondary alignright"><?php _e('Deauthorize this site', 'formidable') ?></a>
142
- </p>
143
- <div class="clear"></div>
144
- </div>
145
- <p><strong><?php _e('Edit/Update Your Profile', 'formidable') ?>:</strong><br/>
146
- <span class="howto"><?php _e('Use your account username and password to log in to your Account and Affiliate Control Panel', 'formidable') ?></span></p>
147
- <p><a href="http://formidablepro.com/payment/member.php" target="_blank"><?php _e('Account', 'formidable') ?></a> |
148
- <a href="http://formidablepro.com/payment/aff_member.php" target="_blank"><?php _e('Affiliate Control Panel', 'formidable') ?></a>
149
- </p>
150
-
151
- <script type="text/javascript">
152
- function frm_show_auth_form(){
153
- jQuery('#pro_cred_form,.frm_pro_installed').toggle();
154
- }
155
- function frm_deauthorize(){
156
- jQuery('#frm_deauthorize_link').replaceWith('<img src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="<?php _e('Loading...', 'formidable'); ?>" id="frm_deauthorize_link" />');
157
- jQuery.ajax({type:"POST",url:"<?php echo admin_url('admin-ajax.php') ?>",data:"action=frm_deauthorize",
158
- success:function(msg){jQuery("#frm_deauthorize_link").fadeOut("slow"); frm_show_auth_form();}
159
- });
160
- };
161
- </script>
162
- <?php }else{ ?>
163
-
164
- <div style="float:right;width:40%">
165
- <p><?php _e('Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports.', 'formidable') ?></p>
166
-
167
- <a href="http://formidablepro.com"><?php _e('Learn More', 'formidable') ?> &#187;</a>
168
- </div>
169
- <?php } ?>
170
-
171
- <div class="clear"></div>
172
-
173
- <?php
174
- }
175
-
176
- function display_pro_cred_form(){
177
- global $frmpro_is_installed;
178
-
179
- // Yah, this is the view for the credentials form -- this class isn't a true model
180
- extract($this->get_pro_cred_form_vals());
181
- ?>
182
- <div id="pro_cred_form" <?php echo ($frmpro_is_installed) ? 'style="display:none;"' : ''; ?>>
183
- <form name="cred_form" method="post" autocomplete="off">
184
- <input type="hidden" name="process_cred_form" value="Y" />
185
- <?php wp_nonce_field('cred_form'); ?>
186
-
187
- <table class="form-table">
188
- <tr class="form-field">
189
- <td valign="top" width="150px"><?php echo $this->pro_username_label; ?></td>
190
- <td><input type="text" name="proplug-username" value=""/></td>
191
- </tr>
192
- <tr class="form-field">
193
- <td valign="top"><?php echo $this->pro_password_label; ?></td>
194
- <td><input type="password" name="proplug-password" value=""/></td>
195
- </tr>
196
- <?php if (IS_WPMU){ ?>
197
- <tr>
198
- <td valign="top"><?php _e('WordPress MU', 'formidable'); ?></td>
199
- <td valign="top">
200
- <input type="checkbox" value="1" name="proplug-wpmu" <?php checked($wpmu, 1) ?> />
201
- <?php _e('Use this username and password to enable Formidable Pro site-wide', 'formidable'); ?>
202
- </td>
203
- </tr>
204
- <?php } ?>
205
- <tr>
206
- <td colspan="2">
207
- <input class="button-secondary" type="submit" value="<?php _e('Save', 'formidable'); ?>" />
208
- <?php if($frmpro_is_installed){
209
- _e('or', 'formidable');
210
- ?>
211
- <a href="javascript:frm_show_auth_form()" class="button-secondary"><?php _e('Cancel', 'formidable'); ?></a>
212
- <?php } ?>
213
- </td>
214
- </tr>
215
- </table>
216
- </form>
217
- </div>
218
- <?php
219
- }
220
-
221
- function process_pro_cred_form(){
222
- $creds = $this->get_pro_cred_form_vals();
223
- $user_authorized = $this->authorize_user($creds['username'], $creds['password']);
224
-
225
- if(!empty($user_authorized) and $user_authorized){
226
- if (IS_WPMU)
227
- update_site_option($this->pro_wpmu_store, $creds['wpmu']);
228
-
229
- if ($creds['wpmu']){
230
- update_site_option($this->pro_cred_store, $creds);
231
- update_site_option($this->pro_auth_store, $user_authorized);
232
- }else{
233
- update_option($this->pro_cred_store, $creds);
234
- update_option($this->pro_auth_store, $user_authorized);
235
- }
236
-
237
- extract($creds);
238
- $this->pro_username = (isset($username) and !empty($username)) ? $username : '';
239
- $this->pro_password = (isset($password) and !empty($password)) ? $password : '';
240
-
241
- if(!$this->pro_is_installed())
242
- $this->manually_queue_update();
243
- }
244
-
245
- return $user_authorized;
246
- }
247
-
248
- function get_pro_cred_form_vals(){
249
- $username = (isset($_POST['proplug-username'])) ? $_POST['proplug-username'] : $this->pro_username;
250
- $password = (isset($_POST['proplug-password'])) ? $_POST['proplug-password'] : $this->pro_password;
251
- $wpmu = (isset($_POST['proplug-wpmu'])) ? true : $this->pro_wpmu;
252
-
253
- return compact('username', 'password', 'wpmu');
254
- }
255
-
256
- public function get_current_info($version, $force=false, $plugin=false){
257
- include_once( ABSPATH . 'wp-includes/class-IXR.php' );
258
-
259
- $client = new IXR_Client( $this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
260
-
261
- $force = $force ? 'true' : 'false';
262
- $plugin = $plugin ? $plugin : $this->plugin_nicename;
263
-
264
- if( !$client->query( 'proplug.get_current_info', $this->pro_username, $this->pro_password, $version, $force,
265
- get_option('siteurl'), $plugin) )
266
- return false;
267
-
268
- return $client->getResponse();
269
- }
270
-
271
- //Check if free version will be downloaded. If so, switch it to the Pro version
272
- function queue_update($transient, $force=false){
273
- if(!is_object($transient))
274
- return $transient;
275
-
276
- //make sure it doesn't show there is an update if plugin is up-to-date
277
- if($this->pro_is_installed() and !empty( $transient->checked ) and
278
- isset($transient->checked[ $this->plugin_name ]) and
279
- ((isset($transient->response) and isset($transient->response[$this->plugin_name]) and
280
- $transient->checked[ $this->plugin_name ] == $transient->response[$this->plugin_name]->new_version) or
281
- (!isset($transient->response)) or empty($transient->response))){
282
-
283
- if(isset($transient->response[$this->plugin_name]))
284
- unset($transient->response[$this->plugin_name]);
285
- set_site_transient( $this->pro_last_checked_store, 'latest', $this->pro_check_interval );
286
- }else if(!empty( $transient->checked ) or
287
- (isset($transient->response) and !isset($transient->response[$this->plugin_name])) or
288
- (isset($transient->response) and isset($transient->response[$this->plugin_name]) and
289
- (($transient->response[$this->plugin_name] == 'latest' and !$this->pro_is_installed()) or
290
- $transient->response[$this->plugin_name]->url == 'http://wordpress.org/extend/plugins/'. $this->plugin_nicename .'/'))){
291
-
292
- if( $this->pro_is_authorized()) {
293
- if( !$this->pro_is_installed() or (isset($transient->response[$this->plugin_name]) and $transient->response[$this->plugin_name]->url == 'http://wordpress.org/extend/plugins/'. $this->plugin_nicename .'/'))
294
- $force = true;
295
-
296
- $plugin = $this;
297
- $transient = $this->get_plugin_info($transient, $plugin, $force);
298
- }
299
- }
300
-
301
- return $transient;
302
- }
303
-
304
- public function manually_queue_update() {
305
- $transient = get_site_transient('update_plugins');
306
- set_site_transient('update_plugins', $this->queue_update($transient, true));
307
- }
308
-
309
- function queue_addon_update($transient, $plugin, $force=false){
310
- if(!is_object($transient) or empty($transient->checked))
311
- return $transient;
312
-
313
- global $frmpro_is_installed;
314
- if($frmpro_is_installed)
315
- $transient = $this->get_plugin_info($transient, $plugin, $force);
316
-
317
- return $transient;
318
- }
319
-
320
- function get_plugin_info($transient, $plugin, $force=false){
321
- if((empty($transient->checked) or empty($transient->checked[ $plugin->plugin_name ])) and !$force)
322
- return $transient;
323
-
324
- $update = get_site_transient($plugin->pro_last_checked_store);
325
-
326
- if($update and $force){
327
- if($update == 'latest' or version_compare($transient->checked[ $plugin->plugin_name ], $update->new_version, '<'))
328
- $update = false;
329
- }
330
-
331
- $expired = false;
332
- if(!$update){
333
- $update = $this->get_current_info( $transient->checked[ $plugin->plugin_name ], $force, $plugin->plugin_nicename );
334
- $expired = true;
335
- }
336
-
337
- //only check periodically
338
- if($expired){
339
- if(!$update or empty($update))
340
- $update = 'latest';
341
- else
342
- $update = (object) $update;
343
-
344
- set_site_transient($plugin->pro_last_checked_store, $update, $plugin->pro_check_interval );
345
- }
346
-
347
- if( $update and !empty( $update ) and $update != 'latest'){
348
- $update = (object) $update;
349
-
350
- if(!$force and isset($update->new_version) and version_compare($transient->checked[ $plugin->plugin_name ], $update->new_version, '>=')){
351
- if(isset($transient->response[ $plugin->plugin_name ]))
352
- unset($transient->response[ $plugin->plugin_name ]);
353
- set_site_transient($plugin->pro_last_checked_store, 'latest', $plugin->pro_check_interval );
354
- }else{
355
- $transient->response[ $plugin->plugin_name ] = $update;
356
- }
357
- }
358
-
359
- return $transient;
360
- }
361
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/templates/contact.php DELETED
@@ -1,76 +0,0 @@
1
- <?php
2
-
3
- $values['name'] = __('Contact Us', 'formidable');
4
- $values['description'] = __('We would like to hear from you. Please send us a message by filling out the form below and we will get back with you shortly.', 'formidable');
5
- $values['options']['custom_style'] = 1;
6
-
7
- if ($form){
8
- $form_id = $form->id;
9
- $frm_form->update($form_id, $values );
10
- $form_fields = $frm_field->getAll(array('fi.form_id' => $form_id), 'field_order');
11
- if (!empty($form_fields)){
12
- foreach ($form_fields as $field)
13
- $frm_field->destroy($field->id);
14
- }
15
- }else
16
- $form_id = $frm_form->create( $values );
17
-
18
-
19
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
20
- $field_values['name'] = 'Name';
21
- $field_values['description'] = 'First';
22
- $field_values['required'] = 1;
23
- $field_values['field_order'] = '1';
24
- $field_values['field_options']['classes'] = 'frm_first_half';
25
- $frm_field->create( $field_values );
26
-
27
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
28
- $field_values['name'] = $field_values['description'] = 'Last';
29
- $field_values['required'] = 1;
30
- $field_values['field_order'] = '2';
31
- $field_values['field_options']['label'] = 'hidden';
32
- $field_values['field_options']['classes'] = 'frm_last_half';
33
- $frm_field->create( $field_values );
34
- unset($field_values);
35
-
36
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('email', $form_id));
37
- $field_values['name'] = __('Email', 'formidable');
38
- $field_values['required'] = 1;
39
- $field_values['field_options']['invalid'] = __('Please enter a valid email address', 'formidable');
40
- $field_values['field_order'] = '3';
41
- $field_values['field_options']['classes'] = 'frm_full';
42
- $frm_field->create( $field_values );
43
- unset($field_values);
44
-
45
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('url', $form_id));
46
- $field_values['name'] = __('Website', 'formidable');
47
- $field_values['field_options']['invalid'] = __('Please enter a valid website', 'formidable');
48
- $field_values['field_order'] = '4';
49
- $field_values['field_options']['classes'] = 'frm_full';
50
- $frm_field->create( $field_values );
51
- unset($field_values);
52
-
53
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
54
- $field_values['name'] = __('Subject', 'formidable');
55
- $field_values['required'] = 1;
56
- $field_values['field_order'] = '5';
57
- $field_values['field_options']['classes'] = 'frm_full';
58
- $frm_field->create( $field_values );
59
- unset($field_values);
60
-
61
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('textarea', $form_id));
62
- $field_values['name'] = __('Message', 'formidable');
63
- $field_values['required'] = 1;
64
- $field_values['field_order'] = '6';
65
- $field_values['field_options']['classes'] = 'frm_full';
66
- $frm_field->create( $field_values );
67
- unset($field_values);
68
-
69
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('captcha', $form_id));
70
- $field_values['name'] = __('Captcha', 'formidable');
71
- $field_values['field_options']['label'] = 'none';
72
- $field_values['field_order'] = '7';
73
- $frm_field->create( $field_values );
74
- unset($field_values);
75
-
76
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/views/frm-entries/direct.php CHANGED
@@ -4,12 +4,14 @@
4
  <meta charset="<?php bloginfo( 'charset' ); ?>" />
5
  <title><?php bloginfo('name'); ?></title>
6
  <?php wp_head();
7
- if(!$frmpro_is_installed){ ?>
8
  <style type="text/css">.frm_forms.with_frm_style{max-width:750px;}</style>
9
  <?php } ?>
10
  </head>
11
  <body>
12
- <?php echo FrmEntriesController::show_form($form->id, '', true, true) ?>
 
 
13
  <?php wp_footer(); ?>
14
  </body>
15
  </html>
4
  <meta charset="<?php bloginfo( 'charset' ); ?>" />
5
  <title><?php bloginfo('name'); ?></title>
6
  <?php wp_head();
7
+ if(!$frm_vars['pro_is_installed']){ ?>
8
  <style type="text/css">.frm_forms.with_frm_style{max-width:750px;}</style>
9
  <?php } ?>
10
  </head>
11
  <body>
12
+ <div style="padding:25px;">
13
+ <?php echo FrmFormsController::show_form($form->id, '', true, true) ?>
14
+ </div>
15
  <?php wp_footer(); ?>
16
  </body>
17
  </html>
classes/views/frm-entries/errors.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php global $frm_settings;
2
  if (isset($message) && $message != ''){
3
- if(is_admin()){
4
- ?><div id="message" class="updated fade" style="padding:5px;"><?php echo $message ?></div><?php
5
  }else{
6
  echo $message;
7
  }
@@ -9,11 +9,15 @@ if (isset($message) && $message != ''){
9
 
10
  if( isset($errors) && is_array($errors) && !empty($errors) ){
11
  global $frm_settings;
12
- ?>
13
- <div class="<?php echo (is_admin()) ? 'error' : 'frm_error_style' ?>">
14
- <?php
15
- if(!is_admin()){
16
- $img = apply_filters('frm_error_icon', '');
 
 
 
 
17
  if($img and !empty($img)){
18
  ?><img src="<?php echo $img ?>" alt="" />
19
  <?php
@@ -23,28 +27,28 @@ if(!is_admin()){
23
  if(empty($frm_settings->invalid_msg)){
24
  $show_img = false;
25
  foreach( $errors as $error ){
26
- if($show_img and isset($img) and !empty($img)){
27
  ?><img src="<?php echo $img ?>" alt="" /><?php
28
  }else{
29
  $show_img = true;
30
  }
31
- echo stripslashes($error) . '<br/>';
32
  }
33
  }else{
34
  echo $frm_settings->invalid_msg;
35
 
36
  $show_img = true;
37
  foreach( $errors as $err_key => $error ){
38
- if(!is_numeric($err_key) and ($err_key == 'cptch_number' or $err_key == 'form' or strpos($err_key, 'field') === 0 or strpos($err_key, 'captcha') === 0 ))
39
  continue;
40
 
41
  echo '<br/>';
42
- if($show_img and $img and !empty($img)){
43
  ?><img src="<?php echo $img ?>" alt="" /><?php
44
  }else{
45
  $show_img = true;
46
  }
47
- echo stripslashes($error);
48
  }
49
  } ?>
50
  </div>
1
  <?php global $frm_settings;
2
  if (isset($message) && $message != ''){
3
+ if(is_admin() and !defined('DOING_AJAX')){
4
+ ?><div id="message" class="frm_message updated" style="padding:5px;"><?php echo $message ?></div><?php
5
  }else{
6
  echo $message;
7
  }
9
 
10
  if( isset($errors) && is_array($errors) && !empty($errors) ){
11
  global $frm_settings;
12
+
13
+ if ( isset($form) && is_object($form) ) { ?>
14
+ <script type="text/javascript">jQuery(document).ready(function($){frmScrollMsg(<?php echo $form->id ?>);})</script>
15
+ <?php } ?>
16
+ <div class="frm_error_style">
17
+ <?php
18
+ $img = '';
19
+ if(!is_admin() or defined('DOING_AJAX')){
20
+ $img = apply_filters('frm_error_icon', $img);
21
  if($img and !empty($img)){
22
  ?><img src="<?php echo $img ?>" alt="" />
23
  <?php
27
  if(empty($frm_settings->invalid_msg)){
28
  $show_img = false;
29
  foreach( $errors as $error ){
30
+ if($show_img and !empty($img)){
31
  ?><img src="<?php echo $img ?>" alt="" /><?php
32
  }else{
33
  $show_img = true;
34
  }
35
+ echo $error . '<br/>';
36
  }
37
  }else{
38
  echo $frm_settings->invalid_msg;
39
 
40
  $show_img = true;
41
  foreach( $errors as $err_key => $error ){
42
+ if(!is_numeric($err_key) and ($err_key == 'cptch_number' or strpos($err_key, 'field') === 0 or strpos($err_key, 'captcha') === 0 ))
43
  continue;
44
 
45
  echo '<br/>';
46
+ if($show_img and !empty($img)){
47
  ?><img src="<?php echo $img ?>" alt="" /><?php
48
  }else{
49
  $show_img = true;
50
  }
51
+ echo $error;
52
  }
53
  } ?>
54
  </div>
classes/views/frm-entries/form.php CHANGED
@@ -1,20 +1,22 @@
1
  <?php
2
- global $frm_forms_loaded, $frm_load_css, $frm_css_loaded, $frm_settings;
3
- $frm_forms_loaded[] = $form;
4
- if($values['custom_style']) $frm_load_css = true;
5
 
6
- if(!$frm_css_loaded and $frm_load_css){
7
  echo FrmAppController::footer_js('header');
8
- $frm_css_loaded = true;
9
  }
10
 
11
  echo FrmFormsHelper::replace_shortcodes($values['before_html'], $form, $title, $description); ?>
12
- <div class="frm_form_fields">
13
  <fieldset>
14
  <div>
15
  <input type="hidden" name="frm_action" value="<?php echo esc_attr($form_action) ?>" />
16
  <input type="hidden" name="form_id" value="<?php echo esc_attr($form->id) ?>" />
17
  <input type="hidden" name="form_key" value="<?php echo esc_attr($form->form_key) ?>" />
 
 
18
  <?php if (isset($id)){ ?><input type="hidden" name="id" value="<?php echo esc_attr($id) ?>" /><?php } ?>
19
  <?php if (isset($controller) && isset($plugin)){ ?>
20
  <input type="hidden" name="controller" value="<?php echo esc_attr($controller); ?>" />
@@ -29,11 +31,11 @@ foreach($values['fields'] as $field){
29
  else
30
  do_action('frm_show_other_field_type', $field, $form);
31
 
32
- do_action('frm_get_field_scripts', $field);
33
  }
34
  }
35
 
36
- if (is_admin() && !$frm_settings->lock_keys){ ?>
37
  <div class="frm_form_field form-field">
38
  <label class="frm_primary_label"><?php _e('Entry Key', 'formidable') ?></label>
39
  <input type="text" name="item_key" value="<?php echo esc_attr($values['item_key']) ?>" />
@@ -44,10 +46,10 @@ if (is_admin() && !$frm_settings->lock_keys){ ?>
44
 
45
  do_action('frm_entry_form', $form, $form_action, $errors);
46
 
47
- global $frm_div;
48
- if($frm_div){
49
  echo "</div>\n";
50
- $frm_div = false;
51
  } ?>
52
  </div>
53
  </fieldset>
@@ -58,8 +60,9 @@ global $wp_filter;
58
  if(isset($wp_filter['frm_entries_footer_scripts']) and !empty($wp_filter['frm_entries_footer_scripts'])){ ?>
59
  <script type="text/javascript">
60
  <?php do_action('frm_entries_footer_scripts', $values['fields'], $form); ?>
61
- </script><?php } ?>
62
 
63
- <?php if (!$form->is_template and $form->status == 'published' and !is_admin())
64
- FrmFormsHelper::get_custom_submit($values['submit_html'], $form, $submit, $form_action);
65
- ?>
 
1
  <?php
2
+ global $frm_vars, $frm_settings;
3
+ $frm_vars['forms_loaded'][] = $form;
4
+ if($values['custom_style']) $frm_vars['load_css'] = true;
5
 
6
+ if((!isset($frm_vars['css_loaded']) || !$frm_vars['css_loaded']) && $frm_vars['load_css']){
7
  echo FrmAppController::footer_js('header');
8
+ $frm_vars['css_loaded'] = true;
9
  }
10
 
11
  echo FrmFormsHelper::replace_shortcodes($values['before_html'], $form, $title, $description); ?>
12
+ <div class="frm_form_fields <?php echo apply_filters('frm_form_fields_class', '', $values); ?>">
13
  <fieldset>
14
  <div>
15
  <input type="hidden" name="frm_action" value="<?php echo esc_attr($form_action) ?>" />
16
  <input type="hidden" name="form_id" value="<?php echo esc_attr($form->id) ?>" />
17
  <input type="hidden" name="form_key" value="<?php echo esc_attr($form->form_key) ?>" />
18
+ <?php wp_nonce_field('frm_submit_entry_nonce', 'frm_submit_entry'); ?>
19
+
20
  <?php if (isset($id)){ ?><input type="hidden" name="id" value="<?php echo esc_attr($id) ?>" /><?php } ?>
21
  <?php if (isset($controller) && isset($plugin)){ ?>
22
  <input type="hidden" name="controller" value="<?php echo esc_attr($controller); ?>" />
31
  else
32
  do_action('frm_show_other_field_type', $field, $form);
33
 
34
+ do_action('frm_get_field_scripts', $field, $form);
35
  }
36
  }
37
 
38
+ if ((is_admin() and !defined('DOING_AJAX')) and !$frm_settings->lock_keys){ ?>
39
  <div class="frm_form_field form-field">
40
  <label class="frm_primary_label"><?php _e('Entry Key', 'formidable') ?></label>
41
  <input type="text" name="item_key" value="<?php echo esc_attr($values['item_key']) ?>" />
46
 
47
  do_action('frm_entry_form', $form, $form_action, $errors);
48
 
49
+ global $frm_vars;
50
+ if(isset($frm_vars['div']) and $frm_vars['div']){
51
  echo "</div>\n";
52
+ $frm_vars['div'] = false;
53
  } ?>
54
  </div>
55
  </fieldset>
60
  if(isset($wp_filter['frm_entries_footer_scripts']) and !empty($wp_filter['frm_entries_footer_scripts'])){ ?>
61
  <script type="text/javascript">
62
  <?php do_action('frm_entries_footer_scripts', $values['fields'], $form); ?>
63
+ </script><?php }
64
 
65
+ if ( !$form->is_template && $form->status == 'published' && (!is_admin() || defined('DOING_AJAX')) ) {
66
+ unset($values['fields']);
67
+ FrmFormsHelper::get_custom_submit($values['submit_html'], $form, $submit, $form_action, $values);
68
+ }
classes/views/frm-entries/frm-entry.php CHANGED
@@ -1,63 +1,52 @@
1
  <?php
2
- global $frm_form, $frm_field, $frm_entry, $frm_entry_meta, $user_ID, $frm_settings, $frm_created_entry, $frm_form_params;
3
- $form_name = $form->name;
4
 
5
- $submit = isset($form->options['submit_value']) ? $form->options['submit_value'] : $frm_settings->submit_value;
6
- $saved_message = isset($form->options['success_msg']) ? $form->options['success_msg'] : $frm_settings->success_msg;
7
-
8
- $params = FrmEntriesController::get_params($form);
9
-
10
- $message = $errors = '';
11
-
12
- FrmEntriesHelper::enqueue_scripts($params);
13
-
14
- if($params['action'] == 'create' and $params['posted_form_id'] == $form->id and isset($_POST)){
15
- $errors = $frm_created_entry[$form->id]['errors'];
16
-
17
- if( !empty($errors) ){
18
- $fields = FrmFieldsHelper::get_form_fields($form->id, true);
19
- $values = FrmEntriesHelper::setup_new_vars($fields, $form);
20
- require(FRM_VIEWS_PATH .'/frm-entries/new.php');
21
- ?>
22
- <script type="text/javascript">jQuery(document).ready(function($){ var frm_pos=jQuery('#form_<?php echo $form->form_key ?>').offset();var cOff=document.documentElement.scrollTop || document.body.scrollTop;if(frm_pos) window.scrollTo(frm_pos.left,frm_pos.top);})</script><?php
23
- }else{
24
- $fields = FrmFieldsHelper::get_form_fields($form->id);
25
- do_action('frm_validate_form_creation', $params, $fields, $form, $title, $description);
26
- if (apply_filters('frm_continue_to_create', true, $form->id)){
27
- $values = FrmEntriesHelper::setup_new_vars($fields, $form, true);
28
- $created = $frm_created_entry[$form->id]['entry_id'];
29
- $saved_message = apply_filters('frm_content', $saved_message, $form, $created);
30
- $conf_method = apply_filters('frm_success_filter', 'message', $form, $form->options);
31
- if (!$created or !is_numeric($created) or $conf_method == 'message'){
32
- $message = '<div class="frm_message" id="message">'.(($created and is_numeric($created)) ? wpautop(do_shortcode($saved_message)) : $frm_settings->failed_msg).'</div>';
33
- if (!isset($form->options['show_form']) or $form->options['show_form']){
34
- require(FRM_VIEWS_PATH .'/frm-entries/new.php');
35
- }else{
36
- global $frm_forms_loaded, $frm_load_css, $frm_css_loaded;
37
- $frm_forms_loaded[] = $form;
38
- if($values['custom_style']) $frm_load_css = true;
39
-
40
- if(!$frm_css_loaded and $frm_load_css){
41
- echo FrmAppController::footer_js('header');
42
- $frm_css_loaded = true;
43
- }
44
  ?>
45
  <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container"><?php echo $message ?></div>
46
  <?php
47
- }
48
- }else
49
- do_action('frm_success_action', $conf_method, $form, $form->options, $created);
50
-
51
- do_action('frm_after_entry_processed', array( 'entry_id' => $created, 'form' => $form));
52
  }
 
 
53
  }
 
 
54
  }else{
55
- $fields = FrmFieldsHelper::get_form_fields($form->id);
56
  do_action('frm_display_form_action', $params, $fields, $form, $title, $description);
57
  if (apply_filters('frm_continue_to_new', true, $form->id, $params['action'])){
58
  $values = FrmEntriesHelper::setup_new_vars($fields, $form);
59
- require(FRM_VIEWS_PATH .'/frm-entries/new.php');
60
  }
61
  }
62
-
63
- ?>
1
  <?php
 
 
2
 
3
+ if ( $params['action'] == 'create' && $params['posted_form_id'] == $form->id && $_POST ) {
4
+
5
+ if ( !empty($errors) ) {
6
+ $values = $fields ? FrmEntriesHelper::setup_new_vars($fields, $form) : array();
7
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/new.php');
8
+ return;
9
+ }
10
+
11
+ do_action('frm_validate_form_creation', $params, $fields, $form, $title, $description);
12
+ if ( !apply_filters('frm_continue_to_create', true, $form->id) ) {
13
+ return;
14
+ }
15
+
16
+ $values = FrmEntriesHelper::setup_new_vars($fields, $form, true);
17
+ $created = (isset($frm_vars['created_entries']) && isset($frm_vars['created_entries'][$form->id])) ? $frm_vars['created_entries'][$form->id]['entry_id'] : 0;
18
+ $conf_method = apply_filters('frm_success_filter', 'message', $form, $form->options, 'create');
19
+
20
+ if ( !$created || !is_numeric($created) || $conf_method == 'message' ) {
21
+ $saved_message = apply_filters('frm_content', $saved_message, $form, $created);
22
+ $message = ($created && is_numeric($created)) ? '<div class="frm_message" id="message">'. wpautop(do_shortcode($saved_message)) .'</div>' : '<div class="frm_error_style">'. $frm_settings->failed_msg .'</div>';
23
+
24
+ if ( !isset($form->options['show_form']) || $form->options['show_form'] ) {
25
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/new.php');
26
+ } else {
27
+ global $frm_vars;
28
+ $frm_vars['forms_loaded'][] = $form;
29
+ if ( $values['custom_style'] ) {
30
+ $frm_vars['load_css'] = true;
31
+ }
32
+
33
+ if ( (!isset($frm_vars['css_loaded']) || !$frm_vars['css_loaded']) && $frm_vars['load_css'] ) {
34
+ echo FrmAppController::footer_js('header');
35
+ $frm_vars['css_loaded'] = true;
36
+ }
 
 
 
 
 
37
  ?>
38
  <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container"><?php echo $message ?></div>
39
  <?php
 
 
 
 
 
40
  }
41
+ } else {
42
+ do_action('frm_success_action', $conf_method, $form, $form->options, $created);
43
  }
44
+
45
+ do_action('frm_after_entry_processed', array( 'entry_id' => $created, 'form' => $form));
46
  }else{
 
47
  do_action('frm_display_form_action', $params, $fields, $form, $title, $description);
48
  if (apply_filters('frm_continue_to_new', true, $form->id, $params['action'])){
49
  $values = FrmEntriesHelper::setup_new_vars($fields, $form);
50
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/new.php');
51
  }
52
  }
 
 
classes/views/frm-entries/list.php CHANGED
@@ -1,15 +1,17 @@
1
- <div class="wrap">
2
- <div id="icon-edit-pages" class="icon32"><br/></div>
3
- <h2><?php echo ($form) ? (FrmAppHelper::truncate($form->name, 25) .' ') : ''; _e('Entries', 'formidable'); ?></h2>
4
-
5
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
 
6
 
7
  <?php if($form) FrmAppController::get_form_nav($form->id, true); ?>
8
-
 
9
  <?php FrmAppController::update_message('view, search, export, and bulk delete your saved entries'); ?>
10
 
11
  <?php if(!$form or $entry_count){ ?>
12
- <img src="<?php echo FRM_URL ?>/screenshot-3.png" alt="Entries List" style="max-width:100%"/>
13
  <?php }else{ ?>
14
  <table class="wp-list-table widefat post fixed" cellspacing="0">
15
  <thead>
@@ -17,7 +19,7 @@
17
  </thead>
18
  <tbody>
19
  <tr><td>
20
- <?php include(FRM_VIEWS_PATH .'/frm-entries/no_entries.php'); ?>
21
  </td></tr>
22
  </tbody>
23
  <tfoot>
1
+ <div id="form_entries_page" class="wrap">
2
+ <div class="frmicon icon32"><br/></div>
3
+ <h2>
4
+ <?php _e('Entries', 'formidable'); ?>
5
+ <a href="#" class="add-new-h2" style="visibility:hidden;"><?php _e('Add New', 'formidable'); ?></a>
6
+ </h2>
7
 
8
  <?php if($form) FrmAppController::get_form_nav($form->id, true); ?>
9
+
10
+ <?php require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php'); ?>
11
  <?php FrmAppController::update_message('view, search, export, and bulk delete your saved entries'); ?>
12
 
13
  <?php if(!$form or $entry_count){ ?>
14
+ <img src="<?php echo FrmAppHelper::plugin_url() ?>/screenshot-5.png" alt="Entries List" style="max-width:100%"/>
15
  <?php }else{ ?>
16
  <table class="wp-list-table widefat post fixed" cellspacing="0">
17
  <thead>
19
  </thead>
20
  <tbody>
21
  <tr><td>
22
+ <?php include(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/no_entries.php'); ?>
23
  </td></tr>
24
  </tbody>
25
  <tfoot>
classes/views/frm-entries/new.php CHANGED
@@ -1,9 +1,18 @@
 
 
 
 
 
 
 
 
 
1
  <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container">
2
  <form enctype="<?php echo apply_filters('frm_form_enctype', 'multipart/form-data', $form) ?>" method="post" class="frm-show-form <?php do_action('frm_form_classes', $form) ?>" id="form_<?php echo $form->form_key ?>" <?php echo ($frm_settings->use_html) ? '' : 'action=""'; ?>>
3
  <?php
4
- include(FRM_VIEWS_PATH.'/frm-entries/errors.php');
5
  $form_action = 'create';
6
- require(FRM_VIEWS_PATH.'/frm-entries/form.php');
7
  ?>
8
  </form>
9
  </div>
1
+ <?php
2
+ if(empty($values) or !isset($values['fields']) or empty($values['fields'])){ ?>
3
+ <div class="frm_forms with_frm_style" id="frm_form_<?php echo $form->id ?>_container">
4
+ <div class="frm_error_style"><strong><?php _e('Oops!', 'formidable') ?></strong> <?php printf(__('You did not add any fields to your form. %1$sGo back%2$s and add some.', 'formidable'), '<a href="'. admin_url('?page=formidable&frm_action=edit&id='. $form->id) .'">', '</a>') ?>
5
+ </div>
6
+ </div>
7
+ <?php
8
+ return;
9
+ } ?>
10
  <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container">
11
  <form enctype="<?php echo apply_filters('frm_form_enctype', 'multipart/form-data', $form) ?>" method="post" class="frm-show-form <?php do_action('frm_form_classes', $form) ?>" id="form_<?php echo $form->form_key ?>" <?php echo ($frm_settings->use_html) ? '' : 'action=""'; ?>>
12
  <?php
13
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/errors.php');
14
  $form_action = 'create';
15
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-entries/form.php');
16
  ?>
17
  </form>
18
  </div>
classes/views/frm-entries/no_entries.php CHANGED
@@ -16,13 +16,13 @@ if(isset($form->options['no_save']) and $form->options['no_save']){ ?>
16
  <h3><?php _e('Option 1: Generate your shortcode', 'formidable') ?></h3>
17
  <ol>
18
  <li><?php _e('Go to your WordPress page or post.', 'formidable') ?></li>
19
- <li class="alignleft" style="width:45%"><?php _e('Click on the form icon above the content box to open a popup with additional options.', 'formidable') ?><br/>
20
- <img alt="" src="http://static.strategy11.com.s3.amazonaws.com/insert-shortcode-icon.png" align="none"></li>
21
- <li class="alignright" style="width:45%"><?php _e('Select your form from the dropdown and check the boxes to show the title and description if desired.', 'formidable') ?><br/>
22
- <img alt="" src="http://static.strategy11.com.s3.amazonaws.com/insert-form-shortcode.png" align="none"></li>
23
- <li class="alignright" style="width:45%"><?php _e('Click the "Insert Form" button.', 'formidable') ?></li>
 
24
  </ol>
25
- <div class="clear"></div>
26
  </td></tr>
27
  <tr><td colspan="<?php echo $colspan ?>">
28
  <h3><?php _e('Option 2: Add a Widget', 'formidable') ?></h3>
@@ -31,18 +31,18 @@ if(isset($form->options['no_save']) and $form->options['no_save']){ ?>
31
  <li><?php _e('Select a form from the "Form" drop-down.', 'formidable') ?></li>
32
  <li><?php _e('Click the "Save" button', 'formidable') ?></li>
33
  </ol>
34
- <img src="<?php echo FRM_URL ?>/screenshot-2.png" alt="<?php echo esc_attr(__('Formidable Form Widget', 'formidable')) ?>" title="<?php echo esc_attr(__('Formidable Form Widget', 'formidable')) ?>" height="261" width="252" />
35
  </td></tr>
36
  <tr class="alternate"><td colspan="<?php echo $colspan ?>">
37
  <h3><?php _e('Option 3: Insert the shortcode or PHP', 'formidable') ?></h3>
38
  <p><?php _e('Insert the following shortcode in your page, post, or text widget. This will be replaced with your form:', 'formidable') ?><br/>
39
- <input type="text" style="text-align:center;font-weight:bold;width:500px;" readonly="true" onclick="this.select();" onfocus='this.select();' value='[formidable id=<?php echo $form->id; ?>]' />
40
  </p>
41
  <p><?php _e('Show the form with the title and description:', 'formidable') ?><br/>
42
- <input type="text" style="text-align:center;font-weight:bold;width:500px;" readonly="true" onclick="this.select();" onfocus='this.select();' value='[formidable id=<?php echo $form->id; ?> title=true description=true]' />
43
  </p>
44
 
45
  <p><?php _e('Insert into a theme template file:', 'formidable') ?><br/>
46
- <input type="text" style="text-align:center;font-weight:bold;width:500px;" readonly="true" onclick="this.select();" onfocus="this.select();" value="echo FrmEntriesController::show_form(<?php echo $form->id; ?>, $key='', $title=true, $description=true);" />
47
  </p>
48
  <?php } ?>
16
  <h3><?php _e('Option 1: Generate your shortcode', 'formidable') ?></h3>
17
  <ol>
18
  <li><?php _e('Go to your WordPress page or post.', 'formidable') ?></li>
19
+ <li>
20
+ <?php _e('Click on the "Add Form" button above the content box.', 'formidable') ?><br/>
21
+ <img alt="" src="http://static.strategy11.com.s3.amazonaws.com/insert-shortcode-icon.png">
22
+ </li>
23
+ <li><?php _e('Select your form from the dropdown and check the boxes to show the title and description if desired.', 'formidable') ?></li>
24
+ <li><?php _e('Click the "Insert Form" button.', 'formidable') ?></li>
25
  </ol>
 
26
  </td></tr>
27
  <tr><td colspan="<?php echo $colspan ?>">
28
  <h3><?php _e('Option 2: Add a Widget', 'formidable') ?></h3>
31
  <li><?php _e('Select a form from the "Form" drop-down.', 'formidable') ?></li>
32
  <li><?php _e('Click the "Save" button', 'formidable') ?></li>
33
  </ol>
34
+ <img src="<?php echo FrmAppHelper::plugin_url() ?>/screenshot-6.png" alt="<?php esc_attr_e('Formidable Form Widget', 'formidable') ?>" title="<?php esc_attr_e('Formidable Form Widget', 'formidable') ?>" height="261" width="252" />
35
  </td></tr>
36
  <tr class="alternate"><td colspan="<?php echo $colspan ?>">
37
  <h3><?php _e('Option 3: Insert the shortcode or PHP', 'formidable') ?></h3>
38
  <p><?php _e('Insert the following shortcode in your page, post, or text widget. This will be replaced with your form:', 'formidable') ?><br/>
39
+ <input type="text" readonly="true" class="frm_select_box frm_no_items" value="[formidable id=<?php echo $form->id; ?>]" />
40
  </p>
41
  <p><?php _e('Show the form with the title and description:', 'formidable') ?><br/>
42
+ <input type="text" readonly="true" class="frm_select_box frm_no_items" value="[formidable id=<?php echo $form->id; ?> title=true description=true]" />
43
  </p>
44
 
45
  <p><?php _e('Insert into a theme template file:', 'formidable') ?><br/>
46
+ <input type="text" readonly="true" class="frm_select_box frm_no_items" value="echo FrmFormsController::show_form(<?php echo $form->id; ?>, $key='', $title=true, $description=true);" />
47
  </p>
48
  <?php } ?>
classes/views/frm-fields/input.php CHANGED
@@ -16,9 +16,9 @@
16
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
17
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
18
  ?>
19
- <div class="frm_radio"><input type="radio" name="<?php echo $field_name ?>" id="field_<?php echo $field['id'] ?>-<?php echo $opt_key ?>" value="<?php echo esc_attr($field_val) ?>" <?php echo (FrmAppHelper::check_selected($field['value'], $field_val)) ? 'checked="checked"' : ''; ?> <?php do_action('frm_field_input_html', $field) ?>/><?php if(!isset($atts) or !isset($atts['label']) or $atts['label']){ ?><label for="field_<?php echo $field['id'] ?>-<?php echo $opt_key ?>"><?php echo $opt ?></label><?php }
20
- ?></div>
21
- <?php }
22
  }
23
  }
24
 
@@ -26,7 +26,7 @@
26
  if(isset($field['post_field']) and $field['post_field'] == 'post_category'){
27
  echo FrmFieldsHelper::dropdown_categories(array('name' => $field_name, 'field' => $field) );
28
  }else{
29
- if($field['read_only'] and $frm_readonly != 'disabled' and (!is_super_admin() or !is_admin())){ ?>
30
  <input type="hidden" value="<?php echo esc_attr($field['value']) ?>" name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>" />
31
  <select disabled="disabled" <?php do_action('frm_field_input_html', $field) ?>>
32
  <?php }else{ ?>
@@ -54,14 +54,14 @@ if (FrmAppHelper::check_selected($field['value'], $field_val)) echo ' selected="
54
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
55
  $checked = (FrmAppHelper::check_selected($checked_values, $field_val)) ? ' checked="checked"' : '';
56
  ?>
57
- <div class="frm_checkbox" id="frm_checkbox_<?php echo $field['id']?>-<?php echo $opt_key ?>"><input type="checkbox" name="<?php echo $field_name ?>[]" id="field_<?php echo $field['id']?>-<?php echo $opt_key ?>" value="<?php echo esc_attr($field_val) ?>" <?php echo $checked ?> <?php do_action('frm_field_input_html', $field) ?>/><?php if(!isset($atts) or !isset($atts['label']) or $atts['label']){ ?><label for="field_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo $opt ?></label><?php }
58
- ?></div>
59
  <?php
60
  }
61
  }
62
  }
63
 
64
- }else if ($field['type'] == 'captcha' and !is_admin()){
65
  global $frm_settings;
66
  $error_msg = null;
67
  if(!empty($errors)){
16
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
17
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
18
  ?>
19
+ <div class="<?php echo apply_filters('frm_radio_class', 'frm_radio', $field, $field_val)?>"><label for="field_<?php echo $field['id'] ?>-<?php echo $opt_key ?>"><input type="radio" name="<?php echo $field_name ?>" id="field_<?php echo $field['id'] ?>-<?php echo $opt_key ?>" value="<?php echo esc_attr($field_val) ?>" <?php echo (FrmAppHelper::check_selected($field['value'], $field_val)) ? 'checked="checked"' : ''; ?> <?php do_action('frm_field_input_html', $field) ?>/><?php if(!isset($atts) or !isset($atts['label']) or $atts['label']){ echo ' '. $opt; }
20
+ ?></label></div>
21
+ <?php }
22
  }
23
  }
24
 
26
  if(isset($field['post_field']) and $field['post_field'] == 'post_category'){
27
  echo FrmFieldsHelper::dropdown_categories(array('name' => $field_name, 'field' => $field) );
28
  }else{
29
+ if (isset($field['read_only']) && $field['read_only'] && (!isset($frm_vars['readonly']) || $frm_vars['readonly'] != 'disabled') && (!is_super_admin() || (!is_admin() && !defined('DOING_AJAX')))) { ?>
30
  <input type="hidden" value="<?php echo esc_attr($field['value']) ?>" name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>" />
31
  <select disabled="disabled" <?php do_action('frm_field_input_html', $field) ?>>
32
  <?php }else{ ?>
54
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
55
  $checked = (FrmAppHelper::check_selected($checked_values, $field_val)) ? ' checked="checked"' : '';
56
  ?>
57
+ <div class="<?php echo apply_filters('frm_checkbox_class', 'frm_checkbox', $field, $field_val)?>" id="frm_checkbox_<?php echo $field['id']?>-<?php echo $opt_key ?>" ><label for="field_<?php echo $field['id']?>-<?php echo $opt_key ?>"><input type="checkbox" name="<?php echo $field_name ?>[]" id="field_<?php echo $field['id']?>-<?php echo $opt_key ?>" value="<?php echo esc_attr($field_val) ?>" <?php echo $checked ?> <?php do_action('frm_field_input_html', $field) ?>/><?php if(!isset($atts) or !isset($atts['label']) or $atts['label']){ echo ' '. $opt; }
58
+ ?></label></div>
59
  <?php
60
  }
61
  }
62
  }
63
 
64
+ }else if ($field['type'] == 'captcha' and (!is_admin() or defined('DOING_AJAX'))){
65
  global $frm_settings;
66
  $error_msg = null;
67
  if(!empty($errors)){
classes/views/frm-fields/radio.php CHANGED
@@ -4,7 +4,7 @@ if (is_array($field['options'])){
4
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
5
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
6
  $checked = (isset($field['value']) and ((!is_array($field['value']) && $field['value'] == $field_val ) || (is_array($field['value']) && in_array($field_val, $field['value'])))) ? ' checked="true"':'';
7
- include(FRM_VIEWS_PATH .'/frm-fields/single-option.php');
8
 
9
  unset($checked);
10
  }
4
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
5
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
6
  $checked = (isset($field['value']) and ((!is_array($field['value']) && $field['value'] == $field_val ) || (is_array($field['value']) && in_array($field_val, $field['value'])))) ? ' checked="true"':'';
7
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/single-option.php');
8
 
9
  unset($checked);
10
  }
classes/views/frm-fields/single-option.php CHANGED
@@ -1,13 +1,13 @@
1
- <span id="frm_delete_field_<?php echo $field['id']; ?>-<?php echo $opt_key ?>_container" class="frm_single_option">
2
- <a href="javascript:frm_delete_field_option(<?php echo $field['id']?>,<?php echo $opt_key ?>);" class="frm_single_visible_hover"><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete" style="vertical-align:middle;" /></a>
3
  <?php if ($field['type'] != 'select'){ ?>
4
  <input type="<?php echo $field['type'] ?>" name="<?php echo $field_name ?><?php echo ($field['type'] == 'checkbox')?'[]':''; ?>" value="<?php echo esc_attr($field_val) ?>"<?php echo isset($checked)? $checked : ''; ?>/>
5
  <?php } ?>
6
- <label class="frm_ipe_field_option field_<?php echo $field['id']?>_option <?php echo $field['separate_value'] ? 'frm_with_key' : ''; ?>" id="field_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo $opt ?></label>
7
  <span class="frm_option_key field_<?php echo $field['id']?>_option_key" <?php echo $field['separate_value'] ? '' : "style='display:none;'"; ?>>
8
- <label class="frm-show-click frm_ipe_field_option_key" id="field_key_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo $field_val ?></label>
9
- </span>
10
  </span>
 
11
  <div class="clear"></div>
12
  <?php
13
  unset($field_val);
1
+ <div id="frm_delete_field_<?php echo $field['id']; ?>-<?php echo $opt_key ?>_container" class="frm_single_option">
2
+ <a href="javascript:void(0)" class="frm_single_visible_hover frm_icon_font frm_delete_icon"> </a>
3
  <?php if ($field['type'] != 'select'){ ?>
4
  <input type="<?php echo $field['type'] ?>" name="<?php echo $field_name ?><?php echo ($field['type'] == 'checkbox')?'[]':''; ?>" value="<?php echo esc_attr($field_val) ?>"<?php echo isset($checked)? $checked : ''; ?>/>
5
  <?php } ?>
6
+ <label class="frm_ipe_field_option field_<?php echo $field['id']?>_option <?php echo $field['separate_value'] ? 'frm_with_key' : ''; ?>" id="field_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo ($opt == '') ? __('(Blank)', 'formidable') : $opt ?></label>
7
  <span class="frm_option_key field_<?php echo $field['id']?>_option_key" <?php echo $field['separate_value'] ? '' : "style='display:none;'"; ?>>
8
+ <label class="frm-show-click frm_ipe_field_option_key" id="field_key_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo ($field_val == '') ? __('(Blank)', 'formidable') : $field_val ?></label>
 
9
  </span>
10
+ </div>
11
  <div class="clear"></div>
12
  <?php
13
  unset($field_val);
classes/views/frm-forms/add_field.php CHANGED
@@ -1,38 +1,56 @@
1
  <?php
2
  if(isset($values) and isset($values['ajax_load']) and $values['ajax_load'] and isset($count) and $count > 10){ ?>
3
- <li id="frm_field_id_<?php echo $field['id']; ?>" class="form-field frm_field_box frm_field_loading">
4
- <img src="<?php echo FRM_IMAGES_URL ?>/ajax_loader.gif" alt="<?php _e('Loading', 'formidable') ?>" />
5
- <span class="frm_hidden_fdata" style="display:none"><?php echo htmlspecialchars(json_encode($field)) ?></span>
6
  </li>
7
  <?php
8
  return;
9
  }
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  $display = apply_filters('frm_display_field_options', array(
12
- 'type' => $field['type'], 'field_data' => $field, 'required' => true,
 
13
  'description' => true, 'options' => true, 'label_position' => true,
14
  'invalid' => false, 'size' => false, 'clear_on_focus' => false,
15
  'default_blank' => true, 'css' => true
16
  )); ?>
17
-
18
- <li id="frm_field_id_<?php echo $field['id']; ?>" class="form-field edit_form_item frm_field_box ui-state-default frm_hide_options<?php echo $display['options'] ?> edit_field_type_<?php echo $display['type'] ?> frm_top_container" onmouseover="frm_field_hover(1,<?php echo $field['id']; ?>)" onmouseout="frm_field_hover(0,<?php echo $field['id']; ?>)">
19
- <a href="javascript:void(0);" class="alignright frm-show-hover frm-move frm-hover-icon" title="Move Field"><img src="<?php echo FRM_IMAGES_URL ?>/move.png" alt="Move" /></a>
20
- <a href="javascript:frm_delete_field(<?php echo $field['id']; ?>)" class="alignright frm-show-hover frm-hover-icon" id="frm_delete_field<?php echo $field['id']; ?>" title="<?php _e('Delete Field', 'formidable') ?>"><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete" /></a>
21
- <a href="javascript:frm_duplicate_field(<?php echo $field['id']; ?>)" class="alignright frm-show-hover frm-hover-icon" title="<?php _e('Duplicate Field', 'formidable') ?>"><img src="<?php echo FRM_IMAGES_URL ?>/duplicate.png" alt="<?php _e('Duplicate', 'formidable') ?>" /></a>
 
22
  <input type="hidden" name="frm_fields_submitted[]" value="<?php echo esc_attr($field['id']) ?>" />
23
  <?php do_action('frm_extra_field_actions', $field['id']); ?>
24
  <?php if ($display['required']){ ?>
25
  <span id="require_field_<?php echo $field['id']; ?>">
26
- <a href="javascript:frm_mark_required(<?php echo $field['id']; ?>,<?php echo $field_required = ($field['required'] == '0')? '0' : '1'; ?>)" class="frm_action_icon frm_required_icon alignleft frm_required<?php echo $field_required ?>" id="req_field_<?php echo $field['id']; ?>" title="Click to Mark as <?php echo ($field['required'] == '0') ? '' : 'not '; ?>Required"></a>
27
  </span>
28
  <?php } ?>
29
- <label class="frm_ipe_field_label frm_primary_label <?php echo ($field['type'] == 'break') ? 'button': ''; ?>" id="field_label_<?php echo $field['id']; ?>"><?php echo $field['name'] ?></label>
30
 
31
- <div class="frm_form_fields">
32
  <?php if ($display['type'] == 'text'){ ?>
33
  <input type="text" name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>" value="<?php echo esc_attr($field['default_value']); ?>" <?php echo (isset($field['size']) && $field['size']) ? 'style="width:auto" size="'. $field['size'] .'"' : ''; ?> class="dyn_default_value" />
34
  <?php }else if ($field['type'] == 'textarea'){ ?>
35
- <textarea name="<?php echo $field_name ?>"<?php if ($field['size']) echo ' style="width:auto" cols="'. $field['size'] .'"' ?> rows="<?php echo $field['max']; ?>" id="field_<?php echo $field['field_key'] ?>" class="dyn_default_value"><?php echo FrmAppHelper::esc_textarea($field['default_value']); ?></textarea>
36
 
37
  <?php
38
 
@@ -43,7 +61,7 @@ $display = apply_filters('frm_display_field_options', array(
43
  }else{ ?>
44
  <div id="frm_field_<?php echo $field['id'] ?>_opts" class="clear<?php echo (count($field['options']) > 10) ? ' frm_field_opts_list' : ''; ?>">
45
  <?php do_action('frm_add_multiple_opts_labels', $field); ?>
46
- <?php include(FRM_VIEWS_PATH .'/frm-fields/radio.php'); ?>
47
  </div>
48
  <?php
49
  }
@@ -73,15 +91,14 @@ $display = apply_filters('frm_display_field_options', array(
73
  <option value="<?php echo $field_val ?>"<?php echo $selected ?>><?php echo $opt ?></option>
74
  <?php } ?>
75
  </select>
76
- <?php }
77
  if ($display['default_blank']){ ?>
78
  <span id="frm_clear_on_focus_<?php echo $field['id'] ?>" class="frm-show-click">
79
  <?php FrmFieldsHelper::show_default_blank_js($field['id'], $field['default_blank']); ?>
80
  </span>
81
  <?php } ?>
82
  <div class="clear"></div>
83
- <br/>
84
- <div class="frm-show-click">
85
  <?php if(isset($field['post_field']) and $field['post_field'] == 'post_category'){ ?>
86
  <p class="howto"><?php _e('Please add options from the WordPress "Categories" page', 'formidable') ?></p>
87
  <?php }else if(!isset($field['post_field']) or $field['post_field'] != 'post_status'){ ?>
@@ -90,7 +107,7 @@ $display = apply_filters('frm_display_field_options', array(
90
  <?php foreach ($field['options'] as $opt_key => $opt){
91
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
92
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
93
- require(FRM_VIEWS_PATH.'/frm-fields/single-option.php');
94
  }
95
  ?>
96
  </div>
@@ -106,10 +123,10 @@ $display = apply_filters('frm_display_field_options', array(
106
  </div>
107
  <?php
108
  }else if ($field['type'] == 'captcha'){
109
- global $frm_settings; ?>
110
- <img src="<?php echo FRM_URL ?>/images/<?php echo $frm_settings->re_theme ?>-captcha.png" alt="captcha" class="alignleft"/>
111
  <span class="howto"><?php printf(__('Hint: Change colors in the %1$sFormidable settings', 'formidable'), '<a href="?page=formidable-settings">') ?></a></span>
112
- <div style="clear:both"></div>
113
  <?php if (empty($frm_settings->pubkey)){ ?>
114
  <div class="howto" style="font-weight:bold;color:red;"><?php printf(__('Your captcha will not appear on your form until you %1$sset up%2$s the Public and Private Keys', 'formidable'), '<a href="?page=formidable-settings">', '</a>') ?></div>
115
  <?php } ?>
@@ -122,11 +139,10 @@ $display = apply_filters('frm_display_field_options', array(
122
  if ($display['clear_on_focus']){ ?>
123
  <span id="frm_clear_on_focus_<?php echo $field['id'] ?>" class="frm-show-click">
124
  <?php
125
- FrmFieldsHelper::show_onfocus_js($field['id'], $field['clear_on_focus']);
 
126
 
127
- if ($display['default_blank'])
128
- FrmFieldsHelper::show_default_blank_js($field['id'], $field['default_blank']);
129
-
130
  ?>
131
  </span>
132
  <?php
@@ -138,7 +154,7 @@ if ($display['clear_on_focus']){ ?>
138
  </div>
139
  <?php
140
  if ($display['description']){ ?>
141
- <div class="frm_ipe_field_desc description frm-show-click" id="field_description_<?php echo $field['id']; ?>"><?php echo ($field['description'] == '') ? __('(Click here to add form description or instructions)', 'formidable') : $field['description']; ?></div>
142
  <?php
143
  }
144
 
@@ -149,39 +165,64 @@ if ($display['options']){ ?>
149
  <div class="widget-title"><h4><?php _e('Field Options', 'formidable') ?> (ID <?php echo $field['id'] ?>)</h4></div>
150
  </div>
151
  <div class="widget-inside">
152
- <table class="form-table">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  <?php if ($display['required']){ ?>
154
- <tr>
155
- <td><label><?php _e('Required Field', 'formidable') ?></label></td>
156
- <td><input type="checkbox" id="frm_req_field_<?php echo $field['id'] ?>" name="field_options[required_<?php echo $field['id'] ?>]" value="1" <?php echo ($field['required']) ? 'checked="checked"': ''; ?> onclick="frm_mark_required(<?php echo $field['id'] ?>,<?php echo $field_required ?>)" /> <span><?php _e('Required', 'formidable') ?></span>
157
- <span class="frm_required_details<?php echo $field['id'] ?>" <?php if(!$field['required']) echo 'style="display:none;"'?>>&mdash; <span class="howto"><?php _e('Indicate required field with', 'formidable') ?></span>
158
- <input type="text" name="field_options[required_indicator_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['required_indicator']); ?>" />
159
- </span>
160
- </td>
161
- </tr>
162
- <tr class="frm_required_details<?php echo $field['id'] ?>" <?php if(!$field['required']) echo 'style="display:none;"'?>><td><label><?php _e('Error message for blank required field', 'formidable') ?></label></td>
163
- <td><input type="text" name="field_options[blank_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['blank']); ?>" class="frm_long_input" /></td>
164
- </tr>
165
  <?php } ?>
166
- <?php if ($display['invalid']){ ?>
167
- <tr><td><label><?php _e('Error message for invalid submission', 'formidable') ?></label></td>
168
- <td><input type="text" name="field_options[invalid_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['invalid']); ?>" class="frm_long_input" /></td>
169
- </tr>
 
170
  <?php } ?>
171
- <?php if ($display['size']){ ?>
172
- <tr><td width="150px"><label><?php _e('Field Size', 'formidable') ?></label></td>
173
- <td>
174
- <?php if(in_array($field['type'], array('select', 'time', 'data'))){ ?>
175
- <?php if(!isset($values['custom_style']) or $values['custom_style']){ ?>
176
- <input type="checkbox" name="field_options[size_<?php echo $field['id'] ?>]" value="1" <?php echo (isset($field['size']) and $field['size'])? 'checked="checked"':''; ?> /> <?php _e('automatic width', 'formidable') ?>
177
- <?php }
178
- }else{ ?>
179
- <input type="text" name="field_options[size_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['size']); ?>" size="5" /> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('columns wide', 'formidable') : __('characters wide', 'formidable') ?></span>
180
-
181
- <input type="text" name="field_options[max_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['max']); ?>" size="5" /> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('rows high', 'formidable') : __('characters maximum', 'formidable') ?></span>
182
- <?php } ?>
183
- </td>
184
- </tr>
 
 
 
 
 
 
 
 
 
185
  <?php } ?>
186
  <?php if ($display['label_position']){ ?>
187
  <tr><td width="150px"><label><?php _e('Label Position', 'formidable') ?></label></td>
@@ -197,17 +238,53 @@ if ($display['options']){ ?>
197
  </td>
198
  </tr>
199
  <?php } ?>
200
- <?php if ($display['css']){ ?>
201
- <tr><td><label><?php _e('CSS layout classes', 'formidable') ?></label>
202
- <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('Add a CSS class to the field container. Use our predefined classes to align multiple fields in single row.', 'formidable') ?>" /></td>
203
- <td><input type="text" name="field_options[classes_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['classes']) ?>" id="frm_classes_<?php echo $field['id'] ?>" class="frm_classes frm_long_input" />
204
- </td>
205
- </tr>
 
 
 
 
 
 
 
 
206
  <?php } ?>
207
  <?php do_action('frm_field_options_form', $field, $display, $values); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  </table>
209
  </div>
210
  </div>
211
- <?php } ?>
 
212
  </li>
 
213
  <?php unset($display); ?>
1
  <?php
2
  if(isset($values) and isset($values['ajax_load']) and $values['ajax_load'] and isset($count) and $count > 10){ ?>
3
+ <li id="frm_field_id_<?php echo $field['id']; ?>" class="form-field frm_field_box frm_field_loading edit_form_item frm_top_container" data-triggered="0">
4
+ <img src="<?php echo FrmAppHelper::plugin_url() ?>/images/ajax_loader.gif" alt="<?php _e('Loading', 'formidable') ?>" />
5
+ <span class="frm_hidden_fdata frm_hidden"><?php echo htmlspecialchars(json_encode($field)) ?></span>
6
  </li>
7
  <?php
8
  return;
9
  }
10
 
11
+ global $frm_settings;
12
+ if(!isset($frm_all_field_selection)){
13
+ if(isset($frm_field_selection) and isset($frm_pro_field_selection)){
14
+ $frm_all_field_selection = array_merge($frm_field_selection, $frm_pro_field_selection);
15
+ }else{
16
+ $frm_pro_field_selection = FrmFieldsHelper::pro_field_selection();
17
+ $frm_all_field_selection = array_merge(FrmFieldsHelper::field_selection(), $frm_pro_field_selection);
18
+ }
19
+ }
20
+
21
+ if(!isset($frm_vars))
22
+ global $frm_vars;
23
+
24
+ $disabled_fields = ($frm_vars['pro_is_installed']) ? array() : $frm_pro_field_selection;
25
+
26
+
27
  $display = apply_filters('frm_display_field_options', array(
28
+ 'type' => $field['type'], 'field_data' => $field,
29
+ 'required' => true, 'unique' => false, 'read_only' => false,
30
  'description' => true, 'options' => true, 'label_position' => true,
31
  'invalid' => false, 'size' => false, 'clear_on_focus' => false,
32
  'default_blank' => true, 'css' => true
33
  )); ?>
34
+ <?php if(!isset($ajax)){ ?>
35
+ <li id="frm_field_id_<?php echo $field['id']; ?>" class="form-field edit_form_item frm_field_box ui-state-default edit_field_type_<?php echo $display['type'] ?> frm_top_container">
36
+ <?php } ?>
37
+ <a href="javascript:void(0);" class="frm_bstooltip alignright frm-show-hover frm-move frm-hover-icon frm_icon_font frm_move_field" title="<?php esc_attr_e('Move Field', 'formidable') ?>"> </a>
38
+ <a href="javascript:frm_delete_field(<?php echo $field['id']; ?>)" class="frm_bstooltip alignright frm-show-hover frm-hover-icon frm_icon_font frm_delete_icon" id="frm_delete_field<?php echo $field['id']; ?>" title="<?php esc_attr_e('Delete Field', 'formidable') ?>"> </a>
39
+ <a href="javascript:frm_duplicate_field(<?php echo $field['id']; ?>)" class="frm_bstooltip alignright frm-show-hover frm-hover-icon frm_icon_font frm_duplicate_form" title="<?php esc_attr_e('Duplicate Field', 'formidable') ?>"> </a>
40
  <input type="hidden" name="frm_fields_submitted[]" value="<?php echo esc_attr($field['id']) ?>" />
41
  <?php do_action('frm_extra_field_actions', $field['id']); ?>
42
  <?php if ($display['required']){ ?>
43
  <span id="require_field_<?php echo $field['id']; ?>">
44
+ <a class="frm_req_field frm_action_icon frm_required_icon frm_icon_font alignleft frm_required<?php echo (int)$field['required'] ?>" id="req_field_<?php echo $field['id']; ?>" title="Click to Mark as <?php echo ($field['required'] == '0') ? '' : 'not '; ?>Required"></a>
45
  </span>
46
  <?php } ?>
47
+ <label class="frm_ipe_field_label frm_primary_label <?php echo ($field['type'] == 'break') ? 'button': ''; ?>" id="field_label_<?php echo $field['id']; ?>"><?php echo force_balance_tags($field['name']) ?></label>
48
 
49
+ <div class="frm_form_fields" data-ftype="<?php echo $display['type'] ?>">
50
  <?php if ($display['type'] == 'text'){ ?>
51
  <input type="text" name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>" value="<?php echo esc_attr($field['default_value']); ?>" <?php echo (isset($field['size']) && $field['size']) ? 'style="width:auto" size="'. $field['size'] .'"' : ''; ?> class="dyn_default_value" />
52
  <?php }else if ($field['type'] == 'textarea'){ ?>
53
+ <textarea name="<?php echo $field_name ?>"<?php if ($field['size']) echo ' style="width:auto" cols="'. $field['size'] .'"' ?> rows="<?php echo $field['max']; ?>" id="field_<?php echo $field['field_key'] ?>" class="dyn_default_value"><?php echo FrmAppHelper::esc_textarea(force_balance_tags($field['default_value'])); ?></textarea>
54
 
55
  <?php
56
 
61
  }else{ ?>
62
  <div id="frm_field_<?php echo $field['id'] ?>_opts" class="clear<?php echo (count($field['options']) > 10) ? ' frm_field_opts_list' : ''; ?>">
63
  <?php do_action('frm_add_multiple_opts_labels', $field); ?>
64
+ <?php include(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/radio.php'); ?>
65
  </div>
66
  <?php
67
  }
91
  <option value="<?php echo $field_val ?>"<?php echo $selected ?>><?php echo $opt ?></option>
92
  <?php } ?>
93
  </select>
94
+ <?php }
95
  if ($display['default_blank']){ ?>
96
  <span id="frm_clear_on_focus_<?php echo $field['id'] ?>" class="frm-show-click">
97
  <?php FrmFieldsHelper::show_default_blank_js($field['id'], $field['default_blank']); ?>
98
  </span>
99
  <?php } ?>
100
  <div class="clear"></div>
101
+ <div class="frm-show-click" style="margin-top:5px;">
 
102
  <?php if(isset($field['post_field']) and $field['post_field'] == 'post_category'){ ?>
103
  <p class="howto"><?php _e('Please add options from the WordPress "Categories" page', 'formidable') ?></p>
104
  <?php }else if(!isset($field['post_field']) or $field['post_field'] != 'post_status'){ ?>
107
  <?php foreach ($field['options'] as $opt_key => $opt){
108
  $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
109
  $opt = apply_filters('frm_field_label_seen', $opt, $opt_key, $field);
110
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-fields/single-option.php');
111
  }
112
  ?>
113
  </div>
123
  </div>
124
  <?php
125
  }else if ($field['type'] == 'captcha'){
126
+ ?>
127
+ <img src="<?php echo FrmAppHelper::plugin_url() ?>/images/<?php echo $frm_settings->re_theme ?>-captcha.png" alt="captcha" class="alignleft"/>
128
  <span class="howto"><?php printf(__('Hint: Change colors in the %1$sFormidable settings', 'formidable'), '<a href="?page=formidable-settings">') ?></a></span>
129
+ <div class="clear"></div>
130
  <?php if (empty($frm_settings->pubkey)){ ?>
131
  <div class="howto" style="font-weight:bold;color:red;"><?php printf(__('Your captcha will not appear on your form until you %1$sset up%2$s the Public and Private Keys', 'formidable'), '<a href="?page=formidable-settings">', '</a>') ?></div>
132
  <?php } ?>
139
  if ($display['clear_on_focus']){ ?>
140
  <span id="frm_clear_on_focus_<?php echo $field['id'] ?>" class="frm-show-click">
141
  <?php
142
+ if ($display['default_blank'])
143
+ FrmFieldsHelper::show_default_blank_js($field['id'], $field['default_blank']);
144
 
145
+ FrmFieldsHelper::show_onfocus_js($field['id'], $field['clear_on_focus']);
 
 
146
  ?>
147
  </span>
148
  <?php
154
  </div>
155
  <?php
156
  if ($display['description']){ ?>
157
+ <div class="frm_ipe_field_desc description frm-show-click" id="field_description_<?php echo $field['id']; ?>"><?php echo ($field['description'] == '') ? __('(Click here to add a description or instructions)', 'formidable') : force_balance_tags($field['description']); ?></div>
158
  <?php
159
  }
160
 
165
  <div class="widget-title"><h4><?php _e('Field Options', 'formidable') ?> (ID <?php echo $field['id'] ?>)</h4></div>
166
  </div>
167
  <div class="widget-inside">
168
+ <table class="form-table" style="clear:none;">
169
+ <?php $field_types = FrmFieldsHelper::get_field_types($field['type']); ?>
170
+ <tr><td width="150px"><label><?php _e('Field Type', 'formidable') ?></label></td>
171
+ <td>
172
+ <div class="hide-if-no-js edit-slug-box frm_help" title="<?php _e('The field key can be used as an alternative to the field ID in many cases.', 'formidable') ?>">
173
+ <?php _e('Field Key:', 'formidable') ?>
174
+ <div class="<?php echo ($frm_settings->lock_keys) ? 'frm_field_key' : 'frm_ipe_field_key" title="'. __('Click to edit.', 'formidable'); ?>" ><?php echo $field['field_key']; ?></div>
175
+ <?php if(!$frm_settings->lock_keys){ ?>
176
+ <input type="hidden" name="field_options[field_key_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['field_key']); ?>" />
177
+ <?php } ?>
178
+ </div>
179
+
180
+ <?php if (!empty($field_types)){ ?>
181
+ <select name="field_options[type_<?php echo $field['id'] ?>]">
182
+ <?php foreach ($field_types as $fkey => $ftype){ ?>
183
+ <option value="<?php echo $fkey ?>" <?php echo ($fkey == $field['type']) ? ' selected="selected"' : ''; ?> <?php echo array_key_exists($fkey, $disabled_fields ) ? 'disabled="disabled"' : ''; ?>><?php echo $ftype ?></option>
184
+ <?php
185
+ unset($fkey);
186
+ unset($ftype);
187
+ } ?>
188
+ </select>
189
+ <?php }else if(isset($frm_all_field_selection[$field['type']])){ ?>
190
+ <select disabled="disabled">
191
+ <option value=""><?php echo $frm_all_field_selection[$field['type']] ?></option>
192
+ </select>
193
+ <?php } ?>
194
  <?php if ($display['required']){ ?>
195
+ <label for="frm_req_field_<?php echo $field['id'] ?>" class="frm_inline_label"><input type="checkbox" id="frm_req_field_<?php echo $field['id'] ?>" class="frm_req_field" name="field_options[required_<?php echo $field['id'] ?>]" value="1" <?php echo ($field['required']) ? 'checked="checked"': ''; ?> /> <?php _e('Required', 'formidable') ?></label>
 
 
 
 
 
 
 
 
 
 
196
  <?php } ?>
197
+ <?php if($display['unique']){
198
+ if(!isset($field['unique']))
199
+ $field['unique'] = false;
200
+ ?>
201
+ <label for="frm_uniq_field_<?php echo $field['id'] ?>" class="frm_inline_label frm_help" title="<?php _e('Unique: Do not allow the same response multiple times. For example, if one user enters \'Joe\' then no one else will be allowed to enter the same name.', 'formidable') ?>"><input type="checkbox" name="field_options[unique_<?php echo $field['id'] ?>]" id="frm_uniq_field_<?php echo $field['id'] ?>" value="1" <?php echo $field['unique'] ? ' checked="checked"' : ''; ?> onclick="frmMarkUnique(<?php echo $field['id'] ?>,<?php echo ($field['unique']) ? 1 : 0; ?>)"/> <?php _e('Unique', 'formidable') ?></label>
202
  <?php } ?>
203
+ <?php if($display['read_only']){
204
+ if(!isset($field['read_only']))
205
+ $field['read_only'] = false;
206
+ ?>
207
+ <label for="frm_read_only_field_<?php echo $field['id'] ?>" class="frm_inline_label frm_help" title="<?php _e('Read Only: Show this field but do not allow the field value to be edited from the front-end.', 'formidable') ?>" ><input type="checkbox" id="frm_read_only_field_<?php echo $field['id'] ?>" name="field_options[read_only_<?php echo $field['id'] ?>]" value="1" <?php echo $field['read_only'] ? ' checked="checked"' : ''; ?>/> <?php _e('Read Only', 'formidable') ?></label>
208
+ <?php } ?>
209
+
210
+ <?php if ($display['required']){ ?>
211
+ <div class="frm_required_details<?php echo $field['id'] . ( $field['required'] ? '' : ' frm_hidden'); ?>">
212
+ <span class="howto"><?php _e('Indicate required field with', 'formidable') ?></span>
213
+ <input type="text" name="field_options[required_indicator_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['required_indicator']); ?>" />
214
+ </div>
215
+ <?php } ?>
216
+ </td>
217
+ </tr>
218
+
219
+ <?php if ($display['css']){ ?>
220
+ <tr><td><label><?php _e('CSS layout classes', 'formidable') ?></label>
221
+ <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('Add a CSS class to the field container. Use our predefined classes to align multiple fields in single row.', 'formidable') ?>" ></span>
222
+ </td>
223
+ <td><input type="text" name="field_options[classes_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['classes']) ?>" id="frm_classes_<?php echo $field['id'] ?>" class="frm_classes frm_long_input" />
224
+ </td>
225
+ </tr>
226
  <?php } ?>
227
  <?php if ($display['label_position']){ ?>
228
  <tr><td width="150px"><label><?php _e('Label Position', 'formidable') ?></label></td>
238
  </td>
239
  </tr>
240
  <?php } ?>
241
+ <?php if ($display['size']){ ?>
242
+ <tr><td width="150px"><label><?php _e('Field Size', 'formidable') ?></label></td>
243
+ <td>
244
+ <?php if(in_array($field['type'], array('select', 'time', 'data'))){ ?>
245
+ <?php if(!isset($values['custom_style']) or $values['custom_style']){ ?>
246
+ <label for="size_<?php echo $field['id'] ?>"><input type="checkbox" name="field_options[size_<?php echo $field['id'] ?>]" id="size_<?php echo $field['id'] ?>" value="1" <?php echo (isset($field['size']) and $field['size'])? 'checked="checked"':''; ?> /> <?php _e('automatic width', 'formidable') ?>
247
+ <?php }
248
+ }else{ ?>
249
+ <input type="text" name="field_options[size_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['size']); ?>" size="5" /> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('columns wide', 'formidable') : __('characters wide', 'formidable') ?></span>
250
+
251
+ <input type="text" name="field_options[max_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['max']); ?>" size="5" /> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('rows high', 'formidable') : __('characters maximum', 'formidable') ?></span>
252
+ <?php } ?>
253
+ </td>
254
+ </tr>
255
  <?php } ?>
256
  <?php do_action('frm_field_options_form', $field, $display, $values); ?>
257
+
258
+ <?php if ($display['required'] or $display['invalid'] or $display['unique']){ ?>
259
+ <tr class="frm_validation_msg <?php echo ($display['invalid'] || $field['required'] || (isset($field['unique']) && $field['unique'])) ? '' : 'frm_hidden'; ?>"><td><?php _e('Validation', 'formidable') ?></td>
260
+ <td class="frm_validation_box">
261
+ <?php if ($display['required']){ ?>
262
+ <p class="frm_required_details<?php echo $field['id'] . ($field['required'] ? '' : ' frm_hidden'); ?>"><label><?php _e('Required', 'formidable') ?></label>
263
+ <input type="text" name="field_options[blank_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['blank']); ?>" />
264
+ </p>
265
+ <?php } ?>
266
+ <?php if ($display['invalid']){ ?>
267
+ <p><label><?php _e('Invalid Format', 'formidable') ?></label>
268
+ <input type="text" name="field_options[invalid_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['invalid']); ?>" />
269
+ </p>
270
+ <?php } ?>
271
+ <?php if($display['unique']){ ?>
272
+ <p class="frm_unique_details<?php echo $field['id'] . ($field['unique'] ? '' : ' frm_hidden'); ?>">
273
+ <label><?php _e('Unique', 'formidable') ?></label>
274
+ <input type="text" name="field_options[unique_msg_<?php echo $field['id'] ?>]" value="<?php echo esc_attr($field['unique_msg']); ?>" />
275
+ </p>
276
+ <?php } ?>
277
+ <?php if ($display['default_blank']){ //TODO ?>
278
+ <?php } ?>
279
+ </td>
280
+ </tr>
281
+ <?php } ?>
282
+
283
  </table>
284
  </div>
285
  </div>
286
+ <?php } ?>
287
+ <?php if(!isset($ajax)){ ?>
288
  </li>
289
+ <?php } ?>
290
  <?php unset($display); ?>
classes/views/frm-forms/add_field_links.php CHANGED
@@ -2,7 +2,7 @@
2
  <?php if(!isset($hide_preview) or !$hide_preview){
3
  if (!$values['is_template']){ ?>
4
  <p class="howto" style="margin-top:0;"><?php _e('Insert into a post, page, display or text widget', 'formidable') ?>:
5
- <input type="text" style="text-align:center;font-weight:bold;width:100%;" readonly="true" onclick="this.select();" onfocus='this.select();' value='[formidable id=<?php echo $id; ?>]' /></p>
6
  <?php } ?>
7
 
8
  <?php if(isset($values['form_key'])){ ?>
@@ -24,11 +24,9 @@
24
  <li class="tabs" ><a href="#frm-insert-fields" id="frm_insert_fields_tab"><?php _e( 'Fields', 'formidable' ); ?></a></li>
25
  <li class="hide-if-no-js"><a href="#frm-layout-classes" id="frm_layout_classes_tab"><?php _e( 'Layout', 'formidable' ); ?></a></li>
26
  <?php do_action('frm_extra_form_instruction_tabs'); ?>
27
- <li class="hide-if-no-js"><a href="#frm-keys-and-actions"><?php _e( 'Key', 'formidable' ); ?></a></li>
28
  </ul>
29
 
30
  <div id="frm-insert-fields" class="tabs-panel" style="max-height:none;overflow:visible;">
31
- <p class="howto"><?php _e('Click or drag to add a field into your form', 'formidable') ?></p>
32
  <ul class="field_type_list">
33
  <?php
34
  $col_class = 'frm_col_one';
@@ -90,7 +88,7 @@
90
  $title = (!empty($d) and is_array($d) and isset($d['title'])) ? $d['title'] : '';
91
  ?>
92
  <li class="frm_col_<?php echo $col ?>">
93
- <a class="frmbutton button show_frm_classes<?php if(!empty($title)) echo ' frm_help'; ?>" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $c ?>');return false;" href="#" <?php if(!empty($title)){ ?>title="<?php echo esc_attr($title); ?>"<?php } ?>>
94
  <?php
95
  if(empty($d))
96
  echo $c;
@@ -110,30 +108,6 @@
110
  </ul>
111
  </div>
112
 
113
- <div id="frm-keys-and-actions" class="tabs-panel" style="display:none;max-height:none;">
114
-
115
- <ul class="frm_key_icons">
116
- <li><span class="frm_action_icon frm_required_icon"></span>
117
- = <?php _e('required field', 'formidable') ?></li>
118
- <li><span class="frm_inactive_icon frm_action_icon frm_required_icon"></span>
119
- = <?php _e('not required', 'formidable') ?></li>
120
- <li><span class="frm_action_icon frm_reload_icon"></span>
121
- = <?php _e('clear default text on click', 'formidable') ?></li>
122
- <li><span class="frm_inactive_icon frm_action_icon frm_reload_icon"></span>
123
- = <?php _e('do not clear default text on click', 'formidable') ?></li>
124
- <li><span class="frm_action_icon frm_error_icon"></span>
125
- = <?php _e('default value will NOT pass validation', 'formidable') ?></li>
126
- <li><span class="frm_inactive_icon frm_action_icon frm_error_icon"></span>
127
- = <?php _e('default value will pass validation', 'formidable') ?></li>
128
- <li><span><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="<?php echo esc_attr(__('Delete', 'formidable')) ?>" /></span>
129
- = <?php _e('delete field and all inputed data', 'formidable') ?></li>
130
- <li><span><img src="<?php echo FRM_IMAGES_URL ?>/duplicate.png" alt="<?php echo esc_attr(__('Move', 'formidable')) ?>" /></span>
131
- = <?php _e('duplicate field', 'formidable') ?></li>
132
- <li><span><img src="<?php echo FRM_IMAGES_URL ?>/move.png" alt="<?php echo esc_attr(__('Move', 'formidable')) ?>" /></span>
133
- = <?php _e('move field', 'formidable') ?></li>
134
- </ul>
135
-
136
- </div>
137
  <?php
138
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
139
  $action = FrmAppHelper::get_param($action);
2
  <?php if(!isset($hide_preview) or !$hide_preview){
3
  if (!$values['is_template']){ ?>
4
  <p class="howto" style="margin-top:0;"><?php _e('Insert into a post, page, display or text widget', 'formidable') ?>:
5
+ <input type="text" readonly="true" class="frm_select_box" value='[formidable id=<?php echo $id; ?>]' /></p>
6
  <?php } ?>
7
 
8
  <?php if(isset($values['form_key'])){ ?>
24
  <li class="tabs" ><a href="#frm-insert-fields" id="frm_insert_fields_tab"><?php _e( 'Fields', 'formidable' ); ?></a></li>
25
  <li class="hide-if-no-js"><a href="#frm-layout-classes" id="frm_layout_classes_tab"><?php _e( 'Layout', 'formidable' ); ?></a></li>
26
  <?php do_action('frm_extra_form_instruction_tabs'); ?>
 
27
  </ul>
28
 
29
  <div id="frm-insert-fields" class="tabs-panel" style="max-height:none;overflow:visible;">
 
30
  <ul class="field_type_list">
31
  <?php
32
  $col_class = 'frm_col_one';
88
  $title = (!empty($d) and is_array($d) and isset($d['title'])) ? $d['title'] : '';
89
  ?>
90
  <li class="frm_col_<?php echo $col ?>">
91
+ <a class="frmbutton frm_insert_code button show_frm_classes<?php if(!empty($title)) echo ' frm_help'; ?>" data-code="<?php echo esc_attr($c) ?>" href="javascript:void(0)" <?php if(!empty($title)){ ?>title="<?php echo esc_attr($title); ?>"<?php } ?>>
92
  <?php
93
  if(empty($d))
94
  echo $c;
108
  </ul>
109
  </div>
110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  <?php
112
  $action = isset($_REQUEST['frm_action']) ? 'frm_action' : 'action';
113
  $action = FrmAppHelper::get_param($action);
classes/views/frm-forms/default-templates.php CHANGED
@@ -4,8 +4,8 @@
4
  <table class="widefat post fixed" id="posts-filter" cellspacing="0">
5
  <thead>
6
  <tr>
7
- <th class="manage-column" width="30%"><?php _e('Name', 'formidable') ?></th>
8
- <th class="manage-column"><?php _e('Description', 'formidable') ?></th>
9
  </tr>
10
  </thead>
11
  <?php if(empty($default_templates)){ ?>
@@ -18,16 +18,16 @@
18
  ?>
19
  <tr class="<?php echo $alternate ?>">
20
  <td class="post-title">
21
- <a class="row-title" href="<?php echo $url = FrmFormsHelper::get_direct_link($form->form_key); ?>" title="<?php _e('Preview', 'formidable')?> <?php echo esc_attr($form->name) ?>" target="blank"><?php echo $form->name; ?></a><br/>
22
  <div class="row-actions">
23
  <?php if(current_user_can('frm_edit_forms')){ ?>
24
- <span><a href="?page=formidable&amp;frm_action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo esc_attr($form->name); ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span> |
25
  <?php } ?>
26
  <?php global $frm_settings;
27
  if ($frm_settings->preview_page_id > 0)
28
  $url = add_query_arg('form', $form->form_key, get_permalink($frm_settings->preview_page_id));
29
  ?>
30
- <span><a href="<?php echo $url ?>" title="View <?php echo esc_attr($form->name) ?>" target="blank"><?php _e('View', 'formidable') ?></a></span>
31
  </div>
32
  </td>
33
  <td><?php echo $form->description ?></td>
@@ -38,8 +38,8 @@
38
  ?>
39
  <tfoot>
40
  <tr>
41
- <th class="manage-column"><?php _e('Name', 'formidable') ?></th>
42
- <th class="manage-column"><?php _e('Description', 'formidable') ?></th>
43
  </tr>
44
  </tfoot>
45
  </table>
4
  <table class="widefat post fixed" id="posts-filter" cellspacing="0">
5
  <thead>
6
  <tr>
7
+ <th class="manage-column" width="30%"><?php _e('Name') ?></th>
8
+ <th class="manage-column"><?php _e('Description') ?></th>
9
  </tr>
10
  </thead>
11
  <?php if(empty($default_templates)){ ?>
18
  ?>
19
  <tr class="<?php echo $alternate ?>">
20
  <td class="post-title">
21
+ <a class="row-title" href="<?php echo $url = FrmFormsHelper::get_direct_link($form->form_key, $form); ?>" title="<?php _e('View', 'formidable')?> <?php echo esc_attr($form->name) ?>" target="blank"><?php echo $form->name; ?></a><br/>
22
  <div class="row-actions">
23
  <?php if(current_user_can('frm_edit_forms')){ ?>
24
+ <span><a href="?page=formidable&amp;frm_action=duplicate&amp;id=<?php echo $form->id; ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span> |
25
  <?php } ?>
26
  <?php global $frm_settings;
27
  if ($frm_settings->preview_page_id > 0)
28
  $url = add_query_arg('form', $form->form_key, get_permalink($frm_settings->preview_page_id));
29
  ?>
30
+ <span><a href="<?php echo $url ?>" target="blank"><?php _e('View', 'formidable') ?></a></span>
31
  </div>
32
  </td>
33
  <td><?php echo $form->description ?></td>
38
  ?>
39
  <tfoot>
40
  <tr>
41
+ <th class="manage-column"><?php _e('Name') ?></th>
42
+ <th class="manage-column"><?php _e('Description') ?></th>
43
  </tr>
44
  </tfoot>
45
  </table>
classes/views/frm-forms/edit.php CHANGED
@@ -1,20 +1,17 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php echo __('Edit', 'formidable') .' '. (($values['is_template']) ? __('Template', 'formidable') : __('Form', 'formidable')); ?>
4
- <a href="?page=formidable-new" class="button add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
5
  </h2>
6
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
7
-
8
- <?php if (!$values['is_template']){ ?>
9
- <div class="alignleft">
10
- <?php FrmAppController::get_form_nav($id, true); ?>
11
- </div>
12
- <?php }
13
-
14
- if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
15
  <div id="poststuff" class="metabox-holder has-right-sidebar">
16
  <?php
17
- require(FRM_VIEWS_PATH .'/frm-forms/add_field_links.php');
18
  }else{ ?>
19
  <div id="poststuff">
20
  <?php } ?>
@@ -28,18 +25,14 @@
28
  <?php _e('or', 'formidable') ?>
29
  <a class="button-secondary cancel" href="?page=formidable<?php echo ($values['is_template']) ? '-templates' : ''; ?>"><?php _e('Cancel', 'formidable') ?></a>
30
  <span class="frm-loading-img"></span>
31
- <span style="margin-left:8px;">
32
- <?php FrmFormsHelper::forms_dropdown('frm_switcher', '', __('Switch Form', 'formidable'), false, "frmAddNewForm(this.value,'edit')"); ?>
33
- </span>
34
  </p>
35
 
36
  <form method="post" id="frm_build_form">
37
  <input type="hidden" name="frm_action" value="update" />
38
  <input type="hidden" name="action" value="update" />
39
  <input type="hidden" name="id" value="<?php echo $id; ?>" />
40
- <?php wp_nonce_field('update-options'); ?>
41
 
42
- <?php require(FRM_VIEWS_PATH.'/frm-forms/form.php'); ?>
43
 
44
  <p>
45
  <input type="button" onclick="frmSubmit<?php echo (isset($values['ajax_load']) and $values['ajax_load']) ? 'Build' : 'NoAjax'; ?>(this)" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
@@ -52,9 +45,8 @@
52
  </div>
53
  <?php
54
  if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
55
- require(FRM_VIEWS_PATH .'/frm-forms/add_field_links.php');
56
  ?>
57
  </div>
58
  </div>
59
  </div>
60
- <?php require(FRM_VIEWS_PATH .'/frm-forms/footer.php'); ?>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php echo (($values['is_template']) ? __('Templates', 'formidable') : __('Build', 'formidable')); ?>
4
+ <a href="?page=formidable&amp;frm_action=new-selection" class="add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
5
  </h2>
6
+ <?php
7
+ if (!$values['is_template'])
8
+ FrmAppController::get_form_nav($id, true);
9
+ require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php');
10
+
11
+ if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
 
 
 
12
  <div id="poststuff" class="metabox-holder has-right-sidebar">
13
  <?php
14
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field_links.php');
15
  }else{ ?>
16
  <div id="poststuff">
17
  <?php } ?>
25
  <?php _e('or', 'formidable') ?>
26
  <a class="button-secondary cancel" href="?page=formidable<?php echo ($values['is_template']) ? '-templates' : ''; ?>"><?php _e('Cancel', 'formidable') ?></a>
27
  <span class="frm-loading-img"></span>
 
 
 
28
  </p>
29
 
30
  <form method="post" id="frm_build_form">
31
  <input type="hidden" name="frm_action" value="update" />
32
  <input type="hidden" name="action" value="update" />
33
  <input type="hidden" name="id" value="<?php echo $id; ?>" />
 
34
 
35
+ <?php require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/form.php'); ?>
36
 
37
  <p>
38
  <input type="button" onclick="frmSubmit<?php echo (isset($values['ajax_load']) and $values['ajax_load']) ? 'Build' : 'NoAjax'; ?>(this)" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
45
  </div>
46
  <?php
47
  if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
48
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field_links.php');
49
  ?>
50
  </div>
51
  </div>
52
  </div>
 
classes/views/frm-forms/footer.php DELETED
@@ -1,35 +0,0 @@
1
- <script type="text/javascript">
2
- __FRMURL='<?php echo admin_url("admin-ajax.php") ?>';
3
- __FRMDEFDESC="<?php _e('(Click here to add form description or instructions)', 'formidable') ?>";
4
- __FRMDEFBLANK="<?php _e('(Blank)', 'formidable') ?>";
5
- __FRMSAVING="<?php esc_attr(_e('Saving', 'formidable')) ?>";
6
- __FRMSAVED="<?php esc_attr(_e('Saved', 'formidable')) ?>";
7
-
8
- jQuery(document).ready(function($){
9
-
10
- $("#new_fields").sortable({
11
- placeholder:'sortable-placeholder',axis:'y',cursor:'move',opacity:0.65,
12
- cancel:'.widget,.frm_field_opts_list,input,textarea,select',
13
- accepts:'field_type_list',revert:true,forcePlaceholderSize:true,
14
- receive:function(event,ui){
15
- var new_id=(ui.item).attr('id');
16
- jQuery('#new_fields .frmbutton.frm_t'+new_id).replaceWith('<img class="frmbutton frmbutton_loadingnow" id="'+new_id+'" src="<?php echo FRM_IMAGES_URL; ?>/ajax_loader.gif" alt="<?php _e('Loading...', 'formidable'); ?>" />');
17
- jQuery.ajax({
18
- type:"POST",url:ajaxurl,data:"action=frm_insert_field&form_id=<?php echo $id; ?>&field="+new_id,
19
- success:function(msg){
20
- $('.frmbutton_loadingnow#'+new_id).replaceWith(msg);
21
- var regex = /id="(\S+)"/; match=regex.exec(msg);
22
- $('#'+match[1]+' .frm_ipe_field_label').mouseover().click();
23
- var order= $('#new_fields').sortable('serialize');
24
- jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_field_order&"+order});
25
- }
26
- });
27
- },
28
- update:function(){
29
- var order= $('#new_fields').sortable('serialize');
30
- jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_field_order&"+order});
31
- }
32
- });
33
- });
34
-
35
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/views/frm-forms/form.php CHANGED
@@ -1,24 +1,40 @@
 
 
1
  <div id="frm_form_editor_container">
2
  <div id="titlediv">
3
- <div id="form_desc" class="edit_form_item frm_field_box frm_head_box">
4
- <h2 class="frm_ipe_form_name" id="frmform_<?php echo $id; ?>"><?php echo $values['name']; ?></h2>
5
- <div class="frm_ipe_form_desc"><?php echo $values['description']; ?></div>
6
- </div>
 
 
 
 
 
7
  </div>
8
 
9
- <ul id="new_fields">
 
 
 
 
 
 
 
 
10
  <?php
11
- if (isset($values['fields']) && !empty($values['fields'])){
12
  $count = 0;
13
  foreach($values['fields'] as $field){
14
  $count++;
15
- $field_name = "item_meta[". $field['id'] ."]";
16
- require(FRM_VIEWS_PATH .'/frm-forms/add_field.php');
17
  unset($field);
18
  unset($field_name);
19
  }
20
  unset($count);
21
  } ?>
22
  </ul>
 
23
 
24
  </div>
1
+ <?php wp_nonce_field('frm_save_form_nonce', 'frm_save_form'); ?>
2
+
3
  <div id="frm_form_editor_container">
4
  <div id="titlediv">
5
+ <input type="text" name="name" value="<?php echo esc_attr($values['name']); ?>" id="title" placeholder="<?php esc_attr_e('Enter title here') ?>" />
6
+ <div id="edit-slug-box" class="hide-if-no-js">
7
+ <div class="alignright" style="width:13em;max-width:30%">
8
+ <strong><?php _e('Form Key:', 'formidable') ?></strong>
9
+ <div id="editable-post-name" class="frm_ipe_form_key" title="<?php _e('Click to edit.', 'formidable') ?>"><?php echo $values['form_key']; ?></div>
10
+ </div>
11
+ <div class="frm_ipe_form_desc alignleft" style="width:70%"><?php echo ($values['description'] == '') ? __('(Click here to add a description or instructions)', 'formidable') : force_balance_tags($values['description']); ?></div>
12
+ <div style="clear:both"></div>
13
+ </div>
14
  </div>
15
 
16
+ <div <?php echo version_compare( $GLOBALS['wp_version'], '3.7.2', '>') ? 'class="postbox"' : ''; ?>>
17
+ <div class="frm_no_fields <?php echo ( isset($values['fields']) && !empty($values['fields']) ) ? 'frm_hidden' : ''; ?>">
18
+ <div class="frm_brace">{</div>
19
+ <div class="alignright frm_nofields_text">
20
+ <div class="frm_all_field_inst"><?php _e('Add fields here', 'formidable') ?></div>
21
+ <div class="frm_drag_inst"><?php _e('(Just click or drag)', 'formidable') ?></div>
22
+ </div>
23
+ </div>
24
+ <ul id="new_fields" class="<?php echo version_compare( $GLOBALS['wp_version'], '3.7.2', '>') ? 'inside' : ''; ?>">
25
  <?php
26
+ if (isset($values['fields']) and !empty($values['fields'])){
27
  $count = 0;
28
  foreach($values['fields'] as $field){
29
  $count++;
30
+ $field_name = 'item_meta['. $field['id'] .']';
31
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field.php');
32
  unset($field);
33
  unset($field_name);
34
  }
35
  unset($count);
36
  } ?>
37
  </ul>
38
+ </div>
39
 
40
  </div>
classes/views/frm-forms/insert_form_popup.php CHANGED
@@ -1,4 +1,4 @@
1
- <script>
2
  function frm_insert_form(){
3
  var form_id=jQuery("#frm_add_form_id").val();
4
  if(form_id==""){alert("<?php _e('Please select a form', 'formidable') ?>");return;}
@@ -10,7 +10,7 @@
10
 
11
  function frm_insert_display(){
12
  var display_id = jQuery("#frm_add_display_id").val();
13
- if(display_id==""){alert("<?php _e('Please select a custom display', 'formidable') ?>");return;}
14
  var filter_qs=jQuery("#frm_filter_content").is(":checked") ? " filter=1" : "";
15
  var win = window.dialogArguments || opener || parent || top;
16
  win.send_to_editor("[display-frm-data id="+display_id+filter_qs+"]");
@@ -21,33 +21,34 @@
21
  win.send_to_editor("[frm-search]");
22
  }
23
  </script>
 
 
 
 
 
 
 
 
 
24
 
25
  <div id="frm_insert_form" style="display:none;">
26
- <style>
27
- #frm_popup_content h3{
28
- color:#5A5A5A;
29
- font-family:Georgia,"Times New Roman",Times,serif;
30
- font-weight:normal;
31
- font-size:1.6em;
32
- }
33
- </style>
34
  <div class="wrap" id="frm_popup_content">
35
  <h3><?php _e("Select a form to insert", "formidable"); ?></h3>
36
 
37
  <p><?php FrmFormsHelper::forms_dropdown( 'frm_add_form_id' )?></p>
38
 
39
- <p><input type="checkbox" id="frm_display_title" /> <label for="frm_display_title"><?php _e("Display form title", "formidable"); ?></label> &nbsp; &nbsp;
40
- <input type="checkbox" id="frm_display_description" /> <label for="frm_display_description"><?php _e("Display form description", "formidable"); ?></label>
41
  </p>
42
 
43
  <p><input type="button" class="button-primary" value="Insert Form" onclick="frm_insert_form();" /></p>
44
 
45
  <?php if(isset($displays) and !empty($displays)){ ?>
46
- <div style="border-bottom:1px solid #DFDFDF;display:block;margin:20px 0;"></div>
47
- <h3><?php _e('Select custom display to insert', 'formidable'); ?></h3>
48
 
49
  <p>
50
- <select name="frm_add_display_id" id="frm_add_display_id" class="frm-dropdown">
51
  <option value=""></option>
52
  <?php foreach ($displays as $display){ ?>
53
  <option value="<?php echo $display->ID ?>"><?php echo $display->post_title ?></option>
@@ -55,15 +56,15 @@
55
  </select>
56
  </p>
57
 
58
- <p><input type="checkbox" id="frm_filter_content" /> <label for="frm_filter_content"><?php _e("Filter shortcodes within the custom display content", "formidable"); ?></label>
59
  <span class="howto"><?php _e("Note: In some cases, this option can create an infinite loop", "formidable"); ?></span>
60
  </p>
61
 
62
- <p><input type="button" class="button-primary" value="Insert Display" onclick="frm_insert_display();" /></p>
63
 
64
- <div style="border-bottom:1px solid #DFDFDF;display:block;margin:20px 0;"></div>
65
  <h3><?php _e("Insert a search box", "formidable"); ?></h3>
66
  <p><input type="button" class="button-primary" value="Insert Search" onclick="frm_insert_search();" /></p>
67
  <?php } ?>
68
  </div>
69
- </div>
1
+ <script type="text/javascript">
2
  function frm_insert_form(){
3
  var form_id=jQuery("#frm_add_form_id").val();
4
  if(form_id==""){alert("<?php _e('Please select a form', 'formidable') ?>");return;}
10
 
11
  function frm_insert_display(){
12
  var display_id = jQuery("#frm_add_display_id").val();
13
+ if(display_id==""){alert("<?php _e('Please select a view', 'formidable') ?>");return;}
14
  var filter_qs=jQuery("#frm_filter_content").is(":checked") ? " filter=1" : "";
15
  var win = window.dialogArguments || opener || parent || top;
16
  win.send_to_editor("[display-frm-data id="+display_id+filter_qs+"]");
21
  win.send_to_editor("[frm-search]");
22
  }
23
  </script>
24
+ <style type="text/css">
25
+ #frm_popup_content h3{
26
+ color:#5A5A5A;
27
+ font-family:Georgia,"Times New Roman",Times,serif;
28
+ font-weight:normal;
29
+ font-size:1.6em;
30
+ }
31
+ .frm_box_line{border-bottom:1px solid #DFDFDF;display:block;margin:20px 0;}
32
+ </style>
33
 
34
  <div id="frm_insert_form" style="display:none;">
 
 
 
 
 
 
 
 
35
  <div class="wrap" id="frm_popup_content">
36
  <h3><?php _e("Select a form to insert", "formidable"); ?></h3>
37
 
38
  <p><?php FrmFormsHelper::forms_dropdown( 'frm_add_form_id' )?></p>
39
 
40
+ <p><label for="frm_display_title"><input type="checkbox" id="frm_display_title" /> <?php _e("Display form title", "formidable"); ?></label> &nbsp; &nbsp;
41
+ <label for="frm_display_description"><input type="checkbox" id="frm_display_description" /> <?php _e("Display form description", "formidable"); ?></label>
42
  </p>
43
 
44
  <p><input type="button" class="button-primary" value="Insert Form" onclick="frm_insert_form();" /></p>
45
 
46
  <?php if(isset($displays) and !empty($displays)){ ?>
47
+ <div class="frm_box_line"></div>
48
+ <h3><?php _e('Select a view to insert', 'formidable'); ?></h3>
49
 
50
  <p>
51
+ <select name="frm_add_display_id" id="frm_add_display_id">
52
  <option value=""></option>
53
  <?php foreach ($displays as $display){ ?>
54
  <option value="<?php echo $display->ID ?>"><?php echo $display->post_title ?></option>
56
  </select>
57
  </p>
58
 
59
+ <p><label for="frm_filter_content"><input type="checkbox" id="frm_filter_content" /> <?php _e("Filter shortcodes within the view content", "formidable"); ?></label>
60
  <span class="howto"><?php _e("Note: In some cases, this option can create an infinite loop", "formidable"); ?></span>
61
  </p>
62
 
63
+ <p><input type="button" class="button-primary" value="Insert View" onclick="frm_insert_display();" /></p>
64
 
65
+ <div class="frm_box_line"></div>
66
  <h3><?php _e("Insert a search box", "formidable"); ?></h3>
67
  <p><input type="button" class="button-primary" value="Insert Search" onclick="frm_insert_search();" /></p>
68
  <?php } ?>
69
  </div>
70
+ </div>
classes/views/frm-forms/list.php CHANGED
@@ -1,206 +1,21 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php echo ($params['template'])? __('Form Templates', 'formidable') : __('Forms', 'formidable');
4
  if(!$params['template'] and current_user_can('frm_edit_forms')){ ?>
5
- <a href="?page=formidable-new" class="button add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
6
  <?php } ?>
7
  </h2>
8
 
9
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php');
10
- if(class_exists('WP_List_Table')){
11
-
12
- ?>
13
 
14
  <form id="posts-filter" method="get">
15
  <input type="hidden" name="page" value="<?php echo $_GET['page'] ?>" />
16
  <input type="hidden" name="frm_action" value="list" />
17
  <?php $wp_list_table->search_box( __( 'Search', 'formidable' ), 'entry' );
18
 
19
- if ($params['template']) require(FRM_VIEWS_PATH .'/frm-forms/default-templates.php');
20
 
21
  $wp_list_table->display(); ?>
22
-
23
  </form>
24
- <?php }else{
25
-
26
- do_action('frm_before_item_nav',$sort_str, $sdir_str, $search_str, false);
27
 
28
- if ($params['template']) require(FRM_VIEWS_PATH .'/frm-forms/default-templates.php'); ?>
29
-
30
- <form class="form-fields item-list-form" name="item_list_form" id="posts-filter" method="post" >
31
- <input type="hidden" name="frm_action" value="list-form"/>
32
- <input type="hidden" name="template" value="<?php echo esc_attr($params['template']) ?>" />
33
- <?php $footer = false; require(FRM_VIEWS_PATH.'/shared/item-table-nav.php'); ?>
34
- <table class="widefat fixed" cellspacing="0">
35
- <thead>
36
- <tr>
37
- <th class="manage-column check-column" scope="col"> <?php do_action('frm_column_header'); ?> </th>
38
- <?php if ($params['template']){ ?>
39
- <th class="manage-column <?php FrmFormsHelper::get_sortable_classes('name', $sort_str, $sdir_str); ?>" width="">
40
- <a href="?page=formidable-templates&amp;sort=name&amp;sdir=<?php echo (($sort_str == 'name' and $sdir_str == 'desc')?'asc':'desc'); ?>">
41
- <span><?php _e('Name', 'formidable') ?></span>
42
- <span class="sorting-indicator"></span>
43
- </a>
44
- </th>
45
- <th class="manage-column <?php FrmFormsHelper::get_sortable_classes('description', $sort_str, $sdir_str); ?>">
46
- <a href="?page=formidable-templates&amp;sort=description&amp;sdir=<?php echo (($sort_str == 'description' and $sdir_str == 'desc')?'asc':'desc'); ?>">
47
- <span><?php _e('Description', 'formidable') ?></span>
48
- <span class="sorting-indicator"></span>
49
- </a>
50
- </th>
51
- <?php }else{?>
52
- <th class="manage-column <?php FrmFormsHelper::get_sortable_classes('id', $sort_str, $sdir_str); ?>" width="50px">
53
- <a href="?page=formidable&amp;sort=id&amp;sdir=<?php echo (($sort_str == 'id' and $sdir_str == 'desc')?'asc':'desc'); ?>">
54
- <span><?php _e('ID', 'formidable') ?></span>
55
- <span class="sorting-indicator"></span>
56
- </a>
57
- </th>
58
- <th class="manage-column <?php FrmFormsHelper::get_sortable_classes('name', $sort_str, $sdir_str); ?>" width="350px">
59
- <a href="?page=formidable&amp;sort=name&amp;sdir=<?php echo (($sort_str == 'name' and $sdir_str == 'desc')?'asc':'desc'); ?>">
60
- <span><?php _e('Name', 'formidable') ?></span>
61
- <span class="sorting-indicator"></span>
62
- </a>
63
- </th>
64
- <th class="manage-column <?php FrmFormsHelper::get_sortable_classes('description', $sort_str, $sdir_str); ?>">
65
- <a href="?page=formidable&amp;sort=description&amp;sdir=<?php echo (($sort_str == 'description' and $sdir_str == 'desc')?'asc':'desc'); ?>">
66
- <span><?php _e('Description', 'formidable') ?></span>
67
- <span class="sorting-indicator"></span>
68
- </a>
69
- </th>
70
- <th class="manage-column <?php FrmFormsHelper::get_sortable_classes('form_key', $sort_str, $sdir_str); ?>" width="70px">
71
- <a href="?page=formidable&amp;sort=form_key&amp;sdir=<?php echo (($sort_str == 'form_key' and $sdir_str == 'desc')?'asc':'desc'); ?>">
72
- <span><?php _e('Key', 'formidable') ?></span>
73
- <span class="sorting-indicator"></span>
74
- </a>
75
- </th>
76
- <th class="manage-column" width="60px"><?php _e('Entries', 'formidable') ?></th>
77
- <th class="manage-column" width="115px"><?php _e('Direct Link', 'formidable') ?></th>
78
- <th class="manage-column" width="115px"><?php _e('Shortcodes', 'formidable') ?></th>
79
- <?php } ?>
80
- </tr>
81
- </thead>
82
- <tbody>
83
- <?php if($record_count <= 0){ ?>
84
- <tr>
85
- <td colspan="<?php echo ($params['template'])? '3':'7'; ?>">
86
- <?php if ($params['template']){ ?>
87
- <?php _e('No Templates Found', 'formidable') ?>.
88
- <br/><br/><?php _e('To add a new template','formidable') ?>:
89
- <ol><li style="list-style:decimal;">Create a <a href="?page=formidable-new">new form</a>.</li>
90
- <li style="list-style:decimal;">After your form is created, go to Formidable -> <a href="?page=formidable">Forms</a>.</li>
91
- <li style="list-style:decimal;">Place your mouse over the name of the form you just created, and click the "Create Template" link.</li>
92
- </ol>
93
- <?php }else{ ?>
94
- <?php _e('No Forms Found', 'formidable') ?>.
95
- <a href="?page=formidable-new"><?php _e('Add New', 'formidable'); ?></a>
96
- <?php } ?>
97
- </td>
98
- </tr>
99
- <?php
100
- }else{
101
- $alternate = '';
102
- foreach($forms as $form){
103
- $alternate = (empty($alternate)) ? ' alternate' : '';
104
- ?>
105
- <tr class="iedit<?php echo $alternate ?>" >
106
- <th class="check-column" scope="row"><?php do_action('frm_first_col', $form->id); ?></th>
107
- <?php if ($params['template']){ ?>
108
- <td class="post-title">
109
- <?php if(current_user_can('frm_edit_forms')){ ?>
110
- <a class="row-title" href="?page=formidable&amp;frm_action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)); ?>"><?php echo $form->name; ?></a>
111
- <?php }else{
112
- echo $form->name;
113
- } ?>
114
- <br/>
115
- <div class="row-actions">
116
- <?php if(current_user_can('frm_edit_forms')){ ?>
117
- <span><a href="?page=formidable&amp;frm_action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)); ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span>
118
- | <span class="edit"><a href="?page=formidable&amp;frm_action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)); ?>"><?php _e('Edit', 'formidable') ?></a></span>
119
- <?php } ?>
120
- <?php do_action('frm_template_action_links', $form); ?>
121
- <?php if(current_user_can('frm_delete_forms')){ ?>
122
- | <span class="trash"><a href="?page=formidable&amp;frm_=destroy&amp;id=<?php echo $form->id; ?>" onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?', 'formidable'), strip_tags($form->name)) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)); ?>"><?php _e('Delete', 'formidable') ?></a></span>
123
- <?php } ?>
124
- </div>
125
- </td>
126
- <td><?php echo $form->description ?></td>
127
- <?php }else{ ?>
128
- <td><?php echo $form->id ?></td>
129
- <td class="post-title">
130
- <?php if(current_user_can('frm_edit_forms')){ ?>
131
- <a class="row-title" href="?page=formidable&amp;frm_action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)); ?>"><?php echo $form->name; ?></a>
132
- <?php }else{
133
- echo $form->name;
134
- }
135
- ?>
136
- <br/>
137
- <div class="row-actions">
138
- <?php if(current_user_can('frm_edit_forms')){ ?>
139
- <span class="edit"><a href="?page=formidable&amp;frm_action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)) ?>"><?php _e('Edit', 'formidable') ?></a></span>
140
- | <span><a href="?page=formidable&amp;frm_action=settings&amp;id=<?php echo $form->id; ?>" title="<?php echo esc_attr(strip_tags($form->name)) ?> <?php _e('Settings', 'formidable') ?>"><?php _e('Settings', 'formidable') ?></a></span>
141
- <?php } ?>
142
-
143
- <?php if(current_user_can('frm_view_entries')){ ?>
144
- | <span><a href="?page=formidable-entries&amp;form=<?php echo $form->id; ?>" title="<?php echo esc_attr(strip_tags($form->name)); ?> Entries"><?php _e('Entries', 'formidable') ?></a></span>
145
- | <span><a href="?page=formidable-reports&amp;form=<?php echo $form->id; ?>" title="<?php echo esc_attr(strip_tags($form->name)); ?> Reports"><?php _e('Reports', 'formidable') ?></a></span>
146
- <?php } ?>
147
-
148
- <?php if($frmpro_is_installed and current_user_can('frm_create_entries')){ ?>
149
- | <span><a href="?page=formidable-entries&amp;frm_action=new&amp;form=<?php echo $form->id; ?>" title="<?php _e('New', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)) ?> <?php _e('Entry', 'formidable') ?>"><?php _e('New Entry', 'formidable') ?></a></span></br>
150
- <?php } ?>
151
-
152
- <?php if(current_user_can('frm_edit_forms') and $frmpro_is_installed){ ?>
153
- <span><a href="?page=formidable&amp;frm_action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)) ?>"><?php _e('Duplicate', 'formidable') ?></a></span>
154
- | <span><a href="?page=formidable&amp;frm_action=duplicate&amp;id=<?php echo $form->id; ?>&amp;template=1" title="<?php _e('Create', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Create Template', 'formidable') ?></a></span>
155
- | <span><a href="<?php echo FRM_SCRIPT_URL ?>&amp;controller=forms&amp;frm_action=export&amp;id=<?php echo $form->id; ?>" title="<?php _e('Export', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Export as Template', 'formidable') ?></a></span>
156
- <?php
157
- }
158
-
159
- if(current_user_can('frm_delete_forms')){ ?>
160
- | <span class="trash"><a href="?page=formidable&amp;frm_action=destroy&amp;id=<?php echo $form->id; ?>" onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?', 'formidable'), strip_tags($form->name)) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo esc_attr(strip_tags($form->name)) ?>"><?php _e('Delete', 'formidable') ?></a></span>
161
- <?php } ?>
162
- </div>
163
- </td>
164
- <td><?php echo $form->description ?></td>
165
- <td><?php echo $form->form_key ?></td>
166
- <td><?php
167
- $text = $frm_entry->getRecordCount($form->id);
168
- $text = sprintf(_n( '%1$s Entry', '%1$s Entries', $text, 'formidable' ), $text);
169
- echo (current_user_can('frm_view_entries')) ? '<a href="'. esc_url(admin_url('admin.php') .'?page=formidable-entries&form='. $form->id ) .'">'. $text .'</a>' : $text;
170
- unset($text);
171
- ?></td>
172
- <td>
173
- <input type="text" style="font-size:10px;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="<?php echo $target_url = FrmFormsHelper::get_direct_link($form->form_key, $form->prli_link_id); ?>" /><br/><a href="<?php echo $target_url; ?>" target="blank"><?php _e('View Form', 'formidable') ?></a>
174
- </td>
175
- <td><input type="text" style="font-size:10px;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="[formidable id=<?php echo $form->id; ?>]" /><br/>
176
- <input type="text" style="font-size:10px;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="[formidable key=<?php echo $form->form_key ?>]" />
177
- </td>
178
- <?php } ?>
179
- </tr>
180
- <?php
181
- }
182
- }
183
- ?>
184
- </tbody>
185
- <tfoot>
186
- <tr>
187
- <th class="manage-column check-column" scope="col"> <?php do_action('frm_column_header'); ?> </th>
188
- <?php if ($params['template']){ ?>
189
- <th class="manage-column"><?php _e('Name', 'formidable') ?></th>
190
- <th class="manage-column"><?php _e('Description', 'formidable') ?></th>
191
- <?php }else{ ?>
192
- <th class="manage-column"><?php _e('ID', 'formidable') ?></th>
193
- <th class="manage-column"><?php _e('Name', 'formidable') ?></th>
194
- <th class="manage-column"><?php _e('Description', 'formidable') ?></th>
195
- <th class="manage-column"><?php _e('Key', 'formidable') ?></th>
196
- <th class="manage-column"><?php _e('Entries', 'formidable') ?></th>
197
- <th class="manage-column"><?php _e('Direct Link', 'formidable') ?></th>
198
- <th class="manage-column"><?php _e('Shortcodes', 'formidable') ?></th>
199
- <?php } ?>
200
- </tr>
201
- </tfoot>
202
- </table>
203
- <?php $footer = true; require(FRM_VIEWS_PATH.'/shared/item-table-nav.php'); ?>
204
- </form>
205
- <?php } ?>
206
  </div>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2 style="height:34px;"><?php echo ($params['template'])? __('Templates', 'formidable') : __('Forms', 'formidable');
4
  if(!$params['template'] and current_user_can('frm_edit_forms')){ ?>
5
+ <a href="?page=formidable&amp;frm_action=new-selection" class="add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
6
  <?php } ?>
7
  </h2>
8
 
9
+ <?php require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php'); ?>
 
 
 
10
 
11
  <form id="posts-filter" method="get">
12
  <input type="hidden" name="page" value="<?php echo $_GET['page'] ?>" />
13
  <input type="hidden" name="frm_action" value="list" />
14
  <?php $wp_list_table->search_box( __( 'Search', 'formidable' ), 'entry' );
15
 
16
+ if ($params['template']) require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/default-templates.php');
17
 
18
  $wp_list_table->display(); ?>
 
19
  </form>
 
 
 
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  </div>
classes/views/frm-forms/mb_html_tab.php CHANGED
@@ -19,7 +19,7 @@
19
  foreach($entry_shortcodes as $skey => $sname){
20
  ?>
21
  <li class="frm_col_<?php echo $col ?>">
22
- <a class="show_field_custom_html frmbutton button <?php echo is_array($sname) ? 'frm_help' : ''; ?>" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $skey ?>');return false;" href="#" <?php echo is_array($sname) ? 'title="'. $sname['title'] .'"' : ''; ?>><?php echo is_array($sname) ? $sname['label'] : $sname; ?></a>
23
  </li>
24
  <?php
25
  $col = ($col == 'one') ? 'two' : 'one';
@@ -36,7 +36,7 @@
36
  'form_name' => __('Form Name', 'formidable'), 'form_description' => __('Form Description', 'formidable'),
37
  'form_key' => __('Form Key', 'formidable'), 'deletelink' => __('Delete Entry Link', 'formidable')) as $skey => $sname){ ?>
38
  <li class="frm_col_<?php echo $col ?>">
39
- <a class="show_before_html show_after_html frmbutton button" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $skey ?>');return false;" href="#"><?php echo $sname; ?></a>
40
  </li>
41
  <?php
42
  $col = ($col == 'one') ? 'two' : 'one';
@@ -45,7 +45,7 @@
45
  foreach(array(
46
  'button_label' => __('Button Label', 'formidable'), 'button_action' => __('Button Hook', 'formidable')) as $skey => $sname){ ?>
47
  <li class="frm_col_<?php echo $col ?>">
48
- <a class="show_submit_html frmbutton button" onclick="frmInsertFieldCode(jQuery(this),'<?php echo $skey ?>');return false;" href="#"><?php echo $sname; ?></a>
49
  </li>
50
  <?php
51
  $col = ($col == 'one') ? 'two' : 'one';
19
  foreach($entry_shortcodes as $skey => $sname){
20
  ?>
21
  <li class="frm_col_<?php echo $col ?>">
22
+ <a class="show_field_custom_html frmbutton button frm_insert_code <?php echo is_array($sname) ? 'frm_help' : ''; ?>" data-code="<?php echo esc_attr($skey) ?>" href="javascript:void(0)" <?php echo is_array($sname) ? 'title="'. $sname['title'] .'"' : ''; ?>><?php echo is_array($sname) ? $sname['label'] : $sname; ?></a>
23
  </li>
24
  <?php
25
  $col = ($col == 'one') ? 'two' : 'one';
36
  'form_name' => __('Form Name', 'formidable'), 'form_description' => __('Form Description', 'formidable'),
37
  'form_key' => __('Form Key', 'formidable'), 'deletelink' => __('Delete Entry Link', 'formidable')) as $skey => $sname){ ?>
38
  <li class="frm_col_<?php echo $col ?>">
39
+ <a class="show_before_html show_after_html frmbutton button frm_insert_code" data-code="<?php echo esc_attr($skey) ?>" href="javascript:void(0)"><?php echo $sname; ?></a>
40
  </li>
41
  <?php
42
  $col = ($col == 'one') ? 'two' : 'one';
45
  foreach(array(
46
  'button_label' => __('Button Label', 'formidable'), 'button_action' => __('Button Hook', 'formidable')) as $skey => $sname){ ?>
47
  <li class="frm_col_<?php echo $col ?>">
48
+ <a class="show_submit_html frmbutton button frm_insert_code" data-code="<?php echo esc_attr($skey) ?>" href="javascript:void(0)"><?php echo $sname; ?></a>
49
  </li>
50
  <?php
51
  $col = ($col == 'one') ? 'two' : 'one';
classes/views/frm-forms/mb_insert_fields.php CHANGED
@@ -1,7 +1,7 @@
1
  <div id="frm_adv_info" class="postbox">
2
  <div class="handlediv" title="<?php _e('Click to toggle', 'formidable') ?>"><br/></div><h3 class="hndle"><span><?php _e('Customization', 'formidable') ?></span></h3>
3
  <div class="inside">
4
- <?php if($frmpro_is_installed){
5
  FrmProDisplaysController::mb_tags_box($id);
6
  }else{ ?>
7
  <div id="taxonomy-linkcategory" class="categorydiv">
@@ -13,7 +13,7 @@
13
  <br/><br/>
14
  <?php FrmAppController::update_message('insert field values into your messages'); ?>
15
  </div>
16
- <?php include(FRM_VIEWS_PATH.'/frm-forms/mb_html_tab.php'); ?>
17
  </div>
18
  <?php
19
  } ?>
1
  <div id="frm_adv_info" class="postbox">
2
  <div class="handlediv" title="<?php _e('Click to toggle', 'formidable') ?>"><br/></div><h3 class="hndle"><span><?php _e('Customization', 'formidable') ?></span></h3>
3
  <div class="inside">
4
+ <?php if($frm_vars['pro_is_installed']){
5
  FrmProDisplaysController::mb_tags_box($id);
6
  }else{ ?>
7
  <div id="taxonomy-linkcategory" class="categorydiv">
13
  <br/><br/>
14
  <?php FrmAppController::update_message('insert field values into your messages'); ?>
15
  </div>
16
+ <?php include(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/mb_html_tab.php'); ?>
17
  </div>
18
  <?php
19
  } ?>
classes/views/frm-forms/new-selection.php CHANGED
@@ -1,10 +1,10 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php _e('Add New Form', 'formidable') ?></h2>
4
 
5
  <div class="clear"></div>
6
- <div id="menu-management" class="nav-menus-php" style="margin-top:30px;">
7
- <div class="menu-edit" style="width:300px;float:left;margin-right:30px;">
8
  <div id="nav-menu-header"><div class="major-publishing-actions" style="padding:8px 0;">
9
  <div style="font-size:15px;background:transparent;" class="search"><?php _e('Pre-Built Form', 'formidable') ?></div>
10
  </div></div>
@@ -27,8 +27,10 @@
27
  </div>
28
  </form>
29
  </div>
30
-
31
- <div class="menu-edit" style="width:300px;float:left;">
 
 
32
  <div id="nav-menu-header"><div class="major-publishing-actions" style="padding:8px 0;">
33
  <div style="font-size:15px;background:transparent;" class="search"><?php _e('Blank Form', 'formidable') ?></div>
34
  </div></div>
@@ -49,4 +51,6 @@
49
 
50
  <div class="clear"></div>
51
  </div>
 
 
52
  </div>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php _e('Build New Form', 'formidable') ?></h2>
4
 
5
  <div class="clear"></div>
6
+ <div id="menu-management" class="nav-menus-php frm-menu-boxes">
7
+ <div class="menu-edit">
8
  <div id="nav-menu-header"><div class="major-publishing-actions" style="padding:8px 0;">
9
  <div style="font-size:15px;background:transparent;" class="search"><?php _e('Pre-Built Form', 'formidable') ?></div>
10
  </div></div>
27
  </div>
28
  </form>
29
  </div>
30
+ </div>
31
+
32
+ <div id="menu-management" class="nav-menus-php frm-menu-boxes">
33
+ <div class="menu-edit">
34
  <div id="nav-menu-header"><div class="major-publishing-actions" style="padding:8px 0;">
35
  <div style="font-size:15px;background:transparent;" class="search"><?php _e('Blank Form', 'formidable') ?></div>
36
  </div></div>
51
 
52
  <div class="clear"></div>
53
  </div>
54
+
55
+ <div class="clear"></div>
56
  </div>
classes/views/frm-forms/new.php CHANGED
@@ -1,18 +1,17 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php _e('Add New Form', 'formidable') ?></h2>
4
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
5
-
6
- <?php if (!$values['is_template']){ ?>
7
- <div class="alignleft">
8
- <?php FrmAppController::get_form_nav($id, true); ?>
9
- </div>
10
- <?php }
11
 
12
  if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
13
  <div id="poststuff" class="metabox-holder has-right-sidebar">
14
  <?php
15
- require(FRM_VIEWS_PATH .'/frm-forms/add_field_links.php');
16
  }else{ ?>
17
  <div id="poststuff">
18
  <?php } ?>
@@ -32,9 +31,8 @@
32
  <input type="hidden" name="frm_action" value="create" />
33
  <input type="hidden" name="action" value="create" />
34
  <input type="hidden" name="id" value="<?php echo $id; ?>" />
35
- <?php wp_nonce_field('update-options'); ?>
36
 
37
- <?php require(FRM_VIEWS_PATH.'/frm-forms/form.php'); ?>
38
 
39
  <p>
40
  <input type="button" onclick="frmSubmit<?php echo (isset($values['ajax_load']) and $values['ajax_load']) ? 'Build' : 'NoAjax'; ?>(this)" value="<?php _e('Create', 'formidable') ?>" class="button-primary" />
@@ -47,9 +45,8 @@
47
  </div>
48
  <?php
49
  if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
50
- require(FRM_VIEWS_PATH .'/frm-forms/add_field_links.php');
51
  ?>
52
  </div>
53
  </div>
54
  </div>
55
- <?php require(FRM_VIEWS_PATH .'/frm-forms/footer.php'); ?>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php _e('Build New Form', 'formidable') ?>
4
+ <a href="?page=formidable-new" class="add-new-h2" style="visibility:hidden;"><?php _e('Add New', 'formidable'); ?></a>
5
+ </h2>
6
+ <?php
7
+ if (!$values['is_template'])
8
+ FrmAppController::get_form_nav($id, true);
9
+ require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php');
 
10
 
11
  if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
12
  <div id="poststuff" class="metabox-holder has-right-sidebar">
13
  <?php
14
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field_links.php');
15
  }else{ ?>
16
  <div id="poststuff">
17
  <?php } ?>
31
  <input type="hidden" name="frm_action" value="create" />
32
  <input type="hidden" name="action" value="create" />
33
  <input type="hidden" name="id" value="<?php echo $id; ?>" />
 
34
 
35
+ <?php require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/form.php'); ?>
36
 
37
  <p>
38
  <input type="button" onclick="frmSubmit<?php echo (isset($values['ajax_load']) and $values['ajax_load']) ? 'Build' : 'NoAjax'; ?>(this)" value="<?php _e('Create', 'formidable') ?>" class="button-primary" />
45
  </div>
46
  <?php
47
  if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
48
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/add_field_links.php');
49
  ?>
50
  </div>
51
  </div>
52
  </div>
 
classes/views/frm-forms/notification.php CHANGED
@@ -1,19 +1,19 @@
1
- <div id="frm_notification_<?php echo $email_key ?>" class="tabs-panel notification_settings <?php if(!$first_email) echo 'panel_secondary' ?>" style="display:none;">
2
- <table class="form-table">
3
- <tr valign="top">
4
- <td width="100px"><label><?php _e('From/Reply to', 'formidable') ?></label> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('Usually the name and email of the person filling out the form. Select from Text, Email, User ID, or hidden fields for the name. &lt;br/&gt;Defaults to your site name and admin email found on the WordPress General Settings page.', 'formidable') ?>" /></td>
 
 
5
  <td class="frm_email_reply_container">
6
  <div class="alignright frm_email_actions feature-filter">
7
  <?php echo $email_key; ?>
8
- <?php if($email_key > 0){ ?>
9
  <span class="frm_email_icons">
10
- <a href="javascript:frmRemoveEmailList(<?php echo $email_key ?>)">
11
- <img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="<?php _e('Remove Email', 'formidable') ?>" title="<?php _e('Remove Email', 'formidable') ?>" />
12
- </a>
13
  </span>
14
  <?php } ?>
15
  </div>
16
- <span class="howto"><?php _e('Name', 'formidable') ?></span>
17
 
18
  <select name="notification[<?php echo $email_key ?>][reply_to_name]" id="reply_to_name_<?php echo $email_key ?>" onchange="frmCheckCustomEmail(this.value,'reply_to_name',<?php echo $email_key ?>)">
19
  <option value=""><?php echo FrmAppHelper::truncate(get_option('blogname'), 80); ?></option>
@@ -62,8 +62,8 @@
62
  </select>
63
 
64
  <div id="frm_cust_reply_container_<?php echo $email_key ?>" <?php echo ($notification['reply_to_name'] == 'custom' or $notification['reply_to'] == 'custom') ? '' : 'style="display:none"'; ?>>
65
- <span class="howto" style="visibility:hidden;"><?php _e('Name', 'formidable') ?></span>
66
- <input type="text" name="notification[<?php echo $email_key ?>][cust_reply_to_name]" value="<?php echo esc_attr($notification['cust_reply_to_name']) ?>" id="cust_reply_to_name_<?php echo $email_key ?>" title="<?php _e('Name', 'formidable') ?>" <?php echo ($notification['reply_to_name'] == 'custom') ? '' : 'style="visibility:hidden;"'; ?> />
67
  <span class="howto" style="visibility:hidden;"><?php _e('Email', 'formidable') ?></span>
68
  <input type="text" name="notification[<?php echo $email_key ?>][cust_reply_to]" value="<?php echo esc_attr($notification['cust_reply_to']) ?>" id="cust_reply_to_<?php echo $email_key ?>" title="<?php _e('Email Address', 'formidable') ?>" <?php echo ($notification['reply_to'] == 'custom') ? '' : 'style="visibility:hidden;"'; ?> />
69
  </div>
@@ -71,14 +71,24 @@
71
  </tr>
72
 
73
  <tr>
74
- <td colspan="2"><label><?php _e('Email Recipients', 'formidable') ?></label> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('To send to multiple addresses, separate each address with a comma. You can use [admin_email] to dynamically use the address on your WordPress General Settings page. &lt;br/&gt;PRO only: Leave blank if you do not want email notifications for this form.', 'formidable') ?>" />
75
- <input type="text" name="notification[<?php echo $email_key ?>][email_to]" value="<?php echo esc_attr($notification['email_to']); ?>" class="frm_not_email_to frm_long_input" id="email_to_<?php echo $email_key ?>" /></td>
76
- </tr>
77
- <?php if(!$frmpro_is_installed){ ?>
78
- <tr><td colspan="2">
79
- <?php FrmAppController::update_message('customize your email notifications and send auto responders'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
80
  </td></tr>
81
- <?php } ?>
82
- <?php do_action('frm_additional_form_notification_options', $values, compact('notification', 'email_key')); ?>
83
  </table>
84
  </div>
1
+ <?php $a = isset($_GET['t']) ? $_GET['t'] : 'advanced_settings'; ?>
2
+ <div id="frm_notification_<?php echo $email_key ?>" class="tabs-panel notification_settings <?php if(!$first_email) echo 'panel_secondary' ?>" style="display:<?php echo ($a == 'notification_settings') ? 'block' : 'none'; ?>;">
3
+ <table class="form-table <?php if(!$first_email) echo 'menu-settings'; ?>">
4
+ <tr>
5
+ <td><label><?php _e('From/Reply to', 'formidable') ?></label> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('Usually the name and email of the person filling out the form. Select from Text, Email, User ID, or hidden fields for the name. &lt;br/&gt;Defaults to your site name and admin email found on the WordPress General Settings page.', 'formidable') ?>"></span>
6
+ </td>
7
  <td class="frm_email_reply_container">
8
  <div class="alignright frm_email_actions feature-filter">
9
  <?php echo $email_key; ?>
10
+ <?php if ( $email_key !== 0 ) { ?>
11
  <span class="frm_email_icons">
12
+ <a data-removeid="frm_notification_<?php echo $email_key ?>" class="frm_icon_font frm_delete_icon frm_remove_email"> </a>
 
 
13
  </span>
14
  <?php } ?>
15
  </div>
16
+ <span class="howto"><?php _e('Name') ?></span>
17
 
18
  <select name="notification[<?php echo $email_key ?>][reply_to_name]" id="reply_to_name_<?php echo $email_key ?>" onchange="frmCheckCustomEmail(this.value,'reply_to_name',<?php echo $email_key ?>)">
19
  <option value=""><?php echo FrmAppHelper::truncate(get_option('blogname'), 80); ?></option>
62
  </select>
63
 
64
  <div id="frm_cust_reply_container_<?php echo $email_key ?>" <?php echo ($notification['reply_to_name'] == 'custom' or $notification['reply_to'] == 'custom') ? '' : 'style="display:none"'; ?>>
65
+ <span class="howto" style="visibility:hidden;"><?php _e('Name') ?></span>
66
+ <input type="text" name="notification[<?php echo $email_key ?>][cust_reply_to_name]" value="<?php echo esc_attr($notification['cust_reply_to_name']) ?>" id="cust_reply_to_name_<?php echo $email_key ?>" title="<?php _e('Name') ?>" <?php echo ($notification['reply_to_name'] == 'custom') ? '' : 'style="visibility:hidden;"'; ?> />
67
  <span class="howto" style="visibility:hidden;"><?php _e('Email', 'formidable') ?></span>
68
  <input type="text" name="notification[<?php echo $email_key ?>][cust_reply_to]" value="<?php echo esc_attr($notification['cust_reply_to']) ?>" id="cust_reply_to_<?php echo $email_key ?>" title="<?php _e('Email Address', 'formidable') ?>" <?php echo ($notification['reply_to'] == 'custom') ? '' : 'style="visibility:hidden;"'; ?> />
69
  </div>
71
  </tr>
72
 
73
  <tr>
74
+ <td colspan="2"><label><?php _e('Email Recipients', 'formidable') ?></label> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e('To send to multiple addresses, separate each address with a comma. You can use [admin_email] to dynamically use the address on your WordPress General Settings page. &lt;br/&gt;PRO only: Leave blank if you do not want email notifications for this form.', 'formidable') ?>"></span>
75
+ <input type="text" name="notification[<?php echo $email_key ?>][email_to]" value="<?php echo esc_attr($notification['email_to']); ?>" class="frm_not_email_to frm_long_input" id="email_to_<?php echo $email_key ?>" />
76
+
77
+ <p><label><?php _e('Subject', 'formidable') ?></label> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php echo esc_attr(sprintf(__('If you leave the subject blank, the default will be used: %1$s Form submitted on %2$s', 'formidable'), $form->name, get_option('blogname'))); ?>"></span><br/>
78
+ <input type="text" name="notification[<?php echo $email_key ?>][email_subject]" class="frm_not_email_subject frm_long_input" id="email_subject_<?php echo $email_key ?>" size="55" value="<?php echo esc_attr($notification['email_subject']); ?>" /></p>
79
+
80
+ <p><label><?php _e('Message', 'formidable') ?> </label><br/>
81
+ <textarea name="notification[<?php echo $email_key ?>][email_message]" class="frm_not_email_message frm_long_input" id="email_message_<?php echo $email_key ?>" cols="50" rows="5"><?php echo FrmAppHelper::esc_textarea($notification['email_message']) ?></textarea></p>
82
+
83
+ <h4><?php _e('Options', 'formidable') ?> </h4>
84
+ <label for="inc_user_info_<?php echo $email_key ?>"><input type="checkbox" name="notification[<?php echo $email_key ?>][inc_user_info]" class="frm_not_inc_user_info" id="inc_user_info_<?php echo $email_key ?>" value="1" <?php checked($notification['inc_user_info'], 1); ?> /> <?php _e('Append IP Address, Browser, and Referring URL to message', 'formidable') ?></label>
85
+
86
+ <p><label for="plain_text_<?php echo $email_key ?>"><input type="checkbox" name="notification[<?php echo $email_key ?>][plain_text]" id="plain_text_<?php echo $email_key ?>" value="1" <?php checked($notification['plain_text'], 1); ?> /> <?php _e('Send Emails in Plain Text', 'formidable') ?></label></p>
87
+ <?php
88
+ if(!$frm_vars['pro_is_installed'])
89
+ FrmAppController::update_message('send autoresponders or conditionally send email notifications');
90
+
91
+ do_action('frm_additional_form_notification_options', $values, compact('notification', 'email_key')); ?>
92
  </td></tr>
 
 
93
  </table>
94
  </div>
classes/views/frm-forms/settings.php CHANGED
@@ -1,35 +1,28 @@
1
  <div id="form_settings_page" class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php _e('Edit Form', 'formidable') ?>
4
- <a href="?page=formidable-new" class="button add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
5
  </h2>
6
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php');
7
-
 
8
  if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
9
  <div id="poststuff" class="metabox-holder has-right-sidebar">
10
  <?php
11
- require(FRM_VIEWS_PATH .'/frm-forms/sidebar-settings.php');
12
  }else{ ?>
13
  <div id="poststuff">
14
  <?php } ?>
15
 
16
  <div id="post-body" class="metabox-holder columns-2">
17
  <div id="post-body-content">
18
- <div class="alignleft">
19
- <?php FrmAppController::get_form_nav($id, true); ?>
20
- </div>
21
-
22
- <form method="post">
23
- <p style="clear:left;">
24
  <input type="submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
25
  <?php _e('or', 'formidable') ?>
26
  <a class="button-secondary cancel" href="<?php echo esc_url(admin_url('admin.php?page=formidable') . '&frm_action=edit&id='. $id) ?>"><?php _e('Cancel', 'formidable') ?></a>
27
- <span style="margin-left:8px;">
28
- <?php FrmFormsHelper::forms_dropdown('frm_switcher', '', __('Switch Form', 'formidable'), false, "frmAddNewForm(this.value,'settings')"); ?>
29
- </span>
30
- <?php if($frmpro_is_installed and function_exists('icl_t')){ ?>
31
- <a href="<?php echo esc_url(admin_url('admin.php?page=formidable') .'&frm_action=translate&id='. $id) ?>" class="button-secondary"><?php _e('Translate Form', 'formidable') ?></a>
32
- <?php } ?>
33
  </p>
34
 
35
  <div class="clear"></div>
@@ -41,69 +34,66 @@
41
  <div class="meta-box-sortables">
42
  <div class="categorydiv postbox">
43
  <h3 class="hndle"><span><?php echo FrmAppHelper::truncate($values['name'], 40) .' '. __('Settings', 'formidable') ?></span></h3>
44
- <div class="inside">
 
 
45
  <div class="contextual-help-tabs">
46
- <ul class="frm-category-tabs <?php if(version_compare( $GLOBALS['wp_version'], '3.3.0', '<')) echo 'category-tabs" id="category-tabs'; ?> frm-form-setting-tabs">
47
- <li class="tabs active"><a onclick="frmSettingsTab(jQuery(this),'advanced');"><?php _e('General', 'formidable') ?></a></li>
48
- <li><a href="#notification_settings"><?php _e('Emails', 'formidable') ?></a></li>
49
- <li><a href="#html_settings"><?php _e('Customize HTML', 'formidable') ?></a></li>
50
- <li><a href="#post_settings"><?php _e('Create Posts', 'formidable') ?></a></li>
 
51
  <?php foreach($sections as $sec_name => $section){ ?>
52
- <li><a onclick="frmSettingsTab(jQuery(this),'<?php echo $sec_name ?>');"><?php echo ucfirst($sec_name) ?></a></li>
53
  <?php } ?>
54
  </ul>
55
  </div>
56
- <div style="display:block;" class="advanced_settings tabs-panel">
57
- <table class="form-table">
58
- <tr>
59
- <td><label><?php _e('Form Key', 'formidable') ?></label></td>
60
- <td><input type="text" name="form_key" value="<?php echo esc_attr($values['form_key']); ?>" /></td>
61
  </tr>
62
 
63
- <tr><td><label><?php _e('Submit Button Text', 'formidable') ?></label></td>
64
- <td><input type="text" name="options[submit_value]" value="<?php echo esc_attr($values['submit_value']); ?>" /></td>
65
  </tr>
66
 
67
- <tr><td colspan="2"><input type="checkbox" name="options[custom_style]" id="custom_style" <?php echo ($values['custom_style']) ? ' checked="checked"' : ''; ?> value="1" />
68
- <label for="custom_style"><?php _e('Use Formidable styling for this form', 'formidable') ?></label></td>
69
- </tr>
70
-
71
- <tr><td valign="top" colspan="2"><label><?php _e('Action After Form Submission', 'formidable') ?></label><br/>
72
- <?php if(!$frmpro_is_installed){ ?>
73
- <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('You must upgrade to Formidable Pro to get access to the second two options.', 'formidable') ?>" />
74
- <?php } ?>
75
 
76
- <input type="radio" name="options[success_action]" id="success_action_message" value="message" <?php checked($values['success_action'], 'message') ?> /> <label for="success_action_message"><?php _e('Display a Message', 'formidable') ?></label>
77
- <input type="radio" name="options[success_action]" id="success_action_page" value="page" <?php checked($values['success_action'], 'page') ?> <?php if(!$frmpro_is_installed) echo 'disabled="disabled" '; ?>/> <label for="success_action_page" <?php echo $pro_feature ?>><?php _e('Display content from another page', 'formidable') ?></label>
78
- <input type="radio" name="options[success_action]" id="success_action_redirect" value="redirect" <?php checked($values['success_action'], 'redirect') ?> <?php if(!$frmpro_is_installed) echo 'disabled="disabled" '; ?>/> <label for="success_action_redirect" <?php echo $pro_feature ?>><?php _e('Redirect to URL', 'formidable') ?></label>
79
- </td>
80
- </tr>
81
-
82
- <tr class="success_action_redirect_box success_action_box" <?php echo ($values['success_action'] == 'redirect') ? '' : 'style="display:none;"'; ?>><td valign="top" colspan="2">
83
- <input type="text" name="options[success_url]" id="success_url" value="<?php if(isset($values['success_url'])) echo esc_attr($values['success_url']); ?>" style="width:98%" placeholder="http://example.com" /></td>
84
- </tr>
85
-
86
- <tr class="success_action_message_box success_action_box" <?php echo ($values['success_action'] == 'message') ? '' : 'style="display:none;"'; ?>><td valign="top" colspan="2"><label><?php _e('Confirmation Message', 'formidable') ?></label>
87
- <textarea id="success_msg" name="options[success_msg]" cols="50" rows="3" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea($values['success_msg']); ?></textarea> <br/>
88
- <div class="frm_show_form_opt">
89
- <input type="checkbox" name="options[show_form]" id="show_form" value="1" <?php checked($values['show_form'], 1) ?> /> <label for="show_form"><?php _e('Show the form with the success message.', 'formidable')?></label>
90
- </div>
91
- <td>
92
- </tr>
93
- <?php if($frmpro_is_installed){ ?>
94
- <tr class="success_action_page_box success_action_box" <?php echo ($values['success_action'] == 'page') ? '' : 'style="display:none;"'; ?>><td><label><?php _e('Use Content from Page', 'formidable') ?></label></td>
95
- <td>
96
- <?php FrmAppHelper::wp_pages_dropdown( 'options[success_page_id]', $values['success_page_id'] ) ?>
97
  </td>
98
  </tr>
99
- <?php } ?>
100
 
101
- <tr><td colspan="2"><input type="checkbox" name="options[ajax_load]" id="ajax_load" value="1"<?php echo ($values['ajax_load']) ? ' checked="checked"' : ''; ?> /> <label for="ajax_load"><?php _e('Load and save form builder page with AJAX', 'formidable') ?></label><img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('Recommended for long forms.', 'formidable') ?>" /></td></tr>
102
 
103
 
104
  <?php do_action('frm_additional_form_options', $values); ?>
105
 
106
- <tr><td colspan="2"><input type="checkbox" name="options[no_save]" id="no_save" value="1" <?php checked($values['no_save'], 1); ?> /> <?php _e('Do not store any entries submitted from this form.', 'formidable') ?> <span class="howto"><?php _e('Warning: There is no way to retrieve unsaved entries.', 'formidable') ?></span></td></tr>
107
 
108
  <?php if (function_exists( 'akismet_http_post' )){ ?>
109
  <tr><td colspan="2"><?php _e('Use Akismet to check entries for spam for', 'formidable') ?>
@@ -121,22 +111,22 @@
121
  <?php
122
  $first_email = true;
123
  foreach($values['notification'] as $email_key => $notification){
124
- include(FRM_VIEWS_PATH .'/frm-forms/notification.php');
125
  unset($email_key);
126
  unset($notification);
127
  $first_email = false;
128
  }
129
- if($frmpro_is_installed){ ?>
130
- <div id="frm_email_add_button" class="notification_settings hide_with_tabs" style="display:none;margin-top:10px;margin-left:150px;">
131
  <a href="javascript:frmAddEmailList(<?php echo $values['id'] ?>)" class="button-secondary">+ <?php _e('Add Notification', 'formidable') ?></a></td>
132
  </div>
133
  <?php } ?>
134
 
135
- <div id="html_settings" class="tabs-panel" style="display:none;">
136
 
137
  <div id="post-body-content" class="frm_top_container" style="margin-right:260px;">
138
  <p><label class="frm_primary_label"><?php _e('Before Fields', 'formidable') ?></label>
139
- <textarea name="options[before_html]" rows="4" id="before_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea(stripslashes($values['before_html'])) ?></textarea></p>
140
 
141
  <div id="add_html_fields">
142
  <?php
@@ -144,7 +134,7 @@
144
  foreach($values['fields'] as $field){
145
  if (apply_filters('frm_show_custom_html', true, $field['type'])){ ?>
146
  <p><label class="frm_primary_label"><?php echo $field['name'] ?></label>
147
- <textarea name="field_options[custom_html_<?php echo $field['id'] ?>]" rows="7" id="custom_html_<?php echo $field['id'] ?>" class="field_custom_html frm_long_input"><?php echo FrmAppHelper::esc_textarea(stripslashes($field['custom_html'])) ?></textarea></p>
148
  <?php }
149
  unset($field);
150
  }
@@ -152,33 +142,36 @@
152
  </div>
153
 
154
  <p><label class="frm_primary_label"><?php _e('After Fields', 'formidable') ?></label>
155
- <textarea name="options[after_html]" rows="3" id="after_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea(stripslashes($values['after_html'])) ?></textarea></p>
156
 
157
  <p><label class="frm_primary_label"><?php _e('Submit Button', 'formidable') ?></label>
158
- <textarea name="options[submit_html]" rows="3" id="submit_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea(stripslashes($values['submit_html'])) ?></textarea></p>
159
  </div>
160
  </div>
161
- <div id="post_settings" class="tabs-panel" style="display:none;">
162
- <?php if($frmpro_is_installed)
163
  FrmProFormsController::post_options($values);
164
  else
165
  FrmAppController::update_message('create and edit posts, pages, and custom post types through your forms');
166
  ?>
167
  </div>
168
 
169
- <?php foreach($sections as $sec_name => $section){
 
170
  if(isset($section['class'])){
171
  call_user_func(array($section['class'], $section['function']), $values);
172
  }else{
173
  call_user_func((isset($section['function']) ? $section['function'] : $section), $values);
174
- }
175
- } ?>
 
176
 
177
  <?php do_action('frm_add_form_option_section', $values); ?>
178
  <div class="clear"></div>
179
  </div>
180
  </div>
181
  </div>
 
182
  </div>
183
 
184
  </div>
@@ -194,11 +187,8 @@
194
  </div>
195
  <?php
196
  if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
197
- require(FRM_VIEWS_PATH .'/frm-forms/sidebar-settings.php');
198
  ?>
199
  </div>
200
  </div>
201
  </div>
202
- <script type="text/javascript">
203
- __FRMURL='<?php echo admin_url("admin-ajax.php") ?>';
204
- </script>
1
  <div id="form_settings_page" class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php _e('Settings', 'formidable') ?>
4
+ <a href="#" class="add-new-h2" style="visibility:hidden;"></a>
5
  </h2>
6
+ <?php FrmAppController::get_form_nav($id, true);
7
+ require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php');
8
+
9
  if(version_compare( $GLOBALS['wp_version'], '3.3.3', '<')){ ?>
10
  <div id="poststuff" class="metabox-holder has-right-sidebar">
11
  <?php
12
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/sidebar-settings.php');
13
  }else{ ?>
14
  <div id="poststuff">
15
  <?php } ?>
16
 
17
  <div id="post-body" class="metabox-holder columns-2">
18
  <div id="post-body-content">
19
+
20
+ <form method="post" class="frm_form_settings">
21
+ <p style="clear:left; margin-top:0;">
 
 
 
22
  <input type="submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
23
  <?php _e('or', 'formidable') ?>
24
  <a class="button-secondary cancel" href="<?php echo esc_url(admin_url('admin.php?page=formidable') . '&frm_action=edit&id='. $id) ?>"><?php _e('Cancel', 'formidable') ?></a>
25
+ <?php do_action('frm_settings_buttons', $values); ?>
 
 
 
 
 
26
  </p>
27
 
28
  <div class="clear"></div>
34
  <div class="meta-box-sortables">
35
  <div class="categorydiv postbox">
36
  <h3 class="hndle"><span><?php echo FrmAppHelper::truncate($values['name'], 40) .' '. __('Settings', 'formidable') ?></span></h3>
37
+ <div class="inside frm-help-tabs">
38
+ <div id="contextual-help-back"></div>
39
+ <div id="contextual-help-columns">
40
  <div class="contextual-help-tabs">
41
+ <ul class="frm-category-tabs frm-form-setting-tabs">
42
+ <?php $a = isset($_GET['t']) ? $_GET['t'] : 'advanced_settings'; ?>
43
+ <li <?php echo ($a == 'advanced_settings') ? 'class="tabs active"' : '' ?>><a href="#advanced_settings"><?php _e('General', 'formidable') ?></a></li>
44
+ <li <?php echo ($a == 'notification_settings') ? 'class="tabs active"' : '' ?>><a href="#notification_settings"><?php _e('Emails', 'formidable') ?></a></li>
45
+ <li <?php echo ($a == 'html_settings') ? 'class="tabs active"' : '' ?>><a href="#html_settings"><?php _e('Customize HTML', 'formidable') ?></a></li>
46
+ <li <?php echo ($a == 'post_settings') ? 'class="tabs active"' : '' ?>><a href="#post_settings"><?php _e('Create Posts', 'formidable') ?></a></li>
47
  <?php foreach($sections as $sec_name => $section){ ?>
48
+ <li <?php echo ($a == $sec_name .'_settings') ? 'class="tabs active"' : '' ?>><a href="#<?php echo $sec_name ?>_settings"><?php echo ucfirst($sec_name) ?></a></li>
49
  <?php } ?>
50
  </ul>
51
  </div>
52
+ <div style="display:<?php echo ($a == 'advanced_settings') ? 'block' : 'none'; ?>;" class="advanced_settings tabs-panel">
53
+ <table class="form-table">
54
+ <tr><td colspan="2"><label for="custom_style"><input type="checkbox" name="options[custom_style]" id="custom_style" <?php echo ($values['custom_style']) ? ' checked="checked"' : ''; ?> value="1" />
55
+ <?php _e('Use Formidable styling for this form', 'formidable') ?></label></td>
 
56
  </tr>
57
 
58
+ <tr><td colspan="2"><label class="frm_left_label"><?php _e('Submit Button Text', 'formidable') ?></label>
59
+ <input type="text" name="options[submit_value]" value="<?php echo esc_attr($values['submit_value']); ?>" /></td>
60
  </tr>
61
 
62
+ <tr><td colspan="2"><label><?php _e('Action After Form Submission', 'formidable') ?></label>
63
+ <?php if(!$frm_vars['pro_is_installed']){ ?>
64
+ <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('You must upgrade to Formidable Pro to get access to the second two options.', 'formidable') ?>" ></span>
65
+ <?php } ?><br/>
 
 
 
 
66
 
67
+ <label for="success_action_message"><input type="radio" name="options[success_action]" id="success_action_message" value="message" <?php checked($values['success_action'], 'message') ?> /> <?php _e('Display a Message', 'formidable') ?></label>
68
+ <label for="success_action_page" <?php echo $pro_feature ?>><input type="radio" name="options[success_action]" id="success_action_page" value="page" <?php checked($values['success_action'], 'page') ?> <?php if(!$frm_vars['pro_is_installed']) echo 'disabled="disabled" '; ?>/> <?php _e('Display content from another page', 'formidable') ?></label>
69
+ <label for="success_action_redirect" <?php echo $pro_feature ?>><input type="radio" name="options[success_action]" id="success_action_redirect" value="redirect" <?php checked($values['success_action'], 'redirect') ?> <?php if(!$frm_vars['pro_is_installed']) echo 'disabled="disabled" '; ?>/> <?php _e('Redirect to URL', 'formidable') ?></label>
70
+
71
+ <p class="frm_indent_opt success_action_redirect_box success_action_box" <?php echo ($values['success_action'] == 'redirect') ? '' : 'style="display:none;"'; ?>>
72
+ <input type="text" name="options[success_url]" id="success_url" value="<?php if(isset($values['success_url'])) echo esc_attr($values['success_url']); ?>" style="width:98%" placeholder="http://example.com" />
73
+ </p>
74
+
75
+ <div class="frm_indent_opt success_action_message_box success_action_box" <?php echo ($values['success_action'] == 'message') ? '' : 'style="display:none;"'; ?>>
76
+ <p><textarea id="success_msg" name="options[success_msg]" cols="50" rows="2" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea($values['success_msg']); ?></textarea></p>
77
+ <p class="frm_show_form_opt">
78
+ <label for="show_form"><input type="checkbox" name="options[show_form]" id="show_form" value="1" <?php checked($values['show_form'], 1) ?> /> <?php _e('Show the form with the confirmation message', 'formidable')?></label>
79
+ </p>
80
+ </div>
81
+
82
+ <?php if($frm_vars['pro_is_installed']){ ?>
83
+ <p class="frm_indent_opt success_action_page_box success_action_box" <?php echo ($values['success_action'] == 'page') ? '' : 'style="display:none;"'; ?>>
84
+ <label><?php _e('Use Content from Page', 'formidable') ?></label>
85
+ <?php FrmAppHelper::wp_pages_dropdown( 'options[success_page_id]', $values['success_page_id'] ) ?>
86
+ </p>
87
+ <?php } ?>
88
  </td>
89
  </tr>
 
90
 
91
+ <tr><td colspan="2"><label for="ajax_load"><input type="checkbox" name="options[ajax_load]" id="ajax_load" value="1"<?php echo ($values['ajax_load']) ? ' checked="checked"' : ''; ?> /> <?php _e('Load and save form builder page with AJAX', 'formidable') ?></label> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('Recommended for long forms.', 'formidable') ?>" ></span></td></tr>
92
 
93
 
94
  <?php do_action('frm_additional_form_options', $values); ?>
95
 
96
+ <tr><td colspan="2"><label for="no_save"><input type="checkbox" name="options[no_save]" id="no_save" value="1" <?php checked($values['no_save'], 1); ?> /> <?php _e('Do not store any entries submitted from this form.', 'formidable') ?> <span class="howto"><?php _e('Warning: There is no way to retrieve unsaved entries.', 'formidable') ?></span></label></td></tr>
97
 
98
  <?php if (function_exists( 'akismet_http_post' )){ ?>
99
  <tr><td colspan="2"><?php _e('Use Akismet to check entries for spam for', 'formidable') ?>
111
  <?php
112
  $first_email = true;
113
  foreach($values['notification'] as $email_key => $notification){
114
+ include(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/notification.php');
115
  unset($email_key);
116
  unset($notification);
117
  $first_email = false;
118
  }
119
+ if($frm_vars['pro_is_installed']){ ?>
120
+ <div id="frm_email_add_button" class="notification_settings hide_with_tabs submit" style="display:<?php echo ($a == 'notification_settings') ? 'block' : 'none'; ?>;">
121
  <a href="javascript:frmAddEmailList(<?php echo $values['id'] ?>)" class="button-secondary">+ <?php _e('Add Notification', 'formidable') ?></a></td>
122
  </div>
123
  <?php } ?>
124
 
125
+ <div id="html_settings" class="tabs-panel" style="display:<?php echo ($a == 'html_settings') ? 'block' : 'none'; ?>;">
126
 
127
  <div id="post-body-content" class="frm_top_container" style="margin-right:260px;">
128
  <p><label class="frm_primary_label"><?php _e('Before Fields', 'formidable') ?></label>
129
+ <textarea name="options[before_html]" rows="4" id="before_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea($values['before_html']) ?></textarea></p>
130
 
131
  <div id="add_html_fields">
132
  <?php
134
  foreach($values['fields'] as $field){
135
  if (apply_filters('frm_show_custom_html', true, $field['type'])){ ?>
136
  <p><label class="frm_primary_label"><?php echo $field['name'] ?></label>
137
+ <textarea name="field_options[custom_html_<?php echo $field['id'] ?>]" rows="7" id="custom_html_<?php echo $field['id'] ?>" class="field_custom_html frm_long_input"><?php echo FrmAppHelper::esc_textarea($field['custom_html']) ?></textarea></p>
138
  <?php }
139
  unset($field);
140
  }
142
  </div>
143
 
144
  <p><label class="frm_primary_label"><?php _e('After Fields', 'formidable') ?></label>
145
+ <textarea name="options[after_html]" rows="3" id="after_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea($values['after_html']) ?></textarea></p>
146
 
147
  <p><label class="frm_primary_label"><?php _e('Submit Button', 'formidable') ?></label>
148
+ <textarea name="options[submit_html]" rows="3" id="submit_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea($values['submit_html']) ?></textarea></p>
149
  </div>
150
  </div>
151
+ <div id="post_settings" class="tabs-panel" style="display:<?php echo ($a == 'post_settings') ? 'block' : 'none'; ?>;">
152
+ <?php if($frm_vars['pro_is_installed'])
153
  FrmProFormsController::post_options($values);
154
  else
155
  FrmAppController::update_message('create and edit posts, pages, and custom post types through your forms');
156
  ?>
157
  </div>
158
 
159
+ <?php foreach($sections as $sec_name => $section){ ?>
160
+ <div id="<?php echo $sec_name ?>_settings" class="tabs-panel" style="display:<?php echo ($a == $sec_name .'_settings') ? 'block' : 'none'; ?>;"><?php
161
  if(isset($section['class'])){
162
  call_user_func(array($section['class'], $section['function']), $values);
163
  }else{
164
  call_user_func((isset($section['function']) ? $section['function'] : $section), $values);
165
+ } ?>
166
+ </div>
167
+ <?php } ?>
168
 
169
  <?php do_action('frm_add_form_option_section', $values); ?>
170
  <div class="clear"></div>
171
  </div>
172
  </div>
173
  </div>
174
+ </div>
175
  </div>
176
 
177
  </div>
187
  </div>
188
  <?php
189
  if(version_compare( $GLOBALS['wp_version'], '3.3.2', '>'))
190
+ require(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/sidebar-settings.php');
191
  ?>
192
  </div>
193
  </div>
194
  </div>
 
 
 
classes/views/frm-forms/sidebar-settings.php CHANGED
@@ -1,22 +1,25 @@
1
  <div id="postbox-container-1" class="<?php echo FrmAppController::get_postbox_class(); ?>">
2
  <?php if(!isset($hide_preview) or !$hide_preview){
3
  if (!$values['is_template']){ ?>
4
- <p class="howto" style="margin-top:0;"><?php _e('Insert into a post, page or text widget', 'formidable') ?>
5
- <a href="http://formidablepro.com/knowledgebase/publish-your-forms/" target="_blank"><img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('Key and id are generally synonymous. For more information on using this shortcode, click now.', 'formidable') ?>" /></a>
6
- <a href="#" onclick="frmToggleDiv('.frm_ext_sc')"><?php _e('Show more', 'formidable') ?></a>
7
- <input type="text" style="text-align:center;font-weight:bold;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="[formidable id=<?php echo $id; ?>]" />
8
  <span class="frm_ext_sc">
9
- <input type="text" style="text-align:center;font-weight:bold;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="[formidable id=<?php echo $id; ?> title=true description=true]" />
10
- <input type="text" style="text-align:center;font-weight:bold;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="[formidable key=<?php echo $values['form_key']; ?>]" /><br/>
11
 
12
  <?php _e('Insert in a template', 'formidable') ?>
13
- <input type="text" style="font-size:10px;width:100%;text-align:center;" readonly="true" onclick="this.select();" onfocus="this.select();" value="&lt;?php echo FrmAppController::get_form_shortcode(array('id' => <?php echo $id; ?>, 'title' => false, 'description' => false)); ?&gt;" />
 
 
 
14
  </span>
15
  </p>
16
  </tr>
17
  <?php } ?>
18
 
19
- <p class="frm_orange"><a href="<?php echo FrmFormsHelper::get_direct_link($values['form_key']); ?>" target="_blank"><?php _e('Preview', 'formidable') ?></a>
20
  <?php global $frm_settings;
21
  if ($frm_settings->preview_page_id > 0){ ?>
22
  <?php _e('or', 'formidable') ?>
@@ -26,5 +29,5 @@
26
  <?php
27
  } ?>
28
 
29
- <?php include(FRM_VIEWS_PATH .'/frm-forms/mb_insert_fields.php') ?>
30
  </div>
1
  <div id="postbox-container-1" class="<?php echo FrmAppController::get_postbox_class(); ?>">
2
  <?php if(!isset($hide_preview) or !$hide_preview){
3
  if (!$values['is_template']){ ?>
4
+ <p class="howto" style="margin-top:0;"><?php _e('Add to a post, page or text widget', 'formidable') ?>
5
+ <a href="http://formidablepro.com/knowledgebase/publish-your-forms/" target="_blank" class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('Key and id are generally synonymous. For more information on using this shortcode, click now.', 'formidable') ?>" ></a>
6
+ <a href="javascript:void(0)" data-toggle=".frm_ext_sc"><?php _e('Show more', 'formidable') ?></a>
7
+ <input type="text" readonly="true" class="frm_select_box" value="[formidable id=<?php echo $id; ?>]" />
8
  <span class="frm_ext_sc">
9
+ <input type="text" readonly="true" class="frm_select_box" value="[formidable id=<?php echo $id; ?> title=true description=true]" />
10
+ <input type="text" readonly="true" class="frm_select_box" value="[formidable key=<?php echo $values['form_key']; ?>]" /><br/>
11
 
12
  <?php _e('Insert in a template', 'formidable') ?>
13
+ <input type="text" readonly="true" class="frm_select_box" value="&lt;?php echo FrmFormsController::get_form_shortcode(array('id' => <?php echo $id; ?>, 'title' => false, 'description' => false)); ?&gt;" /><br/>
14
+
15
+ <?php _e('Direct Link', 'formidable') ?>
16
+ <input type="text" readonly="true" class="frm_select_box" value="<?php echo esc_attr(FrmFormsHelper::get_direct_link($values['form_key'])) ?>" />
17
  </span>
18
  </p>
19
  </tr>
20
  <?php } ?>
21
 
22
+ <p class="frm_orange"><a href="<?php echo FrmFormsHelper::get_direct_link($values['form_key']); ?>" target="_blank"><?php _e('Preview Form', 'formidable') ?></a>
23
  <?php global $frm_settings;
24
  if ($frm_settings->preview_page_id > 0){ ?>
25
  <?php _e('or', 'formidable') ?>
29
  <?php
30
  } ?>
31
 
32
+ <?php include(FrmAppHelper::plugin_path() .'/classes/views/frm-forms/mb_insert_fields.php') ?>
33
  </div>
classes/views/frm-forms/translate.php DELETED
@@ -1,62 +0,0 @@
1
- <div id="form_settings_page" class="wrap">
2
- <div class="frmicon icon32"><br/></div>
3
- <h2><?php _e('Translate Form', 'formidable') ?>
4
- <a href="?page=formidable-new" class="button add-new-h2"><?php _e('Add New', 'formidable'); ?></a>
5
- </h2>
6
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
7
- <div class="alignright">
8
- <div id="postbox-container-1">
9
- <?php if(!isset($hide_preview) or !$hide_preview){
10
- if (!$values['is_template']){ ?>
11
- <p class="howto" style="margin-top:0;"><?php _e('Insert into a post, page or text widget', 'formidable') ?>
12
- <input type="text" style="text-align:center;font-weight:bold;width:100%;" readonly="true" onclick="this.select();" onfocus="this.select();" value="[formidable id=<?php echo $id; ?>]" /></p>
13
- <?php } ?>
14
-
15
- <p class="frm_orange"><a href="<?php echo FrmFormsHelper::get_direct_link($values['form_key']); ?>" target="_blank"><?php _e('Preview', 'formidable') ?></a>
16
- <?php global $frm_settings;
17
- if ($frm_settings->preview_page_id > 0){ ?>
18
- <?php _e('or', 'formidable') ?>
19
- <a href="<?php echo add_query_arg('form', $values['form_key'], get_permalink($frm_settings->preview_page_id)) ?>" target="_blank"><?php _e('Preview in Current Theme', 'formidable') ?></a>
20
- <?php } ?>
21
- </p>
22
- <?php
23
- } ?>
24
- </div>
25
- </div>
26
- <div class="alignleft">
27
- <?php FrmAppController::get_form_nav($id, true); ?>
28
- </div>
29
-
30
- <form method="post">
31
- <p style="clear:left;">
32
- <input type="submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
33
- <?php _e('or', 'formidable') ?>
34
- <a class="button-secondary cancel" href="<?php echo admin_url('admin.php?page=formidable') ?>&amp;frm_action=settings&amp;id=<?php echo $id ?>"><?php _e('Cancel', 'formidable') ?></a>
35
- <span style="margin-left:8px;">
36
- <?php FrmFormsHelper::forms_dropdown('frm_switcher', '', __('Switch Form', 'formidable'), false, "frmAddNewForm(this.value,'translate')"); ?>
37
- </span>
38
- </p>
39
-
40
- <div class="clear"></div>
41
-
42
- <div id="poststuff" class="metabox-holder">
43
- <div id="post-body">
44
-
45
- <?php if(!$frmpro_is_installed){ ?>
46
- <p><?php _e('Go to the WPML String translation page to translate this form. The pro version also provides an easier interface for translations.', 'formidable') ?></p>
47
- <a href="<?php echo admin_url('admin.php?page=wpml-string-translation%2Fmenu%2Fstring-translation.php&context=formidable') ?>" class="button-secondary"><?php _e('Translate now', 'formidable') ?></a>
48
- <?php } ?>
49
-
50
- <?php do_action('frm_translation_page', $form, $action); ?>
51
-
52
- </div>
53
-
54
- </div>
55
- <p>
56
- <input type="submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
57
- <?php _e('or', 'formidable') ?>
58
- <a class="button-secondary cancel" href="<?php echo admin_url('admin.php?page=formidable') ?>&amp;frm_action=settings&amp;id=<?php echo $id ?>"><?php _e('Cancel', 'formidable') ?></a>
59
- </p>
60
- </form>
61
-
62
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/views/frm-settings/form.php CHANGED
@@ -1,231 +1,155 @@
1
- <div class="wrap">
2
- <div id="icon-options-general" class="icon32"><br/></div>
3
- <h2><?php _e('Form Settings', 'formidable'); ?></h2>
4
 
5
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <div id="poststuff" class="metabox-holder">
8
  <div id="post-body">
9
  <div class="meta-box-sortables">
10
  <div class="categorydiv postbox">
11
  <h3 class="hndle"><span><?php _e('Global Settings', 'formidable') ?></span></h3>
12
- <div class="inside">
 
 
13
  <div class="contextual-help-tabs">
14
- <ul class="frm-category-tabs <?php if(version_compare( $GLOBALS['wp_version'], '3.3.0', '<')) echo 'category-tabs id="category-tabs'; ?>">
15
- <li class="tabs active"><a href="#general_settings" style="cursor:pointer"><?php _e('General', 'formidable') ?></a></li>
16
- <li><a href="#styling_settings" style="cursor:pointer"><?php _e('Form Styling', 'formidable') ?></a></li>
17
  <?php foreach($sections as $sec_name => $section){ ?>
18
- <li><a href="#<?php echo $sec_name ?>_settings"><?php echo ucfirst($sec_name) ?></a></li>
19
  <?php } ?>
20
  </ul>
21
  </div>
22
-
23
- <?php if (IS_WPMU and !FrmAppHelper::is_super_admin() and get_site_option($frm_update->pro_wpmu_store)){ ?>
24
- <div class="general_settings metabox-holder tabs-panel" style="min-height:0px;border-bottom:none;padding:0;">
25
- <?php }else{ ?>
26
- <div class="general_settings metabox-holder tabs-panel" style="min-height:0px;border-bottom:none;">
27
- <div class="postbox">
28
- <h3 class="hndle"><div id="icon-ms-admin" class="icon32 frm_postbox_icon"><br/></div> <?php _e('Formidable Pro Account Information', 'formidable')?></h3>
29
- <div class="inside">
30
- <?php
31
- $upd = new FrmUpdatesController();
32
- $upd->pro_cred_form(); ?>
33
- </div>
34
- </div>
35
- <?php } ?>
36
- </div>
37
 
38
- <form name="frm_settings_form" method="post" class="frm_settings_form">
39
  <input type="hidden" name="frm_action" value="process-form" />
40
  <input type="hidden" name="action" value="process-form" />
41
- <?php wp_nonce_field('update-options'); ?>
42
-
43
- <div class="general_settings tabs-panel" style="border-top:none;">
44
- <table class="form-table">
45
- <tr><td colspan="2">
46
- <p class="submit" style="padding:0;">
47
- <input class="button-primary" type="submit" value="<?php _e('Update Options', 'formidable') ?>" />
48
- </p>
49
- </td></tr>
50
- <tr class="form-field">
51
- <td valign="top" width="200px"><?php _e('Admin menu label', 'formidable'); ?> </td>
52
- <td>
53
- <input type="text" name="frm_menu" id="frm_menu" value="<?php echo esc_attr($frm_settings->menu) ?>" />
54
- <?php if (IS_WPMU and FrmAppHelper::is_super_admin()){ ?>
55
- <input type="checkbox" name="frm_mu_menu" id="frm_mu_menu" value="1" <?php checked($frm_settings->mu_menu, 1) ?> /> <?php _e('Use this menu name site-wide', 'formidable'); ?>
56
- <?php } ?>
57
- </td>
58
- </tr>
59
- <tr class="form-field">
60
- <td valign="top"><?php _e('Preview Page', 'formidable'); ?> </td>
61
- <td>
62
- <?php FrmAppHelper::wp_pages_dropdown( $frm_settings->preview_page_id_str, $frm_settings->preview_page_id ) ?>
63
- </td>
64
- </tr>
65
 
66
- <tr>
67
- <td valign="top" width="200px"><?php _e('Tracking', 'formidable'); ?> </td>
68
- <td>
69
- <p><input type="checkbox" id="frm_track" name="frm_track" value="1" <?php checked($frm_settings->track, 1) ?>> <?php _e('Track referrer information and pages visited', 'formidable') ?>
70
- </p>
71
- </td>
72
- </tr>
73
 
74
- <tr class="form-field">
75
- <td valign="top"><?php _e('Stylesheets', 'formidable'); ?> </td>
76
- <td>
77
-
78
- <p><?php _e('Load Formidable styling', 'formidable') ?>
79
- <select id="frm_load_style" name="frm_load_style">
80
- <option value="all" <?php selected($frm_settings->load_style, 'all') ?>><?php _e('on every page of your site', 'formidable') ?></option>
81
- <option value="dynamic" <?php selected($frm_settings->load_style, 'dynamic') ?>><?php _e('only on applicable pages', 'formidable') ?></option>
82
- <option value="none" <?php selected($frm_settings->load_style, 'none') ?>><?php _e('Don\'t use Formidable styling on any page', 'formidable') ?></option>
83
- </select>
84
- </p>
85
-
86
- <p><input type="checkbox" id="frm_use_html" name="frm_use_html" value="1" <?php checked($frm_settings->use_html, 1) ?> style="border:none;"> <?php _e('Use HTML5 in forms', 'formidable') ?>
87
- </p>
88
-
89
- <?php if($frmpro_is_installed){ ?>
90
- <p><input type="checkbox" value="1" id="frm_jquery_css" name="frm_jquery_css" <?php checked($frm_settings->jquery_css, 1) ?> style="border:none;" />
91
- <?php _e('Include the jQuery CSS on ALL pages', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The styling for the date field calendar. Some users may be using this css on pages other than just the ones that include a date field.', 'formidable') ?>" /></p>
92
- <?php } ?>
93
- </td>
94
- </tr>
95
 
96
- <tr class="form-field">
97
- <td valign="top"><?php _e('User Permissions', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu.', 'formidable') ?>" /></td>
98
- <td>
99
- <?php foreach($frm_roles as $frm_role => $frm_role_description){ ?>
100
- <label style="width:200px;float:left;text-align:right;padding-right:10px;"><?php echo $frm_role_description ?>:</label> <?php FrmAppHelper::wp_roles_dropdown( $frm_role, $frm_settings->$frm_role ) ?>
101
- <div class="clear"></div>
102
- <?php } ?>
103
-
104
- </td>
105
- </tr>
106
-
107
- <tr class="form-field" valign="top">
108
- <td><?php _e('reCAPTCHA', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot.', 'formidable') ?>" />
109
- </td>
110
- <td>
111
- reCAPTCHA requires an API key, consisting of a "public" and a "private" key. You can sign up for a <a href="https://www.google.com/recaptcha/admin/create">free reCAPTCHA key</a>.
112
- <br/>
113
-
114
- <!-- reCAPTCHA public key -->
115
- <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('Public Key', 'formidable') ?></label>
116
- <input type="text" name="frm_pubkey" id="frm_pubkey" size="42" value="<?php echo esc_attr($frm_settings->pubkey) ?>" />
117
- <br/>
118
- <!-- reCAPTCHA private key -->
119
- <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('Private Key', 'formidable') ?></label>
120
- <input type="text" name="frm_privkey" id="frm_privkey" size="42" value="<?php echo esc_attr($frm_settings->privkey) ?>" />
121
-
122
- </td>
123
- </tr>
124
-
125
- <tr class="form-field" valign="top">
126
- <td></td>
127
- <td>
128
- <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('reCAPTCHA Theme', 'formidable') ?></label>
129
- <select name="frm_re_theme" id="frm_re_theme">
130
- <?php foreach(array('red' => __('Red', 'formidable'), 'white' => __('White', 'formidable'), 'blackglass' => __('Black Glass', 'formidable'), 'clean' => __('Clean', 'formidable')) as $theme_value => $theme_name){ ?>
131
- <option value="<?php echo esc_attr($theme_value) ?>" <?php selected($frm_settings->re_theme, $theme_value) ?>><?php echo $theme_name ?></option>
132
- <?php } ?>
133
- </select><br/>
134
-
135
- <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('reCAPTCHA Language', 'formidable') ?></label>
136
- <select name="frm_re_lang" id="frm_re_lang">
137
- <?php foreach(array('en' => __('English', 'formidable'), 'nl' => __('Dutch', 'formidable'), 'fr' => __('French', 'formidable'), 'de' => __('German', 'formidable'), 'pt' => __('Portuguese', 'formidable'), 'ru' => __('Russian', 'formidable'), 'es' => __('Spanish', 'formidable'), 'tr' => __('Turkish', 'formidable')) as $lang => $lang_name){ ?>
138
- <option value="<?php echo esc_attr($lang) ?>" <?php selected($frm_settings->re_lang, $lang) ?>><?php echo $lang_name ?></option>
139
- <?php } ?>
140
- </select>
141
- </td>
142
- </tr>
143
 
144
- <tr class="form-field">
145
- <td valign="top"><?php _e('Default Messages', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('You can override the success message and submit button settings on individual forms.', 'formidable') ?>" /></td>
146
- <td>
147
- <?php _e('Blank Field', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The message seen when a required field is left blank.', 'formidable') ?>" /><br/>
148
- <input type="text" id="frm_blank_msg" name="frm_blank_msg" class="frm_long_input" value="<?php echo esc_attr($frm_settings->blank_msg) ?>" />
149
- </td>
150
- </tr>
151
 
152
- <tr class="form-field">
153
- <td></td>
154
- <td>
155
- <?php _e('Incorrect Field', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The message seen when a field response is either incorrect or missing.', 'formidable') ?>" /><br/>
156
- <input type="text" id="frm_invalid_msg" name="frm_invalid_msg" class="frm_long_input" value="<?php echo esc_attr($frm_settings->invalid_msg) ?>" />
157
 
158
- <?php if($frmpro_is_installed){ ?>
159
- </td>
160
- </tr>
161
- <tr class="form-field">
162
- <td></td>
163
- <td>
164
- <?php _e('Unique Value', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The message seen when a user selects a value in a unique field that has already been used.', 'formidable') ?>" /><br/>
165
- <input type="text" id="frm_unique_msg" name="frm_unique_msg" class="frm_long_input" value="<?php echo esc_attr($frm_settings->unique_msg) ?>" />
166
- <?php }else{ ?>
167
- <input type="hidden" id="frm_unique_msg" name="frm_unique_msg" value="<?php echo esc_attr($frm_settings->unique_msg) ?>" />
168
- <?php } ?>
169
- </td>
170
- </tr>
171
-
172
- <tr class="form-field">
173
- <td></td>
174
- <td>
175
- <?php _e('Success Message', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The default message seen after a form is submitted.', 'formidable') ?>" /><br/>
176
- <input type="text" id="frm_success_msg" name="frm_success_msg" class="frm_long_input" value="<?php echo esc_attr($frm_settings->success_msg) ?>" />
177
- </td>
178
- </tr>
179
- <tr class="form-field">
180
- <td></td>
181
- <td>
182
- <?php _e('Failed or Duplicate Entry Message', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The message seen when a form is submitted and passes validation, but something goes wrong.', 'formidable') ?>" /><br/>
183
- <input type="text" id="frm_failed_msg" name="frm_failed_msg" class="frm_long_input" value="<?php echo esc_attr($frm_settings->failed_msg) ?>" />
184
- </td>
185
- </tr>
186
-
187
- <tr class="form-field">
188
- <td></td>
189
- <td>
190
- <?php _e('Login Message', 'formidable'); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The message seen when a user who is not logged-in views a form only logged-in users can submit.', 'formidable') ?>" /><br/>
191
- <input type="text" id="frm_login_msg" name="frm_login_msg" class="frm_long_input" value="<?php echo esc_attr($frm_settings->login_msg) ?>" />
192
- </td>
193
- </tr>
194
 
195
- <tr class="form-field">
196
- <td></td>
197
- <td>
198
- <?php _e('Default Submit Button', 'formidable'); ?><br/>
199
- <input type="text" value="<?php echo esc_attr($frm_settings->submit_value) ?>" id="frm_submit_value" name="frm_submit_value" />
200
- </td>
201
- </tr>
202
 
203
- <?php if(!$frmpro_is_installed){ ?>
204
- </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
205
  </div>
206
- <div class="styling_settings tabs-panel" style="display:none;">
207
- <table class="form-table">
208
- <tr><td>
209
- <div class="frm_update_msg">
210
- This plugin version does not give you access to the visual form styler.<br/>
211
- <a href="http://formidablepro.com/pricing/" target="_blank">Compare</a> our plans to see about upgrading to Pro. Or enter your account information <a href ="<?php echo admin_url('admin.php') ?>?page=formidable-settings">here</a>.
212
- </div>
213
- <img src="http://fp.strategy11.com/wp-content/themes/formidablepro/images/form_style_thumb.png" alt="Style Forms"/>
214
- </td></tr>
215
- <?php } ?>
216
 
217
- <?php do_action('frm_settings_form', $frm_settings); ?>
 
 
 
 
218
 
219
- </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221
 
222
- <?php foreach($sections as $sec_name => $section){
 
 
 
223
  if(isset($section['class'])){
224
  call_user_func(array($section['class'], $section['function']));
225
  }else{
226
  call_user_func((isset($section['function']) ? $section['function'] : $section));
227
- }
228
- } ?>
 
229
 
230
  <p class="alignright frm_uninstall" style="padding-top:1.25em;"><a href="javascript:frm_uninstall_now()"><?php _e('Uninstall Formidable', 'formidable') ?></a></p>
231
  <p class="submit">
@@ -236,19 +160,8 @@
236
  </div>
237
  </div>
238
  </div>
 
239
  </div>
240
 
241
  </div>
242
  </div>
243
-
244
-
245
- <script type="text/javascript">
246
- function frm_uninstall_now(){
247
- if(confirm("<?php _e('Are you sure you want to do this? Clicking OK will delete all forms, form data, and all other Formidable data. There is no Undo.', 'formidable') ?>")){
248
- jQuery('.frm_uninstall a').replaceWith('<img src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="Loading..." />');
249
- jQuery.ajax({type:"POST",url:"<?php echo admin_url('admin-ajax.php') ?>",data:"action=frm_uninstall",
250
- success:function(msg){jQuery(".frm_uninstall").fadeOut("slow");}
251
- });
252
- }
253
- };
254
- </script>
1
+ <div id="form_global_settings" class="wrap">
2
+ <div class="frmicon icon32"><br/></div>
3
+ <h2><?php _e('Global Settings', 'formidable'); ?></h2>
4
 
5
+ <?php require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php'); ?>
6
 
7
  <div id="poststuff" class="metabox-holder">
8
  <div id="post-body">
9
  <div class="meta-box-sortables">
10
  <div class="categorydiv postbox">
11
  <h3 class="hndle"><span><?php _e('Global Settings', 'formidable') ?></span></h3>
12
+ <div class="inside frm-help-tabs">
13
+ <div id="contextual-help-back"></div>
14
+ <div id="contextual-help-columns">
15
  <div class="contextual-help-tabs">
16
+ <ul class="frm-category-tabs">
17
+ <?php $a = isset($_GET['t']) ? $_GET['t'] : 'general_settings'; ?>
18
+ <li <?php echo ($a == 'general_settings') ? 'class="tabs active"' : '' ?>><a href="#general_settings" style="cursor:pointer"><?php _e('General', 'formidable') ?></a></li>
19
  <?php foreach($sections as $sec_name => $section){ ?>
20
+ <li <?php echo ($a == $sec_name .'_settings') ? 'class="tabs active"' : '' ?>><a href="#<?php echo $sec_name ?>_settings"><?php echo isset($section['name']) ? $section['name'] : ucfirst($sec_name) ?></a></li>
21
  <?php } ?>
22
  </ul>
23
  </div>
24
+
25
+ <?php do_action('frm_before_settings'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
+ <form name="frm_settings_form" method="post" class="frm_settings_form" action="?page=formidable-settings<?php echo (isset($_GET['t'])) ? '&amp;t='. $_GET['t'] : ''; ?>">
28
  <input type="hidden" name="frm_action" value="process-form" />
29
  <input type="hidden" name="action" value="process-form" />
30
+ <?php wp_nonce_field('process_form_nonce', 'process_form'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
+ <div class="general_settings tabs-panel" style="border-top:none;display:<?php echo ($a == 'general_settings') ? 'block' : 'none'; ?>;">
33
+ <p class="submit" style="padding:0;">
34
+ <input class="button-primary" type="submit" value="<?php _e('Update Options', 'formidable') ?>" />
35
+ </p>
 
 
 
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
+ <div class="menu-settings">
39
+ <h3 class="frm_no_bg"><?php _e('Styling & Scripts', 'formidable'); ?></h3>
40
+
41
+ <p><?php _e('Load Formidable styling', 'formidable') ?>
42
+ <select id="frm_load_style" name="frm_load_style">
43
+ <option value="all" <?php selected($frm_settings->load_style, 'all') ?>><?php _e('on every page of your site', 'formidable') ?></option>
44
+ <option value="dynamic" <?php selected($frm_settings->load_style, 'dynamic') ?>><?php _e('only on applicable pages', 'formidable') ?></option>
45
+ <option value="none" <?php selected($frm_settings->load_style, 'none') ?>><?php _e('Don\'t use Formidable styling on any page', 'formidable') ?></option>
46
+ </select>
47
+ </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
+ <p><label for="frm_use_html"><input type="checkbox" id="frm_use_html" name="frm_use_html" value="1" <?php checked($frm_settings->use_html, 1) ?> > <?php _e('Use HTML5 in forms', 'formidable') ?></label>
50
+ </p>
 
 
 
 
 
51
 
52
+ <?php do_action('frm_style_general_settings', $frm_settings); ?>
53
+ </div>
 
 
 
54
 
55
+ <div class="menu-settings">
56
+ <h3 class="frm_no_bg"><?php _e('User Permissions', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu.', 'formidable') ?>" ></span></h3>
57
+ <p><?php foreach($frm_roles as $frm_role => $frm_role_description){ ?>
58
+ <label class="frm_left_label"><?php echo $frm_role_description ?></label> <?php FrmAppHelper::wp_roles_dropdown( $frm_role, $frm_settings->$frm_role ) ?>
59
+ <span class="clear"></span>
60
+ <?php } ?></p>
61
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
+ <div class="menu-settings">
64
+ <h3 class="frm_no_bg"><?php _e('reCAPTCHA', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot.', 'formidable') ?>" ></span></h3>
 
 
 
 
 
65
 
66
+ <p class="howto">reCAPTCHA requires an API key, consisting of a "public" and a "private" key. You can sign up for a <a href="https://www.google.com/recaptcha/admin/create" target="_blank">free reCAPTCHA key</a>.</p>
67
+
68
+ <!-- reCAPTCHA public key -->
69
+ <p><label class="frm_left_label"><?php _e('Public Key', 'formidable') ?></label>
70
+ <input type="text" name="frm_pubkey" id="frm_pubkey" size="42" value="<?php echo esc_attr($frm_settings->pubkey) ?>" /></p>
71
+
72
+ <!-- reCAPTCHA private key -->
73
+ <p><label class="frm_left_label"><?php _e('Private Key', 'formidable') ?></label>
74
+ <input type="text" name="frm_privkey" id="frm_privkey" size="42" value="<?php echo esc_attr($frm_settings->privkey) ?>" /></p>
75
+
76
+ <p><label class="frm_left_label"><?php _e('reCAPTCHA Theme', 'formidable') ?></label>
77
+ <select name="frm_re_theme" id="frm_re_theme">
78
+ <?php foreach(array('red' => __('Red', 'formidable'), 'white' => __('White', 'formidable'), 'blackglass' => __('Black Glass', 'formidable'), 'clean' => __('Clean', 'formidable')) as $theme_value => $theme_name){ ?>
79
+ <option value="<?php echo esc_attr($theme_value) ?>" <?php selected($frm_settings->re_theme, $theme_value) ?>><?php echo $theme_name ?></option>
80
+ <?php } ?>
81
+ </select></p>
82
+
83
+ <p><label class="frm_left_label"><?php _e('reCAPTCHA Language', 'formidable') ?></label>
84
+ <select name="frm_re_lang" id="frm_re_lang">
85
+ <?php foreach(array('en' => __('English', 'formidable'), 'nl' => __('Dutch', 'formidable'), 'fr' => __('French', 'formidable'), 'de' => __('German', 'formidable'), 'pt' => __('Portuguese', 'formidable'), 'ru' => __('Russian', 'formidable'), 'es' => __('Spanish', 'formidable'), 'tr' => __('Turkish', 'formidable')) as $lang => $lang_name){ ?>
86
+ <option value="<?php echo esc_attr($lang) ?>" <?php selected($frm_settings->re_lang, $lang) ?>><?php echo $lang_name ?></option>
87
+ <?php } ?>
88
+ </select></p>
89
  </div>
 
 
 
 
 
 
 
 
 
 
90
 
91
+ <div class="menu-settings">
92
+ <h3 class="frm_no_bg"><?php _e('Default Messages', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('You can override the success message and submit button settings on individual forms.', 'formidable') ?>" ></span></h3>
93
+
94
+ <p><label class="frm_left_label"><?php _e('Failed/Duplicate Entry', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('The message seen when a form is submitted and passes validation, but something goes wrong.', 'formidable') ?>" ></span></label>
95
+ <input type="text" id="frm_failed_msg" name="frm_failed_msg" class="frm_with_left_label" value="<?php echo esc_attr($frm_settings->failed_msg) ?>" /></p>
96
 
97
+ <p><label class="frm_left_label"><?php _e('Blank Field', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('The message seen when a required field is left blank.', 'formidable') ?>" ></span></label>
98
+ <input type="text" id="frm_blank_msg" name="frm_blank_msg" class="frm_with_left_label" value="<?php echo esc_attr($frm_settings->blank_msg) ?>" /></p>
99
+
100
+ <p><label class="frm_left_label"><?php _e('Incorrect Field', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('The message seen when a field response is either incorrect or missing.', 'formidable') ?>" ></span></label>
101
+ <input type="text" id="frm_invalid_msg" name="frm_invalid_msg" class="frm_with_left_label" value="<?php echo esc_attr($frm_settings->invalid_msg) ?>" /></p>
102
+
103
+ <?php if($frm_vars['pro_is_installed']){ ?>
104
+ <p><label class="frm_left_label"><?php _e('Unique Value', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('The message seen when a user selects a value in a unique field that has already been used.', 'formidable') ?>" ></span></label>
105
+ <input type="text" id="frm_unique_msg" name="frm_unique_msg" class="frm_with_left_label" value="<?php echo esc_attr($frm_settings->unique_msg) ?>" /></p>
106
+ <?php }else{ ?>
107
+ <input type="hidden" id="frm_unique_msg" name="frm_unique_msg" value="<?php echo esc_attr($frm_settings->unique_msg) ?>" />
108
+ <?php } ?>
109
+ <input type="hidden" id="frm_login_msg" name="frm_login_msg" class="frm_with_left_label" value="<?php echo esc_attr($frm_settings->login_msg) ?>" />
110
+
111
+ <p><label class="frm_left_label"><?php _e('Success Message', 'formidable'); ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php _e('The default message seen after a form is submitted.', 'formidable') ?>" ></span></label>
112
+ <input type="text" id="frm_success_msg" name="frm_success_msg" class="frm_with_left_label" value="<?php echo esc_attr($frm_settings->success_msg) ?>" /></p>
113
+
114
+ <p><label class="frm_left_label"><?php _e('Default Submit Button', 'formidable'); ?></label>
115
+ <input type="text" value="<?php echo esc_attr($frm_settings->submit_value) ?>" id="frm_submit_value" name="frm_submit_value" class="frm_with_left_label" /></p>
116
  </div>
117
+
118
+ <?php do_action('frm_settings_form', $frm_settings); ?>
119
+
120
+ <?php if(!$frm_vars['pro_is_installed']){ ?>
121
+ <div class="clear"></div>
122
+ <div class="menu-settings">
123
+ <h3 class="frm_no_bg"><?php _e('Miscellaneous', 'formidable') ?></h3>
124
+ </div>
125
+ <?php } ?>
126
+ <p><label class="frm_left_label"><?php _e('Admin menu label', 'formidable'); ?></label>
127
+ <input type="text" name="frm_menu" id="frm_menu" value="<?php echo esc_attr($frm_settings->menu) ?>" />
128
+ <?php if (is_multisite() and is_super_admin()){ ?>
129
+ <label for="frm_mu_menu"><input type="checkbox" name="frm_mu_menu" id="frm_mu_menu" value="1" <?php checked($frm_settings->mu_menu, 1) ?> /> <?php _e('Use this menu name site-wide', 'formidable'); ?></label>
130
+ <?php } ?>
131
+ </p>
132
+
133
+ <p><label class="frm_left_label"><?php _e('Preview Page', 'formidable'); ?></label>
134
+ <?php FrmAppHelper::wp_pages_dropdown('frm-preview-page-id', $frm_settings->preview_page_id ) ?>
135
+ </p>
136
+
137
+ <p><label class="frm_left_label"><?php _e('Tracking', 'formidable'); ?></label>
138
+ <label for="frm_track"><input type="checkbox" id="frm_track" name="frm_track" value="1" <?php checked($frm_settings->track, 1) ?>> <?php _e('Track referrer information and pages visited', 'formidable') ?></label>
139
+ </p>
140
+ </div>
141
 
142
+ <?php foreach($sections as $sec_name => $section){
143
+ if($a == $sec_name .'_settings'){ ?>
144
+ <style type="text/css">.<?php echo $sec_name ?>_settings{display:block !important;}</style><?php }?>
145
+ <div id="<?php echo $sec_name ?>_settings" class="<?php echo $sec_name ?>_settings tabs-panel" style="display:<?php echo ($a == $sec_name .'_settings') ? 'block' : 'none'; ?>;"><?php
146
  if(isset($section['class'])){
147
  call_user_func(array($section['class'], $section['function']));
148
  }else{
149
  call_user_func((isset($section['function']) ? $section['function'] : $section));
150
+ } ?>
151
+ </div>
152
+ <?php } ?>
153
 
154
  <p class="alignright frm_uninstall" style="padding-top:1.25em;"><a href="javascript:frm_uninstall_now()"><?php _e('Uninstall Formidable', 'formidable') ?></a></p>
155
  <p class="submit">
160
  </div>
161
  </div>
162
  </div>
163
+ </div>
164
  </div>
165
 
166
  </div>
167
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
classes/views/frm-settings/license_box.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="general_settings metabox-holder tabs-panel" style="min-height:0px;border-bottom:none;display:<?php echo ($a == 'general_settings') ? 'block' : 'none'; ?>;">
2
+ <?php if (!is_multisite() or is_super_admin()){ ?>
3
+ <div class="postbox">
4
+ <h3 class="hndle manage-menus"><div id="icon-ms-admin" class="icon32 frm_postbox_icon"><br/></div> <?php _e('Formidable Pro License', 'formidable')?></h3>
5
+ <div class="inside">
6
+ <p class="frm_aff_link">Already signed up? <a href="http://formidablepro.com/knowledgebase/manually-install-formidable-pro/" target="_blank"><?php _e('Click here', 'formidable') ?></a> for installation instructions.</p>
7
+
8
+ <div style="float:left;width:50%;">
9
+ <p><?php _e('Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports.', 'formidable') ?></p>
10
+ <?php printf(__('%1$sClick here%2$s to get it now', 'formidable'), '<a href="http://formidablepro.com">', '</a>') ?> &#187;
11
+ </div>
12
+
13
+ <div class="clear"></div>
14
+ </div>
15
+ </div>
16
+ <?php } ?>
17
+ </div>
classes/views/frm-settings/styling_tab.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div class="frm_update_msg">
2
+ This plugin version does not give you access to the visual form styler.<br/>
3
+ <a href="http://formidablepro.com/pricing/" target="_blank">Compare</a> our plans to see about upgrading to Pro. Or enter your license number <a href ="<?php echo admin_url('admin.php') ?>?page=formidable-settings">here</a>.
4
+ </div>
classes/views/frm-statistics/list.php CHANGED
@@ -1,11 +1,16 @@
1
- <div class="wrap">
2
- <div class="frm_report_icon icon32"><br/></div>
3
- <h2><?php _e('Form Statistics', 'formidable') ?></h2>
 
 
 
4
 
5
- <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
- <?php if($form) FrmAppController::get_form_nav($form, true); ?>
7
-
8
- <?php FrmAppController::update_message('view reports and statistics on your saved entries'); ?>
 
 
9
 
10
  <img src="http://fp.strategy11.com/wp-content/themes/formidablepro/images/reports1.png" alt="Reports" style="max-width:100%"/>
11
 
1
+ <div id="form_reports_page" class="wrap">
2
+ <div class="frmicon icon32"><br/></div>
3
+ <h2>
4
+ <?php _e('Reports', 'formidable') ?>
5
+ <a href="#" class="add-new-h2" style="visibility:hidden;"><?php _e('Add New', 'formidable'); ?></a>
6
+ </h2>
7
 
8
+ <?php
9
+ if($form) FrmAppController::get_form_nav($form, true);
10
+ require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php');
11
+
12
+ FrmAppController::update_message('view reports and statistics on your saved entries');
13
+ ?>
14
 
15
  <img src="http://fp.strategy11.com/wp-content/themes/formidablepro/images/reports1.png" alt="Reports" style="max-width:100%"/>
16
 
classes/views/frm-statistics/list_displays.php CHANGED
@@ -1,10 +1,13 @@
1
- <div class="wrap">
2
- <div id="icon-themes" class="icon32"><br/></div>
3
- <h2><?php _e('Custom Displays', 'formidable'); ?></h2>
 
 
 
4
 
5
  <?php
6
- require(FRM_VIEWS_PATH.'/shared/errors.php');
7
  if($form) FrmAppController::get_form_nav($form);
 
8
  FrmAppController::update_message('display collected data in lists, calendars, and other formats');
9
  ?>
10
 
1
+ <div id="form_views_page" class="wrap">
2
+ <div class="frmicon icon32"><br/></div>
3
+ <h2>
4
+ <?php _e('Views', 'formidable'); ?>
5
+ <a href="#" class="add-new-h2" style="visibility:hidden;"><?php _e('Add New', 'formidable'); ?></a>
6
+ </h2>
7
 
8
  <?php
 
9
  if($form) FrmAppController::get_form_nav($form);
10
+ require(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php');
11
  FrmAppController::update_message('display collected data in lists, calendars, and other formats');
12
  ?>
13
 
classes/views/shared/errors.php CHANGED
@@ -1,10 +1,11 @@
1
- <?php if (isset($message) && $message != ''){ if(is_admin()){ ?><div id="message" class="updated fade" style="padding:5px;"><?php } echo $message; if(is_admin()){ ?></div><?php } } ?>
 
2
 
3
  <?php if( isset($errors) && is_array($errors) && count($errors) > 0 ){ ?>
4
  <div class="error">
5
  <ul id="frm_errors">
6
  <?php foreach( $errors as $error )
7
- echo '<li>' . stripslashes($error) . '</li>';
8
  ?>
9
  </ul>
10
  </div>
1
+ <div class="clear"></div>
2
+ <?php if (isset($message) && $message != ''){ if(is_admin() and !defined('DOING_AJAX')){ ?><div id="message" class="updated" style="padding:5px;"><?php } echo $message; if(is_admin() and !defined('DOING_AJAX')){ ?></div><?php } } ?>
3
 
4
  <?php if( isset($errors) && is_array($errors) && count($errors) > 0 ){ ?>
5
  <div class="error">
6
  <ul id="frm_errors">
7
  <?php foreach( $errors as $error )
8
+ echo '<li>' . $error . '</li>';
9
  ?>
10
  </ul>
11
  </div>
classes/views/shared/form-nav.php CHANGED
@@ -1,9 +1,9 @@
1
- <?php $current_page = (isset($_GET['page'])) ? $_GET['page'] : (isset($_GET['post_type']) ? $_GET['post_type'] : 'None'); ?>
2
  <ul class="frm_form_nav">
3
- <li class="last"> <a<?php if($current_page == 'formidable-reports') echo ' class="current_page"'; ?> href="<?php echo esc_url(admin_url('admin.php?page=formidable') . "-reports&frm_action=show&form=$id&show_nav=1") ?>"><?php _e('Reports', 'formidable') ?></a></li>
4
- <li> <a<?php if($current_page == 'frm_display' or $pagenow == 'post.php' or $pagenow == 'post-new.php') echo ' class="current_page"'; ?> href="<?php echo esc_url(admin_url('edit.php?post_type=frm_display') . "&form=$id&show_nav=1") ?>"><?php _e('Displays', 'formidable') ?></a></li>
5
  <li> <a<?php if($current_page == 'formidable-entries') echo ' class="current_page"'; ?> href="<?php echo admin_url('admin.php?page=formidable') ?>-entries&amp;frm_action=list&amp;form=<?php echo $id ?>"><?php _e('Entries', 'formidable') ?></a></li>
6
- <li><a<?php if(($current_page == 'formidable' or $current_page == 'formidable-new') and isset($_GET['frm_action']) and $_GET['frm_action'] == 'settings') echo ' class="current_page"'; ?> href="<?php echo admin_url('admin.php?page=formidable') ?>&amp;frm_action=settings&amp;id=<?php echo $id ?>"><?php _e('Settings', 'formidable') ?></a> </li>
7
- <li class="first"><a<?php if(($current_page == 'formidable' or $current_page == 'formidable-new') and isset($_GET['frm_action']) and (in_array($_GET['frm_action'], array('edit', 'new', 'duplicate')))) echo ' class="current_page"'; ?> href="<?php echo admin_url('admin.php?page=formidable') ?>&amp;frm_action=edit&amp;id=<?php echo $id ?>"><?php _e('Build', 'formidable') ?></a> </li>
 
8
  </ul>
9
- <div class="clear"></div>
1
+ <?php if($form){ ?><p class="frm_title_head"><?php echo ($form->name == '') ? __('(no title)') : FrmAppHelper::truncate($form->name, 33) ?></p><?php } ?>
2
  <ul class="frm_form_nav">
3
+ <li class="first"><a<?php if(($current_page == 'formidable') and isset($_GET['frm_action']) and (in_array($_GET['frm_action'], array('edit', 'new', 'duplicate')))) echo ' class="current_page"'; ?> href="<?php echo admin_url('admin.php?page=formidable') ?>&amp;frm_action=edit&amp;id=<?php echo $id ?>"><?php _e('Build', 'formidable') ?></a> </li>
4
+ <li><a<?php if(($current_page == 'formidable') and isset($_GET['frm_action']) and $_GET['frm_action'] == 'settings') echo ' class="current_page"'; ?> href="<?php echo admin_url('admin.php?page=formidable') ?>&amp;frm_action=settings&amp;id=<?php echo $id ?>"><?php _e('Settings', 'formidable') ?></a> </li>
5
  <li> <a<?php if($current_page == 'formidable-entries') echo ' class="current_page"'; ?> href="<?php echo admin_url('admin.php?page=formidable') ?>-entries&amp;frm_action=list&amp;form=<?php echo $id ?>"><?php _e('Entries', 'formidable') ?></a></li>
6
+ <li> <a<?php if($current_page == 'frm_display' or $pagenow == 'post.php' or $pagenow == 'post-new.php' or $current_page == 'formidable-entry-templates') echo ' class="current_page"'; ?> href="<?php echo esc_url(($frm_vars['pro_is_installed'] ? admin_url('edit.php?post_type=frm_display') : admin_url( 'admin.php?page=formidable-entry-templates')) ."&form={$id}&show_nav=1"); ?>"><?php _e('Views', 'formidable') ?></a></li>
7
+ <li> <a<?php if($current_page == 'formidable-reports') echo ' class="current_page"'; ?> href="<?php echo esc_url(admin_url('admin.php?page=formidable') . "-reports&frm_action=show&form=$id&show_nav=1") ?>"><?php _e('Reports', 'formidable') ?></a></li>
8
+ <?php FrmFormsHelper::form_switcher(); ?>
9
  </ul>
 
classes/views/shared/item-table-nav.php DELETED
@@ -1,12 +0,0 @@
1
- <div class="tablenav">
2
- <?php do_action('frm_before_table', $footer, $params['form']);
3
-
4
- // Only show the pager bar if there is more than 1 page
5
- if($page_count > 1){ ?>
6
- <div class="tablenav-pages"><span class="displaying-num"><?php printf(__('Displaying %1$s&#8211;%2$s of %3$s', 'formidable'), $page_first_record, $page_last_record, $record_count); ?></span>
7
- <?php $page_param = 'paged'; require(FRM_VIEWS_PATH .'/shared/pagination.php'); ?>
8
- </div>
9
- <?php } ?>
10
-
11
- <br class="clear" />
12
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
classes/views/shared/nav.php CHANGED
@@ -1 +1 @@
1
- <!-- Keep this file for a while to prevent issues with add-ons -->
1
+ <?php _deprecated_file( basename(__FILE__), '1.06.07', null, __( 'This file no longer needs to be included.' ) ); ?>
classes/views/shared/pagination.php DELETED
@@ -1,52 +0,0 @@
1
- <?php
2
- if(!is_numeric($current_page))
3
- $current_page = FrmAppHelper::get_param($page_param, '1');
4
-
5
- $page_params = (isset($page_params)) ? $page_params : '';
6
- $s = FrmAppHelper::get_param('frm_search', false);
7
- if($s)
8
- $page_params .= '&frm_search='. urlencode($s);
9
-
10
- if($current_page > 1){ // Only show the prev page button if the current page is not the first page ?>
11
- <a class="prev page-numbers" href="<?php echo add_query_arg(array($page_param => $current_page - 1)); echo $page_params; ?>">&#171;</a> <?php
12
- }
13
-
14
- // First page is always displayed
15
- if($current_page==1){ ?>
16
- <span class='page-numbers current'>1</span><?php
17
- }else{ ?>
18
- <a class="page-numbers" href="<?php echo add_query_arg(array($page_param => 1)); echo $page_params; ?>">1</a> <?php
19
- }
20
-
21
- // If the current page is more than 2 spaces away from the first page then we put some dots in here
22
- if($current_page >= 5){ ?>
23
- <span class="page-numbers dots">...</span> <?php
24
- }
25
-
26
- // display the current page icon and the 2 pages beneath and above it
27
- $low_page = ($current_page >= 5) ? ($current_page-2) : 2;
28
- $high_page = (($current_page + 2) < ($page_count-1)) ? ($current_page+2) : ($page_count-1);
29
- for($i = $low_page; $i <= $high_page; $i++){
30
- if($current_page==$i){ ?>
31
- <span class="page-numbers current"><?php echo $i; ?></span> <?php
32
- }else{ ?>
33
- <a class="page-numbers" href="<?php echo add_query_arg(array($page_param => $i)); echo $page_params; ?>"><?php echo $i; ?></a> <?php
34
- }
35
- }
36
-
37
- // If the current page is more than 2 away from the last page then show ellipsis
38
- if($current_page < ($page_count - 3)){ ?>
39
- <span class="page-numbers dots">...</span> <?php
40
- }
41
-
42
- // Display the last page icon
43
- if($current_page == $page_count){ ?>
44
- <span class="page-numbers current"><?php echo $page_count; ?></span><?php
45
- }else{ ?>
46
- <a class="page-numbers" href="<?php echo add_query_arg(array($page_param => $page_count)); echo $page_params; ?>"><?php echo $page_count; ?></a><?php
47
- }
48
-
49
- // Display the next page icon if there is a next page
50
- if($current_page < $page_count){ ?>
51
- <a class="next page-numbers" href="<?php echo add_query_arg(array($page_param => $current_page + 1)); echo $page_params; ?>">&#187;</a><?php
52
- } ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
classes/views/shared/update_message.php CHANGED
@@ -1,4 +1,4 @@
1
  <div class="frm_update_msg">
2
  This plugin version does not give you access to <?php echo $features ?>.<br/>
3
- <a href="http://formidablepro.com/pricing/" target="_blank">Compare</a> our plans to see about upgrading to Pro. Or enter your account information <a href="<?php echo admin_url('admin.php?page=formidable-settings') ?>">here</a>
4
  </div>
1
  <div class="frm_update_msg">
2
  This plugin version does not give you access to <?php echo $features ?>.<br/>
3
+ <a href="http://formidablepro.com/pricing/" target="_blank">Compare</a> our plans or enter your license number <a href="<?php echo admin_url('admin.php?page=formidable-settings') ?>">here</a>
4
  </div>
classes/views/xml/default-templates.xml ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <!-- generator="WordPress/3.8" created="2014-01-02 19:36" -->
3
+
4
+ <channel>
5
+ <form>
6
+ <id>1</id>
7
+ <form_key><![CDATA[contact]]></form_key>
8
+ <name><![CDATA[Contact Us]]></name>
9
+ <description><![CDATA[We would like to hear from you. Please send us a message by filling out the form below and we will get back with you shortly.]]></description>
10
+ <created_at>2009-11-24 00:17:31</created_at>
11
+ <logged_in>0</logged_in>
12
+ <is_template>1</is_template>
13
+ <default_template>1</default_template>
14
+ <editable>0</editable>
15
+ <options><![CDATA[{"custom_style":1}]]></options>
16
+ <status><![CDATA[published]]></status>
17
+ <field>
18
+ <id>1</id>
19
+ <field_key><![CDATA[qh4icy]]></field_key>
20
+ <name><![CDATA[Name]]></name>
21
+ <description><![CDATA[First]]></description>
22
+ <type><![CDATA[text]]></type>
23
+ <default_value><![CDATA[]]></default_value>
24
+ <field_order>1</field_order>
25
+ <form_id>1</form_id>
26
+ <required>1</required>
27
+ <options><![CDATA[]]></options>
28
+ <field_options><![CDATA[{"blank":"","separate_value":0,"classes":"frm_first_half"}]]></field_options>
29
+ </field>
30
+ <field>
31
+ <id>2</id>
32
+ <field_key><![CDATA[ocfup1]]></field_key>
33
+ <name><![CDATA[Last]]></name>
34
+ <description><![CDATA[Last]]></description>
35
+ <type><![CDATA[text]]></type>
36
+ <default_value><![CDATA[]]></default_value>
37
+ <field_order>2</field_order>
38
+ <form_id>1</form_id>
39
+ <required>1</required>
40
+ <options><![CDATA[]]></options>
41
+ <field_options><![CDATA[{"label":"hidden","blank":"","classes":"frm_last_half"}]]></field_options>
42
+ </field>
43
+ <field>
44
+ <id>3</id>
45
+ <field_key><![CDATA[29yf4d]]></field_key>
46
+ <name><![CDATA[Email]]></name>
47
+ <description><![CDATA[]]></description>
48
+ <type><![CDATA[email]]></type>
49
+ <default_value><![CDATA[]]></default_value>
50
+ <field_order>3</field_order>
51
+ <form_id>1</form_id>
52
+ <required>1</required>
53
+ <options><![CDATA[]]></options>
54
+ <field_options><![CDATA[{"blank":"","invalid":"Please enter a valid email address","classes":"frm_full"}]]></field_options>
55
+ </field>
56
+ <field>
57
+ <id>4</id>
58
+ <field_key><![CDATA[itt5me]]></field_key>
59
+ <name><![CDATA[Website]]></name>
60
+ <description><![CDATA[]]></description>
61
+ <type><![CDATA[url]]></type>
62
+ <default_value><![CDATA[]]></default_value>
63
+ <field_order>4</field_order>
64
+ <form_id>1</form_id>
65
+ <required></required>
66
+ <options><![CDATA[]]></options>
67
+ <field_options><![CDATA[{"blank":"","invalid":"Please enter a valid website","classes":"frm_full"}]]></field_options>
68
+ </field>
69
+ <field>
70
+ <id>5</id>
71
+ <field_key><![CDATA[e6lis6]]></field_key>
72
+ <name><![CDATA[Subject]]></name>
73
+ <description><![CDATA[]]></description>
74
+ <type><![CDATA[text]]></type>
75
+ <default_value><![CDATA[]]></default_value>
76
+ <field_order>5</field_order>
77
+ <form_id>1</form_id>
78
+ <required>1</required>
79
+ <options><![CDATA[]]></options>
80
+ <field_options><![CDATA[{"blank":"","classes":"frm_full"}]]></field_options>
81
+ </field>
82
+ <field>
83
+ <id>6</id>
84
+ <field_key><![CDATA[9jv0r1]]></field_key>
85
+ <name><![CDATA[Message]]></name>
86
+ <description><![CDATA[]]></description>
87
+ <type><![CDATA[textarea]]></type>
88
+ <default_value><![CDATA[]]></default_value>
89
+ <field_order>6</field_order>
90
+ <form_id>1</form_id>
91
+ <required>1</required>
92
+ <options><![CDATA[]]></options>
93
+ <field_options><![CDATA[{"max":"5","blank":"","classes":"frm_full"}]]></field_options>
94
+ </field>
95
+ <field>
96
+ <id>7</id>
97
+ <field_key><![CDATA[62n6q3]]></field_key>
98
+ <name><![CDATA[Captcha]]></name>
99
+ <description><![CDATA[]]></description>
100
+ <type><![CDATA[captcha]]></type>
101
+ <default_value><![CDATA[]]></default_value>
102
+ <field_order>7</field_order>
103
+ <form_id>1</form_id>
104
+ <required></required>
105
+ <options><![CDATA[]]></options>
106
+ <field_options><![CDATA[{"label":"none","blank":"","clear_on_focus":0,"default_blank":0}]]></field_options>
107
+ </field>
108
+ </form>
109
+ </channel>
classes/views/xml/forms_xml.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( !$item_ids )
4
+ return;
5
+
6
+ $frm_form = new FrmForm();
7
+
8
+ // fetch 20 posts at a time rather than loading the entire table into memory
9
+ while ( $next_set = array_splice( $item_ids, 0, 20 ) ) {
10
+ $where = 'WHERE id IN (' . join( ',', $next_set ) . ')';
11
+ $forms = $wpdb->get_results("SELECT * FROM {$wpdb->prefix}frm_forms $where");
12
+ unset($where);
13
+
14
+ // Begin Loop
15
+ foreach ( $forms as $form ) {
16
+ ?>
17
+ <form>
18
+ <id><?php echo $form->id ?></id>
19
+ <form_key><?php echo FrmXMLHelper::cdata($form->form_key) ?></form_key>
20
+ <name><?php echo FrmXMLHelper::cdata($form->name) ?></name>
21
+ <description><?php echo FrmXMLHelper::cdata($form->description) ?></description>
22
+ <created_at><?php echo $form->created_at ?></created_at>
23
+ <logged_in><?php echo $form->logged_in ?></logged_in>
24
+ <is_template><?php echo $form->is_template ?></is_template>
25
+ <default_template><?php echo $form->default_template ?></default_template>
26
+ <editable><?php echo $form->editable ?></editable>
27
+ <options><?php echo FrmXMLHelper::cdata($form->options) ?></options>
28
+ <status><?php echo FrmXMLHelper::cdata($form->status) ?></status>
29
+ <?php
30
+
31
+ $fields = $wpdb->get_results($wpdb->prepare("SELECT * FROM {$wpdb->prefix}frm_fields WHERE form_id=%d ORDER BY field_order", $form->id));
32
+
33
+ foreach ( $fields as $field ){ ?>
34
+ <field>
35
+ <id><?php echo $field->id ?></id>
36
+ <field_key><?php echo FrmXMLHelper::cdata($field->field_key) ?></field_key>
37
+ <name><?php echo FrmXMLHelper::cdata($field->name) ?></name>
38
+ <description><?php echo FrmXMLHelper::cdata($field->description) ?></description>
39
+ <type><?php echo FrmXMLHelper::cdata($field->type) ?></type>
40
+ <default_value><?php echo FrmXMLHelper::cdata($field->default_value) ?></default_value>
41
+ <field_order><?php echo $field->field_order ?></field_order>
42
+ <form_id><?php echo $field->form_id ?></form_id>
43
+ <required><?php echo (bool)$field->required ?></required>
44
+ <options><?php echo FrmXMLHelper::cdata($field->options) ?></options>
45
+ <field_options><?php echo FrmXMLHelper::cdata($field->field_options) ?></field_options>
46
+ </field>
47
+ <?php } ?>
48
+ </form>
49
+ <?php
50
+ unset($fields);
51
+ }
52
+ }
53
+ ?>
classes/views/xml/import_form.php ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap">
2
+ <div class="frmicon icon32"><br/></div>
3
+ <h2><?php _e('Import/Export', 'formidable'); ?></h2>
4
+
5
+ <?php include(FrmAppHelper::plugin_path() .'/classes/views/shared/errors.php'); ?>
6
+ <div id="poststuff" class="metabox-holder">
7
+ <div id="post-body">
8
+ <div id="post-body-content">
9
+
10
+ <div class="postbox ">
11
+ <h3 class="hndle"><span><?php _e('Import', 'formidable') ?></span></h3>
12
+ <div class="inside">
13
+ <p class="howto"><?php echo apply_filters('frm_upload_instructions1', __('Upload your Formidable XML file to import forms into this site. If your imported form key and creation date match a form on your site, that form will be updated.', 'formidable')) ?></p>
14
+ <br/>
15
+ <form enctype="multipart/form-data" method="post">
16
+ <input type="hidden" name="frm_action" value="import_xml" />
17
+ <p><label><?php echo apply_filters('frm_upload_instructions2', __('Choose a Formidable XML file', 'formidable')) ?> (<?php printf(__('Maximum size: %s', 'formidable'), ini_get('upload_max_filesize')) ?>)</label>
18
+ <input type="file" name="frm_import_file" size="25" />
19
+ </p>
20
+
21
+ <?php do_action('frm_csv_opts', $forms) ?>
22
+
23
+ <p class="submit">
24
+ <input type="submit" value="<?php _e('Upload file and import', 'formidable') ?>" class="button-primary" />
25
+ </p>
26
+ </form>
27
+ </div>
28
+ </div>
29
+
30
+
31
+ <div class="postbox">
32
+ <h3 class="hndle"><span><?php _e('Export', 'formidable') ?></span></h3>
33
+ <div class="inside with_frm_style">
34
+ <form method="post" action="<?php echo admin_url('admin-ajax.php'); ?>" id="frm_export_xml">
35
+ <input type="hidden" name="action" value="frm_export_xml" />
36
+ <?php //wp_nonce_field('export-xml'); ?>
37
+ <table class="form-table">
38
+ <?php if (count($export_format) == 1) {
39
+ reset($export_format); ?>
40
+ <tr><td colspan="2"><input type="hidden" name="format" value="<?php echo key($export_format) ?>" /></td></tr>
41
+ <?php } else { ?>
42
+ <tr class="form-field">
43
+ <th scope="row"><label><?php _e('Export Format', 'formidable'); ?></label></th>
44
+ <td>
45
+ <select name="format">
46
+ <?php foreach ( $export_format as $t => $type ){ ?>
47
+ <option value="<?php echo $t ?>" data-support="<?php echo esc_attr($type['support']) ?>" <?php echo isset($type['count']) ? 'data-count="'. esc_attr($type['count']) .'"' : ''; ?>><?php echo isset($type['name']) ? $type['name'] : $t ?></option>
48
+ <?php } ?>
49
+ </select>
50
+
51
+ <select name="csv_format" class="frm_hidden">
52
+ <option value="UTF-8" <?php selected($csv_format, 'UTF-8') ?>>UTF-8</option>
53
+ <option value="ISO-8859-1" <?php selected($csv_format, 'ISO-8859-1'); ?>>ISO-8859-1</option>
54
+ <option value="windows-1256" <?php selected($csv_format, 'windows-1256'); ?>>windows-1256</option>
55
+ <option value="windows-1251" <?php selected($csv_format, 'windows-1251'); ?>>windows-1251</option>
56
+ <option value="macintosh" <?php selected($csv_format, 'macintosh'); ?>><?php _e('Macintosh', 'formidable') ?></option>
57
+ </select>
58
+ <span class="frm_help frm_icon_font frm_tooltip_icon frm_hidden" title="<?php _e('If your CSV special characters are not working correctly, try a different formatting option.', 'formidable') ?>"></span>
59
+ </td>
60
+ </tr>
61
+ <?php } ?>
62
+
63
+ <?php if (count($export_types) == 1) {
64
+ reset($export_types); ?>
65
+ <tr><td colspan="2"><input type="hidden" name="type[]" value="<?php echo key($export_types) ?>" /></td></tr>
66
+ <?php } else { ?>
67
+ <tr class="form-field">
68
+ <th scope="row"><label><?php _e('Data to Export', 'formidable'); ?></label></th>
69
+ <td>
70
+ <?php _e('Include the following in the export file', 'formidable'); ?>:<br/>
71
+ <?php foreach ( $export_types as $t => $type ){ ?>
72
+ <label><input type="checkbox" name="type[]" value="<?php echo $t ?>"/> <?php echo $type ?></label> &nbsp;
73
+ <?php } ?>
74
+ </td>
75
+ </tr>
76
+ <?php } ?>
77
+
78
+ <tr class="form-field">
79
+ <th scope="row"><label><?php _e('Select Form(s)', 'formidable'); ?></label></th>
80
+ <td>
81
+ <select name="frm_export_forms[]" multiple="multiple" class="frm_chzn">
82
+ <?php foreach($forms as $form){ ?>
83
+ <option value="<?php echo $form->id ?>"><?php
84
+ echo ($form->name == '') ? '(no title)' : $form->name;
85
+ echo ' &mdash; '. $form->form_key;
86
+ if ( $form->is_template && $form->default_template ) {
87
+ echo ' '. __('(default template)', 'formidable');
88
+ } else if ( $form->is_template ) {
89
+ echo ' '. __('(template)', 'formidable');
90
+ }
91
+ ?></option>
92
+ <?php } ?>
93
+ </select>
94
+ <p class="howto"><?php _e('Hold down the CTRL/Command button to select multiple forms', 'formidable'); ?></p>
95
+ </td>
96
+ </tr>
97
+ </table>
98
+ <p class="submit">
99
+ <input type="submit" value="<?php _e('Export Selection', 'formidable') ?>" class="button-primary" />
100
+ </p>
101
+ </form>
102
+
103
+ </div>
104
+ </div>
105
+
106
+
107
+ </div>
108
+ </div>
109
+ </div>
110
+ </div>
classes/views/xml/xml.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php the_generator( 'export' ); ?>
2
+
3
+ <channel>
4
+ <title><?php bloginfo_rss( 'name' ); ?></title>
5
+ <pubDate><?php echo date( 'D, d M Y H:i:s +0000' ); ?></pubDate>
6
+ <base_blog_url><?php bloginfo_rss( 'url' ); ?></base_blog_url>
7
+
8
+ <?php
9
+ foreach($type as $tb_type){
10
+
11
+ if(!isset($tables[$tb_type])){
12
+ do_action('frm_xml_import_'. $tb_type, $args);
13
+ continue;
14
+ }
15
+
16
+ //no records
17
+ if(!isset($records[$tb_type]))
18
+ continue;
19
+
20
+ $item_ids = $records[$tb_type];
21
+ if ( file_exists(dirname(__FILE__) .'/'. $tb_type .'_xml.php') ) {
22
+ include(dirname(__FILE__) .'/'. $tb_type .'_xml.php');
23
+ } else if ( file_exists( FrmAppHelper::plugin_path() .'/pro/classes/views/xml/'. $tb_type .'_xml.php') ){
24
+ include( FrmAppHelper::plugin_path() .'/pro/classes/views/xml/'. $tb_type .'_xml.php' );
25
+ }
26
+ unset($item_ids);
27
+ unset($records[$tb_type]);
28
+
29
+ unset($tb_type);
30
+ }
31
+
32
+ ?>
33
+ </channel>
classes/widgets/FrmShowForm.php CHANGED
@@ -2,15 +2,15 @@
2
 
3
  class FrmShowForm extends WP_Widget {
4
 
5
- function FrmShowForm() {
6
  $widget_ops = array( 'description' => __( "Display a Formidable Form", 'formidable') );
7
  $this->WP_Widget('frm_show_form', __('Formidable Form', 'formidable'), $widget_ops);
8
  }
9
 
10
  function widget( $args, $instance ) {
11
- global $frm_form;
12
  extract($args);
13
 
 
14
  $form_name = $frm_form->getName( $instance['form'] );
15
  $title = apply_filters('widget_title', empty($instance['title']) ? $form_name : $instance['title']);
16
  $instance['description'] = isset($instance['description']) ? $instance['description'] : false;
@@ -22,12 +22,12 @@ class FrmShowForm extends WP_Widget {
22
  echo $before_title . stripslashes($title) . $after_title;
23
 
24
  if(isset($instance['size']) and is_numeric($instance['size'])){
25
- global $frm_sidebar_width;
26
- $frm_sidebar_width = $instance['size'];
27
  }
28
 
29
- echo FrmEntriesController::show_form($instance['form'], '', false, $instance['description']);
30
- $frm_sidebar_width = '';
31
  echo '</div>';
32
  echo $after_widget;
33
  }
@@ -47,11 +47,11 @@ class FrmShowForm extends WP_Widget {
47
  <?php FrmFormsHelper::forms_dropdown( $this->get_field_name('form'), $instance['form'], false, $this->get_field_id('form') )?>
48
  </p>
49
 
50
- <p><input class="checkbox" type="checkbox" <?php checked($instance['description'], true) ?> id="<?php echo $this->get_field_id('description'); ?>" name="<?php echo $this->get_field_name('description'); ?>" value="1" />
51
- <label for="<?php echo $this->get_field_id('description'); ?>"><?php _e('Show Description', 'formidable') ?></label></p>
52
 
53
- <p><input class="checkbox" type="checkbox" <?php checked($instance['select_width'], true) ?> id="<?php echo $this->get_field_id('select_width'); ?>" name="<?php echo $this->get_field_name('select_width'); ?>" value="1" />
54
- <label for="<?php echo $this->get_field_id('select_width'); ?>"><?php _e('Fit Select Boxes into SideBar', 'formidable') ?></label></p>
55
 
56
  <p><label class="checkbox" for="<?php echo $this->get_field_id('size'); ?>"><?php _e('Field Size', 'formidable') ?>:</label>
57
 
2
 
3
  class FrmShowForm extends WP_Widget {
4
 
5
+ function __construct() {
6
  $widget_ops = array( 'description' => __( "Display a Formidable Form", 'formidable') );
7
  $this->WP_Widget('frm_show_form', __('Formidable Form', 'formidable'), $widget_ops);
8
  }
9
 
10
  function widget( $args, $instance ) {
 
11
  extract($args);
12
 
13
+ $frm_form = new FrmForm();
14
  $form_name = $frm_form->getName( $instance['form'] );
15
  $title = apply_filters('widget_title', empty($instance['title']) ? $form_name : $instance['title']);
16
  $instance['description'] = isset($instance['description']) ? $instance['description'] : false;
22
  echo $before_title . stripslashes($title) . $after_title;
23
 
24
  if(isset($instance['size']) and is_numeric($instance['size'])){
25
+ global $frm_vars;
26
+ $frm_vars['sidebar_width'] = $instance['size'];
27
  }
28
 
29
+ echo FrmFormsController::show_form($instance['form'], '', false, $instance['description']);
30
+ $frm_vars['sidebar_width'] = '';
31
  echo '</div>';
32
  echo $after_widget;
33
  }
47
  <?php FrmFormsHelper::forms_dropdown( $this->get_field_name('form'), $instance['form'], false, $this->get_field_id('form') )?>
48
  </p>
49
 
50
+ <p><label for="<?php echo $this->get_field_id('description'); ?>"><input class="checkbox" type="checkbox" <?php checked($instance['description'], true) ?> id="<?php echo $this->get_field_id('description'); ?>" name="<?php echo $this->get_field_name('description'); ?>" value="1" />
51
+ <?php _e('Show Description', 'formidable') ?></label></p>
52
 
53
+ <p><label for="<?php echo $this->get_field_id('select_width'); ?>"><input class="checkbox" type="checkbox" <?php checked($instance['select_width'], true) ?> id="<?php echo $this->get_field_id('select_width'); ?>" name="<?php echo $this->get_field_name('select_width'); ?>" value="1" />
54
+ <?php _e('Fit Select Boxes into SideBar', 'formidable') ?></label></p>
55
 
56
  <p><label class="checkbox" for="<?php echo $this->get_field_id('size'); ?>"><?php _e('Field Size', 'formidable') ?>:</label>
57
 
css/frm_admin.css CHANGED
@@ -1,82 +1,147 @@
1
- .widget .widget-top, .postbox h3, .stuffbox h3{cursor: pointer;}
2
  .postbox h3.hndle{cursor:default;}
3
 
4
  ul.frm_form_nav {
5
- background:#ececec;
6
- border:solid 1px #c6c6c6;
7
- -moz-border-radius: 5px;
8
- border-radius: 5px;
9
- width:630px;
10
- margin:10px 0 13px;
11
- height:24px;
12
  float:left;
13
  *float:right;
14
  }
15
- .metabox-holder ul.frm_form_nav{margin-top:0;}
16
  ul.frm_form_nav li{
17
- float:right;
18
  display:block;
19
- width:20%;
20
  margin:0;
21
  }
22
  .frm_form_nav a {
23
- font-size:15px;
24
  text-decoration:none;
25
  display:block;
26
- height:20px;
27
- padding-top:4px;
28
  text-align:center;
29
- border-right:solid 1px #c6c6c6;
30
- border-left:solid 1px #ffffff;
 
 
31
  }
32
- .frm_form_nav a:active, .frm_form_nav a:focus {outline:none; border:none;}
 
33
  .frm_form_nav li a.current_page {
34
- background-position: left 0;
35
- color:#fff;
36
- background: #767676;
37
- }
38
- ul.frm_form_nav li.first a{
39
- border-radius: 5px 0 0 5px;
40
- border-left:none;
41
- }
42
- ul.frm_form_nav li.last {
43
- width:20%
44
- }
45
- ul.frm_form_nav li.last a{
46
- border-radius: 0 5px 5px 0;
47
- border-right:none;
48
- }
49
- ul.frm_form_nav li.last a.current_page{
50
- background:#767676;
51
- }
52
- p.search-box {margin-top:10px;}
53
- .wp-admin .form-wrap .frm_forms.with_frm_style{max-width:100%;}
54
- .wp-admin label.frm_primary_label{font-size:12px;color:#444444;font-weight:bold;text-align:left;margin:0;padding:0;width:auto;display:block;}
55
- .wp-admin .with_frm_style .form-field{margin-bottom:20px;}
56
- .wp-admin .with_frm_style div.description, .wp-admin .frm_error{margin:0;padding:0;font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;font-size:11px;color:#666666;font-weight:normal;text-align:left;font-style:normal;}
57
- .wp-admin .with_frm_style .frm_blank_field input, .wp-admin .with_frm_style .frm_blank_field textarea, .wp-admin .with_frm_style .frm_blank_field select, .wp-admin .with_frm_style .frm_blank_field #recaptcha_area{border-color:#ff0000;}
58
- .wp-admin .frm_required{color:#ff0000;font-weight:bold;}
59
- .wp-admin .form-field label.frm_primary_label{display:block;float:none;width:auto;}
60
- .wp-admin .with_frm_style .wp-editor-container textarea, .wp-admin .postbox .wp-editor-container textarea{border:none;}
61
- .wp-admin .with_frm_style .mceIframeContainer, .wp-admin .postbox .mceIframeContainer{background-color:#fff;}
62
-
63
- .wp-admin .frm_10radio{margin-right:10px;text-align:center;float:left;}
64
- .wp-admin .frm_form_fields input, .wp-admin .frm_form_fields select, .wp-admin .frm_form_fields textarea{
65
- font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;font-size:13px;margin-bottom:0;width:400px;
66
- -moz-border-radius:0px;-webkit-border-radius:0px;border-radius:0px;
67
- color:#222222;background-color:#eeeeee;border:1px solid #DFDFDF;
68
- }
69
- .wp-admin .frm_form_fields select{width:auto;}
70
- .wp-admin .frm_form_fields input[type="radio"], .wp-admin .frm_form_fields input[type="checkbox"]{width:auto;border:none;background:transparent;padding:0;}
71
- .wp-admin .frm_catlevel_2, .wp-admin .frm_catlevel_3, .wp-admin .frm_catlevel_4, .wp-admin .frm_catlevel_5{margin-left:18px;}
72
- .wp-admin .frm_form_fields input.auto_width, .wp-admin .frm_form_fields select.auto_width, .wp-admin .frm_form_fields textarea.auto_width{width:auto;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  .frm_set_select select, .frm_set_select select.auto_width{width:100%;}
74
- .wp-admin .frm_form_fields input:focus, .wp-admin .frm_form_fields select:focus,
75
- .wp-admin .frm_form_fields textarea:focus, .wp-admin .frm_focus_field input{background-color:#ffffff;border-color:#dddddd;}
76
 
77
- .wp-admin .frm_radio, .wp-admin .frm_checkbox{display:block;}
78
- .wp-admin .frm_radio label, .wp-admin .frm_checkbox label{font-family:Verdana,Arial,sans-serif;font-size:12px;color:#302c3f;font-weight:normal;display:inline;}
79
- .wp-admin .frm_radio input[type="radio"], .wp-admin .frm_checkbox input[type="checkbox"]{margin-right:5px;width:auto;}
80
  .wp-admin input[type="radio"], .wp-admin input[type="checkbox"]{width:auto;}
81
 
82
  .frm_form_fields div.star{height:auto;left:auto;top:auto;letter-spacing:auto;position:static;}
@@ -84,25 +149,13 @@ p.search-box {margin-top:10px;}
84
 
85
  .frm_ext_sc{display:none;}
86
  .frm_long_input{width:95% !important;}
87
- .frm_tooltip{
88
- background:#777777 url(../images/tooltip_white.png) no-repeat 20px 11px;
89
- padding:10px 40px;z-index:100;display:none;
90
- border:1px solid #ccc;
91
- -moz-box-shadow:1px 1px 2px rgba(0,0,0,0.4);
92
- -webkit-box-shadow:5px 5px 25px rgba(0,0,0 0.5);
93
- box-shadow:5px 5px 25px rgba(0,0,0,0.5);
94
- position:fixed;
95
- width:100%;
96
- min-height:60px;
97
- bottom:0;left:0;
98
- -webkit-box-sizing:border-box;
99
- -moz-box-sizing:border-box;
100
- box-sizing:border-box;
101
- color:#fff;
102
- }
103
  img.frm_help{margin-left:2px;vertical-align:middle;padding-bottom:2px;}
104
  .frm-loading-img{background:url(../images/ajax_loader.gif) no-repeat center center;padding:6px 12px;visibility:hidden;}
105
 
 
 
 
106
  #editorcontainer #dyncontent{
107
  margin:0; width:100%;
108
  padding: 6px;
@@ -115,12 +168,23 @@ img.frm_help{margin-left:2px;vertical-align:middle;padding-bottom:2px;}
115
  box-sizing: border-box;
116
  }
117
  .frmcenter{text-align:center;}
118
- #wpbody-content .frmicon.icon32, .icon32-posts-frm_display{background: url(../images/form_32.png) no-repeat top center !important;}
119
- #wpbody-content .frm_report_icon.icon32{background: url(../images/report_icon.png) no-repeat top center !important;}
120
- .frm_postbox_icon {margin: -6px 0 0 -10px;}
121
 
122
- .frm_form_builder a:hover{text-decoration:underline;}
 
 
 
 
 
 
123
 
 
 
 
 
 
 
 
 
124
  #postbox-container-1{width:270px;}
125
  #postbox-container-1 .nodrag a{cursor:pointer;}
126
  #postbox-container-1 .frm_field_list #frm-insert-fields .button{
@@ -130,16 +194,24 @@ img.frm_help{margin-left:2px;vertical-align:middle;padding-bottom:2px;}
130
  #postbox-container-1 .frm_field_list #frm-insert-fields .button a{display:block;font-weight:normal;text-decoration:none;font-size:11px !important;}
131
  .frm_col_one, #postbox-container-1 .frm_field_list .button.frm_col_one{margin-right:10px;clear:both;}
132
  .frm_html_legend pre{display:inline;}
 
133
 
134
  #ed_fullscreen{display:none !important;}
135
- #poststuff h2.frm_ipe_form_name{
136
- border:1px solid #dfdfdf; background-color:#fff; display:block; padding:0 5px; margin-top:0;
137
- -moz-border-radius:4px; -webkit-border-radius:4px;
 
 
 
 
138
  }
139
- .frm_ipe_form_name input.inplace_field{
140
- border:none; width:90% !important;
141
- font-size:1em; background:transparent;
142
- font-weight: 200; box-shadow:none;
 
 
 
143
  }
144
  .frm_field_opts_list{
145
  height:105px; margin-top:10px;
@@ -153,18 +225,44 @@ img.frm_help{margin-left:2px;vertical-align:middle;padding-bottom:2px;}
153
  box-sizing: border-box;
154
  }
155
 
 
 
 
156
  .form-table .form-field input, .form-table .form-field .quicktags-toolbar input,
157
  .form-field input, .form-field textarea, .form-field .quicktags-toolbar input{width:auto;}
158
- .form-table.frm_lics_form td{padding:0;}
159
  .frm_pro_installed{margin-top:0.5em;}
160
  .frm_aff_link{float:right;}
161
- .form-field input[type="checkbox"], .form-field input[type="radio"]{border:none !important;}
 
 
162
  textarea.inplace_field{width:98% !important;}
163
  .inplace_field{width:70% !important;}
164
- .frm_rte{background:url(../images/rte.gif) no-repeat; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  .frm_rte .howto{margin:10px 0 45px 0;}
 
166
  .button-secondary.frm_html_field{
167
- background-color:#ededed;padding:10px;line-height:inherit;width:auto;
168
  -moz-border-radius:0;-webkit-border-radius:0;border-radius:0;
169
  -webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;
170
  }
@@ -173,36 +271,126 @@ textarea.inplace_field{width:98% !important;}
173
  -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;
174
  float:none !important;
175
  }
176
- .wp-admin .frm_full_rte textarea{width:98%; padding:0;}
 
 
177
  .frm_field_box{padding:5px;min-height:20px;}
178
 
 
 
179
  .frm_charts object{background:transparent;}
 
180
 
181
  .frm_single_show_hover, .frm-show-click{display:none;}
182
  .frm-show-hover, .frm_single_visible_hover{visibility:hidden;}
183
  li.ui-state-default.selected .frm-show-click{display:inline;}
184
  li.ui-state-default.selected .frm-show-hover{visibility:visible;}
185
  #new_fields span.ui-icon{width:16px;}
186
- #form_settings_page .tabs-panel, .frm_settings_form .tabs-panel{max-height:none !important; min-height:260px;}
 
 
 
 
 
187
  .tabs-panel{height:auto !important; min-height:260px;}
188
  .tabs-panel.panel_secondary{min-height:20px;margin-top:10px;margin-left:150px;}
189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  .frm_email_reply_container select{width:150px;}
191
  .frm_email_reply_container input{width:150px;}
192
 
193
- .frm_action_icon{width:14px; height:14px; background:url(../images/icons.png) no-repeat;display:block;float:left;margin-left:4px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194
  span.frm_action_icon{margin:0 4px 0 0;}
195
- .frm_error_icon,.frm_reload_icon{margin-top:5px;}
196
- .frm_inactive_icon.frm_action_icon.frm_error_icon{background-position:0 -14px;}
197
- .frm_action_icon.frm_reload_icon{background-position:-15px 0;}
198
- .frm_inactive_icon.frm_action_icon.frm_reload_icon{background-position:-15px -14px;}
199
- .frm_action_icon.frm_required_icon{background-position:-30px 0;margin:0;}
200
- .frm_inactive_icon.frm_action_icon.frm_required_icon, .frm_action_icon.frm_required0{background-position:-30px -14px;}
 
 
 
 
 
201
 
202
  .frm-hover-icon{padding-left:5px;}
203
  .frm-move.frm-hover-icon{padding-left:3px;}
204
- .frm_key_icons img{width:14px;}
205
  .frm-move{cursor:move;}
 
 
 
 
 
 
 
 
 
 
206
  .howto{font-weight:normal;}
207
  span.howto{display:inline;}
208
  #frm_form_editor_container .themeRoller span.howto{display:inline;}
@@ -222,18 +410,22 @@ span.howto{display:inline;}
222
  font-size:inherit;
223
  }
224
 
225
- .frm_10radio{margin-right:10px; text-align:center; float:left;}
 
 
 
226
  .frm_form_fields div.rating-cancel, .frm_form_fields div.star-rating{
227
- float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden;
228
- }
229
- .frm_form_fields div.rating-cancel a{background:url(../pro/images/delete.png) no-repeat 0 -16px}
230
- .frm_form_fields div.star-rating, .frm_form_fields div.star-rating a{background:url(../pro/images/star.png) no-repeat 0 0px}
231
- .frm_form_fields div.rating-cancel a, .frm_form_fields div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0}
232
- .frm_form_fields div.star-rating-on a{background-position:0 -16px!important}
233
- .frm_form_fields div.star-rating-hover a{background-position:0 -32px}
234
- .frm_form_fields div.rating-cancel.star-rating-hover a{background-position:0 -16px}
 
235
  .frm_form_fields div.star-rating-readonly a{cursor:default !important}
236
- .frm_form_fields div.star-rating{background:transparent!important;overflow:hidden!important}
237
 
238
  #frm_form_editor_container .ui-widget-content{display:none; padding:15px;}
239
  #frm_form_editor_container .ui-widget-content label{float:left; width:170px; text-align:right; padding-right:5px; clear:both;}
@@ -241,14 +433,16 @@ span.howto{display:inline;}
241
  #frm_form_editor_container .ui-state-default{color:#333;}
242
  #frm_form_editor_container .ui-state-default a.frm_orange, #postbox-container-1 a.frm_orange{color:#D54E21;}
243
 
 
 
244
  #new_fields .widget, .frm_settings_page .widget{background:#fff;}
245
  #new_fields .widget-title h4{font-weight:normal;}
246
  #new_fields .widget, #postbox-container-1 .widget, .frm_settings_page .widget{margin-bottom:0;}
247
- .frm_settings_page .widget-inside{padding-top:0;padding-bottom:10px;}
248
  #new_fields .widget, .widget-inside{display: none;}
249
  #new_fields li.ui-state-default.selected .widget{display:block;}
250
  #new_fields .form-field .widget{ display:none;}
251
- #new_fields{min-height:440px; padding-bottom:60px; margin-bottom:0;}
252
  #postbox-container-1 .ui-state-default, #new_fields li.ui-state-default{
253
  border:none;font-weight:normal;background-color:transparent; background-image:none;padding:6px; margin:20px 0;
254
  }
@@ -260,23 +454,97 @@ span.howto{display:inline;}
260
  text-align:center;
261
  margin-bottom:3px;
262
  }
 
263
  #new_fields .edit_field_type_break input.inplace_field{
264
  text-align:center;width:150px;background-color:transparent;
265
  border:none;box-shadow:none;
266
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
267
 
268
- .frm-category-tabs a{outline:none;}
 
 
 
 
 
 
 
269
 
270
  .frm_ipe_field_option{vertical-align:text-top;}
271
  .selected .frm_ipe_field_option.frm_with_key,
272
  .selected .frm_ipe_field_option_key{width:45%; display:inline-block !important;}
 
 
273
  .selected .frm_ipe_field_option.frm_with_key{margin-right:10px;}
274
  .selected .frm_ipe_field_option.frm_with_key .inplace_field,
275
  .selected .frm_ipe_field_option_key .inplace_field{width:100% !important;}
276
- .frm_option_val_label{float:left; width:45%; margin-left:30px; margin-right:10px;}
277
  .frm_option_key_label, .frm_option_val_label{font-weight:bold;font-size:11px;}
278
  .edit_field_type_select .frm_option_val_label{margin-left:12px;}
279
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
  #postbox-container-1 .ui-state-default{color:#000;}
281
  #new_fields li.ui-state-default:hover, #new_fields li.ui-state-default.selected, .frm_update_msg{
282
  padding:5px;
@@ -289,8 +557,13 @@ span.howto{display:inline;}
289
  background-image: linear-gradient(top, #f7fcfe, #eff8ff); /* proposed W3C Markup */
290
  border:1px dashed #d1e5ee;
291
  }
292
- #new_fields li.ui-state-default.selected{
293
- border-style:solid;
 
 
 
 
 
294
  background-color: #e8eff4; /* Fallback */
295
  background-image: -ms-linear-gradient(top, #eff8ff, #e8eff4); /* IE10 */
296
  background-image: -moz-linear-gradient(top, #eff8ff, #e8eff4); /* Firefox */
@@ -300,6 +573,7 @@ span.howto{display:inline;}
300
  background-image: linear-gradient(top, #eff8ff, #e8eff4); /* proposed W3C Markup */
301
  }
302
 
 
303
  .frm_email_actions.feature-filter{
304
  font-weight:bold;
305
  border:1px solid #DFDFDF;
@@ -309,14 +583,19 @@ span.howto{display:inline;}
309
  line-height:20px;
310
  }
311
  .frm_email_icons{
312
- padding-left:15px;
313
  }
314
 
315
- .frm_update_msg{border-style:solid;margin:5px 0 15px;}
 
 
316
  .widefat td{width:auto;}
317
- .widefat .column-id{width:3.2em;}
318
  .widefat .column-show_count{width:5em;}
319
  .widefat .column-shortcode{width:9em;}
 
 
 
320
  .view-switch{display:none;}
321
  select[name="m"]{display:none;}
322
 
@@ -359,15 +638,91 @@ ul .frm_col_two{float:right;}
359
  iframe#dyncontent_ifr{min-height:150px;}
360
  #frm-insert-fields-box ul.frm_code_list, #frm-conditionals ul.frm_code_list{padding-right:0.9em;}
361
 
362
- .wrap .contextual-help-tabs ul{min-height:300px;}
363
-
364
- a{cursor: pointer;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
365
 
366
  /*form field groups*/
367
  .widget .field-group {
368
  float: left;
369
- width: 65px;
370
- margin: 10px 4px 0 0;
371
  }
372
  .field-group-background{
373
  margin: 4px 0 0;
@@ -378,8 +733,11 @@ a{cursor: pointer;}
378
  .field-group-border, .field-group-corners {clear: left;}
379
 
380
  /*form labels*/
 
 
 
 
381
  .widget .field-group label {
382
- font-size: 1em;
383
  margin: 6px 0 5px;
384
  display: block;
385
  }
@@ -391,14 +749,14 @@ a{cursor: pointer;}
391
  }
392
  .global-font .field-group label{
393
  float: left;
394
- margin: 0 4px 0 0;
395
  text-align: right;
396
- width: 45px;
397
  }
398
 
399
  /*form inputs/selects */
400
  .widget input.hex, .field-group input[type="text"]{
401
- width: 95%;
402
  outline: 0;
403
  }
404
  .global-font .field-group input[type="text"]{width:auto;}
@@ -470,12 +828,6 @@ a{cursor: pointer;}
470
  outline: 0 !important;
471
  }
472
 
473
-
474
- /*rounded corner warnings*/
475
- a.cornerWarning { color: red !important; text-decoration: none; }
476
- p.cornerWarning {font-size: .9em; margin: 5px 0;}
477
-
478
-
479
  /*Farbtastic styles*/
480
  .farbtastic {
481
  position: relative;
@@ -500,19 +852,19 @@ p.cornerWarning {font-size: .9em; margin: 5px 0;}
500
  height: 101px;
501
  }
502
  .farbtastic .wheel {
503
- background: url(../images/wheel.png) no-repeat;
504
  width: 195px;
505
  height: 195px;
506
  }
507
  .farbtastic .overlay {
508
- background: url(../images/mask.png) no-repeat;
509
  }
510
  .farbtastic .marker {
511
  width: 17px;
512
  height: 17px;
513
  margin: -8px 0 0 -8px;
514
  overflow: hidden;
515
- background: url(../images/marker.png) no-repeat;
516
  }
517
 
518
 
@@ -523,6 +875,7 @@ ul#icons span.ui-icon {float: left; margin: 0 4px;}
523
  /* ---------------------------------------------------------------
524
  Clearfix
525
  --------------------------------------------------------------- */
 
526
  .clearfix:after {
527
  content: ".";
528
  display: block;
@@ -537,11 +890,52 @@ Clearfix
537
  * html .clearfix {height: 1%;}
538
  .clearfix {display: block;}
539
  /* End hide from IE-mac */
540
-
 
 
 
 
 
 
 
 
541
  @media only screen and (max-width: 850px) {
542
- #postbox-container-1 .frm_field_list{position:static; width:100%;}
543
- .frm_col_one{clear:none;}
544
- .field_type_list li{margin-right:4px;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
545
  }
546
 
547
  /* PRINT */
1
+ a, .widget .widget-top, .postbox h3, .stuffbox h3{cursor: pointer;}
2
  .postbox h3.hndle{cursor:default;}
3
 
4
  ul.frm_form_nav {
5
+ /*background:#ececec;*/
6
+ margin:2px 0 20px;
7
+ min-width:570px;
 
 
 
 
8
  float:left;
9
  *float:right;
10
  }
 
11
  ul.frm_form_nav li{
12
+ float:left;
13
  display:block;
 
14
  margin:0;
15
  }
16
  .frm_form_nav a {
17
+ font-size: 13px;
18
  text-decoration:none;
19
  display:block;
 
 
20
  text-align:center;
21
+ padding:5px 25px;
22
+ border:solid 1px #c6c6c6;
23
+ border-right:0;
24
+ background-color:#EEE;
25
  }
26
+ .frm_38_trigger .frm_form_nav a { background-color:#fff; }
27
+ .frm_form_nav a:active, .frm_form_nav a:focus {outline:none;}
28
  .frm_form_nav li a.current_page {
29
+ color:#333;
30
+ font-weight:700;
31
+ }
32
+ ul.frm_form_nav > li.first a{
33
+ border-top-left-radius:4px;
34
+ border-bottom-left-radius:4px;
35
+ }
36
+ ul.frm_form_nav li.last > a{
37
+ font-weight:lighter;
38
+ font-size:12px;
39
+ border-right:solid 1px #c6c6c6;
40
+ border-top-right-radius:4px;
41
+ border-bottom-right-radius:4px;
42
+ padding:5px 8px;
43
+ color:#333;
44
+ }
45
+ .frm_form_nav .frm-dropdown-menu li {
46
+ float:none;
47
+ }
48
+ .frm_form_nav .frm-dropdown-menu a{
49
+ font-size:12px;
50
+ background:none;
51
+ border:none;
52
+ text-align:left;
53
+ }
54
+ .formidable_page_formidable-entries p.search-box {margin-top:8px;}
55
+ .frm_form_nav .frm-dropdown-menu a:hover {background-color:#eaf2fa;}
56
+ .frm_title_head{color:#747474;margin:0;}
57
+ .wrap > .subsubsub{clear:both; margin:0;}
58
+ #poststuff {padding-top:0;}
59
+ .post-new-php.post-type-frm_display #poststuff {padding-top:10px;}
60
+ .frm_forms.with_frm_style{max-width:100%;}
61
+ .with_frm_style form label.frm_primary_label{font-size:12px;color:#444;font-weight:bold;text-align:left;margin:0;padding:0;width:auto;display:block;max-width:90%;min-height:20px;}
62
+ form label.frm_primary_label input{font-size:12px;}
63
+ .with_frm_style form .form-field{margin-bottom:20px;}
64
+ .with_frm_style form div.description, .frm_error{margin:0;padding:0;font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,sans-serif;font-size:11px;color:#666;font-weight:normal;text-align:left;font-style:normal;}
65
+ .frm_error{color:#B94A48;}
66
+ .with_frm_style form .frm_blank_field input, .with_frm_style form .frm_blank_field textarea, .with_frm_style form .frm_blank_field select, .with_frm_style form .frm_blank_field #recaptcha_area{border-color:#B94A48;}
67
+ .with_frm_style form .frm_blank_field label{color:#B94A48;}
68
+ .frm_required{color:#B94A48;font-weight:bold;}
69
+ .form-field label.frm_primary_label{display:block;float:none;width:auto;}
70
+ .with_frm_style .wp-editor-container textarea, .postbox .wp-editor-container textarea{border:none;}
71
+ .with_frm_style .mceIframeContainer, .postbox .mceIframeContainer{background-color:#fff;}
72
+ .frm_error_style{color:#B94A48;border:1px solid #EBCCD1;background-color:#F2DEDE;padding:8px 15px;font-size:14px;margin:5px 0 15px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}
73
+ .show_csv{display:none;}
74
+ .frm_hidden{display:none;}
75
+
76
+ /*Switch form dropdown*/
77
+ .caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #000000;border-right:4px solid transparent;border-left:4px solid transparent;border-bottom:0 dotted;}
78
+ .dropdown{position:relative;}
79
+ .dropdown-toggle:focus{outline:0;}
80
+ .frm-dropdown-menu{
81
+ max-height:200px;
82
+ overflow:scroll;
83
+ overflow-x: hidden;
84
+ position:absolute;
85
+ top:100%;
86
+ left:0;
87
+ z-index:1000;
88
+ display:none;
89
+ float:left;
90
+ min-width:160px;
91
+ width:auto;
92
+ padding:5px 0;
93
+ margin:2px 0 0;
94
+ list-style:none;
95
+ font-size:14px;
96
+ background-color:#ffffff;
97
+ border:1px solid #cccccc;
98
+ border:1px solid rgba(0, 0, 0, 0.15);
99
+ border-radius:4px;
100
+ -webkit-box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
101
+ box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
102
+ background-clip:padding-box;
103
+ }
104
+ .frm-dropdown-menu.pull-right{right:0;left:auto;}
105
+ .frm-dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5;}
106
+ .frm-dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333333;white-space:nowrap;}
107
+ .frm-dropdown-menu>li>a:hover,.frm-dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5;}
108
+ .frm-dropdown-menu>.active>a,.frm-dropdown-menu>.active>a:hover,.frm-dropdown-menu>.active>a:focus{color:#ffffff;text-decoration:none;outline:0;background-color:#428bca;}
109
+ .frm-dropdown-menu>.disabled>a,.frm-dropdown-menu>.disabled>a:hover,.frm-dropdown-menu>.disabled>a:focus{color:#999999;}
110
+ .frm-dropdown-menu>.disabled>a:hover,.frm-dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed;}
111
+ .open>.frm-dropdown-menu{display:block;}
112
+ .open>a{outline:0;}
113
+ .dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999999;}
114
+ .dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990;}
115
+ .pull-right>.frm-dropdown-menu{right:0;left:auto;}
116
+ .navbar-fixed-bottom .dropdown .caret{border-top:0 dotted;border-bottom:4px solid #000000;content:"";}
117
+ .navbar-fixed-bottom .dropdown .frm-dropdown-menu{top:auto;bottom:100%;margin-bottom:1px;}
118
+
119
+ .frm_scale{margin-right:10px;text-align:center;float:left;}
120
+ .frm_scale input{display:block;margin-bottom:5px;}
121
+ .frm_form_fields:not(.frm_sample_form) input, .frm_form_fields:not(.frm_sample_form) select, .frm_form_fields:not(.frm_sample_form) textarea{
122
+ font-size:13px;margin-bottom:0;width:400px;max-width:100%;
123
+ color:#222;
124
+ background-color:#fafafa;
125
+ border:solid 1px #dfdfdf;
126
+ }
127
+ .frm_form_fields textarea.wp-editor-area{width:100%;border:none;}
128
+ .frm_form_fields input[type="file"], .frm_form_fields input[type="file"]:disabled{
129
+ background:transparent;
130
+ border:none;
131
+ box-shadow:none;
132
+ width:auto;
133
+ }
134
+ .frm_form_fields select{width:auto;}
135
+ .frm_form_fields input[type="radio"], .frm_form_fields input[type="checkbox"]{width:auto;padding:0;}
136
+ .frm_catlevel_2, .frm_catlevel_3, .frm_catlevel_4, .frm_catlevel_5{margin-left:18px;}
137
+ .frm_form_fields input.auto_width, .frm_form_fields select.auto_width, .frm_form_fields textarea.auto_width{width:auto;}
138
  .frm_set_select select, .frm_set_select select.auto_width{width:100%;}
139
+ .frm_form_fields input:focus, .frm_form_fields select:focus,
140
+ .frm_form_fields textarea:focus, .frm_focus_field input{background-color:#fff;border-color:#ddd;}
141
 
142
+ .frm_radio, .frm_checkbox{display:block;}
143
+ .frm_radio label, .frm_checkbox label{font-family:Verdana,Arial,sans-serif;font-size:12px;color:#302c3f;font-weight:normal;display:inline;}
144
+ .frm_radio input[type="radio"], .frm_checkbox input[type="checkbox"]{margin-right:5px;width:auto;}
145
  .wp-admin input[type="radio"], .wp-admin input[type="checkbox"]{width:auto;}
146
 
147
  .frm_form_fields div.star{height:auto;left:auto;top:auto;letter-spacing:auto;position:static;}
149
 
150
  .frm_ext_sc{display:none;}
151
  .frm_long_input{width:95% !important;}
152
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  img.frm_help{margin-left:2px;vertical-align:middle;padding-bottom:2px;}
154
  .frm-loading-img{background:url(../images/ajax_loader.gif) no-repeat center center;padding:6px 12px;visibility:hidden;}
155
 
156
+ label input[type="checkbox"], label input[type="radio"]{vertical-align:baseline;}
157
+ .frm_38_trigger label input[type="checkbox"], .frm_38_trigger label input[type="radio"] {vertical-align:inherit;}
158
+
159
  #editorcontainer #dyncontent{
160
  margin:0; width:100%;
161
  padding: 6px;
168
  box-sizing: border-box;
169
  }
170
  .frmcenter{text-align:center;}
 
 
 
171
 
172
+ /*ICONS*/
173
+ #wpbody-content .frmicon.icon32, .icon32-posts-frm_display{background: url(../images/form_32_sprite.png) no-repeat top left !important;}
174
+ #wpbody-content #form_settings_page .icon32 {background-position: -56px 0 !important;}
175
+ #wpbody-content #form_entries_page .icon32 {background-position:-114px 0 !important;}
176
+ #wpbody-content #form_views_page .icon32, #wpbody-content .icon32-posts-frm_display {background-position: -173px 0 !important;}
177
+ #wpbody-content #form_reports_page .icon32 {background-position: -230px 0 !important;}
178
+ #wpbody-content #form_global_settings .frmicon.icon32 {background-position: -290px 0 !important;}
179
 
180
+ .frm_postbox_icon {
181
+ margin: -6px 0 0 -10px;
182
+
183
+ }
184
+
185
+ .frm_form_builder a:hover{text-decoration:underline;}
186
+ .frm_38_trigger .widget-title h4 {padding:10px 15px;}
187
+ .frm_38_trigger .widget-top a.widget-action:after {padding: 7px 12px 0;}
188
  #postbox-container-1{width:270px;}
189
  #postbox-container-1 .nodrag a{cursor:pointer;}
190
  #postbox-container-1 .frm_field_list #frm-insert-fields .button{
194
  #postbox-container-1 .frm_field_list #frm-insert-fields .button a{display:block;font-weight:normal;text-decoration:none;font-size:11px !important;}
195
  .frm_col_one, #postbox-container-1 .frm_field_list .button.frm_col_one{margin-right:10px;clear:both;}
196
  .frm_html_legend pre{display:inline;}
197
+ .frm_code_list .frmkeys{display:none;}
198
 
199
  #ed_fullscreen{display:none !important;}
200
+
201
+ .frm_posttax_row.menu-settings{
202
+ margin:0;
203
+ padding:1em 0;
204
+ }
205
+ .menu-settings:first-of-type{
206
+ border:none;
207
  }
208
+
209
+ .frm_posttax_opt_list{
210
+ border:1px solid #DFDFDF;
211
+ padding:10px;
212
+ overflow:auto;
213
+ max-height:200px;
214
+ background-color:#fff;
215
  }
216
  .frm_field_opts_list{
217
  height:105px; margin-top:10px;
225
  box-sizing: border-box;
226
  }
227
 
228
+ .frm_white_bg{background-color:#fff;}
229
+ .frm_border_light{border:solid 1px #ddd;}
230
+
231
  .form-table .form-field input, .form-table .form-field .quicktags-toolbar input,
232
  .form-field input, .form-field textarea, .form-field .quicktags-toolbar input{width:auto;}
 
233
  .frm_pro_installed{margin-top:0.5em;}
234
  .frm_aff_link{float:right;}
235
+ .frm_select_box{text-align:center;font-weight:bold;width:100%;}
236
+ .wp-list-table .frm_select_box{text-align:left;font-weight:normal;font-size:10px;}
237
+ .wp-list-table .frm_no_items.frm_select_box{text-align:center;font-weight:bold;width:500px;max-width:100%;font-size:inherit;}
238
  textarea.inplace_field{width:98% !important;}
239
  .inplace_field{width:70% !important;}
240
+ .frm_ipe_form_key .inplace_field, .frm_ipe_field_key .inplace_field{width:7.5em !important;}
241
+ .frm_ipe_form_key, .frm_ipe_field_key, .frm_field_key{
242
+ text-overflow:ellipsis;
243
+ white-space:nowrap;
244
+ width:7.5em;
245
+ overflow:hidden;
246
+ float:right;
247
+ background-color:#FFFBCC;
248
+ }
249
+ .frm_ipe_form_key.editInPlace-active, .frm_ipe_field_key.editInPlace-active{
250
+ white-space:normal;
251
+ width:auto;
252
+ float:none;
253
+ display:inline;
254
+ background-color:transparent !important;
255
+ }
256
+ .frm_field_key{background-color:#F7F7F7;}
257
+ .edit-slug-box{width:13em;max-width:30%;float:right;}
258
+ .edit-slug-box{color:#777;}
259
+ table td, .form-table tr td{vertical-align:top;}
260
+
261
+ .frm_rte{background:url(../pro/images/rte.gif) no-repeat; }
262
  .frm_rte .howto{margin:10px 0 45px 0;}
263
+ .frm_38_trigger .frm_rte .howto{margin-bottom:39px;}
264
  .button-secondary.frm_html_field{
265
+ background-color:#ededed;padding:10px 20px;line-height:inherit;width:auto;height:auto !important;
266
  -moz-border-radius:0;-webkit-border-radius:0;border-radius:0;
267
  -webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;
268
  }
271
  -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;
272
  float:none !important;
273
  }
274
+ .frm_38_trigger #new_fields .frm_rte textarea{margin-bottom:0;}
275
+
276
+ .frm_full_rte textarea{width:98%; padding:0;}
277
  .frm_field_box{padding:5px;min-height:20px;}
278
 
279
+ .frm_indent_opt, td.frm_indent_opt{padding-left:25px;}
280
+
281
  .frm_charts object{background:transparent;}
282
+ .frm_charts h2 {height:34px;}
283
 
284
  .frm_single_show_hover, .frm-show-click{display:none;}
285
  .frm-show-hover, .frm_single_visible_hover{visibility:hidden;}
286
  li.ui-state-default.selected .frm-show-click{display:inline;}
287
  li.ui-state-default.selected .frm-show-hover{visibility:visible;}
288
  #new_fields span.ui-icon{width:16px;}
289
+ #form_settings_page .tabs-panel, .frm_settings_form .tabs-panel{max-height:none !important; min-height:260px !important;}
290
+
291
+ #form_settings_page .frm_postmeta_row select, #form_settings_page .frm_posttax_row select{max-width:35%;}
292
+ select.frm_cancelnew, input.frm_enternew{width:175px;}
293
+ .categorydiv div.tabs-panel.general_settings{max-height:none;}
294
+ .frm_38_trigger .categorydiv div.tabs-panel.general_settings .postbox{margin-bottom:0;}
295
  .tabs-panel{height:auto !important; min-height:260px;}
296
  .tabs-panel.panel_secondary{min-height:20px;margin-top:10px;margin-left:150px;}
297
 
298
+ #frm_where_options select{max-width:200px;}
299
+ #frm_where_options{min-height:31px;}
300
+
301
+ .tabs-panel.active .tabs-panel, .frm_settings_form .tabs-panel .tabs-panel{border:none;padding:0;} /*for add-on reverse compatability */
302
+ /*@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
303
+ @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
304
+ @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }*/
305
+
306
+ .frm-fade-in {
307
+ opacity:0; /* make things invisible upon start */
308
+ -webkit-animation:fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
309
+ -moz-animation:fadeIn ease-in 1;
310
+ animation:fadeIn ease-in 1;
311
+
312
+ -webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
313
+ -moz-animation-fill-mode:forwards;
314
+ animation-fill-mode:forwards;
315
+
316
+ -webkit-animation-duration:0.5s;
317
+ -moz-animation-duration:0.5s;
318
+ animation-duration:0.5s;
319
+ }
320
+
321
+ .frm-fade-in.frm_delay_one{
322
+ -webkit-animation-delay: 0.5s;
323
+ -moz-animation-delay: 0.5s;
324
+ animation-delay: 0.5s;
325
+ }
326
+
327
  .frm_email_reply_container select{width:150px;}
328
  .frm_email_reply_container input{width:150px;}
329
 
330
+ .frm_icon_font{
331
+ text-decoration:none;
332
+ text-shadow: none;
333
+ font-weight:normal;
334
+ color:#A0A0A0;
335
+ }
336
+
337
+ .frm_icon_font:before{
338
+ font-family: 's11-fp' !important;
339
+ font-size:16px;
340
+ speak: none;
341
+ -webkit-font-smoothing: antialiased;
342
+ -moz-osx-font-smoothing: grayscale;
343
+ -moz-transition: all .1s ease-in-out;
344
+ -webkit-transition: all .1s ease-in-out;
345
+ transition: all .1s ease-in-out;
346
+ }
347
+
348
+ .frm_icon_font:hover, a.frm_icon_font:hover{
349
+ color:#b7b7b7;
350
+ text-decoration:none;
351
+ }
352
+
353
+ .frm_download_template:before{content: '\e615';}
354
+ .frm_add_entry_icon:before{content: '\e602';}
355
+ .frm_duplicate_form:before{content: '\e61b';}
356
+ .frm_move_field:before{content: '\e61a';}
357
+ .frm_delete_icon:before{content: '\e610';}
358
+ .frm_new_template_icon:before{content: '\e614';}
359
+ .frm_tooltip_icon:before{content: '\e611';font-size:13px;vertical-align:top;}
360
+ .frm_duplicate_form:active, .frm_move_field:active, .frm_delete_icon:active {outline:none;}
361
+ .frm_single_option .frm_delete_icon{float:left;visibility:hidden;margin-right:3px;}
362
+
363
+ .frm_action_icon{
364
+ float:left;
365
+ margin-left:5px;
366
+ margin-top:5px;
367
+ }
368
  span.frm_action_icon{margin:0 4px 0 0;}
369
+ .frm_action_icon:active {outline:none;}
370
+ a.frm_action_icon:hover {text-decoration:none;}
371
+ .frm_action_icon.frm_error_icon:before{content: '\e608';}
372
+ .frm_inactive_icon.frm_action_icon.frm_error_icon:before{content: '\e606';}
373
+ .frm_action_icon.frm_reload_icon:before{content: '\e60a';font-size:15px;}
374
+ .frm_inactive_icon.frm_action_icon.frm_reload_icon:before{content: '\e60b';}
375
+
376
+ .frm_action_icon.frm_required_icon:before{content: '\e612'; font-size:7px; vertical-align:top; line-height: 2.1em; margin-right:3px;}
377
+ .frm_38_trigger .frm_action_icon.frm_required_icon:before{font-size:8px;}
378
+ .frm_action_icon.frm_required_icon {color:#000;margin-top:0;}
379
+ .frm_inactive_icon.frm_action_icon.frm_required_icon, .frm_action_icon.frm_required0{color:#ababab;}
380
 
381
  .frm-hover-icon{padding-left:5px;}
382
  .frm-move.frm-hover-icon{padding-left:3px;}
 
383
  .frm-move{cursor:move;}
384
+
385
+
386
+ .frm_remove_tag:before{content:'\e600';vertical-align: middle;}
387
+ .frm_add_tag:before{content:'\e602';vertical-align: middle;}
388
+
389
+ .frm_invalid_icon:before{content: '\e608';padding-right:10px;}
390
+ .frm_invalid_icon{color:#B94A48;}
391
+ .frm_valid_icon:before{content: '\e606';padding-right:10px;}
392
+ .frm_valid_icon{color:#468847;}
393
+
394
  .howto{font-weight:normal;}
395
  span.howto{display:inline;}
396
  #frm_form_editor_container .themeRoller span.howto{display:inline;}
410
  font-size:inherit;
411
  }
412
 
413
+ .tagchecklist .frm_exclude_cat_list span{display:inline;}
414
+ .frm_38_trigger .tagchecklist span a:before{line-height:23px;text-align:start;}
415
+
416
+ .frm_scale{margin-right:10px; text-align:center; float:left;}
417
  .frm_form_fields div.rating-cancel, .frm_form_fields div.star-rating{
418
+ float:left;width:17px;height:17px;cursor:pointer;display:block;background:transparent;overflow:hidden;
419
+ }
420
+ .frm_form_fields div.rating-cancel{display:none !important;}
421
+ .frm_form_fields div.rating-cancel a:before{font:16px/1 'dashicons';content:'\f460';color:#CDCDCD;}
422
+ .frm_form_fields div.star-rating:before, .frm_form_fields div.star-rating a:before{font:16px/1 'dashicons';content:'\f154';color:#F0AD4E;}
423
+ .frm_form_fields div.rating-cancel a, .frm_form_fields div.star-rating a{display:block;width:16px;height:100%;border:0}
424
+ .frm_form_fields div.star-rating-on:before, .frm_form_fields div.star-rating-on a:before{content:'\f155';}
425
+ .frm_form_fields div.star-rating-hover:before, .frm_form_fields div.star-rating-hover a:before{content:'\f155';}
426
+ .frm_form_fields div.rating-cancel.star-rating-hover a:before{color:#B63E3F;}
427
  .frm_form_fields div.star-rating-readonly a{cursor:default !important}
428
+ .frm_form_fields div.star-rating{overflow:hidden !important}
429
 
430
  #frm_form_editor_container .ui-widget-content{display:none; padding:15px;}
431
  #frm_form_editor_container .ui-widget-content label{float:left; width:170px; text-align:right; padding-right:5px; clear:both;}
433
  #frm_form_editor_container .ui-state-default{color:#333;}
434
  #frm_form_editor_container .ui-state-default a.frm_orange, #postbox-container-1 a.frm_orange{color:#D54E21;}
435
 
436
+ #styling_settings input[type=checkbox], #styling_settings input[type=radio] {border:solid 1px #bbb;}
437
+ #styling_settings .widget .widget-top, #frm_form_editor_container .widget .widget-top {cursor:pointer;}
438
  #new_fields .widget, .frm_settings_page .widget{background:#fff;}
439
  #new_fields .widget-title h4{font-weight:normal;}
440
  #new_fields .widget, #postbox-container-1 .widget, .frm_settings_page .widget{margin-bottom:0;}
441
+ .frm_settings_page .widget-inside{padding:0 5px 5px;}
442
  #new_fields .widget, .widget-inside{display: none;}
443
  #new_fields li.ui-state-default.selected .widget{display:block;}
444
  #new_fields .form-field .widget{ display:none;}
445
+ #new_fields{min-height:440px; margin-bottom:0;}
446
  #postbox-container-1 .ui-state-default, #new_fields li.ui-state-default{
447
  border:none;font-weight:normal;background-color:transparent; background-image:none;padding:6px; margin:20px 0;
448
  }
454
  text-align:center;
455
  margin-bottom:3px;
456
  }
457
+ .frm_ipe_field_label input.inplace_field{margin-top:0;padding:1px;}
458
  #new_fields .edit_field_type_break input.inplace_field{
459
  text-align:center;width:150px;background-color:transparent;
460
  border:none;box-shadow:none;
461
  }
462
+ .frm_validation_msg p label{float:left;width:25%;max-width:100px;}
463
+ #new_fields .form-field .widget .frm_validation_msg input{width:71%;}
464
+
465
+ .frm_38_trigger #new_fields .widget-inside .form-table td,
466
+ .frm_38_trigger #new_fields .widget-inside .form-table td p,
467
+ .frm_38_trigger #new_fields .widget-inside .form-wrap label{
468
+ font-size:12px;
469
+ padding:10px;
470
+ }
471
+
472
+ .frm_38_trigger #new_fields .widget-inside .form-table td p,
473
+ .frm_38_trigger #new_fields .widget-inside .form-wrap label{
474
+ padding:10px 0;
475
+ }
476
+
477
+ .frm_no_fields{
478
+ line-height:46px !important;
479
+ }
480
+ .frm_no_fields .frm_brace{
481
+ font-size:500px;
482
+ color:#2f8db2;
483
+ font-weight:300;
484
+ line-height: 350px !important;
485
+ margin-left:3%;
486
+ float:right;
487
+ }
488
+ .frm_no_fields .frm_all_field_inst{
489
+ font-family:'Comic Sans MS', cursive, sans-serif;
490
+ font-size: 58px;
491
+ font-weight: 600;
492
+ margin-top:160px;
493
+ letter-spacing:2px;
494
+ }
495
+ .frm_no_fields .frm_drag_inst{
496
+ font-family:'Comic Sans MS', cursive, sans-serif;
497
+ font-size: 43px;
498
+ font-weight: 300;
499
+ color: #808080;
500
+ margin-top:5px;
501
+ margin-right:8px;
502
+ }
503
 
504
+ .frm_inline_label{padding-left:3px;}
505
+ .frm_left_label{clear:both;float:left;width:23%;min-width:170px;line-height:2em;}
506
+ table td.frm_left_label{float:none;line-height:inherit;padding-right:0;}
507
+ .frm_left_label.frm_alignright{padding-right:10px;text-align:right;}
508
+ .frm_with_left_label{width:68%;float:left;}
509
+ #html_settings label{display:block;}
510
+
511
+ .frm-category-tabs > li a, .frm-category-tabs > li a:active{outline:none;}
512
 
513
  .frm_ipe_field_option{vertical-align:text-top;}
514
  .selected .frm_ipe_field_option.frm_with_key,
515
  .selected .frm_ipe_field_option_key{width:45%; display:inline-block !important;}
516
+ .selected .frm_ipe_field_option{min-width:45%;display:inline-block;}
517
+ .selected .frm_ipe_field_option:hover{background-color:#fffbcc;}
518
  .selected .frm_ipe_field_option.frm_with_key{margin-right:10px;}
519
  .selected .frm_ipe_field_option.frm_with_key .inplace_field,
520
  .selected .frm_ipe_field_option_key .inplace_field{width:100% !important;}
521
+ .frm_option_val_label{float:left; width:45%; margin-left:36px; margin-right:10px;}
522
  .frm_option_key_label, .frm_option_val_label{font-weight:bold;font-size:11px;}
523
  .edit_field_type_select .frm_option_val_label{margin-left:12px;}
524
 
525
+ #menu-management.frm-menu-boxes{margin-top:30px;width:300px;float:left;margin-right:30px;}
526
+ #menu-management.frm-menu-boxes .menu-edit{margin-bottom:0;}
527
+ #menu-management select{max-width:100%;}
528
+ .postbox .manage-menus{border-top:none;border-left:none;border-right:none;}
529
+ .postbox .frm-help-tabs.inside, #poststuff .frm-help-tabs.inside{padding-left:0;padding-right:0;margin-top:0;margin-bottom:0;padding-bottom:12px;}
530
+ .frm_38_trigger .postbox .frm-help-tabs.inside{padding-bottom:inherit;}
531
+ .frm-help-tabs form > .submit, #contextual-help-columns > .submit{margin-left:154px;padding-left:5px;}
532
+ .frm_38_trigger .frm-help-tabs form > .submit, .frm_38_trigger #contextual-help-columns > .submit{padding-left:0.9em;}
533
+ .frm_38_trigger #poststuff .contextual-help-tabs .active, .frm_38_trigger #poststuff .contextual-help-tabs .active a, .frm_38_trigger #poststuff .contextual-help-tabs .active a:hover{background:#fafafa;}
534
+ .wrap .contextual-help-tabs ul{min-height:260px;}
535
+ .frm_38_trigger .postbox .menu-settings h3{border-bottom:none;}
536
+ #poststuff h3.frm_no_bg{background:none;cursor:default;}
537
+ .postbox #contextual-help-back{border-right:none;right:0;}
538
+ .frm_38_trigger .postbox #contextual-help-back{background:#fafafa;}
539
+ #contextual-help-columns div.tabs-panel{
540
+ background:transparent;
541
+ border-width:0;
542
+ }
543
+
544
+ #contextual-help-columns div.tabs-panel.panel_secondary{
545
+ border-top-width:1px;
546
+ }
547
+
548
  #postbox-container-1 .ui-state-default{color:#000;}
549
  #new_fields li.ui-state-default:hover, #new_fields li.ui-state-default.selected, .frm_update_msg{
550
  padding:5px;
557
  background-image: linear-gradient(top, #f7fcfe, #eff8ff); /* proposed W3C Markup */
558
  border:1px dashed #d1e5ee;
559
  }
560
+
561
+ .frm_38_trigger #new_fields li.ui-state-default:hover, .frm_38_trigger #new_fields li.ui-state-default.selected, .frm_38_trigger .frm_update_msg{
562
+ box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);
563
+ }
564
+
565
+ #new_fields li.ui-state-default.selected, .frm_38_trigger #new_fields li.ui-state-default.selected:hover{
566
+ border:1px solid #d1e5ee;;
567
  background-color: #e8eff4; /* Fallback */
568
  background-image: -ms-linear-gradient(top, #eff8ff, #e8eff4); /* IE10 */
569
  background-image: -moz-linear-gradient(top, #eff8ff, #e8eff4); /* Firefox */
573
  background-image: linear-gradient(top, #eff8ff, #e8eff4); /* proposed W3C Markup */
574
  }
575
 
576
+
577
  .frm_email_actions.feature-filter{
578
  font-weight:bold;
579
  border:1px solid #DFDFDF;
583
  line-height:20px;
584
  }
585
  .frm_email_icons{
586
+ padding-left:6px;
587
  }
588
 
589
+ .frm_update_msg{border-style:solid;margin:10px 0;color:#21759B;padding:8px 15px;border-radius:4px;}
590
+ #frm-insert-fields-box .frm_update_msg{margin-right:0.9em;}
591
+ .frm_update_msg a{font-weight:bold;}
592
  .widefat td{width:auto;}
593
+ .widefat .column-id{width:3.7em;}
594
  .widefat .column-show_count{width:5em;}
595
  .widefat .column-shortcode{width:9em;}
596
+ .widefat .column-entries, .widefat .column-link{width:10%;text-align:center;}
597
+ .widefat .column-form_key, .widefat .column-created_at{width:10%;}
598
+
599
  .view-switch{display:none;}
600
  select[name="m"]{display:none;}
601
 
638
  iframe#dyncontent_ifr{min-height:150px;}
639
  #frm-insert-fields-box ul.frm_code_list, #frm-conditionals ul.frm_code_list{padding-right:0.9em;}
640
 
641
+ #message.fade:not(.out){opacity:1;}
642
+
643
+ /*!
644
+ * Bootstrap v3.0.2
645
+ */
646
+
647
+ .tooltip{position:absolute;z-index:1030;display:block;visibility:visible;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);}.tooltip.in{opacity:0.95;filter:alpha(opacity=95);}
648
+ .tooltip.top{margin-top:-3px;padding:5px 0;}
649
+ .tooltip.right{margin-left:3px;padding:0 5px;}
650
+ .tooltip.bottom{margin-top:3px;padding:5px 0;}
651
+ .tooltip.left{margin-left:-3px;padding:0 5px;}
652
+ .tooltip-inner{max-width:200px;padding:3px 8px;color:#FFF;text-align:center;text-decoration:none;
653
+ background-color:#777;border-radius:4px;
654
+ }
655
+ .tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid;}
656
+ .tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#808080;}
657
+ .tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-width:5px 5px 0;border-top-color:#808080;}
658
+ .tooltip.top-right .tooltip-arrow{bottom:0;right:5px;border-width:5px 5px 0;border-top-color:#808080;}
659
+ .tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#808080;}
660
+ .tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#808080;}
661
+ .tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#6D6D6D;}
662
+ .tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-width:0 5px 5px;border-bottom-color:#6D6D6D;}
663
+ .tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-width:0 5px 5px;border-bottom-color:#6D6D6D;}
664
+
665
+ .fade {
666
+ opacity: 0;
667
+ -webkit-transition: opacity 0.15s linear;
668
+ transition: opacity 0.15s linear;
669
+ }
670
+
671
+ .fade.in {
672
+ opacity: 1;
673
+ }
674
+
675
+ .frm_progress {
676
+ overflow: hidden;
677
+ height: 20px;
678
+ margin-bottom: 20px;
679
+ background-color: #f5f5f5;
680
+ border-radius: 4px;
681
+ -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
682
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
683
+ }
684
+ .frm_progress_bar {
685
+ float: left;
686
+ width: 0%;
687
+ height: 100%;
688
+ font-size: 12px;
689
+ line-height: 20px;
690
+ color: #ffffff;
691
+ text-align: center;
692
+ -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
693
+ box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
694
+ -webkit-transition: width 0.6s ease;
695
+ transition: width 0.6s ease;
696
+ background-color: #04A4CC;
697
+ }
698
+ /* End Bootstrap */
699
+
700
+ .tooltip.frm_tooltip{
701
+ position:fixed;
702
+ top:auto !important;
703
+ bottom:0 !important;
704
+ left:0 !important;
705
+ max-width:none;
706
+ width:100% !important;
707
+ }
708
+ .tooltip.frm_tooltip.bottom{padding:0;}
709
+ .frm_tooltip .tooltip-inner{
710
+ max-width:none;
711
+ min-height:40px !important;
712
+ text-align:left;
713
+ -moz-box-shadow:1px 1px 2px rgba(0,0,0,0.4);
714
+ -webkit-box-shadow:5px 5px 25px rgba(0,0,0,0.5);
715
+ box-shadow:5px 5px 25px rgba(0,0,0,0.5);
716
+ padding:10px 40px;
717
+ border-top-color:#ccc;
718
+ background:#777;
719
+ }
720
 
721
  /*form field groups*/
722
  .widget .field-group {
723
  float: left;
724
+ width: 32%;
725
+ margin: 10px 1% 0 0;
726
  }
727
  .field-group-background{
728
  margin: 4px 0 0;
733
  .field-group-border, .field-group-corners {clear: left;}
734
 
735
  /*form labels*/
736
+ .frm_style_roller .widget label{
737
+ font-size: 12px;
738
+ }
739
+
740
  .widget .field-group label {
 
741
  margin: 6px 0 5px;
742
  display: block;
743
  }
749
  }
750
  .global-font .field-group label{
751
  float: left;
752
+ margin-right: 4px !important;
753
  text-align: right;
754
+ width: 50px;
755
  }
756
 
757
  /*form inputs/selects */
758
  .widget input.hex, .field-group input[type="text"]{
759
+ width: 97%;
760
  outline: 0;
761
  }
762
  .global-font .field-group input[type="text"]{width:auto;}
828
  outline: 0 !important;
829
  }
830
 
 
 
 
 
 
 
831
  /*Farbtastic styles*/
832
  .farbtastic {
833
  position: relative;
852
  height: 101px;
853
  }
854
  .farbtastic .wheel {
855
+ background: url(../pro/images/styler/wheel.png) no-repeat;
856
  width: 195px;
857
  height: 195px;
858
  }
859
  .farbtastic .overlay {
860
+ background: url(../pro/images/styler/mask.png) no-repeat;
861
  }
862
  .farbtastic .marker {
863
  width: 17px;
864
  height: 17px;
865
  margin: -8px 0 0 -8px;
866
  overflow: hidden;
867
+ background: url(../pro/images/styler/marker.png) no-repeat;
868
  }
869
 
870
 
875
  /* ---------------------------------------------------------------
876
  Clearfix
877
  --------------------------------------------------------------- */
878
+ span.clear{display:block;}
879
  .clearfix:after {
880
  content: ".";
881
  display: block;
890
  * html .clearfix {height: 1%;}
891
  .clearfix {display: block;}
892
  /* End hide from IE-mac */
893
+ @media only screen and (max-width: 1200px) {
894
+ .frm_no_fields .frm_all_field_inst{ font-size: 40px;}
895
+ .frm_no_fields .frm_drag_inst{font-size: 30px;}
896
+ }
897
+ @media only screen and (max-width: 1050px) {
898
+ .frm_no_fields .frm_all_field_inst{ font-size: 30px;}
899
+ .frm_no_fields .frm_drag_inst{font-size: 20px;}
900
+ }
901
+ @media (min-width:768px){.navbar-right .frm-dropdown-menu{right:0;left:auto;}}
902
  @media only screen and (max-width: 850px) {
903
+ #postbox-container-1 .frm_field_list{position:static; width:100%;}
904
+ .frm_col_one{clear:none;}
905
+ .field_type_list li{margin-right:4px;}
906
+ .frm_no_fields .frm_brace {display:none;}
907
+ .frm_nofields_text {width:100%;}
908
+ .frm_no_fields .frm_all_field_inst{ font-size: 50px;text-align:center;}
909
+ .frm_no_fields .frm_drag_inst{font-size: 40px;text-align:center;}
910
+ }
911
+ @media print,
912
+ (-o-min-device-pixel-ratio: 5/4),
913
+ (-webkit-min-device-pixel-ratio: 1.25),
914
+ (min-resolution: 120dpi) {
915
+ #wpbody-content .frmicon.icon32, .icon32-posts-frm_display {
916
+ background: url(../images/form_32_sprite-2x.png) no-repeat !important;
917
+ background-size: 325px 33px !important;
918
+ }
919
+ }
920
+ @media only screen and (max-width: 600px) {
921
+ .frm_form_nav a {
922
+ font-size: 12px;
923
+ padding: 5px 15px;
924
+ }
925
+ }
926
+ @media only screen and (max-width: 475px) {
927
+ .frm_no_fields .frm_all_field_inst{ font-size: 20px;}
928
+ .frm_no_fields .frm_drag_inst{font-size: 13px;}
929
+ }
930
+ @media only screen and (max-width: 450px) {
931
+ ul.frm_form_nav li{float:none;}
932
+ ul.frm_form_nav {min-width:100px; width:100%;}
933
+ .frm_form_nav a {
934
+ border-right: solid 1px #c6c6c6;
935
+ border-top-right-radius: 4px;
936
+ border-bottom-right-radius: 4px;
937
+ font-size: 13px;
938
+ }
939
  }
940
 
941
  /* PRINT */
css/frm_display.css CHANGED
@@ -6,28 +6,30 @@
6
  .with_frm_style .frm_none_container label.frm_primary_label{display:none;}
7
  .with_frm_style .frm_hidden_container label.frm_primary_label{visibility:hidden;}
8
  .with_frm_style .frm_inline_container label.frm_primary_label, .with_frm_style .frm_inline_container .frm_opt_container {display:inline;padding-right:10px;}
9
- .with_frm_style .horizontal_radio .frm_checkbox, .with_frm_style .horizontal_radio .frm_radio {margin-right:1.5%;}
10
  .with_frm_style .form-field, .with_frm_style .frm_form_field{margin-bottom:15px;}
11
  .with_frm_style .frm_blank_field label, .with_frm_style .frm_error{color:#be2e17;}
12
  .with_frm_style .frm_blank_field input, .with_frm_style .frm_blank_field textarea, .with_frm_style .frm_blank_field select, .with_frm_style .frm_blank_field #recaptcha_area{border:1px solid #be2e17;}
13
- .with_frm_style .frm_required{color:#ff0000;font-weight:bold;}
14
- .with_frm_style input.required, .with_frm_style textarea.required, .with_frm_style select.required{color:inherit;}
15
  .with_frm_style .frm_checkbox, .with_frm_style .frm_radio{display:block;margin:0;}
16
  .with_frm_style .frm_left_container .frm_checkbox, .with_frm_style .frm_left_container .frm_radio{margin-left:160px;}
17
  .with_frm_style fieldset{border:none;margin:0;padding:0;}
18
  .with_frm_style p.frm_submit{padding-top:20px;padding-bottom:20px;}
19
- .with_frm_style p.description, .with_frm_style div.description, .with_frm_style .frm_description, .with_frm_style .frm_error{margin:0;padding:0;font-size:11px;font-weight:normal;text-align:left;font-style:normal;}
20
  .with_frm_style .frm_left_container .description, .with_frm_style .frm_left_container .frm_error, .with_frm_style .frm_left_container .frm_description{margin-left:160px;}
21
  .with_frm_style .frm_error{font-weight:bold;}
22
  .with_frm_style .frm_form_fields input, .with_frm_style .frm_form_fields select, .with_frm_style .frm_form_fields textarea{font-size:13px;margin-bottom:0;}
23
- .with_frm_style .frm_form_fields input, #wpcontent .with_frm_style .frm_form_fields select, .with_frm_style .frm_form_fields select, .with_frm_style .frm_form_fields textarea{border-width:1px;border-style:solid;width:400px;font-size:13px;padding:2px;}
24
  .with_frm_style .frm_form_fields input.auto_width, .with_frm_style .frm_form_fields select.auto_width, .with_frm_style .frm_form_fields textarea.auto_width{width:auto;}
25
  .frm_set_select .with_frm_style .frm_form_fields select, .frm_set_select .with_frm_style .frm_form_fields select.auto_width{width:95%;}
26
  .with_frm_style .frm_radio label, .with_frm_style .frm_checkbox label{display:inline;}
27
  .with_frm_style input[type="radio"], .with_frm_style input[type="checkbox"]{width:auto;margin-right:3px;}
28
- .with_frm_style .frm_message, .with_frm_style .frm_message p{font-size:14px;margin:5px 0 15px;padding:5px 10px;background-color:#FFFFE0;color:#444444;}
29
- .with_frm_style .frm_message{border:1px solid #E6DB55;}
30
- .with_frm_style .frm_default{font-style:italic;}
 
 
 
31
  .frm_ajax_loading{visibility:hidden;}
32
 
33
  .frm_forms.with_frm_style{max-width:98%;}
@@ -59,4 +61,12 @@
59
  .frm_form_field.frm_scroll_box .frm_opt_container{height: 100px; overflow:auto;}
60
  .frm_form_field.frm_two_col .frm_opt_container:after, .frm_form_field.frm_three_col .frm_opt_container:after, .frm_form_field.frm_four_col .frm_opt_container:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}
61
  .frm_form_field.frm_total input, .frm_form_field.frm_total textarea{opacity:1;background-color:transparent;border:none;font-weight:bold;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}
62
- .with_frm_style .frm_inline_container.frm_grid_first label.frm_primary_label, .with_frm_style .frm_inline_container.frm_grid label.frm_primary_label, .with_frm_style .frm_inline_container.frm_grid_odd label.frm_primary_label, .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container, .with_frm_style .frm_inline_container.frm_grid .frm_opt_container, .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container {margin-right:0;}
 
 
 
 
 
 
 
 
6
  .with_frm_style .frm_none_container label.frm_primary_label{display:none;}
7
  .with_frm_style .frm_hidden_container label.frm_primary_label{visibility:hidden;}
8
  .with_frm_style .frm_inline_container label.frm_primary_label, .with_frm_style .frm_inline_container .frm_opt_container {display:inline;padding-right:10px;}
9
+ .with_frm_style .horizontal_radio .frm_checkbox, .with_frm_style .horizontal_radio .frm_radio {margin-right:5px;}
10
  .with_frm_style .form-field, .with_frm_style .frm_form_field{margin-bottom:15px;}
11
  .with_frm_style .frm_blank_field label, .with_frm_style .frm_error{color:#be2e17;}
12
  .with_frm_style .frm_blank_field input, .with_frm_style .frm_blank_field textarea, .with_frm_style .frm_blank_field select, .with_frm_style .frm_blank_field #recaptcha_area{border:1px solid #be2e17;}
13
+ .with_frm_style .frm_required{color:#B94A48;font-weight:bold;}
 
14
  .with_frm_style .frm_checkbox, .with_frm_style .frm_radio{display:block;margin:0;}
15
  .with_frm_style .frm_left_container .frm_checkbox, .with_frm_style .frm_left_container .frm_radio{margin-left:160px;}
16
  .with_frm_style fieldset{border:none;margin:0;padding:0;}
17
  .with_frm_style p.frm_submit{padding-top:20px;padding-bottom:20px;}
18
+ .with_frm_style p.description, .with_frm_style div.description, .with_frm_style .frm_description, .with_frm_style .frm_error{margin:0;padding:0;font-size:11px;font-weight:normal;text-align:left;font-style:normal;clear:both;}
19
  .with_frm_style .frm_left_container .description, .with_frm_style .frm_left_container .frm_error, .with_frm_style .frm_left_container .frm_description{margin-left:160px;}
20
  .with_frm_style .frm_error{font-weight:bold;}
21
  .with_frm_style .frm_form_fields input, .with_frm_style .frm_form_fields select, .with_frm_style .frm_form_fields textarea{font-size:13px;margin-bottom:0;}
22
+ .with_frm_style .frm_form_fields input, #wpcontent .with_frm_style .frm_form_fields select, .with_frm_style .frm_form_fields select, .with_frm_style .frm_form_fields textarea{border-width:1px;border-style:solid;width:400px;max-width:100%;font-size:13px;padding:2px;}
23
  .with_frm_style .frm_form_fields input.auto_width, .with_frm_style .frm_form_fields select.auto_width, .with_frm_style .frm_form_fields textarea.auto_width{width:auto;}
24
  .frm_set_select .with_frm_style .frm_form_fields select, .frm_set_select .with_frm_style .frm_form_fields select.auto_width{width:95%;}
25
  .with_frm_style .frm_radio label, .with_frm_style .frm_checkbox label{display:inline;}
26
  .with_frm_style input[type="radio"], .with_frm_style input[type="checkbox"]{width:auto;margin-right:3px;}
27
+ .with_frm_style .frm_error_style, .with_frm_style .frm_message{padding:15px;font-size:14px;margin:5px 0 15px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}
28
+ .with_frm_style .frm_message, .with_frm_style .frm_message p{font-size:14px;color:#468847;}
29
+ .with_frm_style .frm_message{border:1px solid #D6E9C6;background-color:#DFF0D8;}
30
+ .with_frm_style .frm_message p{margin-bottom:5px;}
31
+ .with_frm_style .frm_error_style{color:#B94A48;border:1px solid #EBCCD1;background-color:#F2DEDE;}
32
+ .with_frm_style .frm_default, .with_frm_style .placeholder{font-style:italic;}
33
  .frm_ajax_loading{visibility:hidden;}
34
 
35
  .frm_forms.with_frm_style{max-width:98%;}
61
  .frm_form_field.frm_scroll_box .frm_opt_container{height: 100px; overflow:auto;}
62
  .frm_form_field.frm_two_col .frm_opt_container:after, .frm_form_field.frm_three_col .frm_opt_container:after, .frm_form_field.frm_four_col .frm_opt_container:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}
63
  .frm_form_field.frm_total input, .frm_form_field.frm_total textarea{opacity:1;background-color:transparent;border:none;font-weight:bold;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;}
64
+ .with_frm_style .frm_inline_container.frm_grid_first label.frm_primary_label, .with_frm_style .frm_inline_container.frm_grid label.frm_primary_label, .with_frm_style .frm_inline_container.frm_grid_odd label.frm_primary_label, .with_frm_style .frm_inline_container.frm_grid_first .frm_opt_container, .with_frm_style .frm_inline_container.frm_grid .frm_opt_container, .with_frm_style .frm_inline_container.frm_grid_odd .frm_opt_container {margin-right:0;}
65
+
66
+ .frm_text_block{margin-left:20px;}
67
+ .frm_text_block input, .frm_text_block label.frm_primary_label{margin-left:-20px;}
68
+ .frm_text_block .frm_checkbox input[type=checkbox], .frm_text_block .frm_radio input[type=radio]{margin-right:4px;}
69
+ .frm_clearfix:after{content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
70
+ .frm_clearfix{display: inline-block;}
71
+ html[xmlns] .frm_clearfix{display: block;}
72
+ * html .frm_clearfix{height:1%;}
css/frm_fonts.css ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 's11-fp';
3
+ src: url('../fonts/s11-fp.eot');
4
+ src: local('☺'), url('../fonts/s11-fp.woff') format('woff'), url('../fonts/s11-fp.ttf') format('truetype'), url('../fonts/s11-fp.svg') format('svg');
5
+ font-weight: normal;
6
+ font-style: normal;
7
+ }
8
+
9
+ /* dashboard icon */
10
+ .frm_38_trigger #toplevel_page_formidable .wp-menu-image img{
11
+ display: none !important;
12
+ }
13
+ .frm_38_trigger #toplevel_page_formidable .wp-menu-image:before,
14
+ .frm_38_trigger .wp-media-buttons .add_media span.wp-media-buttons-icon.frm-buttons-icon:before {
15
+ font-family: 's11-fp' !important;
16
+ content: '\e601';
17
+ text-shadow: none;
18
+ }
19
+
20
+ /* media box button */
21
+ .wp-media-buttons .add_media span.wp-media-buttons-icon.frm-buttons-icon{
22
+ background:url(../images/form_16.png) no-repeat center;
23
+ }
24
+
25
+ .wp-media-buttons .button.frm_insert_form{padding-left:0.4em;}
26
+ .frm_38_trigger .wp-media-buttons .button.frm_insert_form{padding-left:5px;}
27
+
28
+ .frm_38_trigger .wp-media-buttons .add_media span.wp-media-buttons-icon.frm-buttons-icon{
29
+ background:none;
30
+ }
31
+
32
+ /* Admin Bar */
33
+ #wpadminbar #wp-admin-bar-frm-forms > .ab-item:before{font-family:'s11-fp' !important;content:'\e601';top:2px;}
34
+
deprecated.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // 1.07.02
4
+ define('FRM_PATH', dirname( __FILE__ ));
5
+
6
+ global $frm_siteurl; //deprecated: use FrmAppHelper::site_url()
7
+ $frm_siteurl = site_url();
8
+ if(is_ssl() and (!preg_match('/^https:\/\/.*\..*$/', $frm_siteurl) or !preg_match('/^https:\/\/.*\..*$/', WP_PLUGIN_URL))){
9
+ $frm_siteurl = str_replace('http://', 'https://', $frm_siteurl);
10
+ define('FRM_URL', str_replace('http://', 'https://', WP_PLUGIN_URL.'/formidable'));
11
+ }else{
12
+ define('FRM_URL', WP_PLUGIN_URL.'/formidable'); //deprecated: use FrmAppHelper::plugin_url()
13
+ }
14
+
15
+ global $frm_version, $frm_ajax_url;
16
+ $frm_version = FrmAppHelper::plugin_version(); //deprecated: use FrmAppHelper::plugin_version()
17
+ $frm_ajax_url = admin_url('admin-ajax.php');
18
+
19
+ global $frmpro_is_installed;
20
+ $frmpro_is_installed = FrmAppController::pro_is_installed();
21
+
22
+ // 1.07.05
23
+ if ( class_exists('FrmProEntry') ) {
24
+ global $frmpro_entry;
25
+ global $frmpro_entry_meta;
26
+ global $frmpro_field;
27
+ global $frmpro_form;
28
+
29
+ $frmpro_entry = new FrmProEntry();
30
+ $frmpro_entry_meta = new FrmProEntryMeta();
31
+ $frmpro_field = new FrmProField();
32
+ $frmpro_form = new FrmProForm();
33
+
34
+ new FrmProDb();
35
+ }
fonts/s11-fp.eot ADDED
Binary file
fonts/s11-fp.svg ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="s11-fp" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
+ <glyph unicode="&#xe600;" d="M512-64c-282.351 0-512 229.581-512 512 0 282.351 229.649 512 512 512 282.419 0 512-229.649 512-512 0-282.351-229.581-512-512-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733 443.733 199.066 443.733 443.733-199.066 443.733-443.733 443.733zM236.544 482.133h550.98v-68.267h-550.98v68.267z" />
11
+ <glyph unicode="&#xe601;" d="M138.119 681.567c3.385-3.595 7.445-6.623 11.967-8.867 4.515-2.241 9.494-3.699 14.73-4.162l679.313-60.11 50.87 15.642-3.923 124.74c-0.14 4.433-1.094 8.757-2.701 12.782s-3.865 7.752-6.615 10.99c-2.752 3.242-5.997 5.995-9.572 8.069-3.578 2.077-7.49 3.47-11.572 3.987l-700.681 88.955-28.99-27.679-3.438-137.695c-0.125-4.991 0.834-9.856 2.67-14.375s4.554-8.683 7.942-12.28zM132.878 394.292c3.442-3.564 7.569-6.511 12.167-8.633 4.592-2.117 9.654-3.407 14.977-3.661l4.217-0.202-4.13-1.595 686.092-33.239 51.699 9.119-6.454 0.329 9.717 1.684-4.036 128.333c-0.143 4.564-1.113 8.978-2.743 13.054-1.628 4.075-3.919 7.817-6.706 11.032-2.787 3.218-6.075 5.912-9.697 7.891-3.624 1.981-7.589 3.245-11.724 3.595l-711.368 60.725-29.247-19.265-3.548-142.133c-0.128-5.154 0.843-10.129 2.708-14.708 1.869-4.579 4.63-8.76 8.076-12.325zM903.352 220.422c-0.149 4.693-1.133 9.195-2.786 13.319s-3.973 7.875-6.798 11.061c-2.827 3.188-6.16 5.817-9.828 7.691-3.677 1.877-7.689 3.001-11.879 3.18l-722.387 30.664-29.509-10.279-3.663-146.749c-0.134-5.322 0.854-10.412 2.75-15.057 1.898-4.643 4.703-8.837 8.209-12.367 3.501-3.527 7.694-6.391 12.374-8.378 4.671-1.986 9.819-3.097 15.234-3.129l699.688-3.976 52.745 1.936-4.155 132.082z" />
12
+ <glyph unicode="&#xe602;" d="M512-64c-282.351 0-512 229.581-512 512 0 282.351 229.649 512 512 512 282.419 0 512-229.649 512-512 0-282.351-229.581-512-512-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733 443.733 199.066 443.733 443.733-199.066 443.733-443.733 443.733zM545.734 723.515l0.771-550.98-68.267-0.096-0.771 550.98 68.267 0.096zM236.544 482.133h550.98v-68.267h-550.98v68.267z" />
13
+ <glyph unicode="&#xe603;" d="M512 960c-282.351 0-512-229.649-512-512 0-282.419 229.649-512 512-512 282.419 0 512 229.581 512 512 0 282.351-229.581 512-512 512zM546.543 172.612l-68.267-0.137-0.341 241.323-241.391-0.341-0.068 68.267 241.391 0.341-0.341 241.391 68.267 0.068 0.341-241.391 241.391 0.341 0.068-68.267-241.391-0.273 0.341-241.323z" />
14
+ <glyph unicode="&#xe604;" d="M512 960c-282.351 0-512-229.649-512-512 0-282.419 229.649-512 512-512 282.419 0 512 229.581 512 512 0 282.351-229.581 512-512 512zM236.544 413.457l-0.068 68.267 550.98 0.751 0.068-68.267-550.98-0.751z" />
15
+ <glyph unicode="&#xe605;" d="M512 960c-282.351 0-512-229.649-512-512s229.649-512 512-512c282.419 0 512 229.649 512 512s-229.581 512-512 512zM467.968 161.075l-242.278 164.181 38.298 56.525 183.979-124.723 258.321 408.713 57.617-36.454-295.936-468.241z" />
16
+ <glyph unicode="&#xe606;" d="M512-64c-282.351 0-512 229.649-512 512s229.649 512 512 512 512-229.649 512-512-229.649-512-512-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733 443.733 199.066 443.733 443.733-199.066 443.733-443.733 443.733zM467.968 161.075l-242.278 164.181 38.298 56.525 183.979-124.723 258.253 408.713 57.617-36.454z" />
17
+ <glyph unicode="&#xe607;" d="M512 960c-282.351 0-512-229.649-512-512 0-282.419 229.649-512 512-512 282.419 0 512 229.581 512 512 0 282.351-229.581 512-512 512zM730.931 277.333l-48.265-48.265-170.667 170.667-170.667-170.667-48.265 48.265 170.667 170.667-170.667 170.667 48.265 48.265 170.667-170.667 170.667 170.667 48.265-48.265-170.667-170.667 170.667-170.667z" />
18
+ <glyph unicode="&#xe608;" d="M512-64c-282.351 0-512 229.649-512 512s229.649 512 512 512 512-229.649 512-512-229.649-512-512-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733 443.733 199.066 443.733 443.733-199.066 443.733-443.733 443.733zM341.349 666.92l389.598-389.598-48.271-48.271-389.598 389.598 48.271 48.271zM682.676 666.968l48.271-48.271-389.598-389.598-48.271 48.271 389.598 389.598z" />
19
+ <glyph unicode="&#xe609;" d="M512-64c-282.419 0-512 229.581-512 512 0 282.351 229.581 512 512 512s512-229.649 512-512c0-282.419-229.581-512-512-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733 443.733 199.066 443.733 443.733-199.066 443.733-443.733 443.733zM478.549 760.661h68.267v-608.734h-68.267v608.734zM761.261 448.436l48.271-48.271-280.65-280.65-48.271 48.271 280.65 280.65zM264.89 448.385l295.958-296.042-48.278-48.265-295.958 296.042 48.278 48.265z" />
20
+ <glyph unicode="&#xe60a;" d="M1024-64h-1024v1024h1024v-1024zM68.267 4.267h887.467v887.467h-887.467v-887.467zM238.933 721.067h68.267v-546.133h-68.267v546.133z" />
21
+ <glyph unicode="&#xe60b;" d="M1024-64h-1024v1024h1024v-1024zM68.267 4.267h887.467v887.467h-887.467v-887.467zM238.933 721.067h341.333v-546.133h-341.333v546.133zM716.8 721.067h68.267v-546.133h-68.267v546.133z" />
22
+ <glyph unicode="&#xe60c;" d="M512 960c-282.419 0-512-229.649-512-512 0-282.419 229.581-512 512-512s512 229.581 512 512c0 282.351-229.581 512-512 512zM528.862 119.501l-0.478 0.478-15.838-15.838-295.936 296.004 48.265 48.265 213.675-213.743v525.995h68.267v-526.746l214.494 214.494 48.265-48.265-280.713-280.644z" />
23
+ <glyph unicode="&#xe60d;" d="M512-64c-282.419 0-512 229.581-512 512 0 282.351 229.581 512 512 512s512-229.649 512-512c0-282.419-229.581-512-512-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733 443.733 199.066 443.733 443.733-199.066 443.733-443.733 443.733zM479.369 712.738h68.267v-608.734h-68.267v608.734zM264.868 416.235l-48.271 48.271 280.65 280.65 48.271-48.271-280.65-280.65zM761.286 416.307l-295.916 296.084 48.285 48.258 295.916-296.084-48.285-48.258z" />
24
+ <glyph unicode="&#xe60e;" d="M512 960c-282.419 0-512-229.649-512-512 0-282.419 229.581-512 512-512s512 229.581 512 512c0 282.351-229.581 512-512 512zM761.242 416.256l-213.675 213.743v-526.063h-68.267v526.814l-214.426-214.494-48.265 48.265 280.644 280.644 0.478-0.478 15.838 15.838 295.936-296.073-48.265-48.196z" />
25
+ <glyph unicode="&#xe60f;" d="M992 576h-352v352c0 17.672-14.328 32-32 32h-192c-17.672 0-32-14.328-32-32v-352h-352c-17.672 0-32-14.328-32-32v-192c0-17.672 14.328-32 32-32h352v-352c0-17.672 14.328-32 32-32h192c17.672 0 32 14.328 32 32v352h352c17.672 0 32 14.328 32 32v192c0 17.672-14.328 32-32 32z" />
26
+ <glyph unicode="&#xe610;" d="M896-64h-768v832h-128v64h256v128h512v-128h256v-64h-128v-832zM192 0h640v768h-640v-768zM320 832h384v64h-384v-64zM704 64h-64v640h64v-640zM384 64h-64v640h64v-640zM475.008 700.032h64v-640h-64v640z" />
27
+ <glyph unicode="&#xe611;" d="M512-64c-282.351 0-512 229.649-512 512s229.649 512 512 512 512.068-229.649 512.068-512-229.717-512-512.068-512zM512 891.733c-244.668 0-443.733-199.066-443.733-443.733s199.066-443.733 443.733-443.733c244.736 0 443.802 199.066 443.802 443.733s-199.066 443.733-443.802 443.733zM557.261 242.449c0-16.043 0.273-29.696 0.956-40.619 0.546-10.923 2.526-19.934 6.144-27.034s9.079-12.629 16.384-16.384c7.441-3.891 18.022-6.758 31.607-8.67 3.482-0.751 6.144-2.458 7.987-5.393 1.707-2.867 2.662-6.281 2.662-10.035 0-3.209-0.956-6.281-2.662-9.148-1.843-2.935-4.506-4.369-7.987-4.369-10.65 0-24.644 1.161-41.711 3.413-17.203 2.253-34.679 3.413-52.429 3.413-18.91 0-37.41-1.161-55.433-3.413-18.022-2.253-35.362-3.413-51.883-3.413-2.935 0-5.325 1.434-7.1 4.369-1.775 2.867-2.662 5.939-2.662 9.148 0 3.823 0.887 7.168 2.662 10.035 1.775 2.935 4.437 4.642 7.987 5.393 15.36 1.911 27.375 4.779 35.908 8.67 8.533 3.823 14.814 9.148 18.637 15.838 3.823 6.827 6.076 15.155 6.622 25.122 0.614 9.967 0.887 22.391 0.887 37.205v155.443c0 27.716-0.614 49.903-1.775 66.628-1.161 16.725-3.823 29.423-7.987 38.161-4.096 8.67-10.308 14.609-18.637 17.818-8.26 3.209-19.524 5.803-33.655 7.714-3.55 0-6.212 1.57-7.987 4.847-1.843 3.209-2.731 6.417-2.731 9.626s0.887 6.417 2.662 9.694c1.775 3.209 4.437 4.847 8.055 4.847 5.871 0.614 13.107 1.297 21.709 1.911 8.533 0.614 17.545 1.434 27.034 2.458 9.489 0.956 19.115 2.253 28.809 3.891 9.762 1.57 18.5 3.345 26.214 5.325 6.554 1.161 11.674 2.594 15.633 4.233 3.755 1.57 6.963 2.458 9.284 2.458 7.1 0 11.674-2.253 13.79-6.758 1.98-4.506 3.072-8.67 3.072-12.561v-309.862zM510.225 670.003c-14.814 0-27.511 4.983-38.161 14.95s-15.974 22.391-15.974 37.205 4.983 27.307 15.087 37.615c10.035 10.24 22.528 15.497 37.274 15.497 14.199 0 25.873-5.325 35.089-15.906 9.216-10.581 13.722-23.347 13.722-38.161 0-14.131-4.369-26.214-13.312-36.181-8.806-10.035-20.070-15.019-33.724-15.019z" />
28
+ <glyph unicode="&#xe612;" d="M934.298 124.279l-360.175 224.734 29.628-413.013h-183.501l28.262 413.013-367.821-224.734-80.691 141.312 393.489 182.409-393.489 185.822 88.337 141.312 362.769-228.284-30.857 413.15h183.364l-32.085-413.013 362.633 230.605 89.702-148.548-394.581-183.501 392.124-177.63-87.108-143.633z" />
29
+ <glyph unicode="&#xe613;" d="M0 544v-192c0-17.672 14.328-32 32-32h960c17.672 0 32 14.328 32 32v192c0 17.672-14.328 32-32 32h-960c-17.672 0-32-14.328-32-32z" />
30
+ <glyph unicode="&#xe614;" d="M889.129 760.57l-142.863 142.862c-31.113 31.112-92.569 56.568-136.569 56.568h-480c-44 0-80-36-80-80v-864c0-44 36-80 80-80h736c44 0 80 36 80 80v608c0 44-25.456 105.458-56.568 136.57zM843.875 715.314c3.13-3.13 6.25-6.974 9.28-11.314h-163.458v163.456c4.34-3.030 8.184-6.15 11.314-9.28l142.864-142.862zM881.697 16c0-8.672-7.328-16-16-16h-736c-8.672 0-16 7.328-16 16v864c0 8.672 7.328 16 16 16h480c4.832 0 10.254-0.61 16-1.704v-254.296h254.296c1.094-5.746 1.704-11.166 1.704-16v-608zM468.698 558.101h58v-460h-58v460zM267.697 357.102h460.001v-58h-460.001v58z" />
31
+ <glyph unicode="&#xe615;" d="M0 474.66h68.271v-529.102h-68.271v529.102zM955.797 475.001h68.271v-529.785h-68.271v529.785zM0.072 5.282l1024.068-1.024-0.068-68.271-1024.068 1.024 0.068 68.271zM477.557 871.589h68.271v-608.774h-68.271v608.774zM760.267 559.33l48.275-48.275-280.668-280.668-48.275 48.275 280.668 280.668zM263.847 559.349l295.936-296.103-48.288-48.261-295.936 296.103 48.288 48.261z" />
32
+ <glyph unicode="&#xe616;" d="M0 474.66h68.271v-529.102h-68.271v529.102zM955.797 475.001h68.271v-529.785h-68.271v529.785zM0.072 5.282l1024.068-1.024-0.068-68.271-1024.068 1.024 0.068 68.271zM478.308 823.662h68.271v-608.774h-68.271v608.774zM263.856 527.173l-48.275 48.275 280.668 280.668 48.275-48.275-280.668-280.668zM760.295 527.192l-295.936 296.103 48.288 48.261 295.936-296.103-48.288-48.261z" />
33
+ <glyph unicode="&#xe618;" d="M102.4 857.6h819.2v-204.8h-819.2v204.8zM102.4 550.4h819.2v-204.8h-819.2v204.8zM102.4 243.2h819.2v-204.8h-819.2v204.8z" />
34
+ <glyph unicode="&#xe61a;" d="M474.795 761.344h68.267v-694.34h-68.267v694.34zM508.928 960l170.667-204.8h-341.333zM1020.928 448l-204.8-170.667v341.333zM338.261 140.8h341.333l-170.667-204.8-170.667 204.8zM0 435.166l204.8 170.667v-341.333zM201.728 482.133h614.4v-68.267h-614.4v68.267z" horiz-adv-x="1021" />
35
+ <glyph unicode="&#xe61b;" d="M0 960h704v-64h-704v64zM640 960h64v-256h-64v256zM0 960h704v-64h-704v64zM192 768h704v-64h-704v64zM832 768h64v-640h-64v640zM0 960h64v-832h-64v832zM0 192h256v-64h-256v64zM192 768h64v-832h-64v832zM192 0h512v-64h-512v64zM640 192h64v-256h-64v256zM640 192h256v-64h-256v64zM384 576h320v-64h-320v64zM384 448h320v-64h-320v64zM384 320h192v-64h-192v64zM700.992-64l-47.68 40.896 195.008 192.128 47.68-40.896z" horiz-adv-x="896" />
36
+ </font></defs></svg>
fonts/s11-fp.ttf ADDED
Binary file
fonts/s11-fp.woff ADDED
Binary file
formidable.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Formidable
4
  Description: Quickly and easily create drag-and-drop forms
5
- Version: 1.07.0
6
  Plugin URI: http://formidablepro.com/
7
  Author URI: http://strategy11.com
8
  Author: Strategy11
@@ -21,49 +21,16 @@ Text Domain: formidable
21
  GNU General Public License for more details.
22
  */
23
 
 
24
 
25
- define('FRM_PATH', WP_PLUGIN_DIR.'/'. dirname( plugin_basename( __FILE__ ) ));
26
- define('FRM_VIEWS_PATH', FRM_PATH.'/classes/views');
27
- $frm_models_path = FRM_PATH .'/classes/models';
28
- $frm_helpers_path = FRM_PATH .'/classes/helpers';
29
- $frm_controllers_path = FRM_PATH .'/classes/controllers';
30
- define('FRM_TEMPLATES_PATH', FRM_PATH.'/classes/templates');
31
-
32
- global $frm_siteurl;
33
- $frm_siteurl = site_url();
34
- if(is_ssl() and (!preg_match('/^https:\/\/.*\..*$/', $frm_siteurl) or !preg_match('/^https:\/\/.*\..*$/', WP_PLUGIN_URL))){
35
- $frm_siteurl = str_replace('http://', 'https://', $frm_siteurl);
36
- define('FRM_URL', str_replace('http://', 'https://', WP_PLUGIN_URL.'/formidable'));
37
- }else
38
- define('FRM_URL', WP_PLUGIN_URL.'/formidable'); //plugins_url('/formidable')
39
-
40
- define('FRM_SCRIPT_URL', $frm_siteurl . (is_admin() ? '/wp-admin' : '') .'/index.php?plugin=formidable');
41
- define('FRM_IMAGES_URL', FRM_URL.'/images');
42
-
43
- load_plugin_textdomain('formidable', false, 'formidable/languages/' );
44
-
45
- require_once($frm_models_path .'/FrmSettings.php');
46
-
47
- // Check for WPMU installation
48
- if (!defined ('IS_WPMU')){
49
- global $wpmu_version;
50
- $is_wpmu = ((function_exists('is_multisite') and is_multisite()) or $wpmu_version) ? 1 : 0;
51
- define('IS_WPMU', $is_wpmu);
52
- }
53
 
54
- global $frm_version, $frm_db_version;
55
- $frm_version = '1.07.0';
56
- $frm_db_version = 9;
57
-
58
- global $frm_ajax_url;
59
- $frm_ajax_url = admin_url('admin-ajax.php');
60
-
61
- global $frm_load_css, $frm_forms_loaded, $frm_css_loaded, $frm_saved_entries;
62
- $frm_load_css = $frm_css_loaded = false;
63
- $frm_forms_loaded = $frm_saved_entries = array();
64
-
65
- require_once($frm_helpers_path .'/FrmAppHelper.php');
66
- $frm_app_helper = new FrmAppHelper();
67
 
68
  /***** SETUP SETTINGS OBJECT *****/
69
  global $frm_settings;
@@ -88,72 +55,60 @@ if(!is_object($frm_settings)){
88
  }
89
  $frm_settings->set_default_options(); // Sets defaults for unset options
90
 
 
 
91
  // Instansiate Models
92
- require_once($frm_models_path .'/FrmDb.php');
93
- require_once($frm_models_path .'/FrmField.php');
94
- require_once($frm_models_path .'/FrmForm.php');
95
- require_once($frm_models_path .'/FrmEntry.php');
96
- require_once($frm_models_path .'/FrmEntryMeta.php');
97
- require_once($frm_models_path .'/FrmNotification.php');
98
- //include_once($frm_models_path .'/FrmUpdate.php');
99
- unset($frm_models_path);
100
 
101
  global $frmdb;
102
  global $frm_field;
103
  global $frm_form;
104
  global $frm_entry;
105
  global $frm_entry_meta;
106
- global $frm_notification;
107
 
108
  $frmdb = new FrmDb();
109
  $frm_field = new FrmField();
110
  $frm_form = new FrmForm();
111
  $frm_entry = new FrmEntry();
112
  $frm_entry_meta = new FrmEntryMeta();
113
- $frm_notification = new FrmNotification();
114
- //$frm_update = new FrmUpdate();
115
 
116
 
117
  // Instansiate Controllers
118
- require_once($frm_controllers_path .'/FrmApiController.php');
119
- require_once($frm_controllers_path .'/FrmAppController.php');
120
- require_once($frm_controllers_path .'/FrmFieldsController.php');
121
- require_once($frm_controllers_path .'/FrmFormsController.php');
122
- require_once($frm_controllers_path .'/FrmEntriesController.php');
123
- require_once($frm_controllers_path .'/FrmSettingsController.php');
124
- require_once($frm_controllers_path .'/FrmStatisticsController.php');
125
- require_once($frm_controllers_path .'/FrmUpdatesController.php');
126
- unset($frm_controllers_path);
127
-
128
- $obj = new FrmAppController();
129
- $obj = new FrmEntriesController();
130
- $obj = new FrmFieldsController();
131
- $obj = new FrmFormsController();
132
- $obj = new FrmSettingsController();
133
- $obj = new FrmStatisticsController();
134
- $frm_update = new FrmUpdatesController();
135
-
136
- // Instansiate Helpers
137
- require_once($frm_helpers_path .'/FrmEntriesHelper.php');
138
- require_once($frm_helpers_path .'/FrmFieldsHelper.php');
139
- require_once($frm_helpers_path .'/FrmFormsHelper.php');
140
- unset($frm_helpers_path);
141
-
142
- global $frmpro_is_installed;
143
- $frmpro_is_installed = $frm_update->pro_is_installed_and_authorized();
144
-
145
- if($frmpro_is_installed)
146
- require_once(FRM_PATH .'/pro/formidable-pro.php');
147
 
148
- // The number of items per page on a table
149
- global $frm_page_size;
150
- $frm_page_size = 20;
 
 
 
151
 
152
- global $frm_sidebar_width;
153
- $frm_sidebar_width = '';
 
 
154
 
155
- // Register Widgets
156
- if(class_exists('WP_Widget')){
157
- require_once(FRM_PATH . '/classes/widgets/FrmShowForm.php');
158
- add_action('widgets_init', create_function('', 'return register_widget("FrmShowForm");'));
159
  }
 
 
 
2
  /*
3
  Plugin Name: Formidable
4
  Description: Quickly and easily create drag-and-drop forms
5
+ Version: 1.07.05
6
  Plugin URI: http://formidablepro.com/
7
  Author URI: http://strategy11.com
8
  Author: Strategy11
21
  GNU General Public License for more details.
22
  */
23
 
24
+ require(dirname( __FILE__ ) .'/classes/models/FrmSettings.php');
25
 
26
+ global $frm_vars;
27
+ $frm_vars = array(
28
+ 'load_css' => false, 'forms_loaded' => array(),
29
+ 'created_entries' => array(), 'pro_is_installed' => false
30
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
+ require(dirname( __FILE__ ) .'/classes/helpers/FrmAppHelper.php');
33
+ $obj = new FrmAppHelper();
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  /***** SETUP SETTINGS OBJECT *****/
36
  global $frm_settings;
55
  }
56
  $frm_settings->set_default_options(); // Sets defaults for unset options
57
 
58
+ $frm_path = FrmAppHelper::plugin_path();
59
+
60
  // Instansiate Models
61
+ require($frm_path .'/classes/models/FrmDb.php');
62
+ require($frm_path .'/classes/models/FrmField.php');
63
+ require($frm_path .'/classes/models/FrmForm.php');
64
+ require($frm_path .'/classes/models/FrmEntry.php');
65
+ require($frm_path .'/classes/models/FrmEntryMeta.php');
66
+ require($frm_path .'/classes/models/FrmNotification.php');
 
 
67
 
68
  global $frmdb;
69
  global $frm_field;
70
  global $frm_form;
71
  global $frm_entry;
72
  global $frm_entry_meta;
 
73
 
74
  $frmdb = new FrmDb();
75
  $frm_field = new FrmField();
76
  $frm_form = new FrmForm();
77
  $frm_entry = new FrmEntry();
78
  $frm_entry_meta = new FrmEntryMeta();
79
+ $obj = new FrmNotification();
 
80
 
81
 
82
  // Instansiate Controllers
83
+ require($frm_path .'/classes/controllers/FrmAppController.php');
84
+ require($frm_path .'/classes/controllers/FrmFieldsController.php');
85
+ require($frm_path .'/classes/controllers/FrmFormsController.php');
86
+ require($frm_path .'/classes/controllers/FrmEntriesController.php');
87
+
88
+ FrmAppController::load_hooks();
89
+ FrmEntriesController::load_hooks();
90
+ FrmFieldsController::load_hooks();
91
+ FrmFormsController::load_hooks();
92
+
93
+ if(is_admin()){
94
+ require($frm_path .'/classes/controllers/FrmSettingsController.php');
95
+ FrmSettingsController::load_hooks();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
 
97
+ require($frm_path .'/classes/controllers/FrmStatisticsController.php');
98
+ FrmStatisticsController::load_hooks();
99
+
100
+ require($frm_path .'/classes/controllers/FrmXMLController.php');
101
+ FrmXMLController::load_hooks();
102
+ }
103
 
104
+ // Instansiate Helpers
105
+ require($frm_path .'/classes/helpers/FrmEntriesHelper.php');
106
+ require($frm_path .'/classes/helpers/FrmFieldsHelper.php');
107
+ require($frm_path .'/classes/helpers/FrmFormsHelper.php');
108
 
109
+ if ( file_exists($frm_path . '/pro/formidable-pro.php') ) {
110
+ require($frm_path .'/pro/formidable-pro.php');
 
 
111
  }
112
+
113
+ include($frm_path .'/deprecated.php');
114
+ unset($frm_path);
images/duplicate.png DELETED
Binary file
images/form_16-2x.png ADDED
Binary file
images/form_16.png CHANGED
Binary file
images/form_32.png DELETED
Binary file
images/form_32_sprite-2x.png ADDED
Binary file
images/form_32_sprite.png ADDED
Binary file
images/form_nav_bg6.png DELETED
Binary file
images/grey_bg.png DELETED
Binary file
images/icon.png DELETED
Binary file
images/icons.png DELETED
Binary file
images/marker.png DELETED
Binary file
images/mask.png DELETED
Binary file
images/move.png DELETED
Binary file
images/report_icon.png DELETED
Binary file
images/rte.gif DELETED
Binary file
images/tooltip.png CHANGED
Binary file
images/tooltip_white.png DELETED
Binary file
images/tr_icons_white.png DELETED
Binary file
images/trash.png CHANGED
Binary file
images/wheel.png DELETED
Binary file
js/bootstrap.min.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Bootstrap v3.0.3
3
+ *
4
+ * Copyright 2013 Twitter, Inc
5
+ * Licensed under the Apache License v2.0
6
+ * http://www.apache.org/licenses/LICENSE-2.0
7
+ *
8
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
+ * Compontents: Tooltip, Dropdowns, Transitions
10
+ */
11
+
12
+ +function(a){function e(){a(b).remove(),a(c).each(function(b){var c=f(a(this));if(!c.hasClass("open"))return;c.trigger(b=a.Event("hide.bs.dropdown"));if(b.isDefaultPrevented())return;c.removeClass("open").trigger("hidden.bs.dropdown")})}function f(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}"use strict";var b=".dropdown-backdrop",c="[data-toggle=dropdown]",d=function(b){a(b).on("click.bs.dropdown",this.toggle)};d.prototype.toggle=function(b){var c=a(this);if(c.is(".disabled, :disabled"))return;var d=f(c),g=d.hasClass("open");e();if(!g){"ontouchstart"in document.documentElement&&!d.closest(".navbar-nav").length&&a('<div class="dropdown-backdrop"/>').insertAfter(a(this)).on("click",e),d.trigger(b=a.Event("show.bs.dropdown"));if(b.isDefaultPrevented())return;d.toggleClass("open").trigger("shown.bs.dropdown"),c.focus()}return!1},d.prototype.keydown=function(b){if(!/(38|40|27)/.test(b.keyCode))return;var d=a(this);b.preventDefault(),b.stopPropagation();if(d.is(".disabled, :disabled"))return;var e=f(d),g=e.hasClass("open");if(!g||g&&b.keyCode==27)return b.which==27&&e.find(c).focus(),d.click();var h=a("[role=menu] li:not(.divider):visible a",e);if(!h.length)return;var i=h.index(h.filter(":focus"));b.keyCode==38&&i>0&&i--,b.keyCode==40&&i<h.length-1&&i++,~i||(i=0),h.eq(i).focus()};var g=a.fn.dropdown;a.fn.dropdown=function(b){return this.each(function(){var c=a(this),e=c.data("bs.dropdown");e||c.data("bs.dropdown",e=new d(this)),typeof b=="string"&&e[b].call(c)})},a.fn.dropdown.Constructor=d,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=g,this},a(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",c,d.prototype.toggle).on("keydown.bs.dropdown.data-api",c+", [role=menu]",d.prototype.keydown)}(jQuery),+function(a){"use strict";var b=function(a,b){this.type=this.options=this.enabled=this.timeout=this.hoverState=this.$element=null,this.init("tooltip",a,b)};b.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},b.prototype.init=function(b,c,d){this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d);var e=this.options.trigger.split(" ");for(var f=e.length;f--;){var g=e[f];if(g=="click")this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if(g!="manual"){var h=g=="hover"?"mouseenter":"focus",i=g=="hover"?"mouseleave":"blur";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},b.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},b.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);clearTimeout(c.timeout),c.hoverState="in";if(!c.options.delay||!c.options.delay.show)return c.show();c.timeout=setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show)},b.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);clearTimeout(c.timeout),c.hoverState="out";if(!c.options.delay||!c.options.delay.hide)return c.hide();c.timeout=setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide)},b.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);if(b.isDefaultPrevented())return;var c=this.tip();this.setContent(),this.options.animation&&c.addClass("fade");var d=typeof this.options.placement=="function"?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,e=/\s?auto?\s?/i,f=e.test(d);f&&(d=d.replace(e,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var g=this.getPosition(),h=c[0].offsetWidth,i=c[0].offsetHeight;if(f){var j=this.$element.parent(),k=d,l=document.documentElement.scrollTop||document.body.scrollTop,m=this.options.container=="body"?window.innerWidth:j.outerWidth(),n=this.options.container=="body"?window.innerHeight:j.outerHeight(),o=this.options.container=="body"?0:j.offset().left;d=d=="bottom"&&g.top+g.height+i-l>n?"top":d=="top"&&g.top-l-i<0?"bottom":d=="right"&&g.right+h>m?"left":d=="left"&&g.left-h<o?"right":d,c.removeClass(k).addClass(d)}var p=this.getCalculatedOffset(d,g,h,i);this.applyPlacement(p,d),this.$element.trigger("shown.bs."+this.type)}},b.prototype.applyPlacement=function(a,b){var c,d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),a.top=a.top+g,a.left=a.left+h,d.offset(a).addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;b=="top"&&j!=f&&(c=!0,a.top=a.top+f-j);if(/bottom|top/.test(b)){var k=0;a.left<0&&(k=a.left*-2,a.left=0,d.offset(a),i=d[0].offsetWidth,j=d[0].offsetHeight),this.replaceArrow(k-e+i,i,"left")}else this.replaceArrow(j-f,j,"top");c&&d.offset(a)},b.prototype.replaceArrow=function(a,b,c){this.arrow().css(c,a?50*(1-a/b)+"%":"")},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},b.prototype.hide=function(){function e(){b.hoverState!="in"&&c.detach()}var b=this,c=this.tip(),d=a.Event("hide.bs."+this.type);this.$element.trigger(d);if(d.isDefaultPrevented())return;return c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?c.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),this.$element.trigger("hidden.bs."+this.type),this},b.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},b.prototype.hasContent=function(){return this.getTitle()},b.prototype.getPosition=function(){var b=this.$element[0];return a.extend({},typeof b.getBoundingClientRect=="function"?b.getBoundingClientRect():{width:b.offsetWidth,height:b.offsetHeight},this.$element.offset())},b.prototype.getCalculatedOffset=function(a,b,c,d){return a=="bottom"?{top:b.top+b.height,left:b.left+b.width/2-c/2}:a=="top"?{top:b.top-d,left:b.left+b.width/2-c/2}:a=="left"?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},b.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a},b.prototype.tip=function(){return this.$tip=this.$tip||a(this.options.template)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},b.prototype.validate=function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},b.prototype.enable=function(){this.enabled=!0},b.prototype.disable=function(){this.enabled=!1},b.prototype.toggleEnabled=function(){this.enabled=!this.enabled},b.prototype.toggle=function(b){var c=b?a(b.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type):this;c.tip().hasClass("in")?c.leave(c):c.enter(c)},b.prototype.destroy=function(){this.hide().$element.off("."+this.type).removeData("bs."+this.type)};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f=typeof c=="object"&&c;e||d.data("bs.tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(jQuery),+function(a){function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(a.style[c]!==undefined)return{end:b[c]}}"use strict",a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery)
js/formidable.js CHANGED
@@ -1,59 +1,80 @@
1
  jQuery(document).ready(function($){
2
- var trigger=$('.frm_blank_field').closest('.frm_toggle_container').prev('.frm_trigger');if(trigger)frmToggleSection(trigger);
3
-
4
- if($.isFunction($.fn.on)){
5
- $(document).on('click', '.frm-show-form input[type="submit"]', function(){
6
- if($(this).attr('name') == 'frm_prev_page'){
7
- var f = $(this).parents('form:first');
8
- var v = $(f).find('.frm_next_page').attr('id').replace('frm_next_p_', '');
9
- $('.frm_next_page').val(v);
10
- }else {
11
- $('.frm_next_page').val('');
12
- }
13
- });
14
  }else{
15
- $('.frm-show-form input[type="submit"]').live('click', function(){
16
- if($(this).attr('name') == 'frm_prev_page'){
17
- var f = $(this).parents('form:first');
18
- var v = $(f).find('.frm_next_page').attr('id').replace('frm_next_p_', '');
19
- $('.frm_next_page').val(v);
20
- }else{
21
- $('.frm_next_page').val('');
22
  }
23
  });
24
  }
25
 
 
 
26
  });
27
 
28
- function frmToggleSection($sec){
29
- $sec.next('.frm_toggle_container').slideToggle(200);
30
- if($sec.hasClass('active')){
31
- $sec.removeClass('active'),$sec.children('.ui-icon-triangle-1-s').addClass('ui-icon-triangle-1-e');
32
- $sec.children('.ui-icon-triangle-1-e').removeClass('ui-icon-triangle-1-s');
33
- }else{
34
- $sec.addClass("active"), $sec.children('.ui-icon-triangle-1-e').addClass('ui-icon-triangle-1-s');
35
- $sec.children('.ui-icon-triangle-1-s').removeClass('ui-icon-triangle-1-e');
 
 
 
 
 
 
 
 
 
 
 
36
  }
 
 
 
 
37
  }
38
 
39
  function frmClearDefault(default_value,thefield){
40
- var default_value=default_value.replace(/(\n|\r\n)/g, '\r');var this_val=thefield.value.replace(/(\n|\r\n)/g, '\r');
41
- if(this_val==default_value){thefield.value='';jQuery(thefield).removeClass('frm_default');}
 
 
 
42
  }
 
43
  function frmReplaceDefault(default_value,thefield){
44
- var default_value=default_value.replace(/(\n|\r\n)/g, '\r');
45
- if(thefield.value==''){thefield.value=default_value;jQuery(thefield).addClass('frm_default');}
 
 
46
  }
47
 
48
- function frmCheckDependent(selected,field_id){
49
- if(typeof(__FRMRULES)!='undefined') var rules=__FRMRULES;
50
- if(typeof(__FRMURL)!='undefined') var ajax_url=__FRMURL;
51
- if(typeof(rules)=='undefined') return;
52
-
53
- rules=rules[field_id];
54
  if(typeof(rules)=='undefined') return;
 
 
 
 
 
55
 
56
- var this_opts=new Array();
57
  for(var i=0;i<rules.length;i++){
58
  var rule=rules[i];
59
  if(typeof(rule)!='undefined'){
@@ -66,44 +87,47 @@ for(var i=0;i<rules.length;i++){
66
  }
67
  }
68
  }
69
- var show_fields=new Array();var hide_later=new Array();
 
70
  var len=this_opts.length;
71
  for(i=0; i<len; i++){
72
  (function(i){
73
  var f=this_opts[i];
74
- if(typeof(show_fields[f.HideField])=='undefined') show_fields[f.HideField]=new Array();
75
-
76
- /*if(f.MatchType=='any' && frmInArray(true, show_fields[f.HideField])){
77
- if(f.Show=='show'){jQuery('#frm_field_'+f.HideField+'_container').fadeIn('slow');}
78
- else{jQuery('#frm_field_'+f.HideField+'_container').fadeOut('slow');}
79
- return;
80
- }*/
81
 
82
- if(f.FieldName!=field_id || typeof(selected)=='undefined'){
83
  var prevSel=selected;
84
- if(f.Type=='radio' || f.Type=='data-radio')
85
  selected=jQuery("input[name='item_meta["+f.FieldName+"]']:checked, input[type='hidden'][name='item_meta["+f.FieldName+"]']").val();
86
- else if(f.Type=='select' || f.Type=='data-select')
87
- selected=jQuery("select[name='item_meta["+f.FieldName+"]'], input[type='hidden'][name='item_meta["+f.FieldName+"]']").val();
88
- else if(f.Type !='checkbox' && f.Type !='data-checkbox')
89
- selected=jQuery("input[name='item_meta["+f.FieldName+"]']").val();
 
 
 
 
 
 
 
90
  }
91
 
92
  if(typeof(selected)=='undefined'){
93
- selected=jQuery("input[type=hidden][name='item_meta["+f.FieldName+"]']").val();
94
  if(typeof(selected)=='undefined') selected='';
95
  }
96
 
97
- if(f.Type=='checkbox'){
98
  show_fields[f.HideField][i]=false;
99
- jQuery("input[name='item_meta["+f.FieldName+"][]']:checked, input[type='hidden'][name='item_meta["+f.FieldName+"][]']").each(function(){
100
  var match=frmOperators(f.Condition,f.Value,jQuery(this).val());
101
- if(show_fields[f.HideField][i]==false && match)
102
- show_fields[f.HideField][i]=true;
103
  });
104
  }else if(f.Type=='data-radio'){
105
- if(typeof(f.DataType)=='undefined' || f.DataType=='' || f.DataType=='data'){
106
- if(selected==''){
107
  show_fields[f.HideField][i]=false;
108
  jQuery('#frm_field_'+f.HideField+'_container').fadeOut('slow');
109
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
@@ -112,42 +136,54 @@ for(i=0; i<len; i++){
112
  else show_fields[f.HideField][i]={'funcName':'frmGetData','f':f,'sel':selected};
113
  }
114
  }else{
115
- if(selected==''){show_fields[f.HideField][i]=false;}
116
- else{show_fields[f.HideField][i]={'funcName':'frmGetDataOpts','f':f,'sel':selected};}
 
 
 
117
  }
118
- }else if(f.Type=='data-checkbox'){
119
- var checked_vals=new Array();
120
  jQuery("input[name='item_meta["+f.FieldName+"][]']:checked, input[type='hidden'][name='item_meta["+f.FieldName+"][]']").each(function(){checked_vals.push(jQuery(this).val());});
121
- if(typeof(f.DataType)=='undefined' || f.DataType=='' || f.DataType=='data'){
122
- if(checked_vals.length==0){
123
- show_fields[f.HideField][i]=false;
124
- jQuery('#frm_field_'+f.HideField+'_container').fadeOut('slow');
125
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
 
 
126
  }else{
127
- show_fields[f.HideField][i]=true;
 
128
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
129
- frmGetData(f,checked_vals,ajax_url,1);
130
- //jQuery.each(checked_vals, function(ckey,cval){frmGetData(f,cval,ajax_url,1); });
131
  }
132
  }else{
133
- if(checked_vals.length==0){show_fields[f.HideField][i]=false;}
134
- else{show_fields[f.HideField][i]={'funcName':'frmGetDataOpts','f':f,'sel':checked_vals};}
 
 
 
135
  }
136
  }else if(f.Type=='data-select' && typeof(f.LinkedField)!='undefined'){
137
- if(f.DataType=='' || f.DataType=='data'){
138
- if(selected==''){show_fields[f.HideField][i]=false; jQuery('#frm_data_field_'+f.HideField+'_container').html('');}
139
- else if(selected && jQuery.isArray(selected)){
 
140
  show_fields[f.HideField][i]=true;
141
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
142
- frmGetData(f,selected,ajax_url,1);
143
- }else{show_fields[f.HideField][i]={'funcName':'frmGetData','f':f,'sel':selected};}
 
 
144
  }else{
145
- if(selected==''){show_fields[f.HideField][i]=false;}
146
- else{show_fields[f.HideField][i]={'funcName':'frmGetDataOpts','f':f,'sel':selected};}
 
 
 
147
  }
148
  }else{
149
  if(typeof(f.Value)=='undefined' && f.Type.indexOf('data') === 0){
150
- if(selected=='') f.Value='1';
151
  else f.Value=selected;
152
  show_fields[f.HideField][i]=frmOperators(f.Condition,f.Value,selected);
153
  f.Value=undefined;
@@ -155,13 +191,21 @@ for(i=0; i<len; i++){
155
  show_fields[f.HideField][i]=frmOperators(f.Condition,f.Value,selected);
156
  }
157
  }
158
- if(f.FieldName!=field_id) selected=prevSel;
 
 
 
159
  if(f.MatchType=='any'){
160
- if(show_fields[f.HideField][i]!=false){
161
  if(f.Show=='show'){
162
- if(show_fields[f.HideField][i]!=true){frmShowField(show_fields[f.HideField][i],ajax_url,f.FieldName);}
163
- else{jQuery('#frm_field_'+f.HideField+'_container').show();}
164
- }else{jQuery('#frm_field_'+f.HideField+'_container').hide();}
 
 
 
 
 
165
  }else{
166
  hide_later.push({'result':show_fields[f.HideField][i],'show':f.Show,'match':'any','fname':f.FieldName,'fkey':f.HideField});
167
  }
@@ -172,14 +216,24 @@ for(i=0; i<len; i++){
172
  if(i==(len-1)){
173
  jQuery.each(hide_later, function(hkey,hvalue){
174
  if(typeof(hvalue)!='undefined' && typeof(hvalue.result)!='undefined'){
175
- if((hvalue.match=='any' && !frmInArray(true, show_fields[hvalue.fkey])) || (hvalue.match=='all' && frmInArray(false, show_fields[hvalue.fkey]))){
176
- if(hvalue.show=='show'){jQuery('#frm_field_'+hvalue.fkey+'_container:hidden').hide(); jQuery('#frm_field_'+hvalue.fkey+'_container').hide();}
177
- else{ jQuery('#frm_field_'+hvalue.fkey+'_container').show();}
 
 
 
 
178
  }else{
179
- if(hvalue.show=='show'){ jQuery('#frm_field_'+hvalue.fkey+'_container').show();}
180
- else{jQuery('#frm_field_'+hvalue.fkey+'_container:hidden').hide(); jQuery('#frm_field_'+hvalue.fkey+'_container').hide();}
 
 
 
 
 
 
 
181
  }
182
- if(typeof(hvalue.result)!=false && typeof(hvalue.result)!=true) frmShowField(hvalue.result,ajax_url,hvalue.fname);
183
  delete hide_later[hkey];
184
  }
185
  });
@@ -189,46 +243,43 @@ for(i=0; i<len; i++){
189
  }
190
 
191
  function frmOperators(op,a,b){
192
- if(typeof(b)=='undefined') var b='';
193
- if(jQuery.isArray(b) && jQuery.inArray(a,b) > -1) var b=a;
194
- if(String(a).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/) != -1){var a=parseFloat(a);var b=parseFloat(b);}
 
 
 
 
 
195
  var operators = {
196
- '==': function(c,d){ return c == d },
197
- '!=': function(c,d){ return c != d },
198
- '<': function(c,d){ return c > d },
199
- '>': function(c,d){ return c < d },
200
- 'LIKE': function(c,d){return d.indexOf(c) != -1},
201
- 'not LIKE': function(c,d){return d.indexOf(c) == -1}
202
  };
203
  return operators[op](a,b);
204
  }
205
 
206
- function frmInArray(needle, haystack){
207
- if(typeof(haystack)=='undefined')
208
- return false;
209
- var len=haystack.length;
210
- for(var i=0; i<len; i++){ if(haystack[i] == needle) return true;}
211
- return false;
212
- }
213
-
214
- function frmShowField(funcInfo,ajax_url,field_id){
215
- if(funcInfo.funcName=='frmGetDataOpts'){frmGetDataOpts(funcInfo.f,funcInfo.sel,ajax_url,field_id);}
216
- else if(funcInfo.funcName=='frmGetData'){frmGetData(funcInfo.f,funcInfo.sel,ajax_url,0);}
217
  }
218
 
219
- function frmGetData(f,selected,ajax_url,append){
220
  if(!append)
221
  jQuery('#frm_data_field_'+f.HideField+'_container').html('<span class="frm-loading-img"></span>');
222
  jQuery.ajax({
223
- type:"POST",url:ajax_url,
224
- data:"controller=fields&frm_action=ajax_get_data&entry_id="+selected+"&field_id="+f.LinkedField+"&current_field="+f.HideField,
225
  success:function(html){
226
- if(html!='') jQuery('#frm_field_'+f.HideField+'_container').show();
227
  if(append){jQuery('#frm_data_field_'+f.HideField+'_container').append(html);}
228
  else{
229
  jQuery('#frm_data_field_'+f.HideField+'_container').html(html);
230
  var val=jQuery('#frm_data_field_'+f.HideField+'_container').children('input').val();
231
- if(html=='' || val=='') jQuery('#frm_field_'+f.HideField+'_container').hide();
232
  frmCheckDependent(selected,f.HideField);
233
  }
234
  return true;
@@ -236,184 +287,227 @@ function frmGetData(f,selected,ajax_url,append){
236
  });
237
  }
238
 
239
- function frmGetDataOpts(f,selected,ajax_url,field_id){
240
- var prev=new Array();
 
 
 
 
 
 
 
 
 
241
  if(f.DataType=='checkbox' || f.DataType=='radio'){
242
- jQuery("input[name='item_meta["+f.HideField+"][]']:checked").each(function(){prev.push(jQuery(this).val());});
243
  }else if(f.DataType=='select'){
244
- //TODO: get previous value for multi-selects and set it!
245
- if(jQuery("select[name='item_meta["+f.HideField+"][]']").length>0) var mult='[]'; else var mult='';
246
- prev.push(jQuery("select[name='item_meta["+f.HideField+"]"+mult+"']").val());
247
- }else{prev.push(jQuery("input[name='item_meta["+f.HideField+"]']").val());}
248
- jQuery('#frm_data_field_'+f.HideField+'_container').html('<span class="frm-loading-img"></span>');
249
- if(prev.length==0) prev='';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
250
  jQuery.ajax({
251
- type:"POST",url:ajax_url,
252
- data:"controller=fields&frm_action=ajax_data_options&hide_field="+field_id+"&entry_id="+selected+"&selected_field_id="+f.LinkedField+"&field_id="+f.HideField,
253
  success:function(html){
254
- if(html==''){
255
  jQuery('#frm_field_'+f.HideField+'_container').hide();
256
  prev='';
257
  }else if(f.MatchType!='all'){
258
  jQuery('#frm_field_'+f.HideField+'_container').show();
259
  }
260
  jQuery('#frm_data_field_'+f.HideField+'_container').html(html);
261
- if(jQuery(html).hasClass('frm_chzn'))
262
- jQuery('.frm_chzn').chosen();
263
 
264
- if(html!='' && prev!=''){
 
 
 
 
 
 
265
  //select options that were selected previously
266
  jQuery.each(prev, function(ckey,cval){
267
- if(f.DataType=='checkbox'){
268
- jQuery("#field_"+f.HideField+"-"+cval).attr('checked','checked');
269
- }else if(f.DataType=='select'){
270
- if(jQuery("select[name='item_meta["+f.HideField+"]"+mult+"'] option[value="+cval+"]").length>0)
271
- jQuery("select[name='item_meta["+f.HideField+"]"+mult+"']").val(cval);
272
- else
273
- prev.splice(ckey,1); //remove options that no longer exist
274
- }else{
275
- jQuery("input[name='item_meta["+f.HideField+"]']").val(cval);
 
 
 
276
  }
277
  });
278
  }
279
- frmCheckDependent(prev,f.HideField);
 
 
 
280
  }
281
  });
282
  }
283
 
284
  function frmOnSubmit(e){
285
  e.preventDefault();
286
- if(jQuery(this).find('.wp-editor-wrap').length){
287
  tinyMCE.triggerSave();
288
  }
289
  frmGetFormErrors(this);
290
  }
291
 
292
- function frmGetFormErrors(object,ajax_url){
293
- if(typeof(__FRMURL)!='undefined') var ajax_url=__FRMURL;
294
- jQuery(object).find('input[type="submit"]').attr('disabled','disabled');
295
  jQuery(object).find('.frm_ajax_loading').css('visibility', 'visible');
 
 
 
 
 
296
  jQuery.ajax({
297
- type:"POST",url:ajax_url,
298
- data:jQuery(object).serialize()+"&controller=entries&_ajax_nonce=1",
299
- success:function(errObj){
300
  errObj=errObj.replace(/^\s+|\s+$/g,'');
301
  if(errObj.indexOf('{') === 0)
302
- var errObj=jQuery.parseJSON(errObj);
303
- if(errObj=='' || !errObj || errObj=='0' || (typeof(errObj) != 'object' && errObj.indexOf('<!DOCTYPE') === 0)){
304
- if(jQuery("#frm_loading").length){
305
  var file_val=jQuery(object).find('input[type=file]').val();
306
- if(typeof(file_val)!='undefined' && file_val!=''){window.setTimeout(function(){jQuery("#frm_loading").fadeIn('slow');},2000);}
 
 
307
  }
308
  if(jQuery(object).find('#recaptcha_area').length && (jQuery(object).find('.frm_next_page').length < 1 || jQuery(object).find('.frm_next_page').val() < 1))
309
  jQuery(object).find('#recaptcha_area').replaceWith('');
310
 
311
- object.submit();
312
  }else if(typeof(errObj) != 'object'){
313
  jQuery(object).find('.frm_ajax_loading').css('visibility', 'hidden');
314
- var jump=jQuery(object).closest('#frm_form_'+jQuery(object).find('input[name="form_id"]').val()+'_container');
315
- var newPos=jump.offset().top;
316
  jump.replaceWith(errObj);
317
- var cOff=document.documentElement.scrollTop || document.body.scrollTop;
318
  if(newPos && newPos > 0 && cOff > newPos) jQuery(window).scrollTop(newPos);
319
  if(typeof(frmThemeOverride_frmAfterSubmit) == 'function'){
320
  var fin=jQuery(errObj).find('input[name="form_id"]').val();
321
- if(fin) var p=jQuery('input[name="frm_page_order_'+fin+'"]').val();
 
322
  frmThemeOverride_frmAfterSubmit(fin,p,errObj);
323
  }
324
- if(jQuery(object).find('input[name="id"]').length > 0){
325
  var eid = jQuery(object).find('input[name="id"]').val();
326
- var oc = jQuery('#frm_edit_'+eid).find('a').addClass('frm_ajax_edited').click();
327
  }
328
- }else{
329
- jQuery(object).find('input[type="submit"]').removeAttr('disabled');
330
  jQuery(object).find('.frm_ajax_loading').css('visibility', 'hidden');
331
 
332
- //show errors
333
  var cont_submit=true;
334
- jQuery('.form-field').removeClass('frm_blank_field');
335
- jQuery('.form-field .frm_error').replaceWith('');
336
- var jump=''; var show_captcha=false;
337
- for (var key in errObj){
 
338
  if(jQuery(object).find('#frm_field_'+key+'_container').length && jQuery('#frm_field_'+key+'_container').is(":visible")){
339
  cont_submit=false;
340
- if(jump==''){
341
  jump='#frm_field_'+key+'_container';
342
- var newPos=jQuery(object).find(jump).offset().top;
343
  var m=jQuery('html').css('margin-top');
344
  if(newPos && m) newPos=newPos-parseInt(m);
345
- var cOff=document.documentElement.scrollTop || document.body.scrollTop;
346
  if(newPos && cOff > newPos) jQuery(window).scrollTop(newPos-4);
347
  }
348
  if(jQuery(object).find('#frm_field_'+key+'_container #recaptcha_area').length){
349
- var show_captcha=true;
350
  Recaptcha.reload();
351
  }
352
  jQuery(object).find('#frm_field_'+key+'_container').addClass('frm_blank_field');
353
  if(typeof(frmThemeOverride_frmPlaceError) == 'function'){frmThemeOverride_frmPlaceError(key,errObj);}
354
  else{jQuery(object).find('#frm_field_'+key+'_container').append('<div class="frm_error">'+errObj[key]+'</div>');}
 
 
 
355
  }
356
  }
357
- if(show_captcha!=true) jQuery(object).find('#recaptcha_area').replaceWith('');
358
  if(cont_submit) object.submit();
359
- }
360
- },
361
- error:function(html){jQuery(object).find('input[type="submit"]').removeAttr('disabled');object.submit();}
 
 
362
  });
363
  }
364
 
365
- function frmGetEntryToEdit(form_id,entry_id,post_id,ajax_url){
366
- jQuery.ajax({
367
- type:"POST",url:ajax_url,
368
- data:"controller=entries&frm_action=edit_entry_ajax&id="+form_id+"&post_id="+post_id+"entry_id="+entry_id,
369
- success:function(form){jQuery('#frm_form_'+form_id+'_container').replaceWith(form);}
370
- });
371
- }
372
-
373
- function frmEditEntry(entry_id,ajax_url,prefix,post_id,form_id,cancel,hclass){
374
  var label=jQuery('#frm_edit_'+entry_id).text();
375
  var orig=jQuery('#'+prefix+entry_id).html();
376
  jQuery('#'+prefix+entry_id).html('<span class="frm-loading-img" id="'+prefix+entry_id+'"></span><div class="frm_orig_content" style="display:none">'+orig+'</div>');
377
  jQuery.ajax({
378
- type:"POST",url:ajax_url,dataType:"html",
379
- data:"controller=entries&frm_action=edit_entry_ajax&post_id="+post_id+"&entry_id="+entry_id+"&id="+form_id,
380
  success:function(html){
381
  jQuery('#'+prefix+entry_id).children('.frm-loading-img').replaceWith(html);
382
- jQuery('#frm_edit_'+entry_id).replaceWith('<span id="frm_edit_'+entry_id+'"><a onclick="frmCancelEdit('+entry_id+',\''+prefix+'\',\''+label+'\',\''+ajax_url+'\','+post_id+','+form_id+',\''+hclass+'\')" class="'+hclass+'">'+cancel+'</a></span>');
383
  }
384
  });
385
  }
386
 
387
- function frmCancelEdit(entry_id,prefix,label,ajax_url,post_id,form_id,hclass){
388
  var cancel=jQuery('#frm_edit_'+entry_id).text();
389
  if(!jQuery('#frm_edit_'+entry_id).find('a').hasClass('frm_ajax_edited')){
390
  jQuery('#'+prefix+entry_id).children('.frm_forms').replaceWith('');
391
  jQuery('#'+prefix+entry_id).children('.frm_orig_content').fadeIn('slow').removeClass('frm_orig_content');
392
  }
393
- jQuery('#frm_edit_'+entry_id).replaceWith('<a id="frm_edit_'+entry_id+'" class="frm_edit_link '+hclass+'" href="javascript:frmEditEntry('+entry_id+',\''+ajax_url+'\',\''+prefix+'\','+post_id+','+form_id+',\''+cancel+'\',\''+hclass+'\')">'+label+'</a>');
394
  }
395
 
396
- function frmUpdateField(entry_id,field_id,value,message,ajax_url,num){
397
  jQuery('#frm_update_field_'+entry_id+'_'+field_id).html('<span class="frm-loading-img"></span>');
398
  jQuery.ajax({
399
- type:"POST",url:ajax_url,
400
- data:"controller=entries&frm_action=update_field_ajax&entry_id="+entry_id+"&field_id="+field_id+"&value="+value,
401
- success:function(html){
402
- if(message == '')
403
  jQuery('#frm_update_field_'+entry_id+'_'+field_id+'_'+num).fadeOut('slow');
404
- else
405
  jQuery('#frm_update_field_'+entry_id+'_'+field_id+'_'+num).replaceWith(message);
 
406
  }
407
  });
408
  }
409
 
410
- function frmDeleteEntry(entry_id,ajax_url,prefix){
411
  jQuery('#frm_delete_'+entry_id).replaceWith('<span class="frm-loading-img" id="frm_delete_'+entry_id+'"></span>');
412
  jQuery.ajax({
413
- type:"POST",url:ajax_url,
414
- data:"controller=entries&frm_action=destroy&entry="+entry_id,
415
  success:function(html){
416
- if(html == 'success')
417
  jQuery('#'+prefix+entry_id).fadeOut('slow');
418
  else
419
  jQuery('#frm_delete_'+entry_id).replaceWith(html);
@@ -422,17 +516,54 @@ function frmDeleteEntry(entry_id,ajax_url,prefix){
422
  });
423
  }
424
 
425
- function frmRemoveDiv(id){
426
- jQuery(id).fadeOut('slow').replaceWith('');
427
  }
428
 
429
- function frmNextUpload(obj,id,remove){
430
- obj.wrap('<div class="frm_file_names frm_uploaded_files">');
431
- obj.after(obj.val()+' <a href="#" onclick="frmClearFile(jQuery(this))">'+remove+'</a>');
432
- obj.hide(); jQuery('#frm_field_'+id+'_container').append('<input name="file'+id+'[]" type="file" onchange="frmNextUpload(jQuery(this),'+id+',\''+remove+'\')"/>');
 
 
 
 
 
 
 
 
433
  }
434
 
435
  function frmClearFile(file){
436
  file.parent('.frm_file_names').replaceWith('');
437
  return false;
438
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  jQuery(document).ready(function($){
2
+ $('.frm_ajax_loading').css('visibility', 'hidden');
3
+
4
+ $(document).on('click', '.frm_trigger', frmToggleSection);
5
+ if($('.frm_blank_field').length){
6
+ $('.frm_blank_field').closest('.frm_toggle_container').prev('.frm_trigger').click();
7
+ }
8
+
9
+ if($.isFunction($.fn.placeholder)){
10
+ $('.frm-show-form input, .frm-show-form textarea').placeholder();
 
 
 
11
  }else{
12
+ jQuery('.frm-show-form input[onblur], .frm-show-form textarea[onblur]').each(function(){
13
+ if(jQuery(this).val() === '' ){
14
+ jQuery(this).blur();
 
 
 
 
15
  }
16
  });
17
  }
18
 
19
+ $(document).on('click', '.frm-show-form input[type="submit"], .frm-show-form input[name="frm_prev_page"], .frm-show-form .frm_save_draft', frmSetNextPage);
20
+ $(document).on('click', '.frm_remove_link', frmRemoveDiv);
21
  });
22
 
23
+ function frmSetNextPage(e){
24
+ if(jQuery(this).attr('type') != 'submit')
25
+ e.preventDefault();
26
+
27
+ var f = jQuery(this).parents('form:first');
28
+ var v = '';
29
+ var d = '';
30
+
31
+ if(jQuery(this).attr('name') == 'frm_prev_page' || jQuery(this).hasClass('frm_prev_page')){
32
+ v = jQuery(f).find('.frm_next_page').attr('id').replace('frm_next_p_', '');
33
+ }else if(jQuery(this).attr('name') == 'frm_save_draft' || jQuery(this).hasClass('frm_save_draft')){
34
+ d = 1;
35
+ }
36
+
37
+ jQuery('.frm_next_page').val(v);
38
+ jQuery('.frm_saving_draft').val(d);
39
+
40
+ if(jQuery(this).attr('type') != 'submit')
41
+ f.trigger('submit');
42
  }
43
+
44
+ function frmToggleSection(){
45
+ jQuery(this).next('.frm_toggle_container').slideToggle('fast');
46
+ jQuery(this).toggleClass('active').children('.ui-icon-triangle-1-e, .ui-icon-triangle-1-s').toggleClass('ui-icon-triangle-1-s ui-icon-triangle-1-e');
47
  }
48
 
49
  function frmClearDefault(default_value,thefield){
50
+ var v = default_value.replace(/(\n|\r\n)/g, '\r');
51
+ var this_val=jQuery(thefield).val().replace(/(\n|\r\n)/g, '\r');
52
+ if(this_val == v){
53
+ jQuery(thefield).removeClass('frm_default').val('');
54
+ }
55
  }
56
+
57
  function frmReplaceDefault(default_value,thefield){
58
+ var v = default_value.replace(/(\n|\r\n)/g, '\r');
59
+ if(jQuery(thefield).val() === ''){
60
+ jQuery(thefield).addClass('frm_default').val(v);
61
+ }
62
  }
63
 
64
+ function frmCheckDependent(selected,field_id,rec){
65
+ if(typeof(__FRMRULES) == 'undefined'){
66
+ return;
67
+ }
68
+ var all_rules=__FRMRULES;
69
+ var rules = all_rules[field_id];
70
  if(typeof(rules)=='undefined') return;
71
+
72
+ if (typeof(rec) == 'undefined' || rec === null) {
73
+ //stop recursion?
74
+ rec = 'go';
75
+ }
76
 
77
+ var this_opts = [];
78
  for(var i=0;i<rules.length;i++){
79
  var rule=rules[i];
80
  if(typeof(rule)!='undefined'){
87
  }
88
  }
89
  }
90
+ var show_fields = [];
91
+ var hide_later = [];
92
  var len=this_opts.length;
93
  for(i=0; i<len; i++){
94
  (function(i){
95
  var f=this_opts[i];
96
+ if(typeof(show_fields[f.HideField]) == 'undefined')
97
+ show_fields[f.HideField] = [];
 
 
 
 
 
98
 
99
+ if(f.FieldName!=field_id || typeof(selected)=='undefined' || selected=='und'){
100
  var prevSel=selected;
101
+ if(f.Type=='radio' || f.Type=='data-radio'){
102
  selected=jQuery("input[name='item_meta["+f.FieldName+"]']:checked, input[type='hidden'][name='item_meta["+f.FieldName+"]']").val();
103
+ }else if(f.Type=='select' || f.Type=='data-select'){
104
+ selected=jQuery("select[name^='item_meta["+f.FieldName+"]'], input[type='hidden'][name^='item_meta["+f.FieldName+"]']").val();
105
+ if(jQuery("input[type='hidden'][name^='item_meta["+f.FieldName+"]']").length){
106
+ selected = [];
107
+ jQuery("input[type='hidden'][name^='item_meta["+f.FieldName+"]']").each(function(){
108
+ selected.push(jQuery(this).val());
109
+ });
110
+ }
111
+ }else if(f.Type !='checkbox' && f.Type !='data-checkbox'){
112
+ selected=jQuery("input[name^='item_meta["+f.FieldName+"]']").val();
113
+ }
114
  }
115
 
116
  if(typeof(selected)=='undefined'){
117
+ selected=jQuery("input[type=hidden][name^='item_meta["+f.FieldName+"]']").val();
118
  if(typeof(selected)=='undefined') selected='';
119
  }
120
 
121
+ if(f.Type=='checkbox' || (f.Type=='data-checkbox' && typeof(f.LinkedField)=='undefined')){
122
  show_fields[f.HideField][i]=false;
123
+ jQuery("input[name='item_meta["+f.FieldName+"][]']:checked, input[type='hidden'][name^='item_meta["+f.FieldName+"]']").each(function(){
124
  var match=frmOperators(f.Condition,f.Value,jQuery(this).val());
125
+ if(show_fields[f.HideField][i] === false && match)
126
+ show_fields[f.HideField][i] = true;
127
  });
128
  }else if(f.Type=='data-radio'){
129
+ if(typeof(f.DataType) == 'undefined' || f.DataType === '' || f.DataType === 'data'){
130
+ if(selected === ''){
131
  show_fields[f.HideField][i]=false;
132
  jQuery('#frm_field_'+f.HideField+'_container').fadeOut('slow');
133
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
136
  else show_fields[f.HideField][i]={'funcName':'frmGetData','f':f,'sel':selected};
137
  }
138
  }else{
139
+ if(selected === ''){
140
+ show_fields[f.HideField][i]=false;
141
+ }else{
142
+ show_fields[f.HideField][i]={'funcName':'frmGetDataOpts','f':f,'sel':selected};
143
+ }
144
  }
145
+ }else if(f.Type=='data-checkbox' && typeof(f.LinkedField)!='undefined'){
146
+ var checked_vals = [];
147
  jQuery("input[name='item_meta["+f.FieldName+"][]']:checked, input[type='hidden'][name='item_meta["+f.FieldName+"][]']").each(function(){checked_vals.push(jQuery(this).val());});
148
+ if(typeof(f.DataType) == 'undefined' || f.DataType === '' || f.DataType === 'data'){
149
+ if(checked_vals.length){
150
+ show_fields[f.HideField][i]=true;
 
151
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
152
+ frmGetData(f,checked_vals,1);
153
+ //jQuery.each(checked_vals, function(ckey,cval){frmGetData(f,cval,1); });
154
  }else{
155
+ show_fields[f.HideField][i]=false;
156
+ jQuery('#frm_field_'+f.HideField+'_container').fadeOut('slow');
157
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
 
 
158
  }
159
  }else{
160
+ if(checked_vals.length){
161
+ show_fields[f.HideField][i] = {'funcName':'frmGetDataOpts','f':f,'sel':checked_vals};
162
+ }else{
163
+ show_fields[f.HideField][i] = false;
164
+ }
165
  }
166
  }else if(f.Type=='data-select' && typeof(f.LinkedField)!='undefined'){
167
+ if(f.DataType === '' || f.DataType == 'data'){
168
+ if(selected === ''){
169
+ show_fields[f.HideField][i]=false; jQuery('#frm_data_field_'+f.HideField+'_container').html('');
170
+ }else if(selected && jQuery.isArray(selected)){
171
  show_fields[f.HideField][i]=true;
172
  jQuery('#frm_data_field_'+f.HideField+'_container').html('');
173
+ frmGetData(f,selected,1);
174
+ }else{
175
+ show_fields[f.HideField][i]={'funcName':'frmGetData','f':f,'sel':selected};
176
+ }
177
  }else{
178
+ if(selected === ''){
179
+ show_fields[f.HideField][i]=false;
180
+ }else{
181
+ show_fields[f.HideField][i]={'funcName':'frmGetDataOpts','f':f,'sel':selected};
182
+ }
183
  }
184
  }else{
185
  if(typeof(f.Value)=='undefined' && f.Type.indexOf('data') === 0){
186
+ if(selected === '') f.Value='1';
187
  else f.Value=selected;
188
  show_fields[f.HideField][i]=frmOperators(f.Condition,f.Value,selected);
189
  f.Value=undefined;
191
  show_fields[f.HideField][i]=frmOperators(f.Condition,f.Value,selected);
192
  }
193
  }
194
+
195
+ if(f.FieldName!=field_id){
196
+ selected = prevSel;
197
+ }
198
  if(f.MatchType=='any'){
199
+ if(show_fields[f.HideField][i] !== false){
200
  if(f.Show=='show'){
201
+ if(show_fields[f.HideField][i] !== true){
202
+ frmShowField(show_fields[f.HideField][i],f.FieldName,rec);
203
+ }else{
204
+ jQuery('#frm_field_'+f.HideField+'_container').show();
205
+ }
206
+ }else{
207
+ jQuery('#frm_field_'+f.HideField+'_container').hide();
208
+ }
209
  }else{
210
  hide_later.push({'result':show_fields[f.HideField][i],'show':f.Show,'match':'any','fname':f.FieldName,'fkey':f.HideField});
211
  }
216
  if(i==(len-1)){
217
  jQuery.each(hide_later, function(hkey,hvalue){
218
  if(typeof(hvalue)!='undefined' && typeof(hvalue.result)!='undefined'){
219
+ if((hvalue.match=='any' && (jQuery.inArray(true, show_fields[hvalue.fkey]) == -1)) || (hvalue.match=='all' && (jQuery.inArray(false, show_fields[hvalue.fkey]) > -1))){
220
+ if(hvalue.show=='show'){
221
+ jQuery('#frm_field_'+hvalue.fkey+'_container:hidden').hide();
222
+ jQuery('#frm_field_'+hvalue.fkey+'_container').hide();
223
+ }else{
224
+ jQuery('#frm_field_'+hvalue.fkey+'_container').show();
225
+ }
226
  }else{
227
+ if(hvalue.show=='show'){
228
+ jQuery('#frm_field_'+hvalue.fkey+'_container').show();
229
+ }else{
230
+ jQuery('#frm_field_'+hvalue.fkey+'_container:hidden').hide();
231
+ jQuery('#frm_field_'+hvalue.fkey+'_container').hide();
232
+ }
233
+ }
234
+ if(typeof(hvalue.result) !== false && typeof(hvalue.result) !==true){
235
+ frmShowField(hvalue.result,hvalue.fname,rec);
236
  }
 
237
  delete hide_later[hkey];
238
  }
239
  });
243
  }
244
 
245
  function frmOperators(op,a,b){
246
+ if(typeof(b) == 'undefined') b='';
247
+ if(jQuery.isArray(b) && jQuery.inArray(a,b) > -1) b = a;
248
+ if(String(a).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/) != -1){
249
+ a=parseFloat(a);
250
+ b=parseFloat(b);
251
+ }
252
+ if(String(a).indexOf('&quot;') != '-1' && frmOperators(op,a.replace('&quot;', '"'),b))
253
+ return true;
254
  var operators = {
255
+ '==': function(c,d){ return c == d; },
256
+ '!=': function(c,d){ return c != d; },
257
+ '<': function(c,d){ return c > d; },
258
+ '>': function(c,d){ return c < d; },
259
+ 'LIKE': function(c,d){return d.indexOf(c) != -1;},
260
+ 'not LIKE': function(c,d){return d.indexOf(c) == -1;}
261
  };
262
  return operators[op](a,b);
263
  }
264
 
265
+ function frmShowField(funcInfo,field_id,rec){
266
+ if(funcInfo.funcName=='frmGetDataOpts'){frmGetDataOpts(funcInfo.f,funcInfo.sel,field_id,rec);}
267
+ else if(funcInfo.funcName=='frmGetData'){frmGetData(funcInfo.f,funcInfo.sel,0);}
 
 
 
 
 
 
 
 
268
  }
269
 
270
+ function frmGetData(f,selected,append){
271
  if(!append)
272
  jQuery('#frm_data_field_'+f.HideField+'_container').html('<span class="frm-loading-img"></span>');
273
  jQuery.ajax({
274
+ type:"POST",url:frm_js.ajax_url,
275
+ data:"action=frm_fields_ajax_get_data&entry_id="+selected+"&field_id="+f.LinkedField+"&current_field="+f.HideField,
276
  success:function(html){
277
+ if(html !== '') jQuery('#frm_field_'+f.HideField+'_container').show();
278
  if(append){jQuery('#frm_data_field_'+f.HideField+'_container').append(html);}
279
  else{
280
  jQuery('#frm_data_field_'+f.HideField+'_container').html(html);
281
  var val=jQuery('#frm_data_field_'+f.HideField+'_container').children('input').val();
282
+ if(html === '' || val === '') jQuery('#frm_field_'+f.HideField+'_container').hide();
283
  frmCheckDependent(selected,f.HideField);
284
  }
285
  return true;
287
  });
288
  }
289
 
290
+ function frmGetDataOpts(f,selected,field_id,rec){
291
+ if(typeof(frm_checked_dep) == 'undefined'){
292
+ frm_checked_dep = [];
293
+ }
294
+
295
+ //don't check the same field twice when more than a 2-level dependency, and parent is not on this page
296
+ if(rec == 'stop' && (jQuery.inArray(f.HideField, frm_checked_dep) > -1) && jQuery("input[type='hidden'][name^='item_meta["+field_id+"]']").length){
297
+ return;
298
+ }
299
+
300
+ var prev = [];
301
  if(f.DataType=='checkbox' || f.DataType=='radio'){
302
+ jQuery("input[name^='item_meta["+f.HideField+"]']:checked, input[type='hidden'][name^='item_meta["+f.HideField+"]']").each(function(){prev.push(jQuery(this).val());});
303
  }else if(f.DataType=='select'){
304
+ if(jQuery("input[type='hidden'][name^='item_meta["+f.HideField+"]']").length){
305
+ jQuery("input[type='hidden'][name^='item_meta["+f.HideField+"]']").each(function(){
306
+ prev.push(jQuery(this).val());
307
+ });
308
+ }else if(jQuery("select[name^='item_meta["+f.HideField+"]']").length){
309
+ prev = jQuery("select[name^='item_meta["+f.HideField+"]']").val();
310
+ }else if((rec == 'stop' || jQuery('#frm_data_field_'+f.HideField+'_container .frm-loading-img').length) && (jQuery.inArray(f.HideField, frm_checked_dep) > -1)){
311
+ return;
312
+ }
313
+ }else{
314
+ prev.push(jQuery("input[name^='item_meta["+f.HideField+"]']").val());
315
+ }
316
+ if(prev === null || prev.length === 0) prev = '';
317
+
318
+ frm_checked_dep.push(f.HideField);
319
+
320
+ //don't get values for fields that are to remain hidden on the page
321
+ if(!jQuery('#frm_data_field_'+f.HideField+'_container').length && jQuery("input[type='hidden'][name^='item_meta["+f.HideField+"]']").length){
322
+ frmCheckDependent(prev,f.HideField,'stop');
323
+ return false;
324
+ }
325
+
326
+ jQuery('#frm_data_field_'+f.HideField+'_container').html('<span class="frm-loading-img" style="visibility:visible;display:inline;"></span>');
327
+
328
  jQuery.ajax({
329
+ type:"POST",url:frm_js.ajax_url,
330
+ data:"action=frm_fields_ajax_data_options&hide_field="+field_id+"&entry_id="+selected+"&selected_field_id="+f.LinkedField+"&field_id="+f.HideField,
331
  success:function(html){
332
+ if(html === ''){
333
  jQuery('#frm_field_'+f.HideField+'_container').hide();
334
  prev='';
335
  }else if(f.MatchType!='all'){
336
  jQuery('#frm_field_'+f.HideField+'_container').show();
337
  }
338
  jQuery('#frm_data_field_'+f.HideField+'_container').html(html);
 
 
339
 
340
+ if(html !== '' && prev !== ''){
341
+ if(!jQuery.isArray(prev)){
342
+ var new_prev = [];
343
+ new_prev.push(prev);
344
+ prev = new_prev;
345
+ }
346
+
347
  //select options that were selected previously
348
  jQuery.each(prev, function(ckey,cval){
349
+ if(typeof(cval) != 'undefined'){
350
+ if(f.DataType == 'checkbox' || f.DataType == 'radio'){
351
+ jQuery("#field_"+f.HideField+"-"+cval).attr('checked','checked');
352
+ }else if(f.DataType == 'select'){
353
+ if(jQuery("select[name^='item_meta["+f.HideField+"]'] option[value="+cval+"]").length){
354
+ jQuery("select[name^='item_meta["+f.HideField+"]'] option[value="+cval+"]").prop('selected', true);
355
+ }else{
356
+ prev.splice(ckey,1); //remove options that no longer exist
357
+ }
358
+ }else{
359
+ jQuery("input[name^='item_meta["+f.HideField+"]']").val(cval);
360
+ }
361
  }
362
  });
363
  }
364
+ if(jQuery(html).hasClass('frm_chzn') && jQuery().chosen)
365
+ jQuery('.frm_chzn').chosen();
366
+
367
+ frmCheckDependent(prev,f.HideField,'stop');
368
  }
369
  });
370
  }
371
 
372
  function frmOnSubmit(e){
373
  e.preventDefault();
374
+ if(jQuery(this).find('.wp-editor-wrap').length && typeof(tinyMCE) != 'undefined'){
375
  tinyMCE.triggerSave();
376
  }
377
  frmGetFormErrors(this);
378
  }
379
 
380
+ function frmGetFormErrors(object){
381
+ jQuery(object).find('input[type="submit"], input[type="button"]').attr('disabled','disabled');
 
382
  jQuery(object).find('.frm_ajax_loading').css('visibility', 'visible');
383
+ frm_checked_dep = [];
384
+ var jump = '';
385
+ var newPos = 0;
386
+ var cOff = 0;
387
+
388
  jQuery.ajax({
389
+ type:"POST",url:frm_js.ajax_url,
390
+ data:jQuery(object).serialize()+"&action=frm_entries_"+jQuery(object).find('input[name="frm_action"]').val()+"&_ajax_nonce=1",
391
+ success:function(errObj){
392
  errObj=errObj.replace(/^\s+|\s+$/g,'');
393
  if(errObj.indexOf('{') === 0)
394
+ errObj = jQuery.parseJSON(errObj);
395
+ if(errObj === '' || !errObj || errObj === '0' || (typeof(errObj) != 'object' && errObj.indexOf('<!DOCTYPE') === 0)){
396
+ if(jQuery('#frm_loading').length){
397
  var file_val=jQuery(object).find('input[type=file]').val();
398
+ if(typeof(file_val) != 'undefined' && file_val !== ''){
399
+ setTimeout(function(){jQuery('#frm_loading').fadeIn('slow');},2000);
400
+ }
401
  }
402
  if(jQuery(object).find('#recaptcha_area').length && (jQuery(object).find('.frm_next_page').length < 1 || jQuery(object).find('.frm_next_page').val() < 1))
403
  jQuery(object).find('#recaptcha_area').replaceWith('');
404
 
405
+ object.submit();
406
  }else if(typeof(errObj) != 'object'){
407
  jQuery(object).find('.frm_ajax_loading').css('visibility', 'hidden');
408
+ jump=jQuery(object).closest('#frm_form_'+jQuery(object).find('input[name="form_id"]').val()+'_container');
409
+ newPos=jump.offset().top;
410
  jump.replaceWith(errObj);
411
+ cOff = document.documentElement.scrollTop || document.body.scrollTop;
412
  if(newPos && newPos > 0 && cOff > newPos) jQuery(window).scrollTop(newPos);
413
  if(typeof(frmThemeOverride_frmAfterSubmit) == 'function'){
414
  var fin=jQuery(errObj).find('input[name="form_id"]').val();
415
+ var p = '';
416
+ if(fin) p = jQuery('input[name="frm_page_order_'+fin+'"]').val();
417
  frmThemeOverride_frmAfterSubmit(fin,p,errObj);
418
  }
419
+ if(jQuery(object).find('input[name="id"]').length){
420
  var eid = jQuery(object).find('input[name="id"]').val();
421
+ jQuery('#frm_edit_'+eid).find('a').addClass('frm_ajax_edited').click();
422
  }
423
+ }else{
424
+ jQuery(object).find('input[type="submit"], input[type="button"]').removeAttr('disabled');
425
  jQuery(object).find('.frm_ajax_loading').css('visibility', 'hidden');
426
 
427
+ //show errors
428
  var cont_submit=true;
429
+ jQuery('.form-field').removeClass('frm_blank_field');
430
+ jQuery('.form-field .frm_error').replaceWith('');
431
+ jump = '';
432
+ var show_captcha = false;
433
+ for (var key in errObj){
434
  if(jQuery(object).find('#frm_field_'+key+'_container').length && jQuery('#frm_field_'+key+'_container').is(":visible")){
435
  cont_submit=false;
436
+ if(jump === ''){
437
  jump='#frm_field_'+key+'_container';
438
+ newPos=jQuery(object).find(jump).offset().top;
439
  var m=jQuery('html').css('margin-top');
440
  if(newPos && m) newPos=newPos-parseInt(m);
441
+ cOff = document.documentElement.scrollTop || document.body.scrollTop;
442
  if(newPos && cOff > newPos) jQuery(window).scrollTop(newPos-4);
443
  }
444
  if(jQuery(object).find('#frm_field_'+key+'_container #recaptcha_area').length){
445
+ show_captcha = true;
446
  Recaptcha.reload();
447
  }
448
  jQuery(object).find('#frm_field_'+key+'_container').addClass('frm_blank_field');
449
  if(typeof(frmThemeOverride_frmPlaceError) == 'function'){frmThemeOverride_frmPlaceError(key,errObj);}
450
  else{jQuery(object).find('#frm_field_'+key+'_container').append('<div class="frm_error">'+errObj[key]+'</div>');}
451
+ }else if(key == 'redirect'){
452
+ window.location=errObj[key];
453
+ return;
454
  }
455
  }
456
+ if(show_captcha !== true) jQuery(object).find('#recaptcha_area').replaceWith('');
457
  if(cont_submit) object.submit();
458
+ }
459
+ },
460
+ error:function(){
461
+ jQuery(object).find('input[type="submit"], input[type="button"]').removeAttr('disabled');object.submit();
462
+ }
463
  });
464
  }
465
 
466
+ function frmEditEntry(entry_id,prefix,post_id,form_id,cancel,hclass){
 
 
 
 
 
 
 
 
467
  var label=jQuery('#frm_edit_'+entry_id).text();
468
  var orig=jQuery('#'+prefix+entry_id).html();
469
  jQuery('#'+prefix+entry_id).html('<span class="frm-loading-img" id="'+prefix+entry_id+'"></span><div class="frm_orig_content" style="display:none">'+orig+'</div>');
470
  jQuery.ajax({
471
+ type:"POST",url:frm_js.ajax_url,dataType:"html",
472
+ data:"action=frm_entries_edit_entry_ajax&post_id="+post_id+"&entry_id="+entry_id+"&id="+form_id,
473
  success:function(html){
474
  jQuery('#'+prefix+entry_id).children('.frm-loading-img').replaceWith(html);
475
+ jQuery('#frm_edit_'+entry_id).replaceWith('<span id="frm_edit_'+entry_id+'"><a onclick="frmCancelEdit('+entry_id+',\''+prefix+'\',\''+label+'\','+post_id+','+form_id+',\''+hclass+'\')" class="'+hclass+'">'+cancel+'</a></span>');
476
  }
477
  });
478
  }
479
 
480
+ function frmCancelEdit(entry_id,prefix,label,post_id,form_id,hclass){
481
  var cancel=jQuery('#frm_edit_'+entry_id).text();
482
  if(!jQuery('#frm_edit_'+entry_id).find('a').hasClass('frm_ajax_edited')){
483
  jQuery('#'+prefix+entry_id).children('.frm_forms').replaceWith('');
484
  jQuery('#'+prefix+entry_id).children('.frm_orig_content').fadeIn('slow').removeClass('frm_orig_content');
485
  }
486
+ jQuery('#frm_edit_'+entry_id).replaceWith('<a id="frm_edit_'+entry_id+'" class="frm_edit_link '+hclass+'" href="javascript:frmEditEntry('+entry_id+',\''+prefix+'\','+post_id+','+form_id+',\''+cancel+'\',\''+hclass+'\')">'+label+'</a>');
487
  }
488
 
489
+ function frmUpdateField(entry_id,field_id,value,message,num){
490
  jQuery('#frm_update_field_'+entry_id+'_'+field_id).html('<span class="frm-loading-img"></span>');
491
  jQuery.ajax({
492
+ type:"POST",url:frm_js.ajax_url,
493
+ data:"action=frm_entries_update_field_ajax&entry_id="+entry_id+"&field_id="+field_id+"&value="+value,
494
+ success:function(){
495
+ if(message.replace(/^\s+|\s+$/g,'') === ''){
496
  jQuery('#frm_update_field_'+entry_id+'_'+field_id+'_'+num).fadeOut('slow');
497
+ }else{
498
  jQuery('#frm_update_field_'+entry_id+'_'+field_id+'_'+num).replaceWith(message);
499
+ }
500
  }
501
  });
502
  }
503
 
504
+ function frmDeleteEntry(entry_id,prefix){
505
  jQuery('#frm_delete_'+entry_id).replaceWith('<span class="frm-loading-img" id="frm_delete_'+entry_id+'"></span>');
506
  jQuery.ajax({
507
+ type:"POST",url:frm_js.ajax_url,
508
+ data:"action=frm_entries_destroy&entry="+entry_id,
509
  success:function(html){
510
+ if(html.replace(/^\s+|\s+$/g,'') == 'success')
511
  jQuery('#'+prefix+entry_id).fadeOut('slow');
512
  else
513
  jQuery('#frm_delete_'+entry_id).replaceWith(html);
516
  });
517
  }
518
 
519
+ function frmRemoveDiv(){
520
+ jQuery(this).parent('.frm_uploaded_files').fadeOut('slow').replaceWith('');
521
  }
522
 
523
+ function frmNextUpload(obj,id){
524
+ obj.wrap('<div class="frm_file_names frm_uploaded_files">');
525
+ var files = obj.get(0).files;
526
+ for (var i = 0; i < files.length; i++){
527
+ if(files.length == 1){
528
+ obj.after(files[i].name+' <a href="#" onclick="frmClearFile(jQuery(this));return false;">'+frm_js.remove+'</a>');
529
+ } else {
530
+ obj.after(files[i].name +'<br/>');
531
+ }
532
+ }
533
+ obj.hide();
534
+ jQuery('#frm_field_'+id+'_container').append('<input name="file'+id+'[]" multiple="multiple" type="file" onchange="frmNextUpload(jQuery(this),'+id+')"/>');
535
  }
536
 
537
  function frmClearFile(file){
538
  file.parent('.frm_file_names').replaceWith('');
539
  return false;
540
+ }
541
+
542
+ function frm_resend_email(entry_id,form_id){
543
+ jQuery('#frm_resend_email').replaceWith('<img id="frm_resend_email" src="'+ frm_js.images_url +'/wpspin_light.gif" alt="'+ frm_js.loading +'" />');
544
+ jQuery.ajax({
545
+ type:"POST",url:frm_js.ajax_url,
546
+ data:"action=frm_entries_send_email&entry_id="+entry_id+"&form_id="+form_id+"&type=email",
547
+ success:function(msg){ jQuery('#frm_resend_email').replaceWith(msg);}
548
+ });
549
+ }
550
+
551
+ function frmScrollMsg(id){
552
+ var frmPos = jQuery('#frm_form_'+id+'_container').offset();
553
+ if(frmPos)
554
+ window.scrollTo(frmPos.left, (frmPos.top-28));
555
+ }
556
+
557
+ jQuery.fn.frmVisible = function() {
558
+ return this.css('visibility', 'visible');
559
+ };
560
+
561
+ jQuery.fn.frmInvisible = function() {
562
+ return this.css('visibility', 'hidden');
563
+ };
564
+
565
+ jQuery.fn.frmVisibilityToggle = function() {
566
+ return this.css('visibility', function(i, visibility) {
567
+ return (visibility == 'visible') ? 'hidden' : 'visible';
568
+ });
569
+ };
js/formidable.min.js CHANGED
@@ -1,33 +1,38 @@
1
- jQuery(document).ready(function(a){var d=a(".frm_blank_field").closest(".frm_toggle_container").prev(".frm_trigger");d&&frmToggleSection(d);if(a.isFunction(a.fn.on))a(document).on("click",'.frm-show-form input[type="submit"]',function(){if("frm_prev_page"==a(this).attr("name")){var b=a(this).parents("form:first"),b=a(b).find(".frm_next_page").attr("id").replace("frm_next_p_","");a(".frm_next_page").val(b)}else a(".frm_next_page").val("")});else a('.frm-show-form input[type="submit"]').live("click",
2
- function(){if("frm_prev_page"==a(this).attr("name")){var b=a(this).parents("form:first"),b=a(b).find(".frm_next_page").attr("id").replace("frm_next_p_","");a(".frm_next_page").val(b)}else a(".frm_next_page").val("")})});
3
- function frmToggleSection(a){a.next(".frm_toggle_container").slideToggle(200);a.hasClass("active")?(a.removeClass("active"),a.children(".ui-icon-triangle-1-s").addClass("ui-icon-triangle-1-e"),a.children(".ui-icon-triangle-1-e").removeClass("ui-icon-triangle-1-s")):(a.addClass("active"),a.children(".ui-icon-triangle-1-e").addClass("ui-icon-triangle-1-s"),a.children(".ui-icon-triangle-1-s").removeClass("ui-icon-triangle-1-e"))}
4
- function frmClearDefault(a,d){a=a.replace(/(\n|\r\n)/g,"\r");d.value.replace(/(\n|\r\n)/g,"\r")==a&&(d.value="",jQuery(d).removeClass("frm_default"))}function frmReplaceDefault(a,d){a=a.replace(/(\n|\r\n)/g,"\r");""==d.value&&(d.value=a,jQuery(d).addClass("frm_default"))}
5
- function frmCheckDependent(a,d){if("undefined"!=typeof __FRMRULES)var b=__FRMRULES;if("undefined"!=typeof __FRMURL)var h=__FRMURL;if("undefined"!=typeof b&&(b=b[d],"undefined"!=typeof b)){for(var e=[],f=0;f<b.length;f++){var k=b[f];if("undefined"!=typeof k)for(var m=0;m<k.Conditions.length;m++){var l=k.Conditions[m];l.HideField=k.Setting.FieldName;l.MatchType=k.MatchType;l.Show=k.Show;e.push(l)}}for(var g=[],n=[],p=e.length,f=0;f<p;f++)(function(b){var c=e[b];"undefined"==typeof g[c.HideField]&&(g[c.HideField]=
6
- []);if(c.FieldName!=d||"undefined"==typeof a){var f=a;"radio"==c.Type||"data-radio"==c.Type?a=jQuery("input[name='item_meta["+c.FieldName+"]']:checked, input[type='hidden'][name='item_meta["+c.FieldName+"]']").val():"select"==c.Type||"data-select"==c.Type?a=jQuery("select[name='item_meta["+c.FieldName+"]'], input[type='hidden'][name='item_meta["+c.FieldName+"]']").val():"checkbox"!=c.Type&&"data-checkbox"!=c.Type&&(a=jQuery("input[name='item_meta["+c.FieldName+"]']").val())}"undefined"==typeof a&&
7
- (a=jQuery("input[type=hidden][name='item_meta["+c.FieldName+"]']").val(),"undefined"==typeof a&&(a=""));if("checkbox"==c.Type)g[c.HideField][b]=!1,jQuery("input[name='item_meta["+c.FieldName+"][]']:checked, input[type='hidden'][name='item_meta["+c.FieldName+"][]']").each(function(){var a=frmOperators(c.Condition,c.Value,jQuery(this).val());!1==g[c.HideField][b]&&a&&(g[c.HideField][b]=!0)});else if("data-radio"==c.Type)"undefined"==typeof c.DataType||""==c.DataType||"data"==c.DataType?""==a?(g[c.HideField][b]=
8
- !1,jQuery("#frm_field_"+c.HideField+"_container").fadeOut("slow"),jQuery("#frm_data_field_"+c.HideField+"_container").html("")):g[c.HideField][b]="undefined"==typeof c.DataType?frmOperators(c.Condition,c.Value,a):{funcName:"frmGetData",f:c,sel:a}:g[c.HideField][b]=""==a?!1:{funcName:"frmGetDataOpts",f:c,sel:a};else if("data-checkbox"==c.Type){var k=[];jQuery("input[name='item_meta["+c.FieldName+"][]']:checked, input[type='hidden'][name='item_meta["+c.FieldName+"][]']").each(function(){k.push(jQuery(this).val())});
9
- "undefined"==typeof c.DataType||""==c.DataType||"data"==c.DataType?0==k.length?(g[c.HideField][b]=!1,jQuery("#frm_field_"+c.HideField+"_container").fadeOut("slow"),jQuery("#frm_data_field_"+c.HideField+"_container").html("")):(g[c.HideField][b]=!0,jQuery("#frm_data_field_"+c.HideField+"_container").html(""),frmGetData(c,k,h,1)):g[c.HideField][b]=0==k.length?!1:{funcName:"frmGetDataOpts",f:c,sel:k}}else"data-select"==c.Type&&"undefined"!=typeof c.LinkedField?""==c.DataType||"data"==c.DataType?""==
10
- a?(g[c.HideField][b]=!1,jQuery("#frm_data_field_"+c.HideField+"_container").html("")):a&&jQuery.isArray(a)?(g[c.HideField][b]=!0,jQuery("#frm_data_field_"+c.HideField+"_container").html(""),frmGetData(c,a,h,1)):g[c.HideField][b]={funcName:"frmGetData",f:c,sel:a}:g[c.HideField][b]=""==a?!1:{funcName:"frmGetDataOpts",f:c,sel:a}:"undefined"==typeof c.Value&&0===c.Type.indexOf("data")?(c.Value=""==a?"1":a,g[c.HideField][b]=frmOperators(c.Condition,c.Value,a),c.Value=void 0):g[c.HideField][b]=frmOperators(c.Condition,
11
- c.Value,a);c.FieldName!=d&&(a=f);"any"==c.MatchType?!1!=g[c.HideField][b]?"show"==c.Show?!0!=g[c.HideField][b]?frmShowField(g[c.HideField][b],h,c.FieldName):jQuery("#frm_field_"+c.HideField+"_container").show():jQuery("#frm_field_"+c.HideField+"_container").hide():n.push({result:g[c.HideField][b],show:c.Show,match:"any",fname:c.FieldName,fkey:c.HideField}):"all"==c.MatchType&&n.push({result:g[c.HideField][b],show:c.Show,match:"all",fname:c.FieldName,fkey:c.HideField});b==p-1&&jQuery.each(n,function(a,
12
- b){"undefined"!=typeof b&&"undefined"!=typeof b.result&&("any"==b.match&&!frmInArray(!0,g[b.fkey])||"all"==b.match&&frmInArray(!1,g[b.fkey])?"show"==b.show?(jQuery("#frm_field_"+b.fkey+"_container:hidden").hide(),jQuery("#frm_field_"+b.fkey+"_container").hide()):jQuery("#frm_field_"+b.fkey+"_container").show():"show"==b.show?jQuery("#frm_field_"+b.fkey+"_container").show():(jQuery("#frm_field_"+b.fkey+"_container:hidden").hide(),jQuery("#frm_field_"+b.fkey+"_container").hide()),!1!=typeof b.result&&
13
- !0!=typeof b.result&&frmShowField(b.result,h,b.fname),delete n[a])})})(f)}}
14
- function frmOperators(a,d,b){"undefined"==typeof b&&(b="");jQuery.isArray(b)&&-1<jQuery.inArray(d,b)&&(b=d);-1!=String(d).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/)&&(d=parseFloat(d),b=parseFloat(b));return{"==":function(a,b){return a==b},"!=":function(a,b){return a!=b},"<":function(a,b){return a>b},">":function(a,b){return a<b},LIKE:function(a,b){return-1!=b.indexOf(a)},"not LIKE":function(a,b){return-1==b.indexOf(a)}}[a](d,b)}
15
- function frmInArray(a,d){if("undefined"==typeof d)return!1;for(var b=d.length,h=0;h<b;h++)if(d[h]==a)return!0;return!1}function frmShowField(a,d,b){"frmGetDataOpts"==a.funcName?frmGetDataOpts(a.f,a.sel,d,b):"frmGetData"==a.funcName&&frmGetData(a.f,a.sel,d,0)}
16
- function frmGetData(a,d,b,h){h||jQuery("#frm_data_field_"+a.HideField+"_container").html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:b,data:"controller=fields&frm_action=ajax_get_data&entry_id="+d+"&field_id="+a.LinkedField+"&current_field="+a.HideField,success:function(b){""!=b&&jQuery("#frm_field_"+a.HideField+"_container").show();if(h)jQuery("#frm_data_field_"+a.HideField+"_container").append(b);else{jQuery("#frm_data_field_"+a.HideField+"_container").html(b);var f=jQuery("#frm_data_field_"+
17
- a.HideField+"_container").children("input").val();""!=b&&""!=f||jQuery("#frm_field_"+a.HideField+"_container").hide();frmCheckDependent(d,a.HideField)}return!0}})}
18
- function frmGetDataOpts(a,d,b,h){var e=[];if("checkbox"==a.DataType||"radio"==a.DataType)jQuery("input[name='item_meta["+a.HideField+"][]']:checked").each(function(){e.push(jQuery(this).val())});else if("select"==a.DataType){var f=0<jQuery("select[name='item_meta["+a.HideField+"][]']").length?"[]":"";e.push(jQuery("select[name='item_meta["+a.HideField+"]"+f+"']").val())}else e.push(jQuery("input[name='item_meta["+a.HideField+"]']").val());jQuery("#frm_data_field_"+a.HideField+"_container").html('<span class="frm-loading-img"></span>');
19
- 0==e.length&&(e="");jQuery.ajax({type:"POST",url:b,data:"controller=fields&frm_action=ajax_data_options&hide_field="+h+"&entry_id="+d+"&selected_field_id="+a.LinkedField+"&field_id="+a.HideField,success:function(b){""==b?(jQuery("#frm_field_"+a.HideField+"_container").hide(),e=""):"all"!=a.MatchType&&jQuery("#frm_field_"+a.HideField+"_container").show();jQuery("#frm_data_field_"+a.HideField+"_container").html(b);jQuery(b).hasClass("frm_chzn")&&jQuery(".frm_chzn").chosen();""!=b&&""!=e&&jQuery.each(e,
20
- function(b,d){"checkbox"==a.DataType?jQuery("#field_"+a.HideField+"-"+d).attr("checked","checked"):"select"==a.DataType?0<jQuery("select[name='item_meta["+a.HideField+"]"+f+"'] option[value="+d+"]").length?jQuery("select[name='item_meta["+a.HideField+"]"+f+"']").val(d):e.splice(b,1):jQuery("input[name='item_meta["+a.HideField+"]']").val(d)});frmCheckDependent(e,a.HideField)}})}
21
- function frmOnSubmit(a){a.preventDefault();jQuery(this).find(".wp-editor-wrap").length&&tinyMCE.triggerSave();frmGetFormErrors(this)}
22
- function frmGetFormErrors(a,d){"undefined"!=typeof __FRMURL&&(d=__FRMURL);jQuery(a).find('input[type="submit"]').attr("disabled","disabled");jQuery(a).find(".frm_ajax_loading").css("visibility","visible");jQuery.ajax({type:"POST",url:d,data:jQuery(a).serialize()+"&controller=entries&_ajax_nonce=1",success:function(b){b=b.replace(/^\s+|\s+$/g,"");0===b.indexOf("{")&&(b=jQuery.parseJSON(b));if(""==b||!b||"0"==b||"object"!=typeof b&&0===b.indexOf("<!DOCTYPE"))jQuery("#frm_loading").length&&(b=jQuery(a).find("input[type=file]").val(),
23
- "undefined"!=typeof b&&""!=b&&window.setTimeout(function(){jQuery("#frm_loading").fadeIn("slow")},2E3)),jQuery(a).find("#recaptcha_area").length&&(1>jQuery(a).find(".frm_next_page").length||1>jQuery(a).find(".frm_next_page").val())&&jQuery(a).find("#recaptcha_area").replaceWith(""),a.submit();else if("object"!=typeof b){jQuery(a).find(".frm_ajax_loading").css("visibility","hidden");var d=jQuery(a).closest("#frm_form_"+jQuery(a).find('input[name="form_id"]').val()+"_container"),e=d.offset().top;d.replaceWith(b);
24
- var f=document.documentElement.scrollTop||document.body.scrollTop;e&&(0<e&&f>e)&&jQuery(window).scrollTop(e);if("function"==typeof frmThemeOverride_frmAfterSubmit){if(d=jQuery(b).find('input[name="form_id"]').val())var k=jQuery('input[name="frm_page_order_'+d+'"]').val();frmThemeOverride_frmAfterSubmit(d,k,b)}0<jQuery(a).find('input[name="id"]').length&&(b=jQuery(a).find('input[name="id"]').val(),jQuery("#frm_edit_"+b).find("a").addClass("frm_ajax_edited").click())}else{jQuery(a).find('input[type="submit"]').removeAttr("disabled");
25
- jQuery(a).find(".frm_ajax_loading").css("visibility","hidden");k=!0;jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");var d="",m=!1,l;for(l in b)jQuery(a).find("#frm_field_"+l+"_container").length&&jQuery("#frm_field_"+l+"_container").is(":visible")&&(k=!1,""==d&&(d="#frm_field_"+l+"_container",e=jQuery(a).find(d).offset().top,f=jQuery("html").css("margin-top"),e&&f&&(e-=parseInt(f)),f=document.documentElement.scrollTop||document.body.scrollTop,
26
- e&&f>e&&jQuery(window).scrollTop(e-4)),jQuery(a).find("#frm_field_"+l+"_container #recaptcha_area").length&&(m=!0,Recaptcha.reload()),jQuery(a).find("#frm_field_"+l+"_container").addClass("frm_blank_field"),"function"==typeof frmThemeOverride_frmPlaceError?frmThemeOverride_frmPlaceError(l,b):jQuery(a).find("#frm_field_"+l+"_container").append('<div class="frm_error">'+b[l]+"</div>"));!0!=m&&jQuery(a).find("#recaptcha_area").replaceWith("");k&&a.submit()}},error:function(b){jQuery(a).find('input[type="submit"]').removeAttr("disabled");
27
- a.submit()}})}function frmGetEntryToEdit(a,d,b,h){jQuery.ajax({type:"POST",url:h,data:"controller=entries&frm_action=edit_entry_ajax&id="+a+"&post_id="+b+"entry_id="+d,success:function(b){jQuery("#frm_form_"+a+"_container").replaceWith(b)}})}
28
- function frmEditEntry(a,d,b,h,e,f,k){var m=jQuery("#frm_edit_"+a).text(),l=jQuery("#"+b+a).html();jQuery("#"+b+a).html('<span class="frm-loading-img" id="'+b+a+'"></span><div class="frm_orig_content" style="display:none">'+l+"</div>");jQuery.ajax({type:"POST",url:d,dataType:"html",data:"controller=entries&frm_action=edit_entry_ajax&post_id="+h+"&entry_id="+a+"&id="+e,success:function(g){jQuery("#"+b+a).children(".frm-loading-img").replaceWith(g);jQuery("#frm_edit_"+a).replaceWith('<span id="frm_edit_'+
29
- a+'"><a onclick="frmCancelEdit('+a+",'"+b+"','"+m+"','"+d+"',"+h+","+e+",'"+k+'\')" class="'+k+'">'+f+"</a></span>")}})}
30
- function frmCancelEdit(a,d,b,h,e,f,k){var m=jQuery("#frm_edit_"+a).text();jQuery("#frm_edit_"+a).find("a").hasClass("frm_ajax_edited")||(jQuery("#"+d+a).children(".frm_forms").replaceWith(""),jQuery("#"+d+a).children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));jQuery("#frm_edit_"+a).replaceWith('<a id="frm_edit_'+a+'" class="frm_edit_link '+k+'" href="javascript:frmEditEntry('+a+",'"+h+"','"+d+"',"+e+","+f+",'"+m+"','"+k+"')\">"+b+"</a>")}
31
- function frmUpdateField(a,d,b,h,e,f){jQuery("#frm_update_field_"+a+"_"+d).html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:e,data:"controller=entries&frm_action=update_field_ajax&entry_id="+a+"&field_id="+d+"&value="+b,success:function(b){""==h?jQuery("#frm_update_field_"+a+"_"+d+"_"+f).fadeOut("slow"):jQuery("#frm_update_field_"+a+"_"+d+"_"+f).replaceWith(h)}})}
32
- function frmDeleteEntry(a,d,b){jQuery("#frm_delete_"+a).replaceWith('<span class="frm-loading-img" id="frm_delete_'+a+'"></span>');jQuery.ajax({type:"POST",url:d,data:"controller=entries&frm_action=destroy&entry="+a,success:function(d){"success"==d?jQuery("#"+b+a).fadeOut("slow"):jQuery("#frm_delete_"+a).replaceWith(d)}})}function frmRemoveDiv(a){jQuery(a).fadeOut("slow").replaceWith("")}
33
- function frmNextUpload(a,d,b){a.wrap('<div class="frm_file_names frm_uploaded_files">');a.after(a.val()+' <a href="#" onclick="frmClearFile(jQuery(this))">'+b+"</a>");a.hide();jQuery("#frm_field_"+d+"_container").append('<input name="file'+d+'[]" type="file" onchange="frmNextUpload(jQuery(this),'+d+",'"+b+"')\"/>")}function frmClearFile(a){a.parent(".frm_file_names").replaceWith("");return!1};
 
 
 
 
 
1
+ jQuery(document).ready(function(a){a(".frm_ajax_loading").css("visibility","hidden");a(document).on("click",".frm_trigger",frmToggleSection);a(".frm_blank_field").length&&a(".frm_blank_field").closest(".frm_toggle_container").prev(".frm_trigger").click();a.isFunction(a.fn.placeholder)?a(".frm-show-form input, .frm-show-form textarea").placeholder():jQuery(".frm-show-form input[onblur], .frm-show-form textarea[onblur]").each(function(){""===jQuery(this).val()&&jQuery(this).blur()});a(document).on("click",
2
+ '.frm-show-form input[type="submit"], .frm-show-form input[name="frm_prev_page"], .frm-show-form .frm_save_draft',frmSetNextPage);a(document).on("click",".frm_remove_link",frmRemoveDiv)});
3
+ function frmSetNextPage(a){"submit"!=jQuery(this).attr("type")&&a.preventDefault();a=jQuery(this).parents("form:first");var c="",d="";if("frm_prev_page"==jQuery(this).attr("name")||jQuery(this).hasClass("frm_prev_page"))c=jQuery(a).find(".frm_next_page").attr("id").replace("frm_next_p_","");else if("frm_save_draft"==jQuery(this).attr("name")||jQuery(this).hasClass("frm_save_draft"))d=1;jQuery(".frm_next_page").val(c);jQuery(".frm_saving_draft").val(d);"submit"!=jQuery(this).attr("type")&&a.trigger("submit")}
4
+ function frmToggleSection(){jQuery(this).next(".frm_toggle_container").slideToggle("fast");jQuery(this).toggleClass("active").children(".ui-icon-triangle-1-e, .ui-icon-triangle-1-s").toggleClass("ui-icon-triangle-1-s ui-icon-triangle-1-e")}function frmClearDefault(a,c){var d=a.replace(/(\n|\r\n)/g,"\r");jQuery(c).val().replace(/(\n|\r\n)/g,"\r")==d&&jQuery(c).removeClass("frm_default").val("")}
5
+ function frmReplaceDefault(a,c){var d=a.replace(/(\n|\r\n)/g,"\r");""===jQuery(c).val()&&jQuery(c).addClass("frm_default").val(d)}
6
+ function frmCheckDependent(a,c,d){if("undefined"!=typeof __FRMRULES){var f=__FRMRULES[c];if("undefined"!=typeof f){if("undefined"==typeof d||null===d)d="go";for(var e=[],h=0;h<f.length;h++){var k=f[h];if("undefined"!=typeof k)for(var l=0;l<k.Conditions.length;l++){var m=k.Conditions[l];m.HideField=k.Setting.FieldName;m.MatchType=k.MatchType;m.Show=k.Show;e.push(m)}}for(var g=[],n=[],p=e.length,h=0;h<p;h++)(function(f){var b=e[f];"undefined"==typeof g[b.HideField]&&(g[b.HideField]=[]);if(b.FieldName!=
7
+ c||"undefined"==typeof a||"und"==a){var h=a;"radio"==b.Type||"data-radio"==b.Type?a=jQuery("input[name='item_meta["+b.FieldName+"]']:checked, input[type='hidden'][name='item_meta["+b.FieldName+"]']").val():"select"==b.Type||"data-select"==b.Type?(a=jQuery("select[name^='item_meta["+b.FieldName+"]'], input[type='hidden'][name^='item_meta["+b.FieldName+"]']").val(),jQuery("input[type='hidden'][name^='item_meta["+b.FieldName+"]']").length&&(a=[],jQuery("input[type='hidden'][name^='item_meta["+b.FieldName+
8
+ "]']").each(function(){a.push(jQuery(this).val())}))):"checkbox"!=b.Type&&"data-checkbox"!=b.Type&&(a=jQuery("input[name^='item_meta["+b.FieldName+"]']").val())}"undefined"==typeof a&&(a=jQuery("input[type=hidden][name^='item_meta["+b.FieldName+"]']").val(),"undefined"==typeof a&&(a=""));if("checkbox"==b.Type||"data-checkbox"==b.Type&&"undefined"==typeof b.LinkedField)g[b.HideField][f]=!1,jQuery("input[name='item_meta["+b.FieldName+"][]']:checked, input[type='hidden'][name^='item_meta["+b.FieldName+
9
+ "]']").each(function(){var a=frmOperators(b.Condition,b.Value,jQuery(this).val());!1===g[b.HideField][f]&&a&&(g[b.HideField][f]=!0)});else if("data-radio"==b.Type)"undefined"==typeof b.DataType||""===b.DataType||"data"===b.DataType?""===a?(g[b.HideField][f]=!1,jQuery("#frm_field_"+b.HideField+"_container").fadeOut("slow"),jQuery("#frm_data_field_"+b.HideField+"_container").html("")):g[b.HideField][f]="undefined"==typeof b.DataType?frmOperators(b.Condition,b.Value,a):{funcName:"frmGetData",f:b,sel:a}:
10
+ g[b.HideField][f]=""===a?!1:{funcName:"frmGetDataOpts",f:b,sel:a};else if("data-checkbox"==b.Type&&"undefined"!=typeof b.LinkedField){var k=[];jQuery("input[name='item_meta["+b.FieldName+"][]']:checked, input[type='hidden'][name='item_meta["+b.FieldName+"][]']").each(function(){k.push(jQuery(this).val())});"undefined"==typeof b.DataType||""===b.DataType||"data"===b.DataType?k.length?(g[b.HideField][f]=!0,jQuery("#frm_data_field_"+b.HideField+"_container").html(""),frmGetData(b,k,1)):(g[b.HideField][f]=
11
+ !1,jQuery("#frm_field_"+b.HideField+"_container").fadeOut("slow"),jQuery("#frm_data_field_"+b.HideField+"_container").html("")):g[b.HideField][f]=k.length?{funcName:"frmGetDataOpts",f:b,sel:k}:!1}else"data-select"==b.Type&&"undefined"!=typeof b.LinkedField?""===b.DataType||"data"==b.DataType?""===a?(g[b.HideField][f]=!1,jQuery("#frm_data_field_"+b.HideField+"_container").html("")):a&&jQuery.isArray(a)?(g[b.HideField][f]=!0,jQuery("#frm_data_field_"+b.HideField+"_container").html(""),frmGetData(b,
12
+ a,1)):g[b.HideField][f]={funcName:"frmGetData",f:b,sel:a}:g[b.HideField][f]=""===a?!1:{funcName:"frmGetDataOpts",f:b,sel:a}:"undefined"==typeof b.Value&&0===b.Type.indexOf("data")?(b.Value=""===a?"1":a,g[b.HideField][f]=frmOperators(b.Condition,b.Value,a),b.Value=void 0):g[b.HideField][f]=frmOperators(b.Condition,b.Value,a);b.FieldName!=c&&(a=h);"any"==b.MatchType?!1!==g[b.HideField][f]?"show"==b.Show?!0!==g[b.HideField][f]?frmShowField(g[b.HideField][f],b.FieldName,d):jQuery("#frm_field_"+b.HideField+
13
+ "_container").show():jQuery("#frm_field_"+b.HideField+"_container").hide():n.push({result:g[b.HideField][f],show:b.Show,match:"any",fname:b.FieldName,fkey:b.HideField}):"all"==b.MatchType&&n.push({result:g[b.HideField][f],show:b.Show,match:"all",fname:b.FieldName,fkey:b.HideField});f==p-1&&jQuery.each(n,function(a,b){"undefined"!=typeof b&&"undefined"!=typeof b.result&&("any"==b.match&&-1==jQuery.inArray(!0,g[b.fkey])||"all"==b.match&&-1<jQuery.inArray(!1,g[b.fkey])?"show"==b.show?(jQuery("#frm_field_"+
14
+ b.fkey+"_container:hidden").hide(),jQuery("#frm_field_"+b.fkey+"_container").hide()):jQuery("#frm_field_"+b.fkey+"_container").show():"show"==b.show?jQuery("#frm_field_"+b.fkey+"_container").show():(jQuery("#frm_field_"+b.fkey+"_container:hidden").hide(),jQuery("#frm_field_"+b.fkey+"_container").hide()),!1!==typeof b.result&&!0!==typeof b.result&&frmShowField(b.result,b.fname,d),delete n[a])})})(h)}}}
15
+ function frmOperators(a,c,d){"undefined"==typeof d&&(d="");jQuery.isArray(d)&&-1<jQuery.inArray(c,d)&&(d=c);-1!=String(c).search(/^\s*(\+|-)?((\d+(\.\d+)?)|(\.\d+))\s*$/)&&(c=parseFloat(c),d=parseFloat(d));return"-1"!=String(c).indexOf("&quot;")&&frmOperators(a,c.replace("&quot;",'"'),d)?!0:{"==":function(a,e){return a==e},"!=":function(a,e){return a!=e},"<":function(a,e){return a>e},">":function(a,e){return a<e},LIKE:function(a,e){return-1!=e.indexOf(a)},"not LIKE":function(a,e){return-1==e.indexOf(a)}}[a](c,
16
+ d)}function frmShowField(a,c,d){"frmGetDataOpts"==a.funcName?frmGetDataOpts(a.f,a.sel,c,d):"frmGetData"==a.funcName&&frmGetData(a.f,a.sel,0)}
17
+ function frmGetData(a,c,d){d||jQuery("#frm_data_field_"+a.HideField+"_container").html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:"action=frm_fields_ajax_get_data&entry_id="+c+"&field_id="+a.LinkedField+"&current_field="+a.HideField,success:function(f){""!==f&&jQuery("#frm_field_"+a.HideField+"_container").show();if(d)jQuery("#frm_data_field_"+a.HideField+"_container").append(f);else{jQuery("#frm_data_field_"+a.HideField+"_container").html(f);var e=
18
+ jQuery("#frm_data_field_"+a.HideField+"_container").children("input").val();""!==f&&""!==e||jQuery("#frm_field_"+a.HideField+"_container").hide();frmCheckDependent(c,a.HideField)}return!0}})}
19
+ function frmGetDataOpts(a,c,d,f){"undefined"==typeof frm_checked_dep&&(frm_checked_dep=[]);if(!("stop"==f&&-1<jQuery.inArray(a.HideField,frm_checked_dep)&&jQuery("input[type='hidden'][name^='item_meta["+d+"]']").length)){var e=[];if("checkbox"==a.DataType||"radio"==a.DataType)jQuery("input[name^='item_meta["+a.HideField+"]']:checked, input[type='hidden'][name^='item_meta["+a.HideField+"]']").each(function(){e.push(jQuery(this).val())});else if("select"==a.DataType)if(jQuery("input[type='hidden'][name^='item_meta["+
20
+ a.HideField+"]']").length)jQuery("input[type='hidden'][name^='item_meta["+a.HideField+"]']").each(function(){e.push(jQuery(this).val())});else if(jQuery("select[name^='item_meta["+a.HideField+"]']").length)e=jQuery("select[name^='item_meta["+a.HideField+"]']").val();else{if(("stop"==f||jQuery("#frm_data_field_"+a.HideField+"_container .frm-loading-img").length)&&-1<jQuery.inArray(a.HideField,frm_checked_dep))return}else e.push(jQuery("input[name^='item_meta["+a.HideField+"]']").val());if(null===e||
21
+ 0===e.length)e="";frm_checked_dep.push(a.HideField);if(!jQuery("#frm_data_field_"+a.HideField+"_container").length&&jQuery("input[type='hidden'][name^='item_meta["+a.HideField+"]']").length)return frmCheckDependent(e,a.HideField,"stop"),!1;jQuery("#frm_data_field_"+a.HideField+"_container").html('<span class="frm-loading-img" style="visibility:visible;display:inline;"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:"action=frm_fields_ajax_data_options&hide_field="+d+"&entry_id="+c+"&selected_field_id="+
22
+ a.LinkedField+"&field_id="+a.HideField,success:function(c){""===c?(jQuery("#frm_field_"+a.HideField+"_container").hide(),e=""):"all"!=a.MatchType&&jQuery("#frm_field_"+a.HideField+"_container").show();jQuery("#frm_data_field_"+a.HideField+"_container").html(c);if(""!==c&&""!==e){if(!jQuery.isArray(e)){var d=[];d.push(e);e=d}jQuery.each(e,function(c,d){"undefined"!=typeof d&&("checkbox"==a.DataType||"radio"==a.DataType?jQuery("#field_"+a.HideField+"-"+d).attr("checked","checked"):"select"==a.DataType?
23
+ jQuery("select[name^='item_meta["+a.HideField+"]'] option[value="+d+"]").length?jQuery("select[name^='item_meta["+a.HideField+"]'] option[value="+d+"]").prop("selected",!0):e.splice(c,1):jQuery("input[name^='item_meta["+a.HideField+"]']").val(d))})}jQuery(c).hasClass("frm_chzn")&&jQuery().chosen&&jQuery(".frm_chzn").chosen();frmCheckDependent(e,a.HideField,"stop")}})}}
24
+ function frmOnSubmit(a){a.preventDefault();jQuery(this).find(".wp-editor-wrap").length&&"undefined"!=typeof tinyMCE&&tinyMCE.triggerSave();frmGetFormErrors(this)}
25
+ function frmGetFormErrors(a){jQuery(a).find('input[type="submit"], input[type="button"]').attr("disabled","disabled");jQuery(a).find(".frm_ajax_loading").css("visibility","visible");frm_checked_dep=[];var c="",d=0,f=0;jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:jQuery(a).serialize()+"&action=frm_entries_"+jQuery(a).find('input[name="frm_action"]').val()+"&_ajax_nonce=1",success:function(e){e=e.replace(/^\s+|\s+$/g,"");0===e.indexOf("{")&&(e=jQuery.parseJSON(e));if(""===e||!e||"0"===e||"object"!=
26
+ typeof e&&0===e.indexOf("<!DOCTYPE"))jQuery("#frm_loading").length&&(e=jQuery(a).find("input[type=file]").val(),"undefined"!=typeof e&&""!==e&&setTimeout(function(){jQuery("#frm_loading").fadeIn("slow")},2E3)),jQuery(a).find("#recaptcha_area").length&&(1>jQuery(a).find(".frm_next_page").length||1>jQuery(a).find(".frm_next_page").val())&&jQuery(a).find("#recaptcha_area").replaceWith(""),a.submit();else if("object"!=typeof e){jQuery(a).find(".frm_ajax_loading").css("visibility","hidden");c=jQuery(a).closest("#frm_form_"+
27
+ jQuery(a).find('input[name="form_id"]').val()+"_container");d=c.offset().top;c.replaceWith(e);f=document.documentElement.scrollTop||document.body.scrollTop;d&&0<d&&f>d&&jQuery(window).scrollTop(d);if("function"==typeof frmThemeOverride_frmAfterSubmit){var h=jQuery(e).find('input[name="form_id"]').val(),k="";h&&(k=jQuery('input[name="frm_page_order_'+h+'"]').val());frmThemeOverride_frmAfterSubmit(h,k,e)}jQuery(a).find('input[name="id"]').length&&(e=jQuery(a).find('input[name="id"]').val(),jQuery("#frm_edit_"+
28
+ e).find("a").addClass("frm_ajax_edited").click())}else{jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");jQuery(a).find(".frm_ajax_loading").css("visibility","hidden");h=!0;jQuery(".form-field").removeClass("frm_blank_field");jQuery(".form-field .frm_error").replaceWith("");c="";var k=!1,l;for(l in e)if(jQuery(a).find("#frm_field_"+l+"_container").length&&jQuery("#frm_field_"+l+"_container").is(":visible")){h=!1;if(""===c){c="#frm_field_"+l+"_container";d=jQuery(a).find(c).offset().top;
29
+ var m=jQuery("html").css("margin-top");d&&m&&(d-=parseInt(m));f=document.documentElement.scrollTop||document.body.scrollTop;d&&f>d&&jQuery(window).scrollTop(d-4)}jQuery(a).find("#frm_field_"+l+"_container #recaptcha_area").length&&(k=!0,Recaptcha.reload());jQuery(a).find("#frm_field_"+l+"_container").addClass("frm_blank_field");"function"==typeof frmThemeOverride_frmPlaceError?frmThemeOverride_frmPlaceError(l,e):jQuery(a).find("#frm_field_"+l+"_container").append('<div class="frm_error">'+e[l]+"</div>")}else if("redirect"==
30
+ l){window.location=e[l];return}!0!==k&&jQuery(a).find("#recaptcha_area").replaceWith("");h&&a.submit()}},error:function(){jQuery(a).find('input[type="submit"], input[type="button"]').removeAttr("disabled");a.submit()}})}
31
+ function frmEditEntry(a,c,d,f,e,h){var k=jQuery("#frm_edit_"+a).text(),l=jQuery("#"+c+a).html();jQuery("#"+c+a).html('<span class="frm-loading-img" id="'+c+a+'"></span><div class="frm_orig_content" style="display:none">'+l+"</div>");jQuery.ajax({type:"POST",url:frm_js.ajax_url,dataType:"html",data:"action=frm_entries_edit_entry_ajax&post_id="+d+"&entry_id="+a+"&id="+f,success:function(l){jQuery("#"+c+a).children(".frm-loading-img").replaceWith(l);jQuery("#frm_edit_"+a).replaceWith('<span id="frm_edit_'+
32
+ a+'"><a onclick="frmCancelEdit('+a+",'"+c+"','"+k+"',"+d+","+f+",'"+h+'\')" class="'+h+'">'+e+"</a></span>")}})}
33
+ function frmCancelEdit(a,c,d,f,e,h){var k=jQuery("#frm_edit_"+a).text();jQuery("#frm_edit_"+a).find("a").hasClass("frm_ajax_edited")||(jQuery("#"+c+a).children(".frm_forms").replaceWith(""),jQuery("#"+c+a).children(".frm_orig_content").fadeIn("slow").removeClass("frm_orig_content"));jQuery("#frm_edit_"+a).replaceWith('<a id="frm_edit_'+a+'" class="frm_edit_link '+h+'" href="javascript:frmEditEntry('+a+",'"+c+"',"+f+","+e+",'"+k+"','"+h+"')\">"+d+"</a>")}
34
+ function frmUpdateField(a,c,d,f,e){jQuery("#frm_update_field_"+a+"_"+c).html('<span class="frm-loading-img"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:"action=frm_entries_update_field_ajax&entry_id="+a+"&field_id="+c+"&value="+d,success:function(){""===f.replace(/^\s+|\s+$/g,"")?jQuery("#frm_update_field_"+a+"_"+c+"_"+e).fadeOut("slow"):jQuery("#frm_update_field_"+a+"_"+c+"_"+e).replaceWith(f)}})}
35
+ function frmDeleteEntry(a,c){jQuery("#frm_delete_"+a).replaceWith('<span class="frm-loading-img" id="frm_delete_'+a+'"></span>');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:"action=frm_entries_destroy&entry="+a,success:function(d){"success"==d.replace(/^\s+|\s+$/g,"")?jQuery("#"+c+a).fadeOut("slow"):jQuery("#frm_delete_"+a).replaceWith(d)}})}function frmRemoveDiv(){jQuery(this).parent(".frm_uploaded_files").fadeOut("slow").replaceWith("")}
36
+ function frmNextUpload(a,c){a.wrap('<div class="frm_file_names frm_uploaded_files">');for(var d=a.get(0).files,f=0;f<d.length;f++)1==d.length?a.after(d[f].name+' <a href="#" onclick="frmClearFile(jQuery(this));return false;">'+frm_js.remove+"</a>"):a.after(d[f].name+"<br/>");a.hide();jQuery("#frm_field_"+c+"_container").append('<input name="file'+c+'[]" multiple="multiple" type="file" onchange="frmNextUpload(jQuery(this),'+c+')"/>')}
37
+ function frmClearFile(a){a.parent(".frm_file_names").replaceWith("");return!1}function frm_resend_email(a,c){jQuery("#frm_resend_email").replaceWith('<img id="frm_resend_email" src="'+frm_js.images_url+'/wpspin_light.gif" alt="'+frm_js.loading+'" />');jQuery.ajax({type:"POST",url:frm_js.ajax_url,data:"action=frm_entries_send_email&entry_id="+a+"&form_id="+c+"&type=email",success:function(a){jQuery("#frm_resend_email").replaceWith(a)}})}
38
+ function frmScrollMsg(a){(a=jQuery("#frm_form_"+a+"_container").offset())&&window.scrollTo(a.left,a.top-28)}jQuery.fn.frmVisible=function(){return this.css("visibility","visible")};jQuery.fn.frmInvisible=function(){return this.css("visibility","hidden")};jQuery.fn.frmVisibilityToggle=function(){return this.css("visibility",function(a,c){return"visible"==c?"hidden":"visible"})};
js/formidable_admin.js CHANGED
@@ -1,35 +1,73 @@
1
  jQuery(document).ready(function($){
2
- var form_id=$('input[name="id"]').val();
3
 
4
  window.onscroll=document.documentElement.onscroll=frmSetMenuOffset;
5
  frmSetMenuOffset();
6
- $("input[name='options[success_action]']").change(function(){
7
- $('.success_action_box').hide();
8
- if($(this).val()=='redirect'){$('.success_action_redirect_box.success_action_box').fadeIn('slow');}
9
- else if($(this).val()=='page'){$('.success_action_page_box.success_action_box').fadeIn('slow');}
10
- else{$('.frm_show_form_opt').show();$('.success_action_message_box.success_action_box').fadeIn('slow');}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  });
12
 
13
- if($('#frm_adv_info').length>0 || $('.frm_field_list').length>0){
14
  $('#frm_adv_info').before('<div id="frm_position_ele"></div>');
15
 
16
  $('.frm_code_list a').addClass('frm_noallow');
17
 
18
- if($.isFunction($.fn.on)){
19
- $(document).on('focusin focusout', 'form input, form textarea, .wpbody-content', function(e){
20
- if(e.type=='focusin') var id=$(this).attr('id'); else var id=''; frmToggleAllowedShortcodes(id,e.type);
21
- });
22
- $('#postbox-container-1').on('mousedown', '#frm_adv_info a, .frm_field_list a', function(e){e.preventDefault();});
23
- }else{
24
- $('#frm_adv_info a, .frm_field_list a').live('mousedown', function(e){e.preventDefault();});
25
- $('form input, form textarea, .wpbody-content').live('focusin focusout', function(e){
26
- if(e.type=='focusin') var id=$(this).attr('id'); else var id=''; frmToggleAllowedShortcodes(id,e.type);
27
- });
28
- }
29
 
30
  if(typeof(tinymce)=='object'){
31
  DOM=tinymce.DOM;
32
- if(typeof(DOM.events) !='undefined'){
33
  DOM.events.add( DOM.select('.wp-editor-wrap'), 'mouseover', function(e){
34
  if($('*:focus').length>0)return;
35
  if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');});
@@ -37,17 +75,10 @@ if($('#frm_adv_info').length>0 || $('.frm_field_list').length>0){
37
  if($('*:focus').length>0)return;
38
  if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');});
39
  }else{
40
- if($.isFunction($.fn.on)){
41
- $('#frm_dyncontent').on('mouseover mouseout', '.wp-editor-wrap', function(e){
42
- if($('*:focus').length>0)return;
43
- if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');
44
- });
45
- }else{
46
- $('.wp-editor-wrap').live('mouseover mouseout', function(e){
47
- if($('*:focus').length>0)return;
48
- if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');
49
- });
50
- }
51
  }
52
  }
53
 
@@ -56,102 +87,63 @@ if($('#frm_adv_info').length>0 || $('.frm_field_list').length>0){
56
  frm_show_loc($('#insert_loc').val());
57
  }
58
 
59
- if($('.hide_editable').length>0){
60
- $('.hide_editable').hide();
 
 
 
 
 
 
61
  if( $('#editable').is(':checked')) $('.hide_editable').show();
62
- $('#editable').change(function(){if( $(this).is(':checked')) $('.hide_editable').show(); else $('.hide_editable').hide();});
63
- $('.hide_ar').hide();
64
  if( $('#auto_responder').is(':checked')) $('.hide_ar').show();
 
 
 
 
 
 
 
65
  }
66
 
67
- if($('.widget-top').length>0){
68
- if($.isFunction($.fn.on)){ $(document).on('click', '.widget-top', function(){frmClickWidget($(this));}); }
69
- else{ $('.widget-top').live('click', function(){frmClickWidget($(this));}); }
70
- $('.widget-top,a.widget-action').click(function(){ $(this).closest('div.widget').siblings().children('.widget-inside').slideUp('fast');});
71
  }
72
 
73
- if($('.frm_ipe_form_name').length>0){
 
74
  $('.frm_form_builder form:first').submit(function(){$('.inplace_field').blur();})
75
- $('.frm_ipe_form_name').editInPlace({
76
- url:ajaxurl,params:"action=frm_form_name_in_place_edit&form_id="+form_id,value_required:"true",bg_out:'#fff'
77
- });
78
 
79
- $('.frm_ipe_form_name').keypress(function(e){
80
- if(e.which == 13){$('.inplace_field').blur();return false;}
 
 
 
 
81
  });
82
 
83
- $(".frm_ipe_form_desc").editInPlace({
84
- url:ajaxurl,params:"action=frm_form_desc_in_place_edit&form_id="+form_id,
85
- field_type:"textarea",textarea_rows:3,textarea_cols:60,default_text:__FRMDEFDESC
 
 
 
86
  });
87
 
88
- if($.isFunction($.fn.on)){
89
- $('#new_fields').on('keypress', '.frm_ipe_form_name, .frm_ipe_field_label, .frm_ipe_field_option, .frm_ipe_field_option_select, .frm_ipe_field_option_key', function(e){
90
- if(e.which == 13){$('.inplace_field').blur();return false;}
91
- });
92
-
93
- $('#new_fields').on('mouseenter', '.frm_ipe_field_desc', function(){
94
- $(this).editInPlace({
95
- url:ajaxurl,params:"action=frm_field_desc_in_place_edit",default_text:__FRMDEFDESC,field_type:'textarea',textarea_rows:3
96
- });
97
- });
98
-
99
- $('#new_fields').on('mouseenter', '.frm_ipe_field_option, .frm_ipe_field_option_select, .frm_ipe_field_option_key', function(){
100
- $(this).editInPlace({
101
- default_text:__FRMDEFBLANK,
102
- callback:function(d,text){
103
- var id=$(this).attr('id');
104
- jQuery.ajax({
105
- type:"POST",url:ajaxurl,
106
- data:{action:'frm_field_option_ipe',update_value:text,element_id:id},
107
- success:function(html){frmCheckUniqueOpt(id,html,text);}
108
- });
109
- }
110
- });
111
- });
112
-
113
- $('#new_fields').on('mouseenter', '.frm_ipe_field_label', function(){
114
- $(this).editInPlace({
115
- url:ajaxurl,params:"action=frm_field_name_in_place_edit",value_required:"true"
116
- });
117
- });
118
- }else{
119
- $('.frm_ipe_form_name, .frm_ipe_field_label, .frm_ipe_field_option, .frm_ipe_field_option_select, .frm_ipe_field_option_key').live('keypress', function(e){
120
- if(e.which == 13){$('.inplace_field').blur();return false;}
121
- });
122
-
123
- $('.frm_ipe_field_option, .frm_ipe_field_option_select, .frm_ipe_field_option_key').live('mouseenter',function(){
124
- $(this).editInPlace({
125
- default_text:__FRMDEFBLANK,
126
- callback:function(d,text){
127
- var id=$(this).attr('id');
128
- jQuery.ajax({
129
- type:"POST",url:ajaxurl,
130
- data:{action:'frm_field_option_ipe',update_value:text,element_id:id},
131
- success:function(html){frmCheckUniqueOpt(id,html,text);}
132
- });
133
- }
134
- });
135
- });
136
-
137
- $('.frm_ipe_field_label').live('mouseenter', function(){
138
- $(this).editInPlace({
139
- url:ajaxurl,params:"action=frm_field_name_in_place_edit",value_required:"true"
140
- });
141
- });
142
-
143
- $('.frm_ipe_field_desc').live('mouseenter', function(){
144
- $(this).editInPlace({
145
- url:ajaxurl,params:"action=frm_field_desc_in_place_edit",default_text:__FRMDEFDESC,field_type:'textarea',textarea_rows:3
146
- });
147
- });
148
- }
149
 
150
  $('select[name^="item_meta"], textarea[name^="item_meta"]').css('float','left');
151
  $('input[name^="item_meta"]').not(':radio, :checkbox').css('float','left');
152
 
153
  if($('.frm_field_loading').length){
154
- var load_field_id=$('.frm_field_loading').first().attr('id').replace('frm_field_id_', '');
155
  frmLoadField(load_field_id);
156
  }
157
  }
@@ -159,21 +151,9 @@ frmLoadField(load_field_id);
159
  // tabs
160
  $('.frm-category-tabs a').click(function(){
161
  var t = $(this).attr('href');
162
- if(typeof(t)=='undefined') return false;
163
- var c = t.replace('#', '.');
164
- var pro=$('#taxonomy-linkcategory .frm-category-tabs li').length > 2;
165
- $(this).closest('li').addClass('tabs active').siblings('li').removeClass('tabs active');
166
- if($(this).closest('div').find('.tabs-panel').length>0) $(this).closest('div').children('.tabs-panel').hide();
167
- else{ $(this).closest('div.inside').find('.tabs-panel, .hide_with_tabs').hide();
168
- if($(this).closest('ul').hasClass('frm-form-setting-tabs')){
169
- if(t=='#html_settings'){if(pro){$('#taxonomy-linkcategory .frm-category-tabs li').hide();$('#frm_html_tab').show();}$('#frm_html_tags_tab').click();}
170
- else if($('#frm_html_tags_tab').is(':visible')){
171
- if(pro){$('#taxonomy-linkcategory .frm-category-tabs li').show();$('#frm_html_tab').hide();}
172
- $('#frm_insert_fields_tab').click();
173
- }
174
- }}
175
- $(t).show();
176
- $(c).show();
177
  return false;
178
  });
179
 
@@ -181,16 +161,39 @@ $('.item-list-form').submit(function(){
181
  if($('#bulkaction').val()=='delete'){return confirm('Are you sure you want to delete each of the selected items below?');}
182
  });
183
 
184
- if($('#frm_tooltip').length==0){$('#wpfooter,#footer').prepend('<div id="frm_tooltip" class="frm_tooltip">&nbsp;</div>');}
185
-
186
  $("select[name='frm_theme_selector'] option").each(function(){
187
  $(this).hover(function(){$('#frm_show_cal').removeClass().addClass($(this).attr('id'));},'');
188
  });
189
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
190
  $("select[name='frm_theme_selector']").change(function(){
191
- var css='https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/themes/'+$(this).val()+'/jquery-ui.css';
192
- frmUpdateCSS(css);
193
- var themeName=$("select[name='frm_theme_selector'] option[value='"+$(this).val()+"']").text();
 
 
 
 
 
194
  $('input[name="frm_theme_css"]').val($(this).val()); $('input[name="frm_theme_name"]').val(themeName);
195
  return false;
196
  });
@@ -198,34 +201,38 @@ return false;
198
  jQuery('.field_type_list > li').draggable({connectToSortable:'#new_fields',cursor:'move',helper:'clone',revert:'invalid',delay:10});
199
  jQuery('ul.field_type_list, .field_type_list li, ul.frm_code_list, .frm_code_list li, .frm_code_list li a, #frm_adv_info #category-tabs li, #frm_adv_info #category-tabs li a').disableSelection();
200
 
201
- if($.isFunction($.fn.on)){
202
- $('#post_settings').on('change', 'select.frm_single_post_field', function(e){frmCheckDupPost($(this));});
203
- $('#new_fields').on('mouseenter mouseleave', '.frm_single_option', function(evt){frmHoverVis(evt.type,$(this));});
204
- $('#new_fields').on('click', 'li.ui-state-default', function(evt){frmClickVis(evt.target,$(this));});
205
- $('.frm_form_builder').on('keyup', 'input[name^="item_meta"], textarea[name^="item_meta"]', function(){frmTriggerDefaults($(this))});
206
- $('.frm_form_builder').on('change', 'select[name^="item_meta"]', function(){frmTriggerDefaults($(this))});
207
- $(document).on('mouseenter mouseleave', 'img.frm_help, a.frm_help', function(evt){frmShowTooltip(evt.type,$(this));});
208
- }else{
209
- $('select.frm_single_post_field').live('change', function(e){frmCheckDupPost($(this));});
210
- $('#new_fields .frm_single_option').live('mouseenter mouseleave', function(evt){frmHoverVis(evt.type,$(this));});
211
- $('li.ui-state-default').live('click', function(evt){frmClickVis(evt.target,$(this));});
212
- $('.frm_form_builder input[name^="item_meta"], .frm_form_builder textarea[name^="item_meta"]').live('keyup', function(){frmTriggerDefaults($(this))});
213
- $('.frm_form_builder select[name^="item_meta"]').live('change', function(){frmTriggerDefaults($(this))});
214
- $('img.frm_help, a.frm_help').live('mouseenter mouseleave', function(evt){frmShowTooltip(evt.type,$(this));});
215
- }
 
 
 
 
216
 
217
  jQuery('#frm_single_entry_type').change(function(){
218
- if(jQuery('#frm_single_entry_type option:selected').val()=="cookie"){jQuery('#frm_cookie_expiration').fadeIn();}
219
- else{jQuery('#frm_cookie_expiration').fadeOut();}
220
  });
221
 
222
- if($(".frm_exclude_cat_list .frm_catlevel_2").length>0){
223
- $('.frm_exclude_cat_list').each(function(){
224
- var frm_lev=$(this).find('.frm_catlevel_2');
225
- if(frm_lev.length>0) $(this).find('.check_lev1_label, .check_lev2_label').show();
226
- var frm_lev=$(this).find('.frm_catlevel_3'); if(frm_lev.length>0) $(this).find('.check_lev3_label').show();
227
- var frm_lev=$(this).find('.frm_catlevel_4'); if(frm_lev.length>0) $(this).find('.check_lev4_label').show();
228
  });
 
 
 
229
  }
230
 
231
  $('a.edit-frm_shortcode').click(function() {
@@ -241,11 +248,71 @@ $('.cancel-frm_shortcode', '#frm_shortcodediv').click(function() {
241
  $('#frm_shortcodediv').siblings('a.edit-frm_shortcode').show();
242
  return false;
243
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  });
245
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  function frmLoadField(field_id){
247
- if(jQuery('#frm_field_id_'+field_id).next('.frm_field_loading').length > 0){
248
- var next_id=jQuery('#frm_field_id_'+field_id).next('.frm_field_loading').attr('id').replace('frm_field_id_', '');
249
  setTimeout(function(){frmLoadField(next_id);}, 400);
250
  }
251
  var f=jQuery('#frm_field_id_'+field_id+' .frm_hidden_fdata').html();
@@ -253,51 +320,72 @@ function frmLoadField(field_id){
253
  type:"POST",url:ajaxurl,
254
  data:{action:'frm_load_field',field_id:field_id,field:f},
255
  success:function(html){
256
- jQuery('#frm_field_id_'+field_id).replaceWith(html);
 
257
  }
258
  });
259
  }
260
 
261
  function frmSubmitBuild(b){
262
  var p=jQuery(b).val();
263
- jQuery(b).val(__FRMSAVING);
264
- jQuery(b).nextAll('.frm-loading-img').css('visibility', 'visible');
265
  var form=jQuery('#frm_build_form');
266
  var v=JSON.stringify(form.serializeArray());
267
  jQuery('#frm_compact_fields').val(v);
268
  jQuery.ajax({
269
  type:"POST",url:ajaxurl,
270
  data:{action:'frm_save_form','frm_compact_fields':v},
271
- success:function(errObj){
272
- jQuery(b).val(__FRMSAVED);
273
  jQuery(b).nextAll('.frm-loading-img').css('visibility', 'hidden');
274
- setTimeout(function(){jQuery(b).fadeOut('slow', function(){jQuery(b).val(p);jQuery(b).show();});}, 2000);
 
 
 
 
 
 
 
275
  },
276
  error:function(html){jQuery('#frm_js_build_form').submit();}
277
  });
278
  }
279
 
280
  function frmSubmitNoAjax(b){
281
- var p=jQuery(b).val();
282
- jQuery(b).val(__FRMSAVING);
283
- jQuery(b).nextAll('.frm-loading-img').css('visibility', 'visible');
284
  var form=jQuery('#frm_build_form');
285
  jQuery('#frm_compact_fields').val(JSON.stringify(form.serializeArray()));
286
  jQuery('#frm_js_build_form').submit();
287
  }
288
 
289
- function frmClickWidget(obj){
290
- if(obj.hasClass('widget-action')) return;
291
- if(obj.parents().hasClass('frm_35_trigger')) return;
292
- inside=obj.closest('div.widget').children('.widget-inside');
 
 
 
 
 
 
 
 
 
293
  if(inside.is(':hidden')){inside.slideDown('fast');}else{inside.slideUp('fast');}
294
  }
295
 
296
- function frmTriggerDefaults(obj){
297
- var n=obj.attr('name');
 
 
 
 
 
298
  if(typeof(n)=='undefined') return false;
299
  var n=n.substring(10,n.length-1);
300
- frmShowDefaults(n,obj.val());
301
  }
302
 
303
  function frmCheckUniqueOpt(id,html,text){
@@ -314,6 +402,45 @@ function frmCheckUniqueOpt(id,html,text){
314
  }
315
  }
316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
  function frmUpdateOpts(field_id,opts){
318
  jQuery('#frm_field_'+field_id+'_opts').html('').addClass('frm-loading-img');
319
  jQuery.ajax({
@@ -330,50 +457,115 @@ function frmUpdateOpts(field_id,opts){
330
  });
331
  }
332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  function frm_remove_tag(html_tag){jQuery(html_tag).remove();}
334
 
335
  function frmToggleLogic(id){
336
  $ele = jQuery('#'+id);
337
- $ele.fadeOut('slow'); $ele.next('.frm_logic_rows').fadeIn('slow');
 
 
 
 
338
  }
339
- function frmToggleDiv(div){jQuery(div).fadeToggle('fast');}
340
  function frm_show_div(div,value,show_if,class_id){
341
  if(value==show_if) jQuery(class_id+div).fadeIn('slow'); else jQuery(class_id+div).fadeOut('slow');
342
  }
343
  function frm_select_item_checkbox(checked){if(!checked){jQuery(".select-all-item-action-checkboxes").removeAttr("checked");}}
344
 
345
  function frmCheckAll(checked,n){
346
- if(checked){jQuery("input[name='"+n+"[]']").attr("checked","checked");}
347
- else{jQuery("input[name='"+n+"[]']").removeAttr("checked");}
348
  }
349
 
350
  function frmCheckAllLevel(checked,n,level){
351
  var $kids=jQuery(".frm_catlevel_"+level).children(".frm_checkbox").children('label');
352
- if(checked){$kids.children("input[name='"+n+"[]']").attr("checked","checked");}
353
- else{$kids.children("input[name='"+n+"[]']").removeAttr("checked");}
354
  }
355
 
356
  function frmAddNewForm(form,action){if(form !='') window.location='?page=formidable&frm_action='+action+'&id='+form;}
357
  function frmRedirectToForm(form,action){if(form !='') window.location='?page=formidable-entries&frm_action='+action+'&form='+form;}
358
  function frmRedirectToDisplay(form,action){if(form !='') window.location='?page=formidable-entry-templates&frm_action='+action+'&form='+form;}
359
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  function frm_add_logic_row(id,form_id){
361
  jQuery.ajax({
362
  type:"POST",url:ajaxurl,
363
  data:"action=frm_add_logic_row&form_id="+form_id+"&field_id="+id+"&meta_name="+jQuery('#frm_logic_row_'+id+' > div').size(),
364
  success:function(html){jQuery('#frm_logic_row_'+id).append(html);}
365
  });
 
366
  }
367
 
368
- function frmAddFormLogicRow(id,form_id){
369
- if(jQuery('#frm_notification_'+id+' .frm_logic_row').length>0)
 
 
370
  var meta_name=1+parseInt(jQuery('#frm_notification_'+id+' .frm_logic_row:last').attr('id').replace('frm_logic_'+id+'_', ''));
371
- else var meta_name=0;
 
372
  jQuery.ajax({
373
  type:"POST",url:ajaxurl,
374
  data:"action=frm_add_form_logic_row&form_id="+form_id+"&email_id="+id+"&meta_name="+meta_name,
375
- success:function(html){jQuery('#frm_logic_row_'+id).append(html);}
 
 
 
 
 
376
  });
 
377
  }
378
 
379
  function frmGetFieldValues(f,cur,r,t,n){
@@ -386,9 +578,27 @@ if(f){
386
  }
387
  }
388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
389
  function add_frm_field_link(form_id,field_type){
390
  jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_insert_field&form_id="+form_id+"&field="+field_type,
391
- success:function(msg){jQuery('#new_fields').append(msg); jQuery('#new_fields li:last .frm_ipe_field_label').mouseover().click();}
392
  });
393
  };
394
 
@@ -403,21 +613,63 @@ if(val=='select') jQuery('#frm_multiple_cont_'+field_id).fadeIn('fast');
403
  else jQuery('#frm_multiple_cont_'+field_id).fadeOut('fast');
404
  }
405
 
406
- function frm_mark_required(field_id,required){
407
- var thisid='req_field_'+field_id;
408
- if(required=='0'){var switch_to='1';var atitle='Click to Mark as Not Required';var checked='checked="checked"';
409
- jQuery('.frm_required_details'+field_id).fadeIn('fast');}
410
- else{var switch_to='0';var atitle='Click to Mark as Required';var checked='';
411
- jQuery('.frm_required_details'+field_id).fadeOut('fast');}
412
- jQuery('#'+thisid).replaceWith('<a href="javascript:frm_mark_required('+field_id+','+switch_to+')" class="frm_action_icon frm_required_icon alignleft frm_required'+switch_to+'" id="'+thisid+'" title="'+atitle+'"></a>');
413
- jQuery('#frm_'+thisid).replaceWith('<input type="checkbox" id="frm_'+thisid+'" name="field_options[required_'+field_id+']" value="1" '+checked+' onclick="frm_mark_required('+field_id+','+switch_to+')" />');
414
- jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_mark_required&field="+field_id+"&required="+switch_to});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  };
416
 
417
  function frmMarkUnique(field_id){
418
  var thisid='uniq_field_'+field_id;
419
- if(jQuery('#frm_'+thisid).is(':checked')){jQuery('.frm_unique_details'+field_id).fadeIn('fast');}
420
- else{jQuery('.frm_unique_details'+field_id).fadeOut('fast');}
 
 
 
 
 
 
 
421
  };
422
 
423
  function frmSeparateValue(field_id){
@@ -429,23 +681,32 @@ function frmSeparateValue(field_id){
429
  function frmShowDefaults(n,fval){
430
  if(fval){jQuery('#frm_clear_on_focus_'+n+',#frm_clear_on_focus_'+n+' a').css('visibility','visible').fadeIn('slow');}
431
  else{jQuery('#frm_clear_on_focus_'+n+',#frm_clear_on_focus_'+n+' a').css('visibility','visible').fadeOut('slow');}
 
432
  }
433
 
434
- function frm_clear_on_focus(field_id, active){
435
- var thisid='clear_field_'+field_id;
436
- if (active=='1'){var switch_to='0';var new_class='frm_inactive_icon';var t='Do not clear default value when field is clicked';}
437
- else{var switch_to='1';var new_class='';var t='Clear default value when field is clicked';}
438
- jQuery('#'+thisid).replaceWith('<a href="javascript:frm_clear_on_focus('+field_id+','+switch_to+')" class="'+new_class +' frm_action_icon frm_reload_icon" id="'+thisid+'" title="'+t+'"></a>');
 
 
 
439
  jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_ajax_option&field="+field_id+"&clear_on_focus="+switch_to});
440
- };
 
441
 
442
- function frm_default_blank(field_id,active){
443
- var thisid='default_blank_'+field_id;
444
- if(active=='1'){var switch_to='0';var new_class='frm_inactive_icon'; var t='Default value will pass form validation';}
445
- else{var switch_to='1';var new_class=''; var t='Default value will NOT pass form validation';}
446
- jQuery('#'+thisid).replaceWith('<a href="javascript:frm_default_blank('+field_id+','+switch_to+')" class="'+new_class+' frm_action_icon frm_error_icon" id="'+thisid+'" title="'+t+'"></a>');
447
- jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_ajax_option&field="+field_id+"&default_blank="+switch_to});
448
- };
 
 
 
 
449
 
450
  function frm_add_field_option(field_id,table){
451
  var data = {action:'frm_add_field_option',field_id:field_id,t:table};
@@ -455,10 +716,13 @@ function frm_add_field_option(field_id,table){
455
  });
456
  };
457
 
458
- function frm_delete_field_option(field_id, opt_key){
459
- jQuery.ajax({type:"POST",url:ajaxurl,
460
- data:"action=frm_delete_field_option&field_id="+field_id+"&opt_key="+opt_key,
461
- success:function(msg){ jQuery('#frm_delete_field_'+field_id+'-'+opt_key+'_container').fadeOut("slow");}
 
 
 
462
  });
463
  };
464
 
@@ -467,38 +731,42 @@ function frm_delete_field(field_id){
467
  jQuery.ajax({
468
  type:"POST",url:ajaxurl,
469
  data:"action=frm_delete_field&field_id="+field_id,
470
- success:function(msg){jQuery("#frm_field_id_"+field_id).fadeOut("slow");}
 
 
 
 
 
471
  });
472
  }
473
  };
474
 
475
- function frmHoverVis(type,obj){
476
- if(type=='mouseenter'){
477
- obj.children('.frm_single_show_hover').show(); obj.children('.frm_single_visible_hover').css('visibility','visible');
478
  }else{
479
- obj.children('.frm_single_show_hover').hide(); obj.children('.frm_single_visible_hover').css('visibility','hidden');
480
  }
481
  }
482
 
483
- function frm_field_hover(show, field_id){
484
- var html_id = '#frm_field_id_'+field_id;
485
- if(show){jQuery(html_id).children('.frm-show-hover').css('visibility','visible');}
486
- else{if(!jQuery(html_id).is('.selected')){jQuery(html_id).children('.frm-show-hover').css('visibility','hidden');}}
487
  }
488
 
489
- function frmClickVis(target,obj){
490
- if(obj.hasClass('selected')) return;
491
- jQuery('.frm-show-hover').css('visibility','hidden'); obj.children('.frm-show-hover').css('visibility','visible');
492
- jQuery('.frm-show-click').hide(); obj.find('.frm-show-click').show();
493
- var i=obj.find('input[name^="item_meta"], select[name^="item_meta"], textarea[name^="item_meta"]')[0];
494
- if(jQuery(i).val()) obj.find('.frm_default_val_icons').show().css('visibility', 'visible');
495
- else obj.find('.frm_default_val_icons').hide().css('visibility', 'hidden');
496
- jQuery('li.ui-state-default.selected').removeClass('selected'); obj.addClass('selected');
497
- if(!jQuery(target).is('.inplace_field') && !jQuery(target).is('.frm_ipe_field_label') && !jQuery(target).is('.frm_ipe_field_desc') && !jQuery(target).is('.frm_ipe_field_option') && !jQuery(target).is('.frm_ipe_field_option_key')){ jQuery('.inplace_field').blur();}
498
  }
499
 
500
  function frmAddEmailList(form_id){
501
- var len=jQuery('.frm_not_email_subject:last').attr('id').replace('email_subject_', '');
502
  jQuery.ajax({
503
  type:"POST",url:ajaxurl,
504
  data:"action=frm_add_email_list&list_id="+(parseInt(len)+1)+"&form_id="+form_id,
@@ -506,10 +774,6 @@ function frmAddEmailList(form_id){
506
  });
507
  }
508
 
509
- function frmRemoveEmailList(id){
510
- jQuery('#frm_notification_'+id).fadeOut('slow').replaceWith('');
511
- }
512
-
513
  function frmCheckCustomEmail(value,id,key){
514
  if(value=='custom'){jQuery('#cust_'+id+'_'+key).css('visibility','visible'); jQuery('#frm_cust_reply_container_'+key).show();}
515
  else{
@@ -521,7 +785,7 @@ if(jQuery('#cust_'+a+'_'+key).css('visibility')=='hidden') jQuery('#frm_cust_rep
521
 
522
  function frmSetMenuOffset(){
523
  var fields = jQuery('#postbox-container-1 .frm_field_list');
524
- if(fields.length>0){
525
  var offset=283;
526
  }else{
527
  var fields = jQuery('#frm_adv_info');
@@ -555,7 +819,12 @@ function frmDisplayFormSelected(form_id){
555
  data:"action=frm_get_date_field_select&form_id="+form_id,
556
  success:function(html){ jQuery('#date_field_id').html(html);}
557
  });
558
- };
 
 
 
 
 
559
 
560
  function frmInsertFieldCode(element,variable){
561
  if(typeof(element)=='object'){
@@ -576,28 +845,29 @@ function frmInsertFieldCode(element,variable){
576
  return;
577
  }
578
  var content_box=jQuery('#'+element_id);
579
- if(content_box){
580
- if(content_box.hasClass('frm_not_email_to')) var variable=', '+variable;
581
- if(variable=='[default-html]' || variable=='[default-plain]'){
582
- var p=0;
583
- if(variable=='[default-plain]') var p=1;
584
- jQuery.ajax({type:"POST",url:ajaxurl,
585
- data:"action=frm_get_default_html&form_id="+jQuery('input[name="id"]').val()+'&plain_text='+p,
586
- success:function(msg){frmInsertContent(content_box,msg);}
587
- });
588
- }else{
589
- frmInsertContent(content_box,variable);
590
- }
 
591
  }
592
  return false;
593
  }
594
 
595
  function frmInsertContent(content_box,variable){
596
- if(document.selection){content_box[0].focus();document.selection.createRange().text=variable;}
597
- else if(content_box[0].selectionStart){obj=content_box[0];var e=obj.selectionEnd;obj.value=obj.value.substr(0,obj.selectionStart)+variable+obj.value.substr(obj.selectionEnd,obj.value.length);
598
  var s=e+variable.length;obj.focus();obj.setSelectionRange(s,s);
599
- }
600
- else{content_box.val(variable+content_box.val());}
601
  }
602
 
603
  function frmToggleAllowedShortcodes(id,f){
@@ -629,7 +899,8 @@ function frmToggleAllowedShortcodes(id,f){
629
  jQuery('#frm_dynamic_values_tab').click();
630
  }else if(id=='frm_classes'){
631
  jQuery('#frm_layout_classes_tab').click();
632
- }else if(jQuery('.frm_form_builder').length>0 && f=='focusin'){
 
633
  jQuery('#frm_insert_fields_tab').click();
634
  }
635
  }
@@ -641,6 +912,88 @@ function frmToggleKeyID(switch_to){
641
  jQuery('.'+switch_to).addClass('current');
642
  }
643
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
644
 
645
  function frm_insert_where_options(value,where_key){
646
  jQuery.ajax({
@@ -652,13 +1005,13 @@ function frm_insert_where_options(value,where_key){
652
 
653
  function frm_add_where_row(){
654
  var form_id=jQuery('#form_id').val();
655
- if(jQuery('#frm_where_options div:last').length>0)
656
- var l=jQuery('#frm_where_options div:last').attr('id').replace('frm_where_field_', '');
657
  else
658
  var l=0;
659
  jQuery.ajax({type:"POST",url:ajaxurl,
660
  data:"action=frm_add_where_row&form_id="+form_id+"&where_key="+(parseInt(l)+1),
661
- success:function(html){jQuery('#frm_where_options').append(html);}
662
  });
663
  }
664
 
@@ -698,8 +1051,9 @@ function frmShowPostOpts(post_field,field_id){
698
  }
699
  };
700
 
701
- function frmCheckDupPost(t){
702
  jQuery('select.frm_single_post_field').removeAttr('style');
 
703
  var v=t.val();
704
  if(v=='' || v=='checkbox') return false;
705
  jQuery('select.frm_single_post_field').each(function(){
@@ -711,25 +1065,56 @@ if(jQuery(this).val() == v && jQuery(this).attr('name')!=t.attr('name')){
711
  });
712
  }
713
 
714
- function frmSettingsTab(tab, id){
715
- var t = jQuery('.'+id+'_settings');
716
- if(jQuery(t).length==0)
 
717
  return false;
718
-
719
- tab.parent().addClass('active').siblings('li').removeClass('active');
720
- tab.closest('div.inside').children('.tabs-panel').hide();
721
- jQuery(t).show();
722
- return false;
 
723
  }
724
 
725
- //function to append a new theme stylesheet with the new style changes
726
  function frmUpdateCSS(locStr){
727
- var cssLink = jQuery('<link href="'+locStr+'" type="text/css" rel="Stylesheet" class="ui-theme" />');
728
- jQuery("head").append(cssLink);
 
 
 
 
 
 
 
729
 
730
- if( jQuery("link.ui-theme").size() > 3){
731
- jQuery("link.ui-theme:first").remove();
732
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
733
  }
734
 
735
  function frmGetMetaValue(id, meta_name){
@@ -738,10 +1123,119 @@ function frmGetMetaValue(id, meta_name){
738
  return new_meta;
739
  }
740
 
741
- function frmShowTooltip(type,tip){
742
- if(type === 'mouseenter'){
743
- frm_title=tip.attr('title');tip.removeAttr('title');jQuery('#frm_tooltip').html(frm_title).fadeIn('fast');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
744
  }else{
745
- jQuery('#frm_tooltip').fadeOut('fast');tip.attr('title',frm_title);
746
  }
747
  }
1
  jQuery(document).ready(function($){
 
2
 
3
  window.onscroll=document.documentElement.onscroll=frmSetMenuOffset;
4
  frmSetMenuOffset();
5
+ $("input[name='options[success_action]'], input[name='options[edit_action]']").change(frm_show_success_opt);
6
+
7
+ $('.wp-admin').click(function(e){
8
+ var t=$(e.target);
9
+ if($('.dropdown.open').length && !t.hasClass('dropdown') && !t.closest('.dropdown').length)
10
+ $('.dropdown.open').removeClass('open');
11
+ });
12
+
13
+ $('a[data-toggle]').click(frmToggleDiv);
14
+
15
+ if($('#new_fields').length){
16
+ $('#new_fields').sortable({
17
+ placeholder:'sortable-placeholder',axis:'y',cursor:'move',opacity:0.65,
18
+ cancel:'.widget,.frm_field_opts_list,input,textarea,select',
19
+ accepts:'field_type_list',revert:true,forcePlaceholderSize:true,
20
+ receive:function(event,ui){
21
+ var new_id=(ui.item).attr('id');
22
+ jQuery('#new_fields .frmbutton.frm_t'+new_id).replaceWith('<img class="frmbutton frmbutton_loadingnow" id="'+new_id+'" src="'+frm_js.images_url+'/ajax_loader.gif" alt="'+frm_js.loading+'" />');
23
+ jQuery.ajax({
24
+ type:"POST",url:ajaxurl,data:"action=frm_insert_field&form_id="+$('input[name="id"]').val()+"&field="+new_id,
25
+ success:function(msg){
26
+ $('.frm_no_fields').hide();
27
+ $('.frmbutton_loadingnow#'+new_id).replaceWith(msg);
28
+ var regex = /id="(\S+)"/; match=regex.exec(msg);
29
+ $('#'+match[1]+' .frm_ipe_field_label').mouseover().click();
30
+ var order= $('#new_fields').sortable('serialize');
31
+ jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_field_order&"+order});
32
+ }
33
+ });
34
+ },
35
+ update:function(){
36
+ var order= $('#new_fields').sortable('serialize');
37
+ jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_field_order&"+order});
38
+ }
39
+ });
40
+ if($('input[name="name"]').val() == '')
41
+ $('input[name="name"]').focus();
42
+ }
43
+
44
+ $('#new_fields').on('hover', '.frm_field_box', frmFieldHover);
45
+ $('#new_fields').on('click', '.use_calc', frmPopCalcFields);
46
+ $('#new_fields').on('click', '.frm_req_field', frm_mark_required);
47
+ $('#new_fields').on('click', '.frm_reload_icon', frm_clear_on_focus);
48
+ $('#new_fields').on('click', '.frm_error_icon', frm_default_blank);
49
+ $('#new_fields').on('click', '.frm_single_option .frm_delete_icon', frm_delete_field_option);
50
+
51
+ $('.inside').on('click', '.frm_insert_code', frmInsertCode);
52
+ $(document).on('change', '.frm_insert_val', function(){
53
+ frmInsertFieldCode($(this).data('target'),$(this).val());
54
+ $(this).val('');
55
  });
56
 
57
+ if($('#frm_adv_info').length || $('.frm_field_list').length){
58
  $('#frm_adv_info').before('<div id="frm_position_ele"></div>');
59
 
60
  $('.frm_code_list a').addClass('frm_noallow');
61
 
62
+ $(document).on('focusin click', 'form input, form textarea, #wpcontent', function(e){
63
+ e.stopPropagation();
64
+ if($(this).is(':not(:submit, input[type=button])')){ var id=$(this).attr('id');frmToggleAllowedShortcodes(id,e.type);}
65
+ });
66
+ $('#postbox-container-1').on('mousedown', '#frm_adv_info a, .frm_field_list a', function(e){e.preventDefault();});
 
 
 
 
 
 
67
 
68
  if(typeof(tinymce)=='object'){
69
  DOM=tinymce.DOM;
70
+ if(typeof(DOM.events) !='undefined' && typeof(DOM.events.add) !='undefined'){
71
  DOM.events.add( DOM.select('.wp-editor-wrap'), 'mouseover', function(e){
72
  if($('*:focus').length>0)return;
73
  if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');});
75
  if($('*:focus').length>0)return;
76
  if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');});
77
  }else{
78
+ $('#frm_dyncontent').on('mouseover mouseout', '.wp-editor-wrap', function(e){
79
+ if($('*:focus').length>0)return;
80
+ if(this.id)frmToggleAllowedShortcodes(this.id.slice(3,-5),'focusin');
81
+ });
 
 
 
 
 
 
 
82
  }
83
  }
84
 
87
  frm_show_loc($('#insert_loc').val());
88
  }
89
 
90
+ $('#post_settings').on('change', '.frm_tax_selector', frmChangePosttaxRow);
91
+
92
+ if($('.hide_editable').length){
93
+ $('.hide_editable, .hide_ar, .hide_save_draft').hide();
94
+
95
+ if( $('#save_draft').is(':checked')) $('.hide_save_draft').show();
96
+ $('#save_draft').change(function(){if( $(this).is(':checked')) $('.hide_save_draft').fadeIn('slow'); else $('.hide_save_draft').fadeOut('slow');});
97
+
98
  if( $('#editable').is(':checked')) $('.hide_editable').show();
99
+ $('#editable').change(function(){if( $(this).is(':checked')) $('.hide_editable').fadeIn('slow'); else $('.hide_editable').fadeOut('slow');});
100
+
101
  if( $('#auto_responder').is(':checked')) $('.hide_ar').show();
102
+
103
+ $('.hide_logged_in, .hide_single_entry').frmInvisible();
104
+ if( $('#logged_in').is(':checked')) $('.hide_logged_in').frmVisible();
105
+ $('#logged_in').change(function(){if( $(this).is(':checked')) $('.hide_logged_in').frmVisible(); else $('.hide_logged_in').frmInvisible();});
106
+
107
+ if( $('#single_entry').is(':checked')) $('.hide_single_entry').frmVisible();
108
+ $('#single_entry').change(function(){if( $(this).is(':checked')) $('.hide_single_entry').frmVisible(); else $('.hide_single_entry').frmInvisible();});
109
  }
110
 
111
+ if($('.widget-top').length){
112
+ $(document).on('click', '.widget-top', frmClickWidget);
113
+ $('.widget-top,a.widget-action').click(function(){frmPopCalcFields(this);$(this).closest('div.widget').siblings().children('.widget-inside').slideUp('fast');});
 
114
  }
115
 
116
+ if($('.frm_ipe_form_desc').length){
117
+ var form_id=$('input[name="id"]').val();
118
  $('.frm_form_builder form:first').submit(function(){$('.inplace_field').blur();})
 
 
 
119
 
120
+ $('.frm_ipe_form_key').editInPlace({
121
+ url:ajaxurl,params:"action=frm_form_key_in_place_edit&form_id="+form_id,
122
+ show_buttons:"true",value_required:"true",
123
+ save_button: '<a class="inplace_save save button button-small">'+frm_admin_js.ok+'</a>',
124
+ cancel_button:'<a class="inplace_cancel cancel">'+frm_admin_js.cancel+'</a>',
125
+ bg_over:"#fffbcc",bg_out:"#fffbcc"
126
  });
127
 
128
+ $('.frm_ipe_form_desc').editInPlace({
129
+ url:ajaxurl,params:'action=frm_form_desc_in_place_edit&form_id='+form_id,
130
+ field_type:'textarea',textarea_rows:3,textarea_cols:60,default_text:frm_admin_js.desc,
131
+ show_buttons:'true',
132
+ save_button: '<a class="inplace_save save button button-small">'+frm_admin_js.ok+'</a>',
133
+ cancel_button:'<a class="inplace_cancel cancel">'+frm_admin_js.cancel+'</a>',
134
  });
135
 
136
+ $('#new_fields').on('keypress', '.frm_ipe_field_label, .frm_ipe_field_option, .frm_ipe_field_option_key', frmBlurField);
137
+ $('#new_fields').on('mouseenter', '.frm_ipe_field_option, .frm_ipe_field_option_key', frmSetIPEOpts);
138
+ $('#new_fields').on('mouseenter', '.frm_ipe_field_key', frmSetIPEKey);
139
+ $('#new_fields').on('mouseenter', '.frm_ipe_field_label', frmSetIPELabel);
140
+ $('#new_fields').on('mouseenter', '.frm_ipe_field_desc', frmSetIPEDesc);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
 
142
  $('select[name^="item_meta"], textarea[name^="item_meta"]').css('float','left');
143
  $('input[name^="item_meta"]').not(':radio, :checkbox').css('float','left');
144
 
145
  if($('.frm_field_loading').length){
146
+ var load_field_id=$('.frm_field_loading').first().data('triggered',1).attr('id').replace('frm_field_id_', '');
147
  frmLoadField(load_field_id);
148
  }
149
  }
151
  // tabs
152
  $('.frm-category-tabs a').click(function(){
153
  var t = $(this).attr('href');
154
+ if(typeof(t)!='undefined'){
155
+ frmClickTab(t, $(this));
156
+ }
 
 
 
 
 
 
 
 
 
 
 
 
157
  return false;
158
  });
159
 
161
  if($('#bulkaction').val()=='delete'){return confirm('Are you sure you want to delete each of the selected items below?');}
162
  });
163
 
 
 
164
  $("select[name='frm_theme_selector'] option").each(function(){
165
  $(this).hover(function(){$('#frm_show_cal').removeClass().addClass($(this).attr('id'));},'');
166
  });
167
 
168
+ $('.frm_reset_style').click(function(){
169
+ if(!confirm(frm_admin_js.confirm))
170
+ return false;
171
+ jQuery.ajax({
172
+ type:'POST',url:ajaxurl,
173
+ data:'action=frm_settings_reset',
174
+ success:function(errObj){
175
+ errObj=errObj.replace(/^\s+|\s+$/g,'');
176
+ if(errObj.indexOf('{') === 0)
177
+ var errObj=jQuery.parseJSON(errObj);
178
+ for (var key in errObj){
179
+ $('input[name="frm_'+key+'"], select[name="frm_'+key+'"]').val(errObj[key]);
180
+ }
181
+ $('select[name="frm_theme_selector"]').val(errObj['theme_css']).change();
182
+ $('#frm_submit_style, #frm_auto_width').prop('checked', false); //checkboxes
183
+ $('#frm_fieldset').change();
184
+ }
185
+ });
186
+ });
187
+
188
  $("select[name='frm_theme_selector']").change(function(){
189
+ if($(this).val() == -1){
190
+ var themeName=-1;
191
+ var css=-1;
192
+ }else{
193
+ var css='https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/themes/'+$(this).val()+'/jquery-ui.css';
194
+ var themeName=$("select[name='frm_theme_selector'] option[value='"+$(this).val()+"']").text();
195
+ }
196
+ frmUpdateUICSS(css);
197
  $('input[name="frm_theme_css"]').val($(this).val()); $('input[name="frm_theme_name"]').val(themeName);
198
  return false;
199
  });
201
  jQuery('.field_type_list > li').draggable({connectToSortable:'#new_fields',cursor:'move',helper:'clone',revert:'invalid',delay:10});
202
  jQuery('ul.field_type_list, .field_type_list li, ul.frm_code_list, .frm_code_list li, .frm_code_list li a, #frm_adv_info #category-tabs li, #frm_adv_info #category-tabs li a').disableSelection();
203
 
204
+ $('#post_settings').on('change', 'select.frm_single_post_field', frmCheckDupPost);
205
+ $('#new_fields').on('hover', '.frm_single_option', frmHoverVis);
206
+ $('#new_fields').on('click', 'li.ui-state-default', frmClickVis);
207
+ $('.frm_form_builder').on('keyup', 'input[name^="item_meta"], textarea[name^="item_meta"]', frmTriggerDefaults);
208
+ $('.frm_form_builder').on('change', 'select[name^="item_meta"]', frmTriggerDefaults);
209
+ $('.wrap').on('mouseenter.frm', '.frm_help', function(){
210
+ $(this).off('mouseenter.frm');
211
+ $('.frm_help').tooltip(
212
+ {template:'<div class="frm_tooltip tooltip"><div class="tooltip-inner"></div></div>',placement:'bottom'}
213
+ );
214
+ $(this).tooltip('show');
215
+ });
216
+ $('.frm_help').tooltip({template:'<div class="frm_tooltip tooltip"><div class="tooltip-inner"></div></div>',placement:'bottom'});
217
+ $('.wrap').on('mouseenter.frm', '.frm_bstooltip', function(){$(this).off('mouseenter.frm');$('.frm_bstooltip').tooltip();$(this).tooltip('show');});
218
+ $('.frm_bstooltip').tooltip();
219
+
220
+
221
+ $('.frm_select_box').click(function(){this.select();});
222
+ $('.frm_select_box').focus(function(){this.select();});
223
 
224
  jQuery('#frm_single_entry_type').change(function(){
225
+ if(jQuery('#frm_single_entry_type option:selected').val()=="cookie"){jQuery('#frm_cookie_expiration').fadeIn('slow');}
226
+ else{jQuery('#frm_cookie_expiration').fadeOut('slow');}
227
  });
228
 
229
+ jQuery('#single_entry').change(function(){
230
+ if(jQuery('#single_entry').is(':checked') && jQuery('#frm_single_entry_type option:selected').val()=='cookie'){jQuery('#frm_cookie_expiration').fadeIn('slow');}
231
+ else{jQuery('#frm_cookie_expiration').fadeOut('slow');}
 
 
 
232
  });
233
+
234
+ if($('.frm_exclude_cat_list .frm_catlevel_2').length){
235
+ $('.frm_exclude_cat_list').each(function(){frmShowLevCheck($(this));});
236
  }
237
 
238
  $('a.edit-frm_shortcode').click(function() {
248
  $('#frm_shortcodediv').siblings('a.edit-frm_shortcode').show();
249
  return false;
250
  });
251
+
252
+ $('#wpbody').on('click', '.frm_remove_tag, .frm_remove_email', frm_remove_this_tag);
253
+ $('.frm_add_remove').on('click', '.frm_add_where_row', frm_add_where_row);
254
+ $('.frm_add_remove').on('click', '.frm_add_order_row', frm_add_order_row);
255
+ $('#new_fields').on('click', '.frm_add_logic_row', frmAddFieldLogicRow);
256
+ $('.frm_form_settings').on('click', '.frm_add_form_logic', frmAddFormLogicRow);
257
+ $('#post_settings').on('click', '.frm_add_postmeta_row', frm_add_postmeta_row);
258
+ $('#post_settings').on('click', '.frm_add_posttax_row', frm_add_posttax_row);
259
+ $('#post_settings').on('click', '.frm_toggle_cf_opts', frm_toggle_cf_opts);
260
+
261
+ //is export page
262
+ if($('#frm_export_xml').length){
263
+ $('#frm_export_xml').submit(frmValidateExport);
264
+ $('#frm_export_xml input, #frm_export_xml select').change(frmRemoveExportError);
265
+ $('input[name="frm_import_file"]').change(frmCheckCSVExtension);
266
+ $('select[name="format"]').change(frmCheckExportTypes);
267
+ }
268
+
269
  });
270
 
271
+ function frmClickTab(t, link){
272
+ var c = t.replace('#', '.');
273
+ var pro=jQuery('#taxonomy-linkcategory .frm-category-tabs li').length > 2;
274
+ link.closest('li').addClass('tabs active').siblings('li').removeClass('tabs active');
275
+ if(link.closest('div').find('.tabs-panel').length) link.closest('div').children('.tabs-panel').hide();
276
+ else{link.closest('div.inside').find('.tabs-panel, .hide_with_tabs').hide();
277
+ if(link.closest('ul').hasClass('frm-form-setting-tabs')){
278
+ if(t=='#html_settings'){
279
+ if(pro){
280
+ jQuery('#taxonomy-linkcategory .frm-category-tabs li').hide();
281
+ jQuery('#frm_html_tab').show();
282
+ }
283
+ jQuery('#frm_html_tags_tab').click();
284
+ }else if(jQuery('#frm_html_tags_tab').is(':visible')){
285
+ if(pro){jQuery('#taxonomy-linkcategory .frm-category-tabs li').show();jQuery('#frm_html_tab').hide();}
286
+ jQuery('#frm_insert_fields_tab').click();
287
+ }
288
+ }}
289
+ jQuery(t).show();
290
+ jQuery(c).show();
291
+
292
+ if(jQuery(link).closest('#frm_adv_info').length){
293
+ return;
294
+ }
295
+
296
+ if(jQuery('.frm_form_settings').length){
297
+ jQuery('.frm_form_settings').attr('action', '?page=formidable&frm_action=settings&id='+jQuery('.frm_form_settings input[name="id"]').val()+'&t='+t.replace('#', ''));
298
+ }else{
299
+ jQuery('.frm_settings_form').attr('action', '?page=formidable-settings&t='+t.replace('#', ''));
300
+ }
301
+ }
302
+
303
+ function frmSettingsTab(tab, id){
304
+ var t = jQuery('.'+id+'_settings');
305
+ if(jQuery(t).length){
306
+ tab.parent().addClass('active').siblings('li').removeClass('active');
307
+ tab.closest('div.inside').children('.tabs-panel').hide();
308
+ jQuery(t).show();
309
+ }
310
+ return false;
311
+ }
312
+
313
  function frmLoadField(field_id){
314
+ if(jQuery('#frm_field_id_'+field_id).next('.frm_field_loading').length && jQuery('#frm_field_id_'+field_id).next('.frm_field_loading').data('triggered')!=1){
315
+ var next_id=jQuery('#frm_field_id_'+field_id).next('.frm_field_loading').data('triggered',1).attr('id').replace('frm_field_id_', '');
316
  setTimeout(function(){frmLoadField(next_id);}, 400);
317
  }
318
  var f=jQuery('#frm_field_id_'+field_id+' .frm_hidden_fdata').html();
320
  type:"POST",url:ajaxurl,
321
  data:{action:'frm_load_field',field_id:field_id,field:f},
322
  success:function(html){
323
+ var t=jQuery('#frm_field_id_'+field_id).html(html).removeClass('frm_field_loading').addClass('ui-state-default').children('.frm_form_fields').data('ftype');
324
+ jQuery('#frm_field_id_'+field_id).addClass('edit_field_type_'+t);
325
  }
326
  });
327
  }
328
 
329
  function frmSubmitBuild(b){
330
  var p=jQuery(b).val();
331
+ frmPreFormSave(b);
332
+
333
  var form=jQuery('#frm_build_form');
334
  var v=JSON.stringify(form.serializeArray());
335
  jQuery('#frm_compact_fields').val(v);
336
  jQuery.ajax({
337
  type:"POST",url:ajaxurl,
338
  data:{action:'frm_save_form','frm_compact_fields':v},
339
+ success:function(msg){
340
+ jQuery(b).val(frm_admin_js.saved);
341
  jQuery(b).nextAll('.frm-loading-img').css('visibility', 'hidden');
342
+ jQuery('#poststuff').prepend('<div id="message" class="frm_message updated" style="padding:5px;">'+msg+'</div>');
343
+ setTimeout(function(){
344
+ jQuery('#message.frm_message').fadeOut('slow');
345
+ jQuery(b).fadeOut('slow', function(){
346
+ jQuery(b).val(p);
347
+ jQuery(b).show();
348
+ });
349
+ }, 2000);
350
  },
351
  error:function(html){jQuery('#frm_js_build_form').submit();}
352
  });
353
  }
354
 
355
  function frmSubmitNoAjax(b){
356
+ frmPreFormSave(b);
357
+
 
358
  var form=jQuery('#frm_build_form');
359
  jQuery('#frm_compact_fields').val(JSON.stringify(form.serializeArray()));
360
  jQuery('#frm_js_build_form').submit();
361
  }
362
 
363
+ function frmPreFormSave(b){
364
+ if(jQuery('form.inplace_form').length){
365
+ jQuery('.inplace_save').click();
366
+ }
367
+
368
+ jQuery(b).val(frm_admin_js.saving);
369
+ jQuery(b).nextAll('.frm-loading-img').css('visibility', 'visible');
370
+ }
371
+
372
+ function frmClickWidget(){
373
+ if(jQuery(this).hasClass('widget-action')) return;
374
+ if(jQuery(this).parents().hasClass('frm_35_trigger')) return;
375
+ inside=jQuery(this).closest('div.widget').children('.widget-inside');
376
  if(inside.is(':hidden')){inside.slideDown('fast');}else{inside.slideUp('fast');}
377
  }
378
 
379
+ function frmBlurField(e){
380
+ if(e.which == 13){
381
+ jQuery('.inplace_field').blur();return false;
382
+ }
383
+ }
384
+ function frmTriggerDefaults(){
385
+ var n=jQuery(this).attr('name');
386
  if(typeof(n)=='undefined') return false;
387
  var n=n.substring(10,n.length-1);
388
+ frmShowDefaults(n,jQuery(this).val());
389
  }
390
 
391
  function frmCheckUniqueOpt(id,html,text){
402
  }
403
  }
404
 
405
+ function frmSetIPEKey(){
406
+ jQuery(this).editInPlace({
407
+ show_buttons:"true",value_required:"true",
408
+ save_button: '<a class="inplace_save save button button-small">'+frm_admin_js.ok+'</a>',
409
+ cancel_button:'<a class="inplace_cancel cancel">'+frm_admin_js.cancel+'</a>',
410
+ bg_out:"#fffbcc",
411
+ callback:function(x,text){jQuery(this).next('input').val(text);return text;}
412
+ });
413
+ }
414
+
415
+ function frmSetIPELabel(){
416
+ jQuery(this).editInPlace({
417
+ url:ajaxurl,params:'action=frm_field_name_in_place_edit',
418
+ value_required:'true'
419
+ });
420
+ }
421
+
422
+ function frmSetIPEDesc(){
423
+ jQuery(this).editInPlace({
424
+ url:ajaxurl,params:'action=frm_field_desc_in_place_edit',
425
+ default_text:frm_admin_js.desc,
426
+ field_type:'textarea',textarea_rows:3
427
+ });
428
+ }
429
+
430
+ function frmSetIPEOpts(){
431
+ jQuery(this).editInPlace({
432
+ default_text:frm_admin_js.blank,
433
+ callback:function(d,text){
434
+ var id=jQuery(this).attr('id');
435
+ jQuery.ajax({
436
+ type:"POST",url:ajaxurl,
437
+ data:{action:'frm_field_option_ipe',update_value:text,element_id:id},
438
+ success:function(html){frmCheckUniqueOpt(id,html,text);}
439
+ });
440
+ }
441
+ });
442
+ }
443
+
444
  function frmUpdateOpts(field_id,opts){
445
  jQuery('#frm_field_'+field_id+'_opts').html('').addClass('frm-loading-img');
446
  jQuery.ajax({
457
  });
458
  }
459
 
460
+ function frm_remove_this_tag(){
461
+ var id=jQuery(this).data('removeid');
462
+ var show=jQuery(this).data('showlast');
463
+ if(typeof(show) == 'undefined'){
464
+ show = '';
465
+ }
466
+
467
+ if(show != ''){
468
+ if ( jQuery(this).closest('.frm_add_remove').find('.frm_remove_tag').length > 1 )
469
+ show = '';
470
+ }else if(id.indexOf('frm_logic_') === 0 && jQuery(this).closest('.frm_logic_rows').find('.frm_logic_row').length<2){
471
+ show='#'+jQuery(this).closest('td').children('.frm_add_logic_link').attr('id');
472
+ }else if(id.indexOf('frm_postmeta_') === 0){
473
+ if(jQuery('#frm_postmeta_rows .frm_postmeta_row').length<2)
474
+ show='.frm_add_postmeta_row.button';
475
+ if(jQuery('.frm_toggle_cf_opts').length && jQuery('#frm_postmeta_rows .frm_postmeta_row').not('#'+id).last().length){
476
+ if(show!='')
477
+ show += ','
478
+ show += '#'+jQuery('#frm_postmeta_rows .frm_postmeta_row').not('#'+id).last().attr('id')+' .frm_toggle_cf_opts';
479
+ }
480
+ }
481
+
482
+ jQuery('#'+id).fadeOut('slow', function(){
483
+ jQuery('#'+id).remove();
484
+ if(show != '')
485
+ jQuery(show).fadeIn('slow');
486
+ });
487
+ if(show != '')
488
+ jQuery(this).closest('.frm_logic_rows').fadeOut('slow');
489
+
490
+ return false;
491
+ }
492
+
493
  function frm_remove_tag(html_tag){jQuery(html_tag).remove();}
494
 
495
  function frmToggleLogic(id){
496
  $ele = jQuery('#'+id);
497
+ $ele.fadeOut('slow');$ele.next('.frm_logic_rows').fadeIn('slow');
498
+ }
499
+ function frmToggleDiv(){
500
+ var div=jQuery(this).data('toggle');
501
+ if(jQuery(div).is(':visible')){ jQuery(div).slideUp('fast');}else{jQuery(div).slideDown('fast');}
502
  }
 
503
  function frm_show_div(div,value,show_if,class_id){
504
  if(value==show_if) jQuery(class_id+div).fadeIn('slow'); else jQuery(class_id+div).fadeOut('slow');
505
  }
506
  function frm_select_item_checkbox(checked){if(!checked){jQuery(".select-all-item-action-checkboxes").removeAttr("checked");}}
507
 
508
  function frmCheckAll(checked,n){
509
+ if(checked){jQuery("input[name^='"+n+"']").attr("checked","checked");}
510
+ else{jQuery("input[name^='"+n+"']").removeAttr("checked");}
511
  }
512
 
513
  function frmCheckAllLevel(checked,n,level){
514
  var $kids=jQuery(".frm_catlevel_"+level).children(".frm_checkbox").children('label');
515
+ if(checked){$kids.children("input[name^='"+n+"']").attr("checked","checked");}
516
+ else{$kids.children("input[name^='"+n+"']").removeAttr("checked");}
517
  }
518
 
519
  function frmAddNewForm(form,action){if(form !='') window.location='?page=formidable&frm_action='+action+'&id='+form;}
520
  function frmRedirectToForm(form,action){if(form !='') window.location='?page=formidable-entries&frm_action='+action+'&form='+form;}
521
  function frmRedirectToDisplay(form,action){if(form !='') window.location='?page=formidable-entry-templates&frm_action='+action+'&form='+form;}
522
 
523
+ function frmAddFieldLogicRow(){
524
+ var id=jQuery(this).closest('td').children('.frm_add_logic_row').attr('id').replace('logic_', '');
525
+ var form_id=jQuery('input[name="id"]').val();
526
+ if(jQuery('#frm_logic_row_'+id+' .frm_logic_row').length>0)
527
+ var meta_name=1+parseInt(jQuery('#frm_logic_row_'+id+' .frm_logic_row:last').attr('id').replace('frm_logic_'+id+'_', ''));
528
+ else var meta_name=0;
529
+ jQuery.ajax({
530
+ type:"POST",url:ajaxurl,
531
+ data:"action=frm_add_logic_row&form_id="+form_id+"&field_id="+id+"&meta_name="+meta_name,
532
+ success:function(html){
533
+ jQuery('#logic_'+id).fadeOut('slow', function(){
534
+ jQuery('#frm_logic_row_'+id).append(html);
535
+ jQuery('#frm_logic_row_'+id).parent('.frm_logic_rows').fadeIn('slow');
536
+ });
537
+ }
538
+ });
539
+ return false;
540
+ }
541
+
542
  function frm_add_logic_row(id,form_id){
543
  jQuery.ajax({
544
  type:"POST",url:ajaxurl,
545
  data:"action=frm_add_logic_row&form_id="+form_id+"&field_id="+id+"&meta_name="+jQuery('#frm_logic_row_'+id+' > div').size(),
546
  success:function(html){jQuery('#frm_logic_row_'+id).append(html);}
547
  });
548
+ return false;
549
  }
550
 
551
+ function frmAddFormLogicRow(){
552
+ var id=jQuery(this).data('emailkey');
553
+ var form_id=jQuery('input[name="id"]').val();
554
+ if(jQuery('#frm_notification_'+id+' .frm_logic_row').length)
555
  var meta_name=1+parseInt(jQuery('#frm_notification_'+id+' .frm_logic_row:last').attr('id').replace('frm_logic_'+id+'_', ''));
556
+ else
557
+ var meta_name=0;
558
  jQuery.ajax({
559
  type:"POST",url:ajaxurl,
560
  data:"action=frm_add_form_logic_row&form_id="+form_id+"&email_id="+id+"&meta_name="+meta_name,
561
+ success:function(html){
562
+ jQuery('#logic_link_'+id).fadeOut('slow', function(){
563
+ jQuery('#frm_logic_row_'+id).append(html);
564
+ jQuery('#frm_logic_row_'+id).parent('.frm_logic_rows').fadeIn('slow');
565
+ });
566
+ }
567
  });
568
+ return false;
569
  }
570
 
571
  function frmGetFieldValues(f,cur,r,t,n){
578
  }
579
  }
580
 
581
+ function frm_show_success_opt(){
582
+ if(jQuery(this).attr('name') == 'options[edit_action]'){
583
+ var c='edit';
584
+ }else{
585
+ var c='success';
586
+ }
587
+ var v = jQuery(this).val();
588
+ jQuery('.'+c+'_action_box').hide();
589
+ if(v=='redirect'){
590
+ jQuery('.'+c+'_action_redirect_box.'+c+'_action_box').fadeIn('slow');
591
+ }else if(v=='page'){
592
+ jQuery('.'+c+'_action_page_box.'+c+'_action_box').fadeIn('slow');
593
+ }else{
594
+ jQuery('.'+c+'_action_message_box.frm_show_form_opt').show();
595
+ jQuery('.'+c+'_action_message_box.'+c+'_action_box').fadeIn('slow');
596
+ }
597
+ }
598
+
599
  function add_frm_field_link(form_id,field_type){
600
  jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_insert_field&form_id="+form_id+"&field="+field_type,
601
+ success:function(msg){jQuery('.frm_no_fields').hide(); jQuery('#new_fields').append(msg); jQuery('#new_fields li:last .frm_ipe_field_label').mouseover().click();}
602
  });
603
  };
604
 
613
  else jQuery('#frm_multiple_cont_'+field_id).fadeOut('fast');
614
  }
615
 
616
+ function frmPopCalcFields(v){
617
+ if(!v.type){
618
+ if(!jQuery(v).closest('div.widget').children('.widget-inside').is(':hidden'))
619
+ return;
620
+ var p=jQuery(v).closest('.frm_field_box');
621
+ }else{
622
+ var p=jQuery(this).closest('.frm_field_box');
623
+ }
624
+
625
+ if(!p.find('.use_calc').length || !p.find('.use_calc').is(':checked'))
626
+ return;
627
+
628
+ var form_id=jQuery('input[name="id"]').val();
629
+ var field_id=p.find('input[name="frm_fields_submitted[]"]').val();
630
+ jQuery.ajax({
631
+ type:'POST',url:ajaxurl,data:'action=frm_populate_calc_dropdown&field_id='+field_id+'&form_id='+form_id,
632
+ success:function(msg){p.find('.frm_shortcode_select').replaceWith(msg);}
633
+ });
634
+ }
635
+
636
+ function frm_mark_required(){
637
+ var thisid=jQuery(this).attr('id').replace('frm_', '');
638
+ var field_id=thisid.replace('req_field_', '');
639
+ if(jQuery(this).attr('id').indexOf('frm_') >= 0){
640
+ //checkbox was clicked
641
+ var checked=jQuery(this).is(':checked');
642
+ }else{
643
+ //link was clicked
644
+ var checked=(jQuery('#frm_'+thisid).is(':checked')) ? false : true;
645
+ }
646
+
647
+ if(checked){
648
+ var atitle='Click to Mark as Not Required';
649
+ jQuery('.frm_required_details'+field_id).fadeIn('fast').closest('.frm_validation_msg').fadeIn('fast');
650
+ if(jQuery('input[name="field_options[required_indicator_'+field_id+']"]').val() == '')
651
+ jQuery('input[name="field_options[required_indicator_'+field_id+']"]').val('*');
652
+ }else{
653
+ var atitle='Click to Mark as Required';
654
+ var v=jQuery('.frm_required_details'+field_id).fadeOut('fast').closest('.frm_validation_box').children(':not(.frm_required_details'+field_id+'):visible').length;
655
+ if(v==0)
656
+ jQuery('.frm_required_details'+field_id).closest('.frm_validation_msg').fadeOut('fast');
657
+ }
658
+ jQuery('#'+thisid).removeClass('frm_required0 frm_required1').addClass('frm_required'+(checked ? 1 : 0)).attr('title', atitle);
659
+ jQuery('#frm_'+thisid).prop('checked', checked);
660
  };
661
 
662
  function frmMarkUnique(field_id){
663
  var thisid='uniq_field_'+field_id;
664
+ if(jQuery('#frm_'+thisid).is(':checked')){
665
+ jQuery('.frm_unique_details'+field_id).fadeIn('fast').closest('.frm_validation_msg').fadeIn('fast');
666
+ if(jQuery('.frm_unique_details'+field_id+' input').val() == '')
667
+ jQuery('.frm_unique_details'+field_id+' input').val(frm_admin_js.default_unique);
668
+ }else{
669
+ var v=jQuery('.frm_unique_details'+field_id).fadeOut('fast').closest('.frm_validation_box').children(':not(.frm_unique_details'+field_id+'):visible').length;
670
+ if(v==0)
671
+ jQuery('.frm_unique_details'+field_id).closest('.frm_validation_msg').fadeOut('fast');
672
+ }
673
  };
674
 
675
  function frmSeparateValue(field_id){
681
  function frmShowDefaults(n,fval){
682
  if(fval){jQuery('#frm_clear_on_focus_'+n+',#frm_clear_on_focus_'+n+' a').css('visibility','visible').fadeIn('slow');}
683
  else{jQuery('#frm_clear_on_focus_'+n+',#frm_clear_on_focus_'+n+' a').css('visibility','visible').fadeOut('slow');}
684
+ return false;
685
  }
686
 
687
+ function frm_clear_on_focus(){
688
+ if(jQuery(this).hasClass('frm_inactive_icon')){
689
+ var switch_to='1';var t=frm_admin_js.clear_default;
690
+ }else{
691
+ var switch_to='0';var t=frm_admin_js.no_clear_default;
692
+ }
693
+ var field_id=jQuery(this).attr('id').replace('clear_field_', '');
694
+ jQuery(this).toggleClass('frm_inactive_icon').attr('title', t).tooltip('destroy').tooltip('show');
695
  jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_ajax_option&field="+field_id+"&clear_on_focus="+switch_to});
696
+ return false;
697
+ }
698
 
699
+ function frm_default_blank(){
700
+ if(jQuery(this).hasClass('frm_inactive_icon')){
701
+ var switch_to='1';var t=frm_admin_js.no_valid_default;
702
+ }else{
703
+ var switch_to='0';var t=frm_admin_js.valid_default;
704
+ }
705
+ var field_id=jQuery(this).attr('id').replace('default_blank_','');
706
+ jQuery(this).toggleClass('frm_inactive_icon').attr('title', t).tooltip('destroy').next('.tooltip').remove();jQuery(this).tooltip('show');
707
+ jQuery.ajax({type:"POST",url:ajaxurl,data:"action=frm_update_ajax_option&field="+field_id+"&default_blank="+switch_to});
708
+ return false;
709
+ }
710
 
711
  function frm_add_field_option(field_id,table){
712
  var data = {action:'frm_add_field_option',field_id:field_id,t:table};
716
  });
717
  };
718
 
719
+ function frm_delete_field_option(){
720
+ var cont = jQuery(this).parent('.frm_single_option').attr('id');
721
+ //id = 'frm_delete_field_'+field_id+'-'+opt_key+'_container'
722
+ var fk=cont.replace('frm_delete_field_', '').replace('_container', '').split('-');
723
+ jQuery.ajax({type:'POST',url:ajaxurl,
724
+ data:'action=frm_delete_field_option&field_id='+fk[0]+'&opt_key='+fk[1],
725
+ success:function(msg){ jQuery('#'+cont).fadeOut('slow');}
726
  });
727
  };
728
 
731
  jQuery.ajax({
732
  type:"POST",url:ajaxurl,
733
  data:"action=frm_delete_field&field_id="+field_id,
734
+ success:function(msg){
735
+ jQuery('#frm_field_id_'+field_id).fadeOut('slow', function(){
736
+ jQuery('#frm_field_id_'+field_id).remove();
737
+ if(jQuery('#new_fields li').length === 0) jQuery('.frm_no_fields').show();
738
+ });
739
+ }
740
  });
741
  }
742
  };
743
 
744
+ function frmHoverVis(e){
745
+ if(e.type=='mouseenter'){
746
+ jQuery(this).children('.frm_single_show_hover').show(); jQuery(this).children('.frm_single_visible_hover').css('visibility','visible');
747
  }else{
748
+ jQuery(this).children('.frm_single_show_hover').hide(); jQuery(this).children('.frm_single_visible_hover').css('visibility','hidden');
749
  }
750
  }
751
 
752
+ function frmFieldHover(e){
753
+ if(e.type=='mouseenter'){jQuery(this).children('.frm-show-hover').css('visibility','visible');}
754
+ else{if(!jQuery(this).hasClass('selected')){jQuery(this).children('.frm-show-hover').css('visibility','hidden');}}
 
755
  }
756
 
757
+ function frmClickVis(e){
758
+ if(jQuery(this).hasClass('selected')) return;
759
+ jQuery('.frm-show-hover').css('visibility','hidden'); jQuery(this).children('.frm-show-hover').css('visibility','visible');
760
+ jQuery('.frm-show-click').hide(); jQuery(this).find('.frm-show-click').show();
761
+ var i=jQuery(this).find('input[name^="item_meta"], select[name^="item_meta"], textarea[name^="item_meta"]')[0];
762
+ if(jQuery(i).val()) jQuery(this).find('.frm_default_val_icons').show().css('visibility', 'visible');
763
+ else jQuery(this).find('.frm_default_val_icons').hide().css('visibility', 'hidden');
764
+ jQuery('li.ui-state-default.selected').removeClass('selected'); jQuery(this).addClass('selected');
765
+ if(!jQuery(e.target).is('.inplace_field, .frm_ipe_field_label, .frm_ipe_field_desc, .frm_ipe_field_option, .frm_ipe_field_option_key')){ jQuery('.inplace_field').blur();}
766
  }
767
 
768
  function frmAddEmailList(form_id){
769
+ var len=jQuery('input[id^="email_subject_"]:last').attr('id').replace('email_subject_', '');
770
  jQuery.ajax({
771
  type:"POST",url:ajaxurl,
772
  data:"action=frm_add_email_list&list_id="+(parseInt(len)+1)+"&form_id="+form_id,
774
  });
775
  }
776
 
 
 
 
 
777
  function frmCheckCustomEmail(value,id,key){
778
  if(value=='custom'){jQuery('#cust_'+id+'_'+key).css('visibility','visible'); jQuery('#frm_cust_reply_container_'+key).show();}
779
  else{
785
 
786
  function frmSetMenuOffset(){
787
  var fields = jQuery('#postbox-container-1 .frm_field_list');
788
+ if(fields.length){
789
  var offset=283;
790
  }else{
791
  var fields = jQuery('#frm_adv_info');
819
  data:"action=frm_get_date_field_select&form_id="+form_id,
820
  success:function(html){ jQuery('#date_field_id').html(html);}
821
  });
822
+ }
823
+
824
+ function frmInsertCode(){
825
+ frmInsertFieldCode(jQuery(this),jQuery(this).data('code'));
826
+ return false;
827
+ }
828
 
829
  function frmInsertFieldCode(element,variable){
830
  if(typeof(element)=='object'){
845
  return;
846
  }
847
  var content_box=jQuery('#'+element_id);
848
+ if(!content_box)
849
+ return false;
850
+
851
+ if(content_box.hasClass('frm_not_email_to')) var variable=', '+variable;
852
+ if(variable=='[default-html]' || variable=='[default-plain]'){
853
+ var p=0;
854
+ if(variable=='[default-plain]') var p=1;
855
+ jQuery.ajax({type:"POST",url:ajaxurl,
856
+ data:"action=frm_get_default_html&form_id="+jQuery('input[name="id"]').val()+'&plain_text='+p,
857
+ success:function(msg){frmInsertContent(content_box,msg);}
858
+ });
859
+ }else{
860
+ frmInsertContent(content_box,variable);
861
  }
862
  return false;
863
  }
864
 
865
  function frmInsertContent(content_box,variable){
866
+ if(document.selection){content_box[0].focus();document.selection.createRange().text=variable;
867
+ }else if(content_box[0].selectionStart){obj=content_box[0];var e=obj.selectionEnd;obj.value=obj.value.substr(0,obj.selectionStart)+variable+obj.value.substr(obj.selectionEnd,obj.value.length);
868
  var s=e+variable.length;obj.focus();obj.setSelectionRange(s,s);
869
+ }else{content_box.val(variable+content_box.val());}
870
+ content_box.keyup(); //trigger change
871
  }
872
 
873
  function frmToggleAllowedShortcodes(id,f){
899
  jQuery('#frm_dynamic_values_tab').click();
900
  }else if(id=='frm_classes'){
901
  jQuery('#frm_layout_classes_tab').click();
902
+ }else if(jQuery('.frm_form_builder').length &&
903
+ (f=='focusin' || jQuery('#frm-dynamic-values').is(':visible') || jQuery('#frm-layout-classes').is(':visible'))){
904
  jQuery('#frm_insert_fields_tab').click();
905
  }
906
  }
912
  jQuery('.'+switch_to).addClass('current');
913
  }
914
 
915
+ function frm_add_postmeta_row(){
916
+ var id=jQuery('input[name="id"]').val();
917
+ if(jQuery('.frm_postmeta_row').length){
918
+ var name=jQuery('.frm_postmeta_row:last').attr('id').replace('frm_postmeta_', '');
919
+ if(jQuery.isNumeric(name))
920
+ var meta_name=1+parseInt(name);
921
+ else
922
+ var meta_name=1;
923
+ }else{
924
+ var meta_name=0;
925
+ }
926
+ jQuery.ajax({
927
+ type:"POST",url:ajaxurl,
928
+ data:"action=frm_add_postmeta_row&form_id="+id+"&meta_name="+meta_name,
929
+ success:function(html){
930
+ jQuery('#frm_postmeta_rows').append(html);
931
+ jQuery('.frm_toggle_cf_opts').not(':last').hide();
932
+ jQuery('.frm_add_postmeta_row.button').hide();
933
+ }
934
+ });
935
+ }
936
+
937
+ function frm_add_posttax_row(){
938
+ var id=jQuery('input[name="id"]').val();
939
+ var post_type=jQuery('select[name="options[post_type]"]').val();
940
+ var tax_key=frmGetMetaValue('frm_posttax_', jQuery('#frm_posttax_rows > div').size());
941
+ jQuery.ajax({
942
+ type:"POST",url:ajaxurl,
943
+ data:"action=frm_add_posttax_row&form_id="+id+"&post_type="+post_type+"&tax_key="+tax_key,
944
+ success:function(html){
945
+ jQuery('#frm_posttax_rows').append(html).find('.frm_exclude_cat_list').each(function(){frmShowLevCheck(jQuery(this));});
946
+ }
947
+ });
948
+ }
949
+
950
+ function frmChangePosttaxRow(){
951
+ if(!jQuery(this).closest('.frm_posttax_row').find('.frm_posttax_opt_list').length)
952
+ return;
953
+ jQuery(this).closest('.frm_posttax_row').find('.frm_posttax_opt_list').html('<img src="'+ frm_js.images_url +'/wpspin_light.gif" alt="'+ frm_js.loading +'" />');
954
+ var post_type=jQuery('select[name="options[post_type]"]').val();
955
+ var tax_key=jQuery(this).closest('.frm_posttax_row').attr('id').replace('frm_posttax_', '');
956
+ var meta_name=jQuery(this).val();
957
+ var show_exclude=jQuery('#'+tax_key+'_show_exclude').is(':checked') ? 1 : 0;
958
+ var field_id=jQuery('select[name="options[post_category]['+tax_key+'][field_id]"]').val();
959
+ var id=jQuery('input[name="id"]').val();
960
+ jQuery.ajax({
961
+ type:"POST",url:ajaxurl,
962
+ data:"action=frm_add_posttax_row&form_id="+id+"&post_type="+post_type+"&tax_key="+tax_key+"&meta_name="+meta_name+"&field_id="+field_id+'&show_exclude='+show_exclude,
963
+ success:function(html){
964
+ jQuery('#frm_posttax_'+tax_key).replaceWith(html);
965
+ if(jQuery('#frm_posttax_'+tax_key).find('.frm_exclude_cat_list').length){
966
+ var cat = jQuery('#frm_posttax_'+tax_key).find('.frm_exclude_cat_list');
967
+ frmShowLevCheck(cat)
968
+ }
969
+ }
970
+ });
971
+ }
972
+
973
+ function frmShowLevCheck(cat){
974
+ var frm_lev=cat.find('.frm_catlevel_2');
975
+ if(frm_lev.length) cat.find('.check_lev1_label, .check_lev2_label').show();
976
+ var frm_lev=cat.find('.frm_catlevel_3'); if(frm_lev.length) cat.find('.check_lev3_label').show();
977
+ var frm_lev=cat.find('.frm_catlevel_4'); if(frm_lev.length) cat.find('.check_lev4_label').show();
978
+ }
979
+
980
+ function frm_toggle_cf_opts(){
981
+ jQuery(this).closest('.frm_postmeta_row').find('.frm_enternew, .frm_cancelnew').toggle();
982
+ jQuery(this).closest('.frm_postmeta_row').find('input.frm_enternew, select.frm_cancelnew').val('');
983
+ return false;
984
+ }
985
+
986
+ function frm_add_order_row(){
987
+ var form_id=jQuery('#form_id').val();
988
+ if(jQuery('#frm_order_options .frm_logic_rows div:last').length>0)
989
+ var l=jQuery('#frm_order_options .frm_logic_rows div:last').attr('id').replace('frm_order_field_', '');
990
+ else
991
+ var l=0;
992
+ jQuery.ajax({type:"POST",url:ajaxurl,
993
+ data:"action=frm_add_order_row&form_id="+form_id+"&order_key="+(parseInt(l)+1),
994
+ success:function(html){jQuery('#frm_order_options .frm_logic_rows').append(html).prev('.frm_add_order_row').hide();}
995
+ });
996
+ }
997
 
998
  function frm_insert_where_options(value,where_key){
999
  jQuery.ajax({
1005
 
1006
  function frm_add_where_row(){
1007
  var form_id=jQuery('#form_id').val();
1008
+ if(jQuery('#frm_where_options .frm_logic_rows div:last').length)
1009
+ var l=jQuery('#frm_where_options .frm_logic_rows div:last').attr('id').replace('frm_where_field_', '');
1010
  else
1011
  var l=0;
1012
  jQuery.ajax({type:"POST",url:ajaxurl,
1013
  data:"action=frm_add_where_row&form_id="+form_id+"&where_key="+(parseInt(l)+1),
1014
+ success:function(html){jQuery('#frm_where_options .frm_logic_rows').append(html).prev('.frm_add_where_row').hide();}
1015
  });
1016
  }
1017
 
1051
  }
1052
  };
1053
 
1054
+ function frmCheckDupPost(){
1055
  jQuery('select.frm_single_post_field').removeAttr('style');
1056
+ var t=jQuery(this);
1057
  var v=t.val();
1058
  if(v=='' || v=='checkbox') return false;
1059
  jQuery('select.frm_single_post_field').each(function(){
1065
  });
1066
  }
1067
 
1068
+ //function to append a new theme stylesheet with the new style changes
1069
+ function frmUpdateUICSS(locStr){
1070
+ if(locStr == -1){
1071
+ jQuery('link.ui-theme').remove();
1072
  return false;
1073
+ }
1074
+ var cssLink = jQuery('<link href="'+locStr+'" type="text/css" rel="Stylesheet" class="ui-theme" />');
1075
+ jQuery('head').append(cssLink);
1076
+
1077
+ if( jQuery('link.ui-theme').size() > 3)
1078
+ jQuery('link.ui-theme:first').remove();
1079
  }
1080
 
 
1081
  function frmUpdateCSS(locStr){
1082
+ jQuery("head").append('<link href="'+ ajaxurl +'?action=frmpro_css&amp;'+ locStr +'" type="text/css" rel="Stylesheet" class="frm-custom-theme"/>');
1083
+ if( jQuery("link.frm-custom-theme").size() > 3){
1084
+ jQuery("link.frm-custom-theme:first").remove();
1085
+ }
1086
+ }
1087
+
1088
+ function frmImportCsv(formID){
1089
+ if(typeof(__FRMURLVARS)!='undefined') var urlVars=__FRMURLVARS;
1090
+ else urlVars='';
1091
 
1092
+ jQuery('#frm_import_link').replaceWith('<img src="'+ frm_js.images_url +'/wpspin_light.gif" alt="'+ frm_js.loading +'" />');
1093
+ jQuery.ajax({
1094
+ type:"POST",url:ajaxurl,
1095
+ data:"action=frm_import_csv&frm_skip_cookie=1"+urlVars,
1096
+ success:function(count){
1097
+ var max = jQuery('.frm_progress_bar').attr('aria-valuemax');
1098
+ var imported = max - count;
1099
+ var percent = (imported / max) * 100;
1100
+ jQuery('.frm_progress_bar').css('width', percent +'%').attr('aria-valuenow', imported);
1101
+
1102
+ if(parseInt(count) > 0){
1103
+ jQuery('.frm_csv_remaining').html(count);
1104
+ frmImportCsv(formID);
1105
+ }else{
1106
+ jQuery('#frm_import_message').html(frm_admin_js.import_complete);
1107
+ setTimeout(function(){
1108
+ location.href = '?page=formidable-entries&frm_action=list&form='+formID+'&import-message=1';
1109
+ }, 2000);
1110
+ }
1111
+ }
1112
+ });
1113
+ }
1114
+
1115
+ function frmSetPosClass(value){
1116
+ if(value=='none') value='top';
1117
+ jQuery('.frm_pos_container').removeClass('frm_top_container frm_left_container frm_right_container').addClass('frm_'+value+'_container');
1118
  }
1119
 
1120
  function frmGetMetaValue(id, meta_name){
1123
  return new_meta;
1124
  }
1125
 
1126
+ function frm_install_now(){
1127
+ jQuery('#frm_install_link').replaceWith('<img src="'+ frm_js.images_url +'/wpspin_light.gif" alt="'+ frm_js.loading +'" />');
1128
+ jQuery.ajax({
1129
+ type:"POST",url:ajaxurl,data:"action=frm_install",
1130
+ success:function(msg){jQuery("#frm_install_message").fadeOut("slow");}
1131
+ });
1132
+ }
1133
+
1134
+ function frm_uninstall_now(){
1135
+ if(confirm(frm_admin_js.confirm_uninstall)){
1136
+ jQuery('.frm_uninstall a').replaceWith('<img src="'+ frm_js.images_url +'/wpspin_light.gif" alt="'+ frm_js.loading +'" />');
1137
+ jQuery.ajax({
1138
+ type:"POST",url:ajaxurl,data:"action=frm_uninstall",
1139
+ success:function(msg){jQuery(".frm_uninstall").fadeOut("slow");}
1140
+ });
1141
+ }
1142
+ }
1143
+
1144
+ function frm_show_auth_form(){
1145
+ jQuery('#pro_cred_form,.frm_pro_installed').toggle();
1146
+ }
1147
+
1148
+ function frm_deauthorize(){
1149
+ if(!confirm(frm_admin_js.deauthorize))
1150
+ return;
1151
+ jQuery('#frm_deauthorize_link').replaceWith('<img src="'+ frm_js.images_url +'/wpspin_light.gif" alt="'+ frm_js.loading +'" id="frm_deauthorize_link" />');
1152
+ jQuery.ajax({type:'POST',url:ajaxurl,data:'action=frm_deauthorize',
1153
+ success:function(msg){jQuery('#frm_deauthorize_link').fadeOut('slow'); frm_show_auth_form();}
1154
+ });
1155
+ }
1156
+
1157
+ function frmValidateExport(e){
1158
+ e.preventDefault();
1159
+
1160
+ if (!jQuery('select[name="frm_export_forms[]"]').val()){
1161
+ jQuery('select[name="frm_export_forms[]"]').closest('.form-field').addClass('frm_blank_field');
1162
+ var s = 'stop';
1163
+ }
1164
+
1165
+ if (!jQuery('input[name="type[]"]:checked').val()){
1166
+ jQuery('input[name="type[]"]').closest('.form-field').addClass('frm_blank_field');
1167
+ var s = 'stop';
1168
+ }
1169
+
1170
+ if ( s == 'stop' ){
1171
+ return false;
1172
+ }
1173
+
1174
+ e.stopPropagation();
1175
+ this.submit();
1176
+ }
1177
+
1178
+ function frmRemoveExportError(){
1179
+ var t = jQuery(this).closest('.frm_blank_field');
1180
+ if (typeof(t) == 'undefined'){
1181
+ return;
1182
+ }
1183
+
1184
+ if(jQuery(this).attr('name') == 'type[]' && jQuery('input[name="type[]"]:checked').val()){
1185
+ t.removeClass('frm_blank_field');
1186
+ }else if(jQuery(this).attr('name') == 'frm_export_forms[]' && jQuery(this).val()){
1187
+ t.removeClass('frm_blank_field');
1188
+ }
1189
+
1190
+ }
1191
+
1192
+ function frmAddRemoveExportError(){
1193
+ if (jQuery('select[name="frm_export_forms[]"]').val()){
1194
+ jQuery('select[name="frm_export_forms[]"]').closest('.form-field').removeClass('frm_blank_field');
1195
+ }else{
1196
+ jQuery('select[name="frm_export_forms[]"]').closest('.form-field').addClass('frm_blank_field');
1197
+ var s = 'stop';
1198
+ }
1199
+
1200
+ if (jQuery('input[name="type[]"]:checked').val()){
1201
+ jQuery('input[name="type[]"]').closest('.form-field').removeClass('frm_blank_field');
1202
+ }else{
1203
+ jQuery('input[name="type[]"]').closest('.form-field').addClass('frm_blank_field');
1204
+ var s = 'stop';
1205
+ }
1206
+
1207
+ return s;
1208
+ }
1209
+
1210
+ function frmCheckCSVExtension(){
1211
+ var f=jQuery(this).val();
1212
+ var re = /\..+$/;
1213
+ if (f.match(re) == '.csv')
1214
+ jQuery('.show_csv').fadeIn();
1215
+ else
1216
+ jQuery('.show_csv').fadeOut();
1217
+ }
1218
+
1219
+ function frmCheckExportTypes(){
1220
+ var s=jQuery(this).find(':selected').data('support');
1221
+ jQuery('input[name="type[]"]').each(function(){
1222
+ if(s.indexOf(jQuery(this).val()) >= 0){
1223
+ jQuery(this).prop('disabled', false);
1224
+ }else{
1225
+ jQuery(this).prop('disabled', true);
1226
+ }
1227
+ });
1228
+
1229
+ if(jQuery(this).val() == 'csv'){
1230
+ jQuery('select[name="csv_format"], .frm_help.frm_hidden').show();
1231
+ }else{
1232
+ jQuery('select[name="csv_format"], .frm_help.frm_hidden').hide();
1233
+ }
1234
+
1235
+ var c=jQuery(this).find(':selected').data('count');
1236
+ if(c == 'single'){
1237
+ jQuery('select[name="frm_export_forms[]"]').prop('multiple', false).next('.howto').hide();
1238
  }else{
1239
+ jQuery('select[name="frm_export_forms[]"]').prop('multiple', true).next('.howto').show();
1240
  }
1241
  }
js/jquery/jquery-ui-themepicker.js CHANGED
@@ -30,7 +30,7 @@ var hash = {
30
  refreshToHash: function(locStr) {
31
  if(locStr) var newHash = true;
32
  locStr = locStr || hash.currHash();
33
- updateCSS(locStr);
34
  // remember which groups are open
35
  openGroups = [];
36
  jQuery('div.theme-group-content').each(function(i){
@@ -108,9 +108,9 @@ jQuery.fn.applyFarbtastic = function() {
108
 
109
  //function called after a change event in the form
110
  function formChange(){
111
- var locStr = jQuery('form[name="frm_settings_form"]').serialize();
112
  locStr = hash.clean(locStr);
113
- updateCSS(locStr);
114
  hash.updateHash(locStr, true);
115
  };
116
 
@@ -130,7 +130,7 @@ jQuery(document).ready(function($){
130
  }).blur(function(){ $(this).removeClass('focus');});
131
 
132
  // change event in form
133
- $('form[name="frm_settings_form"]').bind('change', function() {
134
  formChange();
135
  return false;
136
  });
30
  refreshToHash: function(locStr) {
31
  if(locStr) var newHash = true;
32
  locStr = locStr || hash.currHash();
33
+ frmUpdateCSS(locStr);
34
  // remember which groups are open
35
  openGroups = [];
36
  jQuery('div.theme-group-content').each(function(i){
108
 
109
  //function called after a change event in the form
110
  function formChange(){
111
+ var locStr = jQuery('.frm_settings_page input, .frm_settings_page select, .frm_settings_page textarea').serialize();
112
  locStr = hash.clean(locStr);
113
+ frmUpdateCSS(locStr);
114
  hash.updateHash(locStr, true);
115
  };
116
 
130
  }).blur(function(){ $(this).removeClass('focus');});
131
 
132
  // change event in form
133
+ $('form[name="frm_settings_form"] .styling_settings').bind('change', function() {
134
  formChange();
135
  return false;
136
  });
js/jquery/jquery.editinplace.js CHANGED
@@ -52,7 +52,7 @@ $.fn.editInPlace = function(options) {
52
  /// Required Options: Either url or callback, so the editor knows what to do with the edited values.
53
  $.fn.editInPlace.defaults = {
54
  url: "", // string: POST URL to send edited content
55
- bg_over: "#ffffde", // string: background color of hover of unactivated editor
56
  bg_out: "transparent", // string: background color on restore from hover
57
  hover_class: "", // string: class added to root element during hover. Will override bg_over and bg_out
58
  show_buttons: ((navigator.appName=='Microsoft Internet Explorer') ? true : false), // boolean: will show the buttons: cancel or save; will automatically cancel out the onBlur functionality
52
  /// Required Options: Either url or callback, so the editor knows what to do with the edited values.
53
  $.fn.editInPlace.defaults = {
54
  url: "", // string: POST URL to send edited content
55
+ bg_over: "#fffbcc", // string: background color of hover of unactivated editor
56
  bg_out: "transparent", // string: background color on restore from hover
57
  hover_class: "", // string: class added to root element during hover. Will override bg_over and bg_out
58
  show_buttons: ((navigator.appName=='Microsoft Internet Explorer') ? true : false), // boolean: will show the buttons: cancel or save; will automatically cancel out the onBlur functionality
js/jquery/jquery.editinplace.packed.js CHANGED
@@ -1,6 +1,6 @@
1
  (function(c){function k(a,b){this.settings=a;this.dom=b;this.originalValue=null;this.shouldDelayReinit=this.didInsertDefaultText=!1}function l(a){""!==a&&((new Image).src=a)}function f(a){return a.replace(/^\s+/,"").replace(/\s+$/,"")}function g(a){return void 0===a||null===a||0===a.length?!1:!0}c.fn.editInPlace=function(a){jQuery.browser={};jQuery.browser.mozilla=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase());jQuery.browser.webkit=/webkit/.test(navigator.userAgent.toLowerCase());
2
  jQuery.browser.opera=/opera/.test(navigator.userAgent.toLowerCase());jQuery.browser.msie=/msie/.test(navigator.userAgent.toLowerCase());jQuery.browser.safari=-1<navigator.userAgent.indexOf("Safari");var b=c.extend({},c.fn.editInPlace.defaults,a);"textarea"==b.type&&(b.use_html=!0);if(!b.url&&!b.callback)throw Error("Need to set either url: or callback: option for the inline editor to work.");l(b.saving_image);return this.each(function(){var a=c(this);a.data("editInPlace")||(a.data("editInPlace",!0),
3
- (new k(b,a)).init())})};c.fn.editInPlace.defaults={url:"",bg_over:"#ffffde",bg_out:"transparent",hover_class:"",show_buttons:"Microsoft Internet Explorer"==navigator.appName?!0:!1,save_button:'<button class="inplace_save">Save</button>',cancel_button:'<button class="inplace_cancel">Cancel</button>',params:"",field_type:"text",default_text:"(Click here to add text)",use_html:1,textarea_rows:10,textarea_cols:25,select_text:"Choose new value",select_options:"",text_size:null,saving_text:void 0,saving_image:"",
4
  saving_animation_color:"transparent",value_required:!1,element_id:"element_id",update_value:"update_value",original_value:"original_value",original_html:"original_html",save_if_nothing_changed:!1,on_blur:"save",cancel:"",callback:null,callback_skip_dom_reset:!1,success:null,error:null,error_sink:function(a,b){},preinit:null,postclose:null,delegate:null};c.extend(k.prototype,{init:function(){this.setDefaultTextIfNeccessary();this.connectOpeningEvents()},reinit:function(){this.shouldDelayReinit||(this.triggerCallback(this.settings.postclose,
5
  this.dom),this.triggerDelegateCall("didCloseEditInPlace"),this.markEditorAsInactive(),this.connectOpeningEvents())},setDefaultTextIfNeccessary:function(){""===this.dom.html()&&(this.dom.html(this.settings.default_text),this.didInsertDefaultText=!0)},connectOpeningEvents:function(){var a=this;this.dom.bind("mouseenter.editInPlace",function(){a.addHoverEffect()}).bind("mouseleave.editInPlace",function(){a.removeHoverEffect()}).bind("click.editInPlace",function(b){a.openEditor(b)})},disconnectOpeningEvents:function(){this.dom.unbind(".editInPlace")},
6
  addHoverEffect:function(){this.settings.hover_class?this.dom.addClass(this.settings.hover_class):this.dom.css("background-color",this.settings.bg_over)},removeHoverEffect:function(){this.settings.hover_class?this.dom.removeClass(this.settings.hover_class):this.dom.css("background-color",this.settings.bg_out)},openEditor:function(a){this.shouldOpenEditor(a)&&(this.disconnectOpeningEvents(),this.removeHoverEffect(),this.removeInsertedDefaultTextIfNeccessary(),this.saveOriginalValue(),this.markEditorAsActive(),
1
  (function(c){function k(a,b){this.settings=a;this.dom=b;this.originalValue=null;this.shouldDelayReinit=this.didInsertDefaultText=!1}function l(a){""!==a&&((new Image).src=a)}function f(a){return a.replace(/^\s+/,"").replace(/\s+$/,"")}function g(a){return void 0===a||null===a||0===a.length?!1:!0}c.fn.editInPlace=function(a){jQuery.browser={};jQuery.browser.mozilla=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase());jQuery.browser.webkit=/webkit/.test(navigator.userAgent.toLowerCase());
2
  jQuery.browser.opera=/opera/.test(navigator.userAgent.toLowerCase());jQuery.browser.msie=/msie/.test(navigator.userAgent.toLowerCase());jQuery.browser.safari=-1<navigator.userAgent.indexOf("Safari");var b=c.extend({},c.fn.editInPlace.defaults,a);"textarea"==b.type&&(b.use_html=!0);if(!b.url&&!b.callback)throw Error("Need to set either url: or callback: option for the inline editor to work.");l(b.saving_image);return this.each(function(){var a=c(this);a.data("editInPlace")||(a.data("editInPlace",!0),
3
+ (new k(b,a)).init())})};c.fn.editInPlace.defaults={url:"",bg_over:"#fffbcc",bg_out:"transparent",hover_class:"",show_buttons:"Microsoft Internet Explorer"==navigator.appName?!0:!1,save_button:'<button class="inplace_save">Save</button>',cancel_button:'<button class="inplace_cancel">Cancel</button>',params:"",field_type:"text",default_text:"(Click here to add text)",use_html:1,textarea_rows:10,textarea_cols:25,select_text:"Choose new value",select_options:"",text_size:null,saving_text:void 0,saving_image:"",
4
  saving_animation_color:"transparent",value_required:!1,element_id:"element_id",update_value:"update_value",original_value:"original_value",original_html:"original_html",save_if_nothing_changed:!1,on_blur:"save",cancel:"",callback:null,callback_skip_dom_reset:!1,success:null,error:null,error_sink:function(a,b){},preinit:null,postclose:null,delegate:null};c.extend(k.prototype,{init:function(){this.setDefaultTextIfNeccessary();this.connectOpeningEvents()},reinit:function(){this.shouldDelayReinit||(this.triggerCallback(this.settings.postclose,
5
  this.dom),this.triggerDelegateCall("didCloseEditInPlace"),this.markEditorAsInactive(),this.connectOpeningEvents())},setDefaultTextIfNeccessary:function(){""===this.dom.html()&&(this.dom.html(this.settings.default_text),this.didInsertDefaultText=!0)},connectOpeningEvents:function(){var a=this;this.dom.bind("mouseenter.editInPlace",function(){a.addHoverEffect()}).bind("mouseleave.editInPlace",function(){a.removeHoverEffect()}).bind("click.editInPlace",function(b){a.openEditor(b)})},disconnectOpeningEvents:function(){this.dom.unbind(".editInPlace")},
6
  addHoverEffect:function(){this.settings.hover_class?this.dom.addClass(this.settings.hover_class):this.dom.css("background-color",this.settings.bg_over)},removeHoverEffect:function(){this.settings.hover_class?this.dom.removeClass(this.settings.hover_class):this.dom.css("background-color",this.settings.bg_out)},openEditor:function(a){this.shouldOpenEditor(a)&&(this.disconnectOpeningEvents(),this.removeHoverEffect(),this.removeInsertedDefaultTextIfNeccessary(),this.saveOriginalValue(),this.markEditorAsActive(),
js/jquery/jquery.placeholder.js ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! http://mths.be/placeholder v2.0.7 by @mathias */
2
+ ;(function(window, document, $){
3
+
4
+ var isInputSupported = 'placeholder' in document.createElement('input');
5
+ var isTextareaSupported = 'placeholder' in document.createElement('textarea');
6
+ var prototype = $.fn;
7
+ var valHooks = $.valHooks;
8
+ var propHooks = $.propHooks;
9
+ var hooks;
10
+ var placeholder;
11
+
12
+ if (isInputSupported && isTextareaSupported) {
13
+
14
+ placeholder = prototype.placeholder = function() {
15
+ return this;
16
+ };
17
+
18
+ placeholder.input = placeholder.textarea = true;
19
+
20
+ } else {
21
+
22
+ placeholder = prototype.placeholder = function() {
23
+ var $this = this;
24
+ $this
25
+ .filter((isInputSupported ? 'textarea' : ':input') + '[placeholder]')
26
+ .not('.placeholder')
27
+ .bind({
28
+ 'focus.placeholder': clearPlaceholder,
29
+ 'blur.placeholder': setPlaceholder
30
+ })
31
+ .data('placeholder-enabled', true)
32
+ .trigger('blur.placeholder');
33
+ return $this;
34
+ };
35
+
36
+ placeholder.input = isInputSupported;
37
+ placeholder.textarea = isTextareaSupported;
38
+
39
+ hooks = {
40
+ 'get': function(element) {
41
+ var $element = $(element);
42
+
43
+ var $passwordInput = $element.data('placeholder-password');
44
+ if ($passwordInput) {
45
+ return $passwordInput[0].value;
46
+ }
47
+
48
+ return $element.data('placeholder-enabled') && $element.hasClass('placeholder') ? '' : element.value;
49
+ },
50
+ 'set': function(element, value) {
51
+ var $element = $(element);
52
+
53
+ var $passwordInput = $element.data('placeholder-password');
54
+ if ($passwordInput) {
55
+ return $passwordInput[0].value = value;
56
+ }
57
+
58
+ if (!$element.data('placeholder-enabled')) {
59
+ return element.value = value;
60
+ }
61
+ if (value == '') {
62
+ element.value = value;
63
+ // Issue #56: Setting the placeholder causes problems if the element continues to have focus.
64
+ if (element != safeActiveElement()) {
65
+ // We can't use `triggerHandler` here because of dummy text/password inputs :(
66
+ setPlaceholder.call(element);
67
+ }
68
+ } else if ($element.hasClass('placeholder')) {
69
+ clearPlaceholder.call(element, true, value) || (element.value = value);
70
+ } else {
71
+ element.value = value;
72
+ }
73
+ // `set` can not return `undefined`; see http://jsapi.info/jquery/1.7.1/val#L2363
74
+ return $element;
75
+ }
76
+ };
77
+
78
+ if (!isInputSupported) {
79
+ valHooks.input = hooks;
80
+ propHooks.value = hooks;
81
+ }
82
+ if (!isTextareaSupported) {
83
+ valHooks.textarea = hooks;
84
+ propHooks.value = hooks;
85
+ }
86
+
87
+ $(function() {
88
+ // Look for forms
89
+ $(document).delegate('form', 'submit.placeholder', function() {
90
+ // Clear the placeholder values so they don't get submitted
91
+ var $inputs = $('.placeholder', this).each(clearPlaceholder);
92
+ setTimeout(function() {
93
+ $inputs.each(setPlaceholder);
94
+ }, 10);
95
+ });
96
+ });
97
+
98
+ // Clear placeholder values upon page reload
99
+ $(window).bind('beforeunload.placeholder', function() {
100
+ $('.placeholder').each(function() {
101
+ this.value = '';
102
+ });
103
+ });
104
+
105
+ }
106
+
107
+ function args(elem) {
108
+ // Return an object of element attributes
109
+ var newAttrs = {};
110
+ var rinlinejQuery = /^jQuery\d+$/;
111
+ $.each(elem.attributes, function(i, attr) {
112
+ if (attr.specified && !rinlinejQuery.test(attr.name)) {
113
+ newAttrs[attr.name] = attr.value;
114
+ }
115
+ });
116
+ return newAttrs;
117
+ }
118
+
119
+ function clearPlaceholder(event, value) {
120
+ var input = this;
121
+ var $input = $(input);
122
+ if (input.value == $input.attr('placeholder') && $input.hasClass('placeholder')) {
123
+ if ($input.data('placeholder-password')) {
124
+ $input = $input.hide().next().show().attr('id', $input.removeAttr('id').data('placeholder-id'));
125
+ // If `clearPlaceholder` was called from `$.valHooks.input.set`
126
+ if (event === true) {
127
+ return $input[0].value = value;
128
+ }
129
+ $input.focus();
130
+ } else {
131
+ input.value = '';
132
+ $input.removeClass('placeholder');
133
+ input == safeActiveElement() && input.select();
134
+ }
135
+ }
136
+ }
137
+
138
+ function setPlaceholder() {
139
+ var $replacement;
140
+ var input = this;
141
+ var $input = $(input);
142
+ var id = this.id;
143
+ if (input.value == '') {
144
+ if (input.type == 'password') {
145
+ if (!$input.data('placeholder-textinput')) {
146
+ try {
147
+ $replacement = $input.clone().attr({ 'type': 'text' });
148
+ } catch(e) {
149
+ $replacement = $('<input>').attr($.extend(args(this), { 'type': 'text' }));
150
+ }
151
+ $replacement
152
+ .removeAttr('name')
153
+ .data({
154
+ 'placeholder-password': $input,
155
+ 'placeholder-id': id
156
+ })
157
+ .bind('focus.placeholder', clearPlaceholder);
158
+ $input
159
+ .data({
160
+ 'placeholder-textinput': $replacement,
161
+ 'placeholder-id': id
162
+ })
163
+ .before($replacement);
164
+ }
165
+ $input = $input.removeAttr('id').hide().prev().attr('id', id).show();
166
+ // Note: `$input[0] != input` now!
167
+ }
168
+ $input.addClass('placeholder');
169
+ $input[0].value = $input.attr('placeholder');
170
+ } else {
171
+ $input.removeClass('placeholder');
172
+ }
173
+ }
174
+
175
+ function safeActiveElement() {
176
+ // Avoid IE9 `document.activeElement` of death
177
+ // https://github.com/mathiasbynens/jquery-placeholder/pull/99
178
+ try {
179
+ return document.activeElement;
180
+ } catch (err) {}
181
+ }
182
+
183
+ }(this, document, jQuery));
languages/formidable-de_DE.mo CHANGED
Binary file
languages/formidable-de_DE.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Formidable v1.07.0rc2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
- "PO-Revision-Date: 2013-07-26 18:02:04+0000\n"
7
  "Last-Translator: Peter Schönmann\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -20,89 +20,72 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
- #: classes/controllers/FrmFormsController.php:25
24
- #: classes/controllers/FrmFormsController.php:404
 
25
  #: classes/views/frm-forms/list.php:3
26
- #: pro/classes/views/shared/import_form.php:45
27
  #@ formidable
28
  msgid "Forms"
29
  msgstr "Formulare"
30
 
31
- #: classes/controllers/FrmFormsController.php:26
32
- #: classes/controllers/FrmFormsController.php:399
 
 
33
  #@ formidable
34
  msgid "Templates"
35
  msgstr "Vorlagen"
36
 
37
- #: classes/controllers/FrmAppController.php:75
38
- #: classes/helpers/FrmListHelper.php:128
39
- #: classes/views/frm-forms/list.php:140
40
- #: classes/views/frm-forms/settings.php:43
41
- #: classes/views/shared/form-nav.php:6
42
  #@ formidable
43
  msgid "Settings"
44
  msgstr "Einstellungen"
45
 
46
- #: classes/controllers/FrmAppController.php:89
47
- #: classes/controllers/FrmAppController.php:127
48
- #, php-format
49
- #@ formidable
50
- msgid "Your Formidable Pro installation isn't quite complete yet.<br/>%1$sAutomatically Upgrade to Enable Formidable Pro%2$s"
51
- msgstr "Ihre Formidable Pro Installation ist noch nicht fertig.<br/>%1$sAutomatisch auf Formidable Pro upgraden%2$s"
52
-
53
- #: classes/controllers/FrmAppController.php:110
54
  #@ formidable
55
  msgid "Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this or"
56
  msgstr "Ihre Formidable Datenbank muss aktualisiert werden.<br/>Bitte deaktivieren und reaktivieren Sie das Plugin, oder"
57
 
58
- #: classes/controllers/FrmAppController.php:110
59
  #@ formidable
60
  msgid "Update Now"
61
  msgstr "Jetzt aktualisieren"
62
 
63
- #: classes/controllers/FrmAppController.php:113
64
- #: classes/controllers/FrmUpdatesController.php:171
65
- #: classes/models/FrmUpdate.php:156
66
- #: classes/views/frm-forms/footer.php:16
67
- #: pro/classes/controllers/FrmProEntriesController.php:910
68
- #: pro/classes/helpers/FrmProEntriesHelper.php:79
69
- #: pro/classes/views/frmpro-entries/import.php:14
70
- #: pro/classes/views/settings/formroller.php:572
71
- #@ formidable
72
- msgid "Loading..."
73
- msgstr "Lädt..."
74
-
75
- #: classes/controllers/FrmAppController.php:303
76
  #@ formidable
77
  msgid "Type-in or bookmark"
78
  msgstr "Eingeben oder Lesezeichen (Bookmark) setzen"
79
 
80
- #: classes/controllers/FrmEntriesController.php:21
81
- #: classes/controllers/FrmFormsController.php:401
82
- #: classes/views/frm-entries/list.php:3
83
- #: classes/views/frm-forms/list.php:76
84
- #: classes/views/frm-forms/list.php:144
85
- #: classes/views/frm-forms/list.php:196
86
  #: classes/views/shared/form-nav.php:5
87
- #: pro/classes/controllers/FrmProEntriesController.php:1047
 
 
88
  #: pro/classes/views/frmpro-entries/list.php:3
89
- #: pro/classes/views/frmpro-fields/dynamic-options.php:20
90
- #: pro/classes/views/shared/import_form.php:46
91
  #@ formidable
92
  msgid "Entries"
93
  msgstr "Einträge"
94
 
95
- #: classes/controllers/FrmEntriesController.php:52
 
 
96
  #@ formidable
97
  msgid "Please select a valid form"
98
  msgstr "Bitte ein gültiges Formular wählen"
99
 
100
- #: classes/controllers/FrmFieldsController.php:266
101
  #@ formidable
102
  msgid "Countries"
103
  msgstr "L&auml;nder"
104
 
105
- #: classes/controllers/FrmFieldsController.php:269
106
  #@ formidable
107
  msgid "U.S. States"
108
  msgstr "U.S.-Bundesstaaten"
@@ -112,2007 +95,1781 @@ msgstr "U.S.-Bundesstaaten"
112
  msgid "U.S. State Abbreviations"
113
  msgstr "U.S. Staatenkürzel"
114
 
115
- #: classes/controllers/FrmFieldsController.php:272
116
  #@ formidable
117
  msgid "Age"
118
  msgstr "Alter"
119
 
120
- #: classes/controllers/FrmFieldsController.php:273
121
  #@ formidable
122
  msgid "Under 18"
123
  msgstr "Unter 18"
124
 
125
- #: classes/controllers/FrmFieldsController.php:273
126
  #@ formidable
127
  msgid "18-24"
128
  msgstr "18-24"
129
 
130
- #: classes/controllers/FrmFieldsController.php:273
131
  #@ formidable
132
  msgid "25-34"
133
  msgstr "25-34"
134
 
135
- #: classes/controllers/FrmFieldsController.php:274
136
  #@ formidable
137
  msgid "35-44"
138
  msgstr "35-44"
139
 
140
- #: classes/controllers/FrmFieldsController.php:274
141
  #@ formidable
142
  msgid "45-54"
143
  msgstr "45-54"
144
 
145
- #: classes/controllers/FrmFieldsController.php:274
146
  #@ formidable
147
  msgid "55-64"
148
  msgstr "55-64"
149
 
150
- #: classes/controllers/FrmFieldsController.php:275
151
  #@ formidable
152
  msgid "65 or Above"
153
  msgstr "65 oder &Auml;lter"
154
 
155
- #: classes/controllers/FrmFieldsController.php:275
156
  #@ formidable
157
  msgid "Prefer Not to Answer"
158
  msgstr "Bevorzuge keine Antwort abzugeben"
159
 
160
- #: classes/controllers/FrmFieldsController.php:278
161
  #@ formidable
162
  msgid "Satisfaction"
163
  msgstr "Zufriedenheit"
164
 
165
- #: classes/controllers/FrmFieldsController.php:279
166
  #@ formidable
167
  msgid "Very Satisfied"
168
  msgstr "Sehr zufrieden"
169
 
170
- #: classes/controllers/FrmFieldsController.php:279
171
  #@ formidable
172
  msgid "Satisfied"
173
  msgstr "Zufrieden"
174
 
175
- #: classes/controllers/FrmFieldsController.php:279
176
  #: classes/controllers/FrmFieldsController.php:284
177
  #: classes/controllers/FrmFieldsController.php:289
 
178
  #@ formidable
179
  msgid "Neutral"
180
  msgstr "Neutral"
181
 
182
- #: classes/controllers/FrmFieldsController.php:280
183
  #@ formidable
184
  msgid "Unsatisfied"
185
  msgstr "Unzufrieden"
186
 
187
- #: classes/controllers/FrmFieldsController.php:280
188
  #@ formidable
189
  msgid "Very Unsatisfied"
190
  msgstr "Sehr unzufrieden"
191
 
192
- #: classes/controllers/FrmFieldsController.php:280
193
  #: classes/controllers/FrmFieldsController.php:285
194
  #: classes/controllers/FrmFieldsController.php:290
195
- #: pro/classes/controllers/FrmProDisplaysController.php:261
 
196
  #@ formidable
197
  msgid "N/A"
198
  msgstr "Nicht verfügbar"
199
 
200
- #: classes/controllers/FrmFieldsController.php:283
201
  #@ formidable
202
  msgid "Importance"
203
  msgstr "Bedeutung"
204
 
205
- #: classes/controllers/FrmFieldsController.php:284
206
  #@ formidable
207
  msgid "Very Important"
208
  msgstr "Sehr wichtig"
209
 
210
- #: classes/controllers/FrmFieldsController.php:284
211
  #@ formidable
212
  msgid "Important"
213
  msgstr "Wichtig"
214
 
215
- #: classes/controllers/FrmFieldsController.php:285
216
  #@ formidable
217
  msgid "Somewhat Important"
218
  msgstr "Irgendwie wichtig"
219
 
220
- #: classes/controllers/FrmFieldsController.php:285
221
  #@ formidable
222
  msgid "Not at all Important"
223
  msgstr "Überhaupt nicht wichtig"
224
 
225
- #: classes/controllers/FrmFieldsController.php:288
226
  #@ formidable
227
  msgid "Agreement"
228
  msgstr "Zustimmung"
229
 
230
- #: classes/controllers/FrmFieldsController.php:289
231
  #@ formidable
232
  msgid "Strongly Agree"
233
  msgstr "Stimme komplett zu"
234
 
235
- #: classes/controllers/FrmFieldsController.php:289
236
  #@ formidable
237
  msgid "Agree"
238
  msgstr "Stimme zu"
239
 
240
- #: classes/controllers/FrmFieldsController.php:290
241
  #@ formidable
242
  msgid "Disagree"
243
  msgstr "Stimme nicht zu"
244
 
245
- #: classes/controllers/FrmFieldsController.php:290
246
  #@ formidable
247
  msgid "Strongly Disagree"
248
  msgstr "Stimme überhaupt nicht zu"
249
 
250
- #: classes/controllers/FrmFormsController.php:42
251
- #: classes/views/frm-forms/new-selection.php:3
252
- #: classes/views/frm-forms/new.php:3
253
- #@ formidable
254
- msgid "Add New Form"
255
- msgstr "Neues Formular hinzufügen"
256
-
257
- #: classes/controllers/FrmFormsController.php:131
258
  #@ formidable
259
  msgid "Settings Successfully Updated"
260
  msgstr "Einstellungen wurden erfolgreich aktualisiert"
261
 
262
- #: classes/controllers/FrmFormsController.php:173
263
- #: classes/controllers/FrmFormsController.php:456
264
  #@ formidable
265
  msgid "Form was Successfully Updated"
266
  msgstr "Das Formular wurde erfolgreich upgedatet."
267
 
268
- #: classes/controllers/FrmFormsController.php:183
269
  #@ formidable
270
  msgid "Form template was Successfully Created"
271
  msgstr "Eine Formular Vorlage wurde erfolgreich erstellt."
272
 
273
- #: classes/controllers/FrmFormsController.php:183
274
  #@ formidable
275
  msgid "Form was Successfully Copied"
276
  msgstr "Das Formular wurde erfolgreich kopiert."
277
 
278
- #: classes/controllers/FrmFormsController.php:187
279
  #@ formidable
280
  msgid "There was a problem creating new template."
281
  msgstr "Es gibt beim Erstellen der neuen Vorlage ein Problem."
282
 
283
- #: classes/controllers/FrmFormsController.php:235
284
  #@ formidable
285
  msgid "Form was Successfully Deleted"
286
  msgstr "Das Formular wurde erfolgreich gelöscht."
287
 
288
- #: classes/controllers/FrmFormsController.php:257
289
- #: classes/controllers/FrmFormsController.php:264
290
  #@ formidable
291
  msgid "Add Formidable Form"
292
  msgstr "Ein Formidable Formular hinzufügen"
293
 
294
- #: classes/controllers/FrmFormsController.php:394
295
  #: classes/views/frm-forms/default-templates.php:7
296
  #: classes/views/frm-forms/default-templates.php:41
297
- #: classes/views/frm-forms/list.php:41
298
- #: classes/views/frm-forms/list.php:60
299
- #: classes/views/frm-forms/list.php:189
300
- #: classes/views/frm-forms/list.php:193
301
- #: classes/views/frm-forms/notification.php:5
302
- #: classes/views/frm-forms/notification.php:54
303
- #: classes/views/frm-forms/notification.php:55
304
- #: pro/classes/controllers/FrmProDisplaysController.php:205
305
- #@ formidable
306
  msgid "Name"
307
  msgstr "Name"
308
 
309
- #: classes/controllers/FrmFormsController.php:395
310
  #: classes/views/frm-forms/default-templates.php:8
311
  #: classes/views/frm-forms/default-templates.php:42
312
- #: classes/views/frm-forms/list.php:47
313
- #: classes/views/frm-forms/list.php:66
314
- #: classes/views/frm-forms/list.php:190
315
- #: classes/views/frm-forms/list.php:194
316
- #: pro/classes/controllers/FrmProDisplaysController.php:206
317
- #: pro/classes/controllers/FrmProDisplaysController.php:356
318
- #@ formidable
319
  msgid "Description"
320
  msgstr "Beschreibung"
321
 
322
- #: classes/controllers/FrmFormsController.php:396
323
- #: classes/views/frm-forms/add_field_links.php:27
324
- #: classes/views/frm-forms/list.php:72
325
- #: classes/views/frm-forms/list.php:195
326
- #: pro/classes/controllers/FrmProDisplaysController.php:213
327
- #: pro/classes/helpers/FrmProFieldsHelper.php:1536
328
- #: pro/classes/helpers/FrmProFieldsHelper.php:1550
329
- #: pro/classes/views/displays/mb_form_disp_type.php:47
330
- #: pro/classes/views/displays/mb_form_disp_type.php:57
331
  #@ formidable
332
  msgid "Key"
333
  msgstr "Schlüssel"
334
 
335
- #: classes/controllers/FrmFormsController.php:402
336
- #: classes/views/frm-forms/list.php:77
337
- #: classes/views/frm-forms/list.php:197
338
  #@ formidable
339
  msgid "Direct Link"
340
  msgstr "Direkter Link"
341
 
342
- #: classes/controllers/FrmFormsController.php:403
343
- #: classes/views/frm-forms/list.php:78
344
- #: classes/views/frm-forms/list.php:198
345
  #: pro/classes/views/displays/submitbox_actions.php:2
346
  #@ formidable
347
  msgid "Shortcodes"
348
  msgstr "Shortcodes"
349
 
350
- #: classes/controllers/FrmFormsController.php:407
351
- #: classes/helpers/FrmFieldsHelper.php:29
352
- #: pro/classes/controllers/FrmProDisplaysController.php:212
353
  #@ formidable
354
  msgid "Date"
355
  msgstr "Datum"
356
 
357
- #: classes/controllers/FrmFormsController.php:458
358
  #@ formidable
359
  msgid "Template was Successfully Updated"
360
  msgstr "Vorlage wurde Erfolgreich Aktualisiert"
361
 
362
- #: classes/controllers/FrmFormsController.php:461
363
- #: classes/controllers/FrmFormsController.php:478
364
  #@ formidable
365
  msgid "That template cannot be edited"
366
  msgstr "Diese Vorlage ist nicht editierbar"
367
 
368
- #: classes/controllers/FrmSettingsController.php:38
 
369
  #@ formidable
370
  msgid "Settings Saved"
371
  msgstr "Einstellungen gespeichert"
372
 
373
- #: classes/controllers/FrmStatisticsController.php:13
374
- #: classes/views/frm-statistics/list_displays.php:3
375
- #: pro/classes/controllers/FrmProDisplaysController.php:44
376
- #: pro/classes/controllers/FrmProDisplaysController.php:58
377
- #: pro/classes/controllers/FrmProDisplaysController.php:60
378
- #: pro/classes/controllers/FrmProDisplaysController.php:72
379
- #: pro/classes/views/shared/import_form.php:47
380
- #@ formidable
381
- msgid "Custom Displays"
382
- msgstr "Individual-Anzeigen"
383
-
384
- #: classes/controllers/FrmStatisticsController.php:15
385
- #: classes/helpers/FrmListHelper.php:132
386
- #: classes/views/frm-forms/list.php:145
387
- #: classes/views/shared/form-nav.php:3
388
  #: pro/classes/controllers/FrmProStatisticsController.php:12
 
389
  #@ formidable
390
  msgid "Reports"
391
  msgstr "Berichte"
392
 
393
- #: classes/helpers/FrmAppHelper.php:93
394
  #@ formidable
395
  msgid "View Forms and Templates"
396
  msgstr "Formulare und Vorlagen ansehen"
397
 
398
- #: classes/helpers/FrmAppHelper.php:94
399
  #@ formidable
400
  msgid "Add/Edit Forms and Templates"
401
  msgstr "Hinzufügen/Editieren von Formularen und Vorlagen"
402
 
403
- #: classes/helpers/FrmAppHelper.php:95
404
  #@ formidable
405
  msgid "Delete Forms and Templates"
406
  msgstr "Formulare und Vorlagen löschen"
407
 
408
- #: classes/helpers/FrmAppHelper.php:96
409
  #@ formidable
410
  msgid "Access this Settings Page"
411
  msgstr "Einstellungen öffnen"
412
 
413
- #: classes/helpers/FrmAppHelper.php:99
414
  #@ formidable
415
  msgid "View Entries from Admin Area"
416
  msgstr "Einträge vom Adminbereich aus einsehen"
417
 
418
- #: classes/helpers/FrmAppHelper.php:100
419
  #@ formidable
420
  msgid "Add Entries from Admin Area"
421
  msgstr "Hinzufügen von Einträgen aus dem Adminbereich"
422
 
423
- #: classes/helpers/FrmAppHelper.php:101
424
  #@ formidable
425
  msgid "Edit Entries from Admin Area"
426
  msgstr "Einträge vom Adminbereich aus editieren"
427
 
428
- #: classes/helpers/FrmAppHelper.php:102
429
  #@ formidable
430
  msgid "Delete Entries from Admin Area"
431
  msgstr "Einträge vom Adminbereich aus löschen"
432
 
433
- #: classes/helpers/FrmAppHelper.php:103
434
  #@ formidable
435
  msgid "View Reports"
436
  msgstr "Berichte einsehen"
437
 
438
- #: classes/helpers/FrmAppHelper.php:104
439
- #@ formidable
440
- msgid "Add/Edit Custom Displays"
441
- msgstr "Hinzufügen/ Editieren von Individual-Anzeigen"
442
-
443
- #: classes/helpers/FrmAppHelper.php:312
444
- #: pro/classes/helpers/FrmProFieldsHelper.php:760
445
- #: pro/classes/models/FrmProEntryMeta.php:253
446
  #@ formidable
447
  msgid "is invalid"
448
  msgstr "ist ungültig"
449
 
450
- #: classes/helpers/FrmAppHelper.php:436
451
  #@ formidable
452
  msgid "Afghanistan"
453
  msgstr "Afghanistan"
454
 
455
- #: classes/helpers/FrmAppHelper.php:436
456
  #@ formidable
457
  msgid "Albania"
458
  msgstr "Albanien"
459
 
460
- #: classes/helpers/FrmAppHelper.php:436
461
  #@ formidable
462
  msgid "Algeria"
463
  msgstr "Algerien"
464
 
465
- #: classes/helpers/FrmAppHelper.php:437
466
  #@ formidable
467
  msgid "American Samoa"
468
  msgstr "Amerikanisch-Samoa"
469
 
470
- #: classes/helpers/FrmAppHelper.php:437
471
  #@ formidable
472
  msgid "Andorra"
473
  msgstr "Andorra"
474
 
475
- #: classes/helpers/FrmAppHelper.php:437
476
  #@ formidable
477
  msgid "Angola"
478
  msgstr "Angola"
479
 
480
- #: classes/helpers/FrmAppHelper.php:438
481
  #@ formidable
482
  msgid "Anguilla"
483
  msgstr "Anguilla"
484
 
485
- #: classes/helpers/FrmAppHelper.php:438
486
  #@ formidable
487
  msgid "Antarctica"
488
  msgstr "Antarktis"
489
 
490
- #: classes/helpers/FrmAppHelper.php:438
491
  #@ formidable
492
  msgid "Antigua and Barbuda"
493
  msgstr "Antigua und Barbuda"
494
 
495
- #: classes/helpers/FrmAppHelper.php:439
496
  #@ formidable
497
  msgid "Argentina"
498
  msgstr "Argentinien"
499
 
500
- #: classes/helpers/FrmAppHelper.php:439
501
  #@ formidable
502
  msgid "Armenia"
503
  msgstr "Armenien"
504
 
505
- #: classes/helpers/FrmAppHelper.php:439
506
  #@ formidable
507
  msgid "Aruba"
508
  msgstr "Aruba"
509
 
510
- #: classes/helpers/FrmAppHelper.php:440
511
  #@ formidable
512
  msgid "Australia"
513
  msgstr "Australien"
514
 
515
- #: classes/helpers/FrmAppHelper.php:440
516
  #@ formidable
517
  msgid "Austria"
518
  msgstr "&Ouml;sterreich"
519
 
520
- #: classes/helpers/FrmAppHelper.php:440
521
  #@ formidable
522
  msgid "Azerbaijan"
523
  msgstr "Aserbaidschan"
524
 
525
- #: classes/helpers/FrmAppHelper.php:441
526
  #@ formidable
527
  msgid "Bahamas"
528
  msgstr "Bahamas"
529
 
530
- #: classes/helpers/FrmAppHelper.php:441
531
  #@ formidable
532
  msgid "Bahrain"
533
  msgstr "Bahrain"
534
 
535
- #: classes/helpers/FrmAppHelper.php:441
536
  #@ formidable
537
  msgid "Bangladesh"
538
  msgstr "Bangladesh"
539
 
540
- #: classes/helpers/FrmAppHelper.php:442
541
  #@ formidable
542
  msgid "Barbados"
543
  msgstr "Barbados"
544
 
545
- #: classes/helpers/FrmAppHelper.php:442
546
  #@ formidable
547
  msgid "Belarus"
548
  msgstr "Wei&szlig;russland"
549
 
550
- #: classes/helpers/FrmAppHelper.php:442
551
  #@ formidable
552
  msgid "Belgium"
553
  msgstr "Belgien"
554
 
555
- #: classes/helpers/FrmAppHelper.php:443
556
  #@ formidable
557
  msgid "Belize"
558
  msgstr "Belize"
559
 
560
- #: classes/helpers/FrmAppHelper.php:443
561
  #@ formidable
562
  msgid "Benin"
563
  msgstr "Benin"
564
 
565
- #: classes/helpers/FrmAppHelper.php:443
566
  #@ formidable
567
  msgid "Bermuda"
568
  msgstr "Bermuda"
569
 
570
- #: classes/helpers/FrmAppHelper.php:444
571
  #@ formidable
572
  msgid "Bhutan"
573
  msgstr "Bhutan"
574
 
575
- #: classes/helpers/FrmAppHelper.php:444
576
  #@ formidable
577
  msgid "Bolivia"
578
  msgstr "Bolivien"
579
 
580
- #: classes/helpers/FrmAppHelper.php:444
581
  #@ formidable
582
  msgid "Bosnia and Herzegovina"
583
  msgstr "Bosnien und Herzegowina"
584
 
585
- #: classes/helpers/FrmAppHelper.php:445
586
  #@ formidable
587
  msgid "Botswana"
588
  msgstr "Botswana"
589
 
590
- #: classes/helpers/FrmAppHelper.php:445
591
  #@ formidable
592
  msgid "Brazil"
593
  msgstr "Brasilien"
594
 
595
- #: classes/helpers/FrmAppHelper.php:445
596
  #@ formidable
597
  msgid "Brunei"
598
  msgstr "Brunei"
599
 
600
- #: classes/helpers/FrmAppHelper.php:446
601
  #@ formidable
602
  msgid "Bulgaria"
603
  msgstr "Bulgarien"
604
 
605
- #: classes/helpers/FrmAppHelper.php:446
606
  #@ formidable
607
  msgid "Burkina Faso"
608
  msgstr "Burkina Faso"
609
 
610
- #: classes/helpers/FrmAppHelper.php:446
611
  #@ formidable
612
  msgid "Burundi"
613
  msgstr "Burundi"
614
 
615
- #: classes/helpers/FrmAppHelper.php:447
616
  #@ formidable
617
  msgid "Cambodia"
618
  msgstr "Kambodscha"
619
 
620
- #: classes/helpers/FrmAppHelper.php:447
621
  #@ formidable
622
  msgid "Cameroon"
623
  msgstr "Kamerun"
624
 
625
- #: classes/helpers/FrmAppHelper.php:447
626
  #@ formidable
627
  msgid "Canada"
628
  msgstr "Kanada"
629
 
630
- #: classes/helpers/FrmAppHelper.php:448
631
  #@ formidable
632
  msgid "Cape Verde"
633
  msgstr "Kapverdische Inseln"
634
 
635
- #: classes/helpers/FrmAppHelper.php:448
636
  #@ formidable
637
  msgid "Cayman Islands"
638
  msgstr "Cayman Inseln"
639
 
640
- #: classes/helpers/FrmAppHelper.php:448
641
  #@ formidable
642
  msgid "Central African Republic"
643
  msgstr "Zentralafrikanische Republik"
644
 
645
- #: classes/helpers/FrmAppHelper.php:449
646
  #@ formidable
647
  msgid "Chad"
648
  msgstr "Tschad"
649
 
650
- #: classes/helpers/FrmAppHelper.php:449
651
  #@ formidable
652
  msgid "Chile"
653
  msgstr "Chile"
654
 
655
- #: classes/helpers/FrmAppHelper.php:449
656
  #@ formidable
657
  msgid "China"
658
  msgstr "China"
659
 
660
- #: classes/helpers/FrmAppHelper.php:450
661
  #@ formidable
662
  msgid "Colombia"
663
  msgstr "Kolumbien"
664
 
665
- #: classes/helpers/FrmAppHelper.php:450
666
  #@ formidable
667
  msgid "Comoros"
668
  msgstr "Komoren"
669
 
670
- #: classes/helpers/FrmAppHelper.php:450
671
  #@ formidable
672
  msgid "Congo"
673
  msgstr "Kongo"
674
 
675
- #: classes/helpers/FrmAppHelper.php:451
676
  #@ formidable
677
  msgid "Costa Rica"
678
  msgstr "Costa Rica"
679
 
680
- #: classes/helpers/FrmAppHelper.php:451
681
  #@ formidable
682
  msgid "C&ocirc;te d'Ivoire"
683
  msgstr "C&ocirc;te d'Ivoire"
684
 
685
- #: classes/helpers/FrmAppHelper.php:451
686
  #@ formidable
687
  msgid "Croatia"
688
  msgstr "Kroatien"
689
 
690
- #: classes/helpers/FrmAppHelper.php:452
691
  #@ formidable
692
  msgid "Cuba"
693
  msgstr "Kuba"
694
 
695
- #: classes/helpers/FrmAppHelper.php:452
696
  #@ formidable
697
  msgid "Cyprus"
698
  msgstr "Zypern"
699
 
700
- #: classes/helpers/FrmAppHelper.php:452
701
  #@ formidable
702
  msgid "Czech Republic"
703
  msgstr "Tschechische Republik"
704
 
705
- #: classes/helpers/FrmAppHelper.php:453
706
  #@ formidable
707
  msgid "Denmark"
708
  msgstr "D&auml;nemark"
709
 
710
- #: classes/helpers/FrmAppHelper.php:453
711
  #@ formidable
712
  msgid "Djibouti"
713
  msgstr "Djibouti"
714
 
715
- #: classes/helpers/FrmAppHelper.php:453
716
  #@ formidable
717
  msgid "Dominica"
718
  msgstr "Dominica"
719
 
720
- #: classes/helpers/FrmAppHelper.php:454
721
  #@ formidable
722
  msgid "Dominican Republic"
723
  msgstr "Dominikanische Republik"
724
 
725
- #: classes/helpers/FrmAppHelper.php:454
726
  #@ formidable
727
  msgid "East Timor"
728
  msgstr "Osttimor"
729
 
730
- #: classes/helpers/FrmAppHelper.php:454
731
  #@ formidable
732
  msgid "Ecuador"
733
  msgstr "Ecuador"
734
 
735
- #: classes/helpers/FrmAppHelper.php:455
736
  #@ formidable
737
  msgid "Egypt"
738
  msgstr "&Auml;gypten"
739
 
740
- #: classes/helpers/FrmAppHelper.php:455
741
  #@ formidable
742
  msgid "El Salvador"
743
  msgstr "El Salvador"
744
 
745
- #: classes/helpers/FrmAppHelper.php:455
746
  #@ formidable
747
  msgid "Equatorial Guinea"
748
  msgstr "Äquatorialguinea"
749
 
750
- #: classes/helpers/FrmAppHelper.php:456
751
  #@ formidable
752
  msgid "Eritrea"
753
  msgstr "Eritrea"
754
 
755
- #: classes/helpers/FrmAppHelper.php:456
756
  #@ formidable
757
  msgid "Estonia"
758
  msgstr "Estland"
759
 
760
- #: classes/helpers/FrmAppHelper.php:456
761
  #@ formidable
762
  msgid "Ethiopia"
763
  msgstr "Äthiopien"
764
 
765
- #: classes/helpers/FrmAppHelper.php:457
766
  #@ formidable
767
  msgid "Fiji"
768
  msgstr "Fiji"
769
 
770
- #: classes/helpers/FrmAppHelper.php:457
771
  #@ formidable
772
  msgid "Finland"
773
  msgstr "Finnland"
774
 
775
- #: classes/helpers/FrmAppHelper.php:457
776
  #@ formidable
777
  msgid "France"
778
  msgstr "Frankreich"
779
 
780
- #: classes/helpers/FrmAppHelper.php:458
781
  #@ formidable
782
  msgid "French Guiana"
783
  msgstr "Französisch-Guayana"
784
 
785
- #: classes/helpers/FrmAppHelper.php:458
786
  #@ formidable
787
  msgid "French Polynesia"
788
  msgstr "Französisch-Polynesien"
789
 
790
- #: classes/helpers/FrmAppHelper.php:458
791
  #@ formidable
792
  msgid "Gabon"
793
  msgstr "Gabun"
794
 
795
- #: classes/helpers/FrmAppHelper.php:459
796
  #@ formidable
797
  msgid "Gambia"
798
  msgstr "Gambia"
799
 
800
- #: classes/helpers/FrmAppHelper.php:459
801
  #@ formidable
802
  msgid "Georgia"
803
  msgstr "Georgien"
804
 
805
- #: classes/helpers/FrmAppHelper.php:459
806
  #@ formidable
807
  msgid "Germany"
808
  msgstr "Deutschland"
809
 
810
- #: classes/helpers/FrmAppHelper.php:460
811
  #@ formidable
812
  msgid "Ghana"
813
  msgstr "Ghana"
814
 
815
- #: classes/helpers/FrmAppHelper.php:460
816
  #@ formidable
817
  msgid "Gibraltar"
818
  msgstr "Gibraltar"
819
 
820
- #: classes/helpers/FrmAppHelper.php:460
821
  #@ formidable
822
  msgid "Greece"
823
  msgstr "Griechenland"
824
 
825
- #: classes/helpers/FrmAppHelper.php:461
826
  #@ formidable
827
  msgid "Greenland"
828
  msgstr "Grünland"
829
 
830
- #: classes/helpers/FrmAppHelper.php:461
831
  #@ formidable
832
  msgid "Grenada"
833
  msgstr "Grenada"
834
 
835
- #: classes/helpers/FrmAppHelper.php:461
836
  #@ formidable
837
  msgid "Guam"
838
  msgstr "Guam"
839
 
840
- #: classes/helpers/FrmAppHelper.php:462
841
  #@ formidable
842
  msgid "Guatemala"
843
  msgstr "Guatemala"
844
 
845
- #: classes/helpers/FrmAppHelper.php:462
846
  #@ formidable
847
  msgid "Guinea"
848
  msgstr "Guinea"
849
 
850
- #: classes/helpers/FrmAppHelper.php:462
851
  #@ formidable
852
  msgid "Guinea-Bissau"
853
  msgstr "Guinea-Bissau"
854
 
855
- #: classes/helpers/FrmAppHelper.php:463
856
  #@ formidable
857
  msgid "Guyana"
858
  msgstr "Guyana"
859
 
860
- #: classes/helpers/FrmAppHelper.php:463
861
  #@ formidable
862
  msgid "Haiti"
863
  msgstr "Haiti"
864
 
865
- #: classes/helpers/FrmAppHelper.php:463
866
  #@ formidable
867
  msgid "Honduras"
868
  msgstr "Honduras"
869
 
870
- #: classes/helpers/FrmAppHelper.php:464
871
  #@ formidable
872
  msgid "Hong Kong"
873
  msgstr "Hong Kong"
874
 
875
- #: classes/helpers/FrmAppHelper.php:464
876
  #@ formidable
877
  msgid "Hungary"
878
  msgstr "Ungarn"
879
 
880
- #: classes/helpers/FrmAppHelper.php:464
881
  #@ formidable
882
  msgid "Iceland"
883
  msgstr "Island"
884
 
885
- #: classes/helpers/FrmAppHelper.php:465
886
  #@ formidable
887
  msgid "India"
888
  msgstr "Indien"
889
 
890
- #: classes/helpers/FrmAppHelper.php:465
891
  #@ formidable
892
  msgid "Indonesia"
893
  msgstr "Indonesien"
894
 
895
- #: classes/helpers/FrmAppHelper.php:465
896
  #@ formidable
897
  msgid "Iran"
898
  msgstr "Iran"
899
 
900
- #: classes/helpers/FrmAppHelper.php:466
901
  #@ formidable
902
  msgid "Iraq"
903
  msgstr "Irak"
904
 
905
- #: classes/helpers/FrmAppHelper.php:466
906
  #@ formidable
907
  msgid "Ireland"
908
  msgstr "Irland"
909
 
910
- #: classes/helpers/FrmAppHelper.php:466
911
  #@ formidable
912
  msgid "Israel"
913
  msgstr "Israel"
914
 
915
- #: classes/helpers/FrmAppHelper.php:467
916
  #@ formidable
917
  msgid "Italy"
918
  msgstr "Italien"
919
 
920
- #: classes/helpers/FrmAppHelper.php:467
921
  #@ formidable
922
  msgid "Jamaica"
923
  msgstr "Jamaika"
924
 
925
- #: classes/helpers/FrmAppHelper.php:467
926
  #@ formidable
927
  msgid "Japan"
928
  msgstr "Japan"
929
 
930
- #: classes/helpers/FrmAppHelper.php:468
931
  #@ formidable
932
  msgid "Jordan"
933
  msgstr "Jordanien"
934
 
935
- #: classes/helpers/FrmAppHelper.php:468
936
  #@ formidable
937
  msgid "Kazakhstan"
938
  msgstr "Kasachstan"
939
 
940
- #: classes/helpers/FrmAppHelper.php:468
941
  #@ formidable
942
  msgid "Kenya"
943
  msgstr "Kenia"
944
 
945
- #: classes/helpers/FrmAppHelper.php:469
946
  #@ formidable
947
  msgid "Kiribati"
948
  msgstr "Kiribati"
949
 
950
- #: classes/helpers/FrmAppHelper.php:469
951
  #@ formidable
952
  msgid "North Korea"
953
  msgstr "Nordkorea"
954
 
955
- #: classes/helpers/FrmAppHelper.php:469
956
  #@ formidable
957
  msgid "South Korea"
958
  msgstr "Südkorea"
959
 
960
- #: classes/helpers/FrmAppHelper.php:470
961
  #@ formidable
962
  msgid "Kuwait"
963
  msgstr "Kuwait"
964
 
965
- #: classes/helpers/FrmAppHelper.php:470
966
  #@ formidable
967
  msgid "Kyrgyzstan"
968
  msgstr "Kirgistan"
969
 
970
- #: classes/helpers/FrmAppHelper.php:470
971
  #@ formidable
972
  msgid "Laos"
973
  msgstr "Laos"
974
 
975
- #: classes/helpers/FrmAppHelper.php:471
976
  #@ formidable
977
  msgid "Latvia"
978
  msgstr "Lettland"
979
 
980
- #: classes/helpers/FrmAppHelper.php:471
981
  #@ formidable
982
  msgid "Lebanon"
983
  msgstr "Libanon"
984
 
985
- #: classes/helpers/FrmAppHelper.php:471
986
  #@ formidable
987
  msgid "Lesotho"
988
  msgstr "Lesotho"
989
 
990
- #: classes/helpers/FrmAppHelper.php:472
991
  #@ formidable
992
  msgid "Liberia"
993
  msgstr "Liberia"
994
 
995
- #: classes/helpers/FrmAppHelper.php:472
996
  #@ formidable
997
  msgid "Libya"
998
  msgstr "Libyen"
999
 
1000
- #: classes/helpers/FrmAppHelper.php:472
1001
  #@ formidable
1002
  msgid "Liechtenstein"
1003
  msgstr "Liechtenstein"
1004
 
1005
- #: classes/helpers/FrmAppHelper.php:473
1006
  #@ formidable
1007
  msgid "Lithuania"
1008
  msgstr "Litauen"
1009
 
1010
- #: classes/helpers/FrmAppHelper.php:473
1011
  #@ formidable
1012
  msgid "Luxembourg"
1013
  msgstr "Luxemburg"
1014
 
1015
- #: classes/helpers/FrmAppHelper.php:473
1016
  #@ formidable
1017
  msgid "Macedonia"
1018
  msgstr "Mazedonien"
1019
 
1020
- #: classes/helpers/FrmAppHelper.php:474
1021
  #@ formidable
1022
  msgid "Madagascar"
1023
  msgstr "Madagascar"
1024
 
1025
- #: classes/helpers/FrmAppHelper.php:474
1026
  #@ formidable
1027
  msgid "Malawi"
1028
  msgstr "Malawi"
1029
 
1030
- #: classes/helpers/FrmAppHelper.php:474
1031
  #@ formidable
1032
  msgid "Malaysia"
1033
  msgstr "Malaysia"
1034
 
1035
- #: classes/helpers/FrmAppHelper.php:475
1036
  #@ formidable
1037
  msgid "Maldives"
1038
  msgstr "Malediven"
1039
 
1040
- #: classes/helpers/FrmAppHelper.php:475
1041
  #@ formidable
1042
  msgid "Mali"
1043
  msgstr "Mali"
1044
 
1045
- #: classes/helpers/FrmAppHelper.php:475
1046
  #@ formidable
1047
  msgid "Malta"
1048
  msgstr "Malta"
1049
 
1050
- #: classes/helpers/FrmAppHelper.php:476
1051
  #@ formidable
1052
  msgid "Marshall Islands"
1053
  msgstr "Marshall Inseln"
1054
 
1055
- #: classes/helpers/FrmAppHelper.php:476
1056
  #@ formidable
1057
  msgid "Mauritania"
1058
  msgstr "Mauretanien"
1059
 
1060
- #: classes/helpers/FrmAppHelper.php:476
1061
  #@ formidable
1062
  msgid "Mauritius"
1063
  msgstr "Mauritius"
1064
 
1065
- #: classes/helpers/FrmAppHelper.php:477
1066
  #@ formidable
1067
  msgid "Mexico"
1068
  msgstr "Mexiko"
1069
 
1070
- #: classes/helpers/FrmAppHelper.php:477
1071
  #@ formidable
1072
  msgid "Micronesia"
1073
  msgstr "Mikronesien"
1074
 
1075
- #: classes/helpers/FrmAppHelper.php:477
1076
  #@ formidable
1077
  msgid "Moldova"
1078
  msgstr "Moldawien"
1079
 
1080
- #: classes/helpers/FrmAppHelper.php:478
1081
  #@ formidable
1082
  msgid "Monaco"
1083
  msgstr "Monaco"
1084
 
1085
- #: classes/helpers/FrmAppHelper.php:478
1086
  #@ formidable
1087
  msgid "Mongolia"
1088
  msgstr "Mongolei"
1089
 
1090
- #: classes/helpers/FrmAppHelper.php:478
1091
  #@ formidable
1092
  msgid "Montenegro"
1093
  msgstr "Montenegro"
1094
 
1095
- #: classes/helpers/FrmAppHelper.php:479
1096
  #@ formidable
1097
  msgid "Montserrat"
1098
  msgstr "Montserrat"
1099
 
1100
- #: classes/helpers/FrmAppHelper.php:479
1101
  #@ formidable
1102
  msgid "Morocco"
1103
  msgstr "Marokko"
1104
 
1105
- #: classes/helpers/FrmAppHelper.php:479
1106
  #@ formidable
1107
  msgid "Mozambique"
1108
  msgstr "Mosambik "
1109
 
1110
- #: classes/helpers/FrmAppHelper.php:480
1111
  #@ formidable
1112
  msgid "Myanmar"
1113
  msgstr "Myanmar"
1114
 
1115
- #: classes/helpers/FrmAppHelper.php:480
1116
  #@ formidable
1117
  msgid "Namibia"
1118
  msgstr "Namibia"
1119
 
1120
- #: classes/helpers/FrmAppHelper.php:480
1121
  #@ formidable
1122
  msgid "Nauru"
1123
  msgstr "Nauru"
1124
 
1125
- #: classes/helpers/FrmAppHelper.php:481
1126
  #@ formidable
1127
  msgid "Nepal"
1128
  msgstr "Nepal"
1129
 
1130
- #: classes/helpers/FrmAppHelper.php:481
1131
  #@ formidable
1132
  msgid "Netherlands"
1133
  msgstr "Niederlande"
1134
 
1135
- #: classes/helpers/FrmAppHelper.php:481
1136
  #@ formidable
1137
  msgid "New Zealand"
1138
  msgstr "Neuseeland"
1139
 
1140
- #: classes/helpers/FrmAppHelper.php:482
1141
  #@ formidable
1142
  msgid "Nicaragua"
1143
  msgstr "Nikaragua"
1144
 
1145
- #: classes/helpers/FrmAppHelper.php:482
1146
  #@ formidable
1147
  msgid "Niger"
1148
  msgstr "Niger"
1149
 
1150
- #: classes/helpers/FrmAppHelper.php:482
1151
  #@ formidable
1152
  msgid "Nigeria"
1153
  msgstr "Nigeria"
1154
 
1155
- #: classes/helpers/FrmAppHelper.php:483
1156
  #@ formidable
1157
  msgid "Norway"
1158
  msgstr "Norwegen"
1159
 
1160
- #: classes/helpers/FrmAppHelper.php:483
1161
  #@ formidable
1162
  msgid "Northern Mariana Islands"
1163
  msgstr "Nördliche Marianen Inseln"
1164
 
1165
- #: classes/helpers/FrmAppHelper.php:483
1166
  #@ formidable
1167
  msgid "Oman"
1168
  msgstr "Oman"
1169
 
1170
- #: classes/helpers/FrmAppHelper.php:484
1171
  #@ formidable
1172
  msgid "Pakistan"
1173
  msgstr "Pakistan"
1174
 
1175
- #: classes/helpers/FrmAppHelper.php:484
1176
  #@ formidable
1177
  msgid "Palau"
1178
  msgstr "Palau"
1179
 
1180
- #: classes/helpers/FrmAppHelper.php:484
1181
  #@ formidable
1182
  msgid "Palestine"
1183
  msgstr "Palästina"
1184
 
1185
- #: classes/helpers/FrmAppHelper.php:485
1186
  #@ formidable
1187
  msgid "Panama"
1188
  msgstr "Panama"
1189
 
1190
- #: classes/helpers/FrmAppHelper.php:485
1191
  #@ formidable
1192
  msgid "Papua New Guinea"
1193
  msgstr "Papua-Neuguinea"
1194
 
1195
- #: classes/helpers/FrmAppHelper.php:485
1196
  #@ formidable
1197
  msgid "Paraguay"
1198
  msgstr "Paraguay"
1199
 
1200
- #: classes/helpers/FrmAppHelper.php:486
1201
  #@ formidable
1202
  msgid "Peru"
1203
  msgstr "Peru"
1204
 
1205
- #: classes/helpers/FrmAppHelper.php:486
1206
  #@ formidable
1207
  msgid "Philippines"
1208
  msgstr "Philippinen"
1209
 
1210
- #: classes/helpers/FrmAppHelper.php:486
1211
  #@ formidable
1212
  msgid "Poland"
1213
  msgstr "Polen"
1214
 
1215
- #: classes/helpers/FrmAppHelper.php:487
1216
  #@ formidable
1217
  msgid "Portugal"
1218
  msgstr "Portugal"
1219
 
1220
- #: classes/helpers/FrmAppHelper.php:487
1221
  #@ formidable
1222
  msgid "Puerto Rico"
1223
  msgstr "Puerto Rico"
1224
 
1225
- #: classes/helpers/FrmAppHelper.php:487
1226
  #@ formidable
1227
  msgid "Qatar"
1228
  msgstr "Katar"
1229
 
1230
- #: classes/helpers/FrmAppHelper.php:488
1231
  #@ formidable
1232
  msgid "Romania"
1233
  msgstr "Romänien"
1234
 
1235
- #: classes/helpers/FrmAppHelper.php:488
1236
  #@ formidable
1237
  msgid "Russia"
1238
  msgstr "Russland"
1239
 
1240
- #: classes/helpers/FrmAppHelper.php:488
1241
  #@ formidable
1242
  msgid "Rwanda"
1243
  msgstr "Ruanda"
1244
 
1245
- #: classes/helpers/FrmAppHelper.php:489
1246
  #@ formidable
1247
  msgid "Saint Kitts and Nevis"
1248
  msgstr "St. Kitts und Nevis"
1249
 
1250
- #: classes/helpers/FrmAppHelper.php:489
1251
  #@ formidable
1252
  msgid "Saint Lucia"
1253
  msgstr "St. Lucia"
1254
 
1255
- #: classes/helpers/FrmAppHelper.php:490
1256
  #@ formidable
1257
  msgid "Saint Vincent and the Grenadines"
1258
  msgstr "St. Vincent und die Grenadinen"
1259
 
1260
- #: classes/helpers/FrmAppHelper.php:490
1261
  #@ formidable
1262
  msgid "Samoa"
1263
  msgstr "Samoa"
1264
 
1265
- #: classes/helpers/FrmAppHelper.php:491
1266
  #@ formidable
1267
  msgid "San Marino"
1268
  msgstr "San Marino"
1269
 
1270
- #: classes/helpers/FrmAppHelper.php:491
1271
  #@ formidable
1272
  msgid "Sao Tome and Principe"
1273
  msgstr "São Tomé und Príncipe"
1274
 
1275
- #: classes/helpers/FrmAppHelper.php:491
1276
  #@ formidable
1277
  msgid "Saudi Arabia"
1278
  msgstr "Saudi Arabien"
1279
 
1280
- #: classes/helpers/FrmAppHelper.php:492
1281
  #@ formidable
1282
  msgid "Senegal"
1283
  msgstr "Senegal"
1284
 
1285
- #: classes/helpers/FrmAppHelper.php:492
1286
  #@ formidable
1287
  msgid "Serbia and Montenegro"
1288
  msgstr "Serbien und Montenegro"
1289
 
1290
- #: classes/helpers/FrmAppHelper.php:492
1291
  #@ formidable
1292
  msgid "Seychelles"
1293
  msgstr "Seychellen"
1294
 
1295
- #: classes/helpers/FrmAppHelper.php:493
1296
  #@ formidable
1297
  msgid "Sierra Leone"
1298
  msgstr "Sierra Leone"
1299
 
1300
- #: classes/helpers/FrmAppHelper.php:493
1301
  #@ formidable
1302
  msgid "Singapore"
1303
  msgstr "Singapur"
1304
 
1305
- #: classes/helpers/FrmAppHelper.php:493
1306
  #@ formidable
1307
  msgid "Slovakia"
1308
  msgstr "Slowakei"
1309
 
1310
- #: classes/helpers/FrmAppHelper.php:494
1311
  #@ formidable
1312
  msgid "Slovenia"
1313
  msgstr "Slovenien"
1314
 
1315
- #: classes/helpers/FrmAppHelper.php:494
1316
  #@ formidable
1317
  msgid "Solomon Islands"
1318
  msgstr "Salomoninseln"
1319
 
1320
- #: classes/helpers/FrmAppHelper.php:494
1321
  #@ formidable
1322
  msgid "Somalia"
1323
  msgstr "Somalia"
1324
 
1325
- #: classes/helpers/FrmAppHelper.php:495
1326
  #@ formidable
1327
  msgid "South Africa"
1328
  msgstr "Südafrika"
1329
 
1330
- #: classes/helpers/FrmAppHelper.php:495
1331
  #@ formidable
1332
  msgid "Spain"
1333
  msgstr "Spanien"
1334
 
1335
- #: classes/helpers/FrmAppHelper.php:495
1336
  #@ formidable
1337
  msgid "Sri Lanka"
1338
  msgstr "Sri Lanka"
1339
 
1340
- #: classes/helpers/FrmAppHelper.php:496
1341
  #@ formidable
1342
  msgid "Sudan"
1343
  msgstr "Sudan"
1344
 
1345
- #: classes/helpers/FrmAppHelper.php:496
1346
  #@ formidable
1347
  msgid "Suriname"
1348
  msgstr "Surinam"
1349
 
1350
- #: classes/helpers/FrmAppHelper.php:496
1351
  #@ formidable
1352
  msgid "Swaziland"
1353
  msgstr "Swasiland"
1354
 
1355
- #: classes/helpers/FrmAppHelper.php:497
1356
  #@ formidable
1357
  msgid "Sweden"
1358
  msgstr "Sweden"
1359
 
1360
- #: classes/helpers/FrmAppHelper.php:497
1361
  #@ formidable
1362
  msgid "Switzerland"
1363
  msgstr "Schweiz"
1364
 
1365
- #: classes/helpers/FrmAppHelper.php:497
1366
  #@ formidable
1367
  msgid "Syria"
1368
  msgstr "Syrien"
1369
 
1370
- #: classes/helpers/FrmAppHelper.php:498
1371
  #@ formidable
1372
  msgid "Taiwan"
1373
  msgstr "Taiwan"
1374
 
1375
- #: classes/helpers/FrmAppHelper.php:498
1376
  #@ formidable
1377
  msgid "Tajikistan"
1378
  msgstr "Tajikistan"
1379
 
1380
- #: classes/helpers/FrmAppHelper.php:498
1381
  #@ formidable
1382
  msgid "Tanzania"
1383
  msgstr "Tansania"
1384
 
1385
- #: classes/helpers/FrmAppHelper.php:499
1386
  #@ formidable
1387
  msgid "Thailand"
1388
  msgstr "Thailand"
1389
 
1390
- #: classes/helpers/FrmAppHelper.php:499
1391
  #@ formidable
1392
  msgid "Togo"
1393
  msgstr "Togo"
1394
 
1395
- #: classes/helpers/FrmAppHelper.php:499
1396
  #@ formidable
1397
  msgid "Tonga"
1398
  msgstr "Tonga"
1399
 
1400
- #: classes/helpers/FrmAppHelper.php:500
1401
  #@ formidable
1402
  msgid "Trinidad and Tobago"
1403
  msgstr "Trinidad und Tobago"
1404
 
1405
- #: classes/helpers/FrmAppHelper.php:500
1406
  #@ formidable
1407
  msgid "Tunisia"
1408
  msgstr "Tunesien"
1409
 
1410
- #: classes/helpers/FrmAppHelper.php:500
1411
  #@ formidable
1412
  msgid "Turkey"
1413
  msgstr "Türkei"
1414
 
1415
- #: classes/helpers/FrmAppHelper.php:501
1416
  #@ formidable
1417
  msgid "Turkmenistan"
1418
  msgstr "Turkmenistan"
1419
 
1420
- #: classes/helpers/FrmAppHelper.php:501
1421
  #@ formidable
1422
  msgid "Tuvalu"
1423
  msgstr "Tuvalu"
1424
 
1425
- #: classes/helpers/FrmAppHelper.php:501
1426
  #@ formidable
1427
  msgid "Uganda"
1428
  msgstr "Uganda"
1429
 
1430
- #: classes/helpers/FrmAppHelper.php:502
1431
  #@ formidable
1432
  msgid "Ukraine"
1433
  msgstr "Ukraine"
1434
 
1435
- #: classes/helpers/FrmAppHelper.php:502
1436
  #@ formidable
1437
  msgid "United Arab Emirates"
1438
  msgstr "Vereinigte Arabische Emirate"
1439
 
1440
- #: classes/helpers/FrmAppHelper.php:502
1441
  #@ formidable
1442
  msgid "United Kingdom"
1443
  msgstr "Vereinigtes Königreich"
1444
 
1445
- #: classes/helpers/FrmAppHelper.php:503
1446
  #@ formidable
1447
  msgid "United States"
1448
  msgstr "Vereinigte Staaten "
1449
 
1450
- #: classes/helpers/FrmAppHelper.php:503
1451
  #@ formidable
1452
  msgid "Uruguay"
1453
  msgstr "Uruguay"
1454
 
1455
- #: classes/helpers/FrmAppHelper.php:503
1456
  #@ formidable
1457
  msgid "Uzbekistan"
1458
  msgstr "Usbekistan"
1459
 
1460
- #: classes/helpers/FrmAppHelper.php:504
1461
  #@ formidable
1462
  msgid "Vanuatu"
1463
  msgstr "Vanuatu"
1464
 
1465
- #: classes/helpers/FrmAppHelper.php:504
1466
  #@ formidable
1467
  msgid "Vatican City"
1468
  msgstr "Vatikanstadt"
1469
 
1470
- #: classes/helpers/FrmAppHelper.php:504
1471
  #@ formidable
1472
  msgid "Venezuela"
1473
  msgstr "Venezuela"
1474
 
1475
- #: classes/helpers/FrmAppHelper.php:505
1476
  #@ formidable
1477
  msgid "Vietnam"
1478
  msgstr "Vietnam"
1479
 
1480
- #: classes/helpers/FrmAppHelper.php:505
1481
  #@ formidable
1482
  msgid "Virgin Islands, British"
1483
  msgstr "Jungferninseln, Britisch"
1484
 
1485
- #: classes/helpers/FrmAppHelper.php:506
1486
  #@ formidable
1487
  msgid "Virgin Islands, U.S."
1488
  msgstr "Jungferninseln, Vereinigte Staaten "
1489
 
1490
- #: classes/helpers/FrmAppHelper.php:506
1491
  #@ formidable
1492
  msgid "Yemen"
1493
  msgstr "Jemen"
1494
 
1495
- #: classes/helpers/FrmAppHelper.php:506
1496
  #@ formidable
1497
  msgid "Zambia"
1498
  msgstr "Sambia"
1499
 
1500
- #: classes/helpers/FrmAppHelper.php:507
1501
  #@ formidable
1502
  msgid "Zimbabwe"
1503
  msgstr "Simbabwe"
1504
 
1505
- #: classes/helpers/FrmFieldsHelper.php:7
1506
  #@ formidable
1507
  msgid "Single Line Text"
1508
  msgstr "Einzeiliger Text"
1509
 
1510
- #: classes/helpers/FrmFieldsHelper.php:8
1511
  #@ formidable
1512
  msgid "Paragraph Text"
1513
  msgstr "Textabsatz"
1514
 
1515
- #: classes/helpers/FrmFieldsHelper.php:9
1516
  #@ formidable
1517
  msgid "Checkboxes"
1518
  msgstr "Checkboxen"
1519
 
1520
- #: classes/helpers/FrmFieldsHelper.php:10
1521
- #: pro/classes/views/settings/form.php:138
1522
  #@ formidable
1523
  msgid "Radio Buttons"
1524
  msgstr "Radio Buttons"
1525
 
1526
- #: classes/helpers/FrmFieldsHelper.php:11
1527
  #@ formidable
1528
  msgid "Dropdown"
1529
  msgstr "Dropdown"
1530
 
1531
- #: classes/helpers/FrmFieldsHelper.php:12
1532
- #: classes/views/frm-settings/form.php:108
1533
  #@ formidable
1534
  msgid "reCAPTCHA"
1535
  msgstr "reCAPTCHA"
1536
 
1537
- #: classes/helpers/FrmFieldsHelper.php:21
1538
- #: classes/views/frm-forms/notification.php:57
1539
  #@ formidable
1540
  msgid "Email Address"
1541
  msgstr "Email Adresse"
1542
 
1543
- #: classes/helpers/FrmFieldsHelper.php:22
1544
  #@ formidable
1545
  msgid "Website/URL"
1546
  msgstr "Webseite/URL"
1547
 
1548
- #: classes/helpers/FrmFieldsHelper.php:23
1549
  #@ formidable
1550
  msgid "Section Heading"
1551
  msgstr "Bereichs-Überschrift"
1552
 
1553
- #: classes/helpers/FrmFieldsHelper.php:24
1554
  #@ formidable
1555
  msgid "Page Break"
1556
  msgstr "Seitenumbruch"
1557
 
1558
- #: classes/helpers/FrmFieldsHelper.php:25
1559
- #: pro/classes/views/settings/form.php:125
1560
  #@ formidable
1561
  msgid "File Upload"
1562
  msgstr "Datei-Upload"
1563
 
1564
- #: classes/helpers/FrmFieldsHelper.php:26
1565
  #@ formidable
1566
  msgid "Rich Text"
1567
  msgstr "Rich Text"
1568
 
1569
- #: classes/helpers/FrmFieldsHelper.php:27
1570
  #@ formidable
1571
  msgid "Number"
1572
  msgstr "Zahl"
1573
 
1574
- #: classes/helpers/FrmFieldsHelper.php:28
1575
  #@ formidable
1576
  msgid "Phone Number"
1577
  msgstr "Telefonnummer"
1578
 
1579
- #: classes/helpers/FrmFieldsHelper.php:30
1580
  #@ formidable
1581
  msgid "Time"
1582
  msgstr "Uhrzeit"
1583
 
1584
- #: classes/helpers/FrmFieldsHelper.php:31
1585
  #@ formidable
1586
  msgid "Image URL"
1587
  msgstr "Bild URL"
1588
 
1589
- #: classes/helpers/FrmFieldsHelper.php:32
1590
  #@ formidable
1591
  msgid "Scale"
1592
  msgstr "Maß, Messbereich"
1593
 
1594
- #: classes/helpers/FrmFieldsHelper.php:34
1595
  #@ formidable
1596
  msgid "Data from Entries"
1597
  msgstr "Daten aus Eingaben"
1598
 
1599
- #: classes/helpers/FrmFieldsHelper.php:36
1600
  #@ formidable
1601
  msgid "Hidden Field"
1602
  msgstr "Unsichtbares Feld"
1603
 
1604
- #: classes/helpers/FrmFieldsHelper.php:38
1605
  #@ formidable
1606
  msgid "Password"
1607
  msgstr "Passwort"
1608
 
1609
- #: classes/helpers/FrmFieldsHelper.php:39
1610
  #@ formidable
1611
  msgid "HTML"
1612
  msgstr "HTML"
1613
 
1614
- #: classes/helpers/FrmFieldsHelper.php:40
1615
  #@ formidable
1616
  msgid "Tags"
1617
  msgstr "Tags"
1618
 
1619
- #: classes/helpers/FrmFieldsHelper.php:72
1620
- #: classes/helpers/FrmFieldsHelper.php:74
1621
- #: pro/classes/views/settings/form.php:139
1622
- #: pro/classes/views/settings/form.php:145
1623
  #@ formidable
1624
  msgid "Option 1"
1625
  msgstr "Option 1"
1626
 
1627
- #: classes/helpers/FrmFieldsHelper.php:72
1628
- #: pro/classes/views/settings/form.php:140
1629
- #: pro/classes/views/settings/form.php:146
1630
  #@ formidable
1631
  msgid "Option 2"
1632
  msgstr "Option 2"
1633
 
1634
- #: classes/helpers/FrmFieldsHelper.php:160
1635
  #@ formidable
1636
  msgid "Untitled"
1637
  msgstr "Unbenannt"
1638
 
1639
- #: classes/helpers/FrmFieldsHelper.php:164
1640
- #: pro/classes/helpers/FrmProFieldsHelper.php:760
1641
- #: pro/classes/models/FrmProEntryMeta.php:253
1642
  #@ formidable
1643
  msgid "This field is invalid"
1644
  msgstr "Das Feld ist ungültig"
1645
 
1646
- #: classes/helpers/FrmFieldsHelper.php:393
1647
- #@ formidable
1648
- msgid "not"
1649
- msgstr "nicht"
1650
-
1651
- #: classes/helpers/FrmFormsHelper.php:16
1652
- #: classes/helpers/FrmListHelper.php:126
1653
  #: classes/views/frm-forms/default-templates.php:24
1654
- #: classes/views/frm-forms/list.php:117
1655
  #@ formidable
1656
  msgid "Create Form from Template"
1657
  msgstr "Ein Formular aus einer Vorlage erstellen"
1658
 
1659
- #: classes/helpers/FrmFormsHelper.php:58
1660
- #@ formidable
1661
- msgid "Untitled Form"
1662
- msgstr "Unbenanntes Formular"
1663
-
1664
- #: classes/helpers/FrmListHelper.php:77
1665
  #: classes/views/frm-forms/default-templates.php:12
1666
- #: classes/views/frm-forms/list.php:87
1667
  #@ formidable
1668
  msgid "No Templates Found"
1669
  msgstr "Keine Vorlagen gefunden"
1670
 
1671
- #: classes/helpers/FrmListHelper.php:78
1672
- #: classes/views/frm-forms/list.php:88
1673
  #@ formidable
1674
  msgid "To add a new template"
1675
  msgstr "Füge eine neue Vorlage hinzu"
1676
 
1677
- #: classes/helpers/FrmListHelper.php:81
1678
  #@ formidable
1679
  msgid "Place your mouse over the name of the form you just created, and click the \"Create Template\" link."
1680
  msgstr "Platzieren Sie ihre Maus über den Namen des Formulars, welches Sie gerade erstellt haben und klicken Sie auf den \"Erstelle Vorlage\" Link."
1681
 
1682
- #: classes/helpers/FrmListHelper.php:84
1683
- #: classes/views/frm-forms/list.php:94
1684
  #@ formidable
1685
  msgid "No Forms Found"
1686
  msgstr "Keine Formulare gefunden"
1687
 
1688
- #: classes/helpers/FrmListHelper.php:85
 
1689
  #: classes/views/frm-forms/edit.php:4
1690
  #: classes/views/frm-forms/list.php:5
1691
- #: classes/views/frm-forms/list.php:95
1692
- #: classes/views/frm-forms/settings.php:4
1693
- #: classes/views/frm-forms/translate.php:4
1694
- #: pro/classes/views/frmpro-entries/edit.php:4
1695
- #: pro/classes/views/frmpro-entries/list.php:4
 
1696
  #@ formidable
1697
  msgid "Add New"
1698
  msgstr "Neu hinzufügen"
1699
 
1700
- #: classes/helpers/FrmListHelper.php:94
1701
- #: classes/helpers/FrmListHelper.php:149
1702
- #: classes/views/frm-forms/add_field_links.php:128
1703
- #: classes/views/frm-forms/list.php:122
1704
- #: classes/views/frm-forms/list.php:160
1705
- #: pro/classes/controllers/FrmProEntriesController.php:1620
1706
- #: pro/classes/controllers/FrmProEntriesController.php:1888
1707
- #: pro/classes/helpers/FrmProAppHelper.php:237
1708
- #: pro/classes/helpers/FrmProListHelper.php:142
1709
- #: pro/classes/helpers/FrmProListHelper.php:191
1710
- #: pro/classes/views/displays/sidebar.php:10
1711
- #: pro/classes/views/frmpro-entries/list.php:100
1712
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:24
1713
  #: pro/classes/views/frmpro-entries/sidebar-show.php:17
 
1714
  #@ formidable
1715
  msgid "Delete"
1716
  msgstr "Löschen"
1717
 
1718
- #: classes/helpers/FrmListHelper.php:95
1719
- #: pro/classes/helpers/FrmProAppHelper.php:238
1720
- #: pro/classes/helpers/FrmProListHelper.php:147
1721
- #@ formidable
1722
- msgid "Export to XML"
1723
- msgstr "Nach XML exportieren"
1724
-
1725
- #: classes/helpers/FrmListHelper.php:118
1726
- #: classes/views/frm-forms/edit.php:3
1727
- #: classes/views/frm-forms/list.php:110
1728
- #: classes/views/frm-forms/list.php:118
1729
- #: classes/views/frm-forms/list.php:131
1730
- #: classes/views/frm-forms/list.php:139
1731
- #: pro/classes/controllers/FrmProDisplaysController.php:61
1732
- #: pro/classes/controllers/FrmProEntriesController.php:1552
1733
- #: pro/classes/controllers/FrmProEntriesController.php:1784
1734
- #: pro/classes/helpers/FrmProAppHelper.php:192
1735
- #: pro/classes/helpers/FrmProFieldsHelper.php:1728
1736
- #: pro/classes/helpers/FrmProListHelper.php:177
1737
- #: pro/classes/views/frmpro-entries/list.php:91
1738
  #: pro/classes/views/frmpro-entries/sidebar-show.php:24
 
1739
  #@ formidable
1740
  msgid "Edit"
1741
  msgstr "Editieren"
1742
 
1743
- #: classes/helpers/FrmListHelper.php:135
1744
- #: classes/views/frm-forms/list.php:149
1745
- #@ formidable
1746
- msgid "New"
1747
- msgstr "Neu"
1748
-
1749
- #: classes/helpers/FrmListHelper.php:135
1750
- #: classes/views/frm-forms/list.php:149
1751
- #: pro/classes/controllers/FrmProDisplaysController.php:208
1752
- #: pro/classes/views/frmpro-entries/show.php:21
1753
  #@ formidable
1754
  msgid "Entry"
1755
  msgstr "Eintrag"
1756
 
1757
- #: classes/helpers/FrmListHelper.php:135
1758
- #: classes/views/frm-forms/list.php:149
1759
- #@ formidable
1760
- msgid "New Entry"
1761
- msgstr "Neuer Eintrag"
1762
-
1763
- #: classes/helpers/FrmListHelper.php:138
1764
- #: classes/views/frm-forms/default-templates.php:24
1765
- #: classes/views/frm-forms/list.php:117
1766
- #: classes/views/frm-forms/list.php:153
1767
- #: pro/classes/views/displays/mb_advanced.php:96
1768
  #@ formidable
1769
  msgid "Copy"
1770
  msgstr "Kopieren"
1771
 
1772
- #: classes/helpers/FrmListHelper.php:138
1773
- #: classes/views/frm-forms/add_field.php:21
1774
- #: classes/views/frm-forms/list.php:153
1775
- #: pro/classes/controllers/FrmProDisplaysController.php:135
1776
- #: pro/classes/helpers/FrmProListHelper.php:190
1777
- #: pro/classes/views/frmpro-entries/list.php:95
1778
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:12
1779
  #: pro/classes/views/frmpro-entries/sidebar-show.php:8
1780
  #@ formidable
1781
  msgid "Duplicate"
1782
  msgstr "Duplizieren"
1783
 
1784
- #: classes/helpers/FrmListHelper.php:140
1785
- #: classes/views/frm-forms/list.php:154
1786
- #@ formidable
1787
- msgid "Create Template"
1788
- msgstr "Vorlage erstellen"
1789
-
1790
- #: classes/helpers/FrmListHelper.php:144
1791
- #: pro/classes/controllers/FrmProFormsController.php:298
1792
- #@ formidable
1793
- msgid "Export Template"
1794
- msgstr "Vorlage exportieren"
1795
-
1796
- #: classes/helpers/FrmListHelper.php:149
1797
- #: pro/classes/helpers/FrmProListHelper.php:191
1798
  #@ formidable
1799
  msgid "Are you sure you want to delete that?"
1800
  msgstr "Sind Sie sicher, dass Sie das löschen möchten?"
1801
 
1802
- #: classes/helpers/FrmListHelper.php:218
1803
- #: classes/views/frm-forms/list.php:168
1804
- #, php-format
1805
- #@ formidable
1806
- msgid "%1$s Entry"
1807
- msgid_plural "%1$s Entries"
1808
- msgstr[0] "%1$s Eintrag"
1809
- msgstr[1] "%1$s Einträge"
1810
-
1811
- #: classes/helpers/FrmListHelper.php:225
1812
- #: classes/views/frm-forms/list.php:173
1813
- #@ formidable
1814
- msgid "View Form"
1815
- msgstr "Formular ansehen"
1816
-
1817
- #: classes/models/FrmEntry.php:321
1818
  #@ formidable
1819
  msgid "There was a problem with your submission. Please try again."
1820
  msgstr "Es gab ein Problem mit ihrer Eingabe. Bitte versuchen Sie es erneut."
1821
 
1822
- #: classes/models/FrmEntry.php:392
1823
  #@ formidable
1824
  msgid "Your entry appears to be spam!"
1825
  msgstr "Ihre Eingabe scheint Spam zu sein"
1826
 
1827
- #: classes/models/FrmNotification.php:31
1828
- #, php-format
1829
- #@ formidable
1830
- msgid "%1$s form has been submitted on %2$s."
1831
- msgstr "%1$s Formular wurde eingereicht am %2$s."
1832
-
1833
- #: classes/models/FrmNotification.php:68
1834
- #: pro/classes/controllers/FrmProEntriesController.php:2046
1835
- #: pro/classes/models/FrmProNotification.php:256
1836
- #: pro/classes/views/frmpro-entries/show.php:90
1837
  #@ formidable
1838
  msgid "User Information"
1839
  msgstr "Benutzer Informationen"
1840
 
1841
- #: classes/models/FrmNotification.php:69
1842
- #: pro/classes/controllers/FrmProEntriesController.php:2047
1843
- #: pro/classes/controllers/FrmProEntriesController.php:2051
1844
- #: pro/classes/controllers/FrmProFormsController.php:206
1845
- #: pro/classes/models/FrmProNotification.php:257
1846
- #: pro/classes/views/frmpro-entries/import.php:111
1847
- #: pro/classes/views/frmpro-entries/show.php:95
1848
- #: pro/classes/views/frmpro-forms/add_form_options.php:51
1849
  #@ formidable
1850
  msgid "IP Address"
1851
  msgstr "IP Adresse"
1852
 
1853
- #: classes/models/FrmNotification.php:70
1854
- #: pro/classes/controllers/FrmProEntriesController.php:2048
1855
- #: pro/classes/controllers/FrmProEntriesController.php:2053
1856
- #: pro/classes/models/FrmProNotification.php:258
1857
- #: pro/classes/views/frmpro-entries/show.php:100
1858
  #@ formidable
1859
  msgid "User-Agent (Browser/OS)"
1860
  msgstr "User-Agent (Browser/OS)"
1861
 
1862
- #: classes/models/FrmNotification.php:71
1863
- #: pro/classes/controllers/FrmProEntriesController.php:2049
1864
- #: pro/classes/controllers/FrmProEntriesController.php:2055
1865
- #: pro/classes/models/FrmProNotification.php:259
1866
- #: pro/classes/views/frmpro-entries/show.php:106
1867
  #@ formidable
1868
  msgid "Referrer"
1869
  msgstr "Empfehlende Seite"
1870
 
1871
- #: classes/models/FrmNotification.php:74
1872
- #: pro/classes/models/FrmProNotification.php:271
1873
- #: pro/classes/models/FrmProNotification.php:451
1874
  #, php-format
1875
  #@ formidable
1876
  msgid "%1$s Form submitted on %2$s"
1877
  msgstr "%1$s Formular eingereicht am %2$s"
1878
 
1879
- #: classes/models/FrmSettings.php:96
1880
  #@ formidable
1881
  msgid "The reCAPTCHA was not entered correctly"
1882
  msgstr "Das reCAPTCHA wurde nicht korrekt eingegeben"
1883
 
1884
- #: classes/models/FrmSettings.php:61
1885
  #@ formidable
1886
  msgid "Your responses were successfully submitted. Thank you!"
1887
  msgstr "Ihre Mitteilung wurde erfolgreich übermittelt. Vielen Dank!"
1888
 
1889
- #: classes/models/FrmSettings.php:64
1890
  #@ formidable
1891
  msgid "There was a problem with your submission. Errors are marked below."
1892
  msgstr "Es gab ein Problem mit Ihrer Eingabe. Die Fehler sind deutlich vermerkt."
1893
 
1894
- #: classes/models/FrmSettings.php:65
1895
  #@ formidable
1896
  msgid "We're sorry. It looks like you've already submitted that."
1897
  msgstr "Entschuldigung. Es scheint, als hätten Sie das bereits abgesendet."
1898
 
1899
- #: classes/models/FrmSettings.php:66
1900
- #: pro/classes/views/frmpro-entries/show.php:158
1901
- #: pro/classes/views/settings/form.php:161
1902
  #@ formidable
1903
  msgid "Submit"
1904
  msgstr "Senden"
1905
 
1906
- #: classes/models/FrmSettings.php:67
1907
  #@ formidable
1908
  msgid "You do not have permission to view this form."
1909
  msgstr "Sie haben keine Berechtigung dieses Formular zu sehen."
1910
 
1911
- #: classes/models/FrmSettings.php:68
 
1912
  #@ formidable
1913
  msgid "You do not have permission to do that"
1914
  msgstr "Sie haben keine Berechtigung das zu tun."
1915
 
1916
- #: classes/models/FrmUpdate.php:42
1917
- #@ formidable
1918
- msgid "Formidable Pro Username"
1919
- msgstr "Formidable Pro Benutzername"
1920
-
1921
- #: classes/models/FrmUpdate.php:43
1922
- #@ formidable
1923
- msgid "Formidable Pro Password"
1924
- msgstr "Formidable Pro Passwort"
1925
-
1926
- #: classes/models/FrmUpdate.php:44
1927
- #@ formidable
1928
- msgid "Your Formidable Pro Username or Password was Invalid"
1929
- msgstr "Ihr Formidable Pro Benutzername oder Passwort war Ungültig."
1930
-
1931
- #: classes/models/FrmUpdate.php:117
1932
- #, php-format
1933
- #@ formidable
1934
- msgid "Your Username & Password were accepted<br/>Now you can %1$sUpgrade Automatically!%2$s"
1935
- msgstr "Ihr Benutzernamen & Passwort wurden akzeptiert<br/>Jetzt können Sie %1$s Automatisch Upgraden!%2$s"
1936
-
1937
- #: classes/controllers/FrmUpdatesController.php:133
1938
- #: classes/models/FrmUpdate.php:120
1939
  #@ formidable
1940
  msgid "Your Pro installation is now active. Enjoy!"
1941
  msgstr "Ihre Pro Installation ist nun aktiv. Viel Spaß!"
1942
 
1943
- #: classes/controllers/FrmUpdatesController.php:139
1944
- #: classes/models/FrmUpdate.php:126
1945
  #@ formidable
1946
  msgid "ERROR"
1947
  msgstr "FEHLER"
1948
 
1949
- #: classes/models/FrmUpdate.php:140
1950
- #@ formidable
1951
- msgid "Enter new credentials"
1952
- msgstr "Neue Zugangsdaten eingeben"
1953
-
1954
- #: classes/controllers/FrmUpdatesController.php:158
1955
- #: classes/models/FrmUpdate.php:141
1956
  #@ formidable
1957
  msgid "Are you sure you want to deactivate Formidable Pro on this site?"
1958
  msgstr "Sind Sie sicher, dass Sie Formidable Pro auf dieser Website deaktivieren wollen?"
1959
 
1960
- #: classes/controllers/FrmUpdatesController.php:158
1961
- #: classes/models/FrmUpdate.php:141
1962
  #@ formidable
1963
  msgid "Deauthorize this site"
1964
  msgstr "Deauthorisiere diese Website"
1965
 
1966
- #: classes/models/FrmUpdate.php:145
1967
- #@ formidable
1968
- msgid "Edit/Update Your Profile"
1969
- msgstr "Bearbeiten/Aktualisieren Sie Ihr Profil"
1970
-
1971
- #: classes/models/FrmUpdate.php:146
1972
- #@ formidable
1973
- msgid "Use your account username and password to log in to your Account and Affiliate Control Panel"
1974
- msgstr "Benutzen Sie Ihren den Benutzernamen und das Passwort ihres Benutzerkontos, um sich bei ihrem Benutzerkonto und Affiliate Control Panel anzumelden"
1975
-
1976
- #: classes/controllers/FrmUpdatesController.php:162
1977
- #: classes/models/FrmUpdate.php:147
1978
  #@ formidable
1979
  msgid "Account"
1980
  msgstr "Benutzerkonto"
1981
 
1982
- #: classes/models/FrmUpdate.php:148
1983
- #@ formidable
1984
- msgid "Affiliate Control Panel"
1985
- msgstr "Affiliate Control Panel"
1986
-
1987
- #: classes/controllers/FrmUpdatesController.php:180
1988
- #: classes/models/FrmUpdate.php:165
1989
  #@ formidable
1990
  msgid "Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports."
1991
  msgstr "Sind Sie bereit Ihre Formulare auf das nächst höhere Level zu bringen?<br/>Formidable Pro wird Ihnen bei mehr helfen als Formulare zu stylen, Daten zu managen und Berichte zu erstellen."
1992
 
1993
- #: classes/controllers/FrmUpdatesController.php:181
1994
- #: classes/models/FrmUpdate.php:167
1995
- #@ formidable
1996
- msgid "Learn More"
1997
- msgstr "Mehr lernen"
1998
-
1999
- #: classes/controllers/FrmUpdatesController.php:209
2000
- #: classes/models/FrmUpdate.php:198
2001
- #@ formidable
2002
- msgid "WordPress MU"
2003
- msgstr "WordPress MU"
2004
-
2005
- #: classes/models/FrmUpdate.php:201
2006
- #@ formidable
2007
- msgid "Use this username and password to enable Formidable Pro site-wide"
2008
- msgstr "Benutzen sie diesen Benutzernamen und dieses Passwort um Formidable Pro seiten-weit einzusetzen"
2009
-
2010
- #: classes/models/FrmUpdate.php:207
2011
- #@ formidable
2012
- msgid "Save"
2013
- msgstr "Speichern"
2014
-
2015
- #: classes/controllers/FrmUpdatesController.php:221
2016
- #: classes/models/FrmUpdate.php:209
2017
- #: classes/views/frm-forms/add_field.php:56
2018
- #: classes/views/frm-forms/add_field.php:101
2019
  #: classes/views/frm-forms/add_field_links.php:12
2020
- #: classes/views/frm-forms/edit.php:28
2021
- #: classes/views/frm-forms/edit.php:46
2022
- #: classes/views/frm-forms/new.php:26
2023
- #: classes/views/frm-forms/new.php:41
2024
- #: classes/views/frm-forms/settings.php:25
2025
- #: classes/views/frm-forms/settings.php:188
2026
- #: classes/views/frm-forms/sidebar-settings.php:22
2027
- #: classes/views/frm-forms/translate.php:18
2028
- #: classes/views/frm-forms/translate.php:33
2029
- #: classes/views/frm-forms/translate.php:57
2030
- #: pro/classes/views/frmpro-entries/edit.php:33
2031
- #: pro/classes/views/frmpro-entries/import.php:50
2032
- #: pro/classes/views/frmpro-entries/new.php:29
2033
  #@ formidable
2034
  msgid "or"
2035
  msgstr "oder"
2036
 
2037
- #: classes/controllers/FrmUpdatesController.php:223
2038
- #: classes/models/FrmUpdate.php:211
2039
  #: classes/views/frm-fields/import_choices.php:74
2040
- #: classes/views/frm-forms/edit.php:29
2041
- #: classes/views/frm-forms/edit.php:47
2042
- #: classes/views/frm-forms/new.php:27
2043
- #: classes/views/frm-forms/new.php:42
2044
- #: classes/views/frm-forms/settings.php:26
2045
- #: classes/views/frm-forms/settings.php:189
2046
- #: classes/views/frm-forms/translate.php:34
2047
- #: classes/views/frm-forms/translate.php:58
2048
- #: pro/classes/controllers/FrmProEntriesController.php:1784
2049
- #: pro/classes/views/displays/sidebar.php:12
2050
- #: pro/classes/views/frmpro-entries/edit.php:34
2051
- #: pro/classes/views/frmpro-entries/new.php:30
2052
- #: pro/classes/views/frmpro-entries/sidebar-new.php:9
2053
  #@ formidable
2054
  msgid "Cancel"
2055
  msgstr "Abbruch"
2056
 
2057
- #: classes/templates/contact.php:3
2058
- #@ formidable
2059
- msgid "Contact Us"
2060
- msgstr "Kontakieren Sie uns"
2061
-
2062
- #: classes/templates/contact.php:4
2063
- #@ formidable
2064
- msgid "We would like to hear from you. Please send us a message by filling out the form below and we will get back with you shortly."
2065
- msgstr "Wir würden gerne etwas von Ihnen hören. Bitte senden Sie uns durch Ausfüllen des Formulares eine Nachricht und wir kommen schnellstmöglich auf Sie zu."
2066
-
2067
- #: classes/templates/contact.php:37
2068
- #: classes/views/frm-forms/notification.php:30
2069
- #: classes/views/frm-forms/notification.php:56
2070
  #: pro/classes/controllers/FrmProDisplaysController.php:499
2071
- #: pro/classes/controllers/FrmProFormsController.php:195
2072
  #@ formidable
2073
  msgid "Email"
2074
  msgstr "Email"
2075
 
2076
- #: classes/templates/contact.php:39
2077
- #@ formidable
2078
- msgid "Please enter a valid email address"
2079
- msgstr "Bitte geben Sie eine gültige Email- Adresse ein"
2080
-
2081
- #: classes/templates/contact.php:46
2082
- #: pro/classes/models/FrmProField.php:49
2083
  #@ formidable
2084
  msgid "Website"
2085
  msgstr "Webseite"
2086
 
2087
- #: classes/templates/contact.php:47
2088
- #@ formidable
2089
- msgid "Please enter a valid website"
2090
- msgstr "Bitte tragen Sie eine gültige Website ein"
2091
-
2092
- #: classes/templates/contact.php:54
2093
- #: pro/classes/views/frmpro-forms/notifications.php:3
2094
  #@ formidable
2095
  msgid "Subject"
2096
  msgstr "Betreff"
2097
 
2098
- #: classes/templates/contact.php:62
2099
- #: pro/classes/views/frmpro-forms/notifications.php:6
2100
  #@ formidable
2101
  msgid "Message"
2102
  msgstr "Nachricht"
2103
 
2104
- #: classes/templates/contact.php:70
2105
- #@ formidable
2106
- msgid "Captcha"
2107
- msgstr "Captcha"
2108
-
2109
- #: classes/views/frm-entries/form.php:38
2110
- #: pro/classes/controllers/FrmProEntriesController.php:1030
2111
- #: pro/classes/helpers/FrmProFieldsHelper.php:1520
2112
- #: pro/classes/views/displays/where_row.php:9
2113
- #: pro/classes/views/frmpro-entries/import.php:112
2114
- #: pro/classes/views/frmpro-entries/show.php:83
2115
  #: pro/classes/views/shared/mb_adv_info.php:64
 
2116
  #@ formidable
2117
  msgid "Entry Key"
2118
  msgstr "Eingabe Schlüssel"
@@ -2142,17 +1899,12 @@ msgstr "Option 1: Generieren Sie ihren Shortcode"
2142
  msgid "Go to your WordPress page or post."
2143
  msgstr "Gehe zur WordPress Seite oder Artikel."
2144
 
2145
- #: classes/views/frm-entries/no_entries.php:19
2146
- #@ formidable
2147
- msgid "Click on the form icon above the content box to open a popup with additional options."
2148
- msgstr "Klicken Sie auf das Formular Icon oberhalb des Texteditors, um ein Popup mit zusätzlichen Optionen zu öffnen."
2149
-
2150
- #: classes/views/frm-entries/no_entries.php:21
2151
  #@ formidable
2152
  msgid "Select your form from the dropdown and check the boxes to show the title and description if desired."
2153
  msgstr "Wählen Sie ihr Formular vom Dropdown aus und markieren Sie die Checkboxen, um den Titel und die Beschreibung anzuzeigen, wenn dies gewünscht ist."
2154
 
2155
- #: classes/views/frm-entries/no_entries.php:23
2156
  #@ formidable
2157
  msgid "Click the \"Insert Form\" button."
2158
  msgstr "Klicken Sie den\"Formular einfügen\" Button."
@@ -2212,253 +1964,183 @@ msgstr "Bearbeite oder füge Feldoptionen hinzu (eine pro Zeile)"
2212
  msgid "Update Field Choices"
2213
  msgstr "Aktualisiere Feldauswahlen"
2214
 
2215
- #: classes/views/frm-forms/add_field.php:21
2216
  #@ formidable
2217
  msgid "Duplicate Field"
2218
  msgstr "Feld duplizieren"
2219
 
2220
- #: classes/views/frm-forms/add_field.php:53
2221
- #: classes/views/frm-forms/add_field.php:98
2222
  #@ formidable
2223
  msgid "Add an Option"
2224
  msgstr "Eine Option hinzufügen."
2225
 
2226
- #: classes/views/frm-forms/add_field.php:57
2227
- #: classes/views/frm-forms/add_field.php:102
2228
  #@ formidable
2229
  msgid "Field Choices"
2230
  msgstr "Feldauswahlen"
2231
 
2232
- #: classes/views/frm-forms/add_field.php:57
2233
- #: classes/views/frm-forms/add_field.php:102
2234
  #@ formidable
2235
  msgid "Bulk Edit Field Choices"
2236
  msgstr "Massenbearbeitung der Feldauswahlen"
2237
 
2238
- #: classes/views/frm-forms/add_field.php:86
2239
  #@ formidable
2240
  msgid "Please add options from the WordPress \"Categories\" page"
2241
  msgstr "Bitte fügen Sie Optionen von der WordPress \"Kategorien\" Seite hinzu"
2242
 
2243
- #: classes/views/frm-forms/add_field.php:111
2244
  #, php-format
2245
  #@ formidable
2246
  msgid "Hint: Change colors in the %1$sFormidable settings"
2247
  msgstr "Hinweis: Ändern Sie die Farben in den %1$sFormidable Einstellungen"
2248
 
2249
- #: classes/views/frm-forms/add_field.php:149
2250
  #@ formidable
2251
  msgid "Field Options"
2252
  msgstr "Feld Optionen"
2253
 
2254
- #: classes/views/frm-forms/add_field.php:155
2255
- #@ formidable
2256
- msgid "Required Field"
2257
- msgstr "Benötigtes Feld"
2258
-
2259
- #: classes/views/frm-forms/add_field.php:156
2260
  #@ formidable
2261
  msgid "Required"
2262
  msgstr "Benötigt"
2263
 
2264
- #: classes/views/frm-forms/add_field.php:157
2265
  #@ formidable
2266
  msgid "Indicate required field with"
2267
  msgstr "Benötigtes Feld bezeichnen"
2268
 
2269
- #: classes/views/frm-forms/add_field.php:162
2270
- #@ formidable
2271
- msgid "Error message for blank required field"
2272
- msgstr "Fehlermeldung für leeres benötigtes Feld"
2273
-
2274
- #: classes/views/frm-forms/add_field.php:167
2275
- #@ formidable
2276
- msgid "Error message for invalid submission"
2277
- msgstr "Fehlermeldung für ungültige Eingabe"
2278
-
2279
- #: classes/views/frm-forms/add_field.php:172
2280
  #: classes/widgets/FrmShowForm.php:56
2281
  #@ formidable
2282
  msgid "Field Size"
2283
  msgstr "Feld Größe"
2284
 
2285
- #: classes/views/frm-forms/add_field.php:176
2286
  #@ formidable
2287
  msgid "automatic width"
2288
  msgstr "Automatische Breite"
2289
 
2290
- #: classes/views/frm-forms/add_field.php:179
2291
  #@ formidable
2292
  msgid "columns wide"
2293
  msgstr "Spalten breit"
2294
 
2295
- #: classes/views/frm-forms/add_field.php:179
2296
  #: classes/widgets/FrmShowForm.php:58
2297
  #@ formidable
2298
  msgid "characters wide"
2299
  msgstr "Zeichen breit"
2300
 
2301
- #: classes/views/frm-forms/add_field.php:181
2302
  #@ formidable
2303
  msgid "rows high"
2304
  msgstr "Zeilen hoch"
2305
 
2306
- #: classes/views/frm-forms/add_field.php:181
2307
  #@ formidable
2308
  msgid "characters maximum"
2309
  msgstr "Zeichen Maximum"
2310
 
2311
- #: classes/views/frm-forms/add_field.php:187
2312
  #: classes/views/frm-forms/mb_html_tab.php:10
2313
  #@ formidable
2314
  msgid "Label Position"
2315
  msgstr "Position des Hinweises"
2316
 
2317
- #: classes/views/frm-forms/add_field.php:189
2318
  #@ formidable
2319
  msgid "Default"
2320
  msgstr "Standard"
2321
 
2322
- #: classes/views/frm-forms/add_field.php:190
2323
  #@ formidable
2324
  msgid "Top"
2325
  msgstr "Oben"
2326
 
2327
- #: classes/views/frm-forms/add_field.php:191
2328
  #@ formidable
2329
  msgid "Left"
2330
  msgstr "Links"
2331
 
2332
- #: classes/views/frm-forms/add_field.php:192
2333
  #@ formidable
2334
  msgid "Right"
2335
  msgstr "Rechts"
2336
 
2337
- #: classes/views/frm-forms/add_field.php:193
2338
  #@ formidable
2339
  msgid "Inline (left without a set width)"
2340
  msgstr "Inline (links ohne vorgegebene Weite)"
2341
 
2342
- #: classes/views/frm-forms/add_field.php:194
2343
- #: pro/classes/views/frmpro-forms/post_options.php:82
2344
- #: pro/classes/views/frmpro-forms/post_options.php:91
 
2345
  #@ formidable
2346
  msgid "None"
2347
  msgstr "Keine"
2348
 
2349
- #: classes/views/frm-forms/add_field.php:195
2350
  #@ formidable
2351
  msgid "Hidden (but leave the space)"
2352
  msgstr "Versteckt (aber behalte den Abstand)"
2353
 
2354
- #: classes/views/frm-forms/add_field.php:201
2355
  #@ formidable
2356
  msgid "CSS layout classes"
2357
  msgstr "CSS Layout Klassen"
2358
 
2359
- #: classes/views/frm-forms/add_field.php:202
2360
  #@ formidable
2361
  msgid "Add a CSS class to the field container. Use our predefined classes to align multiple fields in single row."
2362
  msgstr "Füge eine CSS Klasse zum Feld Container hinzu. Verwenden Sie unsere vordefinierten Klassen, um mehrere Felder in einer Zeile anzuordnen."
2363
 
2364
- #: classes/views/frm-forms/sidebar-settings.php:4
2365
- #: classes/views/frm-forms/translate.php:11
2366
- #@ formidable
2367
- msgid "Insert into a post, page or text widget"
2368
- msgstr "In Artikel, Seite oder Text Widget einfügen"
2369
-
2370
  #: classes/views/frm-forms/add_field_links.php:9
 
2371
  #@ formidable
2372
  msgid "Preview Form"
2373
  msgstr "Vorschau Formular"
2374
 
2375
  #: classes/views/frm-forms/add_field_links.php:13
2376
- #: classes/views/frm-forms/sidebar-settings.php:23
2377
- #: classes/views/frm-forms/translate.php:19
2378
  #@ formidable
2379
  msgid "Preview in Current Theme"
2380
  msgstr "Vorschau in aktuellem Theme"
2381
 
2382
  #: classes/views/frm-forms/add_field_links.php:24
2383
- #: classes/views/frm-forms/notification.php:12
2384
- #: classes/views/frm-forms/notification.php:36
2385
  #@ formidable
2386
  msgid "Fields"
2387
  msgstr "Felder"
2388
 
2389
- #: classes/views/frm-forms/add_field_links.php:43
2390
  #@ formidable
2391
  msgid "Pro Fields"
2392
  msgstr "Pro Feld"
2393
 
2394
- #: classes/views/frm-forms/add_field_links.php:117
2395
- #@ formidable
2396
- msgid "required field"
2397
- msgstr "Benötigtes Feld"
2398
-
2399
- #: classes/views/frm-forms/add_field_links.php:119
2400
- #@ formidable
2401
- msgid "not required"
2402
- msgstr "Nicht benötigt"
2403
-
2404
- #: classes/views/frm-forms/add_field_links.php:121
2405
- #@ formidable
2406
- msgid "clear default text on click"
2407
- msgstr "Standardtext bei Klick löschen"
2408
-
2409
- #: classes/views/frm-forms/add_field_links.php:123
2410
- #@ formidable
2411
- msgid "do not clear default text on click"
2412
- msgstr "Nicht Standardtext auf Klick löschen"
2413
-
2414
- #: classes/views/frm-forms/add_field_links.php:125
2415
- #@ formidable
2416
- msgid "default value will NOT pass validation"
2417
- msgstr "Standardwert wird NICHT gültig sein"
2418
-
2419
- #: classes/views/frm-forms/add_field_links.php:127
2420
- #@ formidable
2421
- msgid "default value will pass validation"
2422
- msgstr "Standardwert WIRD gültig sein"
2423
-
2424
- #: classes/views/frm-forms/add_field_links.php:129
2425
- #@ formidable
2426
- msgid "delete field and all inputed data"
2427
- msgstr "Feld und alle Eingaben löschen"
2428
-
2429
- #: classes/views/frm-forms/add_field_links.php:130
2430
- #: classes/views/frm-forms/add_field_links.php:132
2431
- #@ formidable
2432
- msgid "Move"
2433
- msgstr "Verschieben"
2434
-
2435
- #: classes/views/frm-forms/add_field_links.php:131
2436
- #@ formidable
2437
- msgid "duplicate field"
2438
- msgstr "Feld duplizieren"
2439
-
2440
- #: classes/views/frm-forms/add_field_links.php:133
2441
- #@ formidable
2442
- msgid "move field"
2443
- msgstr "Feld bewegen"
2444
-
2445
  #: classes/views/frm-forms/default-templates.php:3
2446
  #@ formidable
2447
  msgid "Default Templates"
2448
  msgstr "Standard Vorlagen"
2449
 
2450
- #: classes/views/frm-forms/default-templates.php:21
2451
- #: classes/views/frm-forms/sidebar-settings.php:19
2452
- #: classes/views/frm-forms/translate.php:15
2453
- #@ formidable
2454
  msgid "Preview"
2455
  msgstr "Vorschau"
2456
 
 
2457
  #: classes/views/frm-forms/default-templates.php:30
2458
- #: pro/classes/helpers/FrmProListHelper.php:187
 
 
2459
  #: pro/classes/views/displays/submitbox_actions.php:2
2460
- #: pro/classes/views/frmpro-entries/list.php:88
2461
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:11
2462
  #@ formidable
2463
  msgid "View"
2464
  msgstr "Ansicht"
@@ -2468,147 +2150,95 @@ msgstr "Ansicht"
2468
  msgid "Custom Templates"
2469
  msgstr "Benutzerdefinierte Vorlagen"
2470
 
2471
- #: classes/views/frm-forms/edit.php:3
2472
- #: classes/views/frm-forms/list.php:154
2473
- #: classes/views/frm-forms/list.php:155
2474
- #@ formidable
2475
- msgid "Template"
2476
- msgstr "Vorlage"
2477
-
2478
- #: classes/views/frm-forms/edit.php:3
2479
  #: classes/widgets/FrmShowForm.php:46
2480
- #: pro/classes/controllers/FrmProDisplaysController.php:207
2481
  #@ formidable
2482
  msgid "Form"
2483
  msgstr "Formular"
2484
 
2485
- #: classes/views/frm-forms/add_field_links.php:140
2486
- #: classes/views/frm-forms/edit.php:27
2487
- #: classes/views/frm-forms/edit.php:45
2488
- #: classes/views/frm-forms/settings.php:24
2489
- #: classes/views/frm-forms/settings.php:187
2490
- #: classes/views/frm-forms/translate.php:32
2491
- #: classes/views/frm-forms/translate.php:56
2492
- #: pro/classes/models/FrmProSettings.php:202
2493
  #@ formidable
2494
  msgid "Update"
2495
  msgstr "Update"
2496
 
2497
- #: classes/views/frm-forms/edit.php:32
2498
- #: classes/views/frm-forms/settings.php:28
2499
- #: classes/views/frm-forms/translate.php:36
2500
- #: pro/classes/helpers/FrmProEntriesHelper.php:98
2501
- #: pro/classes/views/frmpro-statistics/show.php:36
2502
  #@ formidable
2503
  msgid "Switch Form"
2504
  msgstr "Formular wechseln"
2505
 
2506
- #: classes/views/frm-forms/add_field.php:141
2507
- #: classes/views/frm-forms/footer.php:3
2508
- #@ formidable
2509
- msgid "(Click here to add form description or instructions)"
2510
- msgstr "(Hier klicken für eine Formular- Beschreibung oder Anweisungen)"
2511
-
2512
  #: classes/views/frm-forms/insert_form_popup.php:4
 
2513
  #@ formidable
2514
  msgid "Please select a form"
2515
  msgstr "Bitte wählen Sie ein Formular aus"
2516
 
2517
- #: classes/views/frm-forms/insert_form_popup.php:13
2518
- #@ formidable
2519
- msgid "Please select a custom display"
2520
- msgstr "Bitte wöhlen Sie eine Individual Anzeige aus"
2521
-
2522
- #: classes/views/frm-forms/insert_form_popup.php:35
2523
  #@ formidable
2524
  msgid "Select a form to insert"
2525
  msgstr "Wählen Sie ein Formular zum Einfügen"
2526
 
2527
- #: classes/views/frm-forms/insert_form_popup.php:39
2528
  #@ formidable
2529
  msgid "Display form title"
2530
  msgstr "Formular-Titel anzeigen"
2531
 
2532
- #: classes/views/frm-forms/insert_form_popup.php:40
2533
  #@ formidable
2534
  msgid "Display form description"
2535
  msgstr "Formular-Beschreibung anzeigen"
2536
 
2537
- #: classes/views/frm-forms/insert_form_popup.php:47
2538
- #@ formidable
2539
- msgid "Select custom display to insert"
2540
- msgstr "Wählen Sie eine Individual-Anzeige zum Hinzufügen"
2541
-
2542
- #: classes/views/frm-forms/insert_form_popup.php:58
2543
- #@ formidable
2544
- msgid "Filter shortcodes within the custom display content"
2545
- msgstr "Shortcodes im Individual-Anzeige Inhalt filtern"
2546
-
2547
- #: classes/views/frm-forms/insert_form_popup.php:59
2548
  #@ formidable
2549
  msgid "Note: In some cases, this option can create an infinite loop"
2550
  msgstr "Hinweis: In manchen Fällen kann diese Option eine unendliche Schleife hervorrufen"
2551
 
2552
- #: classes/views/frm-forms/insert_form_popup.php:65
2553
  #@ formidable
2554
  msgid "Insert a search box"
2555
  msgstr "Ein Suchfeld einfügen"
2556
 
2557
- #: classes/views/frm-forms/list.php:3
2558
- #@ formidable
2559
- msgid "Form Templates"
2560
- msgstr "Formular Vorlagen"
2561
-
2562
- #: classes/views/frm-forms/list.php:17
2563
- #: pro/classes/controllers/FrmProDisplaysController.php:62
2564
- #: pro/classes/controllers/FrmProEntriesController.php:1589
2565
- #: pro/classes/helpers/FrmProAppHelper.php:275
2566
  #: pro/classes/views/frmpro-entries/list.php:17
2567
  #@ formidable
2568
  msgid "Search"
2569
  msgstr "Suche"
2570
 
2571
- #: classes/views/frm-forms/list.php:54
2572
- #: classes/views/frm-forms/list.php:192
2573
- #: pro/classes/helpers/FrmProFieldsHelper.php:1535
2574
- #: pro/classes/helpers/FrmProFieldsHelper.php:1549
2575
- #: pro/classes/views/displays/mb_form_disp_type.php:46
2576
- #: pro/classes/views/displays/mb_form_disp_type.php:56
2577
  #: pro/classes/views/frmpro-entries/google_table.php:8
2578
  #: pro/classes/views/frmpro-entries/table.php:5
2579
  #@ formidable
2580
  msgid "ID"
2581
  msgstr "ID"
2582
 
2583
- #: classes/views/frm-forms/list.php:122
2584
- #: classes/views/frm-forms/list.php:160
2585
- #, php-format
2586
- #@ formidable
2587
- msgid "Are you sure you want to delete your %1$s Form?"
2588
- msgstr "Sind Sie sicher, dass Sie Ihr %1$s Fromular löschen wollen?"
2589
-
2590
- #: classes/views/frm-forms/add_field_links.php:140
2591
- #: classes/views/frm-forms/list.php:154
2592
  #: classes/views/frm-forms/new-selection.php:24
2593
- #: classes/views/frm-forms/new-selection.php:43
2594
- #: classes/views/frm-forms/new.php:25
2595
- #: classes/views/frm-forms/new.php:40
2596
  #@ formidable
2597
  msgid "Create"
2598
  msgstr "Erstellen"
2599
 
2600
- #: classes/views/frm-forms/list.php:155
2601
- #: pro/classes/views/shared/import_form.php:35
2602
  #@ formidable
2603
  msgid "Export"
2604
  msgstr "Exportieren"
2605
 
2606
- #: classes/views/frm-forms/list.php:155
2607
- #@ formidable
2608
- msgid "Export as Template"
2609
- msgstr "Exportiere als Vorlage"
2610
-
2611
- #: classes/views/frm-forms/footer.php:4
2612
  #@ formidable
2613
  msgid "(Blank)"
2614
  msgstr "(Leer)"
@@ -2623,45 +2253,34 @@ msgstr "Vorgefertigtes Formular"
2623
  msgid "Select a template to generate your form."
2624
  msgstr "Wählen Sie eine Vorlage um ihr Formular zu generieren."
2625
 
2626
- #: classes/views/frm-forms/new-selection.php:33
2627
  #@ formidable
2628
  msgid "Blank Form"
2629
  msgstr "Leeres Formular"
2630
 
2631
- #: classes/views/frm-forms/new-selection.php:38
2632
  #@ formidable
2633
  msgid "Start with a blank form and build anything."
2634
  msgstr "Beginne mit einem leeren Formular und erstelle alles von Anfang an."
2635
 
2636
- #: classes/views/frm-forms/settings.php:3
2637
- #@ formidable
2638
- msgid "Edit Form"
2639
- msgstr "Formular editieren"
2640
-
2641
- #: classes/views/frm-forms/settings.php:31
2642
- #: classes/views/frm-forms/translate.php:3
2643
- #@ formidable
2644
- msgid "Translate Form"
2645
- msgstr "Formular übersetzen"
2646
-
2647
- #: classes/views/frm-forms/settings.php:47
2648
- #: classes/views/frm-settings/form.php:15
2649
  #: pro/classes/views/settings/formroller.php:8
2650
  #@ formidable
2651
  msgid "General"
2652
  msgstr "Allgemein"
2653
 
2654
- #: classes/views/frm-forms/settings.php:48
2655
  #@ formidable
2656
  msgid "Emails"
2657
  msgstr "Emails"
2658
 
2659
- #: classes/views/frm-forms/settings.php:49
2660
  #@ formidable
2661
  msgid "Customize HTML"
2662
  msgstr "HTML individuell anpassen"
2663
 
2664
- #: classes/views/frm-forms/settings.php:50
2665
  #@ formidable
2666
  msgid "Create Posts"
2667
  msgstr "Erstelle Artikel"
@@ -2672,97 +2291,89 @@ msgid "Key and id are generally synonymous. For more information on using this s
2672
  msgstr "Schlüssel und ID sind allgemein gleich. Für weitere Information klicken Sie jetzt!"
2673
 
2674
  #: classes/views/frm-forms/mb_html_tab.php:37
2675
- #: classes/views/frm-forms/settings.php:59
2676
  #@ formidable
2677
  msgid "Form Key"
2678
  msgstr "Formular Schlüssel"
2679
 
2680
- #: classes/views/frm-forms/settings.php:68
2681
  #@ formidable
2682
  msgid "Use Formidable styling for this form"
2683
  msgstr "Benutzen Sie Formidable um dieses Formular zu stylen"
2684
 
2685
- #: classes/views/frm-forms/settings.php:63
2686
  #@ formidable
2687
  msgid "Submit Button Text"
2688
  msgstr "Senden Button Text"
2689
 
2690
- #: classes/views/frm-forms/settings.php:71
2691
  #@ formidable
2692
  msgid "Action After Form Submission"
2693
  msgstr "Aktion nach der Formular Eingabe"
2694
 
2695
- #: classes/views/frm-forms/settings.php:73
2696
  #@ formidable
2697
  msgid "You must upgrade to Formidable Pro to get access to the second two options."
2698
  msgstr "Sie müssen auf Formidable Pro upgraden, um Zugang zu den anderen zwei Optionen zu bekommen."
2699
 
2700
- #: classes/views/frm-forms/settings.php:76
 
2701
  #@ formidable
2702
  msgid "Display a Message"
2703
  msgstr "Anzeigen einer Nachricht"
2704
 
2705
- #: classes/views/frm-forms/settings.php:77
 
2706
  #@ formidable
2707
  msgid "Display content from another page"
2708
  msgstr "Anzeigen von Inhalt einer anderen Seite"
2709
 
2710
- #: classes/views/frm-forms/settings.php:78
 
2711
  #@ formidable
2712
  msgid "Redirect to URL"
2713
  msgstr "Weiterleiten zu der URL"
2714
 
2715
- #: classes/views/frm-forms/settings.php:86
2716
  #@ formidable
2717
- msgid "Confirmation Message"
2718
- msgstr "Bestätigungsnachricht"
2719
 
2720
- #: classes/views/frm-forms/settings.php:89
2721
- #@ formidable
2722
- msgid "Show the form with the success message."
2723
- msgstr "Zeigen Sie das Formular mitsamt der Erfolgs- Nachricht"
2724
-
2725
- #: classes/views/frm-forms/settings.php:106
2726
- #@ formidable
2727
- msgid "Do not store any entries submitted from this form."
2728
- msgstr "Speichere keine Einträge, welche durch dieses Formular übermittelt werden."
2729
-
2730
- #: classes/views/frm-forms/settings.php:109
2731
  #@ formidable
2732
  msgid "Use Akismet to check entries for spam for"
2733
  msgstr "Benütze Akismet um die Einträge auf Spam zu kontrollieren"
2734
 
2735
- #: classes/views/frm-forms/settings.php:111
2736
  #@ formidable
2737
  msgid "no one"
2738
  msgstr "niemand"
2739
 
2740
- #: classes/views/frm-forms/settings.php:112
2741
  #@ formidable
2742
  msgid "everyone"
2743
  msgstr "jeder"
2744
 
2745
- #: classes/views/frm-forms/settings.php:113
2746
  #@ formidable
2747
  msgid "visitors who are not logged in"
2748
  msgstr "Besucher, welche nicht angemeldet sind"
2749
 
2750
- #: classes/views/frm-forms/notification.php:4
2751
  #@ formidable
2752
  msgid "From/Reply to"
2753
  msgstr "Von/Antwort an"
2754
 
2755
- #: classes/views/frm-forms/notification.php:4
2756
  #@ formidable
2757
  msgid "Usually the name and email of the person filling out the form. Select from Text, Email, User ID, or hidden fields for the name. &lt;br/&gt;Defaults to your site name and admin email found on the WordPress General Settings page."
2758
  msgstr "Üblicherweise der Namen und die Email jener Person, welche das Formular ausfüllt. Wählen Sie zwischen Text, Email, User ID oder versteckten Feldern für den Namen. &lt;br/&gt;Standardmäßig wird der Website Name und die Administrator Email verwendet, welche unter WordPress > Einstellungen eingegeben wurden."
2759
 
2760
- #: classes/views/frm-forms/notification.php:63
2761
  #@ formidable
2762
  msgid "Email Recipients"
2763
  msgstr "Email Empfänger"
2764
 
2765
- #: classes/views/frm-forms/notification.php:63
2766
  #@ formidable
2767
  msgid "To send to multiple addresses, separate each address with a comma. You can use [admin_email] to dynamically use the address on your WordPress General Settings page. &lt;br/&gt;PRO only: Leave blank if you do not want email notifications for this form."
2768
  msgstr "Trennen Sie jede Adresse mit einem Beistrich/Komma, wenn Sie an mehrere Adressen versenden wollen. Sie können [admin_email] verwenden, um dynamisch die Adresse einzufügen, welche unter WordPress > Einstellungen konfiguriert wurde. &lt;br/&gt;PRO exklusiv: Leer lassen, wenn Sie keine Email-Benachrichtigung von diesem Formular erhalten wollen."
@@ -2783,7 +2394,6 @@ msgid "Delete Entry Link"
2783
  msgstr "Eintrags-Link löschen"
2784
 
2785
  #: classes/views/frm-forms/mb_html_tab.php:7
2786
- #: pro/classes/views/frmpro-fields/options-form.php:308
2787
  #@ formidable
2788
  msgid "Field Key"
2789
  msgstr "Feld Schlüssel"
@@ -2819,299 +2429,256 @@ msgstr "Class Name hinzufügen, wenn Feld benötigt wird"
2819
  msgid "Add class name if field has an error on form submit"
2820
  msgstr "Hinzufügen des class name wenn das Feld einen Fehler bei der Eingabe zeigt"
2821
 
2822
- #: classes/views/frm-forms/settings.php:138
2823
  #@ formidable
2824
  msgid "Before Fields"
2825
  msgstr "Vor den Feldern"
2826
 
2827
- #: classes/views/frm-forms/settings.php:154
2828
  #@ formidable
2829
  msgid "After Fields"
2830
  msgstr "Nach den Feldern"
2831
 
2832
- #: classes/views/frm-forms/translate.php:46
2833
- #@ formidable
2834
- msgid "Go to the WPML String translation page to translate this form. The pro version also provides an easier interface for translations."
2835
- msgstr "Gehe zur WPML String Übersetzungsseite, um dieses Formular zu übersetzen. Die Pro Version stellt ein optimiertes Interface für Übersetzungen zur Verfügung."
2836
-
2837
- #: classes/views/frm-forms/translate.php:47
2838
- #@ formidable
2839
- msgid "Translate now"
2840
- msgstr "Jetzt übersetzen"
2841
-
2842
- #: classes/views/frm-settings/form.php:3
2843
- #@ formidable
2844
- msgid "Form Settings"
2845
- msgstr "Formular Einstellungen"
2846
-
2847
- #: classes/views/frm-settings/form.php:16
2848
  #@ formidable
2849
  msgid "Form Styling"
2850
  msgstr "Formular Styling"
2851
 
2852
- #: classes/views/frm-settings/form.php:28
2853
- #@ formidable
2854
- msgid "Formidable Pro Account Information"
2855
- msgstr "Formidable Pro Benutzerkonto Information"
2856
-
2857
- #: classes/views/frm-settings/form.php:47
2858
- #: classes/views/frm-settings/form.php:232
2859
  #@ formidable
2860
  msgid "Update Options"
2861
  msgstr "Optionen updaten"
2862
 
2863
- #: classes/views/frm-settings/form.php:51
2864
  #@ formidable
2865
  msgid "Admin menu label"
2866
  msgstr "Admin Menü Beschriftung"
2867
 
2868
- #: classes/views/frm-settings/form.php:55
2869
  #@ formidable
2870
  msgid "Use this menu name site-wide"
2871
  msgstr "Benütze den Menü-Namen für die gesamte Webseite"
2872
 
2873
- #: classes/views/frm-settings/form.php:60
2874
  #@ formidable
2875
  msgid "Preview Page"
2876
  msgstr "Seitenvorschau"
2877
 
2878
- #: classes/views/frm-settings/form.php:67
2879
  #@ formidable
2880
  msgid "Tracking"
2881
  msgstr "Tracking"
2882
 
2883
- #: classes/views/frm-settings/form.php:69
2884
  #@ formidable
2885
  msgid "Track referrer information and pages visited"
2886
  msgstr "Verfolge Referrer Informationen und besuchte Seiten"
2887
 
2888
- #: classes/views/frm-settings/form.php:75
2889
- #@ formidable
2890
- msgid "Stylesheets"
2891
- msgstr "Stylesheets"
2892
-
2893
- #: classes/views/frm-settings/form.php:78
2894
  #@ formidable
2895
  msgid "Load Formidable styling"
2896
  msgstr "Laden Sie das Formidable Styling"
2897
 
2898
- #: classes/views/frm-settings/form.php:80
2899
  #@ formidable
2900
  msgid "on every page of your site"
2901
  msgstr "auf jeder Seite Ihrer Webseite"
2902
 
2903
- #: classes/views/frm-settings/form.php:81
2904
  #@ formidable
2905
  msgid "only on applicable pages"
2906
  msgstr "nur auf geeigneten Seiten"
2907
 
2908
- #: classes/views/frm-settings/form.php:82
2909
  #@ formidable
2910
  msgid "Don't use Formidable styling on any page"
2911
  msgstr "Benutzen Sie das Formidable Styling nicht auf einer anderen Seite"
2912
 
2913
- #: classes/views/frm-settings/form.php:86
2914
  #@ formidable
2915
  msgid "Use HTML5 in forms"
2916
  msgstr "Verwende HTML5 in Formularen"
2917
 
2918
- #: classes/views/frm-settings/form.php:91
2919
  #@ formidable
2920
  msgid "Include the jQuery CSS on ALL pages"
2921
  msgstr "Einfügen des jQuery CSS auf ALLEN Seiten"
2922
 
2923
- #: classes/views/frm-settings/form.php:91
2924
  #@ formidable
2925
  msgid "The styling for the date field calendar. Some users may be using this css on pages other than just the ones that include a date field."
2926
  msgstr "Das Styling für das Daten- Feld Kalender. Einige Benutzer verwenden die CSS vielleicht auf anderen Seiten, als auf der die das Daten- Feld beinhaltet."
2927
 
2928
- #: classes/views/frm-settings/form.php:97
2929
  #@ formidable
2930
  msgid "User Permissions"
2931
  msgstr "Benutzerrechte"
2932
 
2933
- #: classes/views/frm-settings/form.php:97
2934
  #@ formidable
2935
  msgid "Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu."
2936
  msgstr "Wählen Sie die Benutzer aus die das Recht haben Formidable zu verwenden. Ohne das Recht formulare anzusehen, können diese Benutzer kein Formidable Menü sehen."
2937
 
2938
- #: classes/views/frm-settings/form.php:108
2939
  #@ formidable
2940
  msgid "reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot."
2941
  msgstr "reCAPTCHA ist ein freier CAPTCHA Service, der hilft Bücher zu digitalisieren und nebenbei SPAM auf Blogs zu verhindern. reCPATCHA bittet Kommentatoren, zur Überprüfung ihres Mensch- Seins, zwei Worte, die aus einem Buch gescannt wurden, einzugeben."
2942
 
2943
- #: classes/views/frm-settings/form.php:115
2944
  #@ formidable
2945
  msgid "Public Key"
2946
  msgstr "Öffentlicher Schlüssel"
2947
 
2948
- #: classes/views/frm-settings/form.php:119
2949
  #@ formidable
2950
  msgid "Private Key"
2951
  msgstr "Privater Schlüssel"
2952
 
2953
- #: classes/views/frm-settings/form.php:128
2954
  #@ formidable
2955
  msgid "reCAPTCHA Theme"
2956
  msgstr "reCAPTCHA Theme"
2957
 
2958
- #: classes/views/frm-settings/form.php:130
2959
  #@ formidable
2960
  msgid "Red"
2961
  msgstr "Rot"
2962
 
2963
- #: classes/views/frm-settings/form.php:130
2964
  #@ formidable
2965
  msgid "White"
2966
  msgstr "Weiß"
2967
 
2968
- #: classes/views/frm-settings/form.php:130
2969
  #@ formidable
2970
  msgid "Black Glass"
2971
  msgstr "Schwarzes Glass"
2972
 
2973
- #: classes/views/frm-settings/form.php:130
2974
  #@ formidable
2975
  msgid "Clean"
2976
  msgstr "Sauber"
2977
 
2978
- #: classes/views/frm-settings/form.php:135
2979
  #@ formidable
2980
  msgid "reCAPTCHA Language"
2981
  msgstr "reCAPTCHA Sprache"
2982
 
2983
- #: classes/views/frm-settings/form.php:137
2984
  #@ formidable
2985
  msgid "English"
2986
  msgstr "Englisch"
2987
 
2988
- #: classes/views/frm-settings/form.php:137
2989
- #: pro/classes/controllers/FrmProFieldsController.php:309
2990
  #@ formidable
2991
  msgid "Dutch"
2992
  msgstr "Niederländisch"
2993
 
2994
- #: classes/views/frm-settings/form.php:137
2995
- #: pro/classes/controllers/FrmProFieldsController.php:312
2996
  #@ formidable
2997
  msgid "French"
2998
  msgstr "Französisch"
2999
 
3000
- #: classes/views/frm-settings/form.php:137
3001
- #: pro/classes/controllers/FrmProFieldsController.php:313
3002
  #@ formidable
3003
  msgid "German"
3004
  msgstr "Deutsch"
3005
 
3006
- #: classes/views/frm-settings/form.php:137
3007
  #@ formidable
3008
  msgid "Portuguese"
3009
  msgstr "Portugiesisch"
3010
 
3011
- #: classes/views/frm-settings/form.php:137
3012
- #: pro/classes/controllers/FrmProFieldsController.php:321
3013
  #@ formidable
3014
  msgid "Russian"
3015
  msgstr "Russisch"
3016
 
3017
- #: classes/views/frm-settings/form.php:137
3018
- #: pro/classes/controllers/FrmProFieldsController.php:323
3019
  #@ formidable
3020
  msgid "Spanish"
3021
  msgstr "Spanisch"
3022
 
3023
- #: classes/views/frm-settings/form.php:137
3024
- #: pro/classes/controllers/FrmProFieldsController.php:325
3025
  #@ formidable
3026
  msgid "Turkish"
3027
  msgstr "Türkisch"
3028
 
3029
- #: classes/views/frm-settings/form.php:145
3030
  #@ formidable
3031
  msgid "Default Messages"
3032
  msgstr "Standardnachrichten"
3033
 
3034
- #: classes/views/frm-settings/form.php:145
3035
  #@ formidable
3036
  msgid "You can override the success message and submit button settings on individual forms."
3037
  msgstr "Sie können die Erfolgs- Mitteilung und die Senden- Button Einstelllungen überschreiben."
3038
 
3039
- #: classes/views/frm-settings/form.php:155
3040
  #@ formidable
3041
  msgid "Incorrect Field"
3042
  msgstr "Inkorrektes Feld."
3043
 
3044
- #: classes/views/frm-settings/form.php:155
3045
  #@ formidable
3046
  msgid "The message seen when a field response is either incorrect or missing."
3047
  msgstr "Die Nachricht die angezeigt wird, wenn eine Feld- Antwort entweder falsch order fehlend ist."
3048
 
3049
- #: classes/views/frm-settings/form.php:175
3050
  #@ formidable
3051
  msgid "Success Message"
3052
  msgstr "Erfolgsmitteilung"
3053
 
3054
- #: classes/views/frm-settings/form.php:175
3055
  #@ formidable
3056
  msgid "The default message seen after a form is submitted."
3057
  msgstr "Die Standardnachricht, die nach Ausfüllen des Formulares zu sehen ist."
3058
 
3059
- #: classes/views/frm-settings/form.php:182
3060
- #@ formidable
3061
- msgid "Failed or Duplicate Entry Message"
3062
- msgstr "Fehlgeschlagene oder doppelte Eintrags-Nachricht"
3063
-
3064
- #: classes/views/frm-settings/form.php:182
3065
  #@ formidable
3066
  msgid "The message seen when a form is submitted and passes validation, but something goes wrong."
3067
  msgstr "Die Nachricht, welche angezeigt wird, wenn das Formular übermittelt wird und die Überprüfung der Daten erfolgreich ist, jedoch irgendetwas schief läuft."
3068
 
3069
- #: classes/views/frm-settings/form.php:190
3070
  #@ formidable
3071
  msgid "Login Message"
3072
  msgstr "Login Mitteilung"
3073
 
3074
- #: classes/views/frm-settings/form.php:190
3075
  #@ formidable
3076
  msgid "The message seen when a user who is not logged-in views a form only logged-in users can submit."
3077
  msgstr "Die Mitteilung, die zu sehen ist, wenn ein Benutzer der nicht eingeloogt ist, ein Formular zu sehen versucht, dass nur für Eingeloggte sichtbar sein soll."
3078
 
3079
- #: classes/views/frm-settings/form.php:198
3080
  #@ formidable
3081
  msgid "Default Submit Button"
3082
  msgstr "Standard Senden Button"
3083
 
3084
- #: classes/views/frm-settings/form.php:230
3085
  #@ formidable
3086
  msgid "Uninstall Formidable"
3087
  msgstr "Formidable Deinstallieren"
3088
 
3089
- #: classes/views/frm-settings/form.php:247
3090
  #@ formidable
3091
  msgid "Are you sure you want to do this? Clicking OK will delete all forms, form data, and all other Formidable data. There is no Undo."
3092
  msgstr "Sidn Sie sicher, dass sie dies tun wollen? Wenn Sie OK klicken, werden alle Formulare, Formular- Daten und sämtliche Formidable- Daten gelöscht. Es gibt KEIN ZURÜCK!"
3093
 
3094
- #: classes/views/frm-statistics/list.php:3
3095
- #@ formidable
3096
- msgid "Form Statistics"
3097
- msgstr "Formular Statistiken"
3098
-
3099
- #: classes/views/shared/form-nav.php:4
3100
- #@ formidable
3101
- msgid "Displays"
3102
- msgstr "Anzeigen"
3103
-
3104
- #: classes/views/shared/form-nav.php:7
3105
  #@ formidable
3106
  msgid "Build"
3107
  msgstr "Erstelle"
3108
 
3109
- #: classes/views/shared/item-table-nav.php:6
3110
- #, php-format
3111
- #@ formidable
3112
- msgid "Displaying %1$s&#8211;%2$s of %3$s"
3113
- msgstr "Anzeigen von %1$s&#8211;%2$s of %3$s"
3114
-
3115
  #: classes/widgets/FrmShowForm.php:6
3116
  #@ formidable
3117
  msgid "Display a Formidable Form"
@@ -3123,7 +2690,7 @@ msgid "Formidable Form"
3123
  msgstr "Formidable Formular"
3124
 
3125
  #: classes/widgets/FrmShowForm.php:43
3126
- #: pro/classes/widgets/FrmListEntries.php:141
3127
  #@ formidable
3128
  msgid "Title"
3129
  msgstr "Titel"
@@ -3153,433 +2720,410 @@ msgstr "Formidable Tags"
3153
  msgid "Formidable Tag"
3154
  msgstr "Formidable Tag"
3155
 
3156
- #: pro/classes/controllers/FrmProDisplaysController.php:209
3157
  #@ formidable
3158
  msgid "Page"
3159
  msgstr "Seite"
3160
 
3161
- #: pro/classes/controllers/FrmProDisplaysController.php:210
3162
- #: pro/classes/controllers/FrmProDisplaysController.php:355
3163
- #: pro/classes/views/displays/mb_dyncontent.php:9
3164
- #: pro/classes/views/frmpro-fields/options-form.php:190
3165
  #@ formidable
3166
  msgid "Content"
3167
  msgstr "Inhalt"
3168
 
3169
- #: pro/classes/controllers/FrmProDisplaysController.php:211
3170
- #: pro/classes/views/displays/mb_dyncontent.php:31
3171
  #@ formidable
3172
  msgid "Dynamic Content"
3173
  msgstr "Dynamischer Inhalt"
3174
 
3175
- #: pro/classes/controllers/FrmProDisplaysController.php:215
3176
  #@ formidable
3177
  msgid "Shortcode"
3178
  msgstr "Shortcode"
3179
 
3180
- #: pro/classes/controllers/FrmProDisplaysController.php:853
3181
- #@ formidable
3182
- msgid "That is not a valid custom display ID"
3183
- msgstr "Dies ist keine gültige Individual-Anzeige ID"
3184
-
3185
- #: pro/classes/controllers/FrmProEntriesController.php:64
3186
- #@ formidable
3187
- msgid "Form Entries"
3188
- msgstr "Einträge"
3189
-
3190
- #: pro/classes/controllers/FrmProEntriesController.php:333
3191
  #@ formidable
3192
  msgid "Entry was Successfully Created"
3193
  msgstr "Der Eintrag wurde erfolgreich vorgenommen"
3194
 
3195
- #: pro/classes/controllers/FrmProEntriesController.php:358
3196
  #@ formidable
3197
  msgid "Entry was Successfully Updated"
3198
  msgstr "Der Eintrag wurde erfolgreich aktualisiert"
3199
 
3200
- #: pro/classes/controllers/FrmProEntriesController.php:358
3201
  #@ formidable
3202
  msgid "Back to Entries"
3203
  msgstr "Zurück zu den Einträgen"
3204
 
3205
- #: pro/classes/controllers/FrmProEntriesController.php:379
3206
  #@ formidable
3207
  msgid "All Fields are required"
3208
  msgstr "Alle Felder werden benötigt"
3209
 
3210
- #: pro/classes/controllers/FrmProEntriesController.php:433
3211
- #@ formidable
3212
- msgid "Step Two"
3213
- msgstr "Schritt Zwei"
3214
-
3215
- #: pro/classes/controllers/FrmProEntriesController.php:433
3216
- #: pro/classes/views/frmpro-entries/list.php:5
3217
- #: pro/classes/views/shared/import_form.php:11
3218
  #@ formidable
3219
  msgid "Import"
3220
  msgstr "Importierung"
3221
 
3222
- #: pro/classes/controllers/FrmProEntriesController.php:477
3223
  #@ formidable
3224
  msgid "Entry was Successfully Duplicated"
3225
  msgstr "Der Eintrag wurde erfolgreich dupliziert"
3226
 
3227
- #: pro/classes/controllers/FrmProEntriesController.php:479
3228
  #@ formidable
3229
  msgid "There was a problem duplicating that entry"
3230
  msgstr "Es trat ein Problem währen des Duplizierens des Eintrages auf"
3231
 
3232
- #: pro/classes/controllers/FrmProEntriesController.php:506
3233
  #@ formidable
3234
  msgid "Entry was Successfully Destroyed"
3235
  msgstr "Der Eintrag wurde erfolgreich zerstört"
3236
 
3237
- #: pro/classes/controllers/FrmProEntriesController.php:526
3238
  #@ formidable
3239
  msgid "Entries were Successfully Destroyed"
3240
  msgstr "Einträge wurden Erfolgreich Zerstört"
3241
 
3242
- #: pro/classes/controllers/FrmProEntriesController.php:529
3243
- #: pro/classes/controllers/FrmProEntriesController.php:551
3244
  #@ formidable
3245
  msgid "No entries were specified"
3246
  msgstr "Keine Einträge wurden festgelegt"
3247
 
3248
- #: pro/classes/controllers/FrmProEntriesController.php:584
3249
  #@ formidable
3250
  msgid "No form was found"
3251
  msgstr "Es wurde kein Formular gefunden"
3252
 
3253
- #: pro/classes/controllers/FrmProEntriesController.php:835
3254
  #@ formidable
3255
  msgid "Please wait while you are redirected."
3256
  msgstr "Bitte warten Sie, während Sie weitergeleitet werden."
3257
 
3258
- #: pro/classes/controllers/FrmProEntriesController.php:837
3259
  #, php-format
3260
  #@ formidable
3261
  msgid "%1$sClick here%2$s if you are not automatically redirected."
3262
  msgstr "%1$sKlicken Sie hier%2$s, wenn Sie nicht automatisch weitergeleitet werden."
3263
 
3264
- #: pro/classes/controllers/FrmProEntriesController.php:888
3265
  #@ formidable
3266
  msgid "Create Entry in Form"
3267
  msgstr "Erstelle Eintrag im Formular"
3268
 
3269
- #: pro/classes/controllers/FrmProEntriesController.php:931
3270
  #@ formidable
3271
  msgid "Copied from Post"
3272
  msgstr "Kopiert von einem Artikel"
3273
 
3274
- #: pro/classes/controllers/FrmProEntriesController.php:1039
3275
- #: pro/classes/views/frmpro-entries/show.php:60
3276
  #@ formidable
3277
  msgid "Post"
3278
  msgstr "Artikel"
3279
 
3280
- #: pro/classes/controllers/FrmProDisplaysController.php:804
3281
- #: pro/classes/controllers/FrmProEntriesController.php:1040
3282
- #: pro/classes/helpers/FrmProAppHelper.php:268
3283
- #: pro/classes/helpers/FrmProFieldsHelper.php:1523
3284
- #: pro/classes/helpers/FrmProListHelper.php:126
3285
- #: pro/classes/views/displays/mb_advanced.php:11
3286
  #: pro/classes/views/displays/mb_form_disp_type.php:26
3287
- #: pro/classes/views/displays/mb_form_disp_type.php:34
3288
- #: pro/classes/views/displays/where_row.php:6
 
3289
  #@ formidable
3290
  msgid "Entry creation date"
3291
  msgstr "Eintrags-Erstellungsdatum"
3292
 
3293
- #: pro/classes/controllers/FrmProDisplaysController.php:805
3294
- #: pro/classes/controllers/FrmProEntriesController.php:1041
3295
- #: pro/classes/helpers/FrmProFieldsHelper.php:1524
3296
- #: pro/classes/views/displays/mb_advanced.php:12
3297
  #: pro/classes/views/displays/mb_form_disp_type.php:27
3298
- #: pro/classes/views/displays/mb_form_disp_type.php:35
 
3299
  #@ formidable
3300
  msgid "Entry update date"
3301
  msgstr "Aktualisierungsdatum des Eintrags"
3302
 
3303
- #: pro/classes/controllers/FrmProEntriesController.php:1501
3304
- #: pro/classes/helpers/FrmProDisplaysHelper.php:53
3305
- #: pro/classes/helpers/FrmProListHelper.php:82
3306
- #: pro/classes/views/frmpro-entries/list.php:49
3307
  #@ formidable
3308
  msgid "No Entries Found"
3309
  msgstr "Keine Einträge gefunden"
3310
 
3311
- #: pro/classes/controllers/FrmProEntriesController.php:1615
3312
- #: pro/classes/controllers/FrmProEntriesController.php:1889
3313
- #: pro/classes/views/frmpro-entries/list.php:100
3314
  #: pro/classes/views/frmpro-entries/sidebar-show.php:17
3315
  #@ formidable
3316
  msgid "Are you sure you want to delete that entry?"
3317
  msgstr "Sind Sie sicher, dass Sie den Eintrag löschen wollen?"
3318
 
3319
- #: pro/classes/controllers/FrmProEntriesController.php:1907
3320
- #: pro/classes/controllers/FrmProEntriesController.php:2183
3321
  #@ formidable
3322
  msgid "Your entry was successfully deleted"
3323
  msgstr "Ihr Eintrag wurde erfolgreich gelöscht"
3324
 
3325
- #: pro/classes/controllers/FrmProEntriesController.php:2170
3326
  #@ formidable
3327
  msgid "There was an error deleting that entry"
3328
  msgstr "Es gab einen Fehler beim Löschen des Eintrages"
3329
 
3330
- #: pro/classes/controllers/FrmProEntriesController.php:2302
3331
- #@ formidable
3332
- msgid "No one! You do not have permission"
3333
- msgstr "Niemand! Sie haben keine Erlaubnis"
3334
-
3335
- #: pro/classes/controllers/FrmProFieldsController.php:255
3336
  #@ formidable
3337
  msgid "Option Label"
3338
  msgstr "Option Beschriftung"
3339
 
3340
  #: pro/classes/controllers/FrmProDisplaysController.php:488
3341
- #: pro/classes/controllers/FrmProFieldsController.php:256
3342
  #@ formidable
3343
  msgid "Saved Value"
3344
  msgstr "Gespeicherter Wert"
3345
 
3346
- #: pro/classes/controllers/FrmProFieldsController.php:301
3347
  #@ formidable
3348
  msgid "English/Western"
3349
  msgstr "Englisch/Westlich"
3350
 
3351
- #: pro/classes/controllers/FrmProFieldsController.php:301
3352
  #@ formidable
3353
  msgid "Afrikaans"
3354
  msgstr "Afrikanisch"
3355
 
3356
- #: pro/classes/controllers/FrmProFieldsController.php:302
3357
  #@ formidable
3358
  msgid "Albanian"
3359
  msgstr "Albanisch"
3360
 
3361
- #: pro/classes/controllers/FrmProFieldsController.php:302
3362
  #@ formidable
3363
  msgid "Arabic"
3364
  msgstr "Arabisch"
3365
 
3366
- #: pro/classes/controllers/FrmProFieldsController.php:303
3367
  #@ formidable
3368
  msgid "Armenian"
3369
  msgstr "Armenisch"
3370
 
3371
- #: pro/classes/controllers/FrmProFieldsController.php:303
3372
  #@ formidable
3373
  msgid "Azerbaijani"
3374
  msgstr "Aserbaidschanisch"
3375
 
3376
- #: pro/classes/controllers/FrmProFieldsController.php:304
3377
  #@ formidable
3378
  msgid "Basque"
3379
  msgstr "Baskisch"
3380
 
3381
- #: pro/classes/controllers/FrmProFieldsController.php:304
3382
  #@ formidable
3383
  msgid "Bosnian"
3384
  msgstr "Bosnisch"
3385
 
3386
- #: pro/classes/controllers/FrmProFieldsController.php:305
3387
  #@ formidable
3388
  msgid "Bulgarian"
3389
  msgstr "Bulgarisch"
3390
 
3391
- #: pro/classes/controllers/FrmProFieldsController.php:305
3392
  #@ formidable
3393
  msgid "Catalan"
3394
  msgstr "Kataln"
3395
 
3396
- #: pro/classes/controllers/FrmProFieldsController.php:306
3397
  #@ formidable
3398
  msgid "Chinese Hong Kong"
3399
  msgstr "Hong Kong Chinesisch"
3400
 
3401
- #: pro/classes/controllers/FrmProFieldsController.php:306
3402
  #@ formidable
3403
  msgid "Chinese Simplified"
3404
  msgstr "Chinesisch vereinfacht"
3405
 
3406
- #: pro/classes/controllers/FrmProFieldsController.php:307
3407
  #@ formidable
3408
  msgid "Chinese Traditional"
3409
  msgstr "Traditionelles Chinesisch"
3410
 
3411
- #: pro/classes/controllers/FrmProFieldsController.php:307
3412
  #@ formidable
3413
  msgid "Croatian"
3414
  msgstr "Kroatisch"
3415
 
3416
- #: pro/classes/controllers/FrmProFieldsController.php:308
3417
  #@ formidable
3418
  msgid "Czech"
3419
  msgstr "Tschechisch"
3420
 
3421
- #: pro/classes/controllers/FrmProFieldsController.php:308
3422
  #@ formidable
3423
  msgid "Danish"
3424
  msgstr "Dänisch"
3425
 
3426
- #: pro/classes/controllers/FrmProFieldsController.php:309
3427
  #@ formidable
3428
  msgid "English/UK"
3429
  msgstr "Britisches Englisch"
3430
 
3431
- #: pro/classes/controllers/FrmProFieldsController.php:310
3432
  #@ formidable
3433
  msgid "Esperanto"
3434
  msgstr "Esperanto"
3435
 
3436
- #: pro/classes/controllers/FrmProFieldsController.php:310
3437
  #@ formidable
3438
  msgid "Estonian"
3439
  msgstr "Estländisch"
3440
 
3441
- #: pro/classes/controllers/FrmProFieldsController.php:311
3442
  #@ formidable
3443
  msgid "Faroese"
3444
  msgstr "Färöisch"
3445
 
3446
- #: pro/classes/controllers/FrmProFieldsController.php:311
3447
  #@ formidable
3448
  msgid "Farsi/Persian"
3449
  msgstr "Farsi/Persisch"
3450
 
3451
- #: pro/classes/controllers/FrmProFieldsController.php:312
3452
  #@ formidable
3453
  msgid "Finnish"
3454
  msgstr "Finnisch"
3455
 
3456
- #: pro/classes/controllers/FrmProFieldsController.php:313
3457
  #@ formidable
3458
  msgid "French/Swiss"
3459
  msgstr "Französisch/Schweiz"
3460
 
3461
- #: pro/classes/controllers/FrmProFieldsController.php:314
3462
  #@ formidable
3463
  msgid "Greek"
3464
  msgstr "Griechisch"
3465
 
3466
- #: pro/classes/controllers/FrmProFieldsController.php:314
3467
  #@ formidable
3468
  msgid "Hebrew"
3469
  msgstr "Hebräisch"
3470
 
3471
- #: pro/classes/controllers/FrmProFieldsController.php:315
3472
  #@ formidable
3473
  msgid "Hungarian"
3474
  msgstr "Ungarisch"
3475
 
3476
- #: pro/classes/controllers/FrmProFieldsController.php:315
3477
  #@ formidable
3478
  msgid "Icelandic"
3479
  msgstr "Isländisch"
3480
 
3481
- #: pro/classes/controllers/FrmProFieldsController.php:316
3482
  #@ formidable
3483
  msgid "Italian"
3484
  msgstr "Italienisch"
3485
 
3486
- #: pro/classes/controllers/FrmProFieldsController.php:316
3487
  #@ formidable
3488
  msgid "Japanese"
3489
  msgstr "Japanisch"
3490
 
3491
- #: pro/classes/controllers/FrmProFieldsController.php:317
3492
  #@ formidable
3493
  msgid "Korean"
3494
  msgstr "Koreanisch"
3495
 
3496
- #: pro/classes/controllers/FrmProFieldsController.php:317
3497
  #@ formidable
3498
  msgid "Latvian"
3499
  msgstr "Lettisch"
3500
 
3501
- #: pro/classes/controllers/FrmProFieldsController.php:318
3502
  #@ formidable
3503
  msgid "Lithuanian"
3504
  msgstr "Litauisch"
3505
 
3506
- #: pro/classes/controllers/FrmProFieldsController.php:318
3507
  #@ formidable
3508
  msgid "Malaysian"
3509
  msgstr "Malaiisch"
3510
 
3511
- #: pro/classes/controllers/FrmProFieldsController.php:319
3512
  #@ formidable
3513
  msgid "Norwegian"
3514
  msgstr "Norwegisch"
3515
 
3516
- #: pro/classes/controllers/FrmProFieldsController.php:319
3517
  #@ formidable
3518
  msgid "Polish"
3519
  msgstr "Polnisch"
3520
 
3521
- #: pro/classes/controllers/FrmProFieldsController.php:320
3522
  #@ formidable
3523
  msgid "Portuguese/Brazilian"
3524
  msgstr "Portugiesisch/ Brasilianisch"
3525
 
3526
- #: pro/classes/controllers/FrmProFieldsController.php:320
3527
  #@ formidable
3528
  msgid "Romanian"
3529
  msgstr "Rumänisch"
3530
 
3531
- #: pro/classes/controllers/FrmProFieldsController.php:321
3532
- #: pro/classes/controllers/FrmProFieldsController.php:322
3533
  #@ formidable
3534
  msgid "Serbian"
3535
  msgstr "Serbisch"
3536
 
3537
- #: pro/classes/controllers/FrmProFieldsController.php:322
3538
  #@ formidable
3539
  msgid "Slovak"
3540
  msgstr "Slovakisch"
3541
 
3542
- #: pro/classes/controllers/FrmProFieldsController.php:323
3543
  #@ formidable
3544
  msgid "Slovenian"
3545
  msgstr "Slovenisch"
3546
 
3547
- #: pro/classes/controllers/FrmProFieldsController.php:324
3548
  #@ formidable
3549
  msgid "Swedish"
3550
  msgstr "Schwedisch"
3551
 
3552
- #: pro/classes/controllers/FrmProFieldsController.php:324
3553
  #@ formidable
3554
  msgid "Tamil"
3555
  msgstr "Tamilisch"
3556
 
3557
- #: pro/classes/controllers/FrmProFieldsController.php:325
3558
  #@ formidable
3559
  msgid "Thai"
3560
  msgstr "Thai"
3561
 
3562
- #: pro/classes/controllers/FrmProFieldsController.php:326
3563
  #@ formidable
3564
  msgid "Ukranian"
3565
  msgstr "Ukrainisch"
3566
 
3567
- #: pro/classes/controllers/FrmProFieldsController.php:326
3568
  #@ formidable
3569
  msgid "Vietnamese"
3570
  msgstr "Vietnamesisch"
3571
 
3572
- #: pro/classes/controllers/FrmProFormsController.php:54
3573
  #@ formidable
3574
  msgid "No forms were specified"
3575
  msgstr "Es wurden keine Formulare spezifiziert"
3576
 
3577
- #: pro/classes/controllers/FrmProFormsController.php:193
3578
  #@ formidable
3579
  msgid "Current Date"
3580
  msgstr "Aktuelles Datum"
3581
 
3582
- #: pro/classes/controllers/FrmProFormsController.php:194
3583
  #@ formidable
3584
  msgid "Current Time"
3585
  msgstr "Aktuelle Zeit"
@@ -3590,466 +3134,423 @@ msgid "User Login"
3590
  msgstr "Benutzer - Login"
3591
 
3592
  #: pro/classes/controllers/FrmProDisplaysController.php:497
3593
- #: pro/classes/controllers/FrmProFormsController.php:200
3594
- #: pro/classes/models/FrmProField.php:45
3595
- #: pro/classes/models/FrmProForm.php:208
3596
  #@ formidable
3597
  msgid "User ID"
3598
  msgstr "Benutzer ID"
3599
 
3600
- #: pro/classes/controllers/FrmProFormsController.php:201
3601
  #@ formidable
3602
  msgid "User Meta"
3603
  msgstr "Benutzer Meta"
3604
 
3605
- #: pro/classes/controllers/FrmProFormsController.php:202
3606
- #: pro/classes/helpers/FrmProFieldsHelper.php:1521
3607
- #: pro/classes/views/frmpro-entries/import.php:106
3608
  #: pro/classes/views/shared/mb_adv_info.php:65
 
3609
  #@ formidable
3610
  msgid "Post ID"
3611
  msgstr "Beitrags ID"
3612
 
3613
- #: pro/classes/controllers/FrmProFormsController.php:203
3614
  #: pro/classes/views/frmpro-forms/comment_options.php:15
3615
  #: pro/classes/views/frmpro-forms/post_options.php:46
3616
  #@ formidable
3617
  msgid "Post Title"
3618
  msgstr "Beitrags-Titel"
3619
 
3620
- #: pro/classes/controllers/FrmProFormsController.php:204
3621
  #: pro/classes/views/frmpro-forms/comment_options.php:18
3622
  #@ formidable
3623
  msgid "Author Email"
3624
  msgstr "Autor Email"
3625
 
3626
- #: pro/classes/controllers/FrmProFormsController.php:205
3627
  #@ formidable
3628
  msgid "Post Meta"
3629
  msgstr "Artikel Meta"
3630
 
3631
- #: pro/classes/controllers/FrmProFormsController.php:207
3632
- #@ formidable
3633
- msgid "Auto Increment"
3634
- msgstr "Automatischer Zuwachs"
3635
-
3636
- #: pro/classes/controllers/FrmProFormsController.php:217
3637
- #@ formidable
3638
- msgid "You do not have WPML installed"
3639
- msgstr "Sie haben WPML nicht installiert"
3640
-
3641
- #: pro/classes/controllers/FrmProStatisticsController.php:507
3642
  #@ formidable
3643
  msgid "Completed"
3644
  msgstr "Beendet"
3645
 
3646
- #: pro/classes/controllers/FrmProStatisticsController.php:507
3647
  #@ formidable
3648
  msgid "Not Completed"
3649
  msgstr "Nicht beendet"
3650
 
3651
- #: pro/classes/controllers/FrmProStatisticsController.php:514
3652
  #@ formidable
3653
  msgid "Deleted User"
3654
  msgstr "Gelöschte Benützer"
3655
 
3656
- #: pro/classes/controllers/FrmProStatisticsController.php:875
3657
  #@ formidable
3658
  msgid "Monthly Entries"
3659
  msgstr "Monatliche Einträge"
3660
 
3661
- #: pro/classes/controllers/FrmProStatisticsController.php:878
3662
  #@ formidable
3663
  msgid "Yearly Entries"
3664
  msgstr "Jährliche Einträge"
3665
 
3666
- #: pro/classes/controllers/FrmProStatisticsController.php:872
3667
  #@ formidable
3668
  msgid "Hourly Entries"
3669
  msgstr "Stündliche Einträge"
3670
 
3671
- #: pro/classes/controllers/FrmProStatisticsController.php:881
3672
  #@ formidable
3673
  msgid "Daily Entries"
3674
  msgstr "Tägliche Einträge"
3675
 
3676
- #: pro/classes/helpers/FrmProAppHelper.php:111
3677
  #@ formidable
3678
  msgid "at"
3679
  msgstr "um"
3680
 
3681
- #: pro/classes/helpers/FrmProAppHelper.php:123
3682
  #@ formidable
3683
  msgid "year"
3684
  msgstr "Jahr"
3685
 
3686
- #: pro/classes/helpers/FrmProAppHelper.php:123
3687
  #@ formidable
3688
  msgid "years"
3689
  msgstr "Jahre"
3690
 
3691
- #: pro/classes/helpers/FrmProAppHelper.php:124
3692
  #@ formidable
3693
  msgid "month"
3694
  msgstr "Monat"
3695
 
3696
- #: pro/classes/helpers/FrmProAppHelper.php:124
3697
  #@ formidable
3698
  msgid "months"
3699
  msgstr "Monate"
3700
 
3701
- #: pro/classes/helpers/FrmProAppHelper.php:125
3702
  #@ formidable
3703
  msgid "week"
3704
  msgstr "Woche"
3705
 
3706
- #: pro/classes/helpers/FrmProAppHelper.php:125
3707
  #@ formidable
3708
  msgid "weeks"
3709
  msgstr "Wochen"
3710
 
3711
- #: pro/classes/helpers/FrmProAppHelper.php:126
3712
  #@ formidable
3713
  msgid "day"
3714
  msgstr "Tag"
3715
 
3716
- #: pro/classes/helpers/FrmProAppHelper.php:126
3717
  #@ formidable
3718
  msgid "days"
3719
  msgstr "Tage"
3720
 
3721
- #: pro/classes/helpers/FrmProAppHelper.php:127
3722
  #@ formidable
3723
  msgid "hour"
3724
  msgstr "Stunde"
3725
 
3726
- #: pro/classes/helpers/FrmProAppHelper.php:127
3727
- #: pro/classes/views/frmpro-forms/add_form_options.php:59
3728
  #@ formidable
3729
  msgid "hours"
3730
  msgstr "Stunden"
3731
 
3732
- #: pro/classes/helpers/FrmProAppHelper.php:128
3733
  #@ formidable
3734
  msgid "minute"
3735
  msgstr "Minute"
3736
 
3737
- #: pro/classes/helpers/FrmProAppHelper.php:128
3738
  #@ formidable
3739
  msgid "minutes"
3740
  msgstr "Minuten"
3741
 
3742
- #: pro/classes/helpers/FrmProAppHelper.php:129
3743
  #@ formidable
3744
  msgid "second"
3745
  msgstr "Sekunde"
3746
 
3747
- #: pro/classes/helpers/FrmProAppHelper.php:129
3748
- #: pro/classes/helpers/FrmProAppHelper.php:160
 
3749
  #@ formidable
3750
  msgid "seconds"
3751
  msgstr "Sekunden"
3752
 
3753
- #: pro/classes/helpers/FrmProAppHelper.php:236
3754
  #@ formidable
3755
  msgid "Bulk Actions"
3756
  msgstr "Stapel Aktionen"
3757
 
3758
- #: pro/classes/helpers/FrmProAppHelper.php:240
3759
- #: pro/classes/helpers/FrmProListHelper.php:150
3760
  #@ formidable
3761
  msgid "Export to CSV"
3762
  msgstr "Exportiere als CSV"
3763
 
3764
- #: pro/classes/helpers/FrmProAppHelper.php:243
3765
  #@ formidable
3766
  msgid "Apply"
3767
  msgstr "Übernehmen"
3768
 
3769
- #: pro/classes/helpers/FrmProAppHelper.php:267
3770
- #: pro/classes/helpers/FrmProListHelper.php:125
3771
  #@ formidable
3772
  msgid "All Fields"
3773
  msgstr "Alle Felder"
3774
 
3775
- #: pro/classes/helpers/FrmProAppHelper.php:277
3776
- #: pro/classes/helpers/FrmProListHelper.php:135
3777
  #@ formidable
3778
  msgid "Reset"
3779
  msgstr "Zurücksetzen"
3780
 
3781
- #: pro/classes/helpers/FrmProEntriesHelper.php:81
3782
- #@ formidable
3783
- msgid "Email Resent to"
3784
- msgstr "Email erneut senden an"
3785
-
3786
- #: pro/classes/helpers/FrmProEntriesHelper.php:104
3787
- #@ formidable
3788
- msgid "Add New Entry to this form"
3789
- msgstr "Neuen Eintrag zum Formular hinzufügen"
3790
-
3791
- #: pro/classes/helpers/FrmProEntryMetaHelper.php:281
3792
- #: pro/classes/helpers/FrmProEntryMetaHelper.php:310
3793
  #, php-format
3794
  #@ formidable
3795
  msgid "View all posts filed under %s"
3796
  msgstr "Alle Artikel ansehen, welche unter %s eingeordnet sind"
3797
 
3798
- #: pro/classes/helpers/FrmProFieldsHelper.php:593
3799
  #@ formidable
3800
  msgid "No Categories"
3801
  msgstr "Keine Kategorien"
3802
 
3803
- #: pro/classes/helpers/FrmProFieldsHelper.php:1036
3804
  #@ formidable
3805
  msgid "Edit Uploaded File"
3806
  msgstr "Hochgeladene Datei editieren"
3807
 
3808
- #: pro/classes/helpers/FrmProFieldsHelper.php:1517
 
3809
  #@ formidable
3810
  msgid "Select a value to insert into the box below"
3811
  msgstr "Wählen Sie einen Wert für die Eingabe in die Box darunter aus"
3812
 
3813
- #: pro/classes/helpers/FrmProFieldsHelper.php:1519
3814
- #: pro/classes/views/displays/where_row.php:8
3815
- #: pro/classes/views/frmpro-entries/show.php:82
 
3816
  #: pro/classes/views/shared/mb_adv_info.php:63
 
3817
  #@ formidable
3818
  msgid "Entry ID"
3819
  msgstr "Eintrags-ID"
3820
 
3821
- #: pro/classes/helpers/FrmProFieldsHelper.php:1522
3822
  #: pro/classes/views/shared/mb_adv_info.php:66
3823
  #@ formidable
3824
  msgid "User IP"
3825
  msgstr "Benutzer IP"
3826
 
3827
- #: pro/classes/helpers/FrmProFieldsHelper.php:1526
3828
  #@ formidable
3829
  msgid "Form Fields"
3830
  msgstr "Formular Felder"
3831
 
3832
- #: pro/classes/helpers/FrmProFieldsHelper.php:1538
3833
  #@ formidable
3834
  msgid "Thumbnail"
3835
  msgstr "Thumbnail"
3836
 
3837
- #: pro/classes/helpers/FrmProFieldsHelper.php:1539
3838
  #@ formidable
3839
  msgid "Medium"
3840
  msgstr "Mittel"
3841
 
3842
- #: pro/classes/helpers/FrmProFieldsHelper.php:1540
3843
  #@ formidable
3844
  msgid "Large"
3845
  msgstr "Groß"
3846
 
3847
- #: pro/classes/helpers/FrmProFieldsHelper.php:1541
3848
  #@ formidable
3849
  msgid "Full Size"
3850
  msgstr "Volle Größe"
3851
 
3852
- #: pro/classes/helpers/FrmProFieldsHelper.php:1561
3853
  #: pro/classes/views/shared/mb_adv_info.php:59
3854
  #@ formidable
3855
  msgid "Helpers"
3856
  msgstr "Helfer"
3857
 
3858
- #: pro/classes/helpers/FrmProFieldsHelper.php:1562
3859
  #@ formidable
3860
  msgid "Admin link to edit the entry"
3861
  msgstr "Admin Link zum Eintrag"
3862
 
3863
- #: pro/classes/helpers/FrmProFieldsHelper.php:1564
3864
  #@ formidable
3865
  msgid "Link to view single page if showing dynamic entries"
3866
  msgstr "Link zu einzelner Seite, wenn Dynamische Einträge gezeigt werden"
3867
 
3868
- #: pro/classes/helpers/FrmProFieldsHelper.php:1568
3869
  #@ formidable
3870
  msgid "Add a rotating 'even' or 'odd' class"
3871
  msgstr "Fügen Sie eine wechselnde 'even' or 'odd' Klasse hinzu"
3872
 
3873
- #: pro/classes/helpers/FrmProFieldsHelper.php:1570
3874
  #@ formidable
3875
  msgid "Default Email Message"
3876
  msgstr "Standard Email Nachricht"
3877
 
3878
- #: pro/classes/helpers/FrmProFieldsHelper.php:1572
3879
  #: pro/classes/views/shared/mb_adv_info.php:70
3880
  #@ formidable
3881
  msgid "Site URL"
3882
  msgstr "Seiten URL"
3883
 
3884
- #: pro/classes/helpers/FrmProFieldsHelper.php:1573
3885
  #: pro/classes/views/shared/mb_adv_info.php:71
3886
  #@ formidable
3887
  msgid "Site Name"
3888
  msgstr "Webseiten Name"
3889
 
3890
- #: pro/classes/controllers/FrmProDisplaysController.php:63
3891
- #@ formidable
3892
- msgid "No Custom Displays Found."
3893
- msgstr "Keine Benutzerdefinierten Anzeigen Gefunden."
3894
-
3895
- #: pro/classes/models/FrmProDisplay.php:259
3896
  #@ formidable
3897
  msgid "Name cannot be blank"
3898
  msgstr "Name darf nicht leer bleiben"
3899
 
3900
- #: pro/classes/models/FrmProDisplay.php:261
3901
  #: pro/classes/views/displays/mb_excerpt.php:2
3902
  #@ formidable
3903
  msgid "This is not displayed anywhere, but is just for your reference. (optional)"
3904
  msgstr "Dies wird nirgendwo angezeigt, es dient nur als Hinweis für Sie. (Optional)"
3905
 
3906
- #: pro/classes/models/FrmProDisplay.php:265
3907
  #@ formidable
3908
  msgid "Content cannot be blank"
3909
  msgstr "Inhalt darf nicht leer bleiben"
3910
 
3911
- #: pro/classes/models/FrmProDisplay.php:268
3912
  #@ formidable
3913
  msgid "Page cannot be blank if you want the content inserted automatically"
3914
  msgstr "Die Seite darf nicht ller sein, wenn Inhalt automatisch eingesetzt werden soll"
3915
 
3916
- #: pro/classes/models/FrmProDisplay.php:271
3917
  #@ formidable
3918
  msgid "Limit must be a number"
3919
  msgstr "Das Limit muss eine Zahl sein"
3920
 
3921
- #: pro/classes/models/FrmProDisplay.php:275
3922
  #@ formidable
3923
  msgid "Dynamic Content cannot be blank"
3924
  msgstr "Dynamischer Inhalt darf nicht leer bleiben"
3925
 
3926
- #: pro/classes/models/FrmProDisplay.php:279
3927
  #@ formidable
3928
  msgid "Parameter Name cannot be blank if content is dynamic"
3929
  msgstr "Parameter Name darf nicht leer bleiben, wenn der Inhalt dynamisch ist"
3930
 
3931
- #: pro/classes/models/FrmProDisplay.php:282
3932
  #@ formidable
3933
  msgid "Parameter Value cannot be blank if content is dynamic"
3934
  msgstr "Parameter Wert darf nicht leer bleiben, wenn der Inhalt dynamisch ist"
3935
 
3936
- #: pro/classes/models/FrmProDisplay.php:285
3937
  #@ formidable
3938
  msgid "Detail Link cannot be blank if content is dynamic"
3939
  msgstr "Detail Link darf nicht leer bleiben, wenn der Inhalt dynamisch ist"
3940
 
3941
- #: pro/classes/helpers/FrmProFieldsHelper.php:759
3942
  #@ formidable
3943
  msgid "must be unique"
3944
  msgstr "muss einzigartig sein"
3945
 
3946
- #: pro/classes/models/FrmProEntryMeta.php:253
3947
  #@ formidable
3948
  msgid "Sorry, this file type is not permitted for security reasons."
3949
  msgstr "Entschuldigung, dieser Datei- Typ ist aus Sicherheitsgründen verboten."
3950
 
3951
- #: pro/classes/models/FrmProForm.php:117
3952
  #@ formidable
3953
  msgid "Status"
3954
  msgstr "Status"
3955
 
3956
- #: pro/classes/models/FrmProForm.php:135
3957
  #@ formidable
3958
  msgid "Single"
3959
  msgstr "Einzel"
3960
 
3961
- #: pro/classes/models/FrmProForm.php:136
3962
  #@ formidable
3963
  msgid "Used for the single post page"
3964
  msgstr "Benützt für die Einzelartikel-Seite"
3965
 
3966
- #: pro/classes/models/FrmProForm.php:137
3967
  #@ formidable
3968
  msgid "Add content here if you would like to use this as a listing page."
3969
  msgstr "Fügen Sie hier einen Inhalt hinzu, wenn Sie dies als Auflistungsseite verwenden wollen."
3970
 
3971
- #: pro/classes/models/FrmProForm.php:215
3972
  #@ formidable
3973
  msgid "Please insert a message for your auto responder."
3974
  msgstr "Bitte fügen Sie für den Autoresponder eine Nachricht ein."
3975
 
3976
- #: pro/classes/models/FrmProForm.php:217
3977
  #@ formidable
3978
  msgid "That is not a valid reply-to email address for your auto responder."
3979
  msgstr "Dies ist keine gültige Antwort- Emailadresse für Ihren Autoresponder."
3980
 
3981
- #: pro/classes/models/FrmProSettings.php:110
3982
  #@ formidable
3983
  msgid "You have already submitted that form"
3984
  msgstr "Dieses Formular haben Sie bereits ausgefüllt"
3985
 
3986
- #: pro/classes/models/FrmProSettings.php:201
3987
  #@ formidable
3988
  msgid "Your submission was successfully saved."
3989
  msgstr "Ihre Eingabe wurde erfolgreich gespeichert."
3990
 
3991
- #: pro/classes/controllers/FrmProDisplaysController.php:64
3992
- #@ formidable
3993
- msgid "Edit Custom Display"
3994
- msgstr "Bearbeite Individual-Anzeige"
3995
-
3996
- #: pro/classes/views/displays/sidebar.php:3
3997
- #@ formidable
3998
- msgid "Shortcode Options"
3999
- msgstr "Shortcode Optionen"
4000
-
4001
- #: pro/classes/views/displays/mb_advanced.php:68
4002
- #@ formidable
4003
- msgid "Insert display"
4004
- msgstr "Anzeige einfügen"
4005
-
4006
- #: pro/classes/views/displays/mb_advanced.php:73
4007
  #@ formidable
4008
  msgid "After page content"
4009
  msgstr "Nach Seiteninhalt"
4010
 
4011
- #: pro/classes/views/displays/mb_advanced.php:74
4012
  #@ formidable
4013
  msgid "Before page content"
4014
  msgstr "Vor Seiteninhalt"
4015
 
4016
- #: pro/classes/views/displays/mb_advanced.php:75
4017
  #@ formidable
4018
  msgid "Replace page content"
4019
  msgstr "Seiten-Inhalt ersetzen"
4020
 
4021
- #: pro/classes/views/displays/mb_advanced.php:72
4022
  #@ formidable
4023
  msgid "Don't insert automatically"
4024
  msgstr "Nicht automatisch einfügen"
4025
 
4026
- #: pro/classes/views/displays/mb_advanced.php:79
4027
  #@ formidable
4028
  msgid "on page"
4029
  msgstr "auf Seite"
4030
 
4031
- #: pro/classes/views/displays/mb_advanced.php:81
4032
  #@ formidable
4033
  msgid "If you would like the content to be inserted automatically, you must then select the page in which to insert it."
4034
  msgstr "Wenn Sie den Inhalt automtisch hinzufügen lassen wollen, müssen Sie die Seite wählen, in welcher das passiert."
4035
 
4036
- #: pro/classes/views/displays/mb_advanced.php:84
4037
- #: pro/classes/views/frmpro-entries/show.php:61
4038
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:9
4039
  #@ formidable
4040
  msgid "View Post"
4041
  msgstr "Betrachte Artikel"
4042
 
4043
- #: pro/classes/views/displays/mb_advanced.php:88
4044
  #@ formidable
4045
  msgid "Insert position"
4046
  msgstr "Position einfügen"
4047
 
4048
- #: pro/classes/views/displays/mb_advanced.php:88
4049
- #@ formidable
4050
- msgid "If the custom display doesn't show automatically when it should, insert a higher number here."
4051
- msgstr "Wenn die Individual-Anzeige nicht automatisch erscheint, obwohl sie erscheinen sollte, dann geben Sie hier eine höhere Nummer ein."
4052
-
4053
  #: pro/classes/views/displays/submitbox_actions.php:5
4054
  #@ formidable
4055
  msgid "Insert on a page, post, or text widget"
@@ -4066,12 +3567,6 @@ msgstr "Speichern um die ID zu erhalten"
4066
  msgid "Insert in a template"
4067
  msgstr "In eine Vorlage einfügen"
4068
 
4069
- #: pro/classes/views/displays/sidebar.php:10
4070
- #, php-format
4071
- #@ formidable
4072
- msgid "Are you sure you want to delete your %1$s display?"
4073
- msgstr "Sind Sie sicher, dass Sie Ihre Individual-Anzeige %1$s löschen wollen?"
4074
-
4075
  #: pro/classes/views/displays/mb_form_disp_type.php:3
4076
  #@ formidable
4077
  msgid "Use Entries from Form"
@@ -4087,11 +3582,6 @@ msgstr "Eintrag auswählen"
4087
  msgid "The first one depending on the Order specified below"
4088
  msgstr "Erstes in der Reihe, abhängig von der Ordnung, die darunter festgelegt wurde"
4089
 
4090
- #: pro/classes/views/displays/mb_form_disp_type.php:8
4091
- #@ formidable
4092
- msgid "Display Format"
4093
- msgstr "Anzeige Format"
4094
-
4095
  #: pro/classes/views/displays/mb_form_disp_type.php:11
4096
  #@ formidable
4097
  msgid "All Entries &mdash; list all entries in the specified form"
@@ -4117,76 +3607,71 @@ msgstr "Kalender &mdash; Fügen Sie Einträge in einen Kalender ein"
4117
  msgid "Date Field"
4118
  msgstr "Datumsfeld"
4119
 
4120
- #: pro/classes/views/displays/mb_form_disp_type.php:31
4121
  #@ formidable
4122
  msgid "End Date or day count"
4123
  msgstr "Fristende oder Anzahl der Tage"
4124
 
4125
- #: pro/classes/views/displays/mb_form_disp_type.php:33
4126
  #@ formidable
4127
  msgid "No multi-day events"
4128
  msgstr "Keine mehrtägigen Events"
4129
 
4130
- #: pro/classes/views/displays/mb_form_disp_type.php:42
4131
  #@ formidable
4132
  msgid "Detail Link"
4133
  msgstr "Detail Link"
4134
 
4135
- #: pro/classes/views/displays/mb_form_disp_type.php:42
4136
  #, php-format
4137
  #@ formidable
4138
  msgid "Example: If parameter name is 'contact', the url would be like %1$s/selected-page?contact=2. If this entry is linked to a post, the post permalink will be used instead."
4139
  msgstr "Beispiel: Wenn der Parameter Name 'kontakt' ist, wäre die URL z.B. %1$s/selected-page?kontakt=2. Falls der Eintrag zu einem Beitrag verlinkt wird, wird der Beitrags- Permalink anstatt dessen verwendet."
4140
 
4141
- #: pro/classes/views/displays/mb_form_disp_type.php:49
4142
  #, php-format
4143
  #@ formidable
4144
  msgid "Select the value that will be added onto the page URL. This will create a pretty URL like %1$s/selected-page/entry-key"
4145
  msgstr "Wählen Sie den Wert der an die Seiten-URL angehängt wird. Das wird eine URL produzieren, wie %1$s/gewaehlte-seite/eintrags-schluessel"
4146
 
4147
- #: pro/classes/views/displays/mb_form_disp_type.php:51
4148
  #@ formidable
4149
  msgid "Parameter Name"
4150
  msgstr "Parameter Name"
4151
 
4152
- #: pro/classes/views/displays/mb_form_disp_type.php:54
4153
  #@ formidable
4154
  msgid "Parameter Value"
4155
  msgstr "Parameter Wert"
4156
 
4157
- #: pro/classes/views/displays/mb_dyncontent.php:2
4158
  #@ formidable
4159
  msgid "Before Content"
4160
  msgstr "Vor Inhalt"
4161
 
4162
- #: pro/classes/views/displays/mb_dyncontent.php:2
4163
  #@ formidable
4164
  msgid "This content will not be repeated. This would be a good place to put any HTML table tags."
4165
  msgstr "Dieser Inhalt wird nicht wiederholt. Es wäre eine gute Stelle um beliebigen HTML Tabellen Code einzufügen."
4166
 
4167
- #: pro/classes/views/displays/mb_dyncontent.php:2
4168
- #: pro/classes/views/displays/mb_dyncontent.php:24
4169
  #: pro/classes/views/frmpro-forms/comment_options.php:23
4170
  #@ formidable
4171
  msgid "optional"
4172
  msgstr "optional"
4173
 
4174
- #: pro/classes/views/displays/mb_dyncontent.php:9
4175
- #@ formidable
4176
- msgid "The HTML for your page. If 'All Entries' is selected above, this content will be repeated for each entry. The field ID and Key work synonymously, although there are times one choice may be better. If you are panning to copy your custom display settings to other blogs, use the Key since they will be copied and the ids may differ from blog to blog."
4177
- msgstr "Der HTML für Ihre Seite. Wenn 'Alle Einträge' oben ausgewählt ist, wird dieser Inhalt für alle Einträge wiederholt werden. Die Feld- ID und Schlüssel funktionieren gleich, aber in manchen Situationen ist die eine der anderen Zuordnung vorzuziehen. Wenn sie bspw. planen Ihre Individual- Anzeigen auf anderen Blogs zu verwenden, verwenden sie den Feld- Schlüsssel, weil der Schlüssel kopiert wird, die ID aber von Blog zu Blog unterschiedlich sein könnte."
4178
-
4179
- #: pro/classes/views/displays/mb_dyncontent.php:24
4180
  #@ formidable
4181
  msgid "After Content"
4182
  msgstr "Nach Inhalt"
4183
 
4184
- #: pro/classes/views/displays/mb_dyncontent.php:24
4185
  #@ formidable
4186
  msgid "This content will not be repeated. This would be a good place to close any HTML tags from the Before Content field."
4187
  msgstr "Dieser Inhalt wird nicht wiederholt werden. Dies wäre eine gute Stelle um HTML Tags zu schliessen, die sie bei 'Vor Inhalt' eingefügt haben."
4188
 
4189
- #: pro/classes/views/displays/mb_dyncontent.php:31
4190
  #, php-format
4191
  #@ formidable
4192
  msgid "The HTML for the entry on the dynamic page. This content will NOT be repeated, and will only show when the %1$s is clicked."
@@ -4202,59 +3687,52 @@ msgstr "Fortgeschritten"
4202
  msgid "Order"
4203
  msgstr "Reihenfolge"
4204
 
4205
- #: pro/classes/views/displays/mb_advanced.php:10
4206
  #@ formidable
4207
  msgid "Random"
4208
  msgstr "Zufällig"
4209
 
4210
- #: pro/classes/views/displays/mb_advanced.php:18
4211
  #@ formidable
4212
  msgid "Ascending"
4213
  msgstr "Aufsteigend"
4214
 
4215
- #: pro/classes/views/displays/mb_advanced.php:19
4216
  #@ formidable
4217
  msgid "Descending"
4218
  msgstr "Absteigend"
4219
 
4220
- #: pro/classes/views/displays/mb_advanced.php:26
4221
  #@ formidable
4222
  msgid "Narrow down which entries will be used."
4223
  msgstr "Grenzen Sie die Einträge ein, die verwendet werden sollen."
4224
 
4225
- #: pro/classes/views/displays/mb_advanced.php:40
4226
- #: pro/classes/views/frmpro-fields/options-form.php:299
4227
- #: pro/classes/views/frmpro-forms/notifications.php:67
4228
- #@ formidable
4229
- msgid "Add"
4230
- msgstr "Hinzufügen"
4231
-
4232
- #: pro/classes/views/displays/mb_advanced.php:45
4233
  #@ formidable
4234
  msgid "Limit"
4235
  msgstr "Limit"
4236
 
4237
- #: pro/classes/views/displays/mb_advanced.php:46
4238
  #@ formidable
4239
  msgid "If you don’t want all your entries displayed, you can insert the number limit here. Leave blank if you’d like all entries shown."
4240
  msgstr "Wenn Sie nicht alle Einträge angezeigen wollen, können Sie hier ein Zahl als Limit setzen. Lassen Sie das Feld leer, wenn alle Einträge erscheinen sollen."
4241
 
4242
- #: pro/classes/views/displays/mb_advanced.php:52
4243
  #@ formidable
4244
  msgid "Page Size"
4245
  msgstr "Seitengröße"
4246
 
4247
- #: pro/classes/views/displays/mb_advanced.php:53
4248
  #@ formidable
4249
  msgid "The number of entries to show per page. Leave blank to not use pagination."
4250
  msgstr "Die Anzahl der Einträge, die pro Seite gezeigt werden. Lassen Sie das Feld leer um keine Seitenzahlen zu verwenden."
4251
 
4252
- #: pro/classes/views/displays/mb_advanced.php:61
4253
  #@ formidable
4254
  msgid "Message if nothing to display"
4255
  msgstr "Meldung falls es Nichts zum Anzeigen gibt"
4256
 
4257
- #: pro/classes/views/displays/mb_advanced.php:99
4258
  #@ formidable
4259
  msgid "Copy these display settings to other blogs when Formidable Pro is activated. <br/>Note: Use only field keys in the content box(es) above."
4260
  msgstr "Kopieren Sie diese Anzeigeneinstellungen zu anderen Blogs, wenn Formidable Pro aktiviert ist. <br/>Hinweis: Benutzen Sie nur Feld-Schlüssel in der/n Inhalts- Box/en oberhalb."
@@ -4294,22 +3772,17 @@ msgstr "Konditionale"
4294
  msgid "Field ID"
4295
  msgstr "Feld ID"
4296
 
4297
- #: pro/classes/views/settings/form.php:45
4298
- #@ formidable
4299
- msgid "Example"
4300
- msgstr "Beispiel"
4301
-
4302
  #: pro/classes/views/displays/where_options.php:21
4303
  #@ formidable
4304
  msgid "Date options: 'NOW' or a date in yyyy-mm-dd format."
4305
  msgstr "Datums- Optinen: 'HEUTE' oder ein Datum im JJJJ-MM-TT Format."
4306
 
4307
- #: pro/classes/views/displays/where_row.php:5
4308
- #: pro/classes/views/frmpro-fields/_logic_row.php:5
4309
  #: pro/classes/views/frmpro-fields/field-selection.php:2
4310
- #: pro/classes/views/frmpro-forms/_comment_meta_row.php:8
4311
- #: pro/classes/views/frmpro-forms/_custom_field_row.php:8
4312
- #: pro/classes/views/frmpro-forms/_logic_row.php:5
4313
  #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:10
4314
  #: pro/classes/views/frmpro-forms/comment_options.php:25
4315
  #: pro/classes/views/frmpro-forms/post_options.php:48
@@ -4318,63 +3791,65 @@ msgstr "Datums- Optinen: 'HEUTE' oder ein Datum im JJJJ-MM-TT Format."
4318
  msgid "Select Field"
4319
  msgstr "Feld auswählen"
4320
 
4321
- #: pro/classes/views/displays/where_row.php:12
4322
- #: pro/classes/views/frmpro-fields/_logic_row.php:25
4323
- #: pro/classes/views/frmpro-forms/_logic_row.php:14
4324
  #@ formidable
4325
  msgid "is"
4326
  msgstr "ist"
4327
 
4328
- #: pro/classes/views/displays/where_row.php:14
4329
- #: pro/classes/views/frmpro-fields/_logic_row.php:28
4330
- #: pro/classes/views/frmpro-forms/_logic_row.php:16
4331
  #@ formidable
4332
  msgid "equal to"
4333
  msgstr "ist gleich"
4334
 
4335
- #: pro/classes/views/displays/where_row.php:15
4336
- #: pro/classes/views/frmpro-fields/_logic_row.php:29
4337
- #: pro/classes/views/frmpro-forms/_logic_row.php:17
4338
  #@ formidable
4339
  msgid "NOT equal to"
4340
  msgstr "ist NICHT gleich"
4341
 
4342
- #: pro/classes/views/displays/where_row.php:16
4343
- #: pro/classes/views/frmpro-fields/_logic_row.php:30
4344
- #: pro/classes/views/frmpro-forms/_logic_row.php:18
4345
  #@ formidable
4346
  msgid "greater than"
4347
  msgstr "größer als"
4348
 
4349
- #: pro/classes/views/displays/where_row.php:17
4350
- #: pro/classes/views/frmpro-fields/_logic_row.php:31
4351
- #: pro/classes/views/frmpro-forms/_logic_row.php:19
4352
  #@ formidable
4353
  msgid "less than"
4354
  msgstr "kleiner als"
4355
 
4356
- #: pro/classes/views/displays/where_row.php:18
4357
  #@ formidable
4358
  msgid "greater than or equal to"
4359
  msgstr "größer oder gleich zu"
4360
 
4361
- #: pro/classes/views/displays/where_row.php:19
4362
  #@ formidable
4363
  msgid "less than or equal to"
4364
  msgstr "kleiner oder gleich zu"
4365
 
4366
- #: pro/classes/views/displays/where_row.php:20
4367
- #: pro/classes/views/frmpro-fields/_logic_row.php:32
 
4368
  #@ formidable
4369
  msgid "like"
4370
  msgstr "wie"
4371
 
4372
- #: pro/classes/views/displays/where_row.php:21
4373
  #@ formidable
4374
  msgid "NOT like"
4375
  msgstr "NICHT wie"
4376
 
4377
  #: pro/classes/views/frmpro-entries/csv.php:30
 
4378
  #@ formidable
4379
  msgid "Timestamp"
4380
  msgstr "Zeitstempel"
@@ -4390,105 +3865,69 @@ msgstr "Eintrag editieren"
4390
  msgid "Publish"
4391
  msgstr "Veröffentlichen"
4392
 
4393
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:24
4394
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:26
4395
  #: pro/classes/views/frmpro-entries/sidebar-show.php:19
4396
  #@ formidable
4397
  msgid "Are you sure you want to delete this entry?"
4398
  msgstr "Sind Sie sicher, dass Sie diesen Eintrag löschen wollen?"
4399
 
4400
- #: pro/classes/views/frmpro-entries/import.php:3
4401
- #@ formidable
4402
- msgid "Import Entries"
4403
- msgstr "Einträge importieren"
4404
-
4405
- #: pro/classes/views/frmpro-entries/import.php:9
4406
- #, php-format
4407
- #@ formidable
4408
- msgid "The next 250 of the remaining %1$s entries are importing."
4409
- msgstr "Die nächsten 250 Einträge von den %1$s verbleibenden Einträgen werden importiert."
4410
-
4411
- #: pro/classes/views/frmpro-entries/import.php:9
4412
- #@ formidable
4413
- msgid "Import Now"
4414
- msgstr "Jetzt importieren"
4415
-
4416
- #: pro/classes/views/frmpro-entries/import.php:39
4417
- #@ formidable
4418
- msgid "Step"
4419
- msgstr "Schritt"
4420
-
4421
- #: pro/classes/views/frmpro-entries/import.php:46
4422
- #@ formidable
4423
- msgid "Select CSV"
4424
- msgstr "CSV auswählen"
4425
-
4426
- #: pro/classes/views/frmpro-entries/import.php:52
4427
- #@ formidable
4428
- msgid "Select previously uploaded CSV"
4429
- msgstr "Wählen Sie die vorher hochgeladene CSV aus"
4430
-
4431
- #: pro/classes/views/frmpro-entries/import.php:62
4432
  #@ formidable
4433
  msgid "CSV Delimiter"
4434
  msgstr "CSV Trennzeichen"
4435
 
4436
- #: pro/classes/views/frmpro-entries/import.php:69
4437
  #@ formidable
4438
  msgid "Import Into Form"
4439
  msgstr "Importiere in das Formular"
4440
 
4441
- #: pro/classes/views/frmpro-entries/import.php:83
4442
  #@ formidable
4443
  msgid "CSV header"
4444
  msgstr "CSV Kopfzeile"
4445
 
4446
- #: pro/classes/views/frmpro-entries/import.php:84
4447
  #@ formidable
4448
  msgid "Sample data"
4449
  msgstr "Beispieldaten"
4450
 
4451
- #: pro/classes/views/frmpro-entries/import.php:85
4452
  #@ formidable
4453
  msgid "Corresponding Field"
4454
  msgstr "Dazugehöriges Feld"
4455
 
4456
- #: pro/classes/views/frmpro-entries/import.php:107
4457
- #: pro/classes/views/frmpro-entries/show.php:67
4458
  #@ formidable
4459
  msgid "Created at"
4460
  msgstr "Erstellt am"
4461
 
4462
- #: pro/classes/views/frmpro-entries/import.php:108
4463
  #@ formidable
4464
  msgid "Created by"
4465
  msgstr "Erstellt von"
4466
 
4467
- #: pro/classes/views/frmpro-entries/import.php:109
4468
  #@ formidable
4469
  msgid "Updated at"
4470
  msgstr "Aktualisiert am"
4471
 
4472
- #: pro/classes/views/frmpro-entries/import.php:110
4473
  #@ formidable
4474
  msgid "Updated by"
4475
  msgstr "Aktualisiert von"
4476
 
4477
- #: pro/classes/views/frmpro-entries/list.php:127
4478
  #@ formidable
4479
  msgid "Are you sure you want to permanently delete ALL the entries in this form?"
4480
  msgstr "Sind Sie sicher, dass Sie alle Einträge in diesem Formular permanent löschen wollen?"
4481
 
4482
- #: pro/classes/views/frmpro-entries/list.php:127
4483
  #@ formidable
4484
  msgid "Delete ALL Entries"
4485
  msgstr "ALLE Einträge löschen"
4486
 
4487
- #: pro/classes/views/frmpro-entries/list.php:129
4488
- #@ formidable
4489
- msgid "Download CSV for"
4490
- msgstr "Laden sie dei CSV herunter für"
4491
-
4492
  #: pro/classes/views/frmpro-entries/loading.php:4
4493
  #@ formidable
4494
  msgid "Uploading Files. Please Wait."
@@ -4496,6 +3935,7 @@ msgstr "Dateien werden hochgeladen. Bitte Warten."
4496
 
4497
  #: pro/classes/views/frmpro-entries/new-selection.php:3
4498
  #: pro/classes/views/frmpro-entries/new-selection.php:8
 
4499
  #@ formidable
4500
  msgid "Add New Entry"
4501
  msgstr "Neuen Eintrag hinzufügen"
@@ -4506,18 +3946,11 @@ msgid "Select a form for your new entry."
4506
  msgstr "Wählen Sie ein Formular für ihren neuen Eintrag aus."
4507
 
4508
  #: pro/classes/views/frmpro-entries/new-selection.php:19
4509
- #: pro/classes/views/frmpro-statistics/show.php:21
4510
- #: pro/classes/views/frmpro-statistics/show.php:37
4511
  #@ formidable
4512
  msgid "Go"
4513
  msgstr "Los"
4514
 
4515
- #: pro/classes/views/frmpro-entries/new.php:3
4516
- #, php-format
4517
- #@ formidable
4518
- msgid "Add New %1$s Entry"
4519
- msgstr "Neuen %1$s Eintrag hinzufügen"
4520
-
4521
  #: pro/classes/views/frmpro-entries/show.php:3
4522
  #@ formidable
4523
  msgid "View Entry"
@@ -4528,34 +3961,34 @@ msgstr "Eintrag ansehen"
4528
  msgid "Entry Actions"
4529
  msgstr "Eintrags-Aktionen"
4530
 
4531
- #: pro/classes/views/frmpro-entries/show.php:70
4532
- #: pro/classes/views/frmpro-entries/show.php:78
4533
  #@ formidable
4534
  msgid "by"
4535
  msgstr "von"
4536
 
4537
  #: pro/classes/views/frmpro-entries/csv.php:30
4538
- #: pro/classes/views/frmpro-entries/show.php:76
4539
  #@ formidable
4540
  msgid "Last Updated"
4541
  msgstr "Zuletzt aktualisiert"
4542
 
4543
- #: pro/classes/views/frmpro-entries/show.php:116
4544
  #@ formidable
4545
  msgid "Comments/Notes"
4546
  msgstr "Kommentare/Hinweise"
4547
 
4548
- #: pro/classes/views/frmpro-entries/show.php:132
4549
  #@ formidable
4550
  msgid "Add Note/Comment"
4551
  msgstr "Kommentar/Hinweis hinzufügen"
4552
 
4553
- #: pro/classes/views/frmpro-entries/show.php:143
4554
  #@ formidable
4555
  msgid "Comment/Note"
4556
  msgstr "Kommentar/Hinweis"
4557
 
4558
- #: pro/classes/views/frmpro-entries/show.php:150
4559
  #@ formidable
4560
  msgid "Send Emails to"
4561
  msgstr "Sende Emails zu"
@@ -4580,7 +4013,7 @@ msgstr "Formular auswählen"
4580
  msgid "Use a Category/Taxonomy"
4581
  msgstr "Benütze eine Kategorie/Taxonomie"
4582
 
4583
- #: pro/classes/views/frmpro-fields/dynamic-options.php:21
4584
  #@ formidable
4585
  msgid "Limit selection choices to those created by the user filling out this form"
4586
  msgstr "Begrenzen sie die Auswahl-Optionen auf jene, welche vom Benutzer des Formular erstellt werden"
@@ -4600,7 +4033,6 @@ msgstr "Mehrere Zeilen"
4600
  msgid "Single Row"
4601
  msgstr "Einzelne Zeile"
4602
 
4603
- #: pro/classes/views/frmpro-fields/options-form.php:13
4604
  #: pro/classes/views/frmpro-fields/options-form.php:14
4605
  #@ formidable
4606
  msgid "Use separate values"
@@ -4616,245 +4048,240 @@ msgstr "Fügen Sie einen seperaten Wert hinzu, welcher für Berechnungen, Email
4616
  msgid "If your radio, checkbox, dropdown, or user ID field needs a dynamic default value like [get param=whatever], insert it in the field options. If using a GET or POST value, it must match one of the options in the field in order for that option to be selected. Data from entries fields require the ID of the linked entry."
4617
  msgstr "Wenn ihr Radio, Checkbox, Dropdown oder User ID Feld einen dynamischen Wert, wie zum Beispiel [get param=whatever] benötigt, fügen Sie diesen in den Feld Optionen ein. Wenn Sie einen GET oder POST Wert benützen, so muss dieser mit einer der Optionen in dem Feld übereinstimmen, damit dieser selektiert werden kann. Daten von Einträgen-Feldern benötigen die ID des verbundenen Eintrags."
4618
 
4619
- #: pro/classes/views/frmpro-fields/options-form.php:64
4620
  #@ formidable
4621
  msgid "Make this section collapsible"
4622
  msgstr "Machen Sie diesen Bereich ausklappbar"
4623
 
4624
- #: pro/classes/views/frmpro-fields/options-form.php:40
4625
  #@ formidable
4626
  msgid "Display as"
4627
  msgstr "Anzeigen als"
4628
 
4629
- #: pro/classes/views/frmpro-fields/options-form.php:42
4630
  #@ formidable
4631
  msgid "Just show it"
4632
  msgstr "Nur anzeigen"
4633
 
4634
- #: pro/classes/views/frmpro-fields/options-form.php:68
4635
  #@ formidable
4636
  msgid "Calendar Localization"
4637
  msgstr "Kalender Lokalisierung"
4638
 
4639
- #: pro/classes/views/frmpro-fields/options-form.php:78
4640
  #@ formidable
4641
  msgid "Year Range"
4642
  msgstr "Jahresabgrenzung"
4643
 
4644
- #: pro/classes/views/frmpro-fields/options-form.php:80
4645
  #@ formidable
4646
  msgid "Start Year"
4647
  msgstr "Jahresanfang"
4648
 
4649
- #: pro/classes/views/frmpro-fields/options-form.php:83
4650
  #@ formidable
4651
  msgid "End Year"
4652
  msgstr "Jahresende"
4653
 
4654
- #: pro/classes/views/frmpro-fields/options-form.php:88
4655
  #@ formidable
4656
  msgid "Clock Settings"
4657
  msgstr "Uhren-Einstellung"
4658
 
4659
- #: pro/classes/views/frmpro-fields/options-form.php:93
4660
  #@ formidable
4661
  msgid "hour clock"
4662
  msgstr "Stunden-Uhr"
4663
 
4664
- #: pro/classes/views/frmpro-fields/options-form.php:96
4665
  #@ formidable
4666
  msgid "minute step"
4667
  msgstr "Minuten-Schritte"
4668
 
4669
- #: pro/classes/views/frmpro-fields/options-form.php:99
4670
  #@ formidable
4671
  msgid "start time"
4672
  msgstr "Anfangs-Zeit"
4673
 
4674
- #: pro/classes/views/frmpro-fields/options-form.php:102
4675
  #@ formidable
4676
  msgid "end time"
4677
  msgstr "End-Zeit"
4678
 
4679
- #: pro/classes/views/frmpro-fields/options-form.php:113
4680
  #@ formidable
4681
  msgid "Email Attachment"
4682
  msgstr "Email-Anhang"
4683
 
4684
- #: pro/classes/views/frmpro-fields/options-form.php:114
4685
  #@ formidable
4686
  msgid "attach this file to the email notification"
4687
  msgstr "hängen Sie diese Datei an die Email- Benachrichtigung an"
4688
 
4689
- #: pro/classes/views/frmpro-fields/options-form.php:117
4690
  #@ formidable
4691
  msgid "Allowed file types"
4692
  msgstr "Erlaubte Dateiformate"
4693
 
4694
- #: pro/classes/views/frmpro-fields/options-form.php:119
4695
  #@ formidable
4696
  msgid "All types"
4697
  msgstr "Alle Dateiformate"
4698
 
4699
- #: pro/classes/views/frmpro-fields/options-form.php:120
4700
  #@ formidable
4701
  msgid "Specify allowed types"
4702
  msgstr "Spezifiziere erlaubte Dateiformate"
4703
 
4704
- #: pro/classes/views/frmpro-fields/options-form.php:122
4705
- #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:52
4706
  #@ formidable
4707
  msgid "Check All"
4708
  msgstr "Alle auswählen"
4709
 
4710
- #: pro/classes/views/frmpro-fields/options-form.php:153
4711
  #@ formidable
4712
  msgid "Number Range"
4713
  msgstr "Zahlen-Bereich"
4714
 
4715
- #: pro/classes/views/frmpro-fields/options-form.php:153
4716
  #@ formidable
4717
  msgid "Browsers that support the HTML5 number field require a number range to determine the numbers seen when clicking the arrows next to the field."
4718
  msgstr "Browser, die das HTML5 Nummern-Feld unterstützen verlangen einen Zahlenbereich, um festzulegen welche Zahlen zu sehen sein werden, wenn man die Pfeile neben dem Formularfeld klickt."
4719
 
4720
- #: pro/classes/views/frmpro-fields/options-form.php:154
4721
  #@ formidable
4722
  msgid "minimum"
4723
  msgstr "Minimum"
4724
 
4725
- #: pro/classes/views/frmpro-fields/options-form.php:155
4726
  #@ formidable
4727
  msgid "maximum"
4728
  msgstr "Maximum"
4729
 
4730
- #: pro/classes/views/frmpro-fields/options-form.php:156
4731
  #@ formidable
4732
  msgid "step"
4733
  msgstr "Schritt"
4734
 
4735
- #: pro/classes/views/frmpro-fields/options-form.php:159
4736
  #@ formidable
4737
  msgid "Range"
4738
  msgstr "Bereich"
4739
 
4740
- #: pro/classes/views/frmpro-fields/options-form.php:166
4741
  #@ formidable
4742
  msgid "to"
4743
  msgstr "zu"
4744
 
4745
- #: pro/classes/views/frmpro-fields/options-form.php:175
4746
  #@ formidable
4747
  msgid "Stars"
4748
  msgstr "Sterne"
4749
 
4750
- #: pro/classes/views/frmpro-fields/options-form.php:177
4751
  #@ formidable
4752
  msgid "Show options as stars"
4753
  msgstr "Zeige Optionen als Sterne"
4754
 
4755
- #: pro/classes/views/frmpro-fields/options-form.php:181
4756
  #@ formidable
4757
  msgid "Rich Text Editor"
4758
  msgstr "Rich Text Editor"
4759
 
4760
- #: pro/classes/views/frmpro-fields/options-form.php:200
4761
  #@ formidable
4762
  msgid "Insert Form"
4763
  msgstr "Formular einfügen"
4764
 
4765
- #: pro/classes/views/frmpro-fields/options-form.php:203
4766
  #@ formidable
4767
  msgid "Maximum Duplication"
4768
  msgstr "Maximale Vervielfältigung"
4769
 
4770
- #: pro/classes/views/frmpro-fields/options-form.php:204
4771
  #@ formidable
4772
  msgid "The number of times the end user is allowed to duplicate this section of fields in one entry"
4773
  msgstr "Die Anzahl, wie oft es dem Benutzer erlaubt wird, diese Sektion von Feldern in einem Eintrag zu vervielfältigen"
4774
 
4775
- #: pro/classes/views/frmpro-fields/options-form.php:211
4776
- #: pro/classes/views/frmpro-fields/options-form.php:219
4777
  #@ formidable
4778
  msgid "Field Type"
4779
  msgstr "Feld Typ"
4780
 
4781
- #: pro/classes/views/frmpro-fields/options-form.php:224
 
4782
  #@ formidable
4783
  msgid "Unique"
4784
  msgstr "Einzigartig"
4785
 
4786
- #: pro/classes/views/frmpro-fields/options-form.php:225
4787
  #@ formidable
4788
  msgid "Unique: Do not allow the same response multiple times. For example, if one user enters 'Joe' then no one else will be allowed to enter the same name."
4789
  msgstr "Einmalig: Erlaube nicht die mehrfache Abgabe der gleichen Antwort. Zum Beispiel, wenn ein Benutzer 'Joe' als Name eingibt, erlaube keinen weiteren Benutzer diesen Namen einzugeben."
4790
 
4791
- #: pro/classes/views/frmpro-fields/options-form.php:227
4792
  #@ formidable
4793
  msgid "Read Only"
4794
  msgstr "Nur Lesen"
4795
 
4796
- #: pro/classes/views/frmpro-fields/options-form.php:228
4797
  #@ formidable
4798
  msgid "Read Only: Show this field but do not allow the field value to be edited from the front-end."
4799
  msgstr "Nur Lesen: Zeige dieses Feld, aber verbiete das Bearbeiten/Editieren des Feldwertes im Front-End."
4800
 
4801
- #: pro/classes/views/frmpro-fields/options-form.php:262
4802
  #@ formidable
4803
  msgid "Calculations"
4804
  msgstr "Berechnungen"
4805
 
4806
- #: pro/classes/views/frmpro-fields/options-form.php:264
4807
  #@ formidable
4808
  msgid "Calculate the default value for this field"
4809
  msgstr "Berechnen Sie den Standardwert für dieses Feld"
4810
 
4811
- #: pro/classes/views/frmpro-fields/options-form.php:275
 
4812
  #@ formidable
4813
  msgid "Conditional Logic"
4814
  msgstr "Konditional Logik"
4815
 
4816
- #: pro/classes/views/frmpro-fields/options-form.php:277
4817
- #: pro/classes/views/frmpro-forms/notifications.php:39
4818
  #@ formidable
4819
  msgid "Use Conditional Logic"
4820
  msgstr "Konditional Logik aktivieren"
4821
 
4822
  #: pro/classes/views/displays/submitbox_actions.php:3
4823
- #: pro/classes/views/frmpro-fields/options-form.php:281
4824
  #@ formidable
4825
  msgid "Show"
4826
  msgstr "Zeige"
4827
 
4828
  #: pro/classes/views/displays/submitbox_actions.php:15
4829
- #: pro/classes/views/frmpro-fields/options-form.php:282
4830
  #@ formidable
4831
  msgid "Hide"
4832
  msgstr "Verstecke"
4833
 
4834
- #: pro/classes/views/frmpro-fields/options-form.php:284
4835
- #@ formidable
4836
- msgid "this field if"
4837
- msgstr "dieses Feld wenn"
4838
-
4839
- #: pro/classes/views/frmpro-fields/options-form.php:286
4840
- #: pro/classes/views/frmpro-forms/notifications.php:51
4841
  #@ formidable
4842
  msgid "any"
4843
  msgstr "irgendeins"
4844
 
4845
- #: pro/classes/views/frmpro-fields/options-form.php:287
4846
- #: pro/classes/views/frmpro-forms/notifications.php:52
4847
  #@ formidable
4848
  msgid "all"
4849
  msgstr "alle"
4850
 
4851
- #: pro/classes/views/frmpro-fields/options-form.php:289
4852
- #: pro/classes/views/frmpro-forms/notifications.php:54
4853
  #@ formidable
4854
  msgid "of the following match"
4855
  msgstr "der Folgenden stimmen überein"
4856
 
4857
- #: pro/classes/views/frmpro-fields/options-form.php:308
4858
  #@ formidable
4859
  msgid "The field key can be used as an alternative to the field ID in many cases."
4860
  msgstr "Der Feld- Schlüssel kann in vielen Fällen als Alternative zur Feld-ID verwendet werden."
@@ -4869,137 +4296,89 @@ msgstr "Beachte: Dieses Feld wird nicht im Formular angezeigt. Geben Sie den zu
4869
  msgid "Note: This field will not show in the form, but will link the user id to it as long as the user is logged in at the time of form submission."
4870
  msgstr "Beachte: Dieses Feld wird nicht im Formular angezeigt, aber es sendet die Benutzer ID, wenn der Benutzer bei der Eingabe eingeloggt ist."
4871
 
4872
- #: pro/classes/views/frmpro-fields/show.php:27
4873
  #@ formidable
4874
  msgid "These buttons are for illustrative purposes only. They will be functional in your form."
4875
  msgstr "Diese Buttons dienen nur der Verschönerung. Sie werden erst im Formular funktionieren."
4876
 
4877
- #: pro/classes/views/frmpro-fields/show.php:33
4878
  #@ formidable
4879
  msgid "This is a placeholder for your custom HTML."
4880
  msgstr "Das ist ein Platzhalter für Ihren benutzerdefinierten HTML-Code"
4881
 
4882
- #: pro/classes/views/frmpro-fields/show.php:33
4883
  #@ formidable
4884
  msgid "You can edit this content in the field options."
4885
  msgstr "Diesen Inhalt können Sie in den Feldoptionen ändern."
4886
 
4887
- #: pro/classes/views/frmpro-fields/show.php:38
4888
- #: pro/classes/views/frmpro-fields/show.php:48
4889
- #: pro/classes/views/frmpro-fields/show.php:72
4890
  #@ formidable
4891
  msgid "This data is dynamic on change"
4892
  msgstr "Diese Daten sind bei Veränderungen dynamisch"
4893
 
4894
- #: classes/views/frm-forms/settings.php:94
 
4895
  #@ formidable
4896
  msgid "Use Content from Page"
4897
  msgstr "Inhalt einer Seite verwenden"
4898
 
4899
- #: pro/classes/views/frmpro-forms/add_form_options.php:6
4900
- #@ formidable
4901
- msgid "Only"
4902
- msgstr "Nur"
4903
-
4904
- #: pro/classes/views/frmpro-fields/options-form.php:248
4905
- #: pro/classes/views/frmpro-forms/add_form_options.php:8
4906
- #: pro/classes/views/frmpro-forms/add_form_options.php:18
4907
- #: pro/classes/views/frmpro-forms/add_form_options.php:29
4908
  #@ formidable
4909
  msgid "Logged-in Users"
4910
  msgstr "Angemeldete Benutzer"
4911
 
4912
- #: pro/classes/views/frmpro-forms/add_form_options.php:14
4913
- #@ formidable
4914
- msgid "Can See and Submit this Form"
4915
- msgstr "Kann das Formular sehen und absenden"
4916
-
4917
- #: pro/classes/views/frmpro-forms/add_form_options.php:16
4918
- #@ formidable
4919
- msgid "Allow"
4920
- msgstr "Erlaube"
4921
-
4922
- #: pro/classes/views/frmpro-forms/add_form_options.php:24
4923
- #@ formidable
4924
- msgid "to Edit Their Own Previous Responses"
4925
- msgstr "die eigenen, vorhergegangenen Antworten editieren"
4926
-
4927
- #: pro/classes/views/frmpro-forms/add_form_options.php:27
4928
- #@ formidable
4929
- msgid "Also Allow"
4930
- msgstr "Ebenfalls erlauben"
4931
-
4932
- #: pro/classes/views/frmpro-forms/add_form_options.php:35
4933
- #@ formidable
4934
- msgid "to Edit Responses Submitted by Anyone"
4935
- msgstr "die Antworten, die von irgend Jemandem gesendet wurden zu editieren"
4936
-
4937
- #: pro/classes/views/frmpro-forms/add_form_options.php:39
4938
- #@ formidable
4939
- msgid "Update Submit Button Text"
4940
- msgstr "Senden Button Text aktualisieren"
4941
-
4942
- #: pro/classes/views/frmpro-forms/add_form_options.php:44
4943
- #@ formidable
4944
- msgid "Update Confirmation Message"
4945
- msgstr "Bestätigungs-Nachricht aktualisieren"
4946
-
4947
- #: pro/classes/views/frmpro-forms/add_form_options.php:48
4948
- #@ formidable
4949
- msgid "Allow Only One Entry for Each"
4950
- msgstr "Nur einen Eintrag jeweils erlauben"
4951
-
4952
- #: pro/classes/views/frmpro-forms/add_form_options.php:50
4953
  #@ formidable
4954
  msgid "Logged-in User"
4955
  msgstr "Angemeldete Benutzer"
4956
 
4957
- #: pro/classes/views/frmpro-forms/add_form_options.php:52
4958
  #@ formidable
4959
  msgid "Saved Cookie"
4960
  msgstr "Gespeichertes Cookie"
4961
 
4962
- #: pro/classes/views/frmpro-forms/add_form_options.php:66
4963
  #@ formidable
4964
  msgid "Copy this form to other blogs when Formidable Pro is activated"
4965
  msgstr "Kopieren Sie dieses Formular zu weiteren Blogs, nur wenn Formidable Pro ist aktiviert"
4966
 
4967
- #: pro/classes/controllers/FrmProFormsController.php:208
4968
  #@ formidable
4969
  msgid "A variable from the URL or value posted from previous page."
4970
  msgstr "Eine Variable der URL oder des Werte die von der vorherigen Seite gepostet wurde."
4971
 
4972
- #: pro/classes/controllers/FrmProFormsController.php:208
4973
  #@ formidable
4974
  msgid "Replace 'whatever' with the parameter name. In url.com?product=form, the variable is 'product'. You would use [get param=product] in your field."
4975
  msgstr "Ersetzen Sie 'irgendetwas' mit dem Parameter Namen. In url.com?produkt=form, ist 'produkt' die Variable. Sie würden [get param=produkt] in Ihrem Feld verwenden."
4976
 
4977
- #: pro/classes/views/frmpro-forms/notifications.php:10
4978
  #@ formidable
4979
  msgid "Append IP Address, Browser, and Referring URL to message"
4980
  msgstr "Anhängen der IP-Adresse, des Browser und der Herkunfts-URL an die Nachricht"
4981
 
4982
- #: pro/classes/views/frmpro-forms/notifications.php:12
4983
  #@ formidable
4984
  msgid "Send Emails in Plain Text"
4985
  msgstr "Versende Emails als einfachen Text"
4986
 
4987
- #: pro/classes/views/frmpro-forms/post_options.php:4
4988
- #@ formidable
4989
- msgid "Create a Post"
4990
- msgstr "Artikel erstellen"
4991
-
4992
- #: pro/classes/views/frmpro-forms/post_options.php:5
4993
  #@ formidable
4994
  msgid "Create a WordPress post, page, or custom post type with this form"
4995
  msgstr "Erstelle einen WordPress Artikel, Seite oder Custom Post Type mit diesem Formular "
4996
 
4997
- #: pro/classes/views/frmpro-forms/post_options.php:9
4998
  #@ formidable
4999
  msgid "Post Type"
5000
  msgstr "Artikel Typ"
5001
 
5002
- #: pro/classes/views/frmpro-forms/post_options.php:10
5003
  #@ formidable
5004
  msgid "To setup a new custom post type, install and setup a plugin like 'Custom Post Type UI', then return to this page to select your new custom post type."
5005
  msgstr "Um einen neuen Custom Post Type zu erstellen, installieren und konfigurieren Sie ein Plugin wie 'Custom Post Type UI'; anschließend kehren Sie zu dieser Seite zurück und wählen Sie den neuen Custom Post Type aus."
@@ -5020,60 +4399,55 @@ msgstr "Inhalt anpassen"
5020
  msgid "The content shown on your single post page. If nothing is entered here, the regular post content will be used."
5021
  msgstr ""
5022
 
5023
- #: pro/classes/views/frmpro-forms/post_options.php:75
5024
- #@ formidable
5025
- msgid "Editing this box will update your existing custom display or create a new one."
5026
- msgstr ""
5027
-
5028
  #: pro/classes/views/frmpro-forms/comment_options.php:17
5029
- #: pro/classes/views/frmpro-forms/post_options.php:80
5030
  #@ formidable
5031
  msgid "Excerpt"
5032
  msgstr "Auszug"
5033
 
5034
- #: pro/classes/views/frmpro-forms/post_options.php:89
5035
  #@ formidable
5036
  msgid "Post Password"
5037
  msgstr "Artikel Passwort"
5038
 
5039
- #: pro/classes/views/frmpro-forms/post_options.php:98
5040
  #@ formidable
5041
  msgid "Slug"
5042
  msgstr "Slug"
5043
 
5044
- #: pro/classes/views/frmpro-forms/post_options.php:100
5045
  #@ formidable
5046
  msgid "Automatically Generate from Post Title"
5047
  msgstr "Automatisch vom Artikeltitel generieren"
5048
 
5049
  #: pro/classes/views/frmpro-forms/comment_options.php:19
5050
- #: pro/classes/views/frmpro-forms/post_options.php:107
5051
  #@ formidable
5052
  msgid "Post Date"
5053
  msgstr "Artikeldatum"
5054
 
5055
- #: pro/classes/views/frmpro-forms/post_options.php:109
5056
  #@ formidable
5057
  msgid "Use the Date Published"
5058
  msgstr "Benütze das Veröffentlichungsdatum"
5059
 
5060
  #: pro/classes/views/frmpro-forms/comment_options.php:20
5061
- #: pro/classes/views/frmpro-forms/post_options.php:117
5062
  #@ formidable
5063
  msgid "Post Status"
5064
  msgstr "Artikelstatus"
5065
 
5066
- #: pro/classes/views/frmpro-forms/post_options.php:119
5067
  #@ formidable
5068
  msgid "Create Draft"
5069
  msgstr "Erstelle Entwurf"
5070
 
5071
- #: pro/classes/views/frmpro-forms/post_options.php:120
5072
  #@ formidable
5073
  msgid "Automatically Publish"
5074
  msgstr "Automatisch veröffentlichen"
5075
 
5076
- #: pro/classes/views/frmpro-forms/post_options.php:121
5077
  #@ formidable
5078
  msgid "Create New Dropdown Field"
5079
  msgstr "Erstelle neues Dropdown Feld"
@@ -5088,278 +4462,205 @@ msgstr "Taxonomien/Kategorien"
5088
  msgid "Custom Fields"
5089
  msgstr "Benutzerdefinierte Felder"
5090
 
5091
- #: pro/classes/views/frmpro-forms/post_options.php:151
5092
  #@ formidable
5093
  msgid "To set the featured image, use '_thumbnail_id' as the custom field name."
5094
  msgstr "Um das Artikelbild zu setzen, verwenden Sie '_thumbnail_id' als benutzerdefinierten Feld Namen."
5095
 
5096
- #: pro/classes/views/frmpro-forms/translate.php:36
5097
- #: pro/classes/views/frmpro-forms/translate.php:42
5098
- #: pro/classes/views/frmpro-forms/translate.php:52
5099
- #@ formidable
5100
- msgid "Complete"
5101
- msgstr "Fertig"
5102
-
5103
- #: pro/classes/views/frmpro-forms/translate.php:66
5104
- #, php-format
5105
- #@ formidable
5106
- msgid "If you are missing parts of the form that need translation, please visit the %1$sWPML Translation Management%2$s page then return."
5107
- msgstr "Wenn Sie einige Bereiche vermissen, welche übersetzt werden müssen, besuchen Sie bitte die %1$sWPML Übersetzungs-Management%2$s Seite und kehren Sie anschließend zurück."
5108
-
5109
- #: pro/classes/views/frmpro-forms/_custom_field_row.php:4
5110
- #@ formidable
5111
- msgid "Add Custom Field"
5112
- msgstr "Benutzerdefiniertes Feld hinzufügen"
5113
-
5114
- #: pro/classes/views/frmpro-forms/_comment_meta_row.php:6
5115
- #: pro/classes/views/frmpro-forms/_custom_field_row.php:6
5116
  #@ formidable
5117
  msgid "from"
5118
  msgstr "von"
5119
 
5120
- #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:8
5121
- #@ formidable
5122
- msgid "Populate"
5123
- msgstr "Bestücke"
5124
-
5125
  #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:11
5126
  #@ formidable
5127
  msgid "A New Checkbox Field"
5128
  msgstr "Ein neues Checkbox Feld"
5129
 
5130
- #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:34
5131
- #@ formidable
5132
- msgid "with taxonomies from"
5133
- msgstr "mit Taxonomien von"
5134
-
5135
- #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:44
5136
  #@ formidable
5137
  msgid "Exclude options"
5138
  msgstr "Optionen ausschließen"
5139
 
5140
- #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:50
5141
  #@ formidable
5142
  msgid "NOTE: if the parent is excluded, child categories will be automatically excluded."
5143
  msgstr "BEACHTE: Wenn die Eltern-Kategorie exkludiert ist, werden die nachgeordneten Kategorien ebenfalls automatisch exkludiert."
5144
 
5145
- #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:55
5146
- #@ formidable
5147
- msgid "Check All Level"
5148
- msgstr "Alle Ebenen markieren"
5149
-
5150
- #: pro/classes/views/frmpro-statistics/show.php:3
5151
- #@ formidable
5152
- msgid "Form Reports"
5153
- msgstr "Formular Berichte"
5154
-
5155
- #: pro/classes/views/frmpro-statistics/show.php:10
5156
  #@ formidable
5157
  msgid "Go to Report"
5158
  msgstr "Zu dem Bericht gehen"
5159
 
5160
- #: pro/classes/views/frmpro-statistics/show.php:15
5161
  #@ formidable
5162
  msgid "Select a report to view."
5163
  msgstr "Wählen Sie einen Report zum Ansehen aus."
5164
 
5165
- #: pro/classes/views/frmpro-statistics/show.php:51
5166
  #@ formidable
5167
  msgid "Response Count"
5168
  msgstr "Antworten Zähler"
5169
 
5170
- #: classes/views/frm-forms/add_field_links.php:84
5171
- #: pro/classes/views/frmpro-statistics/show.php:53
5172
  #@ formidable
5173
  msgid "Total"
5174
  msgstr "Gesamt"
5175
 
5176
- #: pro/classes/views/frmpro-statistics/show.php:54
5177
  #@ formidable
5178
  msgid "Average"
5179
  msgstr "Durchschnitt"
5180
 
5181
- #: pro/classes/views/frmpro-statistics/show.php:55
5182
  #@ formidable
5183
  msgid "Median"
5184
  msgstr "Mittelwert"
5185
 
5186
- #: pro/classes/views/frmpro-statistics/show.php:60
5187
  #@ formidable
5188
  msgid "Percent of users submitted"
5189
  msgstr "Prozent der übermittelten Benutzer"
5190
 
5191
- #: pro/classes/views/frmpro-statistics/show.php:62
5192
  #@ formidable
5193
  msgid "Users with no entry"
5194
  msgstr "Benutzer ohne Eintrag"
5195
 
5196
- #: pro/classes/views/frmpro-statistics/show.php:63
5197
  #@ formidable
5198
  msgid "View Profile"
5199
  msgstr "Profil ansehen"
5200
 
5201
- #: pro/classes/views/settings/form.php:4
5202
  #@ formidable
5203
  msgid "Previously Submitted Message"
5204
  msgstr "Vorher gesendete Nachricht"
5205
 
5206
- #: pro/classes/views/settings/form.php:4
5207
  #@ formidable
5208
  msgid "The message seen when a user attempts to submit a form for a second time if submissions are limited."
5209
  msgstr "Die Nachricht, die ein Benutzer sieht, wenn er ein Formular ein weiteres Mal senden will, bei dem die Menge der Sendungen begrenzt ist."
5210
 
5211
- #: pro/classes/views/settings/form.php:10
5212
- #@ formidable
5213
- msgid "Include these scripts"
5214
- msgstr "Diese Skripte einbinden"
5215
-
5216
- #: pro/classes/views/settings/form.php:13
5217
  #@ formidable
5218
  msgid "Include accordion javascript"
5219
  msgstr "Binde Accordion Javascript ein"
5220
 
5221
- #: pro/classes/views/settings/form.php:13
5222
  #@ formidable
5223
  msgid "If you have manually created an accordion form, be sure to include the javascript for it."
5224
  msgstr "Wenn sie manuell ein Accordion Formular eingefügt haben, stellen Sie sicher, dass Sie den Javascript- Code dafür einbinden."
5225
 
5226
- #: pro/classes/views/settings/form.php:18
5227
  #: pro/classes/views/shared/mb_adv_info.php:14
5228
- #: pro/classes/views/shared/mb_adv_info.php:112
5229
  #@ formidable
5230
  msgid "Keys"
5231
  msgstr "Schlüssel"
5232
 
5233
- #: pro/classes/views/settings/form.php:21
5234
  #@ formidable
5235
  msgid "Hide field and entry keys to prevent them from being edited. Uncheck this box to edit the saved keys for use in your template."
5236
  msgstr "Verstecken Sie Feld- und Eintragsschlüssel, um diese vor Editierung zu schützen. Keinen Haken setzen, um die gespeicherten Schlüssel für die Verwendung im Template zu editieren."
5237
 
5238
- #: pro/classes/views/settings/form.php:26
5239
  #@ formidable
5240
  msgid "Visual Text Editor"
5241
  msgstr "Visueller Texteditor"
5242
 
5243
- #: pro/classes/views/settings/form.php:29
5244
- #@ formidable
5245
- msgid "Turn off the visual editor when building custom displays."
5246
- msgstr "Deaktiviere den visuellen Editor, wenn benutzerdefinierte Anzeigen erstellt werden."
5247
-
5248
- #: pro/classes/views/settings/form.php:34
5249
- #@ formidable
5250
- msgid "Path to Extra Templates"
5251
- msgstr "Pfad zu den Extra Vorlagen"
5252
-
5253
- #: pro/classes/views/settings/form.php:34
5254
- #, php-format
5255
- #@ formidable
5256
- msgid "If you would like to use any extra templates that are not included in Formidable, define the absolute path here. For example, the absolute path to the Formidable template folder is %1$s."
5257
- msgstr "Falls Sie eigene Extra Vorlagen verwenden möchten, die nicht in Formidable eingebunden sind, legen Sie hier den absoluten Pfad fest. Als Beispiel ist der absolute Pfad zum Formidable Vorlagene Ordner %1$s."
5258
-
5259
- #: pro/classes/views/settings/form.php:39
5260
- #@ formidable
5261
- msgid "The format of that path is incorrect. Please try again."
5262
- msgstr "Das Format des Pfades ist inkorrekt. Bitte neu versuchen."
5263
-
5264
- #: pro/classes/views/settings/form.php:41
5265
- #@ formidable
5266
- msgid "Update Imported Templates Now"
5267
- msgstr "Importierte Vorlagen jetzt aktualisieren"
5268
-
5269
  #: pro/classes/controllers/FrmProDisplaysController.php:485
5270
- #: pro/classes/views/settings/form.php:50
5271
  #@ formidable
5272
  msgid "Date Format"
5273
  msgstr "Datums-Format"
5274
 
5275
- #: pro/classes/views/settings/form.php:50
5276
  #@ formidable
5277
  msgid "Change the format of the date used in the date field."
5278
  msgstr "Ändern Sie das Fomat des Datums, welches im Datumsfeld benützt wird."
5279
 
5280
- #: pro/classes/views/settings/form.php:63
5281
  #@ formidable
5282
  msgid "CSV Export Format"
5283
  msgstr "CSV Exportierungsformat"
5284
 
5285
- #: pro/classes/views/settings/form.php:63
 
5286
  #@ formidable
5287
  msgid "If your CSV special characters are not working correctly, try a different formatting option."
5288
  msgstr "Wenn die Sonderzeichen im CSV nicht richtig dargestellt werden, versuchen Sie eine andere Formatierungsoption."
5289
 
5290
- #: pro/classes/views/settings/form.php:70
 
5291
  #@ formidable
5292
  msgid "Macintosh"
5293
  msgstr "Macintosh"
5294
 
5295
- #: pro/classes/views/settings/form.php:78
5296
  #@ formidable
5297
  msgid "Pretty Permalinks"
5298
  msgstr "Pretty Permalinks"
5299
 
5300
- #: pro/classes/views/settings/form.php:81
5301
  #@ formidable
5302
  msgid "Use pretty permalinks for entry detail links"
5303
  msgstr "Benutzen Sie Pretty Permalinks für die Eintrags- Detail- Links"
5304
 
5305
- #: pro/classes/views/settings/form.php:102
5306
- #: pro/classes/views/settings/form.php:105
5307
  #@ formidable
5308
  msgid "SAMPLE:"
5309
  msgstr "BEISPIEL:"
5310
 
5311
- #: pro/classes/views/settings/form.php:108
5312
  #@ formidable
5313
  msgid "Text field"
5314
  msgstr "Textfeld"
5315
 
5316
- #: pro/classes/views/settings/form.php:109
5317
- #: pro/classes/views/settings/form.php:120
5318
  #@ formidable
5319
  msgid "This is sample text"
5320
  msgstr "Das ist ein Beispieltext"
5321
 
5322
- #: pro/classes/views/settings/form.php:110
5323
  #@ formidable
5324
  msgid "A field with a description"
5325
  msgstr "Ein Feld mit einer Beschreibung"
5326
 
5327
- #: pro/classes/views/settings/form.php:114
5328
  #@ formidable
5329
  msgid "Text field in active state"
5330
  msgstr "Text-Feld in aktivem Status"
5331
 
5332
- #: pro/classes/views/settings/form.php:115
5333
- #@ formidable
5334
- msgid "The active state will be seen when the field is clicked"
5335
- msgstr "Der aktive Status wird sichtbar, wenn das Feld geklickt wird"
5336
-
5337
- #: pro/classes/views/settings/form.php:119
5338
  #@ formidable
5339
  msgid "Text field with error"
5340
  msgstr "Text-Feld mit Fehler"
5341
 
5342
- #: pro/classes/views/settings/form.php:130
5343
  #@ formidable
5344
  msgid "Drop-down Select"
5345
  msgstr "Dropdown Auswahl"
5346
 
5347
- #: pro/classes/views/settings/form.php:133
5348
  #@ formidable
5349
  msgid "An Option"
5350
  msgstr "Eine Option"
5351
 
5352
- #: pro/classes/views/settings/form.php:144
5353
  #@ formidable
5354
  msgid "Check Boxes"
5355
  msgstr "Check Boxes"
5356
 
5357
- #: pro/classes/views/settings/form.php:150
5358
  #@ formidable
5359
  msgid "Text Area"
5360
  msgstr "Text-Bereich"
5361
 
5362
- #: pro/classes/views/settings/form.php:152
5363
  #@ formidable
5364
  msgid "Another field with a description"
5365
  msgstr "Ein weiteres Feld mit Beschreibung"
@@ -5396,11 +4697,11 @@ msgid "Max Width"
5396
  msgstr "Maximale Weite"
5397
 
5398
  #: pro/classes/views/settings/formroller.php:26
5399
- #: pro/classes/views/settings/formroller.php:215
5400
- #: pro/classes/views/settings/formroller.php:247
5401
- #: pro/classes/views/settings/formroller.php:417
5402
- #: pro/classes/views/settings/formroller.php:454
5403
- #: pro/classes/views/settings/formroller.php:496
5404
  #@ formidable
5405
  msgid "Border"
5406
  msgstr "Rand"
@@ -5409,14 +4710,14 @@ msgstr "Rand"
5409
  #: pro/classes/views/settings/formroller.php:54
5410
  #: pro/classes/views/settings/formroller.php:93
5411
  #: pro/classes/views/settings/formroller.php:118
5412
- #: pro/classes/views/settings/formroller.php:319
5413
  #@ formidable
5414
  msgid "Color"
5415
  msgstr "Farbe"
5416
 
5417
  #: pro/classes/views/settings/formroller.php:36
5418
- #: pro/classes/views/settings/formroller.php:187
5419
- #: pro/classes/views/settings/formroller.php:434
5420
  #@ formidable
5421
  msgid "Padding"
5422
  msgstr "Padding"
@@ -5428,7 +4729,7 @@ msgstr "Beschriftungs-Einstellungen"
5428
 
5429
  #: pro/classes/views/settings/formroller.php:50
5430
  #: pro/classes/views/settings/formroller.php:114
5431
- #: pro/classes/views/settings/formroller.php:315
5432
  #@ formidable
5433
  msgid "Family"
5434
  msgstr "Familie"
@@ -5436,19 +4737,19 @@ msgstr "Familie"
5436
  #: pro/classes/views/settings/formroller.php:58
5437
  #: pro/classes/views/settings/formroller.php:97
5438
  #: pro/classes/views/settings/formroller.php:122
5439
- #: pro/classes/views/settings/formroller.php:323
5440
- #: pro/classes/views/settings/formroller.php:371
5441
  #@ formidable
5442
  msgid "Weight"
5443
  msgstr "Stärke"
5444
 
5445
  #: pro/classes/views/settings/formroller.php:65
5446
  #: pro/classes/views/settings/formroller.php:136
5447
- #: pro/classes/views/settings/formroller.php:172
5448
- #: pro/classes/views/settings/formroller.php:330
5449
- #: pro/classes/views/settings/formroller.php:384
5450
- #: pro/classes/views/settings/formroller.php:476
5451
- #: pro/classes/views/settings/formroller.php:504
5452
  #@ formidable
5453
  msgid "Size"
5454
  msgstr "Größe"
@@ -5459,8 +4760,8 @@ msgid "Position"
5459
  msgstr "Position"
5460
 
5461
  #: pro/classes/views/settings/formroller.php:87
5462
- #: pro/classes/views/settings/formroller.php:177
5463
- #: pro/classes/views/settings/formroller.php:389
5464
  #@ formidable
5465
  msgid "Width"
5466
  msgstr "Breite"
@@ -5473,23 +4774,23 @@ msgstr "Benötigte Anzeige"
5473
  #: pro/classes/views/settings/formroller.php:99
5474
  #: pro/classes/views/settings/formroller.php:124
5475
  #: pro/classes/views/settings/formroller.php:131
5476
- #: pro/classes/views/settings/formroller.php:325
5477
- #: pro/classes/views/settings/formroller.php:373
5478
  #@ formidable
5479
  msgid "normal"
5480
  msgstr "normal"
5481
 
5482
  #: pro/classes/views/settings/formroller.php:100
5483
  #: pro/classes/views/settings/formroller.php:125
5484
- #: pro/classes/views/settings/formroller.php:326
5485
- #: pro/classes/views/settings/formroller.php:374
5486
  #@ formidable
5487
  msgid "bold"
5488
  msgstr "fett"
5489
 
5490
  #: pro/classes/views/settings/formroller.php:129
5491
- #: pro/classes/views/settings/formroller.php:223
5492
- #: pro/classes/views/settings/formroller.php:278
5493
  #@ formidable
5494
  msgid "Style"
5495
  msgstr "Style"
@@ -5505,187 +4806,173 @@ msgid "Corner Radius"
5505
  msgstr "Ecken-Radius"
5506
 
5507
  #: pro/classes/views/settings/formroller.php:158
5508
- #: pro/classes/views/settings/formroller.php:379
5509
  #@ formidable
5510
  msgid "Corners"
5511
  msgstr "Ecken"
5512
 
5513
- #: pro/classes/views/settings/formroller.php:161
5514
  #@ formidable
5515
  msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
5516
  msgstr "Formidable benutzt CSS3 border-radius um runde Ecken anzuzeigen, was momentant nicht vom älteren Internet Explorern (< IE9) unterstützt wird."
5517
 
5518
- #: pro/classes/views/settings/formroller.php:168
5519
  #@ formidable
5520
  msgid "Field Settings"
5521
  msgstr "Feld Einstellungen"
5522
 
5523
- #: pro/classes/views/settings/formroller.php:183
5524
  #@ formidable
5525
  msgid "Automatic Width for drop-down fields"
5526
  msgstr "Automatische Weite für Dropdown Felder"
5527
 
5528
- #: pro/classes/views/settings/formroller.php:192
5529
  #@ formidable
5530
  msgid "Bottom Margin"
5531
  msgstr "Bottom Margin"
5532
 
5533
- #: pro/classes/views/settings/formroller.php:202
5534
  #@ formidable
5535
  msgid "Field Colors"
5536
  msgstr "Feld Farben"
5537
 
5538
- #: pro/classes/views/settings/formroller.php:206
5539
- #: pro/classes/views/settings/formroller.php:243
5540
- #: pro/classes/views/settings/formroller.php:261
5541
  #@ formidable
5542
  msgid "BG color"
5543
  msgstr "Hintergrundsfarbe"
5544
 
5545
- #: pro/classes/views/settings/formroller.php:210
5546
- #: pro/classes/views/settings/formroller.php:265
5547
- #: pro/classes/views/settings/formroller.php:407
5548
- #: pro/classes/views/settings/formroller.php:459
5549
- #: pro/classes/views/settings/formroller.php:500
5550
  #@ formidable
5551
  msgid "Text"
5552
  msgstr "Text"
5553
 
5554
- #: pro/classes/views/settings/formroller.php:219
5555
- #: pro/classes/views/settings/formroller.php:274
5556
- #: pro/classes/views/settings/formroller.php:421
5557
  #@ formidable
5558
  msgid "Thickness"
5559
  msgstr "Dicke"
5560
 
5561
- #: pro/classes/views/settings/formroller.php:225
5562
- #: pro/classes/views/settings/formroller.php:280
5563
  #@ formidable
5564
  msgid "solid"
5565
  msgstr "durchgehend"
5566
 
5567
- #: pro/classes/views/settings/formroller.php:226
5568
- #: pro/classes/views/settings/formroller.php:281
5569
  #@ formidable
5570
  msgid "dotted"
5571
  msgstr "gepunktet"
5572
 
5573
- #: pro/classes/views/settings/formroller.php:227
5574
- #: pro/classes/views/settings/formroller.php:282
5575
  #@ formidable
5576
  msgid "dashed"
5577
  msgstr "gestrichelt"
5578
 
5579
- #: pro/classes/views/settings/formroller.php:228
5580
- #: pro/classes/views/settings/formroller.php:283
5581
  #@ formidable
5582
  msgid "double"
5583
  msgstr "doppelt"
5584
 
5585
- #: pro/classes/views/settings/formroller.php:239
5586
  #@ formidable
5587
  msgid "Field Colors: active state"
5588
  msgstr "Feld Farben: aktiver Status"
5589
 
5590
- #: pro/classes/views/settings/formroller.php:257
5591
  #@ formidable
5592
  msgid "Field Colors: error state"
5593
  msgstr "Feld Farben: Fehler Status"
5594
 
5595
- #: pro/classes/views/settings/formroller.php:270
5596
  #@ formidable
5597
  msgid "Border/Label"
5598
  msgstr "Rand/Beschriftung"
5599
 
5600
- #: pro/classes/views/settings/formroller.php:293
5601
- #@ formidable
5602
- msgid "Radio Buttons & Check Boxes"
5603
- msgstr "Radio Buttons & Check Boxes"
5604
-
5605
- #: pro/classes/views/settings/formroller.php:297
5606
  #@ formidable
5607
  msgid "Radio"
5608
  msgstr "Radio"
5609
 
5610
- #: pro/classes/views/settings/formroller.php:306
5611
  #@ formidable
5612
  msgid "Check Box"
5613
  msgstr "Check Box"
5614
 
5615
- #: pro/classes/views/settings/formroller.php:340
5616
  #@ formidable
5617
  msgid "Calendar"
5618
  msgstr "Kalender"
5619
 
5620
- #: pro/classes/views/settings/formroller.php:344
5621
  #@ formidable
5622
  msgid "Theme"
5623
  msgstr "Theme"
5624
 
5625
- #: classes/views/frm-forms/settings.php:157
5626
- #: pro/classes/views/settings/formroller.php:362
5627
  #@ formidable
5628
  msgid "Submit Button"
5629
  msgstr "Senden Button"
5630
 
5631
- #: pro/classes/views/settings/formroller.php:366
5632
  #@ formidable
5633
  msgid "Disable submit button styling"
5634
  msgstr "Senden Button Styling deaktivieren"
5635
 
5636
- #: pro/classes/views/settings/formroller.php:368
5637
  #@ formidable
5638
  msgid "Note: If disabled, you may not see the change take effect until you make 2 more styling changes or click \"Update Options\"."
5639
  msgstr "Hinweis: Wenn deaktiviert, sehen Sie vllt. keinen Effekt, solange Sie nicht 2 weitere Styling- Änderungen machen oder \"Optionen Updaten\" klicken."
5640
 
5641
- #: pro/classes/views/settings/formroller.php:394
 
5642
  #@ formidable
5643
  msgid "Height"
5644
  msgstr "Höhe"
5645
 
5646
- #: pro/classes/views/settings/formroller.php:399
5647
- #: pro/classes/views/settings/formroller.php:403
5648
- #: pro/classes/views/settings/formroller.php:449
5649
- #: pro/classes/views/settings/formroller.php:491
5650
  #@ formidable
5651
  msgid "BG Color"
5652
  msgstr "Hintergrundsfarbe"
5653
 
5654
- #: pro/classes/views/settings/formroller.php:412
5655
  #@ formidable
5656
  msgid "BG Image"
5657
  msgstr "Hintergrundbild"
5658
 
5659
- #: pro/classes/views/settings/formroller.php:425
5660
  #@ formidable
5661
  msgid "Shadow"
5662
  msgstr "Schatten"
5663
 
5664
- #: pro/classes/views/settings/formroller.php:430
5665
  #@ formidable
5666
  msgid "Margin"
5667
  msgstr "Margin"
5668
 
5669
- #: pro/classes/views/settings/formroller.php:444
5670
  #@ formidable
5671
  msgid "Error"
5672
  msgstr "Fehler"
5673
 
5674
- #: pro/classes/views/settings/formroller.php:464
5675
- #@ formidable
5676
- msgid "Icon"
5677
- msgstr "Icon"
5678
-
5679
- #: pro/classes/views/settings/formroller.php:486
5680
  #@ formidable
5681
  msgid "Success"
5682
  msgstr "Erfolg"
5683
 
5684
- #: pro/classes/views/settings/formroller.php:574
5685
- #@ formidable
5686
- msgid "Templates Updated"
5687
- msgstr "Vorlagen Aktualisiert"
5688
-
5689
  #: pro/classes/widgets/FrmListEntries.php:6
5690
  #@ formidable
5691
  msgid "Display a list of Formidable entries"
@@ -5696,57 +4983,42 @@ msgstr "Zeigen Sie eine Liste von Formidable Einträgen an"
5696
  msgid "Formidable Entries List"
5697
  msgstr "Liste der Formidable Einträge"
5698
 
5699
- #: pro/classes/widgets/FrmListEntries.php:144
5700
- #@ formidable
5701
- msgid "Use Settings from Display"
5702
- msgstr "Benutzen Sie die Einstellungen der Individual- Anzeige"
5703
-
5704
- #: pro/classes/widgets/FrmListEntries.php:152
5705
- #@ formidable
5706
- msgid "Only custom displays will show here if they are showing \"Both (Dynamic)\" data."
5707
- msgstr "Individual-Anzeigen werden hier nur angezeigt, wenn die Einstellung \"Beide (Dynamisch)\" ist."
5708
-
5709
- #: pro/classes/widgets/FrmListEntries.php:154
5710
- #@ formidable
5711
- msgid "Page if not specified in display settings"
5712
- msgstr "Seite, falls diese nicht in den Anzeige-Einstellungen festgelegt ist"
5713
-
5714
- #: pro/classes/widgets/FrmListEntries.php:163
5715
  #@ formidable
5716
  msgid "Title Field"
5717
  msgstr "Titelfeld"
5718
 
5719
- #: pro/classes/widgets/FrmListEntries.php:177
5720
  #@ formidable
5721
  msgid "List Entries by Category"
5722
  msgstr "Einträge nach Kategorie auflisten"
5723
 
5724
- #: pro/classes/widgets/FrmListEntries.php:180
5725
  #@ formidable
5726
  msgid "Category Field"
5727
  msgstr "Kategorie-Feld"
5728
 
5729
- #: pro/classes/widgets/FrmListEntries.php:195
5730
  #@ formidable
5731
  msgid "Show Entry Counts"
5732
  msgstr "Anzeige des Eintrags-Zählers"
5733
 
5734
- #: pro/classes/widgets/FrmListEntries.php:198
5735
  #@ formidable
5736
  msgid "Show Only Category Name"
5737
  msgstr "Nur Kategorie-Name zeigen"
5738
 
5739
- #: pro/classes/widgets/FrmListEntries.php:201
5740
  #@ formidable
5741
  msgid "Show Entries Beneath Categories"
5742
  msgstr "Anzeigen der Einträge unter den Kategorien"
5743
 
5744
- #: pro/classes/widgets/FrmListEntries.php:204
5745
  #@ formidable
5746
  msgid "Entry Limit (leave blank to list all)"
5747
  msgstr "Eintrags-Limit (leer lassen um Alle zu listen)"
5748
 
5749
- #: pro/classes/views/frmpro-forms/add_form_options.php:58
5750
  #@ formidable
5751
  msgid "Cookie Expiration"
5752
  msgstr ""
@@ -5756,42 +5028,26 @@ msgstr ""
5756
  msgid "Show the saved value for fields with separate values."
5757
  msgstr ""
5758
 
5759
- #: classes/controllers/FrmSettingsController.php:12
 
5760
  #: classes/views/frm-settings/form.php:11
5761
  #@ formidable
5762
  msgid "Global Settings"
5763
  msgstr ""
5764
 
5765
- #: classes/helpers/FrmFieldsHelper.php:388
5766
- #, php-format
5767
- #@ formidable
5768
- msgid "%1$sclear default value when field is clicked"
5769
- msgstr ""
5770
-
5771
- #: classes/helpers/FrmFieldsHelper.php:388
5772
- #@ formidable
5773
- msgid "Do not"
5774
- msgstr ""
5775
-
5776
- #: classes/helpers/FrmFieldsHelper.php:393
5777
- #, php-format
5778
- #@ formidable
5779
- msgid "Default value will %1$spass form validation"
5780
- msgstr ""
5781
-
5782
- #: classes/models/FrmSettings.php:62
5783
  #@ formidable
5784
  msgid "This field cannot be blank."
5785
  msgstr ""
5786
 
5787
- #: classes/views/frm-forms/add_field.php:114
5788
  #, php-format
5789
  #@ formidable
5790
  msgid "Your captcha will not appear on your form until you %1$sset up%2$s the Public and Private Keys"
5791
  msgstr ""
5792
 
5793
  #: classes/views/frm-forms/mb_insert_fields.php:2
5794
- #: pro/classes/controllers/FrmProDisplaysController.php:360
5795
  #@ formidable
5796
  msgid "Customization"
5797
  msgstr ""
@@ -5833,79 +5089,54 @@ msgstr ""
5833
  msgid "Error Class"
5834
  msgstr ""
5835
 
5836
- #: classes/views/frm-forms/notification.php:9
5837
  #@ formidable
5838
  msgid "Custom Name"
5839
  msgstr ""
5840
 
5841
- #: classes/views/frm-forms/notification.php:33
5842
  #@ formidable
5843
  msgid "Custom Address"
5844
  msgstr ""
5845
 
5846
- #: classes/views/frm-forms/settings.php:131
5847
  #@ formidable
5848
  msgid "Add Notification"
5849
  msgstr ""
5850
 
5851
- #: classes/views/frm-settings/form.php:147
5852
  #@ formidable
5853
  msgid "Blank Field"
5854
  msgstr ""
5855
 
5856
- #: classes/views/frm-settings/form.php:147
5857
  #@ formidable
5858
  msgid "The message seen when a required field is left blank."
5859
  msgstr ""
5860
 
5861
  #: pro/classes/views/shared/mb_adv_info.php:13
5862
- #: pro/classes/views/shared/mb_adv_info.php:111
5863
  #@ formidable
5864
  msgid "IDs"
5865
  msgstr ""
5866
 
5867
  #: pro/classes/views/shared/mb_adv_info.php:16
5868
- #: pro/classes/views/shared/mb_adv_info.php:114
5869
  #@ formidable
5870
  msgid "Fields from your form"
5871
  msgstr ""
5872
 
5873
- #: pro/classes/views/shared/mb_adv_info.php:67
5874
- #@ formidable
5875
- msgid "Entry created at"
5876
- msgstr ""
5877
-
5878
- #: pro/classes/views/shared/mb_adv_info.php:68
5879
- #@ formidable
5880
- msgid "Entry updated at"
5881
- msgstr ""
5882
-
5883
  #: pro/classes/views/shared/mb_adv_info.php:80
5884
  #@ formidable
5885
  msgid "Edit Entry Link"
5886
  msgstr ""
5887
 
5888
- #: pro/classes/views/shared/mb_adv_info.php:79
5889
- #@ formidable
5890
- msgid "Single Entry Link"
5891
- msgstr ""
5892
-
5893
  #: pro/classes/controllers/FrmProDisplaysController.php:487
5894
  #@ formidable
5895
  msgid "Field Label"
5896
  msgstr ""
5897
 
5898
- #: pro/classes/controllers/FrmProDisplaysController.php:59
5899
- #@ formidable
5900
- msgid "Custom Display"
5901
- msgstr ""
5902
-
5903
- #: pro/classes/controllers/FrmProDisplaysController.php:104
5904
- #@ formidable
5905
- msgid "Show All Forms"
5906
- msgstr ""
5907
-
5908
- #: pro/classes/controllers/FrmProDisplaysController.php:214
5909
  #@ formidable
5910
  msgid "Former ID"
5911
  msgstr ""
@@ -5991,19 +5222,19 @@ msgid "No Auto P"
5991
  msgstr ""
5992
 
5993
  #: pro/classes/controllers/FrmProDisplaysController.php:497
5994
- #: pro/classes/controllers/FrmProFormsController.php:198
5995
  #@ formidable
5996
  msgid "First Name"
5997
  msgstr ""
5998
 
5999
  #: pro/classes/controllers/FrmProDisplaysController.php:498
6000
- #: pro/classes/controllers/FrmProFormsController.php:199
6001
  #@ formidable
6002
  msgid "Last Name"
6003
  msgstr ""
6004
 
6005
  #: pro/classes/controllers/FrmProDisplaysController.php:498
6006
- #: pro/classes/controllers/FrmProFormsController.php:197
6007
  #@ formidable
6008
  msgid "Display Name"
6009
  msgstr ""
@@ -6013,57 +5244,47 @@ msgstr ""
6013
  msgid "Avatar"
6014
  msgstr ""
6015
 
6016
- #: pro/classes/controllers/FrmProEntriesController.php:1932
6017
  #@ formidable
6018
  msgid "You are missing options in your shortcode. field_id and either user_id, entry_id, or ip are required."
6019
  msgstr ""
6020
 
6021
- #: pro/classes/helpers/FrmProEntriesHelper.php:75
6022
  #@ formidable
6023
  msgid "Resend Email Notifications"
6024
  msgstr ""
6025
 
6026
- #: pro/classes/helpers/FrmProEntriesHelper.php:99
6027
- #@ formidable
6028
- msgid "Filter"
6029
- msgstr ""
6030
-
6031
- #: pro/classes/views/shared/mb_adv_info.php:122
6032
  #@ formidable
6033
  msgid "Conditional text here"
6034
  msgstr ""
6035
 
6036
- #: pro/classes/views/shared/mb_adv_info.php:138
6037
- #@ formidable
6038
- msgid "Click a button below to insert sample logic into your custom display"
6039
- msgstr ""
6040
-
6041
- #: pro/classes/views/shared/mb_adv_info.php:174
6042
  #@ formidable
6043
  msgid "Image Size"
6044
  msgstr ""
6045
 
6046
- #: pro/classes/views/shared/mb_adv_info.php:177
6047
  #@ formidable
6048
  msgid "Image ID"
6049
  msgstr ""
6050
 
6051
- #: pro/classes/views/shared/mb_adv_info.php:180
6052
  #@ formidable
6053
  msgid "Image Name"
6054
  msgstr ""
6055
 
6056
- #: pro/classes/views/shared/mb_adv_info.php:188
6057
  #@ formidable
6058
  msgid "Insert user information"
6059
  msgstr ""
6060
 
6061
- #: pro/classes/views/shared/mb_adv_info.php:206
6062
  #@ formidable
6063
  msgid "Data From Entries options"
6064
  msgstr ""
6065
 
6066
- #: pro/classes/views/shared/mb_adv_info.php:209
6067
  #@ formidable
6068
  msgid "Creation Date"
6069
  msgstr ""
@@ -6073,98 +5294,78 @@ msgstr ""
6073
  msgid "Field From Entry"
6074
  msgstr ""
6075
 
6076
- #: pro/classes/views/displays/mb_advanced.php:25
6077
  #@ formidable
6078
  msgid "Filter Entries"
6079
  msgstr ""
6080
 
6081
- #: pro/classes/views/displays/where_row.php:7
6082
  #@ formidable
6083
  msgid "Entry updated date"
6084
  msgstr ""
6085
 
6086
- #: pro/classes/views/frmpro-fields/field-values.php:28
6087
- #: pro/classes/views/frmpro-fields/field-values.php:45
6088
  #@ formidable
6089
  msgid "Anything"
6090
  msgstr ""
6091
 
6092
- #: pro/classes/views/frmpro-fields/form-fields.php:84
6093
- #: pro/classes/views/frmpro-fields/form-fields.php:90
6094
  #@ formidable
6095
  msgid "Remove"
6096
  msgstr ""
6097
 
6098
- #: pro/classes/views/frmpro-fields/options-form.php:109
6099
  #@ formidable
6100
  msgid "Multiple files"
6101
  msgstr ""
6102
 
6103
- #: pro/classes/views/frmpro-fields/options-form.php:111
6104
  #@ formidable
6105
  msgid "allow multiple files to be uploaded to this field"
6106
  msgstr ""
6107
 
6108
- #: pro/classes/views/frmpro-forms/notifications.php:9
6109
  #@ formidable
6110
  msgid "Options"
6111
  msgstr ""
6112
 
6113
- #: pro/classes/views/frmpro-forms/notifications.php:15
6114
- #@ formidable
6115
- msgid "Remove Email"
6116
- msgstr ""
6117
-
6118
- #: pro/classes/views/frmpro-forms/notifications.php:18
6119
  #@ formidable
6120
  msgid "Send this notification when entries are"
6121
  msgstr ""
6122
 
6123
- #: pro/classes/views/frmpro-forms/notifications.php:20
6124
  #@ formidable
6125
  msgid "created"
6126
  msgstr ""
6127
 
6128
- #: pro/classes/views/frmpro-forms/notifications.php:21
6129
  #@ formidable
6130
  msgid "updated"
6131
  msgstr ""
6132
 
6133
- #: pro/classes/views/frmpro-forms/notifications.php:22
6134
  #@ formidable
6135
  msgid "created or updated"
6136
  msgstr ""
6137
 
6138
- #: pro/classes/views/frmpro-forms/notifications.php:41
6139
- #@ formidable
6140
- msgid "Add a radio, dropdown, or checkbox field to your form to enable conditional logic."
6141
- msgstr ""
6142
-
6143
- #: pro/classes/views/frmpro-forms/notifications.php:46
6144
  #@ formidable
6145
  msgid "Send"
6146
  msgstr ""
6147
 
6148
- #: pro/classes/views/frmpro-forms/notifications.php:47
6149
  #@ formidable
6150
  msgid "Stop"
6151
  msgstr ""
6152
 
6153
- #: pro/classes/views/frmpro-forms/notifications.php:49
6154
  #@ formidable
6155
  msgid "this notification if"
6156
  msgstr ""
6157
 
6158
- #: pro/classes/controllers/FrmProDisplaysController.php:486
6159
- #@ formidable
6160
- msgid "Number Format"
6161
- msgstr ""
6162
-
6163
- #: pro/classes/views/shared/mb_adv_info.php:75
6164
- #@ formidable
6165
- msgid "Default Message"
6166
- msgstr ""
6167
-
6168
  #: pro/classes/views/shared/mb_adv_info.php:76
6169
  #@ formidable
6170
  msgid "Default HTML"
@@ -6175,21 +5376,6 @@ msgstr ""
6175
  msgid "Default Plain"
6176
  msgstr ""
6177
 
6178
- #: pro/classes/views/shared/mb_adv_info.php:81
6179
- #@ formidable
6180
- msgid "Rotate even/odd"
6181
- msgstr ""
6182
-
6183
- #: pro/classes/controllers/FrmProDisplaysController.php:160
6184
- #@ formidable
6185
- msgid "Custom Display was Successfully Copied"
6186
- msgstr ""
6187
-
6188
- #: pro/classes/controllers/FrmProDisplaysController.php:164
6189
- #@ formidable
6190
- msgid "There was a problem creating new Entry Display settings."
6191
- msgstr ""
6192
-
6193
  #: pro/classes/controllers/FrmProDisplaysController.php:479
6194
  #@ formidable
6195
  msgid "Remove Links"
@@ -6225,44 +5411,39 @@ msgstr ""
6225
  msgid "Javascript from your form entries are automatically removed. Add this option only if you trust those submitting entries."
6226
  msgstr ""
6227
 
6228
- #: pro/classes/controllers/FrmProStatisticsController.php:959
6229
  #@ formidable
6230
  msgid "Count"
6231
  msgstr ""
6232
 
6233
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:26
6234
  #: pro/classes/views/frmpro-entries/sidebar-show.php:19
6235
  #@ formidable
6236
  msgid "Delete entry but leave the post"
6237
  msgstr ""
6238
 
6239
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:26
6240
  #: pro/classes/views/frmpro-entries/sidebar-show.php:19
6241
  #@ formidable
6242
  msgid "Delete without Post"
6243
  msgstr ""
6244
 
6245
- #: pro/classes/views/frmpro-fields/options-form.php:55
6246
  #@ formidable
6247
  msgid "Multiple select"
6248
  msgstr ""
6249
 
6250
- #: pro/classes/views/frmpro-fields/show.php:63
6251
- #: pro/classes/views/frmpro-fields/show.php:70
6252
  #@ formidable
6253
  msgid "There are no options"
6254
  msgstr ""
6255
 
6256
- #: pro/classes/views/frmpro-forms/_comment_meta_row.php:4
6257
  #@ formidable
6258
  msgid "Add Comment Meta"
6259
  msgstr ""
6260
 
6261
- #: pro/classes/views/frmpro-forms/comment_options.php:3
6262
- #@ formidable
6263
- msgid "Collapse"
6264
- msgstr ""
6265
-
6266
  #: pro/classes/views/frmpro-forms/comment_options.php:4
6267
  #@ formidable
6268
  msgid "Comment Creation Options"
@@ -6283,72 +5464,35 @@ msgstr ""
6283
  msgid "Comment Meta"
6284
  msgstr ""
6285
 
6286
- #: pro/classes/views/settings/formroller.php:514
6287
  #@ formidable
6288
  msgid "Custom CSS"
6289
  msgstr ""
6290
 
6291
- #: pro/classes/views/settings/formroller.php:518
6292
  #@ formidable
6293
  msgid "You can add custom css here or in your theme style.css"
6294
  msgstr ""
6295
 
6296
- #: pro/classes/views/shared/import_form.php:3
 
 
 
6297
  #@ formidable
6298
  msgid "Import/Export"
6299
  msgstr ""
6300
 
6301
- #: pro/classes/views/shared/import_form.php:13
6302
- #@ formidable
6303
- msgid "Upload your Formidable XML file to import the forms, entries, and custom displays into this site."
6304
- msgstr ""
6305
-
6306
- #: pro/classes/views/shared/import_form.php:14
6307
- #@ formidable
6308
- msgid "Choose a Formidable XML file to upload, then click \"Upload file and import.\""
6309
- msgstr ""
6310
-
6311
- #: pro/classes/views/shared/import_form.php:21
6312
- #@ formidable
6313
- msgid "Choose a file from your computer"
6314
- msgstr ""
6315
-
6316
- #: pro/classes/views/shared/import_form.php:21
6317
- #@ formidable
6318
- msgid "Maximum size: 32MB"
6319
- msgstr ""
6320
-
6321
- #: pro/classes/views/shared/import_form.php:25
6322
  #@ formidable
6323
  msgid "Upload file and import"
6324
  msgstr ""
6325
 
6326
- #: pro/classes/views/shared/import_form.php:42
6327
- #@ formidable
6328
- msgid "Data Types to Export"
6329
- msgstr ""
6330
-
6331
- #: pro/classes/views/shared/import_form.php:44
6332
- #@ formidable
6333
- msgid "Include the following data types in your export file"
6334
- msgstr ""
6335
-
6336
- #: pro/classes/views/shared/import_form.php:52
6337
- #@ formidable
6338
- msgid "Select forms (optional)"
6339
- msgstr ""
6340
-
6341
- #: pro/classes/views/shared/import_form.php:54
6342
- #@ formidable
6343
- msgid "If you would like to include ONLY specific forms and the entries and custom displays related to those forms, select those forms here"
6344
- msgstr ""
6345
-
6346
- #: pro/classes/views/shared/import_form.php:62
6347
  #@ formidable
6348
  msgid "Export Selection"
6349
  msgstr ""
6350
 
6351
- #: classes/models/FrmSettings.php:63
6352
  #@ formidable
6353
  msgid "This value must be unique."
6354
  msgstr ""
@@ -6358,42 +5502,38 @@ msgstr ""
6358
  msgid "Show more"
6359
  msgstr ""
6360
 
6361
- #: classes/views/frm-settings/form.php:164
6362
  #@ formidable
6363
  msgid "Unique Value"
6364
  msgstr ""
6365
 
6366
- #: classes/views/frm-settings/form.php:164
6367
  #@ formidable
6368
  msgid "The message seen when a user selects a value in a unique field that has already been used."
6369
  msgstr ""
6370
 
6371
- #: pro/classes/views/frmpro-fields/_logic_row.php:33
 
6372
  #@ formidable
6373
  msgid "not like"
6374
  msgstr ""
6375
 
6376
- #: pro/classes/views/frmpro-fields/options-form.php:255
6377
- #@ formidable
6378
- msgid "Error message for unique value"
6379
- msgstr ""
6380
-
6381
  #: pro/classes/views/frmpro-forms/add_form_options.php:1
6382
  #@ formidable
6383
- msgid "Submit this Form with AJAX"
6384
  msgstr ""
6385
 
6386
- #: classes/controllers/FrmFieldsController.php:173
6387
  #@ formidable
6388
  msgid "Option"
6389
  msgstr ""
6390
 
6391
- #: classes/helpers/FrmFieldsHelper.php:37
6392
  #@ formidable
6393
  msgid "User ID (hidden)"
6394
  msgstr ""
6395
 
6396
- #: classes/views/frm-forms/add_field.php:20
6397
  #@ formidable
6398
  msgid "Delete Field"
6399
  msgstr ""
@@ -6403,12 +5543,12 @@ msgstr ""
6403
  msgid "Click to toggle"
6404
  msgstr ""
6405
 
6406
- #: pro/classes/controllers/FrmProDisplaysController.php:354
6407
  #@ formidable
6408
  msgid "Basic Settings"
6409
  msgstr ""
6410
 
6411
- #: pro/classes/controllers/FrmProDisplaysController.php:357
6412
  #@ formidable
6413
  msgid "Advanced Settings"
6414
  msgstr ""
@@ -6418,114 +5558,98 @@ msgstr ""
6418
  msgid "Dynamic Default Value"
6419
  msgstr ""
6420
 
6421
- #: pro/classes/views/frmpro-fields/options-form.php:57
6422
  #@ formidable
6423
  msgid "enable multiselect"
6424
  msgstr ""
6425
 
6426
- #: pro/classes/views/frmpro-fields/options-form.php:59
6427
  #@ formidable
6428
  msgid "enable autocomplete"
6429
  msgstr ""
6430
 
6431
- #: pro/classes/views/frmpro-fields/options-form.php:234
6432
- #@ formidable
6433
- msgid "Permissions"
6434
- msgstr ""
6435
-
6436
- #: pro/classes/views/frmpro-fields/options-form.php:244
6437
  #@ formidable
6438
  msgid "Everyone"
6439
  msgstr ""
6440
 
6441
- #: pro/classes/views/frmpro-fields/options-form.php:249
6442
  #@ formidable
6443
  msgid "Logged-out Users"
6444
  msgstr ""
6445
 
6446
- #: classes/controllers/FrmUpdatesController.php:42
 
6447
  #@ formidable
6448
  msgid "Formidable Pro License"
6449
  msgstr ""
6450
 
6451
- #: classes/controllers/FrmUpdatesController.php:43
6452
  #@ formidable
6453
  msgid "Your Formidable Pro License was Invalid"
6454
  msgstr ""
6455
 
6456
- #: classes/controllers/FrmUpdatesController.php:130
6457
- #, php-format
6458
- #@ formidable
6459
- msgid "Your License was accepted<br/>Now you can %1$sUpgrade Automatically!%2$s"
6460
- msgstr ""
6461
-
6462
- #: classes/controllers/FrmUpdatesController.php:150
6463
  #@ formidable
6464
  msgid "Click here"
6465
  msgstr ""
6466
 
6467
- #: classes/controllers/FrmUpdatesController.php:156
6468
  #@ formidable
6469
  msgid "Formidable Pro is Installed"
6470
  msgstr ""
6471
 
6472
- #: classes/controllers/FrmUpdatesController.php:157
6473
  #@ formidable
6474
  msgid "Enter new license"
6475
  msgstr ""
6476
 
6477
- #: classes/controllers/FrmUpdatesController.php:163
6478
- #@ formidable
6479
- msgid "Affiliate Dashboard"
6480
- msgstr ""
6481
-
6482
- #: classes/controllers/FrmUpdatesController.php:212
6483
  #@ formidable
6484
  msgid "Use this license to enable Formidable Pro site-wide"
6485
  msgstr ""
6486
 
6487
- #: classes/controllers/FrmUpdatesController.php:219
6488
  #@ formidable
6489
  msgid "Save License"
6490
  msgstr ""
6491
 
6492
- #: classes/controllers/FrmUpdatesController.php:275
 
 
6493
  #@ formidable
6494
  msgid "Please enter a license number"
6495
  msgstr ""
6496
 
6497
- #: classes/controllers/FrmUpdatesController.php:425
6498
  #@ formidable
6499
  msgid "expired"
6500
  msgstr ""
6501
 
6502
- #: classes/controllers/FrmUpdatesController.php:425
6503
  #@ formidable
6504
  msgid "invalid"
6505
  msgstr ""
6506
 
6507
- #: classes/controllers/FrmUpdatesController.php:426
6508
  #, php-format
6509
  #@ formidable
6510
  msgid "An update is available, but your license is %s."
6511
  msgstr ""
6512
 
6513
- #: classes/controllers/FrmUpdatesController.php:489
6514
  #@ formidable
6515
  msgid "Check for Update"
6516
  msgstr ""
6517
 
6518
- #: classes/controllers/FrmUpdatesController.php:507
6519
- #@ formidable
6520
- msgid "You had an HTTP error connecting to Strategy11's Mothership API"
6521
- msgstr ""
6522
-
6523
- #: classes/controllers/FrmUpdatesController.php:515
6524
  #@ formidable
6525
  msgid "Your License Key was invalid"
6526
  msgstr ""
6527
 
6528
- #: classes/helpers/FrmFormsHelper.php:130
 
6529
  #@ formidable
6530
  msgid "Sending"
6531
  msgstr ""
@@ -6545,187 +5669,182 @@ msgstr ""
6545
  msgid "Layout"
6546
  msgstr ""
6547
 
6548
- #: classes/views/frm-forms/add_field_links.php:31
6549
- #@ formidable
6550
- msgid "Click or drag to add a field into your form"
6551
- msgstr ""
6552
-
6553
- #: classes/views/frm-forms/add_field_links.php:57
6554
  #@ formidable
6555
  msgid "Add classes in the \"CSS layout classes\" field option"
6556
  msgstr ""
6557
 
6558
- #: classes/views/frm-forms/add_field_links.php:60
6559
  #@ formidable
6560
  msgid "First 1/2"
6561
  msgstr ""
6562
 
6563
- #: classes/views/frm-forms/add_field_links.php:61
6564
  #@ formidable
6565
  msgid "Last 1/2"
6566
  msgstr ""
6567
 
6568
- #: classes/views/frm-forms/add_field_links.php:62
6569
  #@ formidable
6570
  msgid "First 1/3"
6571
  msgstr ""
6572
 
6573
- #: classes/views/frm-forms/add_field_links.php:63
6574
  #@ formidable
6575
  msgid "Last 1/3"
6576
  msgstr ""
6577
 
6578
- #: classes/views/frm-forms/add_field_links.php:64
6579
  #@ formidable
6580
  msgid "First 2/3"
6581
  msgstr ""
6582
 
6583
- #: classes/views/frm-forms/add_field_links.php:65
6584
  #@ formidable
6585
  msgid "Last 2/3"
6586
  msgstr ""
6587
 
6588
- #: classes/views/frm-forms/add_field_links.php:66
6589
  #@ formidable
6590
  msgid "1/3"
6591
  msgstr ""
6592
 
6593
- #: classes/views/frm-forms/add_field_links.php:67
6594
  #@ formidable
6595
  msgid "1/4"
6596
  msgstr ""
6597
 
6598
- #: classes/views/frm-forms/add_field_links.php:68
6599
  #@ formidable
6600
  msgid "First 1/4"
6601
  msgstr ""
6602
 
6603
- #: classes/views/frm-forms/add_field_links.php:69
6604
  #@ formidable
6605
  msgid "Last 1/4"
6606
  msgstr ""
6607
 
6608
- #: classes/views/frm-forms/add_field_links.php:70
6609
  #@ formidable
6610
  msgid "First 1/5"
6611
  msgstr ""
6612
 
6613
- #: classes/views/frm-forms/add_field_links.php:71
6614
  #@ formidable
6615
  msgid "Last 1/5"
6616
  msgstr ""
6617
 
6618
- #: classes/views/frm-forms/add_field_links.php:72
6619
  #@ formidable
6620
  msgid "1/5"
6621
  msgstr ""
6622
 
6623
- #: classes/views/frm-forms/add_field_links.php:73
6624
  #@ formidable
6625
  msgid "Inline"
6626
  msgstr ""
6627
 
6628
- #: classes/views/frm-forms/add_field_links.php:73
6629
  #@ formidable
6630
  msgid "Align fields in a row without a specific width."
6631
  msgstr ""
6632
 
6633
- #: classes/views/frm-forms/add_field_links.php:74
6634
  #@ formidable
6635
  msgid "First Inline"
6636
  msgstr ""
6637
 
6638
- #: classes/views/frm-forms/add_field_links.php:74
6639
  #@ formidable
6640
  msgid "Align fields at the beginning of a row without a specific width."
6641
  msgstr ""
6642
 
6643
- #: classes/views/frm-forms/add_field_links.php:75
6644
  #@ formidable
6645
  msgid "Last Inline"
6646
  msgstr ""
6647
 
6648
- #: classes/views/frm-forms/add_field_links.php:75
6649
  #@ formidable
6650
  msgid "Align fields at the end of a row without a specific width."
6651
  msgstr ""
6652
 
6653
- #: classes/views/frm-forms/add_field_links.php:77
6654
  #@ formidable
6655
  msgid "100% width"
6656
  msgstr ""
6657
 
6658
- #: classes/views/frm-forms/add_field_links.php:77
6659
  #@ formidable
6660
  msgid "Force the field to fill the full space with 100% width."
6661
  msgstr ""
6662
 
6663
- #: classes/views/frm-forms/add_field_links.php:78
6664
  #@ formidable
6665
  msgid "First Grid Row"
6666
  msgstr ""
6667
 
6668
- #: classes/views/frm-forms/add_field_links.php:79
6669
  #@ formidable
6670
  msgid "Even Grid Row"
6671
  msgstr ""
6672
 
6673
- #: classes/views/frm-forms/add_field_links.php:80
6674
  #@ formidable
6675
  msgid "Odd Grid Row"
6676
  msgstr ""
6677
 
6678
- #: classes/views/frm-forms/add_field_links.php:81
6679
  #@ formidable
6680
  msgid "2 Col Options"
6681
  msgstr ""
6682
 
6683
- #: classes/views/frm-forms/add_field_links.php:81
6684
  #@ formidable
6685
  msgid "Put your radio button or checkbox options into two columns."
6686
  msgstr ""
6687
 
6688
- #: classes/views/frm-forms/add_field_links.php:82
6689
  #@ formidable
6690
  msgid "3 Col Options"
6691
  msgstr ""
6692
 
6693
- #: classes/views/frm-forms/add_field_links.php:82
6694
  #@ formidable
6695
  msgid "Put your radio button or checkbox options into three columns."
6696
  msgstr ""
6697
 
6698
- #: classes/views/frm-forms/add_field_links.php:83
6699
  #@ formidable
6700
  msgid "4 Col Options"
6701
  msgstr ""
6702
 
6703
- #: classes/views/frm-forms/add_field_links.php:83
6704
  #@ formidable
6705
  msgid "Put your radio button or checkbox options into four columns."
6706
  msgstr ""
6707
 
6708
- #: classes/views/frm-forms/add_field_links.php:84
6709
  #@ formidable
6710
  msgid "Add this to a read-only field to display the text in bold without a border or background."
6711
  msgstr ""
6712
 
6713
- #: classes/views/frm-forms/add_field_links.php:85
6714
  #@ formidable
6715
  msgid "Scroll Box"
6716
  msgstr ""
6717
 
6718
- #: classes/views/frm-forms/add_field_links.php:85
6719
  #@ formidable
6720
  msgid "If you have many checkbox or radio button options, you may add this class to allow your user to easily scroll through the options."
6721
  msgstr ""
6722
 
6723
- #: classes/views/frm-forms/footer.php:5
6724
  #@ formidable
6725
  msgid "Saving"
6726
  msgstr ""
6727
 
6728
- #: classes/views/frm-forms/footer.php:6
6729
  #@ formidable
6730
  msgid "Saved"
6731
  msgstr ""
@@ -6740,71 +5859,56 @@ msgstr ""
6740
  msgid "Button Hook"
6741
  msgstr ""
6742
 
6743
- #: classes/views/frm-forms/settings.php:101
6744
  #@ formidable
6745
  msgid "Load and save form builder page with AJAX"
6746
  msgstr ""
6747
 
6748
- #: classes/views/frm-forms/settings.php:101
6749
  #@ formidable
6750
  msgid "Recommended for long forms."
6751
  msgstr ""
6752
 
6753
- #: classes/views/frm-forms/settings.php:106
6754
  #@ formidable
6755
  msgid "Warning: There is no way to retrieve unsaved entries."
6756
  msgstr ""
6757
 
6758
- #: pro/classes/controllers/FrmProEntriesController.php:85
6759
  #@ formidable
6760
  msgid "Overview"
6761
  msgstr ""
6762
 
6763
- #: pro/classes/controllers/FrmProEntriesController.php:86
6764
  #@ formidable
6765
  msgid "This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow."
6766
  msgstr ""
6767
 
6768
- #: pro/classes/controllers/FrmProEntriesController.php:87
6769
- #@ formidable
6770
- msgid "Hovering over a row in the posts list will display action links that allow you to manage your post."
6771
- msgstr ""
6772
-
6773
- #: pro/classes/controllers/FrmProEntriesController.php:91
6774
  #@ formidable
6775
  msgid "For more information:"
6776
  msgstr ""
6777
 
6778
- #: pro/classes/controllers/FrmProEntriesController.php:92
6779
  #@ formidable
6780
  msgid "Documentation on Entries"
6781
  msgstr ""
6782
 
6783
- #: pro/classes/controllers/FrmProEntriesController.php:93
6784
  #@ formidable
6785
  msgid "Support"
6786
  msgstr ""
6787
 
6788
- #: pro/classes/controllers/FrmProFormsController.php:196
6789
  #@ formidable
6790
  msgid "Login"
6791
  msgstr ""
6792
 
6793
- #: pro/classes/controllers/FrmProFormsController.php:208
6794
  #@ formidable
6795
  msgid "GET/POST"
6796
  msgstr ""
6797
 
6798
- #: pro/classes/controllers/FrmProFormsController.php:406
6799
- #@ formidable
6800
- msgid "Previous"
6801
- msgstr ""
6802
-
6803
- #: pro/classes/models/FrmProField.php:59
6804
- #@ formidable
6805
- msgid "Next"
6806
- msgstr ""
6807
-
6808
  #: pro/classes/views/frmpro-entries/csv.php:16
6809
  #@ formidable
6810
  msgid "(label)"
@@ -6830,21 +5934,16 @@ msgstr ""
6830
  msgid "Print"
6831
  msgstr ""
6832
 
6833
- #: pro/classes/views/frmpro-fields/options-form.php:281
6834
  #@ formidable
6835
  msgid "Do not skip"
6836
  msgstr ""
6837
 
6838
- #: pro/classes/views/frmpro-fields/options-form.php:282
6839
  #@ formidable
6840
  msgid "Skip"
6841
  msgstr ""
6842
 
6843
- #: pro/classes/views/frmpro-fields/options-form.php:284
6844
- #@ formidable
6845
- msgid "next page if"
6846
- msgstr ""
6847
-
6848
  #: pro/classes/views/frmpro-forms/add_form_options.php:2
6849
  #@ formidable
6850
  msgid "If your form includes a file upload field, ajax submission will not be used."
@@ -6860,3 +5959,914 @@ msgstr ""
6860
  msgid "Add dynamic default values as default text to fields in your form"
6861
  msgstr ""
6862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Formidable v1.07.05\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
+ "PO-Revision-Date: 2014-03-06 17:50:25+0000\n"
7
  "Last-Translator: Peter Schönmann\n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
+ #: classes/controllers/FrmFormsController.php:44
24
+ #: classes/controllers/FrmFormsController.php:372
25
+ #: classes/controllers/FrmXMLController.php:65
26
  #: classes/views/frm-forms/list.php:3
 
27
  #@ formidable
28
  msgid "Forms"
29
  msgstr "Formulare"
30
 
31
+ #: classes/controllers/FrmFormsController.php:58
32
+ #: classes/controllers/FrmFormsController.php:367
33
+ #: classes/views/frm-forms/edit.php:3
34
+ #: classes/views/frm-forms/list.php:3
35
  #@ formidable
36
  msgid "Templates"
37
  msgstr "Vorlagen"
38
 
39
+ #: classes/controllers/FrmAppController.php:84
40
+ #: classes/helpers/FrmListHelper.php:125
41
+ #: classes/views/frm-forms/settings.php:3
42
+ #: classes/views/frm-forms/settings.php:36
43
+ #: classes/views/shared/form-nav.php:4
44
  #@ formidable
45
  msgid "Settings"
46
  msgstr "Einstellungen"
47
 
48
+ #: classes/controllers/FrmAppController.php:133
 
 
 
 
 
 
 
49
  #@ formidable
50
  msgid "Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this or"
51
  msgstr "Ihre Formidable Datenbank muss aktualisiert werden.<br/>Bitte deaktivieren und reaktivieren Sie das Plugin, oder"
52
 
53
+ #: classes/controllers/FrmAppController.php:133
54
  #@ formidable
55
  msgid "Update Now"
56
  msgstr "Jetzt aktualisieren"
57
 
58
+ #: classes/controllers/FrmAppController.php:384
 
 
 
 
 
 
 
 
 
 
 
 
59
  #@ formidable
60
  msgid "Type-in or bookmark"
61
  msgstr "Eingeben oder Lesezeichen (Bookmark) setzen"
62
 
63
+ #: classes/controllers/FrmEntriesController.php:25
64
+ #: classes/controllers/FrmFormsController.php:369
65
+ #: classes/views/frm-entries/list.php:4
 
 
 
66
  #: classes/views/shared/form-nav.php:5
67
+ #: pro/classes/controllers/FrmProEntriesController.php:99
68
+ #: pro/classes/controllers/FrmProEntriesController.php:1152
69
+ #: pro/classes/controllers/FrmProXMLController.php:79
70
  #: pro/classes/views/frmpro-entries/list.php:3
71
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:31
 
72
  #@ formidable
73
  msgid "Entries"
74
  msgstr "Einträge"
75
 
76
+ #: classes/controllers/FrmFormsController.php:703
77
+ #: classes/controllers/FrmFormsController.php:708
78
+ #: classes/controllers/FrmFormsController.php:714
79
  #@ formidable
80
  msgid "Please select a valid form"
81
  msgstr "Bitte ein gültiges Formular wählen"
82
 
83
+ #: classes/controllers/FrmFieldsController.php:265
84
  #@ formidable
85
  msgid "Countries"
86
  msgstr "L&auml;nder"
87
 
88
+ #: classes/controllers/FrmFieldsController.php:273
89
  #@ formidable
90
  msgid "U.S. States"
91
  msgstr "U.S.-Bundesstaaten"
95
  msgid "U.S. State Abbreviations"
96
  msgstr "U.S. Staatenkürzel"
97
 
98
+ #: classes/controllers/FrmFieldsController.php:277
99
  #@ formidable
100
  msgid "Age"
101
  msgstr "Alter"
102
 
103
+ #: classes/controllers/FrmFieldsController.php:278
104
  #@ formidable
105
  msgid "Under 18"
106
  msgstr "Unter 18"
107
 
108
+ #: classes/controllers/FrmFieldsController.php:278
109
  #@ formidable
110
  msgid "18-24"
111
  msgstr "18-24"
112
 
113
+ #: classes/controllers/FrmFieldsController.php:278
114
  #@ formidable
115
  msgid "25-34"
116
  msgstr "25-34"
117
 
118
+ #: classes/controllers/FrmFieldsController.php:279
119
  #@ formidable
120
  msgid "35-44"
121
  msgstr "35-44"
122
 
123
+ #: classes/controllers/FrmFieldsController.php:279
124
  #@ formidable
125
  msgid "45-54"
126
  msgstr "45-54"
127
 
128
+ #: classes/controllers/FrmFieldsController.php:279
129
  #@ formidable
130
  msgid "55-64"
131
  msgstr "55-64"
132
 
133
+ #: classes/controllers/FrmFieldsController.php:280
134
  #@ formidable
135
  msgid "65 or Above"
136
  msgstr "65 oder &Auml;lter"
137
 
138
+ #: classes/controllers/FrmFieldsController.php:280
139
  #@ formidable
140
  msgid "Prefer Not to Answer"
141
  msgstr "Bevorzuge keine Antwort abzugeben"
142
 
143
+ #: classes/controllers/FrmFieldsController.php:283
144
  #@ formidable
145
  msgid "Satisfaction"
146
  msgstr "Zufriedenheit"
147
 
148
+ #: classes/controllers/FrmFieldsController.php:284
149
  #@ formidable
150
  msgid "Very Satisfied"
151
  msgstr "Sehr zufrieden"
152
 
153
+ #: classes/controllers/FrmFieldsController.php:284
154
  #@ formidable
155
  msgid "Satisfied"
156
  msgstr "Zufrieden"
157
 
 
158
  #: classes/controllers/FrmFieldsController.php:284
159
  #: classes/controllers/FrmFieldsController.php:289
160
+ #: classes/controllers/FrmFieldsController.php:294
161
  #@ formidable
162
  msgid "Neutral"
163
  msgstr "Neutral"
164
 
165
+ #: classes/controllers/FrmFieldsController.php:285
166
  #@ formidable
167
  msgid "Unsatisfied"
168
  msgstr "Unzufrieden"
169
 
170
+ #: classes/controllers/FrmFieldsController.php:285
171
  #@ formidable
172
  msgid "Very Unsatisfied"
173
  msgstr "Sehr unzufrieden"
174
 
 
175
  #: classes/controllers/FrmFieldsController.php:285
176
  #: classes/controllers/FrmFieldsController.php:290
177
+ #: classes/controllers/FrmFieldsController.php:295
178
+ #: pro/classes/controllers/FrmProDisplaysController.php:254
179
  #@ formidable
180
  msgid "N/A"
181
  msgstr "Nicht verfügbar"
182
 
183
+ #: classes/controllers/FrmFieldsController.php:288
184
  #@ formidable
185
  msgid "Importance"
186
  msgstr "Bedeutung"
187
 
188
+ #: classes/controllers/FrmFieldsController.php:289
189
  #@ formidable
190
  msgid "Very Important"
191
  msgstr "Sehr wichtig"
192
 
193
+ #: classes/controllers/FrmFieldsController.php:289
194
  #@ formidable
195
  msgid "Important"
196
  msgstr "Wichtig"
197
 
198
+ #: classes/controllers/FrmFieldsController.php:290
199
  #@ formidable
200
  msgid "Somewhat Important"
201
  msgstr "Irgendwie wichtig"
202
 
203
+ #: classes/controllers/FrmFieldsController.php:290
204
  #@ formidable
205
  msgid "Not at all Important"
206
  msgstr "Überhaupt nicht wichtig"
207
 
208
+ #: classes/controllers/FrmFieldsController.php:293
209
  #@ formidable
210
  msgid "Agreement"
211
  msgstr "Zustimmung"
212
 
213
+ #: classes/controllers/FrmFieldsController.php:294
214
  #@ formidable
215
  msgid "Strongly Agree"
216
  msgstr "Stimme komplett zu"
217
 
218
+ #: classes/controllers/FrmFieldsController.php:294
219
  #@ formidable
220
  msgid "Agree"
221
  msgstr "Stimme zu"
222
 
223
+ #: classes/controllers/FrmFieldsController.php:295
224
  #@ formidable
225
  msgid "Disagree"
226
  msgstr "Stimme nicht zu"
227
 
228
+ #: classes/controllers/FrmFieldsController.php:295
229
  #@ formidable
230
  msgid "Strongly Disagree"
231
  msgstr "Stimme überhaupt nicht zu"
232
 
233
+ #: classes/controllers/FrmFormsController.php:157
 
 
 
 
 
 
 
234
  #@ formidable
235
  msgid "Settings Successfully Updated"
236
  msgstr "Einstellungen wurden erfolgreich aktualisiert"
237
 
238
+ #: classes/controllers/FrmFormsController.php:201
239
+ #: classes/controllers/FrmFormsController.php:429
240
  #@ formidable
241
  msgid "Form was Successfully Updated"
242
  msgstr "Das Formular wurde erfolgreich upgedatet."
243
 
244
+ #: classes/controllers/FrmFormsController.php:214
245
  #@ formidable
246
  msgid "Form template was Successfully Created"
247
  msgstr "Eine Formular Vorlage wurde erfolgreich erstellt."
248
 
249
+ #: classes/controllers/FrmFormsController.php:214
250
  #@ formidable
251
  msgid "Form was Successfully Copied"
252
  msgstr "Das Formular wurde erfolgreich kopiert."
253
 
254
+ #: classes/controllers/FrmFormsController.php:218
255
  #@ formidable
256
  msgid "There was a problem creating new template."
257
  msgstr "Es gibt beim Erstellen der neuen Vorlage ein Problem."
258
 
259
+ #: classes/controllers/FrmFormsController.php:277
260
  #@ formidable
261
  msgid "Form was Successfully Deleted"
262
  msgstr "Das Formular wurde erfolgreich gelöscht."
263
 
264
+ #: classes/controllers/FrmFormsController.php:301
265
+ #: classes/controllers/FrmFormsController.php:308
266
  #@ formidable
267
  msgid "Add Formidable Form"
268
  msgstr "Ein Formidable Formular hinzufügen"
269
 
270
+ #: classes/controllers/FrmFormsController.php:362
271
  #: classes/views/frm-forms/default-templates.php:7
272
  #: classes/views/frm-forms/default-templates.php:41
273
+ #: classes/views/frm-forms/notification.php:16
274
+ #: classes/views/frm-forms/notification.php:65
275
+ #: classes/views/frm-forms/notification.php:66
276
+ #: pro/classes/controllers/FrmProDisplaysController.php:198
277
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:3
278
+ #@ default
 
 
 
279
  msgid "Name"
280
  msgstr "Name"
281
 
282
+ #: classes/controllers/FrmFormsController.php:363
283
  #: classes/views/frm-forms/default-templates.php:8
284
  #: classes/views/frm-forms/default-templates.php:42
285
+ #: pro/classes/controllers/FrmProDisplaysController.php:199
286
+ #: pro/classes/controllers/FrmProDisplaysController.php:350
287
+ #@ default
 
 
 
 
288
  msgid "Description"
289
  msgstr "Beschreibung"
290
 
291
+ #: classes/controllers/FrmFormsController.php:364
292
+ #: pro/classes/controllers/FrmProDisplaysController.php:206
293
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1784
294
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1798
295
+ #: pro/classes/views/displays/mb_form_disp_type.php:48
296
+ #: pro/classes/views/displays/mb_form_disp_type.php:58
 
 
 
297
  #@ formidable
298
  msgid "Key"
299
  msgstr "Schlüssel"
300
 
301
+ #: classes/views/frm-forms/sidebar-settings.php:15
 
 
302
  #@ formidable
303
  msgid "Direct Link"
304
  msgstr "Direkter Link"
305
 
306
+ #: classes/controllers/FrmFormsController.php:371
 
 
307
  #: pro/classes/views/displays/submitbox_actions.php:2
308
  #@ formidable
309
  msgid "Shortcodes"
310
  msgstr "Shortcodes"
311
 
312
+ #: classes/controllers/FrmFormsController.php:375
313
+ #: classes/helpers/FrmFieldsHelper.php:33
314
+ #: pro/classes/controllers/FrmProDisplaysController.php:205
315
  #@ formidable
316
  msgid "Date"
317
  msgstr "Datum"
318
 
319
+ #: classes/controllers/FrmFormsController.php:431
320
  #@ formidable
321
  msgid "Template was Successfully Updated"
322
  msgstr "Vorlage wurde Erfolgreich Aktualisiert"
323
 
324
+ #: classes/controllers/FrmFormsController.php:434
325
+ #: classes/controllers/FrmFormsController.php:452
326
  #@ formidable
327
  msgid "That template cannot be edited"
328
  msgstr "Diese Vorlage ist nicht editierbar"
329
 
330
+ #: classes/controllers/FrmSettingsController.php:55
331
+ #: classes/controllers/FrmSettingsController.php:58
332
  #@ formidable
333
  msgid "Settings Saved"
334
  msgstr "Einstellungen gespeichert"
335
 
336
+ #: classes/controllers/FrmStatisticsController.php:19
337
+ #: classes/views/frm-statistics/list.php:4
338
+ #: classes/views/shared/form-nav.php:7
 
 
 
 
 
 
 
 
 
 
 
 
339
  #: pro/classes/controllers/FrmProStatisticsController.php:12
340
+ #: pro/classes/views/frmpro-statistics/show.php:3
341
  #@ formidable
342
  msgid "Reports"
343
  msgstr "Berichte"
344
 
345
+ #: classes/helpers/FrmAppHelper.php:116
346
  #@ formidable
347
  msgid "View Forms and Templates"
348
  msgstr "Formulare und Vorlagen ansehen"
349
 
350
+ #: classes/helpers/FrmAppHelper.php:117
351
  #@ formidable
352
  msgid "Add/Edit Forms and Templates"
353
  msgstr "Hinzufügen/Editieren von Formularen und Vorlagen"
354
 
355
+ #: classes/helpers/FrmAppHelper.php:118
356
  #@ formidable
357
  msgid "Delete Forms and Templates"
358
  msgstr "Formulare und Vorlagen löschen"
359
 
360
+ #: classes/helpers/FrmAppHelper.php:119
361
  #@ formidable
362
  msgid "Access this Settings Page"
363
  msgstr "Einstellungen öffnen"
364
 
365
+ #: classes/helpers/FrmAppHelper.php:122
366
  #@ formidable
367
  msgid "View Entries from Admin Area"
368
  msgstr "Einträge vom Adminbereich aus einsehen"
369
 
370
+ #: classes/helpers/FrmAppHelper.php:123
371
  #@ formidable
372
  msgid "Add Entries from Admin Area"
373
  msgstr "Hinzufügen von Einträgen aus dem Adminbereich"
374
 
375
+ #: classes/helpers/FrmAppHelper.php:124
376
  #@ formidable
377
  msgid "Edit Entries from Admin Area"
378
  msgstr "Einträge vom Adminbereich aus editieren"
379
 
380
+ #: classes/helpers/FrmAppHelper.php:125
381
  #@ formidable
382
  msgid "Delete Entries from Admin Area"
383
  msgstr "Einträge vom Adminbereich aus löschen"
384
 
385
+ #: classes/helpers/FrmAppHelper.php:126
386
  #@ formidable
387
  msgid "View Reports"
388
  msgstr "Berichte einsehen"
389
 
390
+ #: pro/classes/helpers/FrmProFieldsHelper.php:880
391
+ #: pro/classes/models/FrmProEntryMeta.php:188
 
 
 
 
 
 
392
  #@ formidable
393
  msgid "is invalid"
394
  msgstr "ist ungültig"
395
 
396
+ #: classes/helpers/FrmAppHelper.php:466
397
  #@ formidable
398
  msgid "Afghanistan"
399
  msgstr "Afghanistan"
400
 
401
+ #: classes/helpers/FrmAppHelper.php:466
402
  #@ formidable
403
  msgid "Albania"
404
  msgstr "Albanien"
405
 
406
+ #: classes/helpers/FrmAppHelper.php:466
407
  #@ formidable
408
  msgid "Algeria"
409
  msgstr "Algerien"
410
 
411
+ #: classes/helpers/FrmAppHelper.php:467
412
  #@ formidable
413
  msgid "American Samoa"
414
  msgstr "Amerikanisch-Samoa"
415
 
416
+ #: classes/helpers/FrmAppHelper.php:467
417
  #@ formidable
418
  msgid "Andorra"
419
  msgstr "Andorra"
420
 
421
+ #: classes/helpers/FrmAppHelper.php:467
422
  #@ formidable
423
  msgid "Angola"
424
  msgstr "Angola"
425
 
426
+ #: classes/helpers/FrmAppHelper.php:468
427
  #@ formidable
428
  msgid "Anguilla"
429
  msgstr "Anguilla"
430
 
431
+ #: classes/helpers/FrmAppHelper.php:468
432
  #@ formidable
433
  msgid "Antarctica"
434
  msgstr "Antarktis"
435
 
436
+ #: classes/helpers/FrmAppHelper.php:468
437
  #@ formidable
438
  msgid "Antigua and Barbuda"
439
  msgstr "Antigua und Barbuda"
440
 
441
+ #: classes/helpers/FrmAppHelper.php:469
442
  #@ formidable
443
  msgid "Argentina"
444
  msgstr "Argentinien"
445
 
446
+ #: classes/helpers/FrmAppHelper.php:469
447
  #@ formidable
448
  msgid "Armenia"
449
  msgstr "Armenien"
450
 
451
+ #: classes/helpers/FrmAppHelper.php:469
452
  #@ formidable
453
  msgid "Aruba"
454
  msgstr "Aruba"
455
 
456
+ #: classes/helpers/FrmAppHelper.php:470
457
  #@ formidable
458
  msgid "Australia"
459
  msgstr "Australien"
460
 
461
+ #: classes/helpers/FrmAppHelper.php:470
462
  #@ formidable
463
  msgid "Austria"
464
  msgstr "&Ouml;sterreich"
465
 
466
+ #: classes/helpers/FrmAppHelper.php:470
467
  #@ formidable
468
  msgid "Azerbaijan"
469
  msgstr "Aserbaidschan"
470
 
471
+ #: classes/helpers/FrmAppHelper.php:471
472
  #@ formidable
473
  msgid "Bahamas"
474
  msgstr "Bahamas"
475
 
476
+ #: classes/helpers/FrmAppHelper.php:471
477
  #@ formidable
478
  msgid "Bahrain"
479
  msgstr "Bahrain"
480
 
481
+ #: classes/helpers/FrmAppHelper.php:471
482
  #@ formidable
483
  msgid "Bangladesh"
484
  msgstr "Bangladesh"
485
 
486
+ #: classes/helpers/FrmAppHelper.php:472
487
  #@ formidable
488
  msgid "Barbados"
489
  msgstr "Barbados"
490
 
491
+ #: classes/helpers/FrmAppHelper.php:472
492
  #@ formidable
493
  msgid "Belarus"
494
  msgstr "Wei&szlig;russland"
495
 
496
+ #: classes/helpers/FrmAppHelper.php:472
497
  #@ formidable
498
  msgid "Belgium"
499
  msgstr "Belgien"
500
 
501
+ #: classes/helpers/FrmAppHelper.php:473
502
  #@ formidable
503
  msgid "Belize"
504
  msgstr "Belize"
505
 
506
+ #: classes/helpers/FrmAppHelper.php:473
507
  #@ formidable
508
  msgid "Benin"
509
  msgstr "Benin"
510
 
511
+ #: classes/helpers/FrmAppHelper.php:473
512
  #@ formidable
513
  msgid "Bermuda"
514
  msgstr "Bermuda"
515
 
516
+ #: classes/helpers/FrmAppHelper.php:474
517
  #@ formidable
518
  msgid "Bhutan"
519
  msgstr "Bhutan"
520
 
521
+ #: classes/helpers/FrmAppHelper.php:474
522
  #@ formidable
523
  msgid "Bolivia"
524
  msgstr "Bolivien"
525
 
526
+ #: classes/helpers/FrmAppHelper.php:474
527
  #@ formidable
528
  msgid "Bosnia and Herzegovina"
529
  msgstr "Bosnien und Herzegowina"
530
 
531
+ #: classes/helpers/FrmAppHelper.php:475
532
  #@ formidable
533
  msgid "Botswana"
534
  msgstr "Botswana"
535
 
536
+ #: classes/helpers/FrmAppHelper.php:475
537
  #@ formidable
538
  msgid "Brazil"
539
  msgstr "Brasilien"
540
 
541
+ #: classes/helpers/FrmAppHelper.php:475
542
  #@ formidable
543
  msgid "Brunei"
544
  msgstr "Brunei"
545
 
546
+ #: classes/helpers/FrmAppHelper.php:476
547
  #@ formidable
548
  msgid "Bulgaria"
549
  msgstr "Bulgarien"
550
 
551
+ #: classes/helpers/FrmAppHelper.php:476
552
  #@ formidable
553
  msgid "Burkina Faso"
554
  msgstr "Burkina Faso"
555
 
556
+ #: classes/helpers/FrmAppHelper.php:476
557
  #@ formidable
558
  msgid "Burundi"
559
  msgstr "Burundi"
560
 
561
+ #: classes/helpers/FrmAppHelper.php:477
562
  #@ formidable
563
  msgid "Cambodia"
564
  msgstr "Kambodscha"
565
 
566
+ #: classes/helpers/FrmAppHelper.php:477
567
  #@ formidable
568
  msgid "Cameroon"
569
  msgstr "Kamerun"
570
 
571
+ #: classes/helpers/FrmAppHelper.php:477
572
  #@ formidable
573
  msgid "Canada"
574
  msgstr "Kanada"
575
 
576
+ #: classes/helpers/FrmAppHelper.php:478
577
  #@ formidable
578
  msgid "Cape Verde"
579
  msgstr "Kapverdische Inseln"
580
 
581
+ #: classes/helpers/FrmAppHelper.php:478
582
  #@ formidable
583
  msgid "Cayman Islands"
584
  msgstr "Cayman Inseln"
585
 
586
+ #: classes/helpers/FrmAppHelper.php:478
587
  #@ formidable
588
  msgid "Central African Republic"
589
  msgstr "Zentralafrikanische Republik"
590
 
591
+ #: classes/helpers/FrmAppHelper.php:479
592
  #@ formidable
593
  msgid "Chad"
594
  msgstr "Tschad"
595
 
596
+ #: classes/helpers/FrmAppHelper.php:479
597
  #@ formidable
598
  msgid "Chile"
599
  msgstr "Chile"
600
 
601
+ #: classes/helpers/FrmAppHelper.php:479
602
  #@ formidable
603
  msgid "China"
604
  msgstr "China"
605
 
606
+ #: classes/helpers/FrmAppHelper.php:480
607
  #@ formidable
608
  msgid "Colombia"
609
  msgstr "Kolumbien"
610
 
611
+ #: classes/helpers/FrmAppHelper.php:480
612
  #@ formidable
613
  msgid "Comoros"
614
  msgstr "Komoren"
615
 
616
+ #: classes/helpers/FrmAppHelper.php:480
617
  #@ formidable
618
  msgid "Congo"
619
  msgstr "Kongo"
620
 
621
+ #: classes/helpers/FrmAppHelper.php:481
622
  #@ formidable
623
  msgid "Costa Rica"
624
  msgstr "Costa Rica"
625
 
626
+ #: classes/helpers/FrmAppHelper.php:481
627
  #@ formidable
628
  msgid "C&ocirc;te d'Ivoire"
629
  msgstr "C&ocirc;te d'Ivoire"
630
 
631
+ #: classes/helpers/FrmAppHelper.php:481
632
  #@ formidable
633
  msgid "Croatia"
634
  msgstr "Kroatien"
635
 
636
+ #: classes/helpers/FrmAppHelper.php:482
637
  #@ formidable
638
  msgid "Cuba"
639
  msgstr "Kuba"
640
 
641
+ #: classes/helpers/FrmAppHelper.php:482
642
  #@ formidable
643
  msgid "Cyprus"
644
  msgstr "Zypern"
645
 
646
+ #: classes/helpers/FrmAppHelper.php:482
647
  #@ formidable
648
  msgid "Czech Republic"
649
  msgstr "Tschechische Republik"
650
 
651
+ #: classes/helpers/FrmAppHelper.php:483
652
  #@ formidable
653
  msgid "Denmark"
654
  msgstr "D&auml;nemark"
655
 
656
+ #: classes/helpers/FrmAppHelper.php:483
657
  #@ formidable
658
  msgid "Djibouti"
659
  msgstr "Djibouti"
660
 
661
+ #: classes/helpers/FrmAppHelper.php:483
662
  #@ formidable
663
  msgid "Dominica"
664
  msgstr "Dominica"
665
 
666
+ #: classes/helpers/FrmAppHelper.php:484
667
  #@ formidable
668
  msgid "Dominican Republic"
669
  msgstr "Dominikanische Republik"
670
 
671
+ #: classes/helpers/FrmAppHelper.php:484
672
  #@ formidable
673
  msgid "East Timor"
674
  msgstr "Osttimor"
675
 
676
+ #: classes/helpers/FrmAppHelper.php:484
677
  #@ formidable
678
  msgid "Ecuador"
679
  msgstr "Ecuador"
680
 
681
+ #: classes/helpers/FrmAppHelper.php:485
682
  #@ formidable
683
  msgid "Egypt"
684
  msgstr "&Auml;gypten"
685
 
686
+ #: classes/helpers/FrmAppHelper.php:485
687
  #@ formidable
688
  msgid "El Salvador"
689
  msgstr "El Salvador"
690
 
691
+ #: classes/helpers/FrmAppHelper.php:485
692
  #@ formidable
693
  msgid "Equatorial Guinea"
694
  msgstr "Äquatorialguinea"
695
 
696
+ #: classes/helpers/FrmAppHelper.php:486
697
  #@ formidable
698
  msgid "Eritrea"
699
  msgstr "Eritrea"
700
 
701
+ #: classes/helpers/FrmAppHelper.php:486
702
  #@ formidable
703
  msgid "Estonia"
704
  msgstr "Estland"
705
 
706
+ #: classes/helpers/FrmAppHelper.php:486
707
  #@ formidable
708
  msgid "Ethiopia"
709
  msgstr "Äthiopien"
710
 
711
+ #: classes/helpers/FrmAppHelper.php:487
712
  #@ formidable
713
  msgid "Fiji"
714
  msgstr "Fiji"
715
 
716
+ #: classes/helpers/FrmAppHelper.php:487
717
  #@ formidable
718
  msgid "Finland"
719
  msgstr "Finnland"
720
 
721
+ #: classes/helpers/FrmAppHelper.php:487
722
  #@ formidable
723
  msgid "France"
724
  msgstr "Frankreich"
725
 
726
+ #: classes/helpers/FrmAppHelper.php:488
727
  #@ formidable
728
  msgid "French Guiana"
729
  msgstr "Französisch-Guayana"
730
 
731
+ #: classes/helpers/FrmAppHelper.php:488
732
  #@ formidable
733
  msgid "French Polynesia"
734
  msgstr "Französisch-Polynesien"
735
 
736
+ #: classes/helpers/FrmAppHelper.php:488
737
  #@ formidable
738
  msgid "Gabon"
739
  msgstr "Gabun"
740
 
741
+ #: classes/helpers/FrmAppHelper.php:489
742
  #@ formidable
743
  msgid "Gambia"
744
  msgstr "Gambia"
745
 
746
+ #: classes/helpers/FrmAppHelper.php:489
747
  #@ formidable
748
  msgid "Georgia"
749
  msgstr "Georgien"
750
 
751
+ #: classes/helpers/FrmAppHelper.php:489
752
  #@ formidable
753
  msgid "Germany"
754
  msgstr "Deutschland"
755
 
756
+ #: classes/helpers/FrmAppHelper.php:490
757
  #@ formidable
758
  msgid "Ghana"
759
  msgstr "Ghana"
760
 
761
+ #: classes/helpers/FrmAppHelper.php:490
762
  #@ formidable
763
  msgid "Gibraltar"
764
  msgstr "Gibraltar"
765
 
766
+ #: classes/helpers/FrmAppHelper.php:490
767
  #@ formidable
768
  msgid "Greece"
769
  msgstr "Griechenland"
770
 
771
+ #: classes/helpers/FrmAppHelper.php:491
772
  #@ formidable
773
  msgid "Greenland"
774
  msgstr "Grünland"
775
 
776
+ #: classes/helpers/FrmAppHelper.php:491
777
  #@ formidable
778
  msgid "Grenada"
779
  msgstr "Grenada"
780
 
781
+ #: classes/helpers/FrmAppHelper.php:491
782
  #@ formidable
783
  msgid "Guam"
784
  msgstr "Guam"
785
 
786
+ #: classes/helpers/FrmAppHelper.php:492
787
  #@ formidable
788
  msgid "Guatemala"
789
  msgstr "Guatemala"
790
 
791
+ #: classes/helpers/FrmAppHelper.php:492
792
  #@ formidable
793
  msgid "Guinea"
794
  msgstr "Guinea"
795
 
796
+ #: classes/helpers/FrmAppHelper.php:492
797
  #@ formidable
798
  msgid "Guinea-Bissau"
799
  msgstr "Guinea-Bissau"
800
 
801
+ #: classes/helpers/FrmAppHelper.php:493
802
  #@ formidable
803
  msgid "Guyana"
804
  msgstr "Guyana"
805
 
806
+ #: classes/helpers/FrmAppHelper.php:493
807
  #@ formidable
808
  msgid "Haiti"
809
  msgstr "Haiti"
810
 
811
+ #: classes/helpers/FrmAppHelper.php:493
812
  #@ formidable
813
  msgid "Honduras"
814
  msgstr "Honduras"
815
 
816
+ #: classes/helpers/FrmAppHelper.php:494
817
  #@ formidable
818
  msgid "Hong Kong"
819
  msgstr "Hong Kong"
820
 
821
+ #: classes/helpers/FrmAppHelper.php:494
822
  #@ formidable
823
  msgid "Hungary"
824
  msgstr "Ungarn"
825
 
826
+ #: classes/helpers/FrmAppHelper.php:494
827
  #@ formidable
828
  msgid "Iceland"
829
  msgstr "Island"
830
 
831
+ #: classes/helpers/FrmAppHelper.php:495
832
  #@ formidable
833
  msgid "India"
834
  msgstr "Indien"
835
 
836
+ #: classes/helpers/FrmAppHelper.php:495
837
  #@ formidable
838
  msgid "Indonesia"
839
  msgstr "Indonesien"
840
 
841
+ #: classes/helpers/FrmAppHelper.php:495
842
  #@ formidable
843
  msgid "Iran"
844
  msgstr "Iran"
845
 
846
+ #: classes/helpers/FrmAppHelper.php:496
847
  #@ formidable
848
  msgid "Iraq"
849
  msgstr "Irak"
850
 
851
+ #: classes/helpers/FrmAppHelper.php:496
852
  #@ formidable
853
  msgid "Ireland"
854
  msgstr "Irland"
855
 
856
+ #: classes/helpers/FrmAppHelper.php:496
857
  #@ formidable
858
  msgid "Israel"
859
  msgstr "Israel"
860
 
861
+ #: classes/helpers/FrmAppHelper.php:497
862
  #@ formidable
863
  msgid "Italy"
864
  msgstr "Italien"
865
 
866
+ #: classes/helpers/FrmAppHelper.php:497
867
  #@ formidable
868
  msgid "Jamaica"
869
  msgstr "Jamaika"
870
 
871
+ #: classes/helpers/FrmAppHelper.php:497
872
  #@ formidable
873
  msgid "Japan"
874
  msgstr "Japan"
875
 
876
+ #: classes/helpers/FrmAppHelper.php:498
877
  #@ formidable
878
  msgid "Jordan"
879
  msgstr "Jordanien"
880
 
881
+ #: classes/helpers/FrmAppHelper.php:498
882
  #@ formidable
883
  msgid "Kazakhstan"
884
  msgstr "Kasachstan"
885
 
886
+ #: classes/helpers/FrmAppHelper.php:498
887
  #@ formidable
888
  msgid "Kenya"
889
  msgstr "Kenia"
890
 
891
+ #: classes/helpers/FrmAppHelper.php:499
892
  #@ formidable
893
  msgid "Kiribati"
894
  msgstr "Kiribati"
895
 
896
+ #: classes/helpers/FrmAppHelper.php:499
897
  #@ formidable
898
  msgid "North Korea"
899
  msgstr "Nordkorea"
900
 
901
+ #: classes/helpers/FrmAppHelper.php:499
902
  #@ formidable
903
  msgid "South Korea"
904
  msgstr "Südkorea"
905
 
906
+ #: classes/helpers/FrmAppHelper.php:500
907
  #@ formidable
908
  msgid "Kuwait"
909
  msgstr "Kuwait"
910
 
911
+ #: classes/helpers/FrmAppHelper.php:500
912
  #@ formidable
913
  msgid "Kyrgyzstan"
914
  msgstr "Kirgistan"
915
 
916
+ #: classes/helpers/FrmAppHelper.php:500
917
  #@ formidable
918
  msgid "Laos"
919
  msgstr "Laos"
920
 
921
+ #: classes/helpers/FrmAppHelper.php:501
922
  #@ formidable
923
  msgid "Latvia"
924
  msgstr "Lettland"
925
 
926
+ #: classes/helpers/FrmAppHelper.php:501
927
  #@ formidable
928
  msgid "Lebanon"
929
  msgstr "Libanon"
930
 
931
+ #: classes/helpers/FrmAppHelper.php:501
932
  #@ formidable
933
  msgid "Lesotho"
934
  msgstr "Lesotho"
935
 
936
+ #: classes/helpers/FrmAppHelper.php:502
937
  #@ formidable
938
  msgid "Liberia"
939
  msgstr "Liberia"
940
 
941
+ #: classes/helpers/FrmAppHelper.php:502
942
  #@ formidable
943
  msgid "Libya"
944
  msgstr "Libyen"
945
 
946
+ #: classes/helpers/FrmAppHelper.php:502
947
  #@ formidable
948
  msgid "Liechtenstein"
949
  msgstr "Liechtenstein"
950
 
951
+ #: classes/helpers/FrmAppHelper.php:503
952
  #@ formidable
953
  msgid "Lithuania"
954
  msgstr "Litauen"
955
 
956
+ #: classes/helpers/FrmAppHelper.php:503
957
  #@ formidable
958
  msgid "Luxembourg"
959
  msgstr "Luxemburg"
960
 
961
+ #: classes/helpers/FrmAppHelper.php:503
962
  #@ formidable
963
  msgid "Macedonia"
964
  msgstr "Mazedonien"
965
 
966
+ #: classes/helpers/FrmAppHelper.php:504
967
  #@ formidable
968
  msgid "Madagascar"
969
  msgstr "Madagascar"
970
 
971
+ #: classes/helpers/FrmAppHelper.php:504
972
  #@ formidable
973
  msgid "Malawi"
974
  msgstr "Malawi"
975
 
976
+ #: classes/helpers/FrmAppHelper.php:504
977
  #@ formidable
978
  msgid "Malaysia"
979
  msgstr "Malaysia"
980
 
981
+ #: classes/helpers/FrmAppHelper.php:505
982
  #@ formidable
983
  msgid "Maldives"
984
  msgstr "Malediven"
985
 
986
+ #: classes/helpers/FrmAppHelper.php:505
987
  #@ formidable
988
  msgid "Mali"
989
  msgstr "Mali"
990
 
991
+ #: classes/helpers/FrmAppHelper.php:505
992
  #@ formidable
993
  msgid "Malta"
994
  msgstr "Malta"
995
 
996
+ #: classes/helpers/FrmAppHelper.php:506
997
  #@ formidable
998
  msgid "Marshall Islands"
999
  msgstr "Marshall Inseln"
1000
 
1001
+ #: classes/helpers/FrmAppHelper.php:506
1002
  #@ formidable
1003
  msgid "Mauritania"
1004
  msgstr "Mauretanien"
1005
 
1006
+ #: classes/helpers/FrmAppHelper.php:506
1007
  #@ formidable
1008
  msgid "Mauritius"
1009
  msgstr "Mauritius"
1010
 
1011
+ #: classes/helpers/FrmAppHelper.php:507
1012
  #@ formidable
1013
  msgid "Mexico"
1014
  msgstr "Mexiko"
1015
 
1016
+ #: classes/helpers/FrmAppHelper.php:507
1017
  #@ formidable
1018
  msgid "Micronesia"
1019
  msgstr "Mikronesien"
1020
 
1021
+ #: classes/helpers/FrmAppHelper.php:507
1022
  #@ formidable
1023
  msgid "Moldova"
1024
  msgstr "Moldawien"
1025
 
1026
+ #: classes/helpers/FrmAppHelper.php:508
1027
  #@ formidable
1028
  msgid "Monaco"
1029
  msgstr "Monaco"
1030
 
1031
+ #: classes/helpers/FrmAppHelper.php:508
1032
  #@ formidable
1033
  msgid "Mongolia"
1034
  msgstr "Mongolei"
1035
 
1036
+ #: classes/helpers/FrmAppHelper.php:508
1037
  #@ formidable
1038
  msgid "Montenegro"
1039
  msgstr "Montenegro"
1040
 
1041
+ #: classes/helpers/FrmAppHelper.php:509
1042
  #@ formidable
1043
  msgid "Montserrat"
1044
  msgstr "Montserrat"
1045
 
1046
+ #: classes/helpers/FrmAppHelper.php:509
1047
  #@ formidable
1048
  msgid "Morocco"
1049
  msgstr "Marokko"
1050
 
1051
+ #: classes/helpers/FrmAppHelper.php:509
1052
  #@ formidable
1053
  msgid "Mozambique"
1054
  msgstr "Mosambik "
1055
 
1056
+ #: classes/helpers/FrmAppHelper.php:510
1057
  #@ formidable
1058
  msgid "Myanmar"
1059
  msgstr "Myanmar"
1060
 
1061
+ #: classes/helpers/FrmAppHelper.php:510
1062
  #@ formidable
1063
  msgid "Namibia"
1064
  msgstr "Namibia"
1065
 
1066
+ #: classes/helpers/FrmAppHelper.php:510
1067
  #@ formidable
1068
  msgid "Nauru"
1069
  msgstr "Nauru"
1070
 
1071
+ #: classes/helpers/FrmAppHelper.php:511
1072
  #@ formidable
1073
  msgid "Nepal"
1074
  msgstr "Nepal"
1075
 
1076
+ #: classes/helpers/FrmAppHelper.php:511
1077
  #@ formidable
1078
  msgid "Netherlands"
1079
  msgstr "Niederlande"
1080
 
1081
+ #: classes/helpers/FrmAppHelper.php:511
1082
  #@ formidable
1083
  msgid "New Zealand"
1084
  msgstr "Neuseeland"
1085
 
1086
+ #: classes/helpers/FrmAppHelper.php:512
1087
  #@ formidable
1088
  msgid "Nicaragua"
1089
  msgstr "Nikaragua"
1090
 
1091
+ #: classes/helpers/FrmAppHelper.php:512
1092
  #@ formidable
1093
  msgid "Niger"
1094
  msgstr "Niger"
1095
 
1096
+ #: classes/helpers/FrmAppHelper.php:512
1097
  #@ formidable
1098
  msgid "Nigeria"
1099
  msgstr "Nigeria"
1100
 
1101
+ #: classes/helpers/FrmAppHelper.php:513
1102
  #@ formidable
1103
  msgid "Norway"
1104
  msgstr "Norwegen"
1105
 
1106
+ #: classes/helpers/FrmAppHelper.php:513
1107
  #@ formidable
1108
  msgid "Northern Mariana Islands"
1109
  msgstr "Nördliche Marianen Inseln"
1110
 
1111
+ #: classes/helpers/FrmAppHelper.php:513
1112
  #@ formidable
1113
  msgid "Oman"
1114
  msgstr "Oman"
1115
 
1116
+ #: classes/helpers/FrmAppHelper.php:514
1117
  #@ formidable
1118
  msgid "Pakistan"
1119
  msgstr "Pakistan"
1120
 
1121
+ #: classes/helpers/FrmAppHelper.php:514
1122
  #@ formidable
1123
  msgid "Palau"
1124
  msgstr "Palau"
1125
 
1126
+ #: classes/helpers/FrmAppHelper.php:514
1127
  #@ formidable
1128
  msgid "Palestine"
1129
  msgstr "Palästina"
1130
 
1131
+ #: classes/helpers/FrmAppHelper.php:515
1132
  #@ formidable
1133
  msgid "Panama"
1134
  msgstr "Panama"
1135
 
1136
+ #: classes/helpers/FrmAppHelper.php:515
1137
  #@ formidable
1138
  msgid "Papua New Guinea"
1139
  msgstr "Papua-Neuguinea"
1140
 
1141
+ #: classes/helpers/FrmAppHelper.php:515
1142
  #@ formidable
1143
  msgid "Paraguay"
1144
  msgstr "Paraguay"
1145
 
1146
+ #: classes/helpers/FrmAppHelper.php:516
1147
  #@ formidable
1148
  msgid "Peru"
1149
  msgstr "Peru"
1150
 
1151
+ #: classes/helpers/FrmAppHelper.php:516
1152
  #@ formidable
1153
  msgid "Philippines"
1154
  msgstr "Philippinen"
1155
 
1156
+ #: classes/helpers/FrmAppHelper.php:516
1157
  #@ formidable
1158
  msgid "Poland"
1159
  msgstr "Polen"
1160
 
1161
+ #: classes/helpers/FrmAppHelper.php:517
1162
  #@ formidable
1163
  msgid "Portugal"
1164
  msgstr "Portugal"
1165
 
1166
+ #: classes/helpers/FrmAppHelper.php:517
1167
  #@ formidable
1168
  msgid "Puerto Rico"
1169
  msgstr "Puerto Rico"
1170
 
1171
+ #: classes/helpers/FrmAppHelper.php:517
1172
  #@ formidable
1173
  msgid "Qatar"
1174
  msgstr "Katar"
1175
 
1176
+ #: classes/helpers/FrmAppHelper.php:518
1177
  #@ formidable
1178
  msgid "Romania"
1179
  msgstr "Romänien"
1180
 
1181
+ #: classes/helpers/FrmAppHelper.php:518
1182
  #@ formidable
1183
  msgid "Russia"
1184
  msgstr "Russland"
1185
 
1186
+ #: classes/helpers/FrmAppHelper.php:518
1187
  #@ formidable
1188
  msgid "Rwanda"
1189
  msgstr "Ruanda"
1190
 
1191
+ #: classes/helpers/FrmAppHelper.php:519
1192
  #@ formidable
1193
  msgid "Saint Kitts and Nevis"
1194
  msgstr "St. Kitts und Nevis"
1195
 
1196
+ #: classes/helpers/FrmAppHelper.php:519
1197
  #@ formidable
1198
  msgid "Saint Lucia"
1199
  msgstr "St. Lucia"
1200
 
1201
+ #: classes/helpers/FrmAppHelper.php:520
1202
  #@ formidable
1203
  msgid "Saint Vincent and the Grenadines"
1204
  msgstr "St. Vincent und die Grenadinen"
1205
 
1206
+ #: classes/helpers/FrmAppHelper.php:520
1207
  #@ formidable
1208
  msgid "Samoa"
1209
  msgstr "Samoa"
1210
 
1211
+ #: classes/helpers/FrmAppHelper.php:521
1212
  #@ formidable
1213
  msgid "San Marino"
1214
  msgstr "San Marino"
1215
 
1216
+ #: classes/helpers/FrmAppHelper.php:521
1217
  #@ formidable
1218
  msgid "Sao Tome and Principe"
1219
  msgstr "São Tomé und Príncipe"
1220
 
1221
+ #: classes/helpers/FrmAppHelper.php:521
1222
  #@ formidable
1223
  msgid "Saudi Arabia"
1224
  msgstr "Saudi Arabien"
1225
 
1226
+ #: classes/helpers/FrmAppHelper.php:522
1227
  #@ formidable
1228
  msgid "Senegal"
1229
  msgstr "Senegal"
1230
 
1231
+ #: classes/helpers/FrmAppHelper.php:522
1232
  #@ formidable
1233
  msgid "Serbia and Montenegro"
1234
  msgstr "Serbien und Montenegro"
1235
 
1236
+ #: classes/helpers/FrmAppHelper.php:522
1237
  #@ formidable
1238
  msgid "Seychelles"
1239
  msgstr "Seychellen"
1240
 
1241
+ #: classes/helpers/FrmAppHelper.php:523
1242
  #@ formidable
1243
  msgid "Sierra Leone"
1244
  msgstr "Sierra Leone"
1245
 
1246
+ #: classes/helpers/FrmAppHelper.php:523
1247
  #@ formidable
1248
  msgid "Singapore"
1249
  msgstr "Singapur"
1250
 
1251
+ #: classes/helpers/FrmAppHelper.php:523
1252
  #@ formidable
1253
  msgid "Slovakia"
1254
  msgstr "Slowakei"
1255
 
1256
+ #: classes/helpers/FrmAppHelper.php:524
1257
  #@ formidable
1258
  msgid "Slovenia"
1259
  msgstr "Slovenien"
1260
 
1261
+ #: classes/helpers/FrmAppHelper.php:524
1262
  #@ formidable
1263
  msgid "Solomon Islands"
1264
  msgstr "Salomoninseln"
1265
 
1266
+ #: classes/helpers/FrmAppHelper.php:524
1267
  #@ formidable
1268
  msgid "Somalia"
1269
  msgstr "Somalia"
1270
 
1271
+ #: classes/helpers/FrmAppHelper.php:525
1272
  #@ formidable
1273
  msgid "South Africa"
1274
  msgstr "Südafrika"
1275
 
1276
+ #: classes/helpers/FrmAppHelper.php:525
1277
  #@ formidable
1278
  msgid "Spain"
1279
  msgstr "Spanien"
1280
 
1281
+ #: classes/helpers/FrmAppHelper.php:525
1282
  #@ formidable
1283
  msgid "Sri Lanka"
1284
  msgstr "Sri Lanka"
1285
 
1286
+ #: classes/helpers/FrmAppHelper.php:526
1287
  #@ formidable
1288
  msgid "Sudan"
1289
  msgstr "Sudan"
1290
 
1291
+ #: classes/helpers/FrmAppHelper.php:526
1292
  #@ formidable
1293
  msgid "Suriname"
1294
  msgstr "Surinam"
1295
 
1296
+ #: classes/helpers/FrmAppHelper.php:526
1297
  #@ formidable
1298
  msgid "Swaziland"
1299
  msgstr "Swasiland"
1300
 
1301
+ #: classes/helpers/FrmAppHelper.php:527
1302
  #@ formidable
1303
  msgid "Sweden"
1304
  msgstr "Sweden"
1305
 
1306
+ #: classes/helpers/FrmAppHelper.php:527
1307
  #@ formidable
1308
  msgid "Switzerland"
1309
  msgstr "Schweiz"
1310
 
1311
+ #: classes/helpers/FrmAppHelper.php:527
1312
  #@ formidable
1313
  msgid "Syria"
1314
  msgstr "Syrien"
1315
 
1316
+ #: classes/helpers/FrmAppHelper.php:528
1317
  #@ formidable
1318
  msgid "Taiwan"
1319
  msgstr "Taiwan"
1320
 
1321
+ #: classes/helpers/FrmAppHelper.php:528
1322
  #@ formidable
1323
  msgid "Tajikistan"
1324
  msgstr "Tajikistan"
1325
 
1326
+ #: classes/helpers/FrmAppHelper.php:528
1327
  #@ formidable
1328
  msgid "Tanzania"
1329
  msgstr "Tansania"
1330
 
1331
+ #: classes/helpers/FrmAppHelper.php:529
1332
  #@ formidable
1333
  msgid "Thailand"
1334
  msgstr "Thailand"
1335
 
1336
+ #: classes/helpers/FrmAppHelper.php:529
1337
  #@ formidable
1338
  msgid "Togo"
1339
  msgstr "Togo"
1340
 
1341
+ #: classes/helpers/FrmAppHelper.php:529
1342
  #@ formidable
1343
  msgid "Tonga"
1344
  msgstr "Tonga"
1345
 
1346
+ #: classes/helpers/FrmAppHelper.php:530
1347
  #@ formidable
1348
  msgid "Trinidad and Tobago"
1349
  msgstr "Trinidad und Tobago"
1350
 
1351
+ #: classes/helpers/FrmAppHelper.php:530
1352
  #@ formidable
1353
  msgid "Tunisia"
1354
  msgstr "Tunesien"
1355
 
1356
+ #: classes/helpers/FrmAppHelper.php:530
1357
  #@ formidable
1358
  msgid "Turkey"
1359
  msgstr "Türkei"
1360
 
1361
+ #: classes/helpers/FrmAppHelper.php:531
1362
  #@ formidable
1363
  msgid "Turkmenistan"
1364
  msgstr "Turkmenistan"
1365
 
1366
+ #: classes/helpers/FrmAppHelper.php:531
1367
  #@ formidable
1368
  msgid "Tuvalu"
1369
  msgstr "Tuvalu"
1370
 
1371
+ #: classes/helpers/FrmAppHelper.php:531
1372
  #@ formidable
1373
  msgid "Uganda"
1374
  msgstr "Uganda"
1375
 
1376
+ #: classes/helpers/FrmAppHelper.php:532
1377
  #@ formidable
1378
  msgid "Ukraine"
1379
  msgstr "Ukraine"
1380
 
1381
+ #: classes/helpers/FrmAppHelper.php:532
1382
  #@ formidable
1383
  msgid "United Arab Emirates"
1384
  msgstr "Vereinigte Arabische Emirate"
1385
 
1386
+ #: classes/helpers/FrmAppHelper.php:532
1387
  #@ formidable
1388
  msgid "United Kingdom"
1389
  msgstr "Vereinigtes Königreich"
1390
 
1391
+ #: classes/helpers/FrmAppHelper.php:533
1392
  #@ formidable
1393
  msgid "United States"
1394
  msgstr "Vereinigte Staaten "
1395
 
1396
+ #: classes/helpers/FrmAppHelper.php:533
1397
  #@ formidable
1398
  msgid "Uruguay"
1399
  msgstr "Uruguay"
1400
 
1401
+ #: classes/helpers/FrmAppHelper.php:533
1402
  #@ formidable
1403
  msgid "Uzbekistan"
1404
  msgstr "Usbekistan"
1405
 
1406
+ #: classes/helpers/FrmAppHelper.php:534
1407
  #@ formidable
1408
  msgid "Vanuatu"
1409
  msgstr "Vanuatu"
1410
 
1411
+ #: classes/helpers/FrmAppHelper.php:534
1412
  #@ formidable
1413
  msgid "Vatican City"
1414
  msgstr "Vatikanstadt"
1415
 
1416
+ #: classes/helpers/FrmAppHelper.php:534
1417
  #@ formidable
1418
  msgid "Venezuela"
1419
  msgstr "Venezuela"
1420
 
1421
+ #: classes/helpers/FrmAppHelper.php:535
1422
  #@ formidable
1423
  msgid "Vietnam"
1424
  msgstr "Vietnam"
1425
 
1426
+ #: classes/helpers/FrmAppHelper.php:535
1427
  #@ formidable
1428
  msgid "Virgin Islands, British"
1429
  msgstr "Jungferninseln, Britisch"
1430
 
1431
+ #: classes/helpers/FrmAppHelper.php:536
1432
  #@ formidable
1433
  msgid "Virgin Islands, U.S."
1434
  msgstr "Jungferninseln, Vereinigte Staaten "
1435
 
1436
+ #: classes/helpers/FrmAppHelper.php:536
1437
  #@ formidable
1438
  msgid "Yemen"
1439
  msgstr "Jemen"
1440
 
1441
+ #: classes/helpers/FrmAppHelper.php:536
1442
  #@ formidable
1443
  msgid "Zambia"
1444
  msgstr "Sambia"
1445
 
1446
+ #: classes/helpers/FrmAppHelper.php:537
1447
  #@ formidable
1448
  msgid "Zimbabwe"
1449
  msgstr "Simbabwe"
1450
 
1451
+ #: classes/helpers/FrmFieldsHelper.php:12
1452
  #@ formidable
1453
  msgid "Single Line Text"
1454
  msgstr "Einzeiliger Text"
1455
 
1456
+ #: classes/helpers/FrmFieldsHelper.php:13
1457
  #@ formidable
1458
  msgid "Paragraph Text"
1459
  msgstr "Textabsatz"
1460
 
1461
+ #: classes/helpers/FrmFieldsHelper.php:14
1462
  #@ formidable
1463
  msgid "Checkboxes"
1464
  msgstr "Checkboxen"
1465
 
1466
+ #: classes/helpers/FrmFieldsHelper.php:15
1467
+ #: pro/classes/views/settings/styling_tab.php:48
1468
  #@ formidable
1469
  msgid "Radio Buttons"
1470
  msgstr "Radio Buttons"
1471
 
1472
+ #: classes/helpers/FrmFieldsHelper.php:16
1473
  #@ formidable
1474
  msgid "Dropdown"
1475
  msgstr "Dropdown"
1476
 
1477
+ #: classes/helpers/FrmFieldsHelper.php:17
1478
+ #: classes/views/frm-settings/form.php:64
1479
  #@ formidable
1480
  msgid "reCAPTCHA"
1481
  msgstr "reCAPTCHA"
1482
 
1483
+ #: classes/helpers/FrmFieldsHelper.php:25
1484
+ #: classes/views/frm-forms/notification.php:68
1485
  #@ formidable
1486
  msgid "Email Address"
1487
  msgstr "Email Adresse"
1488
 
1489
+ #: classes/helpers/FrmFieldsHelper.php:26
1490
  #@ formidable
1491
  msgid "Website/URL"
1492
  msgstr "Webseite/URL"
1493
 
1494
+ #: classes/helpers/FrmFieldsHelper.php:27
1495
  #@ formidable
1496
  msgid "Section Heading"
1497
  msgstr "Bereichs-Überschrift"
1498
 
1499
+ #: classes/helpers/FrmFieldsHelper.php:28
1500
  #@ formidable
1501
  msgid "Page Break"
1502
  msgstr "Seitenumbruch"
1503
 
1504
+ #: classes/helpers/FrmFieldsHelper.php:29
1505
+ #: pro/classes/views/settings/styling_tab.php:35
1506
  #@ formidable
1507
  msgid "File Upload"
1508
  msgstr "Datei-Upload"
1509
 
1510
+ #: classes/helpers/FrmFieldsHelper.php:30
1511
  #@ formidable
1512
  msgid "Rich Text"
1513
  msgstr "Rich Text"
1514
 
1515
+ #: classes/helpers/FrmFieldsHelper.php:31
1516
  #@ formidable
1517
  msgid "Number"
1518
  msgstr "Zahl"
1519
 
1520
+ #: classes/helpers/FrmFieldsHelper.php:32
1521
  #@ formidable
1522
  msgid "Phone Number"
1523
  msgstr "Telefonnummer"
1524
 
1525
+ #: classes/helpers/FrmFieldsHelper.php:34
1526
  #@ formidable
1527
  msgid "Time"
1528
  msgstr "Uhrzeit"
1529
 
1530
+ #: classes/helpers/FrmFieldsHelper.php:35
1531
  #@ formidable
1532
  msgid "Image URL"
1533
  msgstr "Bild URL"
1534
 
1535
+ #: classes/helpers/FrmFieldsHelper.php:36
1536
  #@ formidable
1537
  msgid "Scale"
1538
  msgstr "Maß, Messbereich"
1539
 
1540
+ #: classes/helpers/FrmFieldsHelper.php:38
1541
  #@ formidable
1542
  msgid "Data from Entries"
1543
  msgstr "Daten aus Eingaben"
1544
 
1545
+ #: classes/helpers/FrmFieldsHelper.php:40
1546
  #@ formidable
1547
  msgid "Hidden Field"
1548
  msgstr "Unsichtbares Feld"
1549
 
1550
+ #: classes/helpers/FrmFieldsHelper.php:42
1551
  #@ formidable
1552
  msgid "Password"
1553
  msgstr "Passwort"
1554
 
1555
+ #: classes/helpers/FrmFieldsHelper.php:43
1556
  #@ formidable
1557
  msgid "HTML"
1558
  msgstr "HTML"
1559
 
1560
+ #: classes/helpers/FrmFieldsHelper.php:44
1561
  #@ formidable
1562
  msgid "Tags"
1563
  msgstr "Tags"
1564
 
1565
+ #: classes/helpers/FrmFieldsHelper.php:76
1566
+ #: classes/helpers/FrmFieldsHelper.php:78
1567
+ #: pro/classes/views/settings/styling_tab.php:49
1568
+ #: pro/classes/views/settings/styling_tab.php:55
1569
  #@ formidable
1570
  msgid "Option 1"
1571
  msgstr "Option 1"
1572
 
1573
+ #: classes/helpers/FrmFieldsHelper.php:76
1574
+ #: pro/classes/views/settings/styling_tab.php:50
1575
+ #: pro/classes/views/settings/styling_tab.php:56
1576
  #@ formidable
1577
  msgid "Option 2"
1578
  msgstr "Option 2"
1579
 
1580
+ #: classes/helpers/FrmFieldsHelper.php:170
1581
  #@ formidable
1582
  msgid "Untitled"
1583
  msgstr "Unbenannt"
1584
 
1585
+ #: classes/helpers/FrmFieldsHelper.php:174
1586
+ #: pro/classes/helpers/FrmProFieldsHelper.php:880
1587
+ #: pro/classes/models/FrmProEntryMeta.php:188
1588
  #@ formidable
1589
  msgid "This field is invalid"
1590
  msgstr "Das Feld ist ungültig"
1591
 
1592
+ #: classes/helpers/FrmFormsHelper.php:17
1593
+ #: classes/helpers/FrmListHelper.php:122
 
 
 
 
 
1594
  #: classes/views/frm-forms/default-templates.php:24
 
1595
  #@ formidable
1596
  msgid "Create Form from Template"
1597
  msgstr "Ein Formular aus einer Vorlage erstellen"
1598
 
1599
+ #: classes/helpers/FrmListHelper.php:79
 
 
 
 
 
1600
  #: classes/views/frm-forms/default-templates.php:12
 
1601
  #@ formidable
1602
  msgid "No Templates Found"
1603
  msgstr "Keine Vorlagen gefunden"
1604
 
1605
+ #: classes/helpers/FrmListHelper.php:80
 
1606
  #@ formidable
1607
  msgid "To add a new template"
1608
  msgstr "Füge eine neue Vorlage hinzu"
1609
 
1610
+ #: classes/helpers/FrmListHelper.php:83
1611
  #@ formidable
1612
  msgid "Place your mouse over the name of the form you just created, and click the \"Create Template\" link."
1613
  msgstr "Platzieren Sie ihre Maus über den Namen des Formulars, welches Sie gerade erstellt haben und klicken Sie auf den \"Erstelle Vorlage\" Link."
1614
 
1615
+ #: classes/helpers/FrmListHelper.php:86
 
1616
  #@ formidable
1617
  msgid "No Forms Found"
1618
  msgstr "Keine Formulare gefunden"
1619
 
1620
+ #: classes/helpers/FrmListHelper.php:87
1621
+ #: classes/views/frm-entries/list.php:5
1622
  #: classes/views/frm-forms/edit.php:4
1623
  #: classes/views/frm-forms/list.php:5
1624
+ #: classes/views/frm-forms/new.php:4
1625
+ #: classes/views/frm-statistics/list.php:5
1626
+ #: classes/views/frm-statistics/list_displays.php:5
1627
+ #: pro/classes/views/frmpro-entries/edit.php:5
1628
+ #: pro/classes/views/frmpro-entries/list.php:5
1629
+ #: pro/classes/views/frmpro-entries/show.php:4
1630
  #@ formidable
1631
  msgid "Add New"
1632
  msgstr "Neu hinzufügen"
1633
 
1634
+ #: classes/helpers/FrmListHelper.php:92
1635
+ #: classes/helpers/FrmListHelper.php:134
1636
+ #: pro/classes/controllers/FrmProEntriesController.php:1626
1637
+ #: pro/classes/controllers/FrmProEntriesController.php:1697
1638
+ #: pro/classes/controllers/FrmProEntriesController.php:1979
1639
+ #: pro/classes/helpers/FrmProAppHelper.php:244
1640
+ #: pro/classes/helpers/FrmProListHelper.php:138
1641
+ #: pro/classes/helpers/FrmProListHelper.php:186
1642
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:28
 
 
 
 
1643
  #: pro/classes/views/frmpro-entries/sidebar-show.php:17
1644
+ #@ default
1645
  #@ formidable
1646
  msgid "Delete"
1647
  msgstr "Löschen"
1648
 
1649
+ #: classes/helpers/FrmListHelper.php:114
1650
+ #: pro/classes/controllers/FrmProDisplaysController.php:64
1651
+ #: pro/classes/controllers/FrmProEntriesController.php:1619
1652
+ #: pro/classes/controllers/FrmProEntriesController.php:1871
1653
+ #: pro/classes/helpers/FrmProAppHelper.php:199
1654
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1987
1655
+ #: pro/classes/helpers/FrmProListHelper.php:172
 
 
 
 
 
 
 
 
 
 
 
 
 
1656
  #: pro/classes/views/frmpro-entries/sidebar-show.php:24
1657
+ #@ default
1658
  #@ formidable
1659
  msgid "Edit"
1660
  msgstr "Editieren"
1661
 
1662
+ #: pro/classes/controllers/FrmProDisplaysController.php:201
1663
+ #: pro/classes/views/frmpro-entries/show.php:23
 
 
 
 
 
 
 
 
1664
  #@ formidable
1665
  msgid "Entry"
1666
  msgstr "Eintrag"
1667
 
1668
+ #: pro/classes/views/displays/mb_advanced.php:98
 
 
 
 
 
 
 
 
 
 
1669
  #@ formidable
1670
  msgid "Copy"
1671
  msgstr "Kopieren"
1672
 
1673
+ #: classes/helpers/FrmListHelper.php:128
1674
+ #: pro/classes/controllers/FrmProDisplaysController.php:140
1675
+ #: pro/classes/helpers/FrmProListHelper.php:185
1676
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:16
 
 
 
1677
  #: pro/classes/views/frmpro-entries/sidebar-show.php:8
1678
  #@ formidable
1679
  msgid "Duplicate"
1680
  msgstr "Duplizieren"
1681
 
1682
+ #: classes/helpers/FrmListHelper.php:134
1683
+ #: pro/classes/helpers/FrmProListHelper.php:186
 
 
 
 
 
 
 
 
 
 
 
 
1684
  #@ formidable
1685
  msgid "Are you sure you want to delete that?"
1686
  msgstr "Sind Sie sicher, dass Sie das löschen möchten?"
1687
 
1688
+ #: classes/models/FrmEntry.php:357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1689
  #@ formidable
1690
  msgid "There was a problem with your submission. Please try again."
1691
  msgstr "Es gab ein Problem mit ihrer Eingabe. Bitte versuchen Sie es erneut."
1692
 
1693
+ #: classes/models/FrmEntry.php:422
1694
  #@ formidable
1695
  msgid "Your entry appears to be spam!"
1696
  msgstr "Ihre Eingabe scheint Spam zu sein"
1697
 
1698
+ #: classes/controllers/FrmEntriesController.php:241
1699
+ #: pro/classes/models/FrmProNotification.php:260
1700
+ #: pro/classes/views/frmpro-entries/show.php:92
 
 
 
 
 
 
 
1701
  #@ formidable
1702
  msgid "User Information"
1703
  msgstr "Benutzer Informationen"
1704
 
1705
+ #: classes/controllers/FrmEntriesController.php:242
1706
+ #: classes/controllers/FrmEntriesController.php:246
1707
+ #: pro/classes/controllers/FrmProFormsController.php:178
1708
+ #: pro/classes/models/FrmProNotification.php:261
1709
+ #: pro/classes/views/frmpro-entries/show.php:97
1710
+ #: pro/classes/views/frmpro-forms/add_form_options.php:39
1711
+ #: pro/classes/views/xml/map_csv_fields.php:51
 
1712
  #@ formidable
1713
  msgid "IP Address"
1714
  msgstr "IP Adresse"
1715
 
1716
+ #: classes/controllers/FrmEntriesController.php:243
1717
+ #: classes/controllers/FrmEntriesController.php:248
1718
+ #: pro/classes/models/FrmProNotification.php:262
1719
+ #: pro/classes/views/frmpro-entries/show.php:102
 
1720
  #@ formidable
1721
  msgid "User-Agent (Browser/OS)"
1722
  msgstr "User-Agent (Browser/OS)"
1723
 
1724
+ #: classes/controllers/FrmEntriesController.php:244
1725
+ #: classes/controllers/FrmEntriesController.php:250
1726
+ #: pro/classes/models/FrmProNotification.php:263
1727
+ #: pro/classes/views/frmpro-entries/show.php:108
 
1728
  #@ formidable
1729
  msgid "Referrer"
1730
  msgstr "Empfehlende Seite"
1731
 
1732
+ #: classes/models/FrmNotification.php:77
1733
+ #: pro/classes/models/FrmProNotification.php:275
1734
+ #: pro/classes/models/FrmProNotification.php:445
1735
  #, php-format
1736
  #@ formidable
1737
  msgid "%1$s Form submitted on %2$s"
1738
  msgstr "%1$s Formular eingereicht am %2$s"
1739
 
1740
+ #: classes/models/FrmSettings.php:54
1741
  #@ formidable
1742
  msgid "The reCAPTCHA was not entered correctly"
1743
  msgstr "Das reCAPTCHA wurde nicht korrekt eingegeben"
1744
 
1745
+ #: classes/models/FrmSettings.php:24
1746
  #@ formidable
1747
  msgid "Your responses were successfully submitted. Thank you!"
1748
  msgstr "Ihre Mitteilung wurde erfolgreich übermittelt. Vielen Dank!"
1749
 
1750
+ #: classes/models/FrmSettings.php:27
1751
  #@ formidable
1752
  msgid "There was a problem with your submission. Errors are marked below."
1753
  msgstr "Es gab ein Problem mit Ihrer Eingabe. Die Fehler sind deutlich vermerkt."
1754
 
1755
+ #: classes/models/FrmSettings.php:28
1756
  #@ formidable
1757
  msgid "We're sorry. It looks like you've already submitted that."
1758
  msgstr "Entschuldigung. Es scheint, als hätten Sie das bereits abgesendet."
1759
 
1760
+ #: classes/models/FrmSettings.php:29
1761
+ #: pro/classes/views/frmpro-entries/show.php:160
1762
+ #: pro/classes/views/settings/styling_tab.php:71
1763
  #@ formidable
1764
  msgid "Submit"
1765
  msgstr "Senden"
1766
 
1767
+ #: classes/models/FrmSettings.php:30
1768
  #@ formidable
1769
  msgid "You do not have permission to view this form."
1770
  msgstr "Sie haben keine Berechtigung dieses Formular zu sehen."
1771
 
1772
+ #: classes/models/FrmEntry.php:353
1773
+ #: classes/models/FrmSettings.php:31
1774
  #@ formidable
1775
  msgid "You do not have permission to do that"
1776
  msgstr "Sie haben keine Berechtigung das zu tun."
1777
 
1778
+ #: pro/classes/controllers/FrmUpdatesController.php:120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1779
  #@ formidable
1780
  msgid "Your Pro installation is now active. Enjoy!"
1781
  msgstr "Ihre Pro Installation ist nun aktiv. Viel Spaß!"
1782
 
1783
+ #: pro/classes/controllers/FrmUpdatesController.php:123
 
1784
  #@ formidable
1785
  msgid "ERROR"
1786
  msgstr "FEHLER"
1787
 
1788
+ #: classes/controllers/FrmAppController.php:301
 
 
 
 
 
 
1789
  #@ formidable
1790
  msgid "Are you sure you want to deactivate Formidable Pro on this site?"
1791
  msgstr "Sind Sie sicher, dass Sie Formidable Pro auf dieser Website deaktivieren wollen?"
1792
 
1793
+ #: pro/classes/controllers/FrmUpdatesController.php:141
 
1794
  #@ formidable
1795
  msgid "Deauthorize this site"
1796
  msgstr "Deauthorisiere diese Website"
1797
 
1798
+ #: pro/classes/controllers/FrmUpdatesController.php:145
 
 
 
 
 
 
 
 
 
 
 
1799
  #@ formidable
1800
  msgid "Account"
1801
  msgstr "Benutzerkonto"
1802
 
1803
+ #: classes/views/frm-settings/license_box.php:9
 
 
 
 
 
 
1804
  #@ formidable
1805
  msgid "Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports."
1806
  msgstr "Sind Sie bereit Ihre Formulare auf das nächst höhere Level zu bringen?<br/>Formidable Pro wird Ihnen bei mehr helfen als Formulare zu stylen, Daten zu managen und Berichte zu erstellen."
1807
 
1808
+ #: classes/views/frm-forms/add_field.php:74
1809
+ #: classes/views/frm-forms/add_field.php:118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1810
  #: classes/views/frm-forms/add_field_links.php:12
1811
+ #: classes/views/frm-forms/edit.php:25
1812
+ #: classes/views/frm-forms/edit.php:39
1813
+ #: classes/views/frm-forms/new.php:25
1814
+ #: classes/views/frm-forms/new.php:39
1815
+ #: classes/views/frm-forms/settings.php:23
1816
+ #: classes/views/frm-forms/settings.php:181
1817
+ #: classes/views/frm-forms/sidebar-settings.php:25
1818
+ #: pro/classes/controllers/FrmUpdatesController.php:173
1819
+ #: pro/classes/views/frmpro-entries/edit.php:32
1820
+ #: pro/classes/views/frmpro-entries/new.php:45
 
 
 
1821
  #@ formidable
1822
  msgid "or"
1823
  msgstr "oder"
1824
 
1825
+ #: classes/controllers/FrmAppController.php:296
 
1826
  #: classes/views/frm-fields/import_choices.php:74
1827
+ #: classes/views/frm-forms/edit.php:26
1828
+ #: classes/views/frm-forms/edit.php:40
1829
+ #: classes/views/frm-forms/new.php:26
1830
+ #: classes/views/frm-forms/new.php:40
1831
+ #: classes/views/frm-forms/settings.php:24
1832
+ #: classes/views/frm-forms/settings.php:182
1833
+ #: pro/classes/controllers/FrmProEntriesController.php:1871
1834
+ #: pro/classes/controllers/FrmUpdatesController.php:175
1835
+ #: pro/classes/views/frmpro-entries/edit.php:33
1836
+ #: pro/classes/views/frmpro-entries/new.php:46
1837
+ #: pro/classes/views/frmpro-entries/sidebar-new.php:11
1838
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:51
 
1839
  #@ formidable
1840
  msgid "Cancel"
1841
  msgstr "Abbruch"
1842
 
1843
+ #: classes/views/frm-forms/notification.php:41
1844
+ #: classes/views/frm-forms/notification.php:67
 
 
 
 
 
 
 
 
 
 
 
1845
  #: pro/classes/controllers/FrmProDisplaysController.php:499
1846
+ #: pro/classes/controllers/FrmProFormsController.php:167
1847
  #@ formidable
1848
  msgid "Email"
1849
  msgstr "Email"
1850
 
1851
+ #: pro/classes/models/FrmProField.php:42
 
 
 
 
 
 
1852
  #@ formidable
1853
  msgid "Website"
1854
  msgstr "Webseite"
1855
 
1856
+ #: classes/views/frm-forms/notification.php:77
 
 
 
 
 
 
1857
  #@ formidable
1858
  msgid "Subject"
1859
  msgstr "Betreff"
1860
 
1861
+ #: classes/views/frm-forms/notification.php:80
 
1862
  #@ formidable
1863
  msgid "Message"
1864
  msgstr "Nachricht"
1865
 
1866
+ #: classes/views/frm-entries/form.php:40
1867
+ #: pro/classes/controllers/FrmProEntriesController.php:1130
1868
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1768
1869
+ #: pro/classes/views/displays/where_row.php:7
1870
+ #: pro/classes/views/frmpro-entries/show.php:85
 
 
 
 
 
 
1871
  #: pro/classes/views/shared/mb_adv_info.php:64
1872
+ #: pro/classes/views/xml/map_csv_fields.php:54
1873
  #@ formidable
1874
  msgid "Entry Key"
1875
  msgstr "Eingabe Schlüssel"
1899
  msgid "Go to your WordPress page or post."
1900
  msgstr "Gehe zur WordPress Seite oder Artikel."
1901
 
1902
+ #: classes/views/frm-entries/no_entries.php:23
 
 
 
 
 
1903
  #@ formidable
1904
  msgid "Select your form from the dropdown and check the boxes to show the title and description if desired."
1905
  msgstr "Wählen Sie ihr Formular vom Dropdown aus und markieren Sie die Checkboxen, um den Titel und die Beschreibung anzuzeigen, wenn dies gewünscht ist."
1906
 
1907
+ #: classes/views/frm-entries/no_entries.php:24
1908
  #@ formidable
1909
  msgid "Click the \"Insert Form\" button."
1910
  msgstr "Klicken Sie den\"Formular einfügen\" Button."
1964
  msgid "Update Field Choices"
1965
  msgstr "Aktualisiere Feldauswahlen"
1966
 
1967
+ #: classes/views/frm-forms/add_field.php:39
1968
  #@ formidable
1969
  msgid "Duplicate Field"
1970
  msgstr "Feld duplizieren"
1971
 
1972
+ #: classes/views/frm-forms/add_field.php:71
1973
+ #: classes/views/frm-forms/add_field.php:115
1974
  #@ formidable
1975
  msgid "Add an Option"
1976
  msgstr "Eine Option hinzufügen."
1977
 
1978
+ #: classes/views/frm-forms/add_field.php:75
1979
+ #: classes/views/frm-forms/add_field.php:119
1980
  #@ formidable
1981
  msgid "Field Choices"
1982
  msgstr "Feldauswahlen"
1983
 
1984
+ #: classes/views/frm-forms/add_field.php:75
1985
+ #: classes/views/frm-forms/add_field.php:119
1986
  #@ formidable
1987
  msgid "Bulk Edit Field Choices"
1988
  msgstr "Massenbearbeitung der Feldauswahlen"
1989
 
1990
+ #: classes/views/frm-forms/add_field.php:103
1991
  #@ formidable
1992
  msgid "Please add options from the WordPress \"Categories\" page"
1993
  msgstr "Bitte fügen Sie Optionen von der WordPress \"Kategorien\" Seite hinzu"
1994
 
1995
+ #: classes/views/frm-forms/add_field.php:128
1996
  #, php-format
1997
  #@ formidable
1998
  msgid "Hint: Change colors in the %1$sFormidable settings"
1999
  msgstr "Hinweis: Ändern Sie die Farben in den %1$sFormidable Einstellungen"
2000
 
2001
+ #: classes/views/frm-forms/add_field.php:165
2002
  #@ formidable
2003
  msgid "Field Options"
2004
  msgstr "Feld Optionen"
2005
 
2006
+ #: classes/views/frm-forms/add_field.php:195
2007
+ #: classes/views/frm-forms/add_field.php:262
 
 
 
 
2008
  #@ formidable
2009
  msgid "Required"
2010
  msgstr "Benötigt"
2011
 
2012
+ #: classes/views/frm-forms/add_field.php:212
2013
  #@ formidable
2014
  msgid "Indicate required field with"
2015
  msgstr "Benötigtes Feld bezeichnen"
2016
 
2017
+ #: classes/views/frm-forms/add_field.php:242
 
 
 
 
 
 
 
 
 
 
2018
  #: classes/widgets/FrmShowForm.php:56
2019
  #@ formidable
2020
  msgid "Field Size"
2021
  msgstr "Feld Größe"
2022
 
2023
+ #: classes/views/frm-forms/add_field.php:246
2024
  #@ formidable
2025
  msgid "automatic width"
2026
  msgstr "Automatische Breite"
2027
 
2028
+ #: classes/views/frm-forms/add_field.php:249
2029
  #@ formidable
2030
  msgid "columns wide"
2031
  msgstr "Spalten breit"
2032
 
2033
+ #: classes/views/frm-forms/add_field.php:249
2034
  #: classes/widgets/FrmShowForm.php:58
2035
  #@ formidable
2036
  msgid "characters wide"
2037
  msgstr "Zeichen breit"
2038
 
2039
+ #: classes/views/frm-forms/add_field.php:251
2040
  #@ formidable
2041
  msgid "rows high"
2042
  msgstr "Zeilen hoch"
2043
 
2044
+ #: classes/views/frm-forms/add_field.php:251
2045
  #@ formidable
2046
  msgid "characters maximum"
2047
  msgstr "Zeichen Maximum"
2048
 
2049
+ #: classes/views/frm-forms/add_field.php:228
2050
  #: classes/views/frm-forms/mb_html_tab.php:10
2051
  #@ formidable
2052
  msgid "Label Position"
2053
  msgstr "Position des Hinweises"
2054
 
2055
+ #: classes/views/frm-forms/add_field.php:230
2056
  #@ formidable
2057
  msgid "Default"
2058
  msgstr "Standard"
2059
 
2060
+ #: classes/views/frm-forms/add_field.php:231
2061
  #@ formidable
2062
  msgid "Top"
2063
  msgstr "Oben"
2064
 
2065
+ #: classes/views/frm-forms/add_field.php:232
2066
  #@ formidable
2067
  msgid "Left"
2068
  msgstr "Links"
2069
 
2070
+ #: classes/views/frm-forms/add_field.php:233
2071
  #@ formidable
2072
  msgid "Right"
2073
  msgstr "Rechts"
2074
 
2075
+ #: classes/views/frm-forms/add_field.php:234
2076
  #@ formidable
2077
  msgid "Inline (left without a set width)"
2078
  msgstr "Inline (links ohne vorgegebene Weite)"
2079
 
2080
+ #: classes/views/frm-forms/add_field.php:235
2081
+ #: pro/classes/views/frmpro-forms/post_options.php:81
2082
+ #: pro/classes/views/frmpro-forms/post_options.php:90
2083
+ #: pro/classes/views/settings/formroller.php:355
2084
  #@ formidable
2085
  msgid "None"
2086
  msgstr "Keine"
2087
 
2088
+ #: classes/views/frm-forms/add_field.php:236
2089
  #@ formidable
2090
  msgid "Hidden (but leave the space)"
2091
  msgstr "Versteckt (aber behalte den Abstand)"
2092
 
2093
+ #: classes/views/frm-forms/add_field.php:220
2094
  #@ formidable
2095
  msgid "CSS layout classes"
2096
  msgstr "CSS Layout Klassen"
2097
 
2098
+ #: classes/views/frm-forms/add_field.php:221
2099
  #@ formidable
2100
  msgid "Add a CSS class to the field container. Use our predefined classes to align multiple fields in single row."
2101
  msgstr "Füge eine CSS Klasse zum Feld Container hinzu. Verwenden Sie unsere vordefinierten Klassen, um mehrere Felder in einer Zeile anzuordnen."
2102
 
 
 
 
 
 
 
2103
  #: classes/views/frm-forms/add_field_links.php:9
2104
+ #: classes/views/frm-forms/sidebar-settings.php:22
2105
  #@ formidable
2106
  msgid "Preview Form"
2107
  msgstr "Vorschau Formular"
2108
 
2109
  #: classes/views/frm-forms/add_field_links.php:13
2110
+ #: classes/views/frm-forms/sidebar-settings.php:26
 
2111
  #@ formidable
2112
  msgid "Preview in Current Theme"
2113
  msgstr "Vorschau in aktuellem Theme"
2114
 
2115
  #: classes/views/frm-forms/add_field_links.php:24
2116
+ #: classes/views/frm-forms/notification.php:23
2117
+ #: classes/views/frm-forms/notification.php:47
2118
  #@ formidable
2119
  msgid "Fields"
2120
  msgstr "Felder"
2121
 
2122
+ #: classes/views/frm-forms/add_field_links.php:41
2123
  #@ formidable
2124
  msgid "Pro Fields"
2125
  msgstr "Pro Feld"
2126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2127
  #: classes/views/frm-forms/default-templates.php:3
2128
  #@ formidable
2129
  msgid "Default Templates"
2130
  msgstr "Standard Vorlagen"
2131
 
2132
+ #: classes/helpers/FrmListHelper.php:136
2133
+ #@ default
 
 
2134
  msgid "Preview"
2135
  msgstr "Vorschau"
2136
 
2137
+ #: classes/views/frm-forms/default-templates.php:21
2138
  #: classes/views/frm-forms/default-templates.php:30
2139
+ #: pro/classes/controllers/FrmProDisplaysController.php:62
2140
+ #: pro/classes/controllers/FrmProDisplaysController.php:63
2141
+ #: pro/classes/helpers/FrmProListHelper.php:182
2142
  #: pro/classes/views/displays/submitbox_actions.php:2
2143
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:15
 
2144
  #@ formidable
2145
  msgid "View"
2146
  msgstr "Ansicht"
2150
  msgid "Custom Templates"
2151
  msgstr "Benutzerdefinierte Vorlagen"
2152
 
 
 
 
 
 
 
 
 
2153
  #: classes/widgets/FrmShowForm.php:46
2154
+ #: pro/classes/controllers/FrmProDisplaysController.php:200
2155
  #@ formidable
2156
  msgid "Form"
2157
  msgstr "Formular"
2158
 
2159
+ #: classes/views/frm-forms/add_field_links.php:114
2160
+ #: classes/views/frm-forms/edit.php:24
2161
+ #: classes/views/frm-forms/edit.php:38
2162
+ #: classes/views/frm-forms/settings.php:22
2163
+ #: classes/views/frm-forms/settings.php:180
2164
+ #: pro/classes/helpers/FrmProEntriesHelper.php:165
2165
+ #: pro/classes/models/FrmProSettings.php:11
 
2166
  #@ formidable
2167
  msgid "Update"
2168
  msgstr "Update"
2169
 
2170
+ #: classes/helpers/FrmFormsHelper.php:69
 
 
 
 
2171
  #@ formidable
2172
  msgid "Switch Form"
2173
  msgstr "Formular wechseln"
2174
 
 
 
 
 
 
 
2175
  #: classes/views/frm-forms/insert_form_popup.php:4
2176
+ #: pro/classes/controllers/FrmProXMLController.php:95
2177
  #@ formidable
2178
  msgid "Please select a form"
2179
  msgstr "Bitte wählen Sie ein Formular aus"
2180
 
2181
+ #: classes/views/frm-forms/insert_form_popup.php:36
 
 
 
 
 
2182
  #@ formidable
2183
  msgid "Select a form to insert"
2184
  msgstr "Wählen Sie ein Formular zum Einfügen"
2185
 
2186
+ #: classes/views/frm-forms/insert_form_popup.php:40
2187
  #@ formidable
2188
  msgid "Display form title"
2189
  msgstr "Formular-Titel anzeigen"
2190
 
2191
+ #: classes/views/frm-forms/insert_form_popup.php:41
2192
  #@ formidable
2193
  msgid "Display form description"
2194
  msgstr "Formular-Beschreibung anzeigen"
2195
 
2196
+ #: classes/views/frm-forms/insert_form_popup.php:60
 
 
 
 
 
 
 
 
 
 
2197
  #@ formidable
2198
  msgid "Note: In some cases, this option can create an infinite loop"
2199
  msgstr "Hinweis: In manchen Fällen kann diese Option eine unendliche Schleife hervorrufen"
2200
 
2201
+ #: classes/views/frm-forms/insert_form_popup.php:66
2202
  #@ formidable
2203
  msgid "Insert a search box"
2204
  msgstr "Ein Suchfeld einfügen"
2205
 
2206
+ #: classes/views/frm-forms/list.php:14
2207
+ #: pro/classes/controllers/FrmProDisplaysController.php:65
2208
+ #: pro/classes/controllers/FrmProEntriesController.php:1665
 
 
 
 
 
 
2209
  #: pro/classes/views/frmpro-entries/list.php:17
2210
  #@ formidable
2211
  msgid "Search"
2212
  msgstr "Suche"
2213
 
2214
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1783
2215
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1797
2216
+ #: pro/classes/views/displays/mb_form_disp_type.php:47
2217
+ #: pro/classes/views/displays/mb_form_disp_type.php:57
 
 
2218
  #: pro/classes/views/frmpro-entries/google_table.php:8
2219
  #: pro/classes/views/frmpro-entries/table.php:5
2220
  #@ formidable
2221
  msgid "ID"
2222
  msgstr "ID"
2223
 
2224
+ #: classes/views/frm-forms/add_field_links.php:114
 
 
 
 
 
 
 
 
2225
  #: classes/views/frm-forms/new-selection.php:24
2226
+ #: classes/views/frm-forms/new-selection.php:45
2227
+ #: classes/views/frm-forms/new.php:24
2228
+ #: classes/views/frm-forms/new.php:38
2229
  #@ formidable
2230
  msgid "Create"
2231
  msgstr "Erstellen"
2232
 
2233
+ #: classes/views/xml/import_form.php:32
 
2234
  #@ formidable
2235
  msgid "Export"
2236
  msgstr "Exportieren"
2237
 
2238
+ #: classes/controllers/FrmAppController.php:292
2239
+ #: classes/controllers/FrmFieldsController.php:220
2240
+ #: classes/views/frm-fields/single-option.php:6
2241
+ #: classes/views/frm-fields/single-option.php:8
 
 
2242
  #@ formidable
2243
  msgid "(Blank)"
2244
  msgstr "(Leer)"
2253
  msgid "Select a template to generate your form."
2254
  msgstr "Wählen Sie eine Vorlage um ihr Formular zu generieren."
2255
 
2256
+ #: classes/views/frm-forms/new-selection.php:35
2257
  #@ formidable
2258
  msgid "Blank Form"
2259
  msgstr "Leeres Formular"
2260
 
2261
+ #: classes/views/frm-forms/new-selection.php:40
2262
  #@ formidable
2263
  msgid "Start with a blank form and build anything."
2264
  msgstr "Beginne mit einem leeren Formular und erstelle alles von Anfang an."
2265
 
2266
+ #: classes/views/frm-forms/settings.php:43
2267
+ #: classes/views/frm-settings/form.php:18
 
 
 
 
 
 
 
 
 
 
 
2268
  #: pro/classes/views/settings/formroller.php:8
2269
  #@ formidable
2270
  msgid "General"
2271
  msgstr "Allgemein"
2272
 
2273
+ #: classes/views/frm-forms/settings.php:44
2274
  #@ formidable
2275
  msgid "Emails"
2276
  msgstr "Emails"
2277
 
2278
+ #: classes/views/frm-forms/settings.php:45
2279
  #@ formidable
2280
  msgid "Customize HTML"
2281
  msgstr "HTML individuell anpassen"
2282
 
2283
+ #: classes/views/frm-forms/settings.php:46
2284
  #@ formidable
2285
  msgid "Create Posts"
2286
  msgstr "Erstelle Artikel"
2291
  msgstr "Schlüssel und ID sind allgemein gleich. Für weitere Information klicken Sie jetzt!"
2292
 
2293
  #: classes/views/frm-forms/mb_html_tab.php:37
 
2294
  #@ formidable
2295
  msgid "Form Key"
2296
  msgstr "Formular Schlüssel"
2297
 
2298
+ #: classes/views/frm-forms/settings.php:55
2299
  #@ formidable
2300
  msgid "Use Formidable styling for this form"
2301
  msgstr "Benutzen Sie Formidable um dieses Formular zu stylen"
2302
 
2303
+ #: classes/views/frm-forms/settings.php:58
2304
  #@ formidable
2305
  msgid "Submit Button Text"
2306
  msgstr "Senden Button Text"
2307
 
2308
+ #: classes/views/frm-forms/settings.php:62
2309
  #@ formidable
2310
  msgid "Action After Form Submission"
2311
  msgstr "Aktion nach der Formular Eingabe"
2312
 
2313
+ #: classes/views/frm-forms/settings.php:64
2314
  #@ formidable
2315
  msgid "You must upgrade to Formidable Pro to get access to the second two options."
2316
  msgstr "Sie müssen auf Formidable Pro upgraden, um Zugang zu den anderen zwei Optionen zu bekommen."
2317
 
2318
+ #: classes/views/frm-forms/settings.php:67
2319
+ #: pro/classes/views/frmpro-forms/add_form_options.php:86
2320
  #@ formidable
2321
  msgid "Display a Message"
2322
  msgstr "Anzeigen einer Nachricht"
2323
 
2324
+ #: classes/views/frm-forms/settings.php:68
2325
+ #: pro/classes/views/frmpro-forms/add_form_options.php:88
2326
  #@ formidable
2327
  msgid "Display content from another page"
2328
  msgstr "Anzeigen von Inhalt einer anderen Seite"
2329
 
2330
+ #: classes/views/frm-forms/settings.php:69
2331
+ #: pro/classes/views/frmpro-forms/add_form_options.php:90
2332
  #@ formidable
2333
  msgid "Redirect to URL"
2334
  msgstr "Weiterleiten zu der URL"
2335
 
2336
+ #: classes/views/frm-forms/settings.php:96
2337
  #@ formidable
2338
+ msgid "Do not store any entries submitted from this form."
2339
+ msgstr "Speichere keine Einträge, welche durch dieses Formular übermittelt werden."
2340
 
2341
+ #: classes/views/frm-forms/settings.php:99
 
 
 
 
 
 
 
 
 
 
2342
  #@ formidable
2343
  msgid "Use Akismet to check entries for spam for"
2344
  msgstr "Benütze Akismet um die Einträge auf Spam zu kontrollieren"
2345
 
2346
+ #: classes/views/frm-forms/settings.php:101
2347
  #@ formidable
2348
  msgid "no one"
2349
  msgstr "niemand"
2350
 
2351
+ #: classes/views/frm-forms/settings.php:102
2352
  #@ formidable
2353
  msgid "everyone"
2354
  msgstr "jeder"
2355
 
2356
+ #: classes/views/frm-forms/settings.php:103
2357
  #@ formidable
2358
  msgid "visitors who are not logged in"
2359
  msgstr "Besucher, welche nicht angemeldet sind"
2360
 
2361
+ #: classes/views/frm-forms/notification.php:5
2362
  #@ formidable
2363
  msgid "From/Reply to"
2364
  msgstr "Von/Antwort an"
2365
 
2366
+ #: classes/views/frm-forms/notification.php:5
2367
  #@ formidable
2368
  msgid "Usually the name and email of the person filling out the form. Select from Text, Email, User ID, or hidden fields for the name. &lt;br/&gt;Defaults to your site name and admin email found on the WordPress General Settings page."
2369
  msgstr "Üblicherweise der Namen und die Email jener Person, welche das Formular ausfüllt. Wählen Sie zwischen Text, Email, User ID oder versteckten Feldern für den Namen. &lt;br/&gt;Standardmäßig wird der Website Name und die Administrator Email verwendet, welche unter WordPress > Einstellungen eingegeben wurden."
2370
 
2371
+ #: classes/views/frm-forms/notification.php:74
2372
  #@ formidable
2373
  msgid "Email Recipients"
2374
  msgstr "Email Empfänger"
2375
 
2376
+ #: classes/views/frm-forms/notification.php:74
2377
  #@ formidable
2378
  msgid "To send to multiple addresses, separate each address with a comma. You can use [admin_email] to dynamically use the address on your WordPress General Settings page. &lt;br/&gt;PRO only: Leave blank if you do not want email notifications for this form."
2379
  msgstr "Trennen Sie jede Adresse mit einem Beistrich/Komma, wenn Sie an mehrere Adressen versenden wollen. Sie können [admin_email] verwenden, um dynamisch die Adresse einzufügen, welche unter WordPress > Einstellungen konfiguriert wurde. &lt;br/&gt;PRO exklusiv: Leer lassen, wenn Sie keine Email-Benachrichtigung von diesem Formular erhalten wollen."
2394
  msgstr "Eintrags-Link löschen"
2395
 
2396
  #: classes/views/frm-forms/mb_html_tab.php:7
 
2397
  #@ formidable
2398
  msgid "Field Key"
2399
  msgstr "Feld Schlüssel"
2429
  msgid "Add class name if field has an error on form submit"
2430
  msgstr "Hinzufügen des class name wenn das Feld einen Fehler bei der Eingabe zeigt"
2431
 
2432
+ #: classes/views/frm-forms/settings.php:128
2433
  #@ formidable
2434
  msgid "Before Fields"
2435
  msgstr "Vor den Feldern"
2436
 
2437
+ #: classes/views/frm-forms/settings.php:144
2438
  #@ formidable
2439
  msgid "After Fields"
2440
  msgstr "Nach den Feldern"
2441
 
2442
+ #: classes/controllers/FrmSettingsController.php:34
2443
+ #: pro/classes/controllers/FrmProSettingsController.php:27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2444
  #@ formidable
2445
  msgid "Form Styling"
2446
  msgstr "Formular Styling"
2447
 
2448
+ #: classes/views/frm-settings/form.php:34
2449
+ #: classes/views/frm-settings/form.php:156
2450
+ #: pro/classes/views/settings/formroller.php:2
 
 
 
 
2451
  #@ formidable
2452
  msgid "Update Options"
2453
  msgstr "Optionen updaten"
2454
 
2455
+ #: classes/views/frm-settings/form.php:126
2456
  #@ formidable
2457
  msgid "Admin menu label"
2458
  msgstr "Admin Menü Beschriftung"
2459
 
2460
+ #: classes/views/frm-settings/form.php:129
2461
  #@ formidable
2462
  msgid "Use this menu name site-wide"
2463
  msgstr "Benütze den Menü-Namen für die gesamte Webseite"
2464
 
2465
+ #: classes/views/frm-settings/form.php:133
2466
  #@ formidable
2467
  msgid "Preview Page"
2468
  msgstr "Seitenvorschau"
2469
 
2470
+ #: classes/views/frm-settings/form.php:137
2471
  #@ formidable
2472
  msgid "Tracking"
2473
  msgstr "Tracking"
2474
 
2475
+ #: classes/views/frm-settings/form.php:138
2476
  #@ formidable
2477
  msgid "Track referrer information and pages visited"
2478
  msgstr "Verfolge Referrer Informationen und besuchte Seiten"
2479
 
2480
+ #: classes/views/frm-settings/form.php:41
 
 
 
 
 
2481
  #@ formidable
2482
  msgid "Load Formidable styling"
2483
  msgstr "Laden Sie das Formidable Styling"
2484
 
2485
+ #: classes/views/frm-settings/form.php:43
2486
  #@ formidable
2487
  msgid "on every page of your site"
2488
  msgstr "auf jeder Seite Ihrer Webseite"
2489
 
2490
+ #: classes/views/frm-settings/form.php:44
2491
  #@ formidable
2492
  msgid "only on applicable pages"
2493
  msgstr "nur auf geeigneten Seiten"
2494
 
2495
+ #: classes/views/frm-settings/form.php:45
2496
  #@ formidable
2497
  msgid "Don't use Formidable styling on any page"
2498
  msgstr "Benutzen Sie das Formidable Styling nicht auf einer anderen Seite"
2499
 
2500
+ #: classes/views/frm-settings/form.php:49
2501
  #@ formidable
2502
  msgid "Use HTML5 in forms"
2503
  msgstr "Verwende HTML5 in Formularen"
2504
 
2505
+ #: pro/classes/views/settings/general_style.php:2
2506
  #@ formidable
2507
  msgid "Include the jQuery CSS on ALL pages"
2508
  msgstr "Einfügen des jQuery CSS auf ALLEN Seiten"
2509
 
2510
+ #: pro/classes/views/settings/general_style.php:2
2511
  #@ formidable
2512
  msgid "The styling for the date field calendar. Some users may be using this css on pages other than just the ones that include a date field."
2513
  msgstr "Das Styling für das Daten- Feld Kalender. Einige Benutzer verwenden die CSS vielleicht auf anderen Seiten, als auf der die das Daten- Feld beinhaltet."
2514
 
2515
+ #: classes/views/frm-settings/form.php:56
2516
  #@ formidable
2517
  msgid "User Permissions"
2518
  msgstr "Benutzerrechte"
2519
 
2520
+ #: classes/views/frm-settings/form.php:56
2521
  #@ formidable
2522
  msgid "Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu."
2523
  msgstr "Wählen Sie die Benutzer aus die das Recht haben Formidable zu verwenden. Ohne das Recht formulare anzusehen, können diese Benutzer kein Formidable Menü sehen."
2524
 
2525
+ #: classes/views/frm-settings/form.php:64
2526
  #@ formidable
2527
  msgid "reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot."
2528
  msgstr "reCAPTCHA ist ein freier CAPTCHA Service, der hilft Bücher zu digitalisieren und nebenbei SPAM auf Blogs zu verhindern. reCPATCHA bittet Kommentatoren, zur Überprüfung ihres Mensch- Seins, zwei Worte, die aus einem Buch gescannt wurden, einzugeben."
2529
 
2530
+ #: classes/views/frm-settings/form.php:69
2531
  #@ formidable
2532
  msgid "Public Key"
2533
  msgstr "Öffentlicher Schlüssel"
2534
 
2535
+ #: classes/views/frm-settings/form.php:73
2536
  #@ formidable
2537
  msgid "Private Key"
2538
  msgstr "Privater Schlüssel"
2539
 
2540
+ #: classes/views/frm-settings/form.php:76
2541
  #@ formidable
2542
  msgid "reCAPTCHA Theme"
2543
  msgstr "reCAPTCHA Theme"
2544
 
2545
+ #: classes/views/frm-settings/form.php:78
2546
  #@ formidable
2547
  msgid "Red"
2548
  msgstr "Rot"
2549
 
2550
+ #: classes/views/frm-settings/form.php:78
2551
  #@ formidable
2552
  msgid "White"
2553
  msgstr "Weiß"
2554
 
2555
+ #: classes/views/frm-settings/form.php:78
2556
  #@ formidable
2557
  msgid "Black Glass"
2558
  msgstr "Schwarzes Glass"
2559
 
2560
+ #: classes/views/frm-settings/form.php:78
2561
  #@ formidable
2562
  msgid "Clean"
2563
  msgstr "Sauber"
2564
 
2565
+ #: classes/views/frm-settings/form.php:83
2566
  #@ formidable
2567
  msgid "reCAPTCHA Language"
2568
  msgstr "reCAPTCHA Sprache"
2569
 
2570
+ #: classes/views/frm-settings/form.php:85
2571
  #@ formidable
2572
  msgid "English"
2573
  msgstr "Englisch"
2574
 
2575
+ #: classes/views/frm-settings/form.php:85
2576
+ #: pro/classes/controllers/FrmProFieldsController.php:334
2577
  #@ formidable
2578
  msgid "Dutch"
2579
  msgstr "Niederländisch"
2580
 
2581
+ #: classes/views/frm-settings/form.php:85
2582
+ #: pro/classes/controllers/FrmProFieldsController.php:337
2583
  #@ formidable
2584
  msgid "French"
2585
  msgstr "Französisch"
2586
 
2587
+ #: classes/views/frm-settings/form.php:85
2588
+ #: pro/classes/controllers/FrmProFieldsController.php:338
2589
  #@ formidable
2590
  msgid "German"
2591
  msgstr "Deutsch"
2592
 
2593
+ #: classes/views/frm-settings/form.php:85
2594
  #@ formidable
2595
  msgid "Portuguese"
2596
  msgstr "Portugiesisch"
2597
 
2598
+ #: classes/views/frm-settings/form.php:85
2599
+ #: pro/classes/controllers/FrmProFieldsController.php:346
2600
  #@ formidable
2601
  msgid "Russian"
2602
  msgstr "Russisch"
2603
 
2604
+ #: classes/views/frm-settings/form.php:85
2605
+ #: pro/classes/controllers/FrmProFieldsController.php:348
2606
  #@ formidable
2607
  msgid "Spanish"
2608
  msgstr "Spanisch"
2609
 
2610
+ #: classes/views/frm-settings/form.php:85
2611
+ #: pro/classes/controllers/FrmProFieldsController.php:350
2612
  #@ formidable
2613
  msgid "Turkish"
2614
  msgstr "Türkisch"
2615
 
2616
+ #: classes/views/frm-settings/form.php:92
2617
  #@ formidable
2618
  msgid "Default Messages"
2619
  msgstr "Standardnachrichten"
2620
 
2621
+ #: classes/views/frm-settings/form.php:92
2622
  #@ formidable
2623
  msgid "You can override the success message and submit button settings on individual forms."
2624
  msgstr "Sie können die Erfolgs- Mitteilung und die Senden- Button Einstelllungen überschreiben."
2625
 
2626
+ #: classes/views/frm-settings/form.php:100
2627
  #@ formidable
2628
  msgid "Incorrect Field"
2629
  msgstr "Inkorrektes Feld."
2630
 
2631
+ #: classes/views/frm-settings/form.php:100
2632
  #@ formidable
2633
  msgid "The message seen when a field response is either incorrect or missing."
2634
  msgstr "Die Nachricht die angezeigt wird, wenn eine Feld- Antwort entweder falsch order fehlend ist."
2635
 
2636
+ #: classes/views/frm-settings/form.php:111
2637
  #@ formidable
2638
  msgid "Success Message"
2639
  msgstr "Erfolgsmitteilung"
2640
 
2641
+ #: classes/views/frm-settings/form.php:111
2642
  #@ formidable
2643
  msgid "The default message seen after a form is submitted."
2644
  msgstr "Die Standardnachricht, die nach Ausfüllen des Formulares zu sehen ist."
2645
 
2646
+ #: classes/views/frm-settings/form.php:94
 
 
 
 
 
2647
  #@ formidable
2648
  msgid "The message seen when a form is submitted and passes validation, but something goes wrong."
2649
  msgstr "Die Nachricht, welche angezeigt wird, wenn das Formular übermittelt wird und die Überprüfung der Daten erfolgreich ist, jedoch irgendetwas schief läuft."
2650
 
2651
+ #: pro/classes/views/settings/form.php:10
2652
  #@ formidable
2653
  msgid "Login Message"
2654
  msgstr "Login Mitteilung"
2655
 
2656
+ #: pro/classes/views/settings/form.php:10
2657
  #@ formidable
2658
  msgid "The message seen when a user who is not logged-in views a form only logged-in users can submit."
2659
  msgstr "Die Mitteilung, die zu sehen ist, wenn ein Benutzer der nicht eingeloogt ist, ein Formular zu sehen versucht, dass nur für Eingeloggte sichtbar sein soll."
2660
 
2661
+ #: classes/views/frm-settings/form.php:114
2662
  #@ formidable
2663
  msgid "Default Submit Button"
2664
  msgstr "Standard Senden Button"
2665
 
2666
+ #: classes/views/frm-settings/form.php:154
2667
  #@ formidable
2668
  msgid "Uninstall Formidable"
2669
  msgstr "Formidable Deinstallieren"
2670
 
2671
+ #: classes/controllers/FrmAppController.php:289
2672
  #@ formidable
2673
  msgid "Are you sure you want to do this? Clicking OK will delete all forms, form data, and all other Formidable data. There is no Undo."
2674
  msgstr "Sidn Sie sicher, dass sie dies tun wollen? Wenn Sie OK klicken, werden alle Formulare, Formular- Daten und sämtliche Formidable- Daten gelöscht. Es gibt KEIN ZURÜCK!"
2675
 
2676
+ #: classes/views/frm-forms/edit.php:3
2677
+ #: classes/views/shared/form-nav.php:3
 
 
 
 
 
 
 
 
 
2678
  #@ formidable
2679
  msgid "Build"
2680
  msgstr "Erstelle"
2681
 
 
 
 
 
 
 
2682
  #: classes/widgets/FrmShowForm.php:6
2683
  #@ formidable
2684
  msgid "Display a Formidable Form"
2690
  msgstr "Formidable Formular"
2691
 
2692
  #: classes/widgets/FrmShowForm.php:43
2693
+ #: pro/classes/widgets/FrmListEntries.php:175
2694
  #@ formidable
2695
  msgid "Title"
2696
  msgstr "Titel"
2720
  msgid "Formidable Tag"
2721
  msgstr "Formidable Tag"
2722
 
2723
+ #: pro/classes/controllers/FrmProDisplaysController.php:202
2724
  #@ formidable
2725
  msgid "Page"
2726
  msgstr "Seite"
2727
 
2728
+ #: pro/classes/controllers/FrmProDisplaysController.php:203
2729
+ #: pro/classes/controllers/FrmProDisplaysController.php:349
2730
+ #: pro/classes/views/displays/mb_dyncontent.php:10
2731
+ #: pro/classes/views/frmpro-fields/options-form.php:182
2732
  #@ formidable
2733
  msgid "Content"
2734
  msgstr "Inhalt"
2735
 
2736
+ #: pro/classes/controllers/FrmProDisplaysController.php:204
2737
+ #: pro/classes/views/displays/mb_dyncontent.php:27
2738
  #@ formidable
2739
  msgid "Dynamic Content"
2740
  msgstr "Dynamischer Inhalt"
2741
 
2742
+ #: pro/classes/controllers/FrmProDisplaysController.php:208
2743
  #@ formidable
2744
  msgid "Shortcode"
2745
  msgstr "Shortcode"
2746
 
2747
+ #: pro/classes/controllers/FrmProEntriesController.php:377
 
 
 
 
 
 
 
 
 
 
2748
  #@ formidable
2749
  msgid "Entry was Successfully Created"
2750
  msgstr "Der Eintrag wurde erfolgreich vorgenommen"
2751
 
2752
+ #: pro/classes/controllers/FrmProEntriesController.php:407
2753
  #@ formidable
2754
  msgid "Entry was Successfully Updated"
2755
  msgstr "Der Eintrag wurde erfolgreich aktualisiert"
2756
 
2757
+ #: pro/classes/controllers/FrmProEntriesController.php:409
2758
  #@ formidable
2759
  msgid "Back to Entries"
2760
  msgstr "Zurück zu den Einträgen"
2761
 
2762
+ #: pro/classes/controllers/FrmProXMLController.php:116
2763
  #@ formidable
2764
  msgid "All Fields are required"
2765
  msgstr "Alle Felder werden benötigt"
2766
 
2767
+ #: classes/views/xml/import_form.php:11
2768
+ #: pro/classes/views/xml/map_csv_fields.php:61
 
 
 
 
 
 
2769
  #@ formidable
2770
  msgid "Import"
2771
  msgstr "Importierung"
2772
 
2773
+ #: pro/classes/controllers/FrmProEntriesController.php:429
2774
  #@ formidable
2775
  msgid "Entry was Successfully Duplicated"
2776
  msgstr "Der Eintrag wurde erfolgreich dupliziert"
2777
 
2778
+ #: pro/classes/controllers/FrmProEntriesController.php:431
2779
  #@ formidable
2780
  msgid "There was a problem duplicating that entry"
2781
  msgstr "Es trat ein Problem währen des Duplizierens des Eintrages auf"
2782
 
2783
+ #: pro/classes/controllers/FrmProEntriesController.php:460
2784
  #@ formidable
2785
  msgid "Entry was Successfully Destroyed"
2786
  msgstr "Der Eintrag wurde erfolgreich zerstört"
2787
 
2788
+ #: pro/classes/controllers/FrmProEntriesController.php:487
2789
  #@ formidable
2790
  msgid "Entries were Successfully Destroyed"
2791
  msgstr "Einträge wurden Erfolgreich Zerstört"
2792
 
2793
+ #: pro/classes/controllers/FrmProEntriesController.php:489
2794
+ #: pro/classes/controllers/FrmProEntriesController.php:511
2795
  #@ formidable
2796
  msgid "No entries were specified"
2797
  msgstr "Keine Einträge wurden festgelegt"
2798
 
2799
+ #: pro/classes/controllers/FrmProEntriesController.php:543
2800
  #@ formidable
2801
  msgid "No form was found"
2802
  msgstr "Es wurde kein Formular gefunden"
2803
 
2804
+ #: pro/classes/controllers/FrmProEntriesController.php:896
2805
  #@ formidable
2806
  msgid "Please wait while you are redirected."
2807
  msgstr "Bitte warten Sie, während Sie weitergeleitet werden."
2808
 
2809
+ #: pro/classes/controllers/FrmProEntriesController.php:899
2810
  #, php-format
2811
  #@ formidable
2812
  msgid "%1$sClick here%2$s if you are not automatically redirected."
2813
  msgstr "%1$sKlicken Sie hier%2$s, wenn Sie nicht automatisch weitergeleitet werden."
2814
 
2815
+ #: pro/classes/controllers/FrmProEntriesController.php:982
2816
  #@ formidable
2817
  msgid "Create Entry in Form"
2818
  msgstr "Erstelle Eintrag im Formular"
2819
 
2820
+ #: pro/classes/controllers/FrmProEntriesController.php:1025
2821
  #@ formidable
2822
  msgid "Copied from Post"
2823
  msgstr "Kopiert von einem Artikel"
2824
 
2825
+ #: pro/classes/controllers/FrmProEntriesController.php:1141
2826
+ #: pro/classes/views/frmpro-entries/show.php:62
2827
  #@ formidable
2828
  msgid "Post"
2829
  msgstr "Artikel"
2830
 
2831
+ #: pro/classes/controllers/FrmProDisplaysController.php:825
2832
+ #: pro/classes/controllers/FrmProEntriesController.php:1142
2833
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1771
2834
+ #: pro/classes/helpers/FrmProListHelper.php:121
 
 
2835
  #: pro/classes/views/displays/mb_form_disp_type.php:26
2836
+ #: pro/classes/views/displays/mb_form_disp_type.php:35
2837
+ #: pro/classes/views/displays/order_row.php:3
2838
+ #: pro/classes/views/displays/where_row.php:4
2839
  #@ formidable
2840
  msgid "Entry creation date"
2841
  msgstr "Eintrags-Erstellungsdatum"
2842
 
2843
+ #: pro/classes/controllers/FrmProDisplaysController.php:826
2844
+ #: pro/classes/controllers/FrmProEntriesController.php:1143
2845
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1772
 
2846
  #: pro/classes/views/displays/mb_form_disp_type.php:27
2847
+ #: pro/classes/views/displays/mb_form_disp_type.php:36
2848
+ #: pro/classes/views/displays/order_row.php:4
2849
  #@ formidable
2850
  msgid "Entry update date"
2851
  msgstr "Aktualisierungsdatum des Eintrags"
2852
 
2853
+ #: pro/classes/controllers/FrmProEntriesController.php:1558
2854
+ #: pro/classes/helpers/FrmProDisplaysHelper.php:57
2855
+ #: pro/classes/helpers/FrmProListHelper.php:76
 
2856
  #@ formidable
2857
  msgid "No Entries Found"
2858
  msgstr "Keine Einträge gefunden"
2859
 
2860
+ #: pro/classes/controllers/FrmProEntriesController.php:1559
2861
+ #: pro/classes/controllers/FrmProEntriesController.php:1691
2862
+ #: pro/classes/controllers/FrmProEntriesController.php:1980
2863
  #: pro/classes/views/frmpro-entries/sidebar-show.php:17
2864
  #@ formidable
2865
  msgid "Are you sure you want to delete that entry?"
2866
  msgstr "Sind Sie sicher, dass Sie den Eintrag löschen wollen?"
2867
 
2868
+ #: pro/classes/controllers/FrmProEntriesController.php:2017
2869
+ #: pro/classes/controllers/FrmProEntriesController.php:2259
2870
  #@ formidable
2871
  msgid "Your entry was successfully deleted"
2872
  msgstr "Ihr Eintrag wurde erfolgreich gelöscht"
2873
 
2874
+ #: pro/classes/controllers/FrmProEntriesController.php:2240
2875
  #@ formidable
2876
  msgid "There was an error deleting that entry"
2877
  msgstr "Es gab einen Fehler beim Löschen des Eintrages"
2878
 
2879
+ #: pro/classes/controllers/FrmProFieldsController.php:310
 
 
 
 
 
2880
  #@ formidable
2881
  msgid "Option Label"
2882
  msgstr "Option Beschriftung"
2883
 
2884
  #: pro/classes/controllers/FrmProDisplaysController.php:488
2885
+ #: pro/classes/controllers/FrmProFieldsController.php:311
2886
  #@ formidable
2887
  msgid "Saved Value"
2888
  msgstr "Gespeicherter Wert"
2889
 
2890
+ #: pro/classes/controllers/FrmProFieldsController.php:326
2891
  #@ formidable
2892
  msgid "English/Western"
2893
  msgstr "Englisch/Westlich"
2894
 
2895
+ #: pro/classes/controllers/FrmProFieldsController.php:326
2896
  #@ formidable
2897
  msgid "Afrikaans"
2898
  msgstr "Afrikanisch"
2899
 
2900
+ #: pro/classes/controllers/FrmProFieldsController.php:327
2901
  #@ formidable
2902
  msgid "Albanian"
2903
  msgstr "Albanisch"
2904
 
2905
+ #: pro/classes/controllers/FrmProFieldsController.php:327
2906
  #@ formidable
2907
  msgid "Arabic"
2908
  msgstr "Arabisch"
2909
 
2910
+ #: pro/classes/controllers/FrmProFieldsController.php:328
2911
  #@ formidable
2912
  msgid "Armenian"
2913
  msgstr "Armenisch"
2914
 
2915
+ #: pro/classes/controllers/FrmProFieldsController.php:328
2916
  #@ formidable
2917
  msgid "Azerbaijani"
2918
  msgstr "Aserbaidschanisch"
2919
 
2920
+ #: pro/classes/controllers/FrmProFieldsController.php:329
2921
  #@ formidable
2922
  msgid "Basque"
2923
  msgstr "Baskisch"
2924
 
2925
+ #: pro/classes/controllers/FrmProFieldsController.php:329
2926
  #@ formidable
2927
  msgid "Bosnian"
2928
  msgstr "Bosnisch"
2929
 
2930
+ #: pro/classes/controllers/FrmProFieldsController.php:330
2931
  #@ formidable
2932
  msgid "Bulgarian"
2933
  msgstr "Bulgarisch"
2934
 
2935
+ #: pro/classes/controllers/FrmProFieldsController.php:330
2936
  #@ formidable
2937
  msgid "Catalan"
2938
  msgstr "Kataln"
2939
 
2940
+ #: pro/classes/controllers/FrmProFieldsController.php:331
2941
  #@ formidable
2942
  msgid "Chinese Hong Kong"
2943
  msgstr "Hong Kong Chinesisch"
2944
 
2945
+ #: pro/classes/controllers/FrmProFieldsController.php:331
2946
  #@ formidable
2947
  msgid "Chinese Simplified"
2948
  msgstr "Chinesisch vereinfacht"
2949
 
2950
+ #: pro/classes/controllers/FrmProFieldsController.php:332
2951
  #@ formidable
2952
  msgid "Chinese Traditional"
2953
  msgstr "Traditionelles Chinesisch"
2954
 
2955
+ #: pro/classes/controllers/FrmProFieldsController.php:332
2956
  #@ formidable
2957
  msgid "Croatian"
2958
  msgstr "Kroatisch"
2959
 
2960
+ #: pro/classes/controllers/FrmProFieldsController.php:333
2961
  #@ formidable
2962
  msgid "Czech"
2963
  msgstr "Tschechisch"
2964
 
2965
+ #: pro/classes/controllers/FrmProFieldsController.php:333
2966
  #@ formidable
2967
  msgid "Danish"
2968
  msgstr "Dänisch"
2969
 
2970
+ #: pro/classes/controllers/FrmProFieldsController.php:334
2971
  #@ formidable
2972
  msgid "English/UK"
2973
  msgstr "Britisches Englisch"
2974
 
2975
+ #: pro/classes/controllers/FrmProFieldsController.php:335
2976
  #@ formidable
2977
  msgid "Esperanto"
2978
  msgstr "Esperanto"
2979
 
2980
+ #: pro/classes/controllers/FrmProFieldsController.php:335
2981
  #@ formidable
2982
  msgid "Estonian"
2983
  msgstr "Estländisch"
2984
 
2985
+ #: pro/classes/controllers/FrmProFieldsController.php:336
2986
  #@ formidable
2987
  msgid "Faroese"
2988
  msgstr "Färöisch"
2989
 
2990
+ #: pro/classes/controllers/FrmProFieldsController.php:336
2991
  #@ formidable
2992
  msgid "Farsi/Persian"
2993
  msgstr "Farsi/Persisch"
2994
 
2995
+ #: pro/classes/controllers/FrmProFieldsController.php:337
2996
  #@ formidable
2997
  msgid "Finnish"
2998
  msgstr "Finnisch"
2999
 
3000
+ #: pro/classes/controllers/FrmProFieldsController.php:338
3001
  #@ formidable
3002
  msgid "French/Swiss"
3003
  msgstr "Französisch/Schweiz"
3004
 
3005
+ #: pro/classes/controllers/FrmProFieldsController.php:339
3006
  #@ formidable
3007
  msgid "Greek"
3008
  msgstr "Griechisch"
3009
 
3010
+ #: pro/classes/controllers/FrmProFieldsController.php:339
3011
  #@ formidable
3012
  msgid "Hebrew"
3013
  msgstr "Hebräisch"
3014
 
3015
+ #: pro/classes/controllers/FrmProFieldsController.php:340
3016
  #@ formidable
3017
  msgid "Hungarian"
3018
  msgstr "Ungarisch"
3019
 
3020
+ #: pro/classes/controllers/FrmProFieldsController.php:340
3021
  #@ formidable
3022
  msgid "Icelandic"
3023
  msgstr "Isländisch"
3024
 
3025
+ #: pro/classes/controllers/FrmProFieldsController.php:341
3026
  #@ formidable
3027
  msgid "Italian"
3028
  msgstr "Italienisch"
3029
 
3030
+ #: pro/classes/controllers/FrmProFieldsController.php:341
3031
  #@ formidable
3032
  msgid "Japanese"
3033
  msgstr "Japanisch"
3034
 
3035
+ #: pro/classes/controllers/FrmProFieldsController.php:342
3036
  #@ formidable
3037
  msgid "Korean"
3038
  msgstr "Koreanisch"
3039
 
3040
+ #: pro/classes/controllers/FrmProFieldsController.php:342
3041
  #@ formidable
3042
  msgid "Latvian"
3043
  msgstr "Lettisch"
3044
 
3045
+ #: pro/classes/controllers/FrmProFieldsController.php:343
3046
  #@ formidable
3047
  msgid "Lithuanian"
3048
  msgstr "Litauisch"
3049
 
3050
+ #: pro/classes/controllers/FrmProFieldsController.php:343
3051
  #@ formidable
3052
  msgid "Malaysian"
3053
  msgstr "Malaiisch"
3054
 
3055
+ #: pro/classes/controllers/FrmProFieldsController.php:344
3056
  #@ formidable
3057
  msgid "Norwegian"
3058
  msgstr "Norwegisch"
3059
 
3060
+ #: pro/classes/controllers/FrmProFieldsController.php:344
3061
  #@ formidable
3062
  msgid "Polish"
3063
  msgstr "Polnisch"
3064
 
3065
+ #: pro/classes/controllers/FrmProFieldsController.php:345
3066
  #@ formidable
3067
  msgid "Portuguese/Brazilian"
3068
  msgstr "Portugiesisch/ Brasilianisch"
3069
 
3070
+ #: pro/classes/controllers/FrmProFieldsController.php:345
3071
  #@ formidable
3072
  msgid "Romanian"
3073
  msgstr "Rumänisch"
3074
 
3075
+ #: pro/classes/controllers/FrmProFieldsController.php:346
3076
+ #: pro/classes/controllers/FrmProFieldsController.php:347
3077
  #@ formidable
3078
  msgid "Serbian"
3079
  msgstr "Serbisch"
3080
 
3081
+ #: pro/classes/controllers/FrmProFieldsController.php:347
3082
  #@ formidable
3083
  msgid "Slovak"
3084
  msgstr "Slovakisch"
3085
 
3086
+ #: pro/classes/controllers/FrmProFieldsController.php:348
3087
  #@ formidable
3088
  msgid "Slovenian"
3089
  msgstr "Slovenisch"
3090
 
3091
+ #: pro/classes/controllers/FrmProFieldsController.php:349
3092
  #@ formidable
3093
  msgid "Swedish"
3094
  msgstr "Schwedisch"
3095
 
3096
+ #: pro/classes/controllers/FrmProFieldsController.php:349
3097
  #@ formidable
3098
  msgid "Tamil"
3099
  msgstr "Tamilisch"
3100
 
3101
+ #: pro/classes/controllers/FrmProFieldsController.php:350
3102
  #@ formidable
3103
  msgid "Thai"
3104
  msgstr "Thai"
3105
 
3106
+ #: pro/classes/controllers/FrmProFieldsController.php:351
3107
  #@ formidable
3108
  msgid "Ukranian"
3109
  msgstr "Ukrainisch"
3110
 
3111
+ #: pro/classes/controllers/FrmProFieldsController.php:351
3112
  #@ formidable
3113
  msgid "Vietnamese"
3114
  msgstr "Vietnamesisch"
3115
 
3116
+ #: classes/controllers/FrmFormsController.php:493
3117
  #@ formidable
3118
  msgid "No forms were specified"
3119
  msgstr "Es wurden keine Formulare spezifiziert"
3120
 
3121
+ #: pro/classes/controllers/FrmProFormsController.php:165
3122
  #@ formidable
3123
  msgid "Current Date"
3124
  msgstr "Aktuelles Datum"
3125
 
3126
+ #: pro/classes/controllers/FrmProFormsController.php:166
3127
  #@ formidable
3128
  msgid "Current Time"
3129
  msgstr "Aktuelle Zeit"
3134
  msgstr "Benutzer - Login"
3135
 
3136
  #: pro/classes/controllers/FrmProDisplaysController.php:497
3137
+ #: pro/classes/controllers/FrmProFormsController.php:172
3138
+ #: pro/classes/models/FrmProField.php:38
3139
+ #: pro/classes/models/FrmProForm.php:256
3140
  #@ formidable
3141
  msgid "User ID"
3142
  msgstr "Benutzer ID"
3143
 
3144
+ #: pro/classes/controllers/FrmProFormsController.php:173
3145
  #@ formidable
3146
  msgid "User Meta"
3147
  msgstr "Benutzer Meta"
3148
 
3149
+ #: pro/classes/controllers/FrmProFormsController.php:174
3150
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1769
 
3151
  #: pro/classes/views/shared/mb_adv_info.php:65
3152
+ #: pro/classes/views/xml/map_csv_fields.php:46
3153
  #@ formidable
3154
  msgid "Post ID"
3155
  msgstr "Beitrags ID"
3156
 
3157
+ #: pro/classes/controllers/FrmProFormsController.php:175
3158
  #: pro/classes/views/frmpro-forms/comment_options.php:15
3159
  #: pro/classes/views/frmpro-forms/post_options.php:46
3160
  #@ formidable
3161
  msgid "Post Title"
3162
  msgstr "Beitrags-Titel"
3163
 
3164
+ #: pro/classes/controllers/FrmProFormsController.php:176
3165
  #: pro/classes/views/frmpro-forms/comment_options.php:18
3166
  #@ formidable
3167
  msgid "Author Email"
3168
  msgstr "Autor Email"
3169
 
3170
+ #: pro/classes/controllers/FrmProFormsController.php:177
3171
  #@ formidable
3172
  msgid "Post Meta"
3173
  msgstr "Artikel Meta"
3174
 
3175
+ #: pro/classes/controllers/FrmProStatisticsController.php:672
 
 
 
 
 
 
 
 
 
 
3176
  #@ formidable
3177
  msgid "Completed"
3178
  msgstr "Beendet"
3179
 
3180
+ #: pro/classes/controllers/FrmProStatisticsController.php:672
3181
  #@ formidable
3182
  msgid "Not Completed"
3183
  msgstr "Nicht beendet"
3184
 
3185
+ #: pro/classes/controllers/FrmProStatisticsController.php:679
3186
  #@ formidable
3187
  msgid "Deleted User"
3188
  msgstr "Gelöschte Benützer"
3189
 
3190
+ #: pro/classes/controllers/FrmProStatisticsController.php:1044
3191
  #@ formidable
3192
  msgid "Monthly Entries"
3193
  msgstr "Monatliche Einträge"
3194
 
3195
+ #: pro/classes/controllers/FrmProStatisticsController.php:1047
3196
  #@ formidable
3197
  msgid "Yearly Entries"
3198
  msgstr "Jährliche Einträge"
3199
 
3200
+ #: pro/classes/controllers/FrmProStatisticsController.php:1041
3201
  #@ formidable
3202
  msgid "Hourly Entries"
3203
  msgstr "Stündliche Einträge"
3204
 
3205
+ #: pro/classes/controllers/FrmProStatisticsController.php:1050
3206
  #@ formidable
3207
  msgid "Daily Entries"
3208
  msgstr "Tägliche Einträge"
3209
 
3210
+ #: pro/classes/helpers/FrmProAppHelper.php:118
3211
  #@ formidable
3212
  msgid "at"
3213
  msgstr "um"
3214
 
3215
+ #: pro/classes/helpers/FrmProAppHelper.php:130
3216
  #@ formidable
3217
  msgid "year"
3218
  msgstr "Jahr"
3219
 
3220
+ #: pro/classes/helpers/FrmProAppHelper.php:130
3221
  #@ formidable
3222
  msgid "years"
3223
  msgstr "Jahre"
3224
 
3225
+ #: pro/classes/helpers/FrmProAppHelper.php:131
3226
  #@ formidable
3227
  msgid "month"
3228
  msgstr "Monat"
3229
 
3230
+ #: pro/classes/helpers/FrmProAppHelper.php:131
3231
  #@ formidable
3232
  msgid "months"
3233
  msgstr "Monate"
3234
 
3235
+ #: pro/classes/helpers/FrmProAppHelper.php:132
3236
  #@ formidable
3237
  msgid "week"
3238
  msgstr "Woche"
3239
 
3240
+ #: pro/classes/helpers/FrmProAppHelper.php:132
3241
  #@ formidable
3242
  msgid "weeks"
3243
  msgstr "Wochen"
3244
 
3245
+ #: pro/classes/helpers/FrmProAppHelper.php:133
3246
  #@ formidable
3247
  msgid "day"
3248
  msgstr "Tag"
3249
 
3250
+ #: pro/classes/helpers/FrmProAppHelper.php:133
3251
  #@ formidable
3252
  msgid "days"
3253
  msgstr "Tage"
3254
 
3255
+ #: pro/classes/helpers/FrmProAppHelper.php:134
3256
  #@ formidable
3257
  msgid "hour"
3258
  msgstr "Stunde"
3259
 
3260
+ #: pro/classes/helpers/FrmProAppHelper.php:134
3261
+ #: pro/classes/views/frmpro-forms/add_form_options.php:45
3262
  #@ formidable
3263
  msgid "hours"
3264
  msgstr "Stunden"
3265
 
3266
+ #: pro/classes/helpers/FrmProAppHelper.php:135
3267
  #@ formidable
3268
  msgid "minute"
3269
  msgstr "Minute"
3270
 
3271
+ #: pro/classes/helpers/FrmProAppHelper.php:135
3272
  #@ formidable
3273
  msgid "minutes"
3274
  msgstr "Minuten"
3275
 
3276
+ #: pro/classes/helpers/FrmProAppHelper.php:136
3277
  #@ formidable
3278
  msgid "second"
3279
  msgstr "Sekunde"
3280
 
3281
+ #: pro/classes/helpers/FrmProAppHelper.php:136
3282
+ #: pro/classes/helpers/FrmProAppHelper.php:144
3283
+ #: pro/classes/helpers/FrmProAppHelper.php:167
3284
  #@ formidable
3285
  msgid "seconds"
3286
  msgstr "Sekunden"
3287
 
3288
+ #: pro/classes/helpers/FrmProAppHelper.php:243
3289
  #@ formidable
3290
  msgid "Bulk Actions"
3291
  msgstr "Stapel Aktionen"
3292
 
3293
+ #: pro/classes/helpers/FrmProAppHelper.php:246
3294
+ #: pro/classes/helpers/FrmProListHelper.php:146
3295
  #@ formidable
3296
  msgid "Export to CSV"
3297
  msgstr "Exportiere als CSV"
3298
 
3299
+ #: pro/classes/helpers/FrmProAppHelper.php:249
3300
  #@ formidable
3301
  msgid "Apply"
3302
  msgstr "Übernehmen"
3303
 
3304
+ #: pro/classes/helpers/FrmProListHelper.php:120
 
3305
  #@ formidable
3306
  msgid "All Fields"
3307
  msgstr "Alle Felder"
3308
 
3309
+ #: pro/classes/helpers/FrmProListHelper.php:131
 
3310
  #@ formidable
3311
  msgid "Reset"
3312
  msgstr "Zurücksetzen"
3313
 
3314
+ #: pro/classes/helpers/FrmProEntryMetaHelper.php:277
3315
+ #: pro/classes/helpers/FrmProEntryMetaHelper.php:306
 
 
 
 
 
 
 
 
 
 
3316
  #, php-format
3317
  #@ formidable
3318
  msgid "View all posts filed under %s"
3319
  msgstr "Alle Artikel ansehen, welche unter %s eingeordnet sind"
3320
 
3321
+ #: pro/classes/helpers/FrmProFieldsHelper.php:635
3322
  #@ formidable
3323
  msgid "No Categories"
3324
  msgstr "Keine Kategorien"
3325
 
3326
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1270
3327
  #@ formidable
3328
  msgid "Edit Uploaded File"
3329
  msgstr "Hochgeladene Datei editieren"
3330
 
3331
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1765
3332
+ #: pro/classes/views/frmpro-fields/options-form.php:244
3333
  #@ formidable
3334
  msgid "Select a value to insert into the box below"
3335
  msgstr "Wählen Sie einen Wert für die Eingabe in die Box darunter aus"
3336
 
3337
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1767
3338
+ #: pro/classes/helpers/FrmProListHelper.php:122
3339
+ #: pro/classes/views/displays/where_row.php:6
3340
+ #: pro/classes/views/frmpro-entries/show.php:84
3341
  #: pro/classes/views/shared/mb_adv_info.php:63
3342
+ #: pro/classes/views/xml/map_csv_fields.php:53
3343
  #@ formidable
3344
  msgid "Entry ID"
3345
  msgstr "Eintrags-ID"
3346
 
3347
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1770
3348
  #: pro/classes/views/shared/mb_adv_info.php:66
3349
  #@ formidable
3350
  msgid "User IP"
3351
  msgstr "Benutzer IP"
3352
 
3353
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1774
3354
  #@ formidable
3355
  msgid "Form Fields"
3356
  msgstr "Formular Felder"
3357
 
3358
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1786
3359
  #@ formidable
3360
  msgid "Thumbnail"
3361
  msgstr "Thumbnail"
3362
 
3363
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1787
3364
  #@ formidable
3365
  msgid "Medium"
3366
  msgstr "Mittel"
3367
 
3368
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1788
3369
  #@ formidable
3370
  msgid "Large"
3371
  msgstr "Groß"
3372
 
3373
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1789
3374
  #@ formidable
3375
  msgid "Full Size"
3376
  msgstr "Volle Größe"
3377
 
3378
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1809
3379
  #: pro/classes/views/shared/mb_adv_info.php:59
3380
  #@ formidable
3381
  msgid "Helpers"
3382
  msgstr "Helfer"
3383
 
3384
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1810
3385
  #@ formidable
3386
  msgid "Admin link to edit the entry"
3387
  msgstr "Admin Link zum Eintrag"
3388
 
3389
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1812
3390
  #@ formidable
3391
  msgid "Link to view single page if showing dynamic entries"
3392
  msgstr "Link zu einzelner Seite, wenn Dynamische Einträge gezeigt werden"
3393
 
3394
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1816
3395
  #@ formidable
3396
  msgid "Add a rotating 'even' or 'odd' class"
3397
  msgstr "Fügen Sie eine wechselnde 'even' or 'odd' Klasse hinzu"
3398
 
3399
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1818
3400
  #@ formidable
3401
  msgid "Default Email Message"
3402
  msgstr "Standard Email Nachricht"
3403
 
3404
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1820
3405
  #: pro/classes/views/shared/mb_adv_info.php:70
3406
  #@ formidable
3407
  msgid "Site URL"
3408
  msgstr "Seiten URL"
3409
 
3410
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1821
3411
  #: pro/classes/views/shared/mb_adv_info.php:71
3412
  #@ formidable
3413
  msgid "Site Name"
3414
  msgstr "Webseiten Name"
3415
 
3416
+ #: pro/classes/models/FrmProDisplay.php:243
 
 
 
 
 
3417
  #@ formidable
3418
  msgid "Name cannot be blank"
3419
  msgstr "Name darf nicht leer bleiben"
3420
 
3421
+ #: pro/classes/models/FrmProDisplay.php:245
3422
  #: pro/classes/views/displays/mb_excerpt.php:2
3423
  #@ formidable
3424
  msgid "This is not displayed anywhere, but is just for your reference. (optional)"
3425
  msgstr "Dies wird nirgendwo angezeigt, es dient nur als Hinweis für Sie. (Optional)"
3426
 
3427
+ #: pro/classes/models/FrmProDisplay.php:249
3428
  #@ formidable
3429
  msgid "Content cannot be blank"
3430
  msgstr "Inhalt darf nicht leer bleiben"
3431
 
3432
+ #: pro/classes/models/FrmProDisplay.php:252
3433
  #@ formidable
3434
  msgid "Page cannot be blank if you want the content inserted automatically"
3435
  msgstr "Die Seite darf nicht ller sein, wenn Inhalt automatisch eingesetzt werden soll"
3436
 
3437
+ #: pro/classes/models/FrmProDisplay.php:255
3438
  #@ formidable
3439
  msgid "Limit must be a number"
3440
  msgstr "Das Limit muss eine Zahl sein"
3441
 
3442
+ #: pro/classes/models/FrmProDisplay.php:259
3443
  #@ formidable
3444
  msgid "Dynamic Content cannot be blank"
3445
  msgstr "Dynamischer Inhalt darf nicht leer bleiben"
3446
 
3447
+ #: pro/classes/models/FrmProDisplay.php:263
3448
  #@ formidable
3449
  msgid "Parameter Name cannot be blank if content is dynamic"
3450
  msgstr "Parameter Name darf nicht leer bleiben, wenn der Inhalt dynamisch ist"
3451
 
3452
+ #: pro/classes/models/FrmProDisplay.php:266
3453
  #@ formidable
3454
  msgid "Parameter Value cannot be blank if content is dynamic"
3455
  msgstr "Parameter Wert darf nicht leer bleiben, wenn der Inhalt dynamisch ist"
3456
 
3457
+ #: pro/classes/models/FrmProDisplay.php:269
3458
  #@ formidable
3459
  msgid "Detail Link cannot be blank if content is dynamic"
3460
  msgstr "Detail Link darf nicht leer bleiben, wenn der Inhalt dynamisch ist"
3461
 
3462
+ #: pro/classes/helpers/FrmProFieldsHelper.php:879
3463
  #@ formidable
3464
  msgid "must be unique"
3465
  msgstr "muss einzigartig sein"
3466
 
3467
+ #: pro/classes/models/FrmProEntryMeta.php:188
3468
  #@ formidable
3469
  msgid "Sorry, this file type is not permitted for security reasons."
3470
  msgstr "Entschuldigung, dieser Datei- Typ ist aus Sicherheitsgründen verboten."
3471
 
3472
+ #: pro/classes/models/FrmProForm.php:127
3473
  #@ formidable
3474
  msgid "Status"
3475
  msgstr "Status"
3476
 
3477
+ #: pro/classes/models/FrmProForm.php:145
3478
  #@ formidable
3479
  msgid "Single"
3480
  msgstr "Einzel"
3481
 
3482
+ #: pro/classes/models/FrmProForm.php:146
3483
  #@ formidable
3484
  msgid "Used for the single post page"
3485
  msgstr "Benützt für die Einzelartikel-Seite"
3486
 
3487
+ #: pro/classes/models/FrmProForm.php:147
3488
  #@ formidable
3489
  msgid "Add content here if you would like to use this as a listing page."
3490
  msgstr "Fügen Sie hier einen Inhalt hinzu, wenn Sie dies als Auflistungsseite verwenden wollen."
3491
 
3492
+ #: pro/classes/models/FrmProForm.php:263
3493
  #@ formidable
3494
  msgid "Please insert a message for your auto responder."
3495
  msgstr "Bitte fügen Sie für den Autoresponder eine Nachricht ein."
3496
 
3497
+ #: pro/classes/models/FrmProForm.php:265
3498
  #@ formidable
3499
  msgid "That is not a valid reply-to email address for your auto responder."
3500
  msgstr "Dies ist keine gültige Antwort- Emailadresse für Ihren Autoresponder."
3501
 
3502
+ #: pro/classes/models/FrmProSettings.php:12
3503
  #@ formidable
3504
  msgid "You have already submitted that form"
3505
  msgstr "Dieses Formular haben Sie bereits ausgefüllt"
3506
 
3507
+ #: pro/classes/models/FrmProSettings.php:10
3508
  #@ formidable
3509
  msgid "Your submission was successfully saved."
3510
  msgstr "Ihre Eingabe wurde erfolgreich gespeichert."
3511
 
3512
+ #: pro/classes/views/displays/mb_advanced.php:75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3513
  #@ formidable
3514
  msgid "After page content"
3515
  msgstr "Nach Seiteninhalt"
3516
 
3517
+ #: pro/classes/views/displays/mb_advanced.php:76
3518
  #@ formidable
3519
  msgid "Before page content"
3520
  msgstr "Vor Seiteninhalt"
3521
 
3522
+ #: pro/classes/views/displays/mb_advanced.php:77
3523
  #@ formidable
3524
  msgid "Replace page content"
3525
  msgstr "Seiten-Inhalt ersetzen"
3526
 
3527
+ #: pro/classes/views/displays/mb_advanced.php:74
3528
  #@ formidable
3529
  msgid "Don't insert automatically"
3530
  msgstr "Nicht automatisch einfügen"
3531
 
3532
+ #: pro/classes/views/displays/mb_advanced.php:81
3533
  #@ formidable
3534
  msgid "on page"
3535
  msgstr "auf Seite"
3536
 
3537
+ #: pro/classes/views/displays/mb_advanced.php:83
3538
  #@ formidable
3539
  msgid "If you would like the content to be inserted automatically, you must then select the page in which to insert it."
3540
  msgstr "Wenn Sie den Inhalt automtisch hinzufügen lassen wollen, müssen Sie die Seite wählen, in welcher das passiert."
3541
 
3542
+ #: pro/classes/views/displays/mb_advanced.php:86
3543
+ #: pro/classes/views/frmpro-entries/show.php:63
3544
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:13
3545
  #@ formidable
3546
  msgid "View Post"
3547
  msgstr "Betrachte Artikel"
3548
 
3549
+ #: pro/classes/views/displays/mb_advanced.php:90
3550
  #@ formidable
3551
  msgid "Insert position"
3552
  msgstr "Position einfügen"
3553
 
 
 
 
 
 
3554
  #: pro/classes/views/displays/submitbox_actions.php:5
3555
  #@ formidable
3556
  msgid "Insert on a page, post, or text widget"
3567
  msgid "Insert in a template"
3568
  msgstr "In eine Vorlage einfügen"
3569
 
 
 
 
 
 
 
3570
  #: pro/classes/views/displays/mb_form_disp_type.php:3
3571
  #@ formidable
3572
  msgid "Use Entries from Form"
3582
  msgid "The first one depending on the Order specified below"
3583
  msgstr "Erstes in der Reihe, abhängig von der Ordnung, die darunter festgelegt wurde"
3584
 
 
 
 
 
 
3585
  #: pro/classes/views/displays/mb_form_disp_type.php:11
3586
  #@ formidable
3587
  msgid "All Entries &mdash; list all entries in the specified form"
3607
  msgid "Date Field"
3608
  msgstr "Datumsfeld"
3609
 
3610
+ #: pro/classes/views/displays/mb_form_disp_type.php:32
3611
  #@ formidable
3612
  msgid "End Date or day count"
3613
  msgstr "Fristende oder Anzahl der Tage"
3614
 
3615
+ #: pro/classes/views/displays/mb_form_disp_type.php:34
3616
  #@ formidable
3617
  msgid "No multi-day events"
3618
  msgstr "Keine mehrtägigen Events"
3619
 
3620
+ #: pro/classes/views/displays/mb_form_disp_type.php:43
3621
  #@ formidable
3622
  msgid "Detail Link"
3623
  msgstr "Detail Link"
3624
 
3625
+ #: pro/classes/views/displays/mb_form_disp_type.php:43
3626
  #, php-format
3627
  #@ formidable
3628
  msgid "Example: If parameter name is 'contact', the url would be like %1$s/selected-page?contact=2. If this entry is linked to a post, the post permalink will be used instead."
3629
  msgstr "Beispiel: Wenn der Parameter Name 'kontakt' ist, wäre die URL z.B. %1$s/selected-page?kontakt=2. Falls der Eintrag zu einem Beitrag verlinkt wird, wird der Beitrags- Permalink anstatt dessen verwendet."
3630
 
3631
+ #: pro/classes/views/displays/mb_form_disp_type.php:50
3632
  #, php-format
3633
  #@ formidable
3634
  msgid "Select the value that will be added onto the page URL. This will create a pretty URL like %1$s/selected-page/entry-key"
3635
  msgstr "Wählen Sie den Wert der an die Seiten-URL angehängt wird. Das wird eine URL produzieren, wie %1$s/gewaehlte-seite/eintrags-schluessel"
3636
 
3637
+ #: pro/classes/views/displays/mb_form_disp_type.php:52
3638
  #@ formidable
3639
  msgid "Parameter Name"
3640
  msgstr "Parameter Name"
3641
 
3642
+ #: pro/classes/views/displays/mb_form_disp_type.php:55
3643
  #@ formidable
3644
  msgid "Parameter Value"
3645
  msgstr "Parameter Wert"
3646
 
3647
+ #: pro/classes/views/displays/mb_dyncontent.php:3
3648
  #@ formidable
3649
  msgid "Before Content"
3650
  msgstr "Vor Inhalt"
3651
 
3652
+ #: pro/classes/views/displays/mb_dyncontent.php:3
3653
  #@ formidable
3654
  msgid "This content will not be repeated. This would be a good place to put any HTML table tags."
3655
  msgstr "Dieser Inhalt wird nicht wiederholt. Es wäre eine gute Stelle um beliebigen HTML Tabellen Code einzufügen."
3656
 
3657
+ #: pro/classes/views/displays/mb_dyncontent.php:3
3658
+ #: pro/classes/views/displays/mb_dyncontent.php:20
3659
  #: pro/classes/views/frmpro-forms/comment_options.php:23
3660
  #@ formidable
3661
  msgid "optional"
3662
  msgstr "optional"
3663
 
3664
+ #: pro/classes/views/displays/mb_dyncontent.php:20
 
 
 
 
 
3665
  #@ formidable
3666
  msgid "After Content"
3667
  msgstr "Nach Inhalt"
3668
 
3669
+ #: pro/classes/views/displays/mb_dyncontent.php:20
3670
  #@ formidable
3671
  msgid "This content will not be repeated. This would be a good place to close any HTML tags from the Before Content field."
3672
  msgstr "Dieser Inhalt wird nicht wiederholt werden. Dies wäre eine gute Stelle um HTML Tags zu schliessen, die sie bei 'Vor Inhalt' eingefügt haben."
3673
 
3674
+ #: pro/classes/views/displays/mb_dyncontent.php:27
3675
  #, php-format
3676
  #@ formidable
3677
  msgid "The HTML for the entry on the dynamic page. This content will NOT be repeated, and will only show when the %1$s is clicked."
3687
  msgid "Order"
3688
  msgstr "Reihenfolge"
3689
 
3690
+ #: pro/classes/views/displays/order_row.php:5
3691
  #@ formidable
3692
  msgid "Random"
3693
  msgstr "Zufällig"
3694
 
3695
+ #: pro/classes/views/displays/order_row.php:10
3696
  #@ formidable
3697
  msgid "Ascending"
3698
  msgstr "Aufsteigend"
3699
 
3700
+ #: pro/classes/views/displays/order_row.php:11
3701
  #@ formidable
3702
  msgid "Descending"
3703
  msgstr "Absteigend"
3704
 
3705
+ #: pro/classes/views/displays/mb_advanced.php:25
3706
  #@ formidable
3707
  msgid "Narrow down which entries will be used."
3708
  msgstr "Grenzen Sie die Einträge ein, die verwendet werden sollen."
3709
 
3710
+ #: pro/classes/views/displays/mb_advanced.php:44
 
 
 
 
 
 
 
3711
  #@ formidable
3712
  msgid "Limit"
3713
  msgstr "Limit"
3714
 
3715
+ #: pro/classes/views/displays/mb_advanced.php:45
3716
  #@ formidable
3717
  msgid "If you don’t want all your entries displayed, you can insert the number limit here. Leave blank if you’d like all entries shown."
3718
  msgstr "Wenn Sie nicht alle Einträge angezeigen wollen, können Sie hier ein Zahl als Limit setzen. Lassen Sie das Feld leer, wenn alle Einträge erscheinen sollen."
3719
 
3720
+ #: pro/classes/views/displays/mb_advanced.php:54
3721
  #@ formidable
3722
  msgid "Page Size"
3723
  msgstr "Seitengröße"
3724
 
3725
+ #: pro/classes/views/displays/mb_advanced.php:55
3726
  #@ formidable
3727
  msgid "The number of entries to show per page. Leave blank to not use pagination."
3728
  msgstr "Die Anzahl der Einträge, die pro Seite gezeigt werden. Lassen Sie das Feld leer um keine Seitenzahlen zu verwenden."
3729
 
3730
+ #: pro/classes/views/displays/mb_advanced.php:63
3731
  #@ formidable
3732
  msgid "Message if nothing to display"
3733
  msgstr "Meldung falls es Nichts zum Anzeigen gibt"
3734
 
3735
+ #: pro/classes/views/displays/mb_advanced.php:101
3736
  #@ formidable
3737
  msgid "Copy these display settings to other blogs when Formidable Pro is activated. <br/>Note: Use only field keys in the content box(es) above."
3738
  msgstr "Kopieren Sie diese Anzeigeneinstellungen zu anderen Blogs, wenn Formidable Pro aktiviert ist. <br/>Hinweis: Benutzen Sie nur Feld-Schlüssel in der/n Inhalts- Box/en oberhalb."
3772
  msgid "Field ID"
3773
  msgstr "Feld ID"
3774
 
 
 
 
 
 
3775
  #: pro/classes/views/displays/where_options.php:21
3776
  #@ formidable
3777
  msgid "Date options: 'NOW' or a date in yyyy-mm-dd format."
3778
  msgstr "Datums- Optinen: 'HEUTE' oder ein Datum im JJJJ-MM-TT Format."
3779
 
3780
+ #: pro/classes/views/displays/where_row.php:3
3781
+ #: pro/classes/views/frmpro-fields/_logic_row.php:3
3782
  #: pro/classes/views/frmpro-fields/field-selection.php:2
3783
+ #: pro/classes/views/frmpro-forms/_comment_meta_row.php:6
3784
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:27
3785
+ #: pro/classes/views/frmpro-forms/_logic_row.php:3
3786
  #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:10
3787
  #: pro/classes/views/frmpro-forms/comment_options.php:25
3788
  #: pro/classes/views/frmpro-forms/post_options.php:48
3791
  msgid "Select Field"
3792
  msgstr "Feld auswählen"
3793
 
3794
+ #: pro/classes/views/displays/where_row.php:10
3795
+ #: pro/classes/views/frmpro-fields/_logic_row.php:23
3796
+ #: pro/classes/views/frmpro-forms/_logic_row.php:20
3797
  #@ formidable
3798
  msgid "is"
3799
  msgstr "ist"
3800
 
3801
+ #: pro/classes/views/displays/where_row.php:12
3802
+ #: pro/classes/views/frmpro-fields/_logic_row.php:27
3803
+ #: pro/classes/views/frmpro-forms/_logic_row.php:23
3804
  #@ formidable
3805
  msgid "equal to"
3806
  msgstr "ist gleich"
3807
 
3808
+ #: pro/classes/views/displays/where_row.php:13
3809
+ #: pro/classes/views/frmpro-fields/_logic_row.php:28
3810
+ #: pro/classes/views/frmpro-forms/_logic_row.php:24
3811
  #@ formidable
3812
  msgid "NOT equal to"
3813
  msgstr "ist NICHT gleich"
3814
 
3815
+ #: pro/classes/views/displays/where_row.php:14
3816
+ #: pro/classes/views/frmpro-fields/_logic_row.php:29
3817
+ #: pro/classes/views/frmpro-forms/_logic_row.php:25
3818
  #@ formidable
3819
  msgid "greater than"
3820
  msgstr "größer als"
3821
 
3822
+ #: pro/classes/views/displays/where_row.php:15
3823
+ #: pro/classes/views/frmpro-fields/_logic_row.php:30
3824
+ #: pro/classes/views/frmpro-forms/_logic_row.php:26
3825
  #@ formidable
3826
  msgid "less than"
3827
  msgstr "kleiner als"
3828
 
3829
+ #: pro/classes/views/displays/where_row.php:16
3830
  #@ formidable
3831
  msgid "greater than or equal to"
3832
  msgstr "größer oder gleich zu"
3833
 
3834
+ #: pro/classes/views/displays/where_row.php:17
3835
  #@ formidable
3836
  msgid "less than or equal to"
3837
  msgstr "kleiner oder gleich zu"
3838
 
3839
+ #: pro/classes/views/displays/where_row.php:18
3840
+ #: pro/classes/views/frmpro-fields/_logic_row.php:31
3841
+ #: pro/classes/views/frmpro-forms/_logic_row.php:27
3842
  #@ formidable
3843
  msgid "like"
3844
  msgstr "wie"
3845
 
3846
+ #: pro/classes/views/displays/where_row.php:19
3847
  #@ formidable
3848
  msgid "NOT like"
3849
  msgstr "NICHT wie"
3850
 
3851
  #: pro/classes/views/frmpro-entries/csv.php:30
3852
+ #: pro/classes/views/xml/map_csv_fields.php:47
3853
  #@ formidable
3854
  msgid "Timestamp"
3855
  msgstr "Zeitstempel"
3865
  msgid "Publish"
3866
  msgstr "Veröffentlichen"
3867
 
3868
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:28
3869
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:30
3870
  #: pro/classes/views/frmpro-entries/sidebar-show.php:19
3871
  #@ formidable
3872
  msgid "Are you sure you want to delete this entry?"
3873
  msgstr "Sind Sie sicher, dass Sie diesen Eintrag löschen wollen?"
3874
 
3875
+ #: pro/classes/views/xml/csv_opts.php:2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3876
  #@ formidable
3877
  msgid "CSV Delimiter"
3878
  msgstr "CSV Trennzeichen"
3879
 
3880
+ #: pro/classes/views/xml/csv_opts.php:6
3881
  #@ formidable
3882
  msgid "Import Into Form"
3883
  msgstr "Importiere in das Formular"
3884
 
3885
+ #: pro/classes/views/xml/map_csv_fields.php:23
3886
  #@ formidable
3887
  msgid "CSV header"
3888
  msgstr "CSV Kopfzeile"
3889
 
3890
+ #: pro/classes/views/xml/map_csv_fields.php:24
3891
  #@ formidable
3892
  msgid "Sample data"
3893
  msgstr "Beispieldaten"
3894
 
3895
+ #: pro/classes/views/xml/map_csv_fields.php:25
3896
  #@ formidable
3897
  msgid "Corresponding Field"
3898
  msgstr "Dazugehöriges Feld"
3899
 
3900
+ #: pro/classes/views/frmpro-entries/show.php:69
3901
+ #: pro/classes/views/xml/map_csv_fields.php:47
3902
  #@ formidable
3903
  msgid "Created at"
3904
  msgstr "Erstellt am"
3905
 
3906
+ #: pro/classes/views/xml/map_csv_fields.php:48
3907
  #@ formidable
3908
  msgid "Created by"
3909
  msgstr "Erstellt von"
3910
 
3911
+ #: pro/classes/views/xml/map_csv_fields.php:49
3912
  #@ formidable
3913
  msgid "Updated at"
3914
  msgstr "Aktualisiert am"
3915
 
3916
+ #: pro/classes/views/xml/map_csv_fields.php:50
3917
  #@ formidable
3918
  msgid "Updated by"
3919
  msgstr "Aktualisiert von"
3920
 
3921
+ #: pro/classes/helpers/FrmProEntriesHelper.php:199
3922
  #@ formidable
3923
  msgid "Are you sure you want to permanently delete ALL the entries in this form?"
3924
  msgstr "Sind Sie sicher, dass Sie alle Einträge in diesem Formular permanent löschen wollen?"
3925
 
3926
+ #: pro/classes/helpers/FrmProEntriesHelper.php:199
3927
  #@ formidable
3928
  msgid "Delete ALL Entries"
3929
  msgstr "ALLE Einträge löschen"
3930
 
 
 
 
 
 
3931
  #: pro/classes/views/frmpro-entries/loading.php:4
3932
  #@ formidable
3933
  msgid "Uploading Files. Please Wait."
3935
 
3936
  #: pro/classes/views/frmpro-entries/new-selection.php:3
3937
  #: pro/classes/views/frmpro-entries/new-selection.php:8
3938
+ #: pro/classes/views/frmpro-entries/new.php:3
3939
  #@ formidable
3940
  msgid "Add New Entry"
3941
  msgstr "Neuen Eintrag hinzufügen"
3946
  msgstr "Wählen Sie ein Formular für ihren neuen Eintrag aus."
3947
 
3948
  #: pro/classes/views/frmpro-entries/new-selection.php:19
3949
+ #: pro/classes/views/frmpro-statistics/show.php:20
 
3950
  #@ formidable
3951
  msgid "Go"
3952
  msgstr "Los"
3953
 
 
 
 
 
 
 
3954
  #: pro/classes/views/frmpro-entries/show.php:3
3955
  #@ formidable
3956
  msgid "View Entry"
3961
  msgid "Entry Actions"
3962
  msgstr "Eintrags-Aktionen"
3963
 
3964
+ #: pro/classes/views/frmpro-entries/show.php:72
3965
+ #: pro/classes/views/frmpro-entries/show.php:80
3966
  #@ formidable
3967
  msgid "by"
3968
  msgstr "von"
3969
 
3970
  #: pro/classes/views/frmpro-entries/csv.php:30
3971
+ #: pro/classes/views/frmpro-entries/show.php:78
3972
  #@ formidable
3973
  msgid "Last Updated"
3974
  msgstr "Zuletzt aktualisiert"
3975
 
3976
+ #: pro/classes/views/frmpro-entries/show.php:118
3977
  #@ formidable
3978
  msgid "Comments/Notes"
3979
  msgstr "Kommentare/Hinweise"
3980
 
3981
+ #: pro/classes/views/frmpro-entries/show.php:134
3982
  #@ formidable
3983
  msgid "Add Note/Comment"
3984
  msgstr "Kommentar/Hinweis hinzufügen"
3985
 
3986
+ #: pro/classes/views/frmpro-entries/show.php:145
3987
  #@ formidable
3988
  msgid "Comment/Note"
3989
  msgstr "Kommentar/Hinweis"
3990
 
3991
+ #: pro/classes/views/frmpro-entries/show.php:152
3992
  #@ formidable
3993
  msgid "Send Emails to"
3994
  msgstr "Sende Emails zu"
4013
  msgid "Use a Category/Taxonomy"
4014
  msgstr "Benütze eine Kategorie/Taxonomie"
4015
 
4016
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:32
4017
  #@ formidable
4018
  msgid "Limit selection choices to those created by the user filling out this form"
4019
  msgstr "Begrenzen sie die Auswahl-Optionen auf jene, welche vom Benutzer des Formular erstellt werden"
4033
  msgid "Single Row"
4034
  msgstr "Einzelne Zeile"
4035
 
 
4036
  #: pro/classes/views/frmpro-fields/options-form.php:14
4037
  #@ formidable
4038
  msgid "Use separate values"
4048
  msgid "If your radio, checkbox, dropdown, or user ID field needs a dynamic default value like [get param=whatever], insert it in the field options. If using a GET or POST value, it must match one of the options in the field in order for that option to be selected. Data from entries fields require the ID of the linked entry."
4049
  msgstr "Wenn ihr Radio, Checkbox, Dropdown oder User ID Feld einen dynamischen Wert, wie zum Beispiel [get param=whatever] benötigt, fügen Sie diesen in den Feld Optionen ein. Wenn Sie einen GET oder POST Wert benützen, so muss dieser mit einer der Optionen in dem Feld übereinstimmen, damit dieser selektiert werden kann. Daten von Einträgen-Feldern benötigen die ID des verbundenen Eintrags."
4050
 
4051
+ #: pro/classes/views/frmpro-fields/options-form.php:55
4052
  #@ formidable
4053
  msgid "Make this section collapsible"
4054
  msgstr "Machen Sie diesen Bereich ausklappbar"
4055
 
4056
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:20
4057
  #@ formidable
4058
  msgid "Display as"
4059
  msgstr "Anzeigen als"
4060
 
4061
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:22
4062
  #@ formidable
4063
  msgid "Just show it"
4064
  msgstr "Nur anzeigen"
4065
 
4066
+ #: pro/classes/views/frmpro-fields/options-form.php:59
4067
  #@ formidable
4068
  msgid "Calendar Localization"
4069
  msgstr "Kalender Lokalisierung"
4070
 
4071
+ #: pro/classes/views/frmpro-fields/options-form.php:69
4072
  #@ formidable
4073
  msgid "Year Range"
4074
  msgstr "Jahresabgrenzung"
4075
 
4076
+ #: pro/classes/views/frmpro-fields/options-form.php:72
4077
  #@ formidable
4078
  msgid "Start Year"
4079
  msgstr "Jahresanfang"
4080
 
4081
+ #: pro/classes/views/frmpro-fields/options-form.php:75
4082
  #@ formidable
4083
  msgid "End Year"
4084
  msgstr "Jahresende"
4085
 
4086
+ #: pro/classes/views/frmpro-fields/options-form.php:80
4087
  #@ formidable
4088
  msgid "Clock Settings"
4089
  msgstr "Uhren-Einstellung"
4090
 
4091
+ #: pro/classes/views/frmpro-fields/options-form.php:85
4092
  #@ formidable
4093
  msgid "hour clock"
4094
  msgstr "Stunden-Uhr"
4095
 
4096
+ #: pro/classes/views/frmpro-fields/options-form.php:88
4097
  #@ formidable
4098
  msgid "minute step"
4099
  msgstr "Minuten-Schritte"
4100
 
4101
+ #: pro/classes/views/frmpro-fields/options-form.php:91
4102
  #@ formidable
4103
  msgid "start time"
4104
  msgstr "Anfangs-Zeit"
4105
 
4106
+ #: pro/classes/views/frmpro-fields/options-form.php:94
4107
  #@ formidable
4108
  msgid "end time"
4109
  msgstr "End-Zeit"
4110
 
4111
+ #: pro/classes/views/frmpro-fields/options-form.php:102
4112
  #@ formidable
4113
  msgid "Email Attachment"
4114
  msgstr "Email-Anhang"
4115
 
4116
+ #: pro/classes/views/frmpro-fields/options-form.php:103
4117
  #@ formidable
4118
  msgid "attach this file to the email notification"
4119
  msgstr "hängen Sie diese Datei an die Email- Benachrichtigung an"
4120
 
4121
+ #: pro/classes/views/frmpro-fields/options-form.php:106
4122
  #@ formidable
4123
  msgid "Allowed file types"
4124
  msgstr "Erlaubte Dateiformate"
4125
 
4126
+ #: pro/classes/views/frmpro-fields/options-form.php:108
4127
  #@ formidable
4128
  msgid "All types"
4129
  msgstr "Alle Dateiformate"
4130
 
4131
+ #: pro/classes/views/frmpro-fields/options-form.php:109
4132
  #@ formidable
4133
  msgid "Specify allowed types"
4134
  msgstr "Spezifiziere erlaubte Dateiformate"
4135
 
4136
+ #: pro/classes/views/frmpro-fields/options-form.php:110
4137
+ #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:61
4138
  #@ formidable
4139
  msgid "Check All"
4140
  msgstr "Alle auswählen"
4141
 
4142
+ #: pro/classes/views/frmpro-fields/options-form.php:145
4143
  #@ formidable
4144
  msgid "Number Range"
4145
  msgstr "Zahlen-Bereich"
4146
 
4147
+ #: pro/classes/views/frmpro-fields/options-form.php:145
4148
  #@ formidable
4149
  msgid "Browsers that support the HTML5 number field require a number range to determine the numbers seen when clicking the arrows next to the field."
4150
  msgstr "Browser, die das HTML5 Nummern-Feld unterstützen verlangen einen Zahlenbereich, um festzulegen welche Zahlen zu sehen sein werden, wenn man die Pfeile neben dem Formularfeld klickt."
4151
 
4152
+ #: pro/classes/views/frmpro-fields/options-form.php:146
4153
  #@ formidable
4154
  msgid "minimum"
4155
  msgstr "Minimum"
4156
 
4157
+ #: pro/classes/views/frmpro-fields/options-form.php:147
4158
  #@ formidable
4159
  msgid "maximum"
4160
  msgstr "Maximum"
4161
 
4162
+ #: pro/classes/views/frmpro-fields/options-form.php:148
4163
  #@ formidable
4164
  msgid "step"
4165
  msgstr "Schritt"
4166
 
4167
+ #: pro/classes/views/frmpro-fields/options-form.php:151
4168
  #@ formidable
4169
  msgid "Range"
4170
  msgstr "Bereich"
4171
 
4172
+ #: pro/classes/views/frmpro-fields/options-form.php:158
4173
  #@ formidable
4174
  msgid "to"
4175
  msgstr "zu"
4176
 
4177
+ #: pro/classes/views/frmpro-fields/options-form.php:167
4178
  #@ formidable
4179
  msgid "Stars"
4180
  msgstr "Sterne"
4181
 
4182
+ #: pro/classes/views/frmpro-fields/options-form.php:169
4183
  #@ formidable
4184
  msgid "Show options as stars"
4185
  msgstr "Zeige Optionen als Sterne"
4186
 
4187
+ #: pro/classes/views/frmpro-fields/options-form.php:173
4188
  #@ formidable
4189
  msgid "Rich Text Editor"
4190
  msgstr "Rich Text Editor"
4191
 
4192
+ #: pro/classes/views/frmpro-fields/options-form.php:192
4193
  #@ formidable
4194
  msgid "Insert Form"
4195
  msgstr "Formular einfügen"
4196
 
4197
+ #: pro/classes/views/frmpro-fields/options-form.php:195
4198
  #@ formidable
4199
  msgid "Maximum Duplication"
4200
  msgstr "Maximale Vervielfältigung"
4201
 
4202
+ #: pro/classes/views/frmpro-fields/options-form.php:196
4203
  #@ formidable
4204
  msgid "The number of times the end user is allowed to duplicate this section of fields in one entry"
4205
  msgstr "Die Anzahl, wie oft es dem Benutzer erlaubt wird, diese Sektion von Feldern in einem Eintrag zu vervielfältigen"
4206
 
4207
+ #: classes/views/frm-forms/add_field.php:170
 
4208
  #@ formidable
4209
  msgid "Field Type"
4210
  msgstr "Feld Typ"
4211
 
4212
+ #: classes/views/frm-forms/add_field.php:201
4213
+ #: classes/views/frm-forms/add_field.php:273
4214
  #@ formidable
4215
  msgid "Unique"
4216
  msgstr "Einzigartig"
4217
 
4218
+ #: classes/views/frm-forms/add_field.php:201
4219
  #@ formidable
4220
  msgid "Unique: Do not allow the same response multiple times. For example, if one user enters 'Joe' then no one else will be allowed to enter the same name."
4221
  msgstr "Einmalig: Erlaube nicht die mehrfache Abgabe der gleichen Antwort. Zum Beispiel, wenn ein Benutzer 'Joe' als Name eingibt, erlaube keinen weiteren Benutzer diesen Namen einzugeben."
4222
 
4223
+ #: classes/views/frm-forms/add_field.php:207
4224
  #@ formidable
4225
  msgid "Read Only"
4226
  msgstr "Nur Lesen"
4227
 
4228
+ #: classes/views/frm-forms/add_field.php:207
4229
  #@ formidable
4230
  msgid "Read Only: Show this field but do not allow the field value to be edited from the front-end."
4231
  msgstr "Nur Lesen: Zeige dieses Feld, aber verbiete das Bearbeiten/Editieren des Feldwertes im Front-End."
4232
 
4233
+ #: pro/classes/views/frmpro-fields/options-form.php:239
4234
  #@ formidable
4235
  msgid "Calculations"
4236
  msgstr "Berechnungen"
4237
 
4238
+ #: pro/classes/views/frmpro-fields/options-form.php:241
4239
  #@ formidable
4240
  msgid "Calculate the default value for this field"
4241
  msgstr "Berechnen Sie den Standardwert für dieses Feld"
4242
 
4243
+ #: pro/classes/views/frmpro-fields/options-form.php:254
4244
+ #: pro/classes/views/frmpro-forms/notifications.php:20
4245
  #@ formidable
4246
  msgid "Conditional Logic"
4247
  msgstr "Konditional Logik"
4248
 
4249
+ #: pro/classes/views/frmpro-fields/options-form.php:256
4250
+ #: pro/classes/views/frmpro-forms/notifications.php:17
4251
  #@ formidable
4252
  msgid "Use Conditional Logic"
4253
  msgstr "Konditional Logik aktivieren"
4254
 
4255
  #: pro/classes/views/displays/submitbox_actions.php:3
4256
+ #: pro/classes/views/frmpro-fields/options-form.php:260
4257
  #@ formidable
4258
  msgid "Show"
4259
  msgstr "Zeige"
4260
 
4261
  #: pro/classes/views/displays/submitbox_actions.php:15
4262
+ #: pro/classes/views/frmpro-fields/options-form.php:261
4263
  #@ formidable
4264
  msgid "Hide"
4265
  msgstr "Verstecke"
4266
 
4267
+ #: pro/classes/views/frmpro-fields/options-form.php:266
4268
+ #: pro/classes/views/frmpro-forms/notifications.php:28
 
 
 
 
 
4269
  #@ formidable
4270
  msgid "any"
4271
  msgstr "irgendeins"
4272
 
4273
+ #: pro/classes/views/frmpro-fields/options-form.php:267
4274
+ #: pro/classes/views/frmpro-forms/notifications.php:29
4275
  #@ formidable
4276
  msgid "all"
4277
  msgstr "alle"
4278
 
4279
+ #: pro/classes/views/frmpro-forms/notifications.php:31
 
4280
  #@ formidable
4281
  msgid "of the following match"
4282
  msgstr "der Folgenden stimmen überein"
4283
 
4284
+ #: classes/views/frm-forms/add_field.php:172
4285
  #@ formidable
4286
  msgid "The field key can be used as an alternative to the field ID in many cases."
4287
  msgstr "Der Feld- Schlüssel kann in vielen Fällen als Alternative zur Feld-ID verwendet werden."
4296
  msgid "Note: This field will not show in the form, but will link the user id to it as long as the user is logged in at the time of form submission."
4297
  msgstr "Beachte: Dieses Feld wird nicht im Formular angezeigt, aber es sendet die Benutzer ID, wenn der Benutzer bei der Eingabe eingeloggt ist."
4298
 
4299
+ #: pro/classes/views/frmpro-fields/show.php:28
4300
  #@ formidable
4301
  msgid "These buttons are for illustrative purposes only. They will be functional in your form."
4302
  msgstr "Diese Buttons dienen nur der Verschönerung. Sie werden erst im Formular funktionieren."
4303
 
4304
+ #: pro/classes/views/frmpro-fields/show.php:34
4305
  #@ formidable
4306
  msgid "This is a placeholder for your custom HTML."
4307
  msgstr "Das ist ein Platzhalter für Ihren benutzerdefinierten HTML-Code"
4308
 
4309
+ #: pro/classes/views/frmpro-fields/show.php:34
4310
  #@ formidable
4311
  msgid "You can edit this content in the field options."
4312
  msgstr "Diesen Inhalt können Sie in den Feldoptionen ändern."
4313
 
4314
+ #: pro/classes/views/frmpro-fields/show.php:39
4315
+ #: pro/classes/views/frmpro-fields/show.php:49
4316
+ #: pro/classes/views/frmpro-fields/show.php:73
4317
  #@ formidable
4318
  msgid "This data is dynamic on change"
4319
  msgstr "Diese Daten sind bei Veränderungen dynamisch"
4320
 
4321
+ #: classes/views/frm-forms/settings.php:84
4322
+ #: pro/classes/views/frmpro-forms/add_form_options.php:101
4323
  #@ formidable
4324
  msgid "Use Content from Page"
4325
  msgstr "Inhalt einer Seite verwenden"
4326
 
4327
+ #: pro/classes/views/frmpro-fields/options-form.php:230
4328
+ #: pro/classes/views/frmpro-forms/add_form_options.php:13
4329
+ #: pro/classes/views/frmpro-forms/add_form_options.php:24
4330
+ #: pro/classes/views/frmpro-forms/add_form_options.php:55
4331
+ #: pro/classes/views/frmpro-forms/add_form_options.php:71
 
 
 
 
4332
  #@ formidable
4333
  msgid "Logged-in Users"
4334
  msgstr "Angemeldete Benutzer"
4335
 
4336
+ #: pro/classes/views/frmpro-forms/add_form_options.php:38
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4337
  #@ formidable
4338
  msgid "Logged-in User"
4339
  msgstr "Angemeldete Benutzer"
4340
 
4341
+ #: pro/classes/views/frmpro-forms/add_form_options.php:40
4342
  #@ formidable
4343
  msgid "Saved Cookie"
4344
  msgstr "Gespeichertes Cookie"
4345
 
4346
+ #: pro/classes/views/frmpro-forms/add_form_options.php:111
4347
  #@ formidable
4348
  msgid "Copy this form to other blogs when Formidable Pro is activated"
4349
  msgstr "Kopieren Sie dieses Formular zu weiteren Blogs, nur wenn Formidable Pro ist aktiviert"
4350
 
4351
+ #: pro/classes/controllers/FrmProFormsController.php:180
4352
  #@ formidable
4353
  msgid "A variable from the URL or value posted from previous page."
4354
  msgstr "Eine Variable der URL oder des Werte die von der vorherigen Seite gepostet wurde."
4355
 
4356
+ #: pro/classes/controllers/FrmProFormsController.php:180
4357
  #@ formidable
4358
  msgid "Replace 'whatever' with the parameter name. In url.com?product=form, the variable is 'product'. You would use [get param=product] in your field."
4359
  msgstr "Ersetzen Sie 'irgendetwas' mit dem Parameter Namen. In url.com?produkt=form, ist 'produkt' die Variable. Sie würden [get param=produkt] in Ihrem Feld verwenden."
4360
 
4361
+ #: classes/views/frm-forms/notification.php:84
4362
  #@ formidable
4363
  msgid "Append IP Address, Browser, and Referring URL to message"
4364
  msgstr "Anhängen der IP-Adresse, des Browser und der Herkunfts-URL an die Nachricht"
4365
 
4366
+ #: classes/views/frm-forms/notification.php:86
4367
  #@ formidable
4368
  msgid "Send Emails in Plain Text"
4369
  msgstr "Versende Emails als einfachen Text"
4370
 
4371
+ #: pro/classes/views/frmpro-forms/post_options.php:3
 
 
 
 
 
4372
  #@ formidable
4373
  msgid "Create a WordPress post, page, or custom post type with this form"
4374
  msgstr "Erstelle einen WordPress Artikel, Seite oder Custom Post Type mit diesem Formular "
4375
 
4376
+ #: pro/classes/views/frmpro-forms/post_options.php:7
4377
  #@ formidable
4378
  msgid "Post Type"
4379
  msgstr "Artikel Typ"
4380
 
4381
+ #: pro/classes/views/frmpro-forms/post_options.php:8
4382
  #@ formidable
4383
  msgid "To setup a new custom post type, install and setup a plugin like 'Custom Post Type UI', then return to this page to select your new custom post type."
4384
  msgstr "Um einen neuen Custom Post Type zu erstellen, installieren und konfigurieren Sie ein Plugin wie 'Custom Post Type UI'; anschließend kehren Sie zu dieser Seite zurück und wählen Sie den neuen Custom Post Type aus."
4399
  msgid "The content shown on your single post page. If nothing is entered here, the regular post content will be used."
4400
  msgstr ""
4401
 
 
 
 
 
 
4402
  #: pro/classes/views/frmpro-forms/comment_options.php:17
4403
+ #: pro/classes/views/frmpro-forms/post_options.php:79
4404
  #@ formidable
4405
  msgid "Excerpt"
4406
  msgstr "Auszug"
4407
 
4408
+ #: pro/classes/views/frmpro-forms/post_options.php:88
4409
  #@ formidable
4410
  msgid "Post Password"
4411
  msgstr "Artikel Passwort"
4412
 
4413
+ #: pro/classes/views/frmpro-forms/post_options.php:97
4414
  #@ formidable
4415
  msgid "Slug"
4416
  msgstr "Slug"
4417
 
4418
+ #: pro/classes/views/frmpro-forms/post_options.php:99
4419
  #@ formidable
4420
  msgid "Automatically Generate from Post Title"
4421
  msgstr "Automatisch vom Artikeltitel generieren"
4422
 
4423
  #: pro/classes/views/frmpro-forms/comment_options.php:19
4424
+ #: pro/classes/views/frmpro-forms/post_options.php:106
4425
  #@ formidable
4426
  msgid "Post Date"
4427
  msgstr "Artikeldatum"
4428
 
4429
+ #: pro/classes/views/frmpro-forms/post_options.php:108
4430
  #@ formidable
4431
  msgid "Use the Date Published"
4432
  msgstr "Benütze das Veröffentlichungsdatum"
4433
 
4434
  #: pro/classes/views/frmpro-forms/comment_options.php:20
4435
+ #: pro/classes/views/frmpro-forms/post_options.php:116
4436
  #@ formidable
4437
  msgid "Post Status"
4438
  msgstr "Artikelstatus"
4439
 
4440
+ #: pro/classes/views/frmpro-forms/post_options.php:118
4441
  #@ formidable
4442
  msgid "Create Draft"
4443
  msgstr "Erstelle Entwurf"
4444
 
4445
+ #: pro/classes/views/frmpro-forms/post_options.php:119
4446
  #@ formidable
4447
  msgid "Automatically Publish"
4448
  msgstr "Automatisch veröffentlichen"
4449
 
4450
+ #: pro/classes/views/frmpro-forms/post_options.php:120
4451
  #@ formidable
4452
  msgid "Create New Dropdown Field"
4453
  msgstr "Erstelle neues Dropdown Feld"
4462
  msgid "Custom Fields"
4463
  msgstr "Benutzerdefinierte Felder"
4464
 
4465
+ #: pro/classes/views/frmpro-forms/post_options.php:150
4466
  #@ formidable
4467
  msgid "To set the featured image, use '_thumbnail_id' as the custom field name."
4468
  msgstr "Um das Artikelbild zu setzen, verwenden Sie '_thumbnail_id' als benutzerdefinierten Feld Namen."
4469
 
4470
+ #: pro/classes/views/frmpro-forms/_comment_meta_row.php:4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4471
  #@ formidable
4472
  msgid "from"
4473
  msgstr "von"
4474
 
 
 
 
 
 
4475
  #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:11
4476
  #@ formidable
4477
  msgid "A New Checkbox Field"
4478
  msgstr "Ein neues Checkbox Feld"
4479
 
4480
+ #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:50
 
 
 
 
 
4481
  #@ formidable
4482
  msgid "Exclude options"
4483
  msgstr "Optionen ausschließen"
4484
 
4485
+ #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:59
4486
  #@ formidable
4487
  msgid "NOTE: if the parent is excluded, child categories will be automatically excluded."
4488
  msgstr "BEACHTE: Wenn die Eltern-Kategorie exkludiert ist, werden die nachgeordneten Kategorien ebenfalls automatisch exkludiert."
4489
 
4490
+ #: pro/classes/views/frmpro-statistics/show.php:9
 
 
 
 
 
 
 
 
 
 
4491
  #@ formidable
4492
  msgid "Go to Report"
4493
  msgstr "Zu dem Bericht gehen"
4494
 
4495
+ #: pro/classes/views/frmpro-statistics/show.php:14
4496
  #@ formidable
4497
  msgid "Select a report to view."
4498
  msgstr "Wählen Sie einen Report zum Ansehen aus."
4499
 
4500
+ #: pro/classes/views/frmpro-statistics/show.php:47
4501
  #@ formidable
4502
  msgid "Response Count"
4503
  msgstr "Antworten Zähler"
4504
 
4505
+ #: classes/views/frm-forms/add_field_links.php:82
4506
+ #: pro/classes/views/frmpro-statistics/show.php:49
4507
  #@ formidable
4508
  msgid "Total"
4509
  msgstr "Gesamt"
4510
 
4511
+ #: pro/classes/views/frmpro-statistics/show.php:50
4512
  #@ formidable
4513
  msgid "Average"
4514
  msgstr "Durchschnitt"
4515
 
4516
+ #: pro/classes/views/frmpro-statistics/show.php:51
4517
  #@ formidable
4518
  msgid "Median"
4519
  msgstr "Mittelwert"
4520
 
4521
+ #: pro/classes/views/frmpro-statistics/show.php:56
4522
  #@ formidable
4523
  msgid "Percent of users submitted"
4524
  msgstr "Prozent der übermittelten Benutzer"
4525
 
4526
+ #: pro/classes/views/frmpro-statistics/show.php:58
4527
  #@ formidable
4528
  msgid "Users with no entry"
4529
  msgstr "Benutzer ohne Eintrag"
4530
 
4531
+ #: pro/classes/views/frmpro-statistics/show.php:59
4532
  #@ formidable
4533
  msgid "View Profile"
4534
  msgstr "Profil ansehen"
4535
 
4536
+ #: pro/classes/views/settings/form.php:13
4537
  #@ formidable
4538
  msgid "Previously Submitted Message"
4539
  msgstr "Vorher gesendete Nachricht"
4540
 
4541
+ #: pro/classes/views/settings/form.php:13
4542
  #@ formidable
4543
  msgid "The message seen when a user attempts to submit a form for a second time if submissions are limited."
4544
  msgstr "Die Nachricht, die ein Benutzer sieht, wenn er ein Formular ein weiteres Mal senden will, bei dem die Menge der Sendungen begrenzt ist."
4545
 
4546
+ #: pro/classes/views/settings/general_style.php:5
 
 
 
 
 
4547
  #@ formidable
4548
  msgid "Include accordion javascript"
4549
  msgstr "Binde Accordion Javascript ein"
4550
 
4551
+ #: pro/classes/views/settings/general_style.php:5
4552
  #@ formidable
4553
  msgid "If you have manually created an accordion form, be sure to include the javascript for it."
4554
  msgstr "Wenn sie manuell ein Accordion Formular eingefügt haben, stellen Sie sicher, dass Sie den Javascript- Code dafür einbinden."
4555
 
4556
+ #: pro/classes/views/settings/form.php:21
4557
  #: pro/classes/views/shared/mb_adv_info.php:14
4558
+ #: pro/classes/views/shared/mb_adv_info.php:111
4559
  #@ formidable
4560
  msgid "Keys"
4561
  msgstr "Schlüssel"
4562
 
4563
+ #: pro/classes/views/settings/form.php:23
4564
  #@ formidable
4565
  msgid "Hide field and entry keys to prevent them from being edited. Uncheck this box to edit the saved keys for use in your template."
4566
  msgstr "Verstecken Sie Feld- und Eintragsschlüssel, um diese vor Editierung zu schützen. Keinen Haken setzen, um die gespeicherten Schlüssel für die Verwendung im Template zu editieren."
4567
 
4568
+ #: pro/classes/views/settings/form.php:27
4569
  #@ formidable
4570
  msgid "Visual Text Editor"
4571
  msgstr "Visueller Texteditor"
4572
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4573
  #: pro/classes/controllers/FrmProDisplaysController.php:485
4574
+ #: pro/classes/views/settings/form.php:34
4575
  #@ formidable
4576
  msgid "Date Format"
4577
  msgstr "Datums-Format"
4578
 
4579
+ #: pro/classes/views/settings/form.php:34
4580
  #@ formidable
4581
  msgid "Change the format of the date used in the date field."
4582
  msgstr "Ändern Sie das Fomat des Datums, welches im Datumsfeld benützt wird."
4583
 
4584
+ #: pro/classes/views/settings/form.php:43
4585
  #@ formidable
4586
  msgid "CSV Export Format"
4587
  msgstr "CSV Exportierungsformat"
4588
 
4589
+ #: classes/views/xml/import_form.php:58
4590
+ #: pro/classes/views/settings/form.php:43
4591
  #@ formidable
4592
  msgid "If your CSV special characters are not working correctly, try a different formatting option."
4593
  msgstr "Wenn die Sonderzeichen im CSV nicht richtig dargestellt werden, versuchen Sie eine andere Formatierungsoption."
4594
 
4595
+ #: classes/views/xml/import_form.php:56
4596
+ #: pro/classes/views/settings/form.php:49
4597
  #@ formidable
4598
  msgid "Macintosh"
4599
  msgstr "Macintosh"
4600
 
4601
+ #: pro/classes/views/settings/form.php:54
4602
  #@ formidable
4603
  msgid "Pretty Permalinks"
4604
  msgstr "Pretty Permalinks"
4605
 
4606
+ #: pro/classes/views/settings/form.php:57
4607
  #@ formidable
4608
  msgid "Use pretty permalinks for entry detail links"
4609
  msgstr "Benutzen Sie Pretty Permalinks für die Eintrags- Detail- Links"
4610
 
4611
+ #: pro/classes/views/settings/styling_tab.php:12
4612
+ #: pro/classes/views/settings/styling_tab.php:15
4613
  #@ formidable
4614
  msgid "SAMPLE:"
4615
  msgstr "BEISPIEL:"
4616
 
4617
+ #: pro/classes/views/settings/styling_tab.php:18
4618
  #@ formidable
4619
  msgid "Text field"
4620
  msgstr "Textfeld"
4621
 
4622
+ #: pro/classes/views/settings/styling_tab.php:19
4623
+ #: pro/classes/views/settings/styling_tab.php:30
4624
  #@ formidable
4625
  msgid "This is sample text"
4626
  msgstr "Das ist ein Beispieltext"
4627
 
4628
+ #: pro/classes/views/settings/styling_tab.php:20
4629
  #@ formidable
4630
  msgid "A field with a description"
4631
  msgstr "Ein Feld mit einer Beschreibung"
4632
 
4633
+ #: pro/classes/views/settings/styling_tab.php:24
4634
  #@ formidable
4635
  msgid "Text field in active state"
4636
  msgstr "Text-Feld in aktivem Status"
4637
 
4638
+ #: pro/classes/views/settings/styling_tab.php:29
 
 
 
 
 
4639
  #@ formidable
4640
  msgid "Text field with error"
4641
  msgstr "Text-Feld mit Fehler"
4642
 
4643
+ #: pro/classes/views/settings/styling_tab.php:40
4644
  #@ formidable
4645
  msgid "Drop-down Select"
4646
  msgstr "Dropdown Auswahl"
4647
 
4648
+ #: pro/classes/views/settings/styling_tab.php:43
4649
  #@ formidable
4650
  msgid "An Option"
4651
  msgstr "Eine Option"
4652
 
4653
+ #: pro/classes/views/settings/styling_tab.php:54
4654
  #@ formidable
4655
  msgid "Check Boxes"
4656
  msgstr "Check Boxes"
4657
 
4658
+ #: pro/classes/views/settings/styling_tab.php:60
4659
  #@ formidable
4660
  msgid "Text Area"
4661
  msgstr "Text-Bereich"
4662
 
4663
+ #: pro/classes/views/settings/styling_tab.php:62
4664
  #@ formidable
4665
  msgid "Another field with a description"
4666
  msgstr "Ein weiteres Feld mit Beschreibung"
4697
  msgstr "Maximale Weite"
4698
 
4699
  #: pro/classes/views/settings/formroller.php:26
4700
+ #: pro/classes/views/settings/formroller.php:220
4701
+ #: pro/classes/views/settings/formroller.php:252
4702
+ #: pro/classes/views/settings/formroller.php:422
4703
+ #: pro/classes/views/settings/formroller.php:459
4704
+ #: pro/classes/views/settings/formroller.php:489
4705
  #@ formidable
4706
  msgid "Border"
4707
  msgstr "Rand"
4710
  #: pro/classes/views/settings/formroller.php:54
4711
  #: pro/classes/views/settings/formroller.php:93
4712
  #: pro/classes/views/settings/formroller.php:118
4713
+ #: pro/classes/views/settings/formroller.php:324
4714
  #@ formidable
4715
  msgid "Color"
4716
  msgstr "Farbe"
4717
 
4718
  #: pro/classes/views/settings/formroller.php:36
4719
+ #: pro/classes/views/settings/formroller.php:192
4720
+ #: pro/classes/views/settings/formroller.php:439
4721
  #@ formidable
4722
  msgid "Padding"
4723
  msgstr "Padding"
4729
 
4730
  #: pro/classes/views/settings/formroller.php:50
4731
  #: pro/classes/views/settings/formroller.php:114
4732
+ #: pro/classes/views/settings/formroller.php:320
4733
  #@ formidable
4734
  msgid "Family"
4735
  msgstr "Familie"
4737
  #: pro/classes/views/settings/formroller.php:58
4738
  #: pro/classes/views/settings/formroller.php:97
4739
  #: pro/classes/views/settings/formroller.php:122
4740
+ #: pro/classes/views/settings/formroller.php:328
4741
+ #: pro/classes/views/settings/formroller.php:376
4742
  #@ formidable
4743
  msgid "Weight"
4744
  msgstr "Stärke"
4745
 
4746
  #: pro/classes/views/settings/formroller.php:65
4747
  #: pro/classes/views/settings/formroller.php:136
4748
+ #: pro/classes/views/settings/formroller.php:171
4749
+ #: pro/classes/views/settings/formroller.php:335
4750
+ #: pro/classes/views/settings/formroller.php:389
4751
+ #: pro/classes/views/settings/formroller.php:469
4752
+ #: pro/classes/views/settings/formroller.php:497
4753
  #@ formidable
4754
  msgid "Size"
4755
  msgstr "Größe"
4760
  msgstr "Position"
4761
 
4762
  #: pro/classes/views/settings/formroller.php:87
4763
+ #: pro/classes/views/settings/formroller.php:181
4764
+ #: pro/classes/views/settings/formroller.php:394
4765
  #@ formidable
4766
  msgid "Width"
4767
  msgstr "Breite"
4774
  #: pro/classes/views/settings/formroller.php:99
4775
  #: pro/classes/views/settings/formroller.php:124
4776
  #: pro/classes/views/settings/formroller.php:131
4777
+ #: pro/classes/views/settings/formroller.php:330
4778
+ #: pro/classes/views/settings/formroller.php:378
4779
  #@ formidable
4780
  msgid "normal"
4781
  msgstr "normal"
4782
 
4783
  #: pro/classes/views/settings/formroller.php:100
4784
  #: pro/classes/views/settings/formroller.php:125
4785
+ #: pro/classes/views/settings/formroller.php:331
4786
+ #: pro/classes/views/settings/formroller.php:379
4787
  #@ formidable
4788
  msgid "bold"
4789
  msgstr "fett"
4790
 
4791
  #: pro/classes/views/settings/formroller.php:129
4792
+ #: pro/classes/views/settings/formroller.php:228
4793
+ #: pro/classes/views/settings/formroller.php:283
4794
  #@ formidable
4795
  msgid "Style"
4796
  msgstr "Style"
4806
  msgstr "Ecken-Radius"
4807
 
4808
  #: pro/classes/views/settings/formroller.php:158
4809
+ #: pro/classes/views/settings/formroller.php:384
4810
  #@ formidable
4811
  msgid "Corners"
4812
  msgstr "Ecken"
4813
 
4814
+ #: pro/classes/views/settings/formroller.php:154
4815
  #@ formidable
4816
  msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
4817
  msgstr "Formidable benutzt CSS3 border-radius um runde Ecken anzuzeigen, was momentant nicht vom älteren Internet Explorern (< IE9) unterstützt wird."
4818
 
4819
+ #: pro/classes/views/settings/formroller.php:167
4820
  #@ formidable
4821
  msgid "Field Settings"
4822
  msgstr "Feld Einstellungen"
4823
 
4824
+ #: pro/classes/views/settings/formroller.php:187
4825
  #@ formidable
4826
  msgid "Automatic Width for drop-down fields"
4827
  msgstr "Automatische Weite für Dropdown Felder"
4828
 
4829
+ #: pro/classes/views/settings/formroller.php:197
4830
  #@ formidable
4831
  msgid "Bottom Margin"
4832
  msgstr "Bottom Margin"
4833
 
4834
+ #: pro/classes/views/settings/formroller.php:207
4835
  #@ formidable
4836
  msgid "Field Colors"
4837
  msgstr "Feld Farben"
4838
 
4839
+ #: pro/classes/views/settings/formroller.php:211
4840
+ #: pro/classes/views/settings/formroller.php:248
4841
+ #: pro/classes/views/settings/formroller.php:266
4842
  #@ formidable
4843
  msgid "BG color"
4844
  msgstr "Hintergrundsfarbe"
4845
 
4846
+ #: pro/classes/views/settings/formroller.php:215
4847
+ #: pro/classes/views/settings/formroller.php:270
4848
+ #: pro/classes/views/settings/formroller.php:412
4849
+ #: pro/classes/views/settings/formroller.php:464
4850
+ #: pro/classes/views/settings/formroller.php:493
4851
  #@ formidable
4852
  msgid "Text"
4853
  msgstr "Text"
4854
 
4855
+ #: pro/classes/views/settings/formroller.php:224
4856
+ #: pro/classes/views/settings/formroller.php:279
4857
+ #: pro/classes/views/settings/formroller.php:426
4858
  #@ formidable
4859
  msgid "Thickness"
4860
  msgstr "Dicke"
4861
 
4862
+ #: pro/classes/views/settings/formroller.php:230
4863
+ #: pro/classes/views/settings/formroller.php:285
4864
  #@ formidable
4865
  msgid "solid"
4866
  msgstr "durchgehend"
4867
 
4868
+ #: pro/classes/views/settings/formroller.php:231
4869
+ #: pro/classes/views/settings/formroller.php:286
4870
  #@ formidable
4871
  msgid "dotted"
4872
  msgstr "gepunktet"
4873
 
4874
+ #: pro/classes/views/settings/formroller.php:232
4875
+ #: pro/classes/views/settings/formroller.php:287
4876
  #@ formidable
4877
  msgid "dashed"
4878
  msgstr "gestrichelt"
4879
 
4880
+ #: pro/classes/views/settings/formroller.php:233
4881
+ #: pro/classes/views/settings/formroller.php:288
4882
  #@ formidable
4883
  msgid "double"
4884
  msgstr "doppelt"
4885
 
4886
+ #: pro/classes/views/settings/formroller.php:244
4887
  #@ formidable
4888
  msgid "Field Colors: active state"
4889
  msgstr "Feld Farben: aktiver Status"
4890
 
4891
+ #: pro/classes/views/settings/formroller.php:262
4892
  #@ formidable
4893
  msgid "Field Colors: error state"
4894
  msgstr "Feld Farben: Fehler Status"
4895
 
4896
+ #: pro/classes/views/settings/formroller.php:275
4897
  #@ formidable
4898
  msgid "Border/Label"
4899
  msgstr "Rand/Beschriftung"
4900
 
4901
+ #: pro/classes/views/settings/formroller.php:302
 
 
 
 
 
4902
  #@ formidable
4903
  msgid "Radio"
4904
  msgstr "Radio"
4905
 
4906
+ #: pro/classes/views/settings/formroller.php:311
4907
  #@ formidable
4908
  msgid "Check Box"
4909
  msgstr "Check Box"
4910
 
4911
+ #: pro/classes/views/settings/formroller.php:345
4912
  #@ formidable
4913
  msgid "Calendar"
4914
  msgstr "Kalender"
4915
 
4916
+ #: pro/classes/views/settings/formroller.php:349
4917
  #@ formidable
4918
  msgid "Theme"
4919
  msgstr "Theme"
4920
 
4921
+ #: classes/views/frm-forms/settings.php:147
4922
+ #: pro/classes/views/settings/formroller.php:368
4923
  #@ formidable
4924
  msgid "Submit Button"
4925
  msgstr "Senden Button"
4926
 
4927
+ #: pro/classes/views/settings/formroller.php:372
4928
  #@ formidable
4929
  msgid "Disable submit button styling"
4930
  msgstr "Senden Button Styling deaktivieren"
4931
 
4932
+ #: pro/classes/views/settings/formroller.php:372
4933
  #@ formidable
4934
  msgid "Note: If disabled, you may not see the change take effect until you make 2 more styling changes or click \"Update Options\"."
4935
  msgstr "Hinweis: Wenn deaktiviert, sehen Sie vllt. keinen Effekt, solange Sie nicht 2 weitere Styling- Änderungen machen oder \"Optionen Updaten\" klicken."
4936
 
4937
+ #: pro/classes/views/settings/formroller.php:176
4938
+ #: pro/classes/views/settings/formroller.php:399
4939
  #@ formidable
4940
  msgid "Height"
4941
  msgstr "Höhe"
4942
 
4943
+ #: pro/classes/views/settings/formroller.php:404
4944
+ #: pro/classes/views/settings/formroller.php:408
4945
+ #: pro/classes/views/settings/formroller.php:454
4946
+ #: pro/classes/views/settings/formroller.php:484
4947
  #@ formidable
4948
  msgid "BG Color"
4949
  msgstr "Hintergrundsfarbe"
4950
 
4951
+ #: pro/classes/views/settings/formroller.php:417
4952
  #@ formidable
4953
  msgid "BG Image"
4954
  msgstr "Hintergrundbild"
4955
 
4956
+ #: pro/classes/views/settings/formroller.php:430
4957
  #@ formidable
4958
  msgid "Shadow"
4959
  msgstr "Schatten"
4960
 
4961
+ #: pro/classes/views/settings/formroller.php:435
4962
  #@ formidable
4963
  msgid "Margin"
4964
  msgstr "Margin"
4965
 
4966
+ #: pro/classes/views/settings/formroller.php:449
4967
  #@ formidable
4968
  msgid "Error"
4969
  msgstr "Fehler"
4970
 
4971
+ #: pro/classes/views/settings/formroller.php:479
 
 
 
 
 
4972
  #@ formidable
4973
  msgid "Success"
4974
  msgstr "Erfolg"
4975
 
 
 
 
 
 
4976
  #: pro/classes/widgets/FrmListEntries.php:6
4977
  #@ formidable
4978
  msgid "Display a list of Formidable entries"
4983
  msgid "Formidable Entries List"
4984
  msgstr "Liste der Formidable Einträge"
4985
 
4986
+ #: pro/classes/widgets/FrmListEntries.php:197
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4987
  #@ formidable
4988
  msgid "Title Field"
4989
  msgstr "Titelfeld"
4990
 
4991
+ #: pro/classes/widgets/FrmListEntries.php:211
4992
  #@ formidable
4993
  msgid "List Entries by Category"
4994
  msgstr "Einträge nach Kategorie auflisten"
4995
 
4996
+ #: pro/classes/widgets/FrmListEntries.php:214
4997
  #@ formidable
4998
  msgid "Category Field"
4999
  msgstr "Kategorie-Feld"
5000
 
5001
+ #: pro/classes/widgets/FrmListEntries.php:229
5002
  #@ formidable
5003
  msgid "Show Entry Counts"
5004
  msgstr "Anzeige des Eintrags-Zählers"
5005
 
5006
+ #: pro/classes/widgets/FrmListEntries.php:232
5007
  #@ formidable
5008
  msgid "Show Only Category Name"
5009
  msgstr "Nur Kategorie-Name zeigen"
5010
 
5011
+ #: pro/classes/widgets/FrmListEntries.php:235
5012
  #@ formidable
5013
  msgid "Show Entries Beneath Categories"
5014
  msgstr "Anzeigen der Einträge unter den Kategorien"
5015
 
5016
+ #: pro/classes/widgets/FrmListEntries.php:238
5017
  #@ formidable
5018
  msgid "Entry Limit (leave blank to list all)"
5019
  msgstr "Eintrags-Limit (leer lassen um Alle zu listen)"
5020
 
5021
+ #: pro/classes/views/frmpro-forms/add_form_options.php:44
5022
  #@ formidable
5023
  msgid "Cookie Expiration"
5024
  msgstr ""
5028
  msgid "Show the saved value for fields with separate values."
5029
  msgstr ""
5030
 
5031
+ #: classes/controllers/FrmSettingsController.php:18
5032
+ #: classes/views/frm-settings/form.php:3
5033
  #: classes/views/frm-settings/form.php:11
5034
  #@ formidable
5035
  msgid "Global Settings"
5036
  msgstr ""
5037
 
5038
+ #: classes/models/FrmSettings.php:25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5039
  #@ formidable
5040
  msgid "This field cannot be blank."
5041
  msgstr ""
5042
 
5043
+ #: classes/views/frm-forms/add_field.php:131
5044
  #, php-format
5045
  #@ formidable
5046
  msgid "Your captcha will not appear on your form until you %1$sset up%2$s the Public and Private Keys"
5047
  msgstr ""
5048
 
5049
  #: classes/views/frm-forms/mb_insert_fields.php:2
5050
+ #: pro/classes/controllers/FrmProDisplaysController.php:354
5051
  #@ formidable
5052
  msgid "Customization"
5053
  msgstr ""
5089
  msgid "Error Class"
5090
  msgstr ""
5091
 
5092
+ #: classes/views/frm-forms/notification.php:20
5093
  #@ formidable
5094
  msgid "Custom Name"
5095
  msgstr ""
5096
 
5097
+ #: classes/views/frm-forms/notification.php:44
5098
  #@ formidable
5099
  msgid "Custom Address"
5100
  msgstr ""
5101
 
5102
+ #: classes/views/frm-forms/settings.php:121
5103
  #@ formidable
5104
  msgid "Add Notification"
5105
  msgstr ""
5106
 
5107
+ #: classes/views/frm-settings/form.php:97
5108
  #@ formidable
5109
  msgid "Blank Field"
5110
  msgstr ""
5111
 
5112
+ #: classes/views/frm-settings/form.php:97
5113
  #@ formidable
5114
  msgid "The message seen when a required field is left blank."
5115
  msgstr ""
5116
 
5117
  #: pro/classes/views/shared/mb_adv_info.php:13
5118
+ #: pro/classes/views/shared/mb_adv_info.php:110
5119
  #@ formidable
5120
  msgid "IDs"
5121
  msgstr ""
5122
 
5123
  #: pro/classes/views/shared/mb_adv_info.php:16
5124
+ #: pro/classes/views/shared/mb_adv_info.php:113
5125
  #@ formidable
5126
  msgid "Fields from your form"
5127
  msgstr ""
5128
 
 
 
 
 
 
 
 
 
 
 
5129
  #: pro/classes/views/shared/mb_adv_info.php:80
5130
  #@ formidable
5131
  msgid "Edit Entry Link"
5132
  msgstr ""
5133
 
 
 
 
 
 
5134
  #: pro/classes/controllers/FrmProDisplaysController.php:487
5135
  #@ formidable
5136
  msgid "Field Label"
5137
  msgstr ""
5138
 
5139
+ #: pro/classes/controllers/FrmProDisplaysController.php:207
 
 
 
 
 
 
 
 
 
 
5140
  #@ formidable
5141
  msgid "Former ID"
5142
  msgstr ""
5222
  msgstr ""
5223
 
5224
  #: pro/classes/controllers/FrmProDisplaysController.php:497
5225
+ #: pro/classes/controllers/FrmProFormsController.php:170
5226
  #@ formidable
5227
  msgid "First Name"
5228
  msgstr ""
5229
 
5230
  #: pro/classes/controllers/FrmProDisplaysController.php:498
5231
+ #: pro/classes/controllers/FrmProFormsController.php:171
5232
  #@ formidable
5233
  msgid "Last Name"
5234
  msgstr ""
5235
 
5236
  #: pro/classes/controllers/FrmProDisplaysController.php:498
5237
+ #: pro/classes/controllers/FrmProFormsController.php:169
5238
  #@ formidable
5239
  msgid "Display Name"
5240
  msgstr ""
5244
  msgid "Avatar"
5245
  msgstr ""
5246
 
5247
+ #: pro/classes/controllers/FrmProEntriesController.php:2039
5248
  #@ formidable
5249
  msgid "You are missing options in your shortcode. field_id and either user_id, entry_id, or ip are required."
5250
  msgstr ""
5251
 
5252
+ #: pro/classes/helpers/FrmProEntriesHelper.php:173
5253
  #@ formidable
5254
  msgid "Resend Email Notifications"
5255
  msgstr ""
5256
 
5257
+ #: pro/classes/views/shared/mb_adv_info.php:121
 
 
 
 
 
5258
  #@ formidable
5259
  msgid "Conditional text here"
5260
  msgstr ""
5261
 
5262
+ #: pro/classes/views/shared/mb_adv_info.php:173
 
 
 
 
 
5263
  #@ formidable
5264
  msgid "Image Size"
5265
  msgstr ""
5266
 
5267
+ #: pro/classes/views/shared/mb_adv_info.php:176
5268
  #@ formidable
5269
  msgid "Image ID"
5270
  msgstr ""
5271
 
5272
+ #: pro/classes/views/shared/mb_adv_info.php:179
5273
  #@ formidable
5274
  msgid "Image Name"
5275
  msgstr ""
5276
 
5277
+ #: pro/classes/views/shared/mb_adv_info.php:187
5278
  #@ formidable
5279
  msgid "Insert user information"
5280
  msgstr ""
5281
 
5282
+ #: pro/classes/views/shared/mb_adv_info.php:205
5283
  #@ formidable
5284
  msgid "Data From Entries options"
5285
  msgstr ""
5286
 
5287
+ #: pro/classes/views/shared/mb_adv_info.php:208
5288
  #@ formidable
5289
  msgid "Creation Date"
5290
  msgstr ""
5294
  msgid "Field From Entry"
5295
  msgstr ""
5296
 
5297
+ #: pro/classes/views/displays/mb_advanced.php:24
5298
  #@ formidable
5299
  msgid "Filter Entries"
5300
  msgstr ""
5301
 
5302
+ #: pro/classes/views/displays/where_row.php:5
5303
  #@ formidable
5304
  msgid "Entry updated date"
5305
  msgstr ""
5306
 
5307
+ #: pro/classes/views/frmpro-fields/field-values.php:33
5308
+ #: pro/classes/views/frmpro-fields/field-values.php:50
5309
  #@ formidable
5310
  msgid "Anything"
5311
  msgstr ""
5312
 
5313
+ #: classes/controllers/FrmAppController.php:283
5314
+ #: pro/classes/views/frmpro-fields/form-fields.php:138
5315
  #@ formidable
5316
  msgid "Remove"
5317
  msgstr ""
5318
 
5319
+ #: pro/classes/views/frmpro-fields/options-form.php:98
5320
  #@ formidable
5321
  msgid "Multiple files"
5322
  msgstr ""
5323
 
5324
+ #: pro/classes/views/frmpro-fields/options-form.php:100
5325
  #@ formidable
5326
  msgid "allow multiple files to be uploaded to this field"
5327
  msgstr ""
5328
 
5329
+ #: classes/views/frm-forms/notification.php:83
5330
  #@ formidable
5331
  msgid "Options"
5332
  msgstr ""
5333
 
5334
+ #: pro/classes/views/frmpro-forms/notifications.php:3
 
 
 
 
 
5335
  #@ formidable
5336
  msgid "Send this notification when entries are"
5337
  msgstr ""
5338
 
5339
+ #: pro/classes/views/frmpro-forms/notifications.php:5
5340
  #@ formidable
5341
  msgid "created"
5342
  msgstr ""
5343
 
5344
+ #: pro/classes/views/frmpro-forms/notifications.php:6
5345
  #@ formidable
5346
  msgid "updated"
5347
  msgstr ""
5348
 
5349
+ #: pro/classes/views/frmpro-forms/notifications.php:7
5350
  #@ formidable
5351
  msgid "created or updated"
5352
  msgstr ""
5353
 
5354
+ #: pro/classes/views/frmpro-forms/notifications.php:23
 
 
 
 
 
5355
  #@ formidable
5356
  msgid "Send"
5357
  msgstr ""
5358
 
5359
+ #: pro/classes/views/frmpro-forms/notifications.php:24
5360
  #@ formidable
5361
  msgid "Stop"
5362
  msgstr ""
5363
 
5364
+ #: pro/classes/views/frmpro-forms/notifications.php:26
5365
  #@ formidable
5366
  msgid "this notification if"
5367
  msgstr ""
5368
 
 
 
 
 
 
 
 
 
 
 
5369
  #: pro/classes/views/shared/mb_adv_info.php:76
5370
  #@ formidable
5371
  msgid "Default HTML"
5376
  msgid "Default Plain"
5377
  msgstr ""
5378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5379
  #: pro/classes/controllers/FrmProDisplaysController.php:479
5380
  #@ formidable
5381
  msgid "Remove Links"
5411
  msgid "Javascript from your form entries are automatically removed. Add this option only if you trust those submitting entries."
5412
  msgstr ""
5413
 
5414
+ #: pro/classes/controllers/FrmProStatisticsController.php:1129
5415
  #@ formidable
5416
  msgid "Count"
5417
  msgstr ""
5418
 
5419
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:30
5420
  #: pro/classes/views/frmpro-entries/sidebar-show.php:19
5421
  #@ formidable
5422
  msgid "Delete entry but leave the post"
5423
  msgstr ""
5424
 
5425
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:30
5426
  #: pro/classes/views/frmpro-entries/sidebar-show.php:19
5427
  #@ formidable
5428
  msgid "Delete without Post"
5429
  msgstr ""
5430
 
5431
+ #: pro/classes/views/frmpro-fields/options-form.php:44
5432
  #@ formidable
5433
  msgid "Multiple select"
5434
  msgstr ""
5435
 
5436
+ #: pro/classes/views/frmpro-fields/show.php:64
5437
+ #: pro/classes/views/frmpro-fields/show.php:71
5438
  #@ formidable
5439
  msgid "There are no options"
5440
  msgstr ""
5441
 
5442
+ #: pro/classes/views/frmpro-forms/_comment_meta_row.php:2
5443
  #@ formidable
5444
  msgid "Add Comment Meta"
5445
  msgstr ""
5446
 
 
 
 
 
 
5447
  #: pro/classes/views/frmpro-forms/comment_options.php:4
5448
  #@ formidable
5449
  msgid "Comment Creation Options"
5464
  msgid "Comment Meta"
5465
  msgstr ""
5466
 
5467
+ #: pro/classes/views/settings/formroller.php:507
5468
  #@ formidable
5469
  msgid "Custom CSS"
5470
  msgstr ""
5471
 
5472
+ #: pro/classes/views/settings/formroller.php:511
5473
  #@ formidable
5474
  msgid "You can add custom css here or in your theme style.css"
5475
  msgstr ""
5476
 
5477
+ #: classes/views/xml/import_form.php:3
5478
+ #: classes/views/xml/importing_xml.php:3
5479
+ #: pro/classes/views/xml/import_csv.php:3
5480
+ #: pro/classes/views/xml/map_csv_fields.php:3
5481
  #@ formidable
5482
  msgid "Import/Export"
5483
  msgstr ""
5484
 
5485
+ #: classes/views/xml/import_form.php:24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5486
  #@ formidable
5487
  msgid "Upload file and import"
5488
  msgstr ""
5489
 
5490
+ #: classes/views/xml/import_form.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5491
  #@ formidable
5492
  msgid "Export Selection"
5493
  msgstr ""
5494
 
5495
+ #: classes/models/FrmSettings.php:26
5496
  #@ formidable
5497
  msgid "This value must be unique."
5498
  msgstr ""
5502
  msgid "Show more"
5503
  msgstr ""
5504
 
5505
+ #: classes/views/frm-settings/form.php:104
5506
  #@ formidable
5507
  msgid "Unique Value"
5508
  msgstr ""
5509
 
5510
+ #: classes/views/frm-settings/form.php:104
5511
  #@ formidable
5512
  msgid "The message seen when a user selects a value in a unique field that has already been used."
5513
  msgstr ""
5514
 
5515
+ #: pro/classes/views/frmpro-fields/_logic_row.php:32
5516
+ #: pro/classes/views/frmpro-forms/_logic_row.php:28
5517
  #@ formidable
5518
  msgid "not like"
5519
  msgstr ""
5520
 
 
 
 
 
 
5521
  #: pro/classes/views/frmpro-forms/add_form_options.php:1
5522
  #@ formidable
5523
+ msgid "Submit this form with AJAX"
5524
  msgstr ""
5525
 
5526
+ #: classes/controllers/FrmFieldsController.php:169
5527
  #@ formidable
5528
  msgid "Option"
5529
  msgstr ""
5530
 
5531
+ #: classes/helpers/FrmFieldsHelper.php:41
5532
  #@ formidable
5533
  msgid "User ID (hidden)"
5534
  msgstr ""
5535
 
5536
+ #: classes/views/frm-forms/add_field.php:38
5537
  #@ formidable
5538
  msgid "Delete Field"
5539
  msgstr ""
5543
  msgid "Click to toggle"
5544
  msgstr ""
5545
 
5546
+ #: pro/classes/controllers/FrmProDisplaysController.php:348
5547
  #@ formidable
5548
  msgid "Basic Settings"
5549
  msgstr ""
5550
 
5551
+ #: pro/classes/controllers/FrmProDisplaysController.php:351
5552
  #@ formidable
5553
  msgid "Advanced Settings"
5554
  msgstr ""
5558
  msgid "Dynamic Default Value"
5559
  msgstr ""
5560
 
5561
+ #: pro/classes/views/frmpro-fields/options-form.php:46
5562
  #@ formidable
5563
  msgid "enable multiselect"
5564
  msgstr ""
5565
 
5566
+ #: pro/classes/views/frmpro-fields/options-form.php:49
5567
  #@ formidable
5568
  msgid "enable autocomplete"
5569
  msgstr ""
5570
 
5571
+ #: pro/classes/views/frmpro-fields/options-form.php:223
 
 
 
 
 
5572
  #@ formidable
5573
  msgid "Everyone"
5574
  msgstr ""
5575
 
5576
+ #: pro/classes/views/frmpro-fields/options-form.php:231
5577
  #@ formidable
5578
  msgid "Logged-out Users"
5579
  msgstr ""
5580
 
5581
+ #: classes/views/frm-settings/license_box.php:4
5582
+ #: pro/classes/views/settings/license_box.php:4
5583
  #@ formidable
5584
  msgid "Formidable Pro License"
5585
  msgstr ""
5586
 
5587
+ #: pro/classes/controllers/FrmUpdatesController.php:25
5588
  #@ formidable
5589
  msgid "Your Formidable Pro License was Invalid"
5590
  msgstr ""
5591
 
5592
+ #: classes/views/frm-settings/license_box.php:6
5593
+ #: pro/classes/controllers/FrmUpdatesController.php:133
 
 
 
 
 
5594
  #@ formidable
5595
  msgid "Click here"
5596
  msgstr ""
5597
 
5598
+ #: pro/classes/controllers/FrmUpdatesController.php:139
5599
  #@ formidable
5600
  msgid "Formidable Pro is Installed"
5601
  msgstr ""
5602
 
5603
+ #: pro/classes/controllers/FrmUpdatesController.php:140
5604
  #@ formidable
5605
  msgid "Enter new license"
5606
  msgstr ""
5607
 
5608
+ #: pro/classes/controllers/FrmUpdatesController.php:168
 
 
 
 
 
5609
  #@ formidable
5610
  msgid "Use this license to enable Formidable Pro site-wide"
5611
  msgstr ""
5612
 
5613
+ #: pro/classes/controllers/FrmUpdatesController.php:171
5614
  #@ formidable
5615
  msgid "Save License"
5616
  msgstr ""
5617
 
5618
+ #: pro/classes/controllers/FrmUpdatesController.php:226
5619
+ #: pro/classes/controllers/FrmUpdatesController.php:262
5620
+ #: pro/classes/controllers/FrmUpdatesController.php:298
5621
  #@ formidable
5622
  msgid "Please enter a license number"
5623
  msgstr ""
5624
 
5625
+ #: pro/classes/controllers/FrmUpdatesController.php:391
5626
  #@ formidable
5627
  msgid "expired"
5628
  msgstr ""
5629
 
5630
+ #: pro/classes/controllers/FrmUpdatesController.php:391
5631
  #@ formidable
5632
  msgid "invalid"
5633
  msgstr ""
5634
 
5635
+ #: pro/classes/controllers/FrmUpdatesController.php:392
5636
  #, php-format
5637
  #@ formidable
5638
  msgid "An update is available, but your license is %s."
5639
  msgstr ""
5640
 
5641
+ #: pro/classes/controllers/FrmUpdatesController.php:469
5642
  #@ formidable
5643
  msgid "Check for Update"
5644
  msgstr ""
5645
 
5646
+ #: pro/classes/controllers/FrmUpdatesController.php:503
 
 
 
 
 
5647
  #@ formidable
5648
  msgid "Your License Key was invalid"
5649
  msgstr ""
5650
 
5651
+ #: classes/helpers/FrmFormsHelper.php:194
5652
+ #: classes/models/FrmDb.php:170
5653
  #@ formidable
5654
  msgid "Sending"
5655
  msgstr ""
5669
  msgid "Layout"
5670
  msgstr ""
5671
 
5672
+ #: classes/views/frm-forms/add_field_links.php:55
 
 
 
 
 
5673
  #@ formidable
5674
  msgid "Add classes in the \"CSS layout classes\" field option"
5675
  msgstr ""
5676
 
5677
+ #: classes/views/frm-forms/add_field_links.php:58
5678
  #@ formidable
5679
  msgid "First 1/2"
5680
  msgstr ""
5681
 
5682
+ #: classes/views/frm-forms/add_field_links.php:59
5683
  #@ formidable
5684
  msgid "Last 1/2"
5685
  msgstr ""
5686
 
5687
+ #: classes/views/frm-forms/add_field_links.php:60
5688
  #@ formidable
5689
  msgid "First 1/3"
5690
  msgstr ""
5691
 
5692
+ #: classes/views/frm-forms/add_field_links.php:61
5693
  #@ formidable
5694
  msgid "Last 1/3"
5695
  msgstr ""
5696
 
5697
+ #: classes/views/frm-forms/add_field_links.php:62
5698
  #@ formidable
5699
  msgid "First 2/3"
5700
  msgstr ""
5701
 
5702
+ #: classes/views/frm-forms/add_field_links.php:63
5703
  #@ formidable
5704
  msgid "Last 2/3"
5705
  msgstr ""
5706
 
5707
+ #: classes/views/frm-forms/add_field_links.php:64
5708
  #@ formidable
5709
  msgid "1/3"
5710
  msgstr ""
5711
 
5712
+ #: classes/views/frm-forms/add_field_links.php:65
5713
  #@ formidable
5714
  msgid "1/4"
5715
  msgstr ""
5716
 
5717
+ #: classes/views/frm-forms/add_field_links.php:66
5718
  #@ formidable
5719
  msgid "First 1/4"
5720
  msgstr ""
5721
 
5722
+ #: classes/views/frm-forms/add_field_links.php:67
5723
  #@ formidable
5724
  msgid "Last 1/4"
5725
  msgstr ""
5726
 
5727
+ #: classes/views/frm-forms/add_field_links.php:68
5728
  #@ formidable
5729
  msgid "First 1/5"
5730
  msgstr ""
5731
 
5732
+ #: classes/views/frm-forms/add_field_links.php:69
5733
  #@ formidable
5734
  msgid "Last 1/5"
5735
  msgstr ""
5736
 
5737
+ #: classes/views/frm-forms/add_field_links.php:70
5738
  #@ formidable
5739
  msgid "1/5"
5740
  msgstr ""
5741
 
5742
+ #: classes/views/frm-forms/add_field_links.php:71
5743
  #@ formidable
5744
  msgid "Inline"
5745
  msgstr ""
5746
 
5747
+ #: classes/views/frm-forms/add_field_links.php:71
5748
  #@ formidable
5749
  msgid "Align fields in a row without a specific width."
5750
  msgstr ""
5751
 
5752
+ #: classes/views/frm-forms/add_field_links.php:72
5753
  #@ formidable
5754
  msgid "First Inline"
5755
  msgstr ""
5756
 
5757
+ #: classes/views/frm-forms/add_field_links.php:72
5758
  #@ formidable
5759
  msgid "Align fields at the beginning of a row without a specific width."
5760
  msgstr ""
5761
 
5762
+ #: classes/views/frm-forms/add_field_links.php:73
5763
  #@ formidable
5764
  msgid "Last Inline"
5765
  msgstr ""
5766
 
5767
+ #: classes/views/frm-forms/add_field_links.php:73
5768
  #@ formidable
5769
  msgid "Align fields at the end of a row without a specific width."
5770
  msgstr ""
5771
 
5772
+ #: classes/views/frm-forms/add_field_links.php:75
5773
  #@ formidable
5774
  msgid "100% width"
5775
  msgstr ""
5776
 
5777
+ #: classes/views/frm-forms/add_field_links.php:75
5778
  #@ formidable
5779
  msgid "Force the field to fill the full space with 100% width."
5780
  msgstr ""
5781
 
5782
+ #: classes/views/frm-forms/add_field_links.php:76
5783
  #@ formidable
5784
  msgid "First Grid Row"
5785
  msgstr ""
5786
 
5787
+ #: classes/views/frm-forms/add_field_links.php:77
5788
  #@ formidable
5789
  msgid "Even Grid Row"
5790
  msgstr ""
5791
 
5792
+ #: classes/views/frm-forms/add_field_links.php:78
5793
  #@ formidable
5794
  msgid "Odd Grid Row"
5795
  msgstr ""
5796
 
5797
+ #: classes/views/frm-forms/add_field_links.php:79
5798
  #@ formidable
5799
  msgid "2 Col Options"
5800
  msgstr ""
5801
 
5802
+ #: classes/views/frm-forms/add_field_links.php:79
5803
  #@ formidable
5804
  msgid "Put your radio button or checkbox options into two columns."
5805
  msgstr ""
5806
 
5807
+ #: classes/views/frm-forms/add_field_links.php:80
5808
  #@ formidable
5809
  msgid "3 Col Options"
5810
  msgstr ""
5811
 
5812
+ #: classes/views/frm-forms/add_field_links.php:80
5813
  #@ formidable
5814
  msgid "Put your radio button or checkbox options into three columns."
5815
  msgstr ""
5816
 
5817
+ #: classes/views/frm-forms/add_field_links.php:81
5818
  #@ formidable
5819
  msgid "4 Col Options"
5820
  msgstr ""
5821
 
5822
+ #: classes/views/frm-forms/add_field_links.php:81
5823
  #@ formidable
5824
  msgid "Put your radio button or checkbox options into four columns."
5825
  msgstr ""
5826
 
5827
+ #: classes/views/frm-forms/add_field_links.php:82
5828
  #@ formidable
5829
  msgid "Add this to a read-only field to display the text in bold without a border or background."
5830
  msgstr ""
5831
 
5832
+ #: classes/views/frm-forms/add_field_links.php:83
5833
  #@ formidable
5834
  msgid "Scroll Box"
5835
  msgstr ""
5836
 
5837
+ #: classes/views/frm-forms/add_field_links.php:83
5838
  #@ formidable
5839
  msgid "If you have many checkbox or radio button options, you may add this class to allow your user to easily scroll through the options."
5840
  msgstr ""
5841
 
5842
+ #: classes/controllers/FrmAppController.php:293
5843
  #@ formidable
5844
  msgid "Saving"
5845
  msgstr ""
5846
 
5847
+ #: classes/controllers/FrmAppController.php:294
5848
  #@ formidable
5849
  msgid "Saved"
5850
  msgstr ""
5859
  msgid "Button Hook"
5860
  msgstr ""
5861
 
5862
+ #: classes/views/frm-forms/settings.php:91
5863
  #@ formidable
5864
  msgid "Load and save form builder page with AJAX"
5865
  msgstr ""
5866
 
5867
+ #: classes/views/frm-forms/settings.php:91
5868
  #@ formidable
5869
  msgid "Recommended for long forms."
5870
  msgstr ""
5871
 
5872
+ #: classes/views/frm-forms/settings.php:96
5873
  #@ formidable
5874
  msgid "Warning: There is no way to retrieve unsaved entries."
5875
  msgstr ""
5876
 
5877
+ #: pro/classes/controllers/FrmProEntriesController.php:120
5878
  #@ formidable
5879
  msgid "Overview"
5880
  msgstr ""
5881
 
5882
+ #: pro/classes/controllers/FrmProEntriesController.php:121
5883
  #@ formidable
5884
  msgid "This screen provides access to all of your posts. You can customize the display of this screen to suit your workflow."
5885
  msgstr ""
5886
 
5887
+ #: pro/classes/controllers/FrmProEntriesController.php:126
 
 
 
 
 
5888
  #@ formidable
5889
  msgid "For more information:"
5890
  msgstr ""
5891
 
5892
+ #: pro/classes/controllers/FrmProEntriesController.php:127
5893
  #@ formidable
5894
  msgid "Documentation on Entries"
5895
  msgstr ""
5896
 
5897
+ #: pro/classes/controllers/FrmProEntriesController.php:128
5898
  #@ formidable
5899
  msgid "Support"
5900
  msgstr ""
5901
 
5902
+ #: pro/classes/controllers/FrmProFormsController.php:168
5903
  #@ formidable
5904
  msgid "Login"
5905
  msgstr ""
5906
 
5907
+ #: pro/classes/controllers/FrmProFormsController.php:180
5908
  #@ formidable
5909
  msgid "GET/POST"
5910
  msgstr ""
5911
 
 
 
 
 
 
 
 
 
 
 
5912
  #: pro/classes/views/frmpro-entries/csv.php:16
5913
  #@ formidable
5914
  msgid "(label)"
5934
  msgid "Print"
5935
  msgstr ""
5936
 
5937
+ #: pro/classes/views/frmpro-fields/options-form.php:260
5938
  #@ formidable
5939
  msgid "Do not skip"
5940
  msgstr ""
5941
 
5942
+ #: pro/classes/views/frmpro-fields/options-form.php:261
5943
  #@ formidable
5944
  msgid "Skip"
5945
  msgstr ""
5946
 
 
 
 
 
 
5947
  #: pro/classes/views/frmpro-forms/add_form_options.php:2
5948
  #@ formidable
5949
  msgid "If your form includes a file upload field, ajax submission will not be used."
5959
  msgid "Add dynamic default values as default text to fields in your form"
5960
  msgstr ""
5961
 
5962
+ #: pro/classes/controllers/FrmUpdatesController.php:488
5963
+ #, php-format
5964
+ #@ formidable
5965
+ msgid "You had an error communicating with Strategy11's API. %1$sClick here%2$s for more information."
5966
+ msgstr ""
5967
+
5968
+ #: pro/classes/controllers/FrmUpdatesController.php:493
5969
+ #@ formidable
5970
+ msgid "You had an HTTP error connecting to Strategy11's API"
5971
+ msgstr ""
5972
+
5973
+ #: pro/classes/controllers/FrmProEntriesController.php:2379
5974
+ #, php-format
5975
+ #@ formidable
5976
+ msgid "Email Resent to %s"
5977
+ msgstr ""
5978
+
5979
+ #: pro/classes/controllers/FrmProEntriesController.php:2381
5980
+ #@ formidable
5981
+ msgid "Email Resent to No one! You do not have permission"
5982
+ msgstr ""
5983
+
5984
+ #: classes/controllers/FrmAppController.php:137
5985
+ #: classes/controllers/FrmAppController.php:282
5986
+ #: pro/classes/controllers/FrmProEntriesController.php:1004
5987
+ #@ default
5988
+ msgid "Loading&hellip;"
5989
+ msgstr ""
5990
+
5991
+ #: pro/classes/controllers/FrmProFormsController.php:317
5992
+ #@ formidable
5993
+ msgid "Previous"
5994
+ msgstr ""
5995
+
5996
+ #: pro/classes/models/FrmProField.php:52
5997
+ #@ formidable
5998
+ msgid "Next"
5999
+ msgstr ""
6000
+
6001
+ #: pro/classes/views/displays/mb_advanced.php:9
6002
+ #: pro/classes/views/displays/mb_advanced.php:29
6003
+ #: pro/classes/views/frmpro-forms/post_options.php:147
6004
+ #: pro/classes/views/frmpro-forms/post_options.php:161
6005
+ #@ formidable
6006
+ #@ default
6007
+ msgid "Add"
6008
+ msgstr ""
6009
+
6010
+ #: pro/classes/views/frmpro-forms/comment_options.php:3
6011
+ #@ default
6012
+ msgid "Collapse"
6013
+ msgstr ""
6014
+
6015
+ #: classes/controllers/FrmAppController.php:5
6016
+ #: classes/controllers/FrmEntriesController.php:6
6017
+ #: classes/controllers/FrmFieldsController.php:6
6018
+ #: classes/controllers/FrmFormsController.php:6
6019
+ #: classes/controllers/FrmSettingsController.php:6
6020
+ #: classes/helpers/FrmAppHelper.php:2
6021
+ #: classes/helpers/FrmEntriesHelper.php:3
6022
+ #: classes/helpers/FrmFieldsHelper.php:3
6023
+ #: classes/helpers/FrmFormsHelper.php:2
6024
+ #: classes/models/FrmDb.php:2
6025
+ #: classes/models/FrmEntry.php:2
6026
+ #: classes/models/FrmEntryMeta.php:2
6027
+ #: classes/models/FrmField.php:2
6028
+ #: classes/models/FrmForm.php:2
6029
+ #: classes/models/FrmSettings.php:2
6030
+ #: pro/classes/controllers/FrmUpdatesController.php:2
6031
+ #@ formidable
6032
+ msgid "You are not allowed to call this page directly."
6033
+ msgstr ""
6034
+
6035
+ #: classes/controllers/FrmAppController.php:295
6036
+ #@ default
6037
+ msgid "OK"
6038
+ msgstr ""
6039
+
6040
+ #: classes/controllers/FrmFormsController.php:301
6041
+ #@ formidable
6042
+ msgid "Add Form"
6043
+ msgstr ""
6044
+
6045
+ #: classes/views/frm-forms/add_field.php:37
6046
+ #@ formidable
6047
+ msgid "Move Field"
6048
+ msgstr ""
6049
+
6050
+ #: classes/views/frm-forms/form.php:8
6051
+ #@ formidable
6052
+ msgid "Form Key:"
6053
+ msgstr ""
6054
+
6055
+ #: classes/views/frm-forms/add_field.php:174
6056
+ #: classes/views/frm-forms/form.php:9
6057
+ #@ formidable
6058
+ msgid "Click to edit."
6059
+ msgstr ""
6060
+
6061
+ #: pro/classes/controllers/FrmProEntriesController.php:1145
6062
+ #: pro/classes/views/frmpro-entries/csv.php:30
6063
+ #@ formidable
6064
+ msgid "Draft"
6065
+ msgstr ""
6066
+
6067
+ #: pro/classes/controllers/FrmProFormsController.php:334
6068
+ #@ formidable
6069
+ msgid "Save Draft"
6070
+ msgstr ""
6071
+
6072
+ #: pro/classes/helpers/FrmProFormsHelper.php:107
6073
+ #@ formidable
6074
+ msgid "Your draft has been saved."
6075
+ msgstr ""
6076
+
6077
+ #: pro/classes/helpers/FrmProListHelper.php:243
6078
+ #@ default
6079
+ msgid "No"
6080
+ msgstr ""
6081
+
6082
+ #: pro/classes/helpers/FrmProListHelper.php:243
6083
+ #@ default
6084
+ msgid "Yes"
6085
+ msgstr ""
6086
+
6087
+ #: pro/classes/views/frmpro-fields/options-form.php:200
6088
+ #@ formidable
6089
+ msgid "Format"
6090
+ msgstr ""
6091
+
6092
+ #: pro/classes/views/frmpro-fields/options-form.php:201
6093
+ #@ formidable
6094
+ msgid "Insert the format you would like to accept. Use a regular expression starting with ^ or an exact format like (999)999-9999."
6095
+ msgstr ""
6096
+
6097
+ #: pro/classes/views/frmpro-forms/add_form_options.php:6
6098
+ #@ formidable
6099
+ msgid "Allow logged-in users to save drafts"
6100
+ msgstr ""
6101
+
6102
+ #: pro/classes/views/frmpro-forms/add_form_options.php:8
6103
+ #@ formidable
6104
+ msgid "Saved Draft Message"
6105
+ msgstr ""
6106
+
6107
+ #: pro/classes/views/frmpro-forms/add_form_options.php:12
6108
+ #: pro/classes/views/frmpro-forms/add_form_options.php:70
6109
+ #@ formidable
6110
+ msgid "No one"
6111
+ msgstr ""
6112
+
6113
+ #: pro/classes/views/frmpro-forms/add_form_options.php:21
6114
+ #, php-format
6115
+ #@ formidable
6116
+ msgid "Limit form visibility and submission %1$sto:%2$s"
6117
+ msgstr ""
6118
+
6119
+ #: pro/classes/views/frmpro-forms/add_form_options.php:36
6120
+ #, php-format
6121
+ #@ formidable
6122
+ msgid "Limit number of form submissions %1$sto one for each:%2$s"
6123
+ msgstr ""
6124
+
6125
+ #: pro/classes/views/frmpro-forms/add_form_options.php:51
6126
+ #@ formidable
6127
+ msgid "Allow front-end editing of form submissions"
6128
+ msgstr ""
6129
+
6130
+ #: pro/classes/views/frmpro-forms/add_form_options.php:63
6131
+ #@ formidable
6132
+ msgid "can edit their own submission(s)"
6133
+ msgstr ""
6134
+
6135
+ #: pro/classes/views/frmpro-forms/add_form_options.php:79
6136
+ #@ formidable
6137
+ msgid "can edit responses submitted by other users"
6138
+ msgstr ""
6139
+
6140
+ #: pro/classes/views/frmpro-forms/add_form_options.php:81
6141
+ #@ formidable
6142
+ msgid "Update Button Text"
6143
+ msgstr ""
6144
+
6145
+ #: classes/controllers/FrmAppController.php:300
6146
+ #: classes/helpers/FrmFieldsHelper.php:446
6147
+ #@ formidable
6148
+ msgid "Default value will NOT pass form validation"
6149
+ msgstr ""
6150
+
6151
+ #: classes/controllers/FrmAppController.php:299
6152
+ #: classes/helpers/FrmFieldsHelper.php:446
6153
+ #@ formidable
6154
+ msgid "Default value will pass form validation"
6155
+ msgstr ""
6156
+
6157
+ #: classes/controllers/FrmAppController.php:291
6158
+ #: classes/views/frm-forms/add_field.php:157
6159
+ #: classes/views/frm-forms/form.php:11
6160
+ #@ formidable
6161
+ msgid "(Click here to add a description or instructions)"
6162
+ msgstr ""
6163
+
6164
+ #: classes/controllers/FrmAppController.php:297
6165
+ #: classes/helpers/FrmFieldsHelper.php:441
6166
+ #@ formidable
6167
+ msgid "Clear default value when typing"
6168
+ msgstr ""
6169
+
6170
+ #: classes/controllers/FrmAppController.php:298
6171
+ #: classes/helpers/FrmFieldsHelper.php:441
6172
+ #@ formidable
6173
+ msgid "Do not clear default value when typing"
6174
+ msgstr ""
6175
+
6176
+ #: classes/controllers/FrmFormsController.php:370
6177
+ #@ formidable
6178
+ msgid "Actions"
6179
+ msgstr ""
6180
+
6181
+ #: classes/controllers/FrmStatisticsController.php:17
6182
+ #: classes/views/frm-statistics/list_displays.php:4
6183
+ #: classes/views/shared/form-nav.php:6
6184
+ #: pro/classes/controllers/FrmProDisplaysController.php:47
6185
+ #: pro/classes/controllers/FrmProDisplaysController.php:61
6186
+ #: pro/classes/controllers/FrmProDisplaysController.php:76
6187
+ #: pro/classes/controllers/FrmProXMLController.php:80
6188
+ #@ formidable
6189
+ msgid "Views"
6190
+ msgstr ""
6191
+
6192
+ #: pro/classes/controllers/FrmUpdatesController.php:501
6193
+ #, php-format
6194
+ #@ formidable
6195
+ msgid "There was a %1$s error: %2$s"
6196
+ msgstr ""
6197
+
6198
+ #: pro/classes/controllers/FrmUpdatesController.php:518
6199
+ #@ formidable
6200
+ msgid "A Formidable Pro update is available, but your license is invalid."
6201
+ msgstr ""
6202
+
6203
+ #: classes/helpers/FrmAppHelper.php:127
6204
+ #@ formidable
6205
+ msgid "Add/Edit Views"
6206
+ msgstr ""
6207
+
6208
+ #: classes/controllers/FrmFormsController.php:661
6209
+ #: classes/helpers/FrmFormsHelper.php:77
6210
+ #: classes/helpers/FrmListHelper.php:169
6211
+ #: classes/views/shared/form-nav.php:1
6212
+ #@ default
6213
+ msgid "(no title)"
6214
+ msgstr ""
6215
+
6216
+ #: classes/helpers/FrmListHelper.php:81
6217
+ #, php-format
6218
+ #@ formidable
6219
+ msgid "Create a new %1$sform%2$s."
6220
+ msgstr ""
6221
+
6222
+ #: classes/helpers/FrmListHelper.php:82
6223
+ #, php-format
6224
+ #@ formidable
6225
+ msgid "After your form is created, go to Formidable -> %1$sForms%2$s."
6226
+ msgstr ""
6227
+
6228
+ #: classes/helpers/FrmListHelper.php:194
6229
+ #@ formidable
6230
+ msgid "Add Entry"
6231
+ msgstr ""
6232
+
6233
+ #: classes/helpers/FrmListHelper.php:196
6234
+ #@ formidable
6235
+ msgid "Create template from form"
6236
+ msgstr ""
6237
+
6238
+ #: classes/views/frm-entries/new.php:4
6239
+ #: pro/classes/views/frmpro-entries/new.php:11
6240
+ #@ formidable
6241
+ msgid "Oops!"
6242
+ msgstr ""
6243
+
6244
+ #: classes/views/frm-entries/new.php:4
6245
+ #: pro/classes/views/frmpro-entries/new.php:11
6246
+ #, php-format
6247
+ #@ formidable
6248
+ msgid "You did not add any fields to your form. %1$sGo back%2$s and add some."
6249
+ msgstr ""
6250
+
6251
+ #: classes/views/frm-forms/add_field.php:173
6252
+ #@ formidable
6253
+ msgid "Field Key:"
6254
+ msgstr ""
6255
+
6256
+ #: classes/views/frm-forms/add_field.php:259
6257
+ #@ formidable
6258
+ msgid "Validation"
6259
+ msgstr ""
6260
+
6261
+ #: classes/views/frm-forms/add_field.php:267
6262
+ #@ formidable
6263
+ msgid "Invalid Format"
6264
+ msgstr ""
6265
+
6266
+ #: classes/views/frm-forms/form.php:5
6267
+ #@ default
6268
+ msgid "Enter title here"
6269
+ msgstr ""
6270
+
6271
+ #: classes/views/frm-forms/insert_form_popup.php:13
6272
+ #@ formidable
6273
+ msgid "Please select a view"
6274
+ msgstr ""
6275
+
6276
+ #: classes/views/frm-forms/insert_form_popup.php:48
6277
+ #@ formidable
6278
+ msgid "Select a view to insert"
6279
+ msgstr ""
6280
+
6281
+ #: classes/views/frm-forms/insert_form_popup.php:59
6282
+ #@ formidable
6283
+ msgid "Filter shortcodes within the view content"
6284
+ msgstr ""
6285
+
6286
+ #: classes/views/frm-forms/new-selection.php:3
6287
+ #: classes/views/frm-forms/new.php:3
6288
+ #@ formidable
6289
+ msgid "Build New Form"
6290
+ msgstr ""
6291
+
6292
+ #: classes/views/frm-forms/sidebar-settings.php:4
6293
+ #@ formidable
6294
+ msgid "Add to a post, page or text widget"
6295
+ msgstr ""
6296
+
6297
+ #: classes/views/shared/nav.php:1
6298
+ #@ default
6299
+ msgid "This file no longer needs to be included."
6300
+ msgstr ""
6301
+
6302
+ #: pro/classes/controllers/FrmProDisplaysController.php:66
6303
+ #@ formidable
6304
+ msgid "No Views Found."
6305
+ msgstr ""
6306
+
6307
+ #: pro/classes/controllers/FrmProDisplaysController.php:67
6308
+ #@ formidable
6309
+ msgid "Add New View"
6310
+ msgstr ""
6311
+
6312
+ #: pro/classes/controllers/FrmProDisplaysController.php:68
6313
+ #@ formidable
6314
+ msgid "Edit View"
6315
+ msgstr ""
6316
+
6317
+ #: pro/classes/controllers/FrmProDisplaysController.php:106
6318
+ #@ formidable
6319
+ msgid "View all forms"
6320
+ msgstr ""
6321
+
6322
+ #: pro/classes/controllers/FrmProDisplaysController.php:875
6323
+ #@ formidable
6324
+ msgid "There are no views with that ID"
6325
+ msgstr ""
6326
+
6327
+ #: pro/classes/controllers/FrmProEntriesController.php:122
6328
+ #@ formidable
6329
+ msgid "Hovering over a row in the posts list will display action links that allow you to manage your entry."
6330
+ msgstr ""
6331
+
6332
+ #: pro/classes/controllers/FrmProEntriesController.php:375
6333
+ #@ formidable
6334
+ msgid "Draft was Successfully Created"
6335
+ msgstr ""
6336
+
6337
+ #: pro/classes/controllers/FrmProEntriesController.php:405
6338
+ #@ formidable
6339
+ msgid "Draft was Successfully Updated"
6340
+ msgstr ""
6341
+
6342
+ #: pro/classes/controllers/FrmProXMLController.php:147
6343
+ #@ formidable
6344
+ msgid "CSV cannot be opened."
6345
+ msgstr ""
6346
+
6347
+ #: pro/classes/helpers/FrmProEntriesHelper.php:196
6348
+ #@ formidable
6349
+ msgid "Download CSV"
6350
+ msgstr ""
6351
+
6352
+ #: pro/classes/views/displays/mb_advanced.php:90
6353
+ #@ formidable
6354
+ msgid "If the view doesn't show automatically when it should, insert a higher number here."
6355
+ msgstr ""
6356
+
6357
+ #: pro/classes/views/displays/mb_dyncontent.php:10
6358
+ #@ formidable
6359
+ msgid "The HTML for your page. If 'All Entries' is selected above, this content will be repeated for each entry. The field ID and Key work synonymously, although there are times one choice may be better. If you are panning to copy your view settings to other blogs, use the Key since they will be copied and the ids may differ from blog to blog."
6360
+ msgstr ""
6361
+
6362
+ #: pro/classes/views/displays/mb_form_disp_type.php:8
6363
+ #@ formidable
6364
+ msgid "View Format"
6365
+ msgstr ""
6366
+
6367
+ #: pro/classes/views/frmpro-fields/options-form.php:13
6368
+ #@ formidable
6369
+ msgid "Separate values"
6370
+ msgstr ""
6371
+
6372
+ #: pro/classes/views/frmpro-fields/options-form.php:270
6373
+ #, php-format
6374
+ #@ formidable
6375
+ msgid "next page if %s of the following match:"
6376
+ msgstr ""
6377
+
6378
+ #: pro/classes/views/frmpro-fields/options-form.php:270
6379
+ #, php-format
6380
+ #@ formidable
6381
+ msgid "this field if %s of the following match:"
6382
+ msgstr ""
6383
+
6384
+ #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:64
6385
+ #, php-format
6386
+ #@ formidable
6387
+ msgid "Check All Level %d"
6388
+ msgstr ""
6389
+
6390
+ #: pro/classes/views/frmpro-forms/post_options.php:74
6391
+ #@ formidable
6392
+ msgid "Editing this box will update your existing view or create a new one."
6393
+ msgstr ""
6394
+
6395
+ #: pro/classes/views/settings/form.php:30
6396
+ #@ formidable
6397
+ msgid "Turn off the visual editor when building views."
6398
+ msgstr ""
6399
+
6400
+ #: pro/classes/views/settings/styling_tab.php:25
6401
+ #@ formidable
6402
+ msgid "Active state will be seen when the field is clicked"
6403
+ msgstr ""
6404
+
6405
+ #: pro/classes/views/settings/formroller.php:3
6406
+ #@ formidable
6407
+ msgid "Reset to Default"
6408
+ msgstr ""
6409
+
6410
+ #: pro/classes/views/shared/mb_adv_info.php:82
6411
+ #@ formidable
6412
+ msgid "Entry Count"
6413
+ msgstr ""
6414
+
6415
+ #: pro/classes/views/shared/mb_adv_info.php:137
6416
+ #@ formidable
6417
+ msgid "Click a button below to insert sample logic into your view"
6418
+ msgstr ""
6419
+
6420
+ #: classes/controllers/FrmAppController.php:302
6421
+ #@ formidable
6422
+ msgid "Are you sure?"
6423
+ msgstr ""
6424
+
6425
+ #: pro/classes/controllers/FrmUpdatesController.php:164
6426
+ #@ formidable
6427
+ msgid "Enter your license number here"
6428
+ msgstr ""
6429
+
6430
+ #: classes/views/frm-settings/form.php:39
6431
+ #@ formidable
6432
+ msgid "Styling & Scripts"
6433
+ msgstr ""
6434
+
6435
+ #: classes/views/frm-settings/form.php:123
6436
+ #: pro/classes/views/settings/form.php:19
6437
+ #@ formidable
6438
+ msgid "Miscellaneous"
6439
+ msgstr ""
6440
+
6441
+ #: pro/classes/controllers/FrmProDisplaysController.php:486
6442
+ #@ formidable
6443
+ msgid "# Format"
6444
+ msgstr ""
6445
+
6446
+ #: pro/classes/controllers/FrmProFormsController.php:179
6447
+ #@ formidable
6448
+ msgid "Increment"
6449
+ msgstr ""
6450
+
6451
+ #: classes/controllers/FrmXMLController.php:114
6452
+ #@ formidable
6453
+ msgid "XML import is not enabled on your server."
6454
+ msgstr ""
6455
+
6456
+ #: classes/controllers/FrmXMLController.php:91
6457
+ #@ formidable
6458
+ msgid "The file does not exist, please try again."
6459
+ msgstr ""
6460
+
6461
+ #: classes/controllers/FrmXMLController.php:82
6462
+ #@ formidable
6463
+ msgid "Oops, you didn't select a file."
6464
+ msgstr ""
6465
+
6466
+ #: classes/helpers/FrmXMLHelper.php:40
6467
+ #: classes/helpers/FrmXMLHelper.php:48
6468
+ #@ formidable
6469
+ msgid "There was an error when reading this XML file"
6470
+ msgstr ""
6471
+
6472
+ #: pro/classes/views/frmpro-entries/csv.php:30
6473
+ #@ formidable
6474
+ msgid "Created By"
6475
+ msgstr ""
6476
+
6477
+ #: pro/classes/views/frmpro-entries/csv.php:30
6478
+ #@ formidable
6479
+ msgid "Updated By"
6480
+ msgstr ""
6481
+
6482
+ #: pro/classes/views/xml/map_csv_fields.php:50
6483
+ #@ formidable
6484
+ msgid "updated by"
6485
+ msgstr ""
6486
+
6487
+ #: pro/classes/views/settings/formroller.php:298
6488
+ #@ formidable
6489
+ msgid "Radios & Check Boxes"
6490
+ msgstr ""
6491
+
6492
+ #: pro/classes/views/shared/mb_adv_info.php:67
6493
+ #@ formidable
6494
+ msgid "Entry created"
6495
+ msgstr ""
6496
+
6497
+ #: pro/classes/views/shared/mb_adv_info.php:68
6498
+ #@ formidable
6499
+ msgid "Entry updated"
6500
+ msgstr ""
6501
+
6502
+ #: pro/classes/views/shared/mb_adv_info.php:75
6503
+ #@ formidable
6504
+ msgid "Default Msg"
6505
+ msgstr ""
6506
+
6507
+ #: pro/classes/views/shared/mb_adv_info.php:79
6508
+ #@ formidable
6509
+ msgid "One Entry Link"
6510
+ msgstr ""
6511
+
6512
+ #: pro/classes/views/shared/mb_adv_info.php:81
6513
+ #@ formidable
6514
+ msgid "Even/Odd"
6515
+ msgstr ""
6516
+
6517
+ #: pro/classes/views/xml/import_csv.php:11
6518
+ #@ formidable
6519
+ msgid "Importing CSV"
6520
+ msgstr ""
6521
+
6522
+ #: classes/views/xml/import_form.php:17
6523
+ #, php-format
6524
+ #@ formidable
6525
+ msgid "Maximum size: %s"
6526
+ msgstr ""
6527
+
6528
+ #: pro/classes/views/xml/csv_opts.php:13
6529
+ #@ formidable
6530
+ msgid "Note: Only entries can by imported via CSV."
6531
+ msgstr ""
6532
+
6533
+ #: pro/classes/views/xml/map_csv_fields.php:11
6534
+ #@ formidable
6535
+ msgid "Map Fields"
6536
+ msgstr ""
6537
+
6538
+ #: pro/classes/views/xml/map_csv_fields.php:49
6539
+ #@ formidable
6540
+ msgid "last updated"
6541
+ msgstr ""
6542
+
6543
+ #: classes/helpers/FrmAppHelper.php:331
6544
+ #, php-format
6545
+ #@ formidable
6546
+ msgid "%s is invalid"
6547
+ msgstr ""
6548
+
6549
+ #: classes/views/frm-settings/form.php:94
6550
+ #@ formidable
6551
+ msgid "Failed/Duplicate Entry"
6552
+ msgstr ""
6553
+
6554
+ #: pro/classes/views/xml/map_csv_fields.php:49
6555
+ #@ formidable
6556
+ msgid "updated at"
6557
+ msgstr ""
6558
+
6559
+ #: pro/classes/views/frmpro-fields/options-form.php:210
6560
+ #@ formidable
6561
+ msgid "Visibility"
6562
+ msgstr ""
6563
+
6564
+ #: pro/classes/views/frmpro-fields/options-form.php:211
6565
+ #@ formidable
6566
+ msgid "Determines who can see this field. The selected user role and higher user roles will be able to see this field. The only exception is logged-out users. Only logged-out users will be able to see the field if that option is selected."
6567
+ msgstr ""
6568
+
6569
+ #: classes/views/xml/import_form.php:87
6570
+ #@ formidable
6571
+ msgid "(default template)"
6572
+ msgstr ""
6573
+
6574
+ #: classes/views/xml/import_form.php:89
6575
+ #@ formidable
6576
+ msgid "(template)"
6577
+ msgstr ""
6578
+
6579
+ #: classes/controllers/FrmAppController.php:155
6580
+ #@ formidable
6581
+ msgid "Are you sure you want to deauthorize Formidable Pro on this site?"
6582
+ msgstr ""
6583
+
6584
+ #: classes/views/frm-settings/license_box.php:10
6585
+ #, php-format
6586
+ #@ formidable
6587
+ msgid "%1$sClick here%2$s to get it now"
6588
+ msgstr ""
6589
+
6590
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:13
6591
+ #@ default
6592
+ msgid "&mdash; Select &mdash;"
6593
+ msgstr ""
6594
+
6595
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:25
6596
+ #@ formidable
6597
+ msgid "Form Field"
6598
+ msgstr ""
6599
+
6600
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:50
6601
+ #@ default
6602
+ msgid "Enter new"
6603
+ msgstr ""
6604
+
6605
+ #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:8
6606
+ #@ formidable
6607
+ msgid "Field"
6608
+ msgstr ""
6609
+
6610
+ #: pro/classes/views/frmpro-forms/_post_taxonomy_row.php:34
6611
+ #@ formidable
6612
+ msgid "Taxonomy"
6613
+ msgstr ""
6614
+
6615
+ #: pro/classes/views/frmpro-forms/post_options.php:135
6616
+ #@ formidable
6617
+ msgid "Select the field(s) from your form that you would like to populate with your categories, tags, or other taxonomies."
6618
+ msgstr ""
6619
+
6620
+ #: classes/controllers/FrmAppController.php:152
6621
+ #, php-format
6622
+ #@ formidable
6623
+ msgid "This site has been previously authorized to run Formidable Pro.<br/>%1$sInstall the pro version%2$s or %3$sdeauthorize%4$s this site to continue running the free version and remove this message."
6624
+ msgstr ""
6625
+
6626
+ #: classes/views/frm-entries/no_entries.php:20
6627
+ #@ formidable
6628
+ msgid "Click on the \"Add Form\" button above the content box."
6629
+ msgstr ""
6630
+
6631
+ #: classes/views/frm-forms/form.php:20
6632
+ #@ formidable
6633
+ msgid "Add fields here"
6634
+ msgstr ""
6635
+
6636
+ #: classes/views/frm-forms/form.php:21
6637
+ #@ formidable
6638
+ msgid "(Just click or drag)"
6639
+ msgstr ""
6640
+
6641
+ #: classes/controllers/FrmAppController.php:103
6642
+ #@ formidable
6643
+ msgid "Click here to complete the upgrade"
6644
+ msgstr ""
6645
+
6646
+ #: classes/controllers/FrmAppController.php:114
6647
+ #@ formidable
6648
+ msgid "Congratulations! Formidable is ready to roll."
6649
+ msgstr ""
6650
+
6651
+ #: classes/controllers/FrmAppController.php:304
6652
+ #@ formidable
6653
+ msgid "Import Complete"
6654
+ msgstr ""
6655
+
6656
+ #: classes/controllers/FrmFormsController.php:422
6657
+ #@ formidable
6658
+ msgid "You are trying to edit a form that does not exist."
6659
+ msgstr ""
6660
+
6661
+ #: classes/controllers/FrmFormsController.php:649
6662
+ #: classes/controllers/FrmFormsController.php:652
6663
+ #@ formidable
6664
+ msgid "Edit Forms"
6665
+ msgstr ""
6666
+
6667
+ #: classes/controllers/FrmXMLController.php:130
6668
+ #@ formidable
6669
+ msgid "Imported"
6670
+ msgstr ""
6671
+
6672
+ #: classes/controllers/FrmXMLController.php:131
6673
+ #@ formidable
6674
+ msgid "Updated"
6675
+ msgstr ""
6676
+
6677
+ #: classes/controllers/FrmXMLController.php:145
6678
+ #, php-format
6679
+ #@ formidable
6680
+ msgid "%1$s Form"
6681
+ msgid_plural "%1$s Forms"
6682
+ msgstr[0] ""
6683
+ msgstr[1] ""
6684
+
6685
+ #: classes/controllers/FrmXMLController.php:146
6686
+ #, php-format
6687
+ #@ formidable
6688
+ msgid "%1$s Field"
6689
+ msgid_plural "%1$s Fields"
6690
+ msgstr[0] ""
6691
+ msgstr[1] ""
6692
+
6693
+ #: classes/controllers/FrmXMLController.php:147
6694
+ #, php-format
6695
+ #@ formidable
6696
+ msgid "%1$s Entry"
6697
+ msgid_plural "%1$s Entries"
6698
+ msgstr[0] ""
6699
+ msgstr[1] ""
6700
+
6701
+ #: classes/controllers/FrmXMLController.php:148
6702
+ #, php-format
6703
+ #@ formidable
6704
+ msgid "%1$s View"
6705
+ msgid_plural "%1$s Views"
6706
+ msgstr[0] ""
6707
+ msgstr[1] ""
6708
+
6709
+ #: classes/controllers/FrmXMLController.php:149
6710
+ #, php-format
6711
+ #@ formidable
6712
+ msgid "%1$s Post"
6713
+ msgid_plural "%1$s Posts"
6714
+ msgstr[0] ""
6715
+ msgstr[1] ""
6716
+
6717
+ #: classes/controllers/FrmXMLController.php:150
6718
+ #, php-format
6719
+ #@ formidable
6720
+ msgid "%1$s Term"
6721
+ msgid_plural "%1$s Terms"
6722
+ msgstr[0] ""
6723
+ msgstr[1] ""
6724
+
6725
+ #: classes/controllers/FrmXMLController.php:169
6726
+ #@ formidable
6727
+ msgid "Nothing was imported or updated"
6728
+ msgstr ""
6729
+
6730
+ #: classes/views/frm-forms/notification.php:77
6731
+ #, php-format
6732
+ #@ formidable
6733
+ msgid "If you leave the subject blank, the default will be used: %1$s Form submitted on %2$s"
6734
+ msgstr ""
6735
+
6736
+ #: classes/views/frm-forms/settings.php:78
6737
+ #@ formidable
6738
+ msgid "Show the form with the confirmation message"
6739
+ msgstr ""
6740
+
6741
+ #: classes/views/xml/import_form.php:43
6742
+ #@ formidable
6743
+ msgid "Export Format"
6744
+ msgstr ""
6745
+
6746
+ #: classes/views/xml/import_form.php:68
6747
+ #@ formidable
6748
+ msgid "Data to Export"
6749
+ msgstr ""
6750
+
6751
+ #: classes/views/xml/import_form.php:70
6752
+ #@ formidable
6753
+ msgid "Include the following in the export file"
6754
+ msgstr ""
6755
+
6756
+ #: classes/views/xml/import_form.php:79
6757
+ #@ formidable
6758
+ msgid "Select Form(s)"
6759
+ msgstr ""
6760
+
6761
+ #: classes/views/xml/import_form.php:94
6762
+ #@ formidable
6763
+ msgid "Hold down the CTRL/Command button to select multiple forms"
6764
+ msgstr ""
6765
+
6766
+ #: classes/views/xml/importing_xml.php:11
6767
+ #@ formidable
6768
+ msgid "Importing XML"
6769
+ msgstr ""
6770
+
6771
+ #: pro/classes/controllers/FrmProEntriesController.php:1344
6772
+ #@ formidable
6773
+ msgid "Your import is complete"
6774
+ msgstr ""
6775
+
6776
+ #: pro/classes/views/displays/mb_advanced.php:70
6777
+ #@ formidable
6778
+ msgid "Insert View"
6779
+ msgstr ""
6780
+
6781
+ #: pro/classes/views/frmpro-fields/options-form.php:69
6782
+ #@ formidable
6783
+ msgid "Use four digit years or +/- years to make it dynamic. For example, use -5 for the start year and +5 for the end year."
6784
+ msgstr ""
6785
+
6786
+ #: pro/classes/views/frmpro-forms/add_form_options.php:84
6787
+ #@ formidable
6788
+ msgid "Action After Edit"
6789
+ msgstr ""
6790
+
6791
+ #: pro/classes/views/settings/form.php:1
6792
+ #@ formidable
6793
+ msgid "Edit Message"
6794
+ msgstr ""
6795
+
6796
+ #: pro/classes/views/settings/form.php:1
6797
+ #@ formidable
6798
+ msgid "The default message seen when after an entry is updated."
6799
+ msgstr ""
6800
+
6801
+ #: pro/classes/views/settings/form.php:5
6802
+ #@ formidable
6803
+ msgid "Update Button"
6804
+ msgstr ""
6805
+
6806
+ #: pro/classes/views/settings/form.php:5
6807
+ #@ formidable
6808
+ msgid "The label on the submit button when editing and entry."
6809
+ msgstr ""
6810
+
6811
+ #: classes/views/xml/importing_xml.php:13
6812
+ #: pro/classes/views/xml/import_csv.php:13
6813
+ #, php-format
6814
+ #@ formidable
6815
+ msgid "%1$s entries are importing"
6816
+ msgstr ""
6817
+
6818
+ #: pro/classes/views/xml/map_csv_fields.php:63
6819
+ #@ formidable
6820
+ msgid "Note: If you select a field for the Entry ID, the matching entry with that ID will be updated."
6821
+ msgstr ""
6822
+
6823
+ #: pro/classes/widgets/FrmListEntries.php:178
6824
+ #@ formidable
6825
+ msgid "Use Settings from View"
6826
+ msgstr ""
6827
+
6828
+ #: pro/classes/widgets/FrmListEntries.php:186
6829
+ #@ formidable
6830
+ msgid "Views with a \"Both (Dynamic)\" format will show here."
6831
+ msgstr ""
6832
+
6833
+ #: pro/classes/widgets/FrmListEntries.php:188
6834
+ #@ formidable
6835
+ msgid "Page if not specified in View settings"
6836
+ msgstr ""
6837
+
6838
+ #: pro/classes/views/xml/map_csv_fields.php:52
6839
+ #@ formidable
6840
+ msgid "Is Draft"
6841
+ msgstr ""
6842
+
6843
+ #: classes/views/xml/import_form.php:13
6844
+ #@ formidable
6845
+ msgid "Upload your Formidable XML file to import forms into this site. If your imported form key and creation date match a form on your site, that form will be updated."
6846
+ msgstr ""
6847
+
6848
+ #: classes/views/xml/import_form.php:17
6849
+ #@ formidable
6850
+ msgid "Choose a Formidable XML file"
6851
+ msgstr ""
6852
+
6853
+ #: pro/classes/controllers/FrmProXMLController.php:64
6854
+ #@ formidable
6855
+ msgid "Upload your Formidable XML or CSV file to import forms, entries, and views into this site. <br/><strong>Note: If your imported form/entry/view key and creation date match an item on your site, that item will be updated. You cannot undo this action.</strong>"
6856
+ msgstr ""
6857
+
6858
+ #: pro/classes/controllers/FrmProXMLController.php:68
6859
+ #@ formidable
6860
+ msgid "Choose a Formidable XML or any CSV file"
6861
+ msgstr ""
6862
+
6863
+ #: pro/classes/views/displays/mb_dyncontent.php:1
6864
+ #@ formidable
6865
+ msgid "Disable visual editor for this view"
6866
+ msgstr ""
6867
+
6868
+ #: pro/classes/views/displays/mb_dyncontent.php:1
6869
+ #@ formidable
6870
+ msgid "It is recommended to check this box if you include a &lt;table&gt; tag in the Before Content box."
6871
+ msgstr ""
6872
+
languages/formidable-en_US.po CHANGED
@@ -1,9 +1,9 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: Formidable v1.07.0rc2\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
- "PO-Revision-Date: 2013-07-26 18:01:35+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -20,587 +20,436 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
- #: classes/controllers/FrmFormsController.php:25
24
- #: classes/controllers/FrmFormsController.php:404
 
25
  #: classes/views/frm-forms/list.php:3
26
- #: pro/classes/views/shared/import_form.php:45
27
  #@ formidable
28
  msgid "Forms"
29
  msgstr ""
30
 
31
- #: classes/controllers/FrmFormsController.php:26
32
- #: classes/controllers/FrmFormsController.php:399
 
 
33
  #@ formidable
34
  msgid "Templates"
35
  msgstr ""
36
 
37
- #: classes/controllers/FrmAppController.php:75
38
- #: classes/helpers/FrmListHelper.php:128
39
- #: classes/views/frm-forms/list.php:140
40
- #: classes/views/frm-forms/settings.php:43
41
- #: classes/views/shared/form-nav.php:6
42
  #@ formidable
43
  msgid "Settings"
44
  msgstr ""
45
 
46
- #: classes/controllers/FrmAppController.php:89
47
- #: classes/controllers/FrmAppController.php:127
48
- #, php-format
49
- #@ formidable
50
- msgid "Your Formidable Pro installation isn't quite complete yet.<br/>%1$sAutomatically Upgrade to Enable Formidable Pro%2$s"
51
- msgstr ""
52
-
53
- #: classes/controllers/FrmEntriesController.php:52
54
  #@ formidable
55
  msgid "Please select a valid form"
56
  msgstr ""
57
 
58
- #: classes/controllers/FrmFormsController.php:173
59
- #: classes/controllers/FrmFormsController.php:456
60
  #@ formidable
61
  msgid "Form was Successfully Updated"
62
  msgstr ""
63
 
64
- #: classes/controllers/FrmFormsController.php:183
65
  #@ formidable
66
  msgid "Form template was Successfully Created"
67
  msgstr ""
68
 
69
- #: classes/controllers/FrmFormsController.php:183
70
  #@ formidable
71
  msgid "Form was Successfully Copied"
72
  msgstr ""
73
 
74
- #: classes/controllers/FrmFormsController.php:187
75
  #@ formidable
76
  msgid "There was a problem creating new template."
77
  msgstr ""
78
 
79
- #: classes/controllers/FrmFormsController.php:235
80
  #@ formidable
81
  msgid "Form was Successfully Deleted"
82
  msgstr ""
83
 
84
- #: classes/controllers/FrmFormsController.php:257
85
- #: classes/controllers/FrmFormsController.php:264
86
  #@ formidable
87
  msgid "Add Formidable Form"
88
  msgstr ""
89
 
90
- #: classes/controllers/FrmFormsController.php:461
91
- #: classes/controllers/FrmFormsController.php:478
92
  #@ formidable
93
  msgid "That template cannot be edited"
94
  msgstr ""
95
 
96
- #: classes/controllers/FrmSettingsController.php:38
 
97
  #@ formidable
98
  msgid "Settings Saved"
99
  msgstr ""
100
 
101
- #: classes/helpers/FrmAppHelper.php:93
102
  #@ formidable
103
  msgid "View Forms and Templates"
104
  msgstr ""
105
 
106
- #: classes/helpers/FrmAppHelper.php:95
107
  #@ formidable
108
  msgid "Delete Forms and Templates"
109
  msgstr ""
110
 
111
- #: classes/helpers/FrmAppHelper.php:96
112
  #@ formidable
113
  msgid "Access this Settings Page"
114
  msgstr ""
115
 
116
- #: classes/helpers/FrmAppHelper.php:99
117
  #@ formidable
118
  msgid "View Entries from Admin Area"
119
  msgstr ""
120
 
121
- #: classes/helpers/FrmAppHelper.php:101
122
  #@ formidable
123
  msgid "Edit Entries from Admin Area"
124
  msgstr ""
125
 
126
- #: classes/helpers/FrmAppHelper.php:102
127
  #@ formidable
128
  msgid "Delete Entries from Admin Area"
129
  msgstr ""
130
 
131
- #: classes/helpers/FrmAppHelper.php:103
132
  #@ formidable
133
  msgid "View Reports"
134
  msgstr ""
135
 
136
- #: classes/helpers/FrmFieldsHelper.php:23
137
  #@ formidable
138
  msgid "Section Heading"
139
  msgstr ""
140
 
141
- #: classes/helpers/FrmFieldsHelper.php:24
142
  #@ formidable
143
  msgid "Page Break"
144
  msgstr ""
145
 
146
- #: classes/helpers/FrmFieldsHelper.php:25
147
- #: pro/classes/views/settings/form.php:125
148
  #@ formidable
149
  msgid "File Upload"
150
  msgstr ""
151
 
152
- #: classes/helpers/FrmFieldsHelper.php:27
153
  #@ formidable
154
  msgid "Number"
155
  msgstr ""
156
 
157
- #: classes/helpers/FrmFieldsHelper.php:28
158
  #@ formidable
159
  msgid "Phone Number"
160
  msgstr ""
161
 
162
- #: classes/helpers/FrmFieldsHelper.php:21
163
- #: classes/views/frm-forms/notification.php:57
164
  #@ formidable
165
  msgid "Email Address"
166
  msgstr ""
167
 
168
- #: classes/controllers/FrmFormsController.php:407
169
- #: classes/helpers/FrmFieldsHelper.php:29
170
- #: pro/classes/controllers/FrmProDisplaysController.php:212
171
  #@ formidable
172
  msgid "Date"
173
  msgstr ""
174
 
175
- #: classes/helpers/FrmFieldsHelper.php:30
176
  #@ formidable
177
  msgid "Time"
178
  msgstr ""
179
 
180
- #: classes/helpers/FrmFieldsHelper.php:22
181
  #@ formidable
182
  msgid "Website/URL"
183
  msgstr ""
184
 
185
- #: classes/helpers/FrmFieldsHelper.php:31
186
  #@ formidable
187
  msgid "Image URL"
188
  msgstr ""
189
 
190
- #: classes/helpers/FrmFieldsHelper.php:32
191
  #@ formidable
192
  msgid "Scale"
193
  msgstr ""
194
 
195
- #: classes/helpers/FrmFieldsHelper.php:34
196
  #@ formidable
197
  msgid "Data from Entries"
198
  msgstr ""
199
 
200
- #: classes/helpers/FrmFieldsHelper.php:36
201
  #@ formidable
202
  msgid "Hidden Field"
203
  msgstr ""
204
 
205
- #: classes/helpers/FrmFieldsHelper.php:40
206
  #@ formidable
207
  msgid "Tags"
208
  msgstr ""
209
 
210
- #: classes/helpers/FrmFieldsHelper.php:160
211
  #@ formidable
212
  msgid "Untitled"
213
  msgstr ""
214
 
215
- #: classes/helpers/FrmFormsHelper.php:16
216
- #: classes/helpers/FrmListHelper.php:126
217
  #: classes/views/frm-forms/default-templates.php:24
218
- #: classes/views/frm-forms/list.php:117
219
  #@ formidable
220
  msgid "Create Form from Template"
221
  msgstr ""
222
 
223
- #: classes/helpers/FrmFormsHelper.php:58
224
- #@ formidable
225
- msgid "Untitled Form"
226
- msgstr ""
227
-
228
- #: classes/models/FrmEntry.php:392
229
  #@ formidable
230
  msgid "Your entry appears to be spam!"
231
  msgstr ""
232
 
233
- #: classes/models/FrmNotification.php:31
234
- #, php-format
235
- #@ formidable
236
- msgid "%1$s form has been submitted on %2$s."
237
- msgstr ""
238
-
239
- #: classes/models/FrmNotification.php:68
240
- #: pro/classes/controllers/FrmProEntriesController.php:2046
241
- #: pro/classes/models/FrmProNotification.php:256
242
- #: pro/classes/views/frmpro-entries/show.php:90
243
  #@ formidable
244
  msgid "User Information"
245
  msgstr ""
246
 
247
- #: classes/models/FrmNotification.php:69
248
- #: pro/classes/controllers/FrmProEntriesController.php:2047
249
- #: pro/classes/controllers/FrmProEntriesController.php:2051
250
- #: pro/classes/controllers/FrmProFormsController.php:206
251
- #: pro/classes/models/FrmProNotification.php:257
252
- #: pro/classes/views/frmpro-entries/import.php:111
253
- #: pro/classes/views/frmpro-entries/show.php:95
254
- #: pro/classes/views/frmpro-forms/add_form_options.php:51
255
  #@ formidable
256
  msgid "IP Address"
257
  msgstr ""
258
 
259
- #: classes/models/FrmNotification.php:70
260
- #: pro/classes/controllers/FrmProEntriesController.php:2048
261
- #: pro/classes/controllers/FrmProEntriesController.php:2053
262
- #: pro/classes/models/FrmProNotification.php:258
263
- #: pro/classes/views/frmpro-entries/show.php:100
264
  #@ formidable
265
  msgid "User-Agent (Browser/OS)"
266
  msgstr ""
267
 
268
- #: classes/models/FrmNotification.php:71
269
- #: pro/classes/controllers/FrmProEntriesController.php:2049
270
- #: pro/classes/controllers/FrmProEntriesController.php:2055
271
- #: pro/classes/models/FrmProNotification.php:259
272
- #: pro/classes/views/frmpro-entries/show.php:106
273
  #@ formidable
274
  msgid "Referrer"
275
  msgstr ""
276
 
277
- #: classes/models/FrmNotification.php:74
278
- #: pro/classes/models/FrmProNotification.php:271
279
- #: pro/classes/models/FrmProNotification.php:451
280
  #, php-format
281
  #@ formidable
282
  msgid "%1$s Form submitted on %2$s"
283
  msgstr ""
284
 
285
- #: classes/models/FrmSettings.php:61
286
  #@ formidable
287
  msgid "Your responses were successfully submitted. Thank you!"
288
  msgstr ""
289
 
290
- #: classes/models/FrmSettings.php:66
291
- #: pro/classes/views/frmpro-entries/show.php:158
292
- #: pro/classes/views/settings/form.php:161
293
  #@ formidable
294
  msgid "Submit"
295
  msgstr ""
296
 
297
- #: classes/models/FrmSettings.php:67
298
  #@ formidable
299
  msgid "You do not have permission to view this form."
300
  msgstr ""
301
 
302
- #: classes/models/FrmSettings.php:68
 
303
  #@ formidable
304
  msgid "You do not have permission to do that"
305
  msgstr ""
306
 
307
- #: classes/controllers/FrmUpdatesController.php:139
308
- #: classes/models/FrmUpdate.php:126
309
  #@ formidable
310
  msgid "ERROR"
311
  msgstr ""
312
 
313
- #: classes/controllers/FrmUpdatesController.php:180
314
- #: classes/models/FrmUpdate.php:165
315
  #@ formidable
316
  msgid "Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports."
317
  msgstr ""
318
 
319
- #: classes/controllers/FrmUpdatesController.php:181
320
- #: classes/models/FrmUpdate.php:167
321
- #@ formidable
322
- msgid "Learn More"
323
- msgstr ""
324
-
325
- #: classes/controllers/FrmUpdatesController.php:209
326
- #: classes/models/FrmUpdate.php:198
327
- #@ formidable
328
- msgid "WordPress MU"
329
- msgstr ""
330
-
331
- #: classes/models/FrmUpdate.php:201
332
- #@ formidable
333
- msgid "Use this username and password to enable Formidable Pro site-wide"
334
- msgstr ""
335
-
336
- #: classes/models/FrmUpdate.php:207
337
- #@ formidable
338
- msgid "Save"
339
- msgstr ""
340
-
341
- #: classes/templates/contact.php:3
342
- #@ formidable
343
- msgid "Contact Us"
344
- msgstr ""
345
-
346
- #: classes/templates/contact.php:4
347
- #@ formidable
348
- msgid "We would like to hear from you. Please send us a message by filling out the form below and we will get back with you shortly."
349
- msgstr ""
350
-
351
- #: classes/controllers/FrmFormsController.php:394
352
- #: classes/views/frm-forms/default-templates.php:7
353
- #: classes/views/frm-forms/default-templates.php:41
354
- #: classes/views/frm-forms/list.php:41
355
- #: classes/views/frm-forms/list.php:60
356
- #: classes/views/frm-forms/list.php:189
357
- #: classes/views/frm-forms/list.php:193
358
- #: classes/views/frm-forms/notification.php:5
359
- #: classes/views/frm-forms/notification.php:54
360
- #: classes/views/frm-forms/notification.php:55
361
- #: pro/classes/controllers/FrmProDisplaysController.php:205
362
- #@ formidable
363
- msgid "Name"
364
- msgstr ""
365
-
366
- #: pro/classes/models/FrmProDisplay.php:259
367
  #@ formidable
368
  msgid "Name cannot be blank"
369
  msgstr ""
370
 
371
- #: classes/templates/contact.php:37
372
- #: classes/views/frm-forms/notification.php:30
373
- #: classes/views/frm-forms/notification.php:56
374
  #: pro/classes/controllers/FrmProDisplaysController.php:499
375
- #: pro/classes/controllers/FrmProFormsController.php:195
376
  #@ formidable
377
  msgid "Email"
378
  msgstr ""
379
 
380
- #: classes/templates/contact.php:39
381
- #@ formidable
382
- msgid "Please enter a valid email address"
383
- msgstr ""
384
-
385
- #: classes/templates/contact.php:46
386
- #: pro/classes/models/FrmProField.php:49
387
  #@ formidable
388
  msgid "Website"
389
  msgstr ""
390
 
391
- #: classes/templates/contact.php:54
392
- #: pro/classes/views/frmpro-forms/notifications.php:3
393
  #@ formidable
394
  msgid "Subject"
395
  msgstr ""
396
 
397
- #: classes/templates/contact.php:62
398
- #: pro/classes/views/frmpro-forms/notifications.php:6
399
  #@ formidable
400
  msgid "Message"
401
  msgstr ""
402
 
403
- #: classes/templates/contact.php:70
404
- #@ formidable
405
- msgid "Captcha"
406
- msgstr ""
407
-
408
- #: classes/views/frm-entries/form.php:38
409
- #: pro/classes/controllers/FrmProEntriesController.php:1030
410
- #: pro/classes/helpers/FrmProFieldsHelper.php:1520
411
- #: pro/classes/views/displays/where_row.php:9
412
- #: pro/classes/views/frmpro-entries/import.php:112
413
- #: pro/classes/views/frmpro-entries/show.php:83
414
  #: pro/classes/views/shared/mb_adv_info.php:64
 
415
  #@ formidable
416
  msgid "Entry Key"
417
  msgstr ""
418
 
419
- #: classes/views/frm-forms/add_field.php:53
420
- #: classes/views/frm-forms/add_field.php:98
421
  #@ formidable
422
  msgid "Add an Option"
423
  msgstr ""
424
 
425
- #: classes/views/frm-forms/add_field.php:149
426
  #@ formidable
427
  msgid "Field Options"
428
  msgstr ""
429
 
430
- #: classes/views/frm-forms/add_field.php:172
431
  #: classes/widgets/FrmShowForm.php:56
432
  #@ formidable
433
  msgid "Field Size"
434
  msgstr ""
435
 
436
- #: classes/views/frm-forms/add_field.php:179
437
  #@ formidable
438
  msgid "columns wide"
439
  msgstr ""
440
 
441
- #: classes/views/frm-forms/add_field.php:179
442
  #: classes/widgets/FrmShowForm.php:58
443
  #@ formidable
444
  msgid "characters wide"
445
  msgstr ""
446
 
447
- #: classes/views/frm-forms/add_field.php:181
448
  #@ formidable
449
  msgid "rows high"
450
  msgstr ""
451
 
452
- #: classes/views/frm-forms/add_field.php:181
453
  #@ formidable
454
  msgid "characters maximum"
455
  msgstr ""
456
 
457
- #: classes/views/frm-forms/add_field.php:187
458
  #: classes/views/frm-forms/mb_html_tab.php:10
459
  #@ formidable
460
  msgid "Label Position"
461
  msgstr ""
462
 
463
- #: classes/views/frm-forms/add_field.php:190
464
  #@ formidable
465
  msgid "Top"
466
  msgstr ""
467
 
468
- #: classes/views/frm-forms/add_field.php:191
469
  #@ formidable
470
  msgid "Left"
471
  msgstr ""
472
 
473
- #: classes/views/frm-forms/add_field.php:192
474
  #@ formidable
475
  msgid "Right"
476
  msgstr ""
477
 
478
- #: classes/views/frm-forms/add_field.php:157
479
  #@ formidable
480
  msgid "Indicate required field with"
481
  msgstr ""
482
 
483
  #: classes/views/frm-forms/add_field_links.php:9
 
484
  #@ formidable
485
  msgid "Preview Form"
486
  msgstr ""
487
 
488
  #: classes/views/frm-forms/add_field_links.php:13
489
- #: classes/views/frm-forms/sidebar-settings.php:23
490
- #: classes/views/frm-forms/translate.php:19
491
  #@ formidable
492
  msgid "Preview in Current Theme"
493
  msgstr ""
494
 
495
- #: classes/views/frm-forms/add_field_links.php:43
496
  #@ formidable
497
  msgid "Pro Fields"
498
  msgstr ""
499
 
500
- #: classes/controllers/FrmFormsController.php:396
501
- #: classes/views/frm-forms/add_field_links.php:27
502
- #: classes/views/frm-forms/list.php:72
503
- #: classes/views/frm-forms/list.php:195
504
- #: pro/classes/controllers/FrmProDisplaysController.php:213
505
- #: pro/classes/helpers/FrmProFieldsHelper.php:1536
506
- #: pro/classes/helpers/FrmProFieldsHelper.php:1550
507
- #: pro/classes/views/displays/mb_form_disp_type.php:47
508
- #: pro/classes/views/displays/mb_form_disp_type.php:57
509
  #@ formidable
510
  msgid "Key"
511
  msgstr ""
512
 
513
- #: classes/views/frm-forms/add_field_links.php:117
514
- #@ formidable
515
- msgid "required field"
516
- msgstr ""
517
-
518
- #: classes/views/frm-forms/add_field_links.php:119
519
- #@ formidable
520
- msgid "not required"
521
- msgstr ""
522
-
523
- #: classes/views/frm-forms/add_field_links.php:121
524
- #@ formidable
525
- msgid "clear default text on click"
526
- msgstr ""
527
-
528
- #: classes/views/frm-forms/add_field_links.php:123
529
- #@ formidable
530
- msgid "do not clear default text on click"
531
- msgstr ""
532
-
533
- #: classes/views/frm-forms/add_field_links.php:125
534
- #@ formidable
535
- msgid "default value will NOT pass validation"
536
- msgstr ""
537
-
538
- #: classes/views/frm-forms/add_field_links.php:127
539
- #@ formidable
540
- msgid "default value will pass validation"
541
- msgstr ""
542
-
543
- #: classes/views/frm-forms/add_field_links.php:129
544
- #@ formidable
545
- msgid "delete field and all inputed data"
546
- msgstr ""
547
-
548
- #: classes/views/frm-forms/add_field_links.php:131
549
- #@ formidable
550
- msgid "duplicate field"
551
- msgstr ""
552
-
553
- #: classes/views/frm-forms/add_field_links.php:133
554
- #@ formidable
555
- msgid "move field"
556
- msgstr ""
557
-
558
  #: classes/views/frm-forms/default-templates.php:3
559
  #@ formidable
560
  msgid "Default Templates"
561
  msgstr ""
562
 
563
- #: classes/controllers/FrmFormsController.php:395
564
- #: classes/views/frm-forms/default-templates.php:8
565
- #: classes/views/frm-forms/default-templates.php:42
566
- #: classes/views/frm-forms/list.php:47
567
- #: classes/views/frm-forms/list.php:66
568
- #: classes/views/frm-forms/list.php:190
569
- #: classes/views/frm-forms/list.php:194
570
- #: pro/classes/controllers/FrmProDisplaysController.php:206
571
- #: pro/classes/controllers/FrmProDisplaysController.php:356
572
- #@ formidable
573
- msgid "Description"
574
- msgstr ""
575
-
576
- #: classes/helpers/FrmListHelper.php:77
577
  #: classes/views/frm-forms/default-templates.php:12
578
- #: classes/views/frm-forms/list.php:87
579
  #@ formidable
580
  msgid "No Templates Found"
581
  msgstr ""
582
 
583
- #: classes/views/frm-forms/default-templates.php:21
584
- #: classes/views/frm-forms/sidebar-settings.php:19
585
- #: classes/views/frm-forms/translate.php:15
586
- #@ formidable
587
- msgid "Preview"
588
- msgstr ""
589
-
590
- #: classes/helpers/FrmListHelper.php:138
591
- #: classes/views/frm-forms/default-templates.php:24
592
- #: classes/views/frm-forms/list.php:117
593
- #: classes/views/frm-forms/list.php:153
594
- #: pro/classes/views/displays/mb_advanced.php:96
595
  #@ formidable
596
  msgid "Copy"
597
  msgstr ""
598
 
 
599
  #: classes/views/frm-forms/default-templates.php:30
600
- #: pro/classes/helpers/FrmProListHelper.php:187
 
 
601
  #: pro/classes/views/displays/submitbox_actions.php:2
602
- #: pro/classes/views/frmpro-entries/list.php:88
603
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:11
604
  #@ formidable
605
  msgid "View"
606
  msgstr ""
@@ -610,135 +459,95 @@ msgstr ""
610
  msgid "Custom Templates"
611
  msgstr ""
612
 
613
- #: classes/views/frm-forms/settings.php:3
614
- #@ formidable
615
- msgid "Edit Form"
616
- msgstr ""
617
-
618
- #: classes/views/frm-forms/add_field_links.php:140
619
- #: classes/views/frm-forms/edit.php:27
620
- #: classes/views/frm-forms/edit.php:45
621
- #: classes/views/frm-forms/settings.php:24
622
- #: classes/views/frm-forms/settings.php:187
623
- #: classes/views/frm-forms/translate.php:32
624
- #: classes/views/frm-forms/translate.php:56
625
- #: pro/classes/models/FrmProSettings.php:202
626
  #@ formidable
627
  msgid "Update"
628
  msgstr ""
629
 
630
- #: classes/controllers/FrmUpdatesController.php:221
631
- #: classes/models/FrmUpdate.php:209
632
- #: classes/views/frm-forms/add_field.php:56
633
- #: classes/views/frm-forms/add_field.php:101
634
  #: classes/views/frm-forms/add_field_links.php:12
635
- #: classes/views/frm-forms/edit.php:28
636
- #: classes/views/frm-forms/edit.php:46
637
- #: classes/views/frm-forms/new.php:26
638
- #: classes/views/frm-forms/new.php:41
639
- #: classes/views/frm-forms/settings.php:25
640
- #: classes/views/frm-forms/settings.php:188
641
- #: classes/views/frm-forms/sidebar-settings.php:22
642
- #: classes/views/frm-forms/translate.php:18
643
- #: classes/views/frm-forms/translate.php:33
644
- #: classes/views/frm-forms/translate.php:57
645
- #: pro/classes/views/frmpro-entries/edit.php:33
646
- #: pro/classes/views/frmpro-entries/import.php:50
647
- #: pro/classes/views/frmpro-entries/new.php:29
648
  #@ formidable
649
  msgid "or"
650
  msgstr ""
651
 
652
- #: classes/controllers/FrmUpdatesController.php:223
653
- #: classes/models/FrmUpdate.php:211
654
  #: classes/views/frm-fields/import_choices.php:74
655
- #: classes/views/frm-forms/edit.php:29
656
- #: classes/views/frm-forms/edit.php:47
657
- #: classes/views/frm-forms/new.php:27
658
- #: classes/views/frm-forms/new.php:42
659
- #: classes/views/frm-forms/settings.php:26
660
- #: classes/views/frm-forms/settings.php:189
661
- #: classes/views/frm-forms/translate.php:34
662
- #: classes/views/frm-forms/translate.php:58
663
- #: pro/classes/controllers/FrmProEntriesController.php:1784
664
- #: pro/classes/views/displays/sidebar.php:12
665
- #: pro/classes/views/frmpro-entries/edit.php:34
666
- #: pro/classes/views/frmpro-entries/new.php:30
667
- #: pro/classes/views/frmpro-entries/sidebar-new.php:9
668
  #@ formidable
669
  msgid "Cancel"
670
  msgstr ""
671
 
672
- #: classes/views/frm-forms/add_field.php:141
673
- #: classes/views/frm-forms/footer.php:3
674
- #@ formidable
675
- msgid "(Click here to add form description or instructions)"
676
- msgstr ""
677
-
678
- #: classes/controllers/FrmAppController.php:113
679
- #: classes/controllers/FrmUpdatesController.php:171
680
- #: classes/models/FrmUpdate.php:156
681
- #: classes/views/frm-forms/footer.php:16
682
- #: pro/classes/controllers/FrmProEntriesController.php:910
683
- #: pro/classes/helpers/FrmProEntriesHelper.php:79
684
- #: pro/classes/views/frmpro-entries/import.php:14
685
- #: pro/classes/views/settings/formroller.php:572
686
- #@ formidable
687
- msgid "Loading..."
688
- msgstr ""
689
-
690
  #: classes/views/frm-forms/sidebar-settings.php:5
691
  #@ formidable
692
  msgid "Key and id are generally synonymous. For more information on using this shortcode, click now."
693
  msgstr ""
694
 
695
  #: classes/views/frm-forms/mb_html_tab.php:37
696
- #: classes/views/frm-forms/settings.php:59
697
  #@ formidable
698
  msgid "Form Key"
699
  msgstr ""
700
 
701
- #: classes/views/frm-forms/settings.php:68
702
  #@ formidable
703
  msgid "Use Formidable styling for this form"
704
  msgstr ""
705
 
706
- #: classes/views/frm-forms/settings.php:63
707
  #@ formidable
708
  msgid "Submit Button Text"
709
  msgstr ""
710
 
711
- #: classes/views/frm-forms/settings.php:71
712
  #@ formidable
713
  msgid "Action After Form Submission"
714
  msgstr ""
715
 
716
- #: classes/views/frm-forms/settings.php:76
 
717
  #@ formidable
718
  msgid "Display a Message"
719
  msgstr ""
720
 
721
- #: classes/views/frm-forms/settings.php:77
 
722
  #@ formidable
723
  msgid "Display content from another page"
724
  msgstr ""
725
 
726
- #: classes/views/frm-forms/settings.php:86
727
- #@ formidable
728
- msgid "Confirmation Message"
729
- msgstr ""
730
-
731
- #: classes/views/frm-forms/settings.php:89
732
- #@ formidable
733
- msgid "Show the form with the success message."
734
- msgstr ""
735
-
736
- #: classes/views/frm-forms/settings.php:138
737
  #@ formidable
738
  msgid "Before Fields"
739
  msgstr ""
740
 
741
- #: classes/views/frm-forms/settings.php:154
742
  #@ formidable
743
  msgid "After Fields"
744
  msgstr ""
@@ -754,7 +563,6 @@ msgid "Form Description"
754
  msgstr ""
755
 
756
  #: classes/views/frm-forms/mb_html_tab.php:7
757
- #: pro/classes/views/frmpro-fields/options-form.php:308
758
  #@ formidable
759
  msgid "Field Key"
760
  msgstr ""
@@ -791,271 +599,206 @@ msgid "Add class name if field has an error on form submit"
791
  msgstr ""
792
 
793
  #: classes/views/frm-forms/insert_form_popup.php:4
 
794
  #@ formidable
795
  msgid "Please select a form"
796
  msgstr ""
797
 
798
- #: classes/views/frm-forms/insert_form_popup.php:13
799
- #@ formidable
800
- msgid "Please select a custom display"
801
- msgstr ""
802
-
803
- #: classes/views/frm-forms/insert_form_popup.php:39
804
  #@ formidable
805
  msgid "Display form title"
806
  msgstr ""
807
 
808
- #: classes/views/frm-forms/insert_form_popup.php:40
809
  #@ formidable
810
  msgid "Display form description"
811
  msgstr ""
812
 
813
- #: classes/views/frm-forms/list.php:54
814
- #: classes/views/frm-forms/list.php:192
815
- #: pro/classes/helpers/FrmProFieldsHelper.php:1535
816
- #: pro/classes/helpers/FrmProFieldsHelper.php:1549
817
- #: pro/classes/views/displays/mb_form_disp_type.php:46
818
- #: pro/classes/views/displays/mb_form_disp_type.php:56
819
  #: pro/classes/views/frmpro-entries/google_table.php:8
820
  #: pro/classes/views/frmpro-entries/table.php:5
821
  #@ formidable
822
  msgid "ID"
823
  msgstr ""
824
 
825
- #: classes/controllers/FrmEntriesController.php:21
826
- #: classes/controllers/FrmFormsController.php:401
827
- #: classes/views/frm-entries/list.php:3
828
- #: classes/views/frm-forms/list.php:76
829
- #: classes/views/frm-forms/list.php:144
830
- #: classes/views/frm-forms/list.php:196
831
  #: classes/views/shared/form-nav.php:5
832
- #: pro/classes/controllers/FrmProEntriesController.php:1047
 
 
833
  #: pro/classes/views/frmpro-entries/list.php:3
834
- #: pro/classes/views/frmpro-fields/dynamic-options.php:20
835
- #: pro/classes/views/shared/import_form.php:46
836
  #@ formidable
837
  msgid "Entries"
838
  msgstr ""
839
 
840
- #: classes/controllers/FrmFormsController.php:402
841
- #: classes/views/frm-forms/list.php:77
842
- #: classes/views/frm-forms/list.php:197
843
  #@ formidable
844
  msgid "Direct Link"
845
  msgstr ""
846
 
847
- #: pro/classes/controllers/FrmProDisplaysController.php:215
848
  #@ formidable
849
  msgid "Shortcode"
850
  msgstr ""
851
 
852
- #: classes/helpers/FrmListHelper.php:84
853
- #: classes/views/frm-forms/list.php:94
854
  #@ formidable
855
  msgid "No Forms Found"
856
  msgstr ""
857
 
858
- #: classes/helpers/FrmListHelper.php:118
859
- #: classes/views/frm-forms/edit.php:3
860
- #: classes/views/frm-forms/list.php:110
861
- #: classes/views/frm-forms/list.php:118
862
- #: classes/views/frm-forms/list.php:131
863
- #: classes/views/frm-forms/list.php:139
864
- #: pro/classes/controllers/FrmProDisplaysController.php:61
865
- #: pro/classes/controllers/FrmProEntriesController.php:1552
866
- #: pro/classes/controllers/FrmProEntriesController.php:1784
867
- #: pro/classes/helpers/FrmProAppHelper.php:192
868
- #: pro/classes/helpers/FrmProFieldsHelper.php:1728
869
- #: pro/classes/helpers/FrmProListHelper.php:177
870
- #: pro/classes/views/frmpro-entries/list.php:91
871
  #: pro/classes/views/frmpro-entries/sidebar-show.php:24
 
872
  #@ formidable
873
  msgid "Edit"
874
  msgstr ""
875
 
876
- #: classes/views/frm-forms/list.php:122
877
- #: classes/views/frm-forms/list.php:160
878
- #, php-format
879
- #@ formidable
880
- msgid "Are you sure you want to delete your %1$s Form?"
881
- msgstr ""
882
-
883
- #: classes/helpers/FrmListHelper.php:94
884
- #: classes/helpers/FrmListHelper.php:149
885
- #: classes/views/frm-forms/add_field_links.php:128
886
- #: classes/views/frm-forms/list.php:122
887
- #: classes/views/frm-forms/list.php:160
888
- #: pro/classes/controllers/FrmProEntriesController.php:1620
889
- #: pro/classes/controllers/FrmProEntriesController.php:1888
890
- #: pro/classes/helpers/FrmProAppHelper.php:237
891
- #: pro/classes/helpers/FrmProListHelper.php:142
892
- #: pro/classes/helpers/FrmProListHelper.php:191
893
- #: pro/classes/views/displays/sidebar.php:10
894
- #: pro/classes/views/frmpro-entries/list.php:100
895
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:24
896
  #: pro/classes/views/frmpro-entries/sidebar-show.php:17
 
897
  #@ formidable
898
  msgid "Delete"
899
  msgstr ""
900
 
901
- #: classes/helpers/FrmListHelper.php:135
902
- #: classes/views/frm-forms/list.php:149
903
- #@ formidable
904
- msgid "New"
905
- msgstr ""
906
-
907
- #: classes/helpers/FrmListHelper.php:135
908
- #: classes/views/frm-forms/list.php:149
909
- #: pro/classes/controllers/FrmProDisplaysController.php:208
910
- #: pro/classes/views/frmpro-entries/show.php:21
911
  #@ formidable
912
  msgid "Entry"
913
  msgstr ""
914
 
915
- #: classes/helpers/FrmListHelper.php:135
916
- #: classes/views/frm-forms/list.php:149
917
- #@ formidable
918
- msgid "New Entry"
919
- msgstr ""
920
-
921
- #: classes/controllers/FrmStatisticsController.php:15
922
- #: classes/helpers/FrmListHelper.php:132
923
- #: classes/views/frm-forms/list.php:145
924
- #: classes/views/shared/form-nav.php:3
925
  #: pro/classes/controllers/FrmProStatisticsController.php:12
 
926
  #@ formidable
927
  msgid "Reports"
928
  msgstr ""
929
 
930
- #: classes/helpers/FrmListHelper.php:138
931
- #: classes/views/frm-forms/add_field.php:21
932
- #: classes/views/frm-forms/list.php:153
933
- #: pro/classes/controllers/FrmProDisplaysController.php:135
934
- #: pro/classes/helpers/FrmProListHelper.php:190
935
- #: pro/classes/views/frmpro-entries/list.php:95
936
- #: pro/classes/views/frmpro-entries/sidebar-edit.php:12
937
  #: pro/classes/views/frmpro-entries/sidebar-show.php:8
938
  #@ formidable
939
  msgid "Duplicate"
940
  msgstr ""
941
 
942
- #: classes/views/frm-forms/add_field_links.php:140
943
- #: classes/views/frm-forms/list.php:154
944
  #: classes/views/frm-forms/new-selection.php:24
945
- #: classes/views/frm-forms/new-selection.php:43
946
- #: classes/views/frm-forms/new.php:25
947
- #: classes/views/frm-forms/new.php:40
948
  #@ formidable
949
  msgid "Create"
950
  msgstr ""
951
 
952
- #: classes/views/frm-forms/edit.php:3
953
- #: classes/views/frm-forms/list.php:154
954
- #: classes/views/frm-forms/list.php:155
955
- #@ formidable
956
- msgid "Template"
957
- msgstr ""
958
-
959
- #: classes/helpers/FrmListHelper.php:140
960
- #: classes/views/frm-forms/list.php:154
961
- #@ formidable
962
- msgid "Create Template"
963
- msgstr ""
964
-
965
- #: classes/helpers/FrmListHelper.php:225
966
- #: classes/views/frm-forms/list.php:173
967
- #@ formidable
968
- msgid "View Form"
969
- msgstr ""
970
-
971
- #: classes/views/frm-forms/footer.php:4
972
  #@ formidable
973
  msgid "(Blank)"
974
  msgstr ""
975
 
976
- #: classes/views/frm-settings/form.php:47
977
- #: classes/views/frm-settings/form.php:232
 
978
  #@ formidable
979
  msgid "Update Options"
980
  msgstr ""
981
 
982
- #: classes/views/frm-settings/form.php:60
983
  #@ formidable
984
  msgid "Preview Page"
985
  msgstr ""
986
 
987
- #: classes/views/frm-settings/form.php:91
988
  #@ formidable
989
  msgid "Include the jQuery CSS on ALL pages"
990
  msgstr ""
991
 
992
- #: classes/views/frm-settings/form.php:91
993
  #@ formidable
994
  msgid "The styling for the date field calendar. Some users may be using this css on pages other than just the ones that include a date field."
995
  msgstr ""
996
 
997
- #: classes/views/frm-settings/form.php:97
998
  #@ formidable
999
  msgid "User Permissions"
1000
  msgstr ""
1001
 
1002
- #: classes/views/frm-settings/form.php:97
1003
  #@ formidable
1004
  msgid "Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu."
1005
  msgstr ""
1006
 
1007
- #: classes/views/frm-settings/form.php:145
1008
  #@ formidable
1009
  msgid "Default Messages"
1010
  msgstr ""
1011
 
1012
- #: classes/views/frm-settings/form.php:145
1013
  #@ formidable
1014
  msgid "You can override the success message and submit button settings on individual forms."
1015
  msgstr ""
1016
 
1017
- #: classes/views/frm-settings/form.php:175
1018
  #@ formidable
1019
  msgid "Success Message"
1020
  msgstr ""
1021
 
1022
- #: classes/views/frm-settings/form.php:175
1023
  #@ formidable
1024
  msgid "The de
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: Formidable v1.07.05\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2010-12-20\n"
6
+ "PO-Revision-Date: 2014-03-06 17:51:27+0000\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Textdomain-Support: yes"
22
 
23
+ #: classes/controllers/FrmFormsController.php:44
24
+ #: classes/controllers/FrmFormsController.php:372
25
+ #: classes/controllers/FrmXMLController.php:65
26
  #: classes/views/frm-forms/list.php:3
 
27
  #@ formidable
28
  msgid "Forms"
29
  msgstr ""
30
 
31
+ #: classes/controllers/FrmFormsController.php:58
32
+ #: classes/controllers/FrmFormsController.php:367
33
+ #: classes/views/frm-forms/edit.php:3
34
+ #: classes/views/frm-forms/list.php:3
35
  #@ formidable
36
  msgid "Templates"
37
  msgstr ""
38
 
39
+ #: classes/controllers/FrmAppController.php:84
40
+ #: classes/helpers/FrmListHelper.php:125
41
+ #: classes/views/frm-forms/settings.php:3
42
+ #: classes/views/frm-forms/settings.php:36
43
+ #: classes/views/shared/form-nav.php:4
44
  #@ formidable
45
  msgid "Settings"
46
  msgstr ""
47
 
48
+ #: classes/controllers/FrmFormsController.php:703
49
+ #: classes/controllers/FrmFormsController.php:708
50
+ #: classes/controllers/FrmFormsController.php:714
 
 
 
 
 
51
  #@ formidable
52
  msgid "Please select a valid form"
53
  msgstr ""
54
 
55
+ #: classes/controllers/FrmFormsController.php:201
56
+ #: classes/controllers/FrmFormsController.php:429
57
  #@ formidable
58
  msgid "Form was Successfully Updated"
59
  msgstr ""
60
 
61
+ #: classes/controllers/FrmFormsController.php:214
62
  #@ formidable
63
  msgid "Form template was Successfully Created"
64
  msgstr ""
65
 
66
+ #: classes/controllers/FrmFormsController.php:214
67
  #@ formidable
68
  msgid "Form was Successfully Copied"
69
  msgstr ""
70
 
71
+ #: classes/controllers/FrmFormsController.php:218
72
  #@ formidable
73
  msgid "There was a problem creating new template."
74
  msgstr ""
75
 
76
+ #: classes/controllers/FrmFormsController.php:277
77
  #@ formidable
78
  msgid "Form was Successfully Deleted"
79
  msgstr ""
80
 
81
+ #: classes/controllers/FrmFormsController.php:301
82
+ #: classes/controllers/FrmFormsController.php:308
83
  #@ formidable
84
  msgid "Add Formidable Form"
85
  msgstr ""
86
 
87
+ #: classes/controllers/FrmFormsController.php:434
88
+ #: classes/controllers/FrmFormsController.php:452
89
  #@ formidable
90
  msgid "That template cannot be edited"
91
  msgstr ""
92
 
93
+ #: classes/controllers/FrmSettingsController.php:55
94
+ #: classes/controllers/FrmSettingsController.php:58
95
  #@ formidable
96
  msgid "Settings Saved"
97
  msgstr ""
98
 
99
+ #: classes/helpers/FrmAppHelper.php:116
100
  #@ formidable
101
  msgid "View Forms and Templates"
102
  msgstr ""
103
 
104
+ #: classes/helpers/FrmAppHelper.php:118
105
  #@ formidable
106
  msgid "Delete Forms and Templates"
107
  msgstr ""
108
 
109
+ #: classes/helpers/FrmAppHelper.php:119
110
  #@ formidable
111
  msgid "Access this Settings Page"
112
  msgstr ""
113
 
114
+ #: classes/helpers/FrmAppHelper.php:122
115
  #@ formidable
116
  msgid "View Entries from Admin Area"
117
  msgstr ""
118
 
119
+ #: classes/helpers/FrmAppHelper.php:124
120
  #@ formidable
121
  msgid "Edit Entries from Admin Area"
122
  msgstr ""
123
 
124
+ #: classes/helpers/FrmAppHelper.php:125
125
  #@ formidable
126
  msgid "Delete Entries from Admin Area"
127
  msgstr ""
128
 
129
+ #: classes/helpers/FrmAppHelper.php:126
130
  #@ formidable
131
  msgid "View Reports"
132
  msgstr ""
133
 
134
+ #: classes/helpers/FrmFieldsHelper.php:27
135
  #@ formidable
136
  msgid "Section Heading"
137
  msgstr ""
138
 
139
+ #: classes/helpers/FrmFieldsHelper.php:28
140
  #@ formidable
141
  msgid "Page Break"
142
  msgstr ""
143
 
144
+ #: classes/helpers/FrmFieldsHelper.php:29
145
+ #: pro/classes/views/settings/styling_tab.php:35
146
  #@ formidable
147
  msgid "File Upload"
148
  msgstr ""
149
 
150
+ #: classes/helpers/FrmFieldsHelper.php:31
151
  #@ formidable
152
  msgid "Number"
153
  msgstr ""
154
 
155
+ #: classes/helpers/FrmFieldsHelper.php:32
156
  #@ formidable
157
  msgid "Phone Number"
158
  msgstr ""
159
 
160
+ #: classes/helpers/FrmFieldsHelper.php:25
161
+ #: classes/views/frm-forms/notification.php:68
162
  #@ formidable
163
  msgid "Email Address"
164
  msgstr ""
165
 
166
+ #: classes/controllers/FrmFormsController.php:375
167
+ #: classes/helpers/FrmFieldsHelper.php:33
168
+ #: pro/classes/controllers/FrmProDisplaysController.php:205
169
  #@ formidable
170
  msgid "Date"
171
  msgstr ""
172
 
173
+ #: classes/helpers/FrmFieldsHelper.php:34
174
  #@ formidable
175
  msgid "Time"
176
  msgstr ""
177
 
178
+ #: classes/helpers/FrmFieldsHelper.php:26
179
  #@ formidable
180
  msgid "Website/URL"
181
  msgstr ""
182
 
183
+ #: classes/helpers/FrmFieldsHelper.php:35
184
  #@ formidable
185
  msgid "Image URL"
186
  msgstr ""
187
 
188
+ #: classes/helpers/FrmFieldsHelper.php:36
189
  #@ formidable
190
  msgid "Scale"
191
  msgstr ""
192
 
193
+ #: classes/helpers/FrmFieldsHelper.php:38
194
  #@ formidable
195
  msgid "Data from Entries"
196
  msgstr ""
197
 
198
+ #: classes/helpers/FrmFieldsHelper.php:40
199
  #@ formidable
200
  msgid "Hidden Field"
201
  msgstr ""
202
 
203
+ #: classes/helpers/FrmFieldsHelper.php:44
204
  #@ formidable
205
  msgid "Tags"
206
  msgstr ""
207
 
208
+ #: classes/helpers/FrmFieldsHelper.php:170
209
  #@ formidable
210
  msgid "Untitled"
211
  msgstr ""
212
 
213
+ #: classes/helpers/FrmFormsHelper.php:17
214
+ #: classes/helpers/FrmListHelper.php:122
215
  #: classes/views/frm-forms/default-templates.php:24
 
216
  #@ formidable
217
  msgid "Create Form from Template"
218
  msgstr ""
219
 
220
+ #: classes/models/FrmEntry.php:422
 
 
 
 
 
221
  #@ formidable
222
  msgid "Your entry appears to be spam!"
223
  msgstr ""
224
 
225
+ #: classes/controllers/FrmEntriesController.php:241
226
+ #: pro/classes/models/FrmProNotification.php:260
227
+ #: pro/classes/views/frmpro-entries/show.php:92
 
 
 
 
 
 
 
228
  #@ formidable
229
  msgid "User Information"
230
  msgstr ""
231
 
232
+ #: classes/controllers/FrmEntriesController.php:242
233
+ #: classes/controllers/FrmEntriesController.php:246
234
+ #: pro/classes/controllers/FrmProFormsController.php:178
235
+ #: pro/classes/models/FrmProNotification.php:261
236
+ #: pro/classes/views/frmpro-entries/show.php:97
237
+ #: pro/classes/views/frmpro-forms/add_form_options.php:39
238
+ #: pro/classes/views/xml/map_csv_fields.php:51
 
239
  #@ formidable
240
  msgid "IP Address"
241
  msgstr ""
242
 
243
+ #: classes/controllers/FrmEntriesController.php:243
244
+ #: classes/controllers/FrmEntriesController.php:248
245
+ #: pro/classes/models/FrmProNotification.php:262
246
+ #: pro/classes/views/frmpro-entries/show.php:102
 
247
  #@ formidable
248
  msgid "User-Agent (Browser/OS)"
249
  msgstr ""
250
 
251
+ #: classes/controllers/FrmEntriesController.php:244
252
+ #: classes/controllers/FrmEntriesController.php:250
253
+ #: pro/classes/models/FrmProNotification.php:263
254
+ #: pro/classes/views/frmpro-entries/show.php:108
 
255
  #@ formidable
256
  msgid "Referrer"
257
  msgstr ""
258
 
259
+ #: classes/models/FrmNotification.php:77
260
+ #: pro/classes/models/FrmProNotification.php:275
261
+ #: pro/classes/models/FrmProNotification.php:445
262
  #, php-format
263
  #@ formidable
264
  msgid "%1$s Form submitted on %2$s"
265
  msgstr ""
266
 
267
+ #: classes/models/FrmSettings.php:24
268
  #@ formidable
269
  msgid "Your responses were successfully submitted. Thank you!"
270
  msgstr ""
271
 
272
+ #: classes/models/FrmSettings.php:29
273
+ #: pro/classes/views/frmpro-entries/show.php:160
274
+ #: pro/classes/views/settings/styling_tab.php:71
275
  #@ formidable
276
  msgid "Submit"
277
  msgstr ""
278
 
279
+ #: classes/models/FrmSettings.php:30
280
  #@ formidable
281
  msgid "You do not have permission to view this form."
282
  msgstr ""
283
 
284
+ #: classes/models/FrmEntry.php:353
285
+ #: classes/models/FrmSettings.php:31
286
  #@ formidable
287
  msgid "You do not have permission to do that"
288
  msgstr ""
289
 
290
+ #: pro/classes/controllers/FrmUpdatesController.php:123
 
291
  #@ formidable
292
  msgid "ERROR"
293
  msgstr ""
294
 
295
+ #: classes/views/frm-settings/license_box.php:9
 
296
  #@ formidable
297
  msgid "Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports."
298
  msgstr ""
299
 
300
+ #: pro/classes/models/FrmProDisplay.php:243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  #@ formidable
302
  msgid "Name cannot be blank"
303
  msgstr ""
304
 
305
+ #: classes/views/frm-forms/notification.php:41
306
+ #: classes/views/frm-forms/notification.php:67
 
307
  #: pro/classes/controllers/FrmProDisplaysController.php:499
308
+ #: pro/classes/controllers/FrmProFormsController.php:167
309
  #@ formidable
310
  msgid "Email"
311
  msgstr ""
312
 
313
+ #: pro/classes/models/FrmProField.php:42
 
 
 
 
 
 
314
  #@ formidable
315
  msgid "Website"
316
  msgstr ""
317
 
318
+ #: classes/views/frm-forms/notification.php:77
 
319
  #@ formidable
320
  msgid "Subject"
321
  msgstr ""
322
 
323
+ #: classes/views/frm-forms/notification.php:80
 
324
  #@ formidable
325
  msgid "Message"
326
  msgstr ""
327
 
328
+ #: classes/views/frm-entries/form.php:40
329
+ #: pro/classes/controllers/FrmProEntriesController.php:1130
330
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1768
331
+ #: pro/classes/views/displays/where_row.php:7
332
+ #: pro/classes/views/frmpro-entries/show.php:85
 
 
 
 
 
 
333
  #: pro/classes/views/shared/mb_adv_info.php:64
334
+ #: pro/classes/views/xml/map_csv_fields.php:54
335
  #@ formidable
336
  msgid "Entry Key"
337
  msgstr ""
338
 
339
+ #: classes/views/frm-forms/add_field.php:71
340
+ #: classes/views/frm-forms/add_field.php:115
341
  #@ formidable
342
  msgid "Add an Option"
343
  msgstr ""
344
 
345
+ #: classes/views/frm-forms/add_field.php:165
346
  #@ formidable
347
  msgid "Field Options"
348
  msgstr ""
349
 
350
+ #: classes/views/frm-forms/add_field.php:242
351
  #: classes/widgets/FrmShowForm.php:56
352
  #@ formidable
353
  msgid "Field Size"
354
  msgstr ""
355
 
356
+ #: classes/views/frm-forms/add_field.php:249
357
  #@ formidable
358
  msgid "columns wide"
359
  msgstr ""
360
 
361
+ #: classes/views/frm-forms/add_field.php:249
362
  #: classes/widgets/FrmShowForm.php:58
363
  #@ formidable
364
  msgid "characters wide"
365
  msgstr ""
366
 
367
+ #: classes/views/frm-forms/add_field.php:251
368
  #@ formidable
369
  msgid "rows high"
370
  msgstr ""
371
 
372
+ #: classes/views/frm-forms/add_field.php:251
373
  #@ formidable
374
  msgid "characters maximum"
375
  msgstr ""
376
 
377
+ #: classes/views/frm-forms/add_field.php:228
378
  #: classes/views/frm-forms/mb_html_tab.php:10
379
  #@ formidable
380
  msgid "Label Position"
381
  msgstr ""
382
 
383
+ #: classes/views/frm-forms/add_field.php:231
384
  #@ formidable
385
  msgid "Top"
386
  msgstr ""
387
 
388
+ #: classes/views/frm-forms/add_field.php:232
389
  #@ formidable
390
  msgid "Left"
391
  msgstr ""
392
 
393
+ #: classes/views/frm-forms/add_field.php:233
394
  #@ formidable
395
  msgid "Right"
396
  msgstr ""
397
 
398
+ #: classes/views/frm-forms/add_field.php:212
399
  #@ formidable
400
  msgid "Indicate required field with"
401
  msgstr ""
402
 
403
  #: classes/views/frm-forms/add_field_links.php:9
404
+ #: classes/views/frm-forms/sidebar-settings.php:22
405
  #@ formidable
406
  msgid "Preview Form"
407
  msgstr ""
408
 
409
  #: classes/views/frm-forms/add_field_links.php:13
410
+ #: classes/views/frm-forms/sidebar-settings.php:26
 
411
  #@ formidable
412
  msgid "Preview in Current Theme"
413
  msgstr ""
414
 
415
+ #: classes/views/frm-forms/add_field_links.php:41
416
  #@ formidable
417
  msgid "Pro Fields"
418
  msgstr ""
419
 
420
+ #: classes/controllers/FrmFormsController.php:364
421
+ #: pro/classes/controllers/FrmProDisplaysController.php:206
422
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1784
423
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1798
424
+ #: pro/classes/views/displays/mb_form_disp_type.php:48
425
+ #: pro/classes/views/displays/mb_form_disp_type.php:58
 
 
 
426
  #@ formidable
427
  msgid "Key"
428
  msgstr ""
429
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  #: classes/views/frm-forms/default-templates.php:3
431
  #@ formidable
432
  msgid "Default Templates"
433
  msgstr ""
434
 
435
+ #: classes/helpers/FrmListHelper.php:79
 
 
 
 
 
 
 
 
 
 
 
 
 
436
  #: classes/views/frm-forms/default-templates.php:12
 
437
  #@ formidable
438
  msgid "No Templates Found"
439
  msgstr ""
440
 
441
+ #: pro/classes/views/displays/mb_advanced.php:98
 
 
 
 
 
 
 
 
 
 
 
442
  #@ formidable
443
  msgid "Copy"
444
  msgstr ""
445
 
446
+ #: classes/views/frm-forms/default-templates.php:21
447
  #: classes/views/frm-forms/default-templates.php:30
448
+ #: pro/classes/controllers/FrmProDisplaysController.php:62
449
+ #: pro/classes/controllers/FrmProDisplaysController.php:63
450
+ #: pro/classes/helpers/FrmProListHelper.php:182
451
  #: pro/classes/views/displays/submitbox_actions.php:2
452
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:15
 
453
  #@ formidable
454
  msgid "View"
455
  msgstr ""
459
  msgid "Custom Templates"
460
  msgstr ""
461
 
462
+ #: classes/views/frm-forms/add_field_links.php:114
463
+ #: classes/views/frm-forms/edit.php:24
464
+ #: classes/views/frm-forms/edit.php:38
465
+ #: classes/views/frm-forms/settings.php:22
466
+ #: classes/views/frm-forms/settings.php:180
467
+ #: pro/classes/helpers/FrmProEntriesHelper.php:165
468
+ #: pro/classes/models/FrmProSettings.php:11
 
 
 
 
 
 
469
  #@ formidable
470
  msgid "Update"
471
  msgstr ""
472
 
473
+ #: classes/views/frm-forms/add_field.php:74
474
+ #: classes/views/frm-forms/add_field.php:118
 
 
475
  #: classes/views/frm-forms/add_field_links.php:12
476
+ #: classes/views/frm-forms/edit.php:25
477
+ #: classes/views/frm-forms/edit.php:39
478
+ #: classes/views/frm-forms/new.php:25
479
+ #: classes/views/frm-forms/new.php:39
480
+ #: classes/views/frm-forms/settings.php:23
481
+ #: classes/views/frm-forms/settings.php:181
482
+ #: classes/views/frm-forms/sidebar-settings.php:25
483
+ #: pro/classes/controllers/FrmUpdatesController.php:173
484
+ #: pro/classes/views/frmpro-entries/edit.php:32
485
+ #: pro/classes/views/frmpro-entries/new.php:45
 
 
 
486
  #@ formidable
487
  msgid "or"
488
  msgstr ""
489
 
490
+ #: classes/controllers/FrmAppController.php:296
 
491
  #: classes/views/frm-fields/import_choices.php:74
492
+ #: classes/views/frm-forms/edit.php:26
493
+ #: classes/views/frm-forms/edit.php:40
494
+ #: classes/views/frm-forms/new.php:26
495
+ #: classes/views/frm-forms/new.php:40
496
+ #: classes/views/frm-forms/settings.php:24
497
+ #: classes/views/frm-forms/settings.php:182
498
+ #: pro/classes/controllers/FrmProEntriesController.php:1871
499
+ #: pro/classes/controllers/FrmUpdatesController.php:175
500
+ #: pro/classes/views/frmpro-entries/edit.php:33
501
+ #: pro/classes/views/frmpro-entries/new.php:46
502
+ #: pro/classes/views/frmpro-entries/sidebar-new.php:11
503
+ #: pro/classes/views/frmpro-forms/_custom_field_row.php:51
 
504
  #@ formidable
505
  msgid "Cancel"
506
  msgstr ""
507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
  #: classes/views/frm-forms/sidebar-settings.php:5
509
  #@ formidable
510
  msgid "Key and id are generally synonymous. For more information on using this shortcode, click now."
511
  msgstr ""
512
 
513
  #: classes/views/frm-forms/mb_html_tab.php:37
 
514
  #@ formidable
515
  msgid "Form Key"
516
  msgstr ""
517
 
518
+ #: classes/views/frm-forms/settings.php:55
519
  #@ formidable
520
  msgid "Use Formidable styling for this form"
521
  msgstr ""
522
 
523
+ #: classes/views/frm-forms/settings.php:58
524
  #@ formidable
525
  msgid "Submit Button Text"
526
  msgstr ""
527
 
528
+ #: classes/views/frm-forms/settings.php:62
529
  #@ formidable
530
  msgid "Action After Form Submission"
531
  msgstr ""
532
 
533
+ #: classes/views/frm-forms/settings.php:67
534
+ #: pro/classes/views/frmpro-forms/add_form_options.php:86
535
  #@ formidable
536
  msgid "Display a Message"
537
  msgstr ""
538
 
539
+ #: classes/views/frm-forms/settings.php:68
540
+ #: pro/classes/views/frmpro-forms/add_form_options.php:88
541
  #@ formidable
542
  msgid "Display content from another page"
543
  msgstr ""
544
 
545
+ #: classes/views/frm-forms/settings.php:128
 
 
 
 
 
 
 
 
 
 
546
  #@ formidable
547
  msgid "Before Fields"
548
  msgstr ""
549
 
550
+ #: classes/views/frm-forms/settings.php:144
551
  #@ formidable
552
  msgid "After Fields"
553
  msgstr ""
563
  msgstr ""
564
 
565
  #: classes/views/frm-forms/mb_html_tab.php:7
 
566
  #@ formidable
567
  msgid "Field Key"
568
  msgstr ""
599
  msgstr ""
600
 
601
  #: classes/views/frm-forms/insert_form_popup.php:4
602
+ #: pro/classes/controllers/FrmProXMLController.php:95
603
  #@ formidable
604
  msgid "Please select a form"
605
  msgstr ""
606
 
607
+ #: classes/views/frm-forms/insert_form_popup.php:40
 
 
 
 
 
608
  #@ formidable
609
  msgid "Display form title"
610
  msgstr ""
611
 
612
+ #: classes/views/frm-forms/insert_form_popup.php:41
613
  #@ formidable
614
  msgid "Display form description"
615
  msgstr ""
616
 
617
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1783
618
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1797
619
+ #: pro/classes/views/displays/mb_form_disp_type.php:47
620
+ #: pro/classes/views/displays/mb_form_disp_type.php:57
 
 
621
  #: pro/classes/views/frmpro-entries/google_table.php:8
622
  #: pro/classes/views/frmpro-entries/table.php:5
623
  #@ formidable
624
  msgid "ID"
625
  msgstr ""
626
 
627
+ #: classes/controllers/FrmEntriesController.php:25
628
+ #: classes/controllers/FrmFormsController.php:369
629
+ #: classes/views/frm-entries/list.php:4
 
 
 
630
  #: classes/views/shared/form-nav.php:5
631
+ #: pro/classes/controllers/FrmProEntriesController.php:99
632
+ #: pro/classes/controllers/FrmProEntriesController.php:1152
633
+ #: pro/classes/controllers/FrmProXMLController.php:79
634
  #: pro/classes/views/frmpro-entries/list.php:3
635
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:31
 
636
  #@ formidable
637
  msgid "Entries"
638
  msgstr ""
639
 
640
+ #: classes/views/frm-forms/sidebar-settings.php:15
 
 
641
  #@ formidable
642
  msgid "Direct Link"
643
  msgstr ""
644
 
645
+ #: pro/classes/controllers/FrmProDisplaysController.php:208
646
  #@ formidable
647
  msgid "Shortcode"
648
  msgstr ""
649
 
650
+ #: classes/helpers/FrmListHelper.php:86
 
651
  #@ formidable
652
  msgid "No Forms Found"
653
  msgstr ""
654
 
655
+ #: classes/helpers/FrmListHelper.php:114
656
+ #: pro/classes/controllers/FrmProDisplaysController.php:64
657
+ #: pro/classes/controllers/FrmProEntriesController.php:1619
658
+ #: pro/classes/controllers/FrmProEntriesController.php:1871
659
+ #: pro/classes/helpers/FrmProAppHelper.php:199
660
+ #: pro/classes/helpers/FrmProFieldsHelper.php:1987
661
+ #: pro/classes/helpers/FrmProListHelper.php:172
 
 
 
 
 
 
662
  #: pro/classes/views/frmpro-entries/sidebar-show.php:24
663
+ #@ default
664
  #@ formidable
665
  msgid "Edit"
666
  msgstr ""
667
 
668
+ #: classes/helpers/FrmListHelper.php:92
669
+ #: classes/helpers/FrmListHelper.php:134
670
+ #: pro/classes/controllers/FrmProEntriesController.php:1626
671
+ #: pro/classes/controllers/FrmProEntriesController.php:1697
672
+ #: pro/classes/controllers/FrmProEntriesController.php:1979
673
+ #: pro/classes/helpers/FrmProAppHelper.php:244
674
+ #: pro/classes/helpers/FrmProListHelper.php:138
675
+ #: pro/classes/helpers/FrmProListHelper.php:186
676
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:28
 
 
 
 
 
 
 
 
 
 
 
677
  #: pro/classes/views/frmpro-entries/sidebar-show.php:17
678
+ #@ default
679
  #@ formidable
680
  msgid "Delete"
681
  msgstr ""
682
 
683
+ #: pro/classes/controllers/FrmProDisplaysController.php:201
684
+ #: pro/classes/views/frmpro-entries/show.php:23
 
 
 
 
 
 
 
 
685
  #@ formidable
686
  msgid "Entry"
687
  msgstr ""
688
 
689
+ #: classes/controllers/FrmStatisticsController.php:19
690
+ #: classes/views/frm-statistics/list.php:4
691
+ #: classes/views/shared/form-nav.php:7
 
 
 
 
 
 
 
692
  #: pro/classes/controllers/FrmProStatisticsController.php:12
693
+ #: pro/classes/views/frmpro-statistics/show.php:3
694
  #@ formidable
695
  msgid "Reports"
696
  msgstr ""
697
 
698
+ #: classes/helpers/FrmListHelper.php:128
699
+ #: pro/classes/controllers/FrmProDisplaysController.php:140
700
+ #: pro/classes/helpers/FrmProListHelper.php:185
701
+ #: pro/classes/views/frmpro-entries/sidebar-edit.php:16
 
 
 
702
  #: pro/classes/views/frmpro-entries/sidebar-show.php:8
703
  #@ formidable
704
  msgid "Duplicate"
705
  msgstr ""
706
 
707
+ #: classes/views/frm-forms/add_field_links.php:114
 
708
  #: classes/views/frm-forms/new-selection.php:24
709
+ #: classes/views/frm-forms/new-selection.php:45
710
+ #: classes/views/frm-forms/new.php:24
711
+ #: classes/views/frm-forms/new.php:38
712
  #@ formidable
713
  msgid "Create"
714
  msgstr ""
715
 
716
+ #: classes/controllers/FrmAppController.php:292
717
+ #: classes/controllers/FrmFieldsController.php:220
718
+ #: classes/views/frm-fields/single-option.php:6
719
+ #: classes/views/frm-fields/single-option.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
  #@ formidable
721
  msgid "(Blank)"
722
  msgstr ""
723
 
724
+ #: classes/views/frm-settings/form.php:34
725
+ #: classes/views/frm-settings/form.php:156
726
+ #: pro/classes/views/settings/formroller.php:2
727
  #@ formidable
728
  msgid "Update Options"
729
  msgstr ""
730
 
731
+ #: classes/views/frm-settings/form.php:133
732
  #@ formidable
733
  msgid "Preview Page"
734
  msgstr ""
735
 
736
+ #: pro/classes/views/settings/general_style.php:2
737
  #@ formidable
738
  msgid "Include the jQuery CSS on ALL pages"
739
  msgstr ""
740
 
741
+ #: pro/classes/views/settings/general_style.php:2
742
  #@ formidable
743
  msgid "The styling for the date field calendar. Some users may be using this css on pages other than just the ones that include a date field."
744
  msgstr ""
745
 
746
+ #: classes/views/frm-settings/form.php:56
747
  #@ formidable
748
  msgid "User Permissions"
749
  msgstr ""
750
 
751
+ #: classes/views/frm-settings/form.php:56
752
  #@ formidable
753
  msgid "Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu."
754
  msgstr ""
755
 
756
+ #: classes/views/frm-settings/form.php:92
757
  #@ formidable
758
  msgid "Default Messages"
759
  msgstr ""
760
 
761
+ #: classes/views/frm-settings/form.php:92
762
  #@ formidable
763
  msgid "You can override the success message and submit button settings on individual forms."
764
  msgstr ""
765
 
766
+ #: classes/views/frm-settings/form.php:111
767
  #@ formidable
768
  msgid "Success Message"
769
  msgstr ""
770
 
771
+ #: classes/views/frm-settings/form.php:111
772
  #@ formidable
773
  msgid "The de