Formidable Forms – Form Builder for WordPress - Version 1.04.07

Version Description

  • Minor bug fixes
  • PRO: Fixed bug preventing some hidden field values from being saved
  • PRO: Removed PHP warnings some users were seeing on the form entries page
Download this release

Release Info

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

Code changes from version 1.03.03 to 1.04.07

Files changed (69) hide show
  1. classes/controllers/FrmApiController.php +4 -1
  2. classes/controllers/FrmAppController.php +84 -24
  3. classes/controllers/FrmEntriesController.php +10 -6
  4. classes/controllers/FrmFieldsController.php +68 -16
  5. classes/controllers/FrmFormsController.php +53 -22
  6. classes/controllers/FrmSettingsController.php +13 -6
  7. classes/controllers/FrmStatisticsController.php +4 -1
  8. classes/helpers/FrmAppHelper.php +27 -32
  9. classes/helpers/FrmEntriesHelper.php +5 -5
  10. classes/helpers/FrmFieldsHelper.php +88 -39
  11. classes/helpers/FrmFormsHelper.php +11 -30
  12. classes/models/FrmDb.php +52 -19
  13. classes/models/FrmEntry.php +102 -39
  14. classes/models/FrmEntryMeta.php +38 -50
  15. classes/models/FrmField.php +21 -11
  16. classes/models/FrmForm.php +12 -11
  17. classes/models/FrmNotification.php +18 -11
  18. classes/models/FrmSettings.php +60 -10
  19. classes/models/FrmUpdate.php +21 -21
  20. classes/recaptchalib.php +277 -0
  21. classes/templates/contact.php +16 -16
  22. classes/views/frm-entries/direct.php +2 -2
  23. classes/views/frm-entries/form.php +54 -43
  24. classes/views/frm-entries/frm-entry.php +21 -5
  25. classes/views/frm-entries/list.php +2 -2
  26. classes/views/frm-entries/new.php +11 -11
  27. classes/views/frm-fields/input.php +36 -20
  28. classes/views/frm-fields/show.php +1 -1
  29. classes/views/frm-fields/single-option.php +6 -6
  30. classes/views/frm-forms/add_field.php +39 -36
  31. classes/views/frm-forms/add_field_links.php +34 -35
  32. classes/views/frm-forms/default-templates.php +3 -3
  33. classes/views/frm-forms/edit.php +23 -15
  34. classes/views/frm-forms/footer.php +14 -110
  35. classes/views/frm-forms/form.php +36 -29
  36. classes/views/frm-forms/insert_form_popup.php +69 -0
  37. classes/views/frm-forms/list.php +44 -36
  38. classes/views/frm-forms/new-option-js.php +1 -1
  39. classes/views/frm-forms/new-selection.php +3 -3
  40. classes/views/frm-forms/new.php +17 -15
  41. classes/views/frm-settings/form.php +74 -21
  42. classes/views/frm-statistics/list.php +2 -2
  43. classes/views/shared/errors.php +1 -1
  44. classes/views/shared/item-table-nav.php +1 -1
  45. css/frm_admin.css +93 -24
  46. css/frm_display.css +20 -10
  47. css/ui-lightness/{jquery-ui-1.7.2.custom.css → jquery-ui.css} +1 -43
  48. formidable.php +30 -13
  49. images/blackglass-captcha.png +0 -0
  50. images/clean-captcha.png +0 -0
  51. images/icon_16_bw.png +0 -0
  52. images/icon_color_arrow.gif +0 -0
  53. images/marker.png +0 -0
  54. images/mask.png +0 -0
  55. images/menu-bits-vs.gif +0 -0
  56. images/menuhoverbg.png +0 -0
  57. images/red-captcha.png +0 -0
  58. images/tr_icons_white.png +0 -0
  59. images/wheel.png +0 -0
  60. images/white-captcha.png +0 -0
  61. js/formidable.js +141 -73
  62. js/jquery/jquery-ui-themepicker.js +11 -85
  63. js/jquery/jquery.editinplace.js +6 -2
  64. js/jquery/jquery.editinplace.packed.js +1 -1
  65. languages/formidable-en_US.po +3758 -0
  66. languages/formidable-pt_BR.mo +0 -0
  67. languages/formidable-pt_BR.po +3758 -0
  68. languages/formidable-xx_XX.pot +1 -0
  69. readme.txt +113 -15
classes/controllers/FrmApiController.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
-
 
 
 
3
  class FrmApiController{
4
  function FrmApiController(){
5
  }
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmApiController{
7
  function FrmApiController(){
8
  }
classes/controllers/FrmAppController.php CHANGED
@@ -1,14 +1,19 @@
1
  <?php
2
-
 
 
 
3
  class FrmAppController{
4
  function FrmAppController(){
5
  add_action('admin_menu', array( &$this, 'menu' ), 1);
 
6
  add_filter('frm_nav_array', array( &$this, 'frm_nav'), 1);
7
  add_filter('plugin_action_links_'.FRM_PLUGIN_NAME.'/'.FRM_PLUGIN_NAME.'.php', array( &$this, 'settings_link'), 10, 2 );
8
- add_action('after_plugin_row_'.FRM_PLUGIN_NAME.'/'.FRM_PLUGIN_NAME.'.php', array( &$this,'frmpro_action_needed'));
9
- add_action('admin_notices', array( &$this,'frmpro_get_started_headline'));
10
  add_filter('the_content', array( &$this, 'page_route' ), 1);
11
  add_action('init', array(&$this, 'front_head'));
 
12
  add_action('admin_init', array( &$this, 'admin_js'));
13
  register_activation_hook(FRM_PATH."/formidable.php", array( &$this, 'install' ));
14
  add_action('wp_ajax_frm_uninstall', array(&$this, 'uninstall') );
@@ -23,43 +28,51 @@ class FrmAppController{
23
 
24
  function menu(){
25
  if(current_user_can('administrator') and !current_user_can('frm_view_forms')){
26
- global $wp_roles;
27
  $frm_roles = FrmAppHelper::frm_capabilities();
28
  foreach($frm_roles as $frm_role => $frm_role_description)
29
- $wp_roles->add_cap( 'administrator', $frm_role );
30
  }
31
  global $frmpro_is_installed;
32
  if(current_user_can('frm_view_forms')){
33
  global $frm_forms_controller;
34
- add_menu_page(FRM_PLUGIN_TITLE, FRM_PLUGIN_TITLE, 'frm_view_forms', FRM_PLUGIN_NAME, array($frm_forms_controller,'route'), FRM_URL . '/images/icon_16.png');
35
  }elseif(current_user_can('frm_view_entries') and $frmpro_is_installed){
36
  global $frmpro_entries_controller;
37
- add_menu_page(FRM_PLUGIN_TITLE, FRM_PLUGIN_TITLE, 'frm_view_entries', FRM_PLUGIN_NAME, array($frmpro_entries_controller,'route'), FRM_URL . '/images/icon_16.png');
38
  }
39
  }
40
 
 
 
 
 
 
 
 
 
41
  function frm_nav(){
42
  $nav = array();
43
  if(current_user_can('frm_view_forms'))
44
- $nav[FRM_PLUGIN_NAME] = __('Forms', FRM_PLUGIN_NAME);
45
 
46
  if(current_user_can('frm_edit_forms'))
47
- $nav[FRM_PLUGIN_NAME . '-new'] = __('Create a Form', FRM_PLUGIN_NAME);
48
 
49
  if(current_user_can('frm_view_forms'))
50
- $nav[FRM_PLUGIN_NAME . '-templates'] = __('Templates', FRM_PLUGIN_NAME);
51
  return $nav;
52
  }
53
 
54
  // Adds a settings link to the plugins page
55
  function settings_link($links, $file){
56
- $settings = '<a href="'.admin_url('admin.php?page='.FRM_PLUGIN_NAME).'">' . __('Settings', FRM_PLUGIN_NAME) . '</a>';
57
  array_unshift($links, $settings);
58
 
59
  return $links;
60
  }
61
 
62
- function frmpro_action_needed( $plugin ){
63
  global $frm_update;
64
 
65
  if( $frm_update->pro_is_authorized() and !$frm_update->pro_is_installed() ){
@@ -68,12 +81,12 @@ class FrmAppController{
68
  $frm_update->queue_update(true);
69
  $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $plugin, 'upgrade-plugin_' . $plugin);
70
  ?>
71
- <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', FRM_PLUGIN_NAME), '<a href="'.$inst_install_url.'">', '</a>'); ?></div></td>
72
  <?php
73
  }
74
  }
75
 
76
- function frmpro_get_started_headline(){
77
  global $frm_update;
78
 
79
  // Don't display this error as we're upgrading the thing... cmon
@@ -82,12 +95,23 @@ class FrmAppController{
82
 
83
  if (IS_WPMU and $frm_update->pro_wpmu and !is_site_admin())
84
  return;
 
 
 
 
 
 
 
 
 
 
 
85
 
86
  if( $frm_update->pro_is_authorized() and !$frm_update->pro_is_installed()){
87
  $frm_update->queue_update(true);
88
  $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $frm_update->plugin_name, 'upgrade-plugin_' . $frm_update->plugin_name);
89
  ?>
90
- <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', FRM_PLUGIN_NAME), '<a href="'.$inst_install_url.'">','</a>'); ?></div>
91
  <?php
92
  }
93
  }
@@ -109,18 +133,52 @@ class FrmAppController{
109
  }
110
 
111
  function front_head(){
112
- global $frm_settings, $frm_version;
113
 
114
  if (IS_WPMU){
115
- $db_version = 1.03; // this is the version of the database we're moving to
116
  $old_db_version = get_option('frm_db_version');
117
- if ($db_version != $old_db_version)
118
  $this->install();
119
  }
 
120
 
121
- if(!is_admin() and !$frm_settings->custom_stylesheet){
122
- $css = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css');
123
- wp_enqueue_style('frm-forms', $css, array(), $frm_version);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
  }
125
  }
126
 
@@ -134,8 +192,10 @@ class FrmAppController{
134
  global $frmdb;
135
  $frmdb->uninstall();
136
  wp_die(__('Formidable was successfully uninstalled.', 'formidable'));
137
- }else
138
- wp_die(__('You don\'t have permission to do that!', 'formidable'));
 
 
139
  }
140
 
141
  // Routes for wordpress pages -- we're just replacing content here folks.
@@ -167,7 +227,7 @@ class FrmAppController{
167
  function standalone_route($controller, $action=''){
168
  global $frm_forms_controller;
169
 
170
- if($controller=='forms' and $action != 'export' and $action != 'import')
171
  $frm_forms_controller->preview($this->get_param('form'));
172
  else
173
  do_action('frm_standalone_route', $controller, $action);
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmAppController{
7
  function FrmAppController(){
8
  add_action('admin_menu', array( &$this, 'menu' ), 1);
9
+ add_action('admin_head', array(&$this, 'menu_css'));
10
  add_filter('frm_nav_array', array( &$this, 'frm_nav'), 1);
11
  add_filter('plugin_action_links_'.FRM_PLUGIN_NAME.'/'.FRM_PLUGIN_NAME.'.php', array( &$this, 'settings_link'), 10, 2 );
12
+ add_action('after_plugin_row_'.FRM_PLUGIN_NAME.'/'.FRM_PLUGIN_NAME.'.php', array( &$this,'pro_action_needed'));
13
+ add_action('admin_notices', array( &$this,'pro_get_started_headline'));
14
  add_filter('the_content', array( &$this, 'page_route' ), 1);
15
  add_action('init', array(&$this, 'front_head'));
16
+ add_action('wp_footer', array(&$this, 'footer_js'), 1);
17
  add_action('admin_init', array( &$this, 'admin_js'));
18
  register_activation_hook(FRM_PATH."/formidable.php", array( &$this, 'install' ));
19
  add_action('wp_ajax_frm_uninstall', array(&$this, 'uninstall') );
28
 
29
  function menu(){
30
  if(current_user_can('administrator') and !current_user_can('frm_view_forms')){
31
+ global $current_user;
32
  $frm_roles = FrmAppHelper::frm_capabilities();
33
  foreach($frm_roles as $frm_role => $frm_role_description)
34
+ $current_user->add_cap( $frm_role );
35
  }
36
  global $frmpro_is_installed;
37
  if(current_user_can('frm_view_forms')){
38
  global $frm_forms_controller;
39
+ add_object_page(FRM_PLUGIN_TITLE, FRM_PLUGIN_TITLE, 'frm_view_forms', FRM_PLUGIN_NAME, array($frm_forms_controller,'route'), 'div');
40
  }elseif(current_user_can('frm_view_entries') and $frmpro_is_installed){
41
  global $frmpro_entries_controller;
42
+ add_object_page(FRM_PLUGIN_TITLE, FRM_PLUGIN_TITLE, 'frm_view_entries', FRM_PLUGIN_NAME, array($frmpro_entries_controller,'route'), 'div');
43
  }
44
  }
45
 
46
+ function menu_css(){ ?>
47
+ <style type="text/css">
48
+ #adminmenu .toplevel_page_formidable div.wp-menu-image{background: url(<?php echo FRM_IMAGES_URL ?>/icon_16_bw.png) no-repeat center;}
49
+ #adminmenu .toplevel_page_formidable:hover div.wp-menu-image{background: url(<?php echo FRM_IMAGES_URL ?>/icon_16.png) no-repeat center;}
50
+ </style>
51
+ <?php
52
+ }
53
+
54
  function frm_nav(){
55
  $nav = array();
56
  if(current_user_can('frm_view_forms'))
57
+ $nav[FRM_PLUGIN_NAME] = __('Forms', 'formidable');
58
 
59
  if(current_user_can('frm_edit_forms'))
60
+ $nav[FRM_PLUGIN_NAME . '-new'] = __('Create a Form', 'formidable');
61
 
62
  if(current_user_can('frm_view_forms'))
63
+ $nav[FRM_PLUGIN_NAME . '-templates'] = __('Templates', 'formidable');
64
  return $nav;
65
  }
66
 
67
  // Adds a settings link to the plugins page
68
  function settings_link($links, $file){
69
+ $settings = '<a href="'.admin_url('admin.php?page='.FRM_PLUGIN_NAME).'">' . __('Settings', 'formidable') . '</a>';
70
  array_unshift($links, $settings);
71
 
72
  return $links;
73
  }
74
 
75
+ function pro_action_needed( $plugin ){
76
  global $frm_update;
77
 
78
  if( $frm_update->pro_is_authorized() and !$frm_update->pro_is_installed() ){
81
  $frm_update->queue_update(true);
82
  $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $plugin, 'upgrade-plugin_' . $plugin);
83
  ?>
84
+ <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>
85
  <?php
86
  }
87
  }
88
 
89
+ function pro_get_started_headline(){
90
  global $frm_update;
91
 
92
  // Don't display this error as we're upgrading the thing... cmon
95
 
96
  if (IS_WPMU and $frm_update->pro_wpmu and !is_site_admin())
97
  return;
98
+
99
+ if(!isset($_GET['activate'])){
100
+ global $frmpro_is_installed, $frm_db_version;
101
+ $db_version = get_option('frm_db_version');
102
+ $pro_db_version = ($frmpro_is_installed) ? get_option('frmpro_db_version') : false;
103
+ if((int)$db_version < (int)$frm_db_version or ($pro_db_version and (int)$pro_db_version < 4)){ //this number should match the db_version in FrmDb.php
104
+ ?>
105
+ <div class="error" style="padding:7px;"><?php _e('Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this.', 'formidable'); ?></div>
106
+ <?php
107
+ }
108
+ }
109
 
110
  if( $frm_update->pro_is_authorized() and !$frm_update->pro_is_installed()){
111
  $frm_update->queue_update(true);
112
  $inst_install_url = wp_nonce_url('update.php?action=upgrade-plugin&plugin=' . $frm_update->plugin_name, 'upgrade-plugin_' . $frm_update->plugin_name);
113
  ?>
114
+ <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>
115
  <?php
116
  }
117
  }
133
  }
134
 
135
  function front_head(){
136
+ global $frm_settings, $frm_version, $frm_db_version;
137
 
138
  if (IS_WPMU){
139
+ //$frm_db_version is the version of the database we're moving to
140
  $old_db_version = get_option('frm_db_version');
141
+ if ((int)$frm_db_version != (int)$old_db_version)
142
  $this->install();
143
  }
144
+ wp_enqueue_script('jquery');
145
 
146
+ if(!is_admin() and $frm_settings->load_style == 'all'){
147
+ $css = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css', 'header');
148
+ if(is_array($css)){
149
+ foreach($css as $css_key => $file)
150
+ wp_enqueue_style('frm-forms'.$css_key, $file, array(), $frm_version);
151
+ }else
152
+ wp_enqueue_style('frm-forms', $css, array(), $frm_version);
153
+
154
+ global $frm_css_loaded;
155
+ $frm_css_loaded = true;
156
+ }
157
+ }
158
+
159
+ function footer_js($location='footer'){
160
+ global $frm_load_css, $frm_settings, $frm_version, $frm_css_loaded;
161
+
162
+ if($frm_load_css and !is_admin() and ($frm_settings->load_style != 'none')){
163
+ if($frm_css_loaded)
164
+ $css = apply_filters('get_frm_stylesheet', '', $location);
165
+ else
166
+ $css = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css', $location);
167
+
168
+ if(!empty($css)){
169
+ echo "\n".'<script type="text/javascript">';
170
+ if(is_array($css)){
171
+ foreach($css as $css_key => $file){
172
+ 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"));';
173
+ //wp_enqueue_style('frm-forms'.$css_key, $file, array(), $frm_version);
174
+ }
175
+ }else{
176
+ echo 'jQuery("head").append(unescape("%3Clink rel=\'stylesheet\' id=\'frm-forms-css\' href=\''. $css. '\' type=\'text/css\' media=\'all\' /%3E"));';
177
+ }
178
+
179
+ //wp_enqueue_style('frm-forms', $css, array(), $frm_version);
180
+ echo '</script>'."\n";
181
+ }
182
  }
183
  }
184
 
192
  global $frmdb;
193
  $frmdb->uninstall();
194
  wp_die(__('Formidable was successfully uninstalled.', 'formidable'));
195
+ }else{
196
+ global $frm_settings;
197
+ wp_die($frm_settings->admin_permission);
198
+ }
199
  }
200
 
201
  // Routes for wordpress pages -- we're just replacing content here folks.
227
  function standalone_route($controller, $action=''){
228
  global $frm_forms_controller;
229
 
230
+ if($controller=='forms' and !in_array($action, array('export','import','xml')))
231
  $frm_forms_controller->preview($this->get_param('form'));
232
  else
233
  do_action('frm_standalone_route', $controller, $action);
classes/controllers/FrmEntriesController.php CHANGED
@@ -1,7 +1,9 @@
1
  <?php
2
-
 
 
 
3
  class FrmEntriesController{
4
- var $views;
5
 
6
  function FrmEntriesController(){
7
  add_action('admin_menu', array( &$this, 'menu' ), 20);
@@ -10,7 +12,7 @@ class FrmEntriesController{
10
  function menu(){
11
  global $frmpro_is_installed;
12
  if(!$frmpro_is_installed){
13
- add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' |'. __('Pro Entries', FRM_PLUGIN_NAME), __('Pro Entries', FRM_PLUGIN_NAME), 'administrator', FRM_PLUGIN_NAME.'-entries',array($this,'list_entries'));
14
  //add_action('admin_head-'.FRM_PLUGIN_NAME.'_page_'.FRM_PLUGIN_NAME.'-entries', array($this,'head'));
15
  }
16
  }
@@ -24,13 +26,15 @@ class FrmEntriesController{
24
  if ($id) $form = $frm_form->getOne($id);
25
  else if ($key) $form = $frm_form->getOne($key);
26
 
27
- $form_options = stripslashes_deep(maybe_unserialize($form->options));
28
  if (!$form or $form->is_template or $form->status == 'draft')
29
- return __('Please select a valid form', FRM_PLUGIN_NAME);
30
  else if ($form->logged_in and !$user_ID){
31
  global $frm_settings;
32
  return $frm_settings->login_msg;
33
- }else if($form->logged_in and $user_ID and isset($form_options['logged_in_role']) and $form_options['logged_in_role'] != ''){
 
 
 
34
  if(FrmAppHelper::user_has_permission($form_options['logged_in_role']))
35
  return FrmEntriesController::get_form(FRM_VIEWS_PATH.'/frm-entries/frm-entry.php', $form, $title, $description);
36
  else{
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmEntriesController{
 
7
 
8
  function FrmEntriesController(){
9
  add_action('admin_menu', array( &$this, 'menu' ), 20);
12
  function menu(){
13
  global $frmpro_is_installed;
14
  if(!$frmpro_is_installed){
15
+ add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' |'. __('Pro Entries', 'formidable'), __('Pro Entries', 'formidable'), 'administrator', FRM_PLUGIN_NAME.'-entries',array($this,'list_entries'));
16
  //add_action('admin_head-'.FRM_PLUGIN_NAME.'_page_'.FRM_PLUGIN_NAME.'-entries', array($this,'head'));
17
  }
18
  }
26
  if ($id) $form = $frm_form->getOne($id);
27
  else if ($key) $form = $frm_form->getOne($key);
28
 
 
29
  if (!$form or $form->is_template or $form->status == 'draft')
30
+ return __('Please select a valid form', 'formidable');
31
  else if ($form->logged_in and !$user_ID){
32
  global $frm_settings;
33
  return $frm_settings->login_msg;
34
+ }
35
+
36
+ $form_options = stripslashes_deep(maybe_unserialize($form->options));
37
+ if($form->logged_in and $user_ID and isset($form_options['logged_in_role']) and $form_options['logged_in_role'] != ''){
38
  if(FrmAppHelper::user_has_permission($form_options['logged_in_role']))
39
  return FrmEntriesController::get_form(FRM_VIEWS_PATH.'/frm-entries/frm-entry.php', $form, $title, $description);
40
  else{
classes/controllers/FrmFieldsController.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
-
 
 
 
3
  class FrmFieldsController{
4
  function FrmFieldsController(){
5
  add_action('wp_ajax_frm_insert_field', array(&$this, 'create') );
@@ -8,6 +11,7 @@ class FrmFieldsController{
8
  add_action('wp_ajax_frm_mark_required', array(&$this, 'mark_required') );
9
  add_action('wp_ajax_frm_clear_on_focus', array(&$this, 'clear_on_focus') );
10
  add_action('wp_ajax_frm_default_blank', array(&$this, 'default_blank') );
 
11
  add_action('wp_ajax_frm_delete_field', array(&$this, 'destroy') );
12
  add_action('wp_ajax_frm_add_field_option',array(&$this, 'add_option'));
13
  add_action('wp_ajax_frm_field_option_ipe', array(&$this, 'edit_option') );
@@ -81,6 +85,33 @@ class FrmFieldsController{
81
  die();
82
  }
83
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  function destroy(){
85
  global $frm_field;
86
  $field_id = $frm_field->destroy($_POST['field_id']);
@@ -94,7 +125,10 @@ class FrmFieldsController{
94
  $id = $_POST['field_id'];
95
  $field = $frm_field->getOne($id);
96
  $options = unserialize($field->options);
97
- $last = max(array_keys($options));
 
 
 
98
  $opt_key = $last + 1;
99
  $opt = 'Option '.(count($options)+1);
100
  $options[$opt_key] = $opt;
@@ -146,6 +180,11 @@ class FrmFieldsController{
146
 
147
  if ($frmpro_is_installed) return $type;
148
 
 
 
 
 
 
149
  $frm_field_selection = FrmFieldsHelper::field_selection();
150
  $types = array_keys($frm_field_selection);
151
  if (!in_array($type, $types) && $type != 'captcha')
@@ -175,24 +214,37 @@ class FrmFieldsController{
175
  $class = $field['type'];
176
  if($field['type'] == 'date')
177
  $class .= " frm_date";
178
-
179
- $action = FrmAppHelper::get_param('action');
180
- if(isset($field['required']) and $field['required']){
181
- if($field['type'] == 'file' and $action == 'edit'){
182
- //don't add the required class if this is a file upload when editing
183
- }else
184
- $class .= " required";
185
- }
186
-
187
- if(isset($field['size']) and $field['size'] > 0){
188
- if($field['type'] != 'textarea')
189
  echo ' size="'. $field['size'] .'"';
190
  $class .= " auto_width";
191
  }
192
- if(isset($field['max']) and !in_array($field['type'], array('textarea','rte')))
 
193
  echo ' maxlength="'. $field['max'] .'"';
194
- if(isset($field['clear_on_focus']) and $field['clear_on_focus'])
195
- echo ' onfocus="frmClearDefault(\''.$field['default_value'].'\', this)" onblur="frmReplaceDefault(\''.$field['default_value'].'\', this)"';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  echo ' class="'.$class.'"';
197
  }
198
  }
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmFieldsController{
7
  function FrmFieldsController(){
8
  add_action('wp_ajax_frm_insert_field', array(&$this, 'create') );
11
  add_action('wp_ajax_frm_mark_required', array(&$this, 'mark_required') );
12
  add_action('wp_ajax_frm_clear_on_focus', array(&$this, 'clear_on_focus') );
13
  add_action('wp_ajax_frm_default_blank', array(&$this, 'default_blank') );
14
+ add_action('wp_ajax_frm_duplicate_field', array(&$this, 'duplicate') );
15
  add_action('wp_ajax_frm_delete_field', array(&$this, 'destroy') );
16
  add_action('wp_ajax_frm_add_field_option',array(&$this, 'add_option'));
17
  add_action('wp_ajax_frm_field_option_ipe', array(&$this, 'edit_option') );
85
  die();
86
  }
87
 
88
+ function duplicate(){
89
+ global $frmdb, $frm_field, $frm_app_helper, $frm_ajax_url;
90
+
91
+ $copy_field = $frm_field->getOne($_POST['field_id']);
92
+ if (!$copy_field) return;
93
+
94
+ $values = array();
95
+ $values['field_key'] = FrmAppHelper::get_unique_key('', $frmdb->fields, 'field_key');
96
+ $values['field_options'] = unserialize($copy_field->field_options);
97
+ $values['form_id'] = $copy_field->form_id;
98
+ foreach (array('name','description','type','default_value','options','required') as $col)
99
+ $values[$col] = $copy_field->{$col};
100
+ $field_count = $frm_app_helper->getRecordCount("form_id=$copy_field->form_id", $frmdb->fields);
101
+ $values['field_order'] = $field_count + 1;
102
+
103
+ $field_id = $frm_field->create($values);
104
+
105
+ if ($field_id){
106
+ $field = FrmFieldsHelper::setup_edit_vars($frm_field->getOne($field_id));
107
+ $field_name = "item_meta[$field_id]";
108
+ $id = $field['form_id'];
109
+ require(FRM_VIEWS_PATH.'/frm-forms/add_field.php');
110
+ require(FRM_VIEWS_PATH.'/frm-forms/new-field-js.php');
111
+ }
112
+ die();
113
+ }
114
+
115
  function destroy(){
116
  global $frm_field;
117
  $field_id = $frm_field->destroy($_POST['field_id']);
125
  $id = $_POST['field_id'];
126
  $field = $frm_field->getOne($id);
127
  $options = unserialize($field->options);
128
+ if(!empty($options))
129
+ $last = max(array_keys($options));
130
+ else
131
+ $last = 0;
132
  $opt_key = $last + 1;
133
  $opt = 'Option '.(count($options)+1);
134
  $options[$opt_key] = $opt;
180
 
181
  if ($frmpro_is_installed) return $type;
182
 
183
+ if($type == 'scale' || $type == '10radio')
184
+ $type = 'radio';
185
+ else if($type == 'rte')
186
+ $type = 'textarea';
187
+
188
  $frm_field_selection = FrmFieldsHelper::field_selection();
189
  $types = array_keys($frm_field_selection);
190
  if (!in_array($type, $types) && $type != 'captcha')
214
  $class = $field['type'];
215
  if($field['type'] == 'date')
216
  $class .= " frm_date";
217
+
218
+ if(isset($field['size']) and $field['size'] > 0){
219
+ if($field['type'] != 'textarea' and $field['type'] != 'select')
 
 
 
 
 
 
 
 
220
  echo ' size="'. $field['size'] .'"';
221
  $class .= " auto_width";
222
  }
223
+
224
+ if(isset($field['max']) and !in_array($field['type'], array('textarea','rte')) and !empty($field['max']))
225
  echo ' maxlength="'. $field['max'] .'"';
226
+
227
+ if(!is_admin() or !isset($_GET) or !isset($_GET['page']) or $_GET['page'] == 'formidable_entries'){
228
+ $action = FrmAppHelper::get_param('action');
229
+ if(isset($field['required']) and $field['required']){
230
+ //echo ' required="required"';
231
+ if($field['type'] == 'file' and $action == 'edit'){
232
+ //don't add the required class if this is a file upload when editing
233
+ }else
234
+ $class .= " required";
235
+ }
236
+
237
+ if(isset($field['default_value']) and !empty($field['default_value']) and !in_array($field['type'], array('select','radio','checkbox','hidden')))
238
+ echo ' placeholder="'.$field['default_value'].'"';
239
+
240
+ if(isset($field['clear_on_focus']) and $field['clear_on_focus']){
241
+ echo ' onfocus="frmClearDefault(\''.$field['default_value'].'\', this)" onblur="frmReplaceDefault(\''.$field['default_value'].'\', this)"';
242
+
243
+ if($field['value'] == $field['default_value'])
244
+ echo ' style="font-style:italic;"';
245
+ }
246
+ }
247
+
248
  echo ' class="'.$class.'"';
249
  }
250
  }
classes/controllers/FrmFormsController.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
-
 
 
 
3
  class FrmFormsController{
4
  function FrmFormsController(){
5
  add_action('admin_menu', array( &$this, 'menu' ));
@@ -9,30 +12,34 @@ class FrmFormsController{
9
  add_action('wp_ajax_frm_form_name_in_place_edit', array(&$this, 'edit_name') );
10
  add_action('wp_ajax_frm_form_desc_in_place_edit', array(&$this, 'edit_description') );
11
  add_action('wp_ajax_frm_delete_form_wo_fields',array(&$this, 'destroy_wo_fields'));
 
 
 
12
  }
13
 
14
  function menu(){
15
- add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Forms', FRM_PLUGIN_NAME), __('Forms', FRM_PLUGIN_NAME), 'frm_view_forms', FRM_PLUGIN_NAME, array(&$this,'route'));
16
- add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Create a Form', FRM_PLUGIN_NAME), __('Create a Form', FRM_PLUGIN_NAME), 'frm_edit_forms', FRM_PLUGIN_NAME.'-new', array(&$this,'new_form'));
17
- add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Templates', FRM_PLUGIN_NAME), __('Templates', FRM_PLUGIN_NAME), 'frm_view_forms', FRM_PLUGIN_NAME.'-templates', array(&$this, 'template_list'));
18
  }
19
 
20
  function head(){
21
  global $frm_settings;
22
- if(!$frm_settings->custom_stylesheet)
23
- $css_file = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css');
24
  $js_file = array(FRM_URL . '/js/jquery/jquery-ui-themepicker.js', FRM_URL.'/js/jquery/jquery.editinplace.packed.js');
25
  require(FRM_VIEWS_PATH . '/shared/head.php');
26
  }
27
 
28
  function list_form(){
29
  $params = $this->get_params();
30
- $errors = apply_filters('frm_admin_list_form_action', $errors);
31
  return $this->display_forms_list($params, '', false, false, $errors);
32
  }
33
 
34
  function template_list(){
35
  $_POST['template'] = 1;
 
36
  return $this->display_forms_list();
37
  }
38
 
@@ -65,9 +72,8 @@ class FrmFormsController{
65
  $values = FrmAppHelper::setup_edit_vars($record,'forms',$fields,true);
66
  require_once(FRM_VIEWS_PATH.'/frm-forms/new.php');
67
  }else{
68
- $items = $frm_entry->getAll('',' ORDER BY it.name');
69
  $record = $frm_form->update( $id, $_POST, true );
70
- $message = __('Form was Successfully Created', FRM_PLUGIN_NAME);
71
  $params = $this->get_params();
72
  return $this->display_forms_list($params, $message);
73
  }
@@ -102,7 +108,7 @@ class FrmFormsController{
102
  return $this->get_edit_vars($id, $errors);
103
  }else{
104
  $record = $frm_form->update( $_POST['id'], $_POST );
105
- $message = __('Form was Successfully Updated', FRM_PLUGIN_NAME);
106
  return $this->get_edit_vars($id, '', $message);
107
  }
108
  }
@@ -112,11 +118,11 @@ class FrmFormsController{
112
 
113
  $params = $this->get_params();
114
  $record = $frm_form->duplicate( $params['id'], $params['template'] );
115
- $message = ($params['template']) ? __('Form template was Successfully Created', FRM_PLUGIN_NAME) : __('Form was Successfully Copied', FRM_PLUGIN_NAME);
116
  if ($record)
117
  return $this->get_edit_vars($record, '', $message, true);
118
  else
119
- return $this->display_forms_list($params, __('There was a problem creating new template.', FRM_PLUGIN_NAME));
120
  }
121
 
122
  function page_preview(){
@@ -146,20 +152,22 @@ class FrmFormsController{
146
  if (!$form) $form = $frm_form->getAll('','',' LIMIT 1');
147
  $form_options = stripslashes_deep(maybe_unserialize($form->options));
148
  $description = $title = true;
149
- $custom_style = (isset($form_options['custom_style'])) ? $form_options['custom_style'] : $frm_settings->custom_style;
150
 
151
  require_once(FRM_VIEWS_PATH.'/frm-entries/direct.php');
152
  }
153
 
154
  function destroy(){
155
- if(!current_user_can('frm_delete_forms'))
156
- wp_die(__('You don\'t have permission to delete forms', 'formidable'));
 
 
157
 
158
  global $frm_form;
159
  $params = $this->get_params();
160
  $message = '';
161
  if ($frm_form->destroy( $params['id'] ))
162
- $message = __('Form was Successfully Deleted', FRM_PLUGIN_NAME);
163
  $this->display_forms_list($params, $message, '', 1);
164
  }
165
 
@@ -170,6 +178,30 @@ class FrmFormsController{
170
  $frm_form->destroy($id);
171
  die();
172
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
 
174
  function display_forms_list($params=false, $message='', $page_params_ov = false, $current_page_ov = false, $errors = array()){
175
  global $wpdb, $frmdb, $frm_app_helper, $frm_form, $frm_entry, $frm_page_size, $frmpro_is_installed;
@@ -181,7 +213,7 @@ class FrmFormsController{
181
  $message = FrmAppHelper::frm_get_main_message();
182
 
183
  $controller_file = FRM_PLUGIN_NAME;
184
- $page_params = '';
185
  $where_clause = " (status is NULL OR status = '' OR status = 'published') AND default_template=0 AND is_template = ".$params['template'];
186
 
187
  if ($params['template']){
@@ -197,9 +229,9 @@ class FrmFormsController{
197
  $current_page = $params['paged'];
198
 
199
  if($page_params_ov)
200
- $page_params = $page_params_ov;
201
  else
202
- $page_params = $form_vars['page_params'];
203
 
204
  $sort_str = $form_vars['sort_str'];
205
  $sdir_str = $form_vars['sdir_str'];
@@ -275,12 +307,11 @@ class FrmFormsController{
275
  function get_edit_vars($id, $errors = '', $message='', $create_link=false){
276
  global $frm_app_helper, $frm_entry, $frm_form, $frm_field, $frmpro_is_installed, $frm_ajax_url;
277
  $record = $frm_form->getOne( $id );
278
- $items = $frm_entry->getAll('',' ORDER BY it.name');
279
  $frm_field_selection = FrmFieldsHelper::field_selection();
280
  $fields = $frm_field->getAll("fi.form_id=$id", ' ORDER BY field_order');
281
  $values = FrmAppHelper::setup_edit_vars($record,'forms',$fields,true);
282
  if (isset($values['default_template']) && $values['default_template'])
283
- wp_die(__('That template cannot be edited', FRM_PLUGIN_NAME));
284
  else if($create_link)
285
  require_once(FRM_VIEWS_PATH.'/frm-forms/new.php');
286
  else
@@ -312,7 +343,7 @@ class FrmFormsController{
312
  $values['status'] = 'published';
313
  if($default) $values['default_template'] = 1;
314
 
315
- require_once($templates[$i]);
316
  }
317
  }
318
 
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmFormsController{
7
  function FrmFormsController(){
8
  add_action('admin_menu', array( &$this, 'menu' ));
12
  add_action('wp_ajax_frm_form_name_in_place_edit', array(&$this, 'edit_name') );
13
  add_action('wp_ajax_frm_form_desc_in_place_edit', array(&$this, 'edit_description') );
14
  add_action('wp_ajax_frm_delete_form_wo_fields',array(&$this, 'destroy_wo_fields'));
15
+ add_filter('frm_submit_button', array(&$this, 'submit_button_label'));
16
+ add_filter('media_buttons_context', array(&$this,'insert_form_button'));
17
+ add_action('admin_footer', array(&$this, 'insert_form_popup'));
18
  }
19
 
20
  function menu(){
21
+ add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Forms', 'formidable'), __('Forms', 'formidable'), 'frm_view_forms', FRM_PLUGIN_NAME, array(&$this,'route'));
22
+ add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Create a Form', 'formidable'), __('Create a Form', 'formidable'), 'frm_edit_forms', FRM_PLUGIN_NAME.'-new', array(&$this,'new_form'));
23
+ add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Templates', 'formidable'), __('Templates', 'formidable'), 'frm_view_forms', FRM_PLUGIN_NAME.'-templates', array(&$this, 'template_list'));
24
  }
25
 
26
  function head(){
27
  global $frm_settings;
28
+ if($frm_settings->load_style != 'none')
29
+ $css_file = apply_filters('get_frm_stylesheet', FRM_URL .'/css/frm_display.css', 'header');
30
  $js_file = array(FRM_URL . '/js/jquery/jquery-ui-themepicker.js', FRM_URL.'/js/jquery/jquery.editinplace.packed.js');
31
  require(FRM_VIEWS_PATH . '/shared/head.php');
32
  }
33
 
34
  function list_form(){
35
  $params = $this->get_params();
36
+ $errors = apply_filters('frm_admin_list_form_action', array());
37
  return $this->display_forms_list($params, '', false, false, $errors);
38
  }
39
 
40
  function template_list(){
41
  $_POST['template'] = 1;
42
+ $errors = apply_filters('frm_admin_list_form_action', array());
43
  return $this->display_forms_list();
44
  }
45
 
72
  $values = FrmAppHelper::setup_edit_vars($record,'forms',$fields,true);
73
  require_once(FRM_VIEWS_PATH.'/frm-forms/new.php');
74
  }else{
 
75
  $record = $frm_form->update( $id, $_POST, true );
76
+ $message = __('Form was Successfully Created', 'formidable');
77
  $params = $this->get_params();
78
  return $this->display_forms_list($params, $message);
79
  }
108
  return $this->get_edit_vars($id, $errors);
109
  }else{
110
  $record = $frm_form->update( $_POST['id'], $_POST );
111
+ $message = __('Form was Successfully Updated', 'formidable');
112
  return $this->get_edit_vars($id, '', $message);
113
  }
114
  }
118
 
119
  $params = $this->get_params();
120
  $record = $frm_form->duplicate( $params['id'], $params['template'] );
121
+ $message = ($params['template']) ? __('Form template was Successfully Created', 'formidable') : __('Form was Successfully Copied', 'formidable');
122
  if ($record)
123
  return $this->get_edit_vars($record, '', $message, true);
124
  else
125
+ return $this->display_forms_list($params, __('There was a problem creating new template.', 'formidable'));
126
  }
127
 
128
  function page_preview(){
152
  if (!$form) $form = $frm_form->getAll('','',' LIMIT 1');
153
  $form_options = stripslashes_deep(maybe_unserialize($form->options));
154
  $description = $title = true;
155
+ $custom_style = (isset($form_options['custom_style'])) ? $form_options['custom_style'] : ($frm_settings->load_style != 'none');
156
 
157
  require_once(FRM_VIEWS_PATH.'/frm-entries/direct.php');
158
  }
159
 
160
  function destroy(){
161
+ if(!current_user_can('frm_delete_forms')){
162
+ global $frm_settings;
163
+ wp_die($frm_settings->admin_permission);
164
+ }
165
 
166
  global $frm_form;
167
  $params = $this->get_params();
168
  $message = '';
169
  if ($frm_form->destroy( $params['id'] ))
170
+ $message = __('Form was Successfully Deleted', 'formidable');
171
  $this->display_forms_list($params, $message, '', 1);
172
  }
173
 
178
  $frm_form->destroy($id);
179
  die();
180
  }
181
+
182
+ function submit_button_label($submit){
183
+ if (!$submit or empty($submit)){
184
+ global $frm_settings;
185
+ $submit = $frm_settings->submit_value;
186
+ }
187
+ return $submit;
188
+ }
189
+
190
+ function insert_form_button($content){
191
+ $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.'/icon_16_bw.png" alt="' . __("Add Formidable Form", 'formidable') . '" /></a>';
192
+ return $content;
193
+ }
194
+
195
+ function insert_form_popup(){
196
+ $page = basename($_SERVER['PHP_SELF']);
197
+ if(in_array($page, array('post.php', 'page.php', 'page-new.php', 'post-new.php'))){
198
+ if(class_exists('FrmProDisplay')){
199
+ global $frmpro_display;
200
+ $displays = $frmpro_display->getAll();
201
+ }
202
+ require_once(FRM_VIEWS_PATH.'/frm-forms/insert_form_popup.php');
203
+ }
204
+ }
205
 
206
  function display_forms_list($params=false, $message='', $page_params_ov = false, $current_page_ov = false, $errors = array()){
207
  global $wpdb, $frmdb, $frm_app_helper, $frm_form, $frm_entry, $frm_page_size, $frmpro_is_installed;
213
  $message = FrmAppHelper::frm_get_main_message();
214
 
215
  $controller_file = FRM_PLUGIN_NAME;
216
+ $page_params = '&action=0&page=formidable';
217
  $where_clause = " (status is NULL OR status = '' OR status = 'published') AND default_template=0 AND is_template = ".$params['template'];
218
 
219
  if ($params['template']){
229
  $current_page = $params['paged'];
230
 
231
  if($page_params_ov)
232
+ $page_params .= $page_params_ov;
233
  else
234
+ $page_params .= $form_vars['page_params'];
235
 
236
  $sort_str = $form_vars['sort_str'];
237
  $sdir_str = $form_vars['sdir_str'];
307
  function get_edit_vars($id, $errors = '', $message='', $create_link=false){
308
  global $frm_app_helper, $frm_entry, $frm_form, $frm_field, $frmpro_is_installed, $frm_ajax_url;
309
  $record = $frm_form->getOne( $id );
 
310
  $frm_field_selection = FrmFieldsHelper::field_selection();
311
  $fields = $frm_field->getAll("fi.form_id=$id", ' ORDER BY field_order');
312
  $values = FrmAppHelper::setup_edit_vars($record,'forms',$fields,true);
313
  if (isset($values['default_template']) && $values['default_template'])
314
+ wp_die(__('That template cannot be edited', 'formidable'));
315
  else if($create_link)
316
  require_once(FRM_VIEWS_PATH.'/frm-forms/new.php');
317
  else
343
  $values['status'] = 'published';
344
  if($default) $values['default_template'] = 1;
345
 
346
+ include_once($templates[$i]);
347
  }
348
  }
349
 
classes/controllers/FrmSettingsController.php CHANGED
@@ -1,14 +1,17 @@
1
  <?php
2
-
 
 
 
3
  class FrmSettingsController{
4
  function FrmSettingsController(){
5
- add_action('admin_menu', array( &$this, 'menu' ), 25);
6
  add_action('admin_menu', array( &$this, 'pro_menu' ), 19);
7
  //add_action('admin_head-'.FRM_PLUGIN_NAME.'_page_'.FRM_PLUGIN_NAME.'-settings', array($this,'head'));
8
  }
9
 
10
  function menu(){
11
- add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Settings', FRM_PLUGIN_NAME), __('Settings', FRM_PLUGIN_NAME), 'frm_change_settings', FRM_PLUGIN_NAME.'-settings', array($this,'route'));
12
  }
13
 
14
  function pro_menu(){
@@ -20,13 +23,17 @@ class FrmSettingsController{
20
  }
21
 
22
  function display_form(){
23
- global $frm_settings, $frm_ajax_url;
24
  $frm_roles = FrmAppHelper::frm_capabilities();
 
 
 
 
25
  require_once(FRM_VIEWS_PATH . '/frm-settings/form.php');
26
  }
27
 
28
  function process_form(){
29
- global $frm_settings, $frm_ajax_url;
30
 
31
  //$errors = $frm_settings->validate($_POST,array());
32
  $errors = array();
@@ -34,7 +41,7 @@ class FrmSettingsController{
34
 
35
  if( empty($errors) ){
36
  $frm_settings->store();
37
- $message = __('Settings Saved', FRM_PLUGIN_NAME);
38
  }
39
  $frm_roles = FrmAppHelper::frm_capabilities();
40
  require_once(FRM_VIEWS_PATH . '/frm-settings/form.php');
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmSettingsController{
7
  function FrmSettingsController(){
8
+ add_action('admin_menu', array( &$this, 'menu' ), 26);
9
  add_action('admin_menu', array( &$this, 'pro_menu' ), 19);
10
  //add_action('admin_head-'.FRM_PLUGIN_NAME.'_page_'.FRM_PLUGIN_NAME.'-settings', array($this,'head'));
11
  }
12
 
13
  function menu(){
14
+ add_submenu_page(FRM_PLUGIN_NAME, FRM_PLUGIN_TITLE .' | '. __('Settings', 'formidable'), __('Settings', 'formidable'), 'frm_change_settings', FRM_PLUGIN_NAME.'-settings', array(&$this,'route'));
15
  }
16
 
17
  function pro_menu(){
23
  }
24
 
25
  function display_form(){
26
+ global $frm_settings, $frm_ajax_url, $frmpro_is_installed;
27
  $frm_roles = FrmAppHelper::frm_capabilities();
28
+
29
+ $uploads = wp_upload_dir();
30
+ $target_path = $uploads['basedir'] . "/formidable/css";
31
+
32
  require_once(FRM_VIEWS_PATH . '/frm-settings/form.php');
33
  }
34
 
35
  function process_form(){
36
+ global $frm_settings, $frm_ajax_url, $frmpro_is_installed;
37
 
38
  //$errors = $frm_settings->validate($_POST,array());
39
  $errors = array();
41
 
42
  if( empty($errors) ){
43
  $frm_settings->store();
44
+ $message = __('Settings Saved', 'formidable');
45
  }
46
  $frm_roles = FrmAppHelper::frm_capabilities();
47
  require_once(FRM_VIEWS_PATH . '/frm-settings/form.php');
classes/controllers/FrmStatisticsController.php CHANGED
@@ -1,5 +1,8 @@
1
  <?php
2
-
 
 
 
3
  class FrmStatisticsController{
4
  function FrmStatisticsController(){
5
  add_action('admin_menu', array( &$this, 'menu' ), 30);
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
+
6
  class FrmStatisticsController{
7
  function FrmStatisticsController(){
8
  add_action('admin_menu', array( &$this, 'menu' ), 30);
classes/helpers/FrmAppHelper.php CHANGED
@@ -8,17 +8,17 @@ class FrmAppHelper{
8
  }
9
 
10
  function get_pages(){
11
- return get_posts( array('post_type' => 'page', 'post_status' => 'published', 'numberposts' => 99, 'orderby' => 'title', 'order' => 'ASC'));
12
  }
13
 
14
- function wp_pages_dropdown($field_name, $page_id){
15
  $field_value = FrmAppHelper::get_param($field_name);
16
  $pages = FrmAppHelper::get_pages();
17
  ?>
18
  <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-dropdown frm-pages-dropdown">
19
  <option value=""></option>
20
  <?php foreach($pages as $page){ ?>
21
- <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 $page->post_title; ?> </option>
22
  <?php } ?>
23
  </select>
24
  <?php
@@ -92,8 +92,12 @@ class FrmAppHelper{
92
  $max_slug_value = pow(36,$num_chars);
93
  $min_slug_value = 37; // we want to have at least 2 characters in the slug
94
  $key = base_convert( rand($min_slug_value,$max_slug_value), 10, 36 );
95
- }else
96
- $key = sanitize_title_with_dashes($name);
 
 
 
 
97
 
98
  if (is_numeric($key) or in_array($key, array('id','key','created-at', 'detaillink', 'editlink', 'siteurl', 'evenodd')))
99
  $key = $key .'a';
@@ -125,15 +129,22 @@ class FrmAppHelper{
125
  $values[$var] = stripslashes(FrmAppHelper::get_param($var, $default_val));
126
  $values['description'] = wpautop($values['description']);
127
  $values['fields'] = array();
 
128
  if ($fields){
129
  foreach($fields as $field){
130
-
 
131
  if ($default)
132
  $meta_value = $field->default_value;
133
- else
134
- $meta_value = $frm_entry_meta->get_entry_meta_by_field($record->id, $field->id, true);
135
-
136
- $field_options = stripslashes_deep(unserialize($field->field_options));
 
 
 
 
 
137
  $field_type = isset($_POST['field_options']['type_'.$field->id]) ? $_POST['field_options']['type_'.$field->id] : $field->type;
138
  $new_value = (isset($_POST['item_meta'][$field->id])) ? $_POST['item_meta'][$field->id] : $meta_value;
139
  $new_value = stripslashes_deep(maybe_unserialize($new_value));
@@ -144,7 +155,7 @@ class FrmAppHelper{
144
  'name' => stripslashes($field->name),
145
  'description' => stripslashes($field->description),
146
  'type' => apply_filters('frm_field_type',$field_type, $field),
147
- 'options' => str_replace('"', '&quot;', stripslashes_deep(unserialize($field->options))),
148
  'required' => $field->required,
149
  'field_key' => $field->field_key,
150
  'field_order' => $field->field_order,
@@ -153,9 +164,9 @@ class FrmAppHelper{
153
  foreach (array('size' => '', 'max' => '', 'label' => 'top', 'invalid' => '', 'required_indicator' => '*', 'blank' => '', 'clear_on_focus' => 0, 'custom_html' => '', 'default_blank' => 0) as $opt => $default_opt){
154
  $field_array[$opt] = ($_POST and isset($_POST['field_options'][$opt.'_'.$field->id]) ) ? $_POST['field_options'][$opt.'_'.$field->id] : (isset($field_options[$opt]) ? $field_options[$opt] : $default_opt);
155
  if($opt == 'blank' and $field_array[$opt] == '')
156
- $field_array[$opt] = $field_array['name'] . ' ' . __('can\'t be blank', FRM_PLUGIN_NAME);
157
  else if($opt == 'invalid' and $field_array[$opt] == '')
158
- $field_array[$opt] = $field_array['name'] . ' ' . __('is an invalid format', FRM_PLUGIN_NAME);
159
  }
160
 
161
  if ($field_array['custom_html'] == '')
@@ -180,7 +191,7 @@ class FrmAppHelper{
180
  }
181
 
182
  $email = get_option('admin_email');
183
- foreach (array('custom_style' => $frm_settings->custom_style, 'email_to' => $email) as $opt => $default){
184
  if (!isset($values[$opt]))
185
  $values[$opt] = ($_POST and isset($_POST['options'][$opt])) ? $_POST['options'][$opt] : $default;
186
  }
@@ -193,7 +204,7 @@ class FrmAppHelper{
193
  $values['show_form'] = ($_POST and isset($_POST['options']['show_form'])) ? 1 : 0;
194
 
195
  if (!isset($values['custom_style']))
196
- $values['custom_style'] = ($_POST and isset($_POST['options']['custom_style'])) ? $_POST['options']['custom_style'] : $frm_settings->custom_style;
197
 
198
  if (!isset($values['akismet']))
199
  $values['akismet'] = ($_POST and isset($_POST['options']['akismet'])) ? 1 : 0;
@@ -217,7 +228,7 @@ class FrmAppHelper{
217
  include_once(ABSPATH."/wp-includes/class-IXR.php");
218
 
219
  $url = ($frmpro_is_installed) ? 'http://formidablepro.com/' : 'http://blog.strategy11.com/';
220
- $client = new IXR_Client($url.'xmlrpc.php');
221
 
222
  if ($client->query('frm.get_main_message'))
223
  $message = $client->getResponse();
@@ -225,22 +236,6 @@ class FrmAppHelper{
225
  return $message;
226
  }
227
 
228
- function display_recaptcha() {
229
- global $recaptcha_opt;
230
-
231
- $format = <<<END
232
- <script type='text/javascript'>var RecaptchaOptions={theme:'{$recaptcha_opt['re_theme_reg']}',lang:'{$recaptcha_opt['re_lang']}',tabindex:30};</script>
233
- END;
234
-
235
- $comment_string = <<<COMMENT_FORM
236
- <script type='text/javascript'>document.getElementById('recaptcha_table').style.direction='ltr';</script>
237
- COMMENT_FORM;
238
-
239
- $use_ssl = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? true : false;
240
-
241
- echo $format . recaptcha_wp_get_html(isset($_GET['rerror'])?$_GET['rerror']:'', $use_ssl);
242
- }
243
-
244
  function truncate($str, $length, $minword = 3, $continue = '...'){
245
  $sub = '';
246
  $len = 0;
8
  }
9
 
10
  function get_pages(){
11
+ return get_posts( array('post_type' => 'page', 'post_status' => 'publish', 'numberposts' => 999, 'orderby' => 'title', 'order' => 'ASC'));
12
  }
13
 
14
+ function wp_pages_dropdown($field_name, $page_id, $truncate=false){
15
  $field_value = FrmAppHelper::get_param($field_name);
16
  $pages = FrmAppHelper::get_pages();
17
  ?>
18
  <select name="<?php echo $field_name; ?>" id="<?php echo $field_name; ?>" class="frm-dropdown frm-pages-dropdown">
19
  <option value=""></option>
20
  <?php foreach($pages as $page){ ?>
21
+ <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)? substr($page->post_title, 0, $truncate) : $page->post_title; ?> </option>
22
  <?php } ?>
23
  </select>
24
  <?php
92
  $max_slug_value = pow(36,$num_chars);
93
  $min_slug_value = 37; // we want to have at least 2 characters in the slug
94
  $key = base_convert( rand($min_slug_value,$max_slug_value), 10, 36 );
95
+ }else{
96
+ if(function_exists('sanitize_key'))
97
+ $key = sanitize_key($name);
98
+ else
99
+ $key = sanitize_title_with_dashes($name);
100
+ }
101
 
102
  if (is_numeric($key) or in_array($key, array('id','key','created-at', 'detaillink', 'editlink', 'siteurl', 'evenodd')))
103
  $key = $key .'a';
129
  $values[$var] = stripslashes(FrmAppHelper::get_param($var, $default_val));
130
  $values['description'] = wpautop($values['description']);
131
  $values['fields'] = array();
132
+
133
  if ($fields){
134
  foreach($fields as $field){
135
+ $field_options = stripslashes_deep(unserialize($field->field_options));
136
+
137
  if ($default)
138
  $meta_value = $field->default_value;
139
+ else{
140
+ if($record->post_id and class_exists('FrmProEntryMetaHelper') and isset($field_options['post_field']) and $field_options['post_field']){
141
+ $meta_value = FrmProEntryMetaHelper::get_post_value($record->post_id, $field_options['post_field'], $field_options['custom_field'], array('truncate' => false, 'type' => $field->type));
142
+ }else if(isset($record->metas))
143
+ $meta_value = isset($record->metas[$field->id]) ? $record->metas[$field->id] : false;
144
+ else
145
+ $meta_value = $frm_entry_meta->get_entry_meta_by_field($record->id, $field->id, true);
146
+ }
147
+
148
  $field_type = isset($_POST['field_options']['type_'.$field->id]) ? $_POST['field_options']['type_'.$field->id] : $field->type;
149
  $new_value = (isset($_POST['item_meta'][$field->id])) ? $_POST['item_meta'][$field->id] : $meta_value;
150
  $new_value = stripslashes_deep(maybe_unserialize($new_value));
155
  'name' => stripslashes($field->name),
156
  'description' => stripslashes($field->description),
157
  'type' => apply_filters('frm_field_type',$field_type, $field),
158
+ 'options' => str_replace('"', '&quot;', stripslashes_deep(maybe_unserialize($field->options))),
159
  'required' => $field->required,
160
  'field_key' => $field->field_key,
161
  'field_order' => $field->field_order,
164
  foreach (array('size' => '', 'max' => '', 'label' => 'top', 'invalid' => '', 'required_indicator' => '*', 'blank' => '', 'clear_on_focus' => 0, 'custom_html' => '', 'default_blank' => 0) as $opt => $default_opt){
165
  $field_array[$opt] = ($_POST and isset($_POST['field_options'][$opt.'_'.$field->id]) ) ? $_POST['field_options'][$opt.'_'.$field->id] : (isset($field_options[$opt]) ? $field_options[$opt] : $default_opt);
166
  if($opt == 'blank' and $field_array[$opt] == '')
167
+ $field_array[$opt] = $field_array['name'] . ' ' . __('cannot be blank', 'formidable');
168
  else if($opt == 'invalid' and $field_array[$opt] == '')
169
+ $field_array[$opt] = $field_array['name'] . ' ' . __('is an invalid format', 'formidable');
170
  }
171
 
172
  if ($field_array['custom_html'] == '')
191
  }
192
 
193
  $email = get_option('admin_email');
194
+ foreach (array('custom_style' => ($frm_settings->load_style != 'none'), 'email_to' => $email) as $opt => $default){
195
  if (!isset($values[$opt]))
196
  $values[$opt] = ($_POST and isset($_POST['options'][$opt])) ? $_POST['options'][$opt] : $default;
197
  }
204
  $values['show_form'] = ($_POST and isset($_POST['options']['show_form'])) ? 1 : 0;
205
 
206
  if (!isset($values['custom_style']))
207
+ $values['custom_style'] = ($_POST and isset($_POST['options']['custom_style'])) ? $_POST['options']['custom_style'] : ($frm_settings->load_style != 'none');
208
 
209
  if (!isset($values['akismet']))
210
  $values['akismet'] = ($_POST and isset($_POST['options']['akismet'])) ? 1 : 0;
228
  include_once(ABSPATH."/wp-includes/class-IXR.php");
229
 
230
  $url = ($frmpro_is_installed) ? 'http://formidablepro.com/' : 'http://blog.strategy11.com/';
231
+ $client = new IXR_Client($url.'xmlrpc.php', false, 80, 15);
232
 
233
  if ($client->query('frm.get_main_message'))
234
  $message = $client->getResponse();
236
  return $message;
237
  }
238
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
239
  function truncate($str, $length, $minword = 3, $continue = '...'){
240
  $sub = '';
241
  $len = 0;
classes/helpers/FrmEntriesHelper.php CHANGED
@@ -15,9 +15,9 @@ class FrmEntriesHelper{
15
 
16
  $field_options = unserialize($field->field_options);
17
  if ($reset)
18
- $new_value = $default;
19
  else
20
- $new_value = ($_POST and isset($_POST['item_meta'][$field->id])) ? $_POST['item_meta'][$field->id] : $default;
21
 
22
  $new_value = stripslashes_deep(maybe_unserialize($new_value));
23
  if (!is_array($new_value))
@@ -57,7 +57,7 @@ class FrmEntriesHelper{
57
  }
58
 
59
  if (!isset($values['custom_style']))
60
- $values['custom_style'] = $frm_settings->custom_style;
61
 
62
  if (!isset($values['email_to']))
63
  $values['email_to'] = '';
@@ -84,7 +84,7 @@ class FrmEntriesHelper{
84
  //$values['description'] = unserialize( $record->description );
85
  $values['item_key'] = ($_POST and isset($_POST['item_key']))?$_POST['item_key']:$record->item_key;
86
  $values['form_id'] = $record->form_id;
87
- return apply_filters('frm_setup_edit_entry_vars', $values);
88
  }
89
 
90
  function entries_dropdown( $form_id, $field_name, $field_value='', $blank=true, $blank_label='', $onchange=false ){
@@ -97,7 +97,7 @@ class FrmEntriesHelper{
97
  <option value=""><?php echo $blank_label; ?></option>
98
  <?php } ?>
99
  <?php foreach($entries as $entry){ ?>
100
- <option value="<?php echo $entry->id; ?>" <?php selected($field_value, $entry->id); ?>><?php echo (!empty($entry->name)) ? stripslashes($entry->name) : $entry->item_key; ?></option>
101
  <?php } ?>
102
  </select>
103
  <?php
15
 
16
  $field_options = unserialize($field->field_options);
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] != '') ? $_POST['item_meta'][$field->id] : $default;
21
 
22
  $new_value = stripslashes_deep(maybe_unserialize($new_value));
23
  if (!is_array($new_value))
57
  }
58
 
59
  if (!isset($values['custom_style']))
60
+ $values['custom_style'] = ($frm_settings->load_style != 'none');
61
 
62
  if (!isset($values['email_to']))
63
  $values['email_to'] = '';
84
  //$values['description'] = unserialize( $record->description );
85
  $values['item_key'] = ($_POST and isset($_POST['item_key']))?$_POST['item_key']:$record->item_key;
86
  $values['form_id'] = $record->form_id;
87
+ return apply_filters('frm_setup_edit_entry_vars', $values, $record);
88
  }
89
 
90
  function entries_dropdown( $form_id, $field_name, $field_value='', $blank=true, $blank_label='', $onchange=false ){
97
  <option value=""><?php echo $blank_label; ?></option>
98
  <?php } ?>
99
  <?php foreach($entries as $entry){ ?>
100
+ <option value="<?php echo $entry->id; ?>" <?php selected($field_value, $entry->id); ?>><?php echo substr((!empty($entry->name)) ? stripslashes($entry->name) : $entry->item_key, 0, 50); ?></option>
101
  <?php } ?>
102
  </select>
103
  <?php
classes/helpers/FrmFieldsHelper.php CHANGED
@@ -4,37 +4,38 @@ class FrmFieldsHelper{
4
 
5
  function field_selection(){
6
  $fields = apply_filters('frm_available_fields', array(
7
- 'text' => __('Text Input (One Line)', FRM_PLUGIN_NAME),
8
- 'textarea' => __('Paragraph Input (Multiple Lines)', FRM_PLUGIN_NAME),
9
- 'checkbox' => __('Multiple Selection (Check Boxes)', FRM_PLUGIN_NAME),
10
- 'radio' => __('Select One (Radio)', FRM_PLUGIN_NAME),
11
- 'select' => __('Drop-Down (Select)', FRM_PLUGIN_NAME)
 
 
12
  ));
13
 
14
- if ( in_array('wp-recaptcha/wp-recaptcha.php', get_option('active_plugins')) )
15
- $fields['captcha'] = 'reCAPTCHA Field';
16
  return $fields;
17
  }
18
 
19
  function pro_field_selection(){
20
  return apply_filters('frm_pro_available_fields', array(
21
- 'divider' => __('Section Heading', FRM_PLUGIN_NAME),
22
- 'break' => __('Page Break', FRM_PLUGIN_NAME),
23
- 'file' => __('File Upload', FRM_PLUGIN_NAME),
24
- 'rte' => __('Rich Text Editor', FRM_PLUGIN_NAME),
25
- 'number' => __('Number', FRM_PLUGIN_NAME),
26
- 'phone' => __('Phone Number', FRM_PLUGIN_NAME),
27
- 'email' => __('Email Address', FRM_PLUGIN_NAME),
28
- 'date' => __('Date', FRM_PLUGIN_NAME),
29
- //'time' => 'Time',
30
- 'website' => __('Website/URL', FRM_PLUGIN_NAME),
31
- 'image' => __('Image URL', FRM_PLUGIN_NAME),
32
- '10radio' => __('Scale', FRM_PLUGIN_NAME),
33
- //'grid' => __('Grid', FRM_PLUGIN_NAME),
34
- 'data' => __('Data from Entries', FRM_PLUGIN_NAME),
35
- 'hidden' => __('Hidden Field', FRM_PLUGIN_NAME),
36
- 'user_id' => __('Hidden User Id', FRM_PLUGIN_NAME),
37
- 'tag' => __('Tags', FRM_PLUGIN_NAME)
 
38
  //'multiple' => 'Multiple Select Box', //http://code.google.com/p/jquery-asmselect/
39
  //'address' => 'Address' //Address line 1, Address line 2, City, State/Providence, Postal Code, Select Country
40
  //'city_selector' => 'US State/County/City selector',
@@ -51,7 +52,7 @@ class FrmFieldsHelper{
51
  $key = FrmAppHelper::get_unique_key('', $frmdb->fields, 'field_key');
52
 
53
  $values = array();
54
- foreach (array('name' => __('Untitled', FRM_PLUGIN_NAME), 'description' => '', 'field_key' => $key, 'type' => $type, 'options'=>'', 'default_value'=>'', 'field_order' => $field_count+1, 'required' => false, 'blank' => __('Untitled can\'t be blank', FRM_PLUGIN_NAME), 'invalid' => __('Untitled is an invalid format', FRM_PLUGIN_NAME), 'form_id' => $form_id) as $var => $default)
55
  $values[$var] = $default;
56
 
57
  $values['field_options'] = array();
@@ -82,8 +83,8 @@ class FrmFieldsHelper{
82
  foreach (array('field_key' => $record->field_key, 'type' => $record->type, 'default_value'=> $record->default_value, 'field_order' => $record->field_order, 'required' => $record->required) as $var => $default)
83
  $values[$var] = FrmAppHelper::get_param($var, $default);
84
 
85
- $values['options'] = unserialize($record->options);
86
- $field_options = unserialize($record->field_options);
87
  $values['field_options'] = $field_options;
88
  $values['size'] = (isset($field_options['size']))?($field_options['size']):('');
89
  $values['max'] = (isset($field_options['max']))?($field_options['max']):('');
@@ -114,7 +115,7 @@ class FrmFieldsHelper{
114
  <span class="frm_required">[required_label]</span>
115
  </label>
116
  [input]
117
- [if description]<p class="description">[description]</p>[/if description]
118
  </div>
119
  DEFAULT_HTML;
120
  }else
@@ -123,11 +124,14 @@ DEFAULT_HTML;
123
  return apply_filters('frm_custom_html', $default_html, $type);
124
  }
125
 
126
- function replace_shortcodes($html, $field, $error_keys=array()){
127
  $field_name = "item_meta[". $field['id'] ."]";
128
  //replace [id]
129
  $html = str_replace('[id]', $field['id'], $html);
130
 
 
 
 
131
  //replace [description] and [required_label]
132
  $required = ($field['required'] == '0')?(''):($field['required_indicator']);
133
  foreach (array('description' => $field['description'], 'required_label' => $required) as $code => $value){
@@ -151,7 +155,7 @@ DEFAULT_HTML;
151
  $html = str_replace('[field_name]', $field['name'], $html);
152
 
153
  //replace [error_class]
154
- $error_class = in_array('field'.$field['id'], $error_keys) ? ' frm_blank_field':'';
155
  $html = str_replace('[error_class]', $error_class, $html);
156
 
157
  //replace [entry_key]
@@ -159,22 +163,67 @@ DEFAULT_HTML;
159
  $html = str_replace('[entry_key]', $entry_key, $html);
160
 
161
  //replace [input]
162
- ob_start();
163
- include(FRM_VIEWS_PATH.'/frm-fields/input.php');
164
- $contents = ob_get_contents();
165
- ob_end_clean();
166
- $html = str_replace('[input]', $contents, $html);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
 
168
  return apply_filters('frm_replace_shortcodes', $html, $field);
169
  }
170
 
171
- function show_onfocus_js($field_id, $clear_on_focus){ ?>
172
- <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-show-hover" id="clear_field_<?php echo $field_id; ?>" title="<?php printf(__('Set this field to %1$sclear on click', FRM_PLUGIN_NAME), ($clear_on_focus) ? __('not ', FRM_PLUGIN_NAME) :'' ); ?>"><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></a>
 
 
 
 
 
 
 
 
 
 
 
 
173
  <?php
174
  }
175
 
176
- function show_default_blank_js($field_id, $default_blank){ ?>
177
- <a href="javascript:frm_default_blank(<?php echo $field_id; ?>,<?php echo $default_blank ?>)" class="<?php echo ($default_blank) ?'':'frm_inactive_icon '; ?>frm-show-hover" id="default_blank_<?php echo $field_id; ?>" title="<?php printf(__('This default value should %1$sbe considered blank', FRM_PLUGIN_NAME), ($default_blank) ? __('not ', FRM_PLUGIN_NAME) :'' ); ?>"><img src="<?php echo FRM_IMAGES_URL?>/error.png"></a>
 
178
  <?php
179
  }
180
 
4
 
5
  function field_selection(){
6
  $fields = apply_filters('frm_available_fields', array(
7
+ 'text' => __('Text Input (One Line)', 'formidable'),
8
+ 'textarea' => __('Paragraph Input (Multiple Lines)', 'formidable'),
9
+ 'checkbox' => __('Multiple Selection (Check Boxes)', 'formidable'),
10
+ 'radio' => __('Select One (Radio)', 'formidable'),
11
+ 'select' => __('Drop-Down (Select)', 'formidable'),
12
+ 'captcha' => __('reCAPTCHA (SPAM Control)', 'formidable')
13
+ //'nucaptcha' => __('NuCaptcha (SPAM Control)', 'formidable')
14
  ));
15
 
 
 
16
  return $fields;
17
  }
18
 
19
  function pro_field_selection(){
20
  return apply_filters('frm_pro_available_fields', array(
21
+ 'divider' => __('Section Heading', 'formidable'),
22
+ 'break' => __('Page Break', 'formidable'),
23
+ 'file' => __('File Upload', 'formidable'),
24
+ 'rte' => __('Rich Text', 'formidable'),
25
+ 'number' => __('Number', 'formidable'),
26
+ 'phone' => __('Phone Number', 'formidable'),
27
+ 'email' => __('Email Address', 'formidable'),
28
+ 'date' => __('Date', 'formidable'),
29
+ 'time' => __('Time', 'formidable'),
30
+ 'url' => __('Website/URL', 'formidable'),
31
+ 'image' => __('Image URL', 'formidable'),
32
+ 'scale' => __('Scale', 'formidable'),
33
+ //'grid' => __('Grid', 'formidable'),
34
+ 'data' => __('Data from Entries', 'formidable'),
35
+ 'hidden' => __('Hidden Field', 'formidable'),
36
+ 'user_id' => __('Hidden User ID', 'formidable'),
37
+ 'html' => __('HTML', 'formidable'),
38
+ 'tag' => __('Tags', 'formidable')
39
  //'multiple' => 'Multiple Select Box', //http://code.google.com/p/jquery-asmselect/
40
  //'address' => 'Address' //Address line 1, Address line 2, City, State/Providence, Postal Code, Select Country
41
  //'city_selector' => 'US State/County/City selector',
52
  $key = FrmAppHelper::get_unique_key('', $frmdb->fields, 'field_key');
53
 
54
  $values = array();
55
+ foreach (array('name' => __('Untitled', 'formidable'), 'description' => '', 'field_key' => $key, 'type' => $type, 'options'=>'', 'default_value'=>'', 'field_order' => $field_count+1, 'required' => false, 'blank' => __('Untitled cannot be blank', 'formidable'), 'invalid' => __('Untitled is an invalid format', 'formidable'), 'form_id' => $form_id) as $var => $default)
56
  $values[$var] = $default;
57
 
58
  $values['field_options'] = array();
83
  foreach (array('field_key' => $record->field_key, 'type' => $record->type, 'default_value'=> $record->default_value, 'field_order' => $record->field_order, 'required' => $record->required) as $var => $default)
84
  $values[$var] = FrmAppHelper::get_param($var, $default);
85
 
86
+ $field_options = maybe_unserialize($record->field_options);
87
+ $values['options'] = stripslashes_deep(maybe_unserialize($record->options));
88
  $values['field_options'] = $field_options;
89
  $values['size'] = (isset($field_options['size']))?($field_options['size']):('');
90
  $values['max'] = (isset($field_options['max']))?($field_options['max']):('');
115
  <span class="frm_required">[required_label]</span>
116
  </label>
117
  [input]
118
+ [if description]<div class="frm_description">[description]</div>[/if description]
119
  </div>
120
  DEFAULT_HTML;
121
  }else
124
  return apply_filters('frm_custom_html', $default_html, $type);
125
  }
126
 
127
+ function replace_shortcodes($html, $field, $error_keys=array(), $form=false){
128
  $field_name = "item_meta[". $field['id'] ."]";
129
  //replace [id]
130
  $html = str_replace('[id]', $field['id'], $html);
131
 
132
+ //replace [key]
133
+ $html = str_replace('[key]', $field['field_key'], $html);
134
+
135
  //replace [description] and [required_label]
136
  $required = ($field['required'] == '0')?(''):($field['required_indicator']);
137
  foreach (array('description' => $field['description'], 'required_label' => $required) as $code => $value){
155
  $html = str_replace('[field_name]', $field['name'], $html);
156
 
157
  //replace [error_class]
158
+ $error_class = (in_array('field'.$field['id'], $error_keys)) ? ' frm_blank_field':'';
159
  $html = str_replace('[error_class]', $error_class, $html);
160
 
161
  //replace [entry_key]
163
  $html = str_replace('[entry_key]', $entry_key, $html);
164
 
165
  //replace [input]
166
+ preg_match_all("/\[(input|deletelink)\b(.*?)(?:(\/))?\]/s", $html, $shortcodes, PREG_PATTERN_ORDER);
167
+
168
+ foreach ($shortcodes[0] as $short_key => $tag){
169
+ $atts = shortcode_parse_atts( $shortcodes[2][$short_key] );
170
+
171
+ if(!empty($shortcodes[2][$short_key])){
172
+ $tag = str_replace('[', '',$shortcodes[0][$short_key]);
173
+ $tag = str_replace(']', '', $tag);
174
+ $tags = explode(' ', $tag);
175
+ if(is_array($tags))
176
+ $tag = $tags[0];
177
+ }else
178
+ $tag = $shortcodes[1][$short_key];
179
+
180
+ $replace_with = '';
181
+
182
+ if($tag == 'input'){
183
+ if(isset($atts['opt'])) $atts['opt']--;
184
+ ob_start();
185
+ include(FRM_VIEWS_PATH.'/frm-fields/input.php');
186
+ $replace_with = ob_get_contents();
187
+ ob_end_clean();
188
+ }else if($tag == 'deletelink' and class_exists('FrmProEntriesController'))
189
+ $replace_with = FrmProEntriesController::entry_delete_link($atts);
190
+
191
+ $html = str_replace($shortcodes[0][$short_key], $replace_with, $html);
192
+ }
193
+
194
+ if($form){
195
+ $form = (array)$form;
196
+
197
+ //replace [form_key]
198
+ $html = str_replace('[form_key]', $form['form_key'], $html);
199
+
200
+ //replace [form_name]
201
+ $html = str_replace('[form_name]', $form['name'], $html);
202
+ }
203
 
204
  return apply_filters('frm_replace_shortcodes', $html, $field);
205
  }
206
 
207
+ function display_recaptcha($field, $error=null){
208
+ global $frm_settings;
209
+
210
+ if(!function_exists('recaptcha_get_html'))
211
+ require_once(FRM_PATH.'/classes/recaptchalib.php');
212
+ ?>
213
+ <script type="text/javascript">var RecaptchaOptions={theme:'<?php echo $frm_settings->re_theme ?>',lang:'<?php echo $frm_settings->re_lang ?>'};</script>
214
+ <div id="frm_field_<?php echo $field['id'] ?>_container"><?php echo recaptcha_get_html($frm_settings->pubkey, $error, is_ssl()) ?></div>
215
+ <?php
216
+ }
217
+
218
+ function show_onfocus_js($field_id, $clear_on_focus){
219
+ global $frm_ajax_url; ?>
220
+ <a href="javascript:frm_clear_on_focus(<?php echo $field_id; ?>,<?php echo $clear_on_focus; ?>,'<?php echo FRM_IMAGES_URL ?>','<?php echo $frm_ajax_url?>')" class="<?php echo ($clear_on_focus) ?'':'frm_inactive_icon '; ?>frm-show-hover" id="clear_field_<?php echo $field_id; ?>" title="<?php printf(__('Set this field to %1$sclear on click', 'formidable'), ($clear_on_focus) ? __('not', 'formidable').' ' :'' ); ?>"><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></a>
221
  <?php
222
  }
223
 
224
+ function show_default_blank_js($field_id, $default_blank){
225
+ global $frm_ajax_url; ?>
226
+ <a href="javascript:frm_default_blank(<?php echo $field_id; ?>,<?php echo $default_blank ?>,'<?php echo FRM_IMAGES_URL ?>','<?php echo $frm_ajax_url?>')" class="<?php echo ($default_blank) ?'':'frm_inactive_icon '; ?>frm-show-hover" id="default_blank_<?php echo $field_id; ?>" title="<?php printf(__('This default value should %1$sbe considered blank', 'formidable'), ($default_blank) ? __('not', 'formidable').' ' :'' ); ?>"><img src="<?php echo FRM_IMAGES_URL?>/error.png"></a>
227
  <?php
228
  }
229
 
classes/helpers/FrmFormsHelper.php CHANGED
@@ -13,13 +13,13 @@ class FrmFormsHelper{
13
 
14
  function get_template_dropdown($templates){ ?>
15
  <select id="select_form" name="select_form" onChange='createFromFrmTemplate(this.value)'>
16
- <option value=""><?php _e('Create Form from Template', FRM_PLUGIN_NAME) ?>: </option>
17
  <?php foreach ($templates as $temp){ ?>
18
  <option value="<?php echo $temp->id ?>"><?php echo $temp->name ?></option>
19
  <?php }?>
20
  </select>
21
  <script type="text/javascript">
22
- function createFromFrmTemplate(form){window.location='<?php $_SERVER["REQUEST_URI"] ?>?page=<?php echo FRM_PLUGIN_NAME; ?>&action=duplicate&id='+form}
23
  </script>
24
  <?php
25
  }
@@ -45,7 +45,7 @@ class FrmFormsHelper{
45
  function setup_new_vars(){
46
  global $frmdb, $frm_settings;
47
  $values = array();
48
- foreach (array('name' => __('Untitled Form', FRM_PLUGIN_NAME), 'description' => '') as $var => $default)
49
  $values[$var] = stripslashes(FrmAppHelper::get_param($var, $default));
50
 
51
  $values['description'] = wpautop($values['description']);
@@ -53,9 +53,9 @@ class FrmFormsHelper{
53
  foreach (array('form_id' => '', 'logged_in' => '', 'editable' => '', 'default_template' => 0, 'is_template' => 0) as $var => $default)
54
  $values[$var] = stripslashes(FrmAppHelper::get_param($var, $default));
55
 
56
- $values['form_key'] = ($_POST and isset($_POST['form_key']))?$_POST['form_key']:(FrmAppHelper::get_unique_key('', $frmdb->forms, 'form_key'));
57
  $values['email_to'] = ($_POST and isset($_POST['options']['email_to'])) ? $_POST['options']['email_to'] : $frm_settings->email_to;
58
- $values['custom_style'] = ($_POST and isset($_POST['options']['custom_style'])) ? $_POST['options']['custom_style'] : $frm_settings->custom_style;
59
  $values['submit_value'] = ($_POST and isset($_POST['options']['submit_value'])) ? $_POST['options']['submit_value'] : $frm_settings->submit_value;
60
  $values['success_action'] = ($_POST and isset($_POST['options']['success_action'])) ? $_POST['options']['success_action'] : 'message';
61
  $values['success_msg'] = ($_POST and isset($_POST['options']['success_msg'])) ? $_POST['options']['success_msg'] : $frm_settings->success_msg;
@@ -107,33 +107,14 @@ BEFORE_HTML;
107
  $html = str_replace('['.$code.']', $replace_with, $html);
108
  }
109
 
 
 
 
 
 
 
110
  return apply_filters('frm_form_replace_shortcodes', $html, $form);
111
  }
112
-
113
- function get_default_email(){
114
- $email = <<<DEFAULT_EMAIL
115
- <table style="border-bottom: 1px solid rgb(238, 238, 238); width: 100%; font-size: 12px; line-height: 135%; font-family: Lucida Grande,Tahoma,Arial,sans-serif;" cellspacing="0">
116
- <tbody><tr style="background-color: rgb(245, 245, 245);">
117
- <th style="border-top: 1px solid rgb(238, 238, 238); padding: 7px 9px; vertical-align: top; color: rgb(34, 34, 34); text-align: left;">
118
- Number
119
- </th>
120
- <td style="border-top: 1px solid rgb(238, 238, 238); padding: 7px 9px 7px 0pt; vertical-align: top; color: rgb(51, 51, 51); width: 60%;">
121
- <div>89</div>
122
-
123
- </td>
124
- </tr>
125
- <tr style="background-color: rgb(255, 255, 255);">
126
- <th style="border-top: 1px solid rgb(238, 238, 238); padding: 7px 9px; vertical-align: top; color: rgb(34, 34, 34); text-align: left;">
127
- Email
128
- </th>
129
- <td style="border-top: 1px solid rgb(238, 238, 238); padding: 7px 9px 7px 0pt; vertical-align: top; color: rgb(51, 51, 51); width: 60%;">
130
- <a href="mailto:stephywells@gmail.com" target="_blank">stephywells@gmail.com</a>
131
- </td>
132
- </tr>
133
- </tbody></table>
134
- DEFAULT_EMAIL;
135
- return $email;
136
- }
137
 
138
  }
139
  ?>
13
 
14
  function get_template_dropdown($templates){ ?>
15
  <select id="select_form" name="select_form" onChange='createFromFrmTemplate(this.value)'>
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 $temp->name ?></option>
19
  <?php }?>
20
  </select>
21
  <script type="text/javascript">
22
+ function createFromFrmTemplate(form){window.location='?page=<?php echo FRM_PLUGIN_NAME; ?>&action=duplicate&id='+form}
23
  </script>
24
  <?php
25
  }
45
  function setup_new_vars(){
46
  global $frmdb, $frm_settings;
47
  $values = array();
48
+ foreach (array('name' => __('Untitled Form', 'formidable'), 'description' => '') as $var => $default)
49
  $values[$var] = stripslashes(FrmAppHelper::get_param($var, $default));
50
 
51
  $values['description'] = wpautop($values['description']);
53
  foreach (array('form_id' => '', 'logged_in' => '', 'editable' => '', 'default_template' => 0, 'is_template' => 0) as $var => $default)
54
  $values[$var] = stripslashes(FrmAppHelper::get_param($var, $default));
55
 
56
+ $values['form_key'] = ($_POST and isset($_POST['form_key'])) ? $_POST['form_key'] : (FrmAppHelper::get_unique_key('', $frmdb->forms, 'form_key'));
57
  $values['email_to'] = ($_POST and isset($_POST['options']['email_to'])) ? $_POST['options']['email_to'] : $frm_settings->email_to;
58
+ $values['custom_style'] = ($_POST and isset($_POST['options']['custom_style'])) ? $_POST['options']['custom_style'] : ($frm_settings->load_style != 'none');
59
  $values['submit_value'] = ($_POST and isset($_POST['options']['submit_value'])) ? $_POST['options']['submit_value'] : $frm_settings->submit_value;
60
  $values['success_action'] = ($_POST and isset($_POST['options']['success_action'])) ? $_POST['options']['success_action'] : 'message';
61
  $values['success_msg'] = ($_POST and isset($_POST['options']['success_msg'])) ? $_POST['options']['success_msg'] : $frm_settings->success_msg;
107
  $html = str_replace('['.$code.']', $replace_with, $html);
108
  }
109
 
110
+ //replace [form_key]
111
+ $html = str_replace('[form_key]', $form->form_key, $html);
112
+
113
+ if(class_exists('FrmProEntriesController'))
114
+ $html = str_replace('[deletelink]', FrmProEntriesController::entry_delete_link(array()), $html);
115
+
116
  return apply_filters('frm_form_replace_shortcodes', $html, $form);
117
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
  }
120
  ?>
classes/models/FrmDb.php CHANGED
@@ -14,11 +14,11 @@ class FrmDb{
14
  }
15
 
16
  function upgrade(){
17
- global $wpdb, $frm_form, $frm_field;
18
- $db_version = 1.03; // this is the version of the database we're moving to
19
  $old_db_version = get_option('frm_db_version');
20
 
21
- if ($db_version != $old_db_version){
22
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
23
 
24
  $charset_collate = '';
@@ -43,8 +43,9 @@ class FrmDb{
43
  field_options longtext default NULL,
44
  form_id int(11) default NULL,
45
  created_at datetime NOT NULL,
46
- PRIMARY KEY (id),
47
- KEY form_id (form_id)
 
48
  ) {$charset_collate};";
49
 
50
  dbDelta($sql);
@@ -62,9 +63,9 @@ class FrmDb{
62
  status varchar(255) default NULL,
63
  prli_link_id int(11) default NULL,
64
  options longtext default NULL,
65
- notifications longtext default NULL,
66
  created_at datetime NOT NULL,
67
- PRIMARY KEY (id)
 
68
  ) {$charset_collate};";
69
 
70
  dbDelta($sql);
@@ -77,9 +78,14 @@ class FrmDb{
77
  description text default NULL,
78
  ip text default NULL,
79
  form_id int(11) default NULL,
 
 
80
  created_at datetime NOT NULL,
81
- PRIMARY KEY (id),
82
- KEY form_id (form_id)
 
 
 
83
  ) {$charset_collate};";
84
 
85
  dbDelta($sql);
@@ -87,12 +93,11 @@ class FrmDb{
87
  /* Create/Upgrade Meta Table */
88
  $sql = "CREATE TABLE {$this->entry_metas} (
89
  id int(11) NOT NULL auto_increment,
90
- meta_key varchar(255) default NULL,
91
  meta_value longtext default NULL,
92
  field_id int(11) NOT NULL,
93
  item_id int(11) NOT NULL,
94
  created_at datetime NOT NULL,
95
- PRIMARY KEY (id),
96
  KEY field_id (field_id),
97
  KEY item_id (item_id)
98
  ) {$charset_collate};";
@@ -100,7 +105,7 @@ class FrmDb{
100
  dbDelta($sql);
101
 
102
  /**** MIGRATE DATA ****/
103
- if ($db_version == 1.03){
104
  global $frm_entry;
105
  $all_entries = $frm_entry->getAll();
106
  foreach($all_entries as $ent){
@@ -108,6 +113,10 @@ class FrmDb{
108
  if(is_array($opts))
109
  $wpdb->update( $this->entries, array('ip' => $opts['ip']), array( 'id' => $ent->id ) );
110
  }
 
 
 
 
111
  }
112
 
113
  /**** ADD DEFAULT TEMPLATES ****/
@@ -115,7 +124,7 @@ class FrmDb{
115
 
116
 
117
  /***** SAVE DB VERSION *****/
118
- update_option('frm_db_version',$db_version);
119
  }
120
 
121
  do_action('frm_after_install');
@@ -153,18 +162,40 @@ class FrmDb{
153
 
154
  return compact('where','values');
155
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
 
157
- function get_one_record($table, $args=array()){
158
  global $wpdb;
159
 
160
  extract(FrmDb::get_where_clause_and_values( $args ));
161
 
162
- $query = "SELECT * FROM {$table}{$where} LIMIT 1";
163
  $query = $wpdb->prepare($query, $values);
164
  return $wpdb->get_row($query);
165
  }
166
 
167
- function get_records($table, $args=array(), $order_by='', $limit=''){
168
  global $wpdb;
169
 
170
  extract(FrmDb::get_where_clause_and_values( $args ));
@@ -175,14 +206,16 @@ class FrmDb{
175
  if(!empty($limit))
176
  $limit = " LIMIT {$limit}";
177
 
178
- $query = "SELECT * FROM {$table}{$where}{$order_by}{$limit}";
179
  $query = $wpdb->prepare($query, $values);
180
  return $wpdb->get_results($query);
181
  }
182
 
183
  function uninstall(){
184
- if(!current_user_can('administrator'))
185
- wp_die(__('You don\'t have permission to do that!', 'formidable'));
 
 
186
 
187
  global $frm_update, $wpdb;
188
  $wpdb->query('DROP TABLE IF EXISTS '. $this->fields);
14
  }
15
 
16
  function upgrade(){
17
+ global $wpdb, $frm_form, $frm_field, $frm_db_version;
18
+ //$frm_db_version is the version of the database we're moving to
19
  $old_db_version = get_option('frm_db_version');
20
 
21
+ if ($frm_db_version != $old_db_version){
22
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
23
 
24
  $charset_collate = '';
43
  field_options longtext default NULL,
44
  form_id int(11) default NULL,
45
  created_at datetime NOT NULL,
46
+ PRIMARY KEY id (id),
47
+ KEY form_id (form_id),
48
+ UNIQUE KEY field_key (field_key)
49
  ) {$charset_collate};";
50
 
51
  dbDelta($sql);
63
  status varchar(255) default NULL,
64
  prli_link_id int(11) default NULL,
65
  options longtext default NULL,
 
66
  created_at datetime NOT NULL,
67
+ PRIMARY KEY id (id),
68
+ UNIQUE KEY form_key (form_key)
69
  ) {$charset_collate};";
70
 
71
  dbDelta($sql);
78
  description text default NULL,
79
  ip text default NULL,
80
  form_id int(11) default NULL,
81
+ post_id int(11) default NULL,
82
+ user_id int(11) default NULL,
83
  created_at datetime NOT NULL,
84
+ PRIMARY KEY id (id),
85
+ KEY form_id (form_id),
86
+ KEY post_id (post_id),
87
+ KEY user_id (user_id),
88
+ UNIQUE KEY item_key (item_key)
89
  ) {$charset_collate};";
90
 
91
  dbDelta($sql);
93
  /* Create/Upgrade Meta Table */
94
  $sql = "CREATE TABLE {$this->entry_metas} (
95
  id int(11) NOT NULL auto_increment,
 
96
  meta_value longtext default NULL,
97
  field_id int(11) NOT NULL,
98
  item_id int(11) NOT NULL,
99
  created_at datetime NOT NULL,
100
+ PRIMARY KEY id (id),
101
  KEY field_id (field_id),
102
  KEY item_id (item_id)
103
  ) {$charset_collate};";
105
  dbDelta($sql);
106
 
107
  /**** MIGRATE DATA ****/
108
+ if ($frm_db_version == 1.03){
109
  global $frm_entry;
110
  $all_entries = $frm_entry->getAll();
111
  foreach($all_entries as $ent){
113
  if(is_array($opts))
114
  $wpdb->update( $this->entries, array('ip' => $opts['ip']), array( 'id' => $ent->id ) );
115
  }
116
+ }else if($frm_db_version >= 4 and $old_db_version < 4){
117
+ $user_ids = FrmEntryMeta::getAll("fi.type='user_id'");
118
+ foreach($user_ids as $user_id)
119
+ $wpdb->update( $this->entries, array('user_id' => $user_id->meta_value), array('id' => $user_id->item_id) );
120
  }
121
 
122
  /**** ADD DEFAULT TEMPLATES ****/
124
 
125
 
126
  /***** SAVE DB VERSION *****/
127
+ update_option('frm_db_version',$frm_db_version);
128
  }
129
 
130
  do_action('frm_after_install');
162
 
163
  return compact('where','values');
164
  }
165
+
166
+ function get_var($table, $args=array(), $field='id', $order_by=''){
167
+ global $wpdb;
168
+
169
+ extract(FrmDb::get_where_clause_and_values( $args ));
170
+ if(!empty($order_by))
171
+ $order_by = " ORDER BY {$order_by}";
172
+
173
+ $query = $wpdb->prepare("SELECT {$field} FROM {$table}{$where}{$order_by} LIMIT 1", $values);
174
+ return $wpdb->get_var($query);
175
+ }
176
+
177
+ function get_col($table, $args=array(), $field='id', $order_by=''){
178
+ global $wpdb;
179
+
180
+ extract(FrmDb::get_where_clause_and_values( $args ));
181
+ if(!empty($order_by))
182
+ $order_by = " ORDER BY {$order_by}";
183
+
184
+ $query = $wpdb->prepare("SELECT {$field} FROM {$table}{$where}{$order_by}", $values);
185
+ return $wpdb->get_col($query);
186
+ }
187
 
188
+ function get_one_record($table, $args=array(), $fields='*'){
189
  global $wpdb;
190
 
191
  extract(FrmDb::get_where_clause_and_values( $args ));
192
 
193
+ $query = "SELECT {$fields} FROM {$table}{$where} LIMIT 1";
194
  $query = $wpdb->prepare($query, $values);
195
  return $wpdb->get_row($query);
196
  }
197
 
198
+ function get_records($table, $args=array(), $order_by='', $limit='', $fields='*'){
199
  global $wpdb;
200
 
201
  extract(FrmDb::get_where_clause_and_values( $args ));
206
  if(!empty($limit))
207
  $limit = " LIMIT {$limit}";
208
 
209
+ $query = "SELECT {$fields} FROM {$table}{$where}{$order_by}{$limit}";
210
  $query = $wpdb->prepare($query, $values);
211
  return $wpdb->get_results($query);
212
  }
213
 
214
  function uninstall(){
215
+ if(!current_user_can('administrator')){
216
+ global $frm_settings;
217
+ wp_die($frm_settings->admin_permission);
218
+ }
219
 
220
  global $frm_update, $wpdb;
221
  $wpdb->query('DROP TABLE IF EXISTS '. $this->fields);
classes/models/FrmEntry.php CHANGED
@@ -1,9 +1,5 @@
1
  <?php
2
  class FrmEntry{
3
- var $table_name;
4
-
5
- function FrmEntry(){
6
- }
7
 
8
  function create( $values ){
9
  global $wpdb, $frmdb, $frm_entry_meta;
@@ -12,14 +8,57 @@ class FrmEntry{
12
  $new_values['item_key'] = FrmAppHelper::get_unique_key($values['item_key'], $frmdb->entries, 'item_key');
13
  $new_values['name'] = isset($values['name']) ? $values['name'] : $values['item_key'];
14
  $new_values['ip'] = $_SERVER['REMOTE_ADDR'];
15
- $new_values['description'] = serialize(array('browser' => $_SERVER['HTTP_USER_AGENT'],
 
 
 
 
16
  'referrer' => $_SERVER['HTTP_REFERER']));
17
  $new_values['form_id'] = isset($values['form_id']) ? (int)$values['form_id']: null;
18
  $new_values['created_at'] = current_time('mysql', 1);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
- $query_results = $wpdb->insert( $frmdb->entries, $new_values );
21
-
22
- if($query_results){
23
  $entry_id = $wpdb->insert_id;
24
  if (isset($values['item_meta']))
25
  $frm_entry_meta->update_entry_metas($entry_id, $values['item_meta']);
@@ -37,6 +76,7 @@ class FrmEntry{
37
  $new_values = array();
38
  $new_values['item_key'] = FrmAppHelper::get_unique_key('', $frmdb->entries, 'item_key');
39
  $new_values['name'] = $values->name;
 
40
  $new_values['form_id'] = ($values->form_id)?(int)$values->form_id: null;
41
  $new_values['created_at'] = current_time('mysql', 1);
42
 
@@ -59,9 +99,10 @@ class FrmEntry{
59
 
60
  $new_values['name'] = isset($values['name'])?$values['name']:'';
61
  $new_values['form_id'] = isset($values['form_id'])?(int)$values['form_id']: null;
62
- //$new_values['parent_item_id'] = isset($values['parent_item_id'])?(int)$values['parent_item_id']: null;
 
63
 
64
- $query_results = $wpdb->update( $frmdb->entries, $new_values, array( 'id' => $id ) );
65
 
66
  if (isset($values['item_meta']))
67
  $frm_entry_meta->update_entry_metas($id, $values['item_meta']);
@@ -74,10 +115,11 @@ class FrmEntry{
74
 
75
  // Disconnect the child items from this parent item
76
  //$query_results = $wpdb->update( $frmdb->entries, array('parent_item_id' => null), array( 'parent_item_id' => $id ) );
77
-
 
78
  $reset = 'DELETE FROM ' . $frmdb->entry_metas . ' WHERE item_id=' . $id;
79
  $destroy = 'DELETE FROM ' . $frmdb->entries . ' WHERE id=' . $id;
80
-
81
  $wpdb->query($reset);
82
  return $wpdb->query($destroy);
83
  }
@@ -88,7 +130,7 @@ class FrmEntry{
88
  return $wpdb->update( $frmdb->entries, array('form_id' => $form_id), array( 'id' => $id ) );
89
  }
90
 
91
- function getOne( $id ){
92
  global $wpdb, $frmdb;
93
  $query = "SELECT it.*, fr.name as form_name, fr.form_key as form_key FROM $frmdb->entries it
94
  LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id";
@@ -96,7 +138,17 @@ class FrmEntry{
96
  $query .= ' WHERE it.id=' . $id;
97
  else
98
  $query .= " WHERE it.item_key='" . $id ."'";
99
- return $wpdb->get_row($query);
 
 
 
 
 
 
 
 
 
 
100
  }
101
 
102
  function exists( $id ){
@@ -113,12 +165,23 @@ class FrmEntry{
113
  return false;
114
  }
115
 
116
- function getAll($where = '', $order_by = '', $limit = ''){
117
  global $wpdb, $frmdb, $frm_app_helper;
118
  $query = "SELECT it.*, fr.name as form_name,fr.form_key as form_key
119
  FROM $frmdb->entries it LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id" .
120
  $frm_app_helper->prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
121
- return $wpdb->get_results($query);
 
 
 
 
 
 
 
 
 
 
 
122
  }
123
 
124
  // Pagination Methods
@@ -133,15 +196,11 @@ class FrmEntry{
133
  return ceil((int)$this->getRecordCount($where) / (int)$p_size);
134
  }
135
 
136
- function getPage($current_p,$p_size, $where = "", $order_by = ''){
137
  global $wpdb, $frmdb, $frm_app_helper;
138
  $end_index = $current_p * $p_size;
139
  $start_index = $end_index - $p_size;
140
- $query = "SELECT it.*, fr.name as form_name FROM $frmdb->entries it
141
- LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id" .
142
- $frm_app_helper->prepend_and_or_where(' WHERE ', $where) . $order_by .
143
- " LIMIT $start_index,$p_size;";
144
- $results = $wpdb->get_results($query);
145
  return $results;
146
  }
147
 
@@ -166,38 +225,42 @@ class FrmEntry{
166
  $_POST['item_meta'][$posted_field->id] = $value = '';
167
 
168
  if ($posted_field->required == '1' and $value == ''){
169
- $errors['field'.$posted_field->id] = (!isset($field_options['blank']) or $field_options['blank'] == __('Untitled cannot be blank', FRM_PLUGIN_NAME) or $field_options['blank'] == '') ? ($posted_field->name . ' '. __('can\'t be blank', FRM_PLUGIN_NAME)) : $field_options['blank'];
170
  }else if ($posted_field->type == 'text' and !isset($_POST['name']))
171
  $_POST['name'] = $value;
172
 
173
  $errors = apply_filters('frm_validate_field_entry', $errors, $posted_field, $value);
174
  }
175
 
176
- if (isset($_POST['recaptcha_challenge_field']) and $_POST['action'] == 'create'){
177
- global $recaptcha_opt;
178
-
179
- if (empty($_POST['recaptcha_response_field']) || $_POST['recaptcha_response_field'] == '') {
180
- $errors['field_captcha'] = $recaptcha_opt['error_blank'];
181
- }else{
182
- $response = recaptcha_check_answer($recaptcha_opt['privkey'], $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
183
-
184
- if (!$response->is_valid)
185
- if ($response->error == 'incorrect-captcha-sol')
186
- $errors['field_captcha'] = $recaptcha_opt['error_incorrect'];
187
 
 
 
 
 
 
 
 
 
 
 
 
188
  }
 
189
  }
190
 
191
- if ( empty($errors) && function_exists( 'akismet_http_post' ) && (get_option('wordpress_api_key') || $wpcom_api_key) && $this->akismet($values)){
 
192
  global $frm_form;
193
- $form = $frm_form->getOne($field->form_id);
194
  $form_options = stripslashes_deep(unserialize($form->options));
195
 
196
  if (isset($form_options['akismet']) && $form_options['akismet'])
197
- $errors['spam'] = __('Your entry appears to be spam!', FRM_PLUGIN_NAME);
198
  }
199
 
200
- return $errors;
201
  }
202
 
203
  //Check entries for spam -- returns true if is spam
@@ -205,7 +268,7 @@ class FrmEntry{
205
  global $akismet_api_host, $akismet_api_port, $frm_blogurl;
206
 
207
  $content = '';
208
- foreach ( $values as $val ) {
209
  if ( $content != '' )
210
  $content .= "\n\n";
211
  $content .= $val;
1
  <?php
2
  class FrmEntry{
 
 
 
 
3
 
4
  function create( $values ){
5
  global $wpdb, $frmdb, $frm_entry_meta;
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
  $new_values['ip'] = $_SERVER['REMOTE_ADDR'];
11
+
12
+ if(isset($values['description']) and !empty($values['description']))
13
+ $new_values['description'] = $values['description'];
14
+ else
15
+ $new_values['description'] = serialize(array('browser' => $_SERVER['HTTP_USER_AGENT'],
16
  'referrer' => $_SERVER['HTTP_REFERER']));
17
  $new_values['form_id'] = isset($values['form_id']) ? (int)$values['form_id']: null;
18
  $new_values['created_at'] = current_time('mysql', 1);
19
+
20
+ //if(isset($values['id']) and is_numeric($values['id']))
21
+ // $new_values['id'] = $values['id'];
22
+
23
+ if(isset($values['frm_user_id']) and is_numeric($values['frm_user_id']))
24
+ $new_values['user_id'] = $values['frm_user_id'];
25
+
26
+ //check for duplicate entries created in the last 5 minutes
27
+ $check_val = $new_values;
28
+ $check_val['created_at >'] = date('Y-m-d H:i:s', (strtotime($new_values['created_at']) - (60*60*5)));
29
+ unset($check_val['created_at']);
30
+ unset($check_val['id']);
31
+ unset($check_val['item_key']);
32
+ if($new_values['item_key'] == $new_values['name'])
33
+ unset($check_val['name']);
34
+
35
+ $create_entry = true;
36
+ $entry_exists = $frmdb->get_records($frmdb->entries, $check_val, 'created_at DESC', '', 'id');
37
+ if($entry_exists and !empty($entry_exists)){
38
+ foreach($entry_exists as $entry_exist){
39
+ if($create_entry){
40
+ $create_entry = false;
41
+ //add more checks here to make sure it's a duplicate
42
+ if (isset($values['item_meta'])){
43
+ $metas = FrmEntryMeta::get_entry_meta_info($entry_exist->id);
44
+ $field_metas = array();
45
+ foreach($metas as $meta)
46
+ $field_metas[$meta->field_id] = $meta->meta_value;
47
+
48
+ $diff = array_diff_assoc($field_metas, $values['item_meta']);
49
+ foreach($diff as $field_id => $meta_value){
50
+ if(!empty($meta_value) and !$create_entry)
51
+ $create_entry = true;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+
58
+ if($create_entry)
59
+ $query_results = $wpdb->insert( $frmdb->entries, $new_values );
60
 
61
+ if(isset($query_results) and $query_results){
 
 
62
  $entry_id = $wpdb->insert_id;
63
  if (isset($values['item_meta']))
64
  $frm_entry_meta->update_entry_metas($entry_id, $values['item_meta']);
76
  $new_values = array();
77
  $new_values['item_key'] = FrmAppHelper::get_unique_key('', $frmdb->entries, 'item_key');
78
  $new_values['name'] = $values->name;
79
+ $new_values['user_id'] = $values->user_id;
80
  $new_values['form_id'] = ($values->form_id)?(int)$values->form_id: null;
81
  $new_values['created_at'] = current_time('mysql', 1);
82
 
99
 
100
  $new_values['name'] = isset($values['name'])?$values['name']:'';
101
  $new_values['form_id'] = isset($values['form_id'])?(int)$values['form_id']: null;
102
+ if(isset($values['frm_user_id']) and is_numeric($values['frm_user_id']))
103
+ $new_values['user_id'] = $values['frm_user_id'];
104
 
105
+ $query_results = $wpdb->update( $frmdb->entries, $new_values, compact('id') );
106
 
107
  if (isset($values['item_meta']))
108
  $frm_entry_meta->update_entry_metas($id, $values['item_meta']);
115
 
116
  // Disconnect the child items from this parent item
117
  //$query_results = $wpdb->update( $frmdb->entries, array('parent_item_id' => null), array( 'parent_item_id' => $id ) );
118
+ do_action('frm_before_destroy_entry', $id);
119
+
120
  $reset = 'DELETE FROM ' . $frmdb->entry_metas . ' WHERE item_id=' . $id;
121
  $destroy = 'DELETE FROM ' . $frmdb->entries . ' WHERE id=' . $id;
122
+
123
  $wpdb->query($reset);
124
  return $wpdb->query($destroy);
125
  }
130
  return $wpdb->update( $frmdb->entries, array('form_id' => $form_id), array( 'id' => $id ) );
131
  }
132
 
133
+ function getOne( $id, $meta=false){
134
  global $wpdb, $frmdb;
135
  $query = "SELECT it.*, fr.name as form_name, fr.form_key as form_key FROM $frmdb->entries it
136
  LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id";
138
  $query .= ' WHERE it.id=' . $id;
139
  else
140
  $query .= " WHERE it.item_key='" . $id ."'";
141
+ $entry = $wpdb->get_row($query);
142
+
143
+ if($meta and $entry){
144
+ $metas = FrmEntryMeta::getAll("item_id=$entry->id");
145
+ $entry_metas = array();
146
+ foreach($metas as $meta_val)
147
+ $entry_metas[$meta_val->field_id] = $entry_metas[$meta_val->field_key] = $meta_val->meta_value;
148
+
149
+ $entry->metas = $entry_metas;
150
+ }
151
+ return $entry;
152
  }
153
 
154
  function exists( $id ){
165
  return false;
166
  }
167
 
168
+ function getAll($where = '', $order_by = '', $limit = '', $meta=false){
169
  global $wpdb, $frmdb, $frm_app_helper;
170
  $query = "SELECT it.*, fr.name as form_name,fr.form_key as form_key
171
  FROM $frmdb->entries it LEFT OUTER JOIN $frmdb->forms fr ON it.form_id=fr.id" .
172
  $frm_app_helper->prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
173
+ $entries = $wpdb->get_results($query);
174
+ if($meta){
175
+ foreach($entries as $key => $entry){
176
+ $metas = FrmEntryMeta::getAll("item_id=$entry->id");
177
+ $entry_metas = array();
178
+ foreach($metas as $meta_val)
179
+ $entry_metas[$meta_val->field_id] = $entry_metas[$meta_val->field_key] = $meta_val->meta_value;
180
+
181
+ $entries[$key]->metas = $entry_metas;
182
+ }
183
+ }
184
+ return $entries;
185
  }
186
 
187
  // Pagination Methods
196
  return ceil((int)$this->getRecordCount($where) / (int)$p_size);
197
  }
198
 
199
+ function getPage($current_p,$p_size, $where = '', $order_by = ''){
200
  global $wpdb, $frmdb, $frm_app_helper;
201
  $end_index = $current_p * $p_size;
202
  $start_index = $end_index - $p_size;
203
+ $results = $this->getAll($where, $order_by, " LIMIT $start_index,$p_size;", true);
 
 
 
 
204
  return $results;
205
  }
206
 
225
  $_POST['item_meta'][$posted_field->id] = $value = '';
226
 
227
  if ($posted_field->required == '1' and $value == ''){
228
+ $errors['field'.$posted_field->id] = (!isset($field_options['blank']) or $field_options['blank'] == __('Untitled cannot be blank', 'formidable') or $field_options['blank'] == '') ? ($posted_field->name . ' '. __('cannot be blank', 'formidable')) : $field_options['blank'];
229
  }else if ($posted_field->type == 'text' and !isset($_POST['name']))
230
  $_POST['name'] = $value;
231
 
232
  $errors = apply_filters('frm_validate_field_entry', $errors, $posted_field, $value);
233
  }
234
 
235
+ if (isset($_POST['recaptcha_challenge_field'])){
236
+ global $frm_settings;
 
 
 
 
 
 
 
 
 
237
 
238
+ if(!function_exists('recaptcha_check_answer'))
239
+ require_once(FRM_PATH.'/classes/recaptchalib.php');
240
+
241
+ $response = recaptcha_check_answer($frm_settings->privkey,
242
+ $_SERVER["REMOTE_ADDR"],
243
+ $_POST["recaptcha_challenge_field"],
244
+ $_POST["recaptcha_response_field"]);
245
+
246
+ if (!$response->is_valid) {
247
+ // What happens when the CAPTCHA was entered incorrectly
248
+ $errors['captcha-'.$response->error] = $frm_settings->re_msg;
249
  }
250
+
251
  }
252
 
253
+ global $wpcom_api_key;
254
+ 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)){
255
  global $frm_form;
256
+ $form = $frm_form->getOne($values['form_id']);
257
  $form_options = stripslashes_deep(unserialize($form->options));
258
 
259
  if (isset($form_options['akismet']) && $form_options['akismet'])
260
+ $errors['spam'] = __('Your entry appears to be spam!', 'formidable');
261
  }
262
 
263
+ return apply_filters('frm_validate_entry', $errors, $values);
264
  }
265
 
266
  //Check entries for spam -- returns true if is spam
268
  global $akismet_api_host, $akismet_api_port, $frm_blogurl;
269
 
270
  $content = '';
271
+ foreach ( $values['item_meta'] as $val ) {
272
  if ( $content != '' )
273
  $content .= "\n\n";
274
  $content .= $val;
classes/models/FrmEntryMeta.php CHANGED
@@ -1,73 +1,65 @@
1
  <?php
2
  class FrmEntryMeta{
3
- var $table_name;
4
 
5
- function FrmEntryMeta(){
6
- }
7
-
8
- function add_entry_meta($item_id, $field_id, $meta_key, $meta_value){
9
  global $wpdb, $frmdb;
10
 
11
  $new_values = array();
12
- $new_values['meta_key'] = $meta_key;
13
  $new_values['meta_value'] = trim($meta_value);
14
- $new_values['item_id'] = $item_id;
15
  $new_values['field_id'] = $field_id;
16
  $new_values['created_at'] = current_time('mysql', 1);
17
  $new_values = apply_filters('frm_add_entry_meta', $new_values);
18
 
19
- return $wpdb->insert( $frmdb->entry_metas, $new_values );
20
  }
21
 
22
- function update_entry_meta($item_id, $field_id, $meta_key, $meta_value){
23
  global $wpdb;
24
- //$this->delete_entry_meta($item_id, $field_id);
25
  if ($meta_value)
26
- $this->add_entry_meta($item_id, $field_id, $meta_key, $meta_value);
27
  }
28
 
29
- function update_entry_metas($item_id, $values){
30
  global $frm_field;
31
- $this->delete_entry_metas($item_id);
32
  foreach($values as $field_id => $meta_value){
33
- $field = $frm_field->getOne( $field_id );
34
- $meta_key = $field->field_key;
35
- $meta_value = maybe_serialize($values[$field_id]);
36
- $this->update_entry_meta($item_id, $field_id, $meta_key, $meta_value);
37
  }
38
  }
39
 
40
- function duplicate_entry_metas($item_id){
41
- foreach ($this->get_entry_meta_info($item_id) as $meta)
42
- $this->update_entry_meta($item_id, $meta->field_id, $meta->meta_key, $meta->meta_value);
43
  }
44
 
45
- function delete_entry_meta($item_id, $field_id){
46
  global $wpdb, $frmdb;
47
- return $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE field_id={$field_id} AND item_id={$item_id}");
48
  }
49
 
50
- function delete_entry_metas($item_id){
51
  global $wpdb, $frmdb;
52
- return $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE item_id={$item_id}");
53
  }
54
 
55
- function get_entry_meta_by_field($item_id, $field_id, $return_var=false){
56
  global $wpdb, $frmdb;
57
  if (is_numeric($field_id))
58
- $query = "SELECT meta_value FROM $frmdb->entry_metas WHERE field_id='{$field_id}' and item_id='{$item_id}'";
59
  else
60
- $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='{$item_id}'";
61
  if($return_var)
62
- return $wpdb->get_var("{$query} LIMIT 1");
63
  else
64
  return $wpdb->get_col($query, 0);
65
  }
66
 
67
- function get_entry_meta($item_id,$meta_key,$return_var=true){
68
  global $wpdb, $frmdb;
69
- $query_str = "SELECT meta_value FROM $frmdb->entry_metas WHERE meta_key=%s and item_id=%d";
70
- $query = $wpdb->prepare($query_str,$meta_key,$item_id);
71
 
72
  if($return_var)
73
  return stripslashes($wpdb->get_var("{$query} LIMIT 1"));
@@ -75,14 +67,16 @@ class FrmEntryMeta{
75
  return $wpdb->get_col($query, 0);
76
  }
77
 
78
- function get_entry_metas($item_id){
79
  global $wpdb, $frmdb;
80
- return $wpdb->get_col("SELECT meta_value FROM $frmdb->entry_metas WHERE item_id={$item_id}");
81
  }
82
 
83
- function get_entry_metas_for_field($field_id, $order='', $limit='', $value=false){
84
  global $wpdb, $frmdb;
85
- $query = "SELECT em.meta_value FROM $frmdb->entry_metas em ";
 
 
86
  $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}'";
87
  if($value)
88
  $query .= " AND meta_value='$value'";
@@ -90,17 +84,9 @@ class FrmEntryMeta{
90
  return $wpdb->get_col($query);
91
  }
92
 
93
- function get_entry_meta_info($item_id){
94
- global $wpdb, $frmdb;
95
- return $wpdb->get_results("SELECT * FROM $frmdb->entry_metas WHERE item_id={$item_id}");
96
- }
97
-
98
- function get_entry_meta_info_by_key($item_id, $meta_key){
99
  global $wpdb, $frmdb;
100
- $query_str = "SELECT * FROM $frmdb->entry_metas WHERE meta_key=%s and item_id=%d";
101
- $query = $wpdb->prepare($query_str,$meta_key,$item_id);
102
-
103
- return $wpdb->get_results($query, 0);
104
  }
105
 
106
  function getAll($where = '', $order_by = '', $limit = ''){
@@ -117,9 +103,11 @@ class FrmEntryMeta{
117
  return $results;
118
  }
119
 
120
- function getEntryIds($where = '', $order_by = '', $limit = ''){
121
  global $wpdb, $frmdb, $frm_app_helper;
122
- $query = "SELECT DISTINCT it.item_id FROM $frmdb->entry_metas it LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id". $frm_app_helper->prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
 
 
123
  if ($limit == ' LIMIT 1')
124
  $results = $wpdb->get_var($query);
125
  else
@@ -135,7 +123,7 @@ class FrmEntryMeta{
135
  return $wpdb->get_var($query);
136
  }
137
 
138
- function search_entry_metas($search, $meta_key='', $operator){
139
  global $wpdb, $frmdb, $frm_app_helper;
140
  if (is_array($search)){
141
  $where = '';
@@ -147,12 +135,12 @@ class FrmEntryMeta{
147
  if ($field == 'day' and $value > 0)
148
  $where .= " meta_value {$operator} '%/{$value}/%' and";
149
  }
150
- $where .= " meta_key='{$meta_key}'";
151
  $query = "SELECT DISTINCT item_id FROM $frmdb->entry_metas". $frm_app_helper->prepend_and_or_where(' WHERE ', $where);
152
  }else{
153
  if ($operator == 'LIKE')
154
  $search = "%{$search}%";
155
- $query = $wpdb->prepare("SELECT DISTINCT item_id FROM $frmdb->entry_metas WHERE meta_value {$operator} '{$search}' and meta_key='{$meta_key}'");
156
  }
157
  return $wpdb->get_col($query, 0);
158
  }
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
  global $wpdb;
19
+ //$this->delete_entry_meta($entry_id, $field_id);
20
  if ($meta_value)
21
+ $this->add_entry_meta($entry_id, $field_id, $meta_key, $meta_value);
22
  }
23
 
24
+ function update_entry_metas($entry_id, $values){
25
  global $frm_field;
26
+ $this->delete_entry_metas($entry_id);
27
  foreach($values as $field_id => $meta_value){
28
+ $this->update_entry_meta($entry_id, $field_id, '', maybe_serialize($values[$field_id]));
 
 
 
29
  }
30
  }
31
 
32
+ function duplicate_entry_metas($entry_id){
33
+ foreach ($this->get_entry_meta_info($entry_id) as $meta)
34
+ $this->update_entry_meta($entry_id, $meta->field_id, '', $meta->meta_value);
35
  }
36
 
37
+ function delete_entry_meta($entry_id, $field_id){
38
  global $wpdb, $frmdb;
39
+ return $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE field_id={$field_id} AND item_id={$entry_id}");
40
  }
41
 
42
+ function delete_entry_metas($entry_id){
43
  global $wpdb, $frmdb;
44
+ return $wpdb->query("DELETE FROM $frmdb->entry_metas WHERE item_id={$entry_id}");
45
  }
46
 
47
+ function get_entry_meta_by_field($entry_id, $field_id, $return_var=false){
48
  global $wpdb, $frmdb;
49
  if (is_numeric($field_id))
50
+ $query = "SELECT meta_value FROM $frmdb->entry_metas WHERE field_id='{$field_id}' and item_id='{$entry_id}'";
51
  else
52
+ $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}'";
53
  if($return_var)
54
+ return stripslashes($wpdb->get_var("{$query} LIMIT 1"));
55
  else
56
  return $wpdb->get_col($query, 0);
57
  }
58
 
59
+ function get_entry_meta($entry_id,$field_id,$return_var=true){
60
  global $wpdb, $frmdb;
61
+ $query_str = "SELECT meta_value FROM $frmdb->entry_metas WHERE field_id=%d and item_id=%d";
62
+ $query = $wpdb->prepare($query_str,$field_id,$entry_id);
63
 
64
  if($return_var)
65
  return stripslashes($wpdb->get_var("{$query} LIMIT 1"));
67
  return $wpdb->get_col($query, 0);
68
  }
69
 
70
+ function get_entry_metas($entry_id){
71
  global $wpdb, $frmdb;
72
+ return $wpdb->get_col("SELECT meta_value FROM $frmdb->entry_metas WHERE item_id={$entry_id}");
73
  }
74
 
75
+ function get_entry_metas_for_field($field_id, $order='', $limit='', $value=false, $unique=false){
76
  global $wpdb, $frmdb;
77
+ $query = "SELECT ";
78
+ $query .= ($unique) ? "DISTINCT(em.meta_value)" : "em.meta_value";
79
+ $query .= " FROM $frmdb->entry_metas em ";
80
  $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}'";
81
  if($value)
82
  $query .= " AND meta_value='$value'";
84
  return $wpdb->get_col($query);
85
  }
86
 
87
+ function get_entry_meta_info($entry_id){
 
 
 
 
 
88
  global $wpdb, $frmdb;
89
+ return $wpdb->get_results("SELECT * FROM $frmdb->entry_metas WHERE item_id={$entry_id}");
 
 
 
90
  }
91
 
92
  function getAll($where = '', $order_by = '', $limit = ''){
103
  return $results;
104
  }
105
 
106
+ function getEntryIds($where = '', $order_by = '', $limit = '', $unique=true){
107
  global $wpdb, $frmdb, $frm_app_helper;
108
+ $query = "SELECT ";
109
+ $query .= ($unique) ? "DISTINCT(it.item_id)" : "it.item_id";
110
+ $query .= " FROM $frmdb->entry_metas it LEFT OUTER JOIN $frmdb->fields fi ON it.field_id=fi.id". $frm_app_helper->prepend_and_or_where(' WHERE ', $where) . $order_by . $limit;
111
  if ($limit == ' LIMIT 1')
112
  $results = $wpdb->get_var($query);
113
  else
123
  return $wpdb->get_var($query);
124
  }
125
 
126
+ function search_entry_metas($search, $field_id='', $operator){
127
  global $wpdb, $frmdb, $frm_app_helper;
128
  if (is_array($search)){
129
  $where = '';
135
  if ($field == 'day' and $value > 0)
136
  $where .= " meta_value {$operator} '%/{$value}/%' and";
137
  }
138
+ $where .= " field_id='{$field_id}'";
139
  $query = "SELECT DISTINCT item_id FROM $frmdb->entry_metas". $frm_app_helper->prepend_and_or_where(' WHERE ', $where);
140
  }else{
141
  if ($operator == 'LIKE')
142
  $search = "%{$search}%";
143
+ $query = $wpdb->prepare("SELECT DISTINCT item_id FROM $frmdb->entry_metas WHERE meta_value {$operator} '{$search}' and field_id='{$field_id}'");
144
  }
145
  return $wpdb->get_col($query, 0);
146
  }
classes/models/FrmField.php CHANGED
@@ -1,9 +1,5 @@
1
  <?php
2
  class FrmField{
3
- var $table_name;
4
-
5
- function FrmField(){
6
- }
7
 
8
  function create( $values, $return=true ){
9
  global $wpdb, $frmdb;
@@ -12,14 +8,19 @@ class FrmField{
12
  $key = isset($values['field_key']) ? $values['field_key'] : $values['name'];
13
  $new_values['field_key'] = FrmAppHelper::get_unique_key($key, $frmdb->fields, 'field_key');
14
 
15
- foreach (array('name','description','type','default_value','options') as $col)
16
  $new_values[$col] = stripslashes($values[$col]);
 
 
17
 
18
  $new_values['field_order'] = isset($values['field_order'])?(int)$values['field_order']:NULL;
19
  $new_values['required'] = isset($values['required'])?(int)$values['required']:NULL;
20
  $new_values['form_id'] = isset($values['form_id'])?(int)$values['form_id']:NULL;
21
  $new_values['field_options'] = serialize($values['field_options']);
22
  $new_values['created_at'] = current_time('mysql', 1);
 
 
 
23
 
24
  $query_results = $wpdb->insert( $frmdb->fields, $new_values );
25
  if($return){
@@ -39,7 +40,7 @@ class FrmField{
39
  $values['field_options'] = unserialize($field->field_options);
40
  $values['form_id'] = $form_id;
41
  foreach (array('name','description','type','default_value','options','field_order','required') as $col)
42
- $values[$col] = $field->$col;
43
  $this->create($values, false);
44
  }
45
  }
@@ -53,9 +54,7 @@ class FrmField{
53
  if (isset($values['field_options']))
54
  $values['field_options'] = serialize($values['field_options']);
55
 
56
- $query_results = $wpdb->update( $frmdb->fields, $values, array( 'id' => $id ) );
57
-
58
- return $query_results;
59
  }
60
 
61
  function destroy( $id ){
@@ -69,7 +68,10 @@ class FrmField{
69
  }
70
 
71
  function getOne( $id ){
72
- global $wpdb, $frmdb;
 
 
 
73
  if (is_numeric($id))
74
  $query = "SELECT * FROM $frmdb->fields WHERE id=$id";
75
  else
@@ -78,7 +80,7 @@ class FrmField{
78
  }
79
 
80
  function getAll($where = '', $order_by = '', $limit = '', $blog_id=false){
81
- global $wpdb, $frmdb, $frm_app_helper;
82
  if ($blog_id and IS_WPMU){
83
  global $wpmuBaseTablePrefix;
84
  $table_name = "{$wpmuBaseTablePrefix}{$blog_id}_frm_fields";
@@ -96,6 +98,14 @@ class FrmField{
96
  $results = $wpdb->get_row($query);
97
  else
98
  $results = $wpdb->get_results($query);
 
 
 
 
 
 
 
 
99
  return $results;
100
  }
101
 
1
  <?php
2
  class FrmField{
 
 
 
 
3
 
4
  function create( $values, $return=true ){
5
  global $wpdb, $frmdb;
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($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'] = serialize($values['field_options']);
20
  $new_values['created_at'] = current_time('mysql', 1);
21
+
22
+ //if(isset($values['id']) and is_numeric($values['id']))
23
+ // $new_values['id'] = $values['id'];
24
 
25
  $query_results = $wpdb->insert( $frmdb->fields, $new_values );
26
  if($return){
40
  $values['field_options'] = unserialize($field->field_options);
41
  $values['form_id'] = $form_id;
42
  foreach (array('name','description','type','default_value','options','field_order','required') as $col)
43
+ $values[$col] = $field->{$col};
44
  $this->create($values, false);
45
  }
46
  }
54
  if (isset($values['field_options']))
55
  $values['field_options'] = serialize($values['field_options']);
56
 
57
+ return $wpdb->update( $frmdb->fields, $values, array( 'id' => $id ) );
 
 
58
  }
59
 
60
  function destroy( $id ){
68
  }
69
 
70
  function getOne( $id ){
71
+ global $wpdb, $frmdb, $frm_loaded_fields;
72
+ if(isset($frm_loaded_fields[$id]))
73
+ return $frm_loaded_fields[$id];
74
+
75
  if (is_numeric($id))
76
  $query = "SELECT * FROM $frmdb->fields WHERE id=$id";
77
  else
80
  }
81
 
82
  function getAll($where = '', $order_by = '', $limit = '', $blog_id=false){
83
+ global $wpdb, $frmdb, $frm_app_helper, $frm_loaded_fields;
84
  if ($blog_id and IS_WPMU){
85
  global $wpmuBaseTablePrefix;
86
  $table_name = "{$wpmuBaseTablePrefix}{$blog_id}_frm_fields";
98
  $results = $wpdb->get_row($query);
99
  else
100
  $results = $wpdb->get_results($query);
101
+
102
+ if($results){
103
+ if(is_array($results)){
104
+ foreach($results as $result)
105
+ $frm_loaded_fields[$result->id] = $frm_loaded_fields[$result->field_key] = $result;
106
+ }else
107
+ $frm_loaded_fields[$results->id] = $frm_loaded_fields[$results->field_key] = $results;
108
+ }
109
  return $results;
110
  }
111
 
classes/models/FrmForm.php CHANGED
@@ -1,9 +1,5 @@
1
  <?php
2
  class FrmForm{
3
- var $table_name;
4
-
5
- function FrmForm(){
6
- }
7
 
8
  function create( $values ){
9
  global $wpdb, $frmdb, $frm_settings;
@@ -26,6 +22,9 @@ class FrmForm{
26
  $options['after_html'] = isset($values['options']['after_html']) ? $values['options']['after_html'] : FrmFormsHelper::get_default_html('after');
27
  $new_values['options'] = serialize($options);
28
  $new_values['created_at'] = current_time('mysql', 1);
 
 
 
29
 
30
  $query_results = $wpdb->insert( $frmdb->forms, $new_values );
31
 
@@ -59,7 +58,7 @@ class FrmForm{
59
 
60
  $query_results = $wpdb->insert( $frmdb->forms, $new_values );
61
 
62
- if($query_results){
63
  $form_id = $wpdb->insert_id;
64
  $frm_field->duplicate($id, $form_id, $copy_keys, $blog_id);
65
 
@@ -80,7 +79,7 @@ class FrmForm{
80
  $form_fields = array('form_key','name','description','status','prli_link_id');
81
 
82
  $new_values = array();
83
-
84
  if (isset($values['options'])){
85
  $options = array();
86
  $options['email_to'] = isset($values['options']['email_to']) ? $values['options']['email_to'] : '';
@@ -99,11 +98,12 @@ class FrmForm{
99
  if (in_array($value_key, $form_fields))
100
  $new_values[$value_key] = $value;
101
  }
102
-
103
- $query_results = $wpdb->update( $frmdb->forms, $new_values, array( 'id' => $id ) );
 
104
 
105
  $all_fields = $frm_field->getAll("fi.form_id=$id");
106
- if ($all_fields and isset($values['options'])){
107
  if(!isset($values['item_meta']))
108
  $values['item_meta'] = array();
109
  $existing_keys = array_keys($values['item_meta']);
@@ -118,11 +118,12 @@ class FrmForm{
118
  foreach (array('size','max','label','invalid','required_indicator','blank') as $opt)
119
  $field_options[$opt] = isset($values['field_options'][$opt.'_'.$field_id]) ? trim($values['field_options'][$opt.'_'.$field_id]) : '';
120
  $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));
121
- $field_options = apply_filters('frm_update_field_options', $field_options, $field_id, $values);
122
  $default_value = maybe_serialize($values['item_meta'][$field_id]);
123
  $field_key = (isset($values['field_options']['field_key_'.$field_id]))? $values['field_options']['field_key_'.$field_id] : $field->field_key;
124
  $field_type = (isset($values['field_options']['type_'.$field_id]))? $values['field_options']['type_'.$field_id] : $field->type;
125
- $frm_field->update($field_id, array('field_key' => $field_key, 'type' => $field_type, 'default_value' => $default_value, 'field_options' => $field_options));
 
126
  }
127
  }
128
 
1
  <?php
2
  class FrmForm{
 
 
 
 
3
 
4
  function create( $values ){
5
  global $wpdb, $frmdb, $frm_settings;
22
  $options['after_html'] = isset($values['options']['after_html']) ? $values['options']['after_html'] : FrmFormsHelper::get_default_html('after');
23
  $new_values['options'] = serialize($options);
24
  $new_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
  $query_results = $wpdb->insert( $frmdb->forms, $new_values );
30
 
58
 
59
  $query_results = $wpdb->insert( $frmdb->forms, $new_values );
60
 
61
+ if($query_results){
62
  $form_id = $wpdb->insert_id;
63
  $frm_field->duplicate($id, $form_id, $copy_keys, $blog_id);
64
 
79
  $form_fields = array('form_key','name','description','status','prli_link_id');
80
 
81
  $new_values = array();
82
+
83
  if (isset($values['options'])){
84
  $options = array();
85
  $options['email_to'] = isset($values['options']['email_to']) ? $values['options']['email_to'] : '';
98
  if (in_array($value_key, $form_fields))
99
  $new_values[$value_key] = $value;
100
  }
101
+
102
+ if(!empty($new_values))
103
+ $query_results = $wpdb->update( $frmdb->forms, $new_values, array( 'id' => $id ) );
104
 
105
  $all_fields = $frm_field->getAll("fi.form_id=$id");
106
+ if ($all_fields and (isset($values['options']) or isset($values['item_meta']))){
107
  if(!isset($values['item_meta']))
108
  $values['item_meta'] = array();
109
  $existing_keys = array_keys($values['item_meta']);
118
  foreach (array('size','max','label','invalid','required_indicator','blank') as $opt)
119
  $field_options[$opt] = isset($values['field_options'][$opt.'_'.$field_id]) ? trim($values['field_options'][$opt.'_'.$field_id]) : '';
120
  $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));
121
+ $field_options = apply_filters('frm_update_field_options', $field_options, $field, $values);
122
  $default_value = maybe_serialize($values['item_meta'][$field_id]);
123
  $field_key = (isset($values['field_options']['field_key_'.$field_id]))? $values['field_options']['field_key_'.$field_id] : $field->field_key;
124
  $field_type = (isset($values['field_options']['type_'.$field_id]))? $values['field_options']['type_'.$field_id] : $field->type;
125
+ $field_description = (isset($values['field_options']['description_'.$field_id]))? $values['field_options']['description_'.$field_id] : $field->description;
126
+ $frm_field->update($field_id, array('field_key' => $field_key, 'type' => $field_type, 'default_value' => $default_value, 'field_options' => $field_options, 'description' => $field_description));
127
  }
128
  }
129
 
classes/models/FrmNotification.php CHANGED
@@ -16,12 +16,13 @@ class FrmNotification{
16
  $form_options = unserialize($form->options);
17
  $to_email = $form_options['email_to'];
18
  if ($to_email == '')
19
- return;
 
20
  $to_emails = explode(',', $to_email);
21
 
22
  $reply_to = '';
23
 
24
- $opener = sprintf(__('%1$s form has been submitted on %2$s.', FRM_PLUGIN_NAME), $form->name, $frm_blogname) ."\r\n\r\n";
25
 
26
  $entry_data = '';
27
  foreach ($values as $value){
@@ -35,13 +36,13 @@ class FrmNotification{
35
  }
36
 
37
  $data = unserialize($entry->description);
38
- $user_data = __('User Information', FRM_PLUGIN_NAME) ."\r\n";
39
- $user_data .= __('IP Address', FRM_PLUGIN_NAME) . ": ". $entry->ip ."\r\n";
40
- $user_data .= __('User-Agent (Browser/OS)', FRM_PLUGIN_NAME) . ": ". $data['browser']."\r\n";
41
- $user_data .= __('Referrer', FRM_PLUGIN_NAME) . ": ". $data['referrer']."\r\n";
42
 
43
  $mail_body = $opener . $entry_data ."\r\n". $user_data;
44
- $subject = sprintf(__('%1$s Form submitted on %2$s', FRM_PLUGIN_NAME), $form->name, $frm_blogname); //subject
45
 
46
  if(is_array($to_emails)){
47
  foreach($to_emails as $to_email)
@@ -50,19 +51,25 @@ class FrmNotification{
50
  $this->send_notification_email($to_email, $subject, $mail_body, $reply_to);
51
  }
52
 
53
- function send_notification_email($to_email, $subject, $message, $reply_to='', $reply_to_name='', $plain_text=true){
54
  $content_type = ($plain_text) ? 'text/plain' : 'text/html';
55
  $reply_to_name = ($reply_to_name == '') ? get_option('blogname') : $reply_to_name; //senders name
56
  $reply_to = ($reply_to == '') ? get_option('admin_email') : $reply_to; //senders e-mail address
 
 
 
 
57
  $recipient = $to_email; //recipient
58
- $header = "From: {$reply_to_name} <{$reply_to}>\r\n Reply-To: {$reply_to_name} <{$reply_to}>\r\n Content-Type: {$content_type}; charset=\"" . get_option('blog_charset') . "\"\r\n"; //optional headerfields
59
  $subject = html_entity_decode(strip_tags(stripslashes($subject)));
60
- $message = stripslashes($message);
61
  if($plain_text)
62
  $message = html_entity_decode(strip_tags($message));
63
 
64
- if (!wp_mail($recipient, $subject, $message, $header))
 
65
  mail($recipient, $subject, $message, $header);
 
66
 
67
  do_action('frm_notification', $recipient, $subject, $message);
68
  }
16
  $form_options = unserialize($form->options);
17
  $to_email = $form_options['email_to'];
18
  if ($to_email == '')
19
+ $to_email = get_option('admin_email');
20
+
21
  $to_emails = explode(',', $to_email);
22
 
23
  $reply_to = '';
24
 
25
+ $opener = sprintf(__('%1$s form has been submitted on %2$s.', 'formidable'), $form->name, $frm_blogname) ."\r\n\r\n";
26
 
27
  $entry_data = '';
28
  foreach ($values as $value){
36
  }
37
 
38
  $data = unserialize($entry->description);
39
+ $user_data = __('User Information', 'formidable') ."\r\n";
40
+ $user_data .= __('IP Address', 'formidable') . ": ". $entry->ip ."\r\n";
41
+ $user_data .= __('User-Agent (Browser/OS)', 'formidable') . ": ". $data['browser']."\r\n";
42
+ $user_data .= __('Referrer', 'formidable') . ": ". $data['referrer']."\r\n";
43
 
44
  $mail_body = $opener . $entry_data ."\r\n". $user_data;
45
+ $subject = sprintf(__('%1$s Form submitted on %2$s', 'formidable'), $form->name, $frm_blogname); //subject
46
 
47
  if(is_array($to_emails)){
48
  foreach($to_emails as $to_email)
51
  $this->send_notification_email($to_email, $subject, $mail_body, $reply_to);
52
  }
53
 
54
+ function send_notification_email($to_email, $subject, $message, $reply_to='', $reply_to_name='', $plain_text=true, $attachments=array()){
55
  $content_type = ($plain_text) ? 'text/plain' : 'text/html';
56
  $reply_to_name = ($reply_to_name == '') ? get_option('blogname') : $reply_to_name; //senders name
57
  $reply_to = ($reply_to == '') ? get_option('admin_email') : $reply_to; //senders e-mail address
58
+
59
+ if($to_email == '[admin_email]')
60
+ $to_email = get_option('admin_email');
61
+
62
  $recipient = $to_email; //recipient
63
+ $header = "From: \"{$reply_to_name}\" <{$reply_to}>\r\n Reply-To: \"{$reply_to_name}\" <{$reply_to}>\r\n Content-Type: {$content_type}; charset=\"" . get_option('blog_charset') . "\"\r\n"; //optional headerfields
64
  $subject = html_entity_decode(strip_tags(stripslashes($subject)));
65
+ $message = wordwrap(stripslashes($message), 70, "\r\n"); //in case any lines are longer than 70 chars
66
  if($plain_text)
67
  $message = html_entity_decode(strip_tags($message));
68
 
69
+ if (!wp_mail($recipient, $subject, $message, $header, $attachments)){
70
+ $header = "From: \"{$reply_to_name}\" <{$reply_to}>\r\n";
71
  mail($recipient, $subject, $message, $header);
72
+ }
73
 
74
  do_action('frm_notification', $recipient, $subject, $message);
75
  }
classes/models/FrmSettings.php CHANGED
@@ -5,14 +5,23 @@ class FrmSettings{
5
  var $preview_page_id_str;
6
  var $lock_keys;
7
 
 
 
 
 
 
 
8
  var $custom_style;
 
9
  var $custom_stylesheet;
 
10
  var $accordion_js;
11
 
12
  var $success_msg;
13
  var $failed_msg;
14
  var $submit_value;
15
  var $login_msg;
 
16
 
17
  var $email_to;
18
 
@@ -40,29 +49,62 @@ class FrmSettings{
40
 
41
  if(!isset($this->lock_keys))
42
  $this->lock_keys = true;
 
 
 
 
 
 
 
 
 
43
 
44
- if(!isset($this->custom_style))
45
- $this->custom_style = true;
46
- if(!isset($this->custom_stylesheet))
47
- $this->custom_stylesheet = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  if(!isset($this->accordion_js))
49
  $this->accordion_js = false;
50
 
51
  if(!isset($this->success_msg))
52
- $this->success_msg = __('Your responses were successfully submitted. Thank you!', FRM_PLUGIN_NAME);
53
  $this->success_msg = stripslashes($this->success_msg);
54
 
55
  if(!isset($this->failed_msg))
56
- $this->failed_msg = __('We\'re sorry. There was an error processing your responses.', FRM_PLUGIN_NAME);
57
  $this->failed_msg = stripslashes($this->failed_msg);
58
 
59
  if(!isset($this->submit_value))
60
- $this->submit_value = __('Submit', FRM_PLUGIN_NAME);
61
 
62
  if(!isset($this->login_msg))
63
- $this->login_msg = __('You do not have permission to view this form.', FRM_PLUGIN_NAME);
64
  $this->login_msg = stripslashes($this->login_msg);
65
 
 
 
 
 
66
  $this->email_to = get_option('admin_email');
67
 
68
  $frm_roles = FrmAppHelper::frm_capabilities();
@@ -84,8 +126,16 @@ class FrmSettings{
84
  $this->preview_page_id = (int)$params[ $this->preview_page_id_str ];
85
  $this->lock_keys = isset($params['frm_lock_keys']) ? 1 : 0;
86
 
87
- $this->custom_style = isset($params['frm_custom_style']) ? 1 : 0;
88
- $this->custom_stylesheet = isset($params['frm_custom_stylesheet']) ? 1 : 0;
 
 
 
 
 
 
 
 
89
  $this->accordion_js = isset($params['frm_accordion_js']) ? 1 : 0;
90
 
91
  $this->success_msg = isset($params['frm_success_msg']) ? $params['frm_success_msg'] : __('Your responses were successfully submitted. Thank you!', 'formidable');
5
  var $preview_page_id_str;
6
  var $lock_keys;
7
 
8
+ var $pubkey;
9
+ var $privkey;
10
+ var $re_theme;
11
+ var $re_lang;
12
+ var $re_msg;
13
+
14
  var $custom_style;
15
+ var $load_style;
16
  var $custom_stylesheet;
17
+ var $jquery_css;
18
  var $accordion_js;
19
 
20
  var $success_msg;
21
  var $failed_msg;
22
  var $submit_value;
23
  var $login_msg;
24
+ var $admin_permission;
25
 
26
  var $email_to;
27
 
49
 
50
  if(!isset($this->lock_keys))
51
  $this->lock_keys = true;
52
+
53
+ if(!isset($this->pubkey)){
54
+ if(IS_WPMU)
55
+ $recaptcha_opt = get_site_option('recaptcha'); // get the options from the database
56
+ else
57
+ $recaptcha_opt = get_option('recaptcha');
58
+
59
+ $this->pubkey = (isset($recaptcha_opt['pubkey'])) ? $recaptcha_opt['pubkey'] : '';
60
+ }
61
 
62
+ if(!isset($this->privkey))
63
+ $this->privkey = (isset($recaptcha_opt) and isset($recaptcha_opt['privkey'])) ? $recaptcha_opt['privkey'] : '';
64
+
65
+ if(!isset($this->re_theme))
66
+ $this->re_theme = (isset($recaptcha_opt) and isset($recaptcha_opt['re_theme'])) ? $recaptcha_opt['re_theme'] : 'red';
67
+
68
+ if(!isset($this->re_lang))
69
+ $this->re_lang = (isset($recaptcha_opt) and isset($recaptcha_opt['re_lang'])) ? $recaptcha_opt['re_lang'] : 'en';
70
+
71
+ if(!isset($this->re_msg) or empty($this->re_msg))
72
+ $this->re_msg = __('The reCAPTCHA was not entered correctly', 'formidable');
73
+
74
+
75
+ if(!isset($this->load_style)){
76
+ if(!isset($this->custom_style))
77
+ $this->custom_style = true;
78
+ if(!isset($this->custom_stylesheet))
79
+ $this->custom_stylesheet = false;
80
+
81
+ $this->load_style = ($this->custom_stylesheet) ? 'none' : 'all';
82
+ }
83
+
84
+ if(!isset($this->jquery_css))
85
+ $this->jquery_css = false;
86
  if(!isset($this->accordion_js))
87
  $this->accordion_js = false;
88
 
89
  if(!isset($this->success_msg))
90
+ $this->success_msg = __('Your responses were successfully submitted. Thank you!', 'formidable');
91
  $this->success_msg = stripslashes($this->success_msg);
92
 
93
  if(!isset($this->failed_msg))
94
+ $this->failed_msg = __('We\'re sorry. There was an error processing your responses.', 'formidable');
95
  $this->failed_msg = stripslashes($this->failed_msg);
96
 
97
  if(!isset($this->submit_value))
98
+ $this->submit_value = __('Submit', 'formidable');
99
 
100
  if(!isset($this->login_msg))
101
+ $this->login_msg = __('You do not have permission to view this form.', 'formidable');
102
  $this->login_msg = stripslashes($this->login_msg);
103
 
104
+ if(!isset($this->admin_permission))
105
+ $this->admin_permission = __("You do not have permission to do that", 'formidable');
106
+ $this->admin_permission = stripslashes($this->admin_permission);
107
+
108
  $this->email_to = get_option('admin_email');
109
 
110
  $frm_roles = FrmAppHelper::frm_capabilities();
126
  $this->preview_page_id = (int)$params[ $this->preview_page_id_str ];
127
  $this->lock_keys = isset($params['frm_lock_keys']) ? 1 : 0;
128
 
129
+ $this->pubkey = $params['frm_pubkey'];
130
+ $this->privkey = $params['frm_privkey'];
131
+ $this->re_theme = $params['frm_re_theme'];
132
+ $this->re_lang = $params['frm_re_lang'];
133
+ $this->re_msg = $params['frm_re_msg'];
134
+
135
+ $this->load_style = $params['frm_load_style'];
136
+ //$this->custom_style = isset($params['frm_custom_style']) ? 1 : 0;
137
+ //$this->custom_stylesheet = isset($params['frm_custom_stylesheet']) ? 1 : 0;
138
+ $this->jquery_css = isset($params['frm_jquery_css']) ? 1 : 0;
139
  $this->accordion_js = isset($params['frm_accordion_js']) ? 1 : 0;
140
 
141
  $this->success_msg = isset($params['frm_success_msg']) ? $params['frm_success_msg'] : __('Your responses were successfully submitted. Thank you!', 'formidable');
classes/models/FrmUpdate.php CHANGED
@@ -29,6 +29,7 @@ class FrmUpdate{
29
  var $pro_username;
30
  var $pro_password;
31
  var $pro_mothership_xmlrpc_url;
 
32
 
33
  function FrmUpdate(){
34
  // Where all the vitals are defined for this plugin
@@ -41,9 +42,9 @@ class FrmUpdate{
41
  $this->pro_auth_store = 'frmpro-authorized';
42
  $this->pro_auth_store = 'frmpro-wpmu-sitewide';
43
  $this->pro_last_checked_store = 'frmpro_last_checked_update';
44
- $this->pro_username_label = __(FRM_PLUGIN_TITLE .' Pro Username', FRM_PLUGIN_NAME);
45
- $this->pro_password_label = __(FRM_PLUGIN_TITLE .' Pro Password', FRM_PLUGIN_NAME);
46
- $this->pro_error_message_str = __('Your '.FRM_PLUGIN_TITLE.' Pro Username or Password was Invalid', FRM_PLUGIN_NAME);
47
 
48
  // Don't modify these variables
49
  $this->pro_check_interval = 60*60; // Checking every hour
@@ -51,6 +52,7 @@ class FrmUpdate{
51
  $this->pro_password_str = 'proplug-password';
52
  $this->pro_wpmu_str = 'proplug-wpmu';
53
  $this->pro_mothership_xmlrpc_url = $this->pro_mothership . '/xmlrpc.php';
 
54
 
55
  // Retrieve Pro Credentials
56
  $this->pro_wpmu = false;
@@ -104,7 +106,7 @@ class FrmUpdate{
104
  function authorize_user($username, $password){
105
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
106
 
107
- $client = new IXR_Client( $this->pro_mothership_xmlrpc_url );
108
 
109
  if ( !$client->query( 'proplug.is_user_authorized', $username, $password ) )
110
  return false;
@@ -115,7 +117,7 @@ class FrmUpdate{
115
  function user_allowed_to_download(){
116
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
117
 
118
- $client = new IXR_Client( $this->pro_mothership_xmlrpc_url );
119
 
120
  if ( !$client->query( 'proplug.is_user_allowed_to_download', $this->pro_username, $this->pro_password, get_option('home') ) )
121
  return false;
@@ -127,7 +129,7 @@ class FrmUpdate{
127
  global $frmpro_is_installed; ?>
128
  <div class="wrap">
129
  <div id="icon-options-general" class="icon32"><br/></div>
130
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Pro Account Information', FRM_PLUGIN_NAME)?></h2>
131
  <?php
132
  if(isset($_POST) and isset($_POST['process_cred_form']) and $_POST['process_cred_form'] == 'Y'){
133
  if($this->process_pro_cred_form()){
@@ -136,7 +138,7 @@ class FrmUpdate{
136
 
137
  ?>
138
  <div id="message" class="updated fade">
139
- <strong><?php printf(__('Your Username & Password was accepted<br/>Now you can %1$sUpgrade Automatically!%2$s', FRM_PLUGIN_NAME), "<a href=\"{$inst_install_url}\">","</a>"); ?></strong>
140
  </div>
141
  <?php
142
  }
@@ -144,7 +146,7 @@ class FrmUpdate{
144
  ?>
145
  <div class="error">
146
  <ul>
147
- <li><strong><?php _e('ERROR', FRM_PLUGIN_NAME); ?></strong>: <?php echo $this->pro_error_message_str; ?></li>
148
  </ul>
149
  </div>
150
  <?php
@@ -158,15 +160,15 @@ class FrmUpdate{
158
  <div>
159
  <p><strong>Formidable Pro is Installed</strong></p>
160
  <p><strong>Edit/Update Your Profile:</strong><br/><span class="howto">Use your account username and password to log in to your Account and Affiliate Control Panel</span></p>
161
- <p><a href="http://formidablepro.com/payments/member.php">Account</a> |
162
- <a href="http://formidablepro.com/payments/aff_member.php">Affiliate Control Panel</a>
163
  </p>
164
  </div>
165
 
166
  <?php }else{ ?>
167
- <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.', FRM_PLUGIN_NAME) ?></p>
168
 
169
- <a href="http://formidablepro.com"><?php _e('Learn More', FRM_PLUGIN_NAME) ?> &raquo;</a>
170
  <?php } ?>
171
  </div>
172
  <?php
@@ -177,7 +179,7 @@ class FrmUpdate{
177
  extract($this->get_pro_cred_form_vals());
178
  ?>
179
  <form name="cred_form" method="post" action="">
180
- <input type="hidden" name="process_cred_form" value="Y">
181
  <?php wp_nonce_field('cred_form'); ?>
182
 
183
  <table class="form-table">
@@ -195,17 +197,15 @@ class FrmUpdate{
195
  </tr>
196
  <?php if (IS_WPMU){ ?>
197
  <tr>
198
- <td valign="top"><?php _e('WordPress MU', FRM_PLUGIN_NAME); ?>:</td>
199
  <td valign="top">
200
- <input type="checkbox" value="1" name="<?php echo $this->pro_wpmu_str; ?>" <?php checked($wpmu, 1) ?>>
201
- <?php _e('Use this username and password to enable Formidable Pro site-wide', FRM_PLUGIN_NAME); ?>
202
  </td>
203
  </tr>
204
  <?php } ?>
205
  </table>
206
- <p class="submit">
207
- <input type="submit" name="Submit" value="<?php _e('Save', FRM_PLUGIN_NAME); ?>" />
208
- </p>
209
  </form>
210
  <?php
211
  }
@@ -248,7 +248,7 @@ class FrmUpdate{
248
  function get_download_url($version){
249
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
250
 
251
- $client = new IXR_Client( $this->pro_mothership_xmlrpc_url );
252
 
253
  if( !$client->query( 'proplug.get_encoded_download_url', $this->pro_username, $this->pro_password, $version ) )
254
  return false;
@@ -259,7 +259,7 @@ class FrmUpdate{
259
  function get_current_version(){
260
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
261
 
262
- $client = new IXR_Client( $this->pro_mothership_xmlrpc_url );
263
 
264
  if( !$client->query( 'proplug.get_current_version' ) )
265
  return false;
29
  var $pro_username;
30
  var $pro_password;
31
  var $pro_mothership_xmlrpc_url;
32
+ var $timeout;
33
 
34
  function FrmUpdate(){
35
  // Where all the vitals are defined for this plugin
42
  $this->pro_auth_store = 'frmpro-authorized';
43
  $this->pro_auth_store = 'frmpro-wpmu-sitewide';
44
  $this->pro_last_checked_store = 'frmpro_last_checked_update';
45
+ $this->pro_username_label = __(FRM_PLUGIN_TITLE .' Pro Username', 'formidable');
46
+ $this->pro_password_label = __(FRM_PLUGIN_TITLE .' Pro Password', 'formidable');
47
+ $this->pro_error_message_str = __('Your '.FRM_PLUGIN_TITLE.' Pro Username or Password was Invalid', 'formidable');
48
 
49
  // Don't modify these variables
50
  $this->pro_check_interval = 60*60; // Checking every hour
52
  $this->pro_password_str = 'proplug-password';
53
  $this->pro_wpmu_str = 'proplug-wpmu';
54
  $this->pro_mothership_xmlrpc_url = $this->pro_mothership . '/xmlrpc.php';
55
+ $this->timeout = 15;
56
 
57
  // Retrieve Pro Credentials
58
  $this->pro_wpmu = false;
106
  function authorize_user($username, $password){
107
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
108
 
109
+ $client = new IXR_Client($this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
110
 
111
  if ( !$client->query( 'proplug.is_user_authorized', $username, $password ) )
112
  return false;
117
  function user_allowed_to_download(){
118
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
119
 
120
+ $client = new IXR_Client( $this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
121
 
122
  if ( !$client->query( 'proplug.is_user_allowed_to_download', $this->pro_username, $this->pro_password, get_option('home') ) )
123
  return false;
129
  global $frmpro_is_installed; ?>
130
  <div class="wrap">
131
  <div id="icon-options-general" class="icon32"><br/></div>
132
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Pro Account Information', 'formidable')?></h2>
133
  <?php
134
  if(isset($_POST) and isset($_POST['process_cred_form']) and $_POST['process_cred_form'] == 'Y'){
135
  if($this->process_pro_cred_form()){
138
 
139
  ?>
140
  <div id="message" class="updated fade">
141
+ <strong><?php printf(__('Your Username & Password was accepted<br/>Now you can %1$sUpgrade Automatically!%2$s', 'formidable'), "<a href=\"{$inst_install_url}\">","</a>"); ?></strong>
142
  </div>
143
  <?php
144
  }
146
  ?>
147
  <div class="error">
148
  <ul>
149
+ <li><strong><?php _e('ERROR', 'formidable'); ?></strong>: <?php echo $this->pro_error_message_str; ?></li>
150
  </ul>
151
  </div>
152
  <?php
160
  <div>
161
  <p><strong>Formidable Pro is Installed</strong></p>
162
  <p><strong>Edit/Update Your Profile:</strong><br/><span class="howto">Use your account username and password to log in to your Account and Affiliate Control Panel</span></p>
163
+ <p><a href="http://formidablepro.com/payment/member.php">Account</a> |
164
+ <a href="http://formidablepro.com/payment/aff_member.php">Affiliate Control Panel</a>
165
  </p>
166
  </div>
167
 
168
  <?php }else{ ?>
169
+ <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>
170
 
171
+ <a href="http://formidablepro.com"><?php _e('Learn More', 'formidable') ?> &raquo;</a>
172
  <?php } ?>
173
  </div>
174
  <?php
179
  extract($this->get_pro_cred_form_vals());
180
  ?>
181
  <form name="cred_form" method="post" action="">
182
+ <input type="hidden" name="process_cred_form" value="Y" />
183
  <?php wp_nonce_field('cred_form'); ?>
184
 
185
  <table class="form-table">
197
  </tr>
198
  <?php if (IS_WPMU){ ?>
199
  <tr>
200
+ <td valign="top"><?php _e('WordPress MU', 'formidable'); ?>:</td>
201
  <td valign="top">
202
+ <input type="checkbox" value="1" name="<?php echo $this->pro_wpmu_str; ?>" <?php checked($wpmu, 1) ?> />
203
+ <?php _e('Use this username and password to enable Formidable Pro site-wide', 'formidable'); ?>
204
  </td>
205
  </tr>
206
  <?php } ?>
207
  </table>
208
+ <p><input class="button-primary" type="submit" name="Submit" value="<?php _e('Save', 'formidable'); ?>" /></p>
 
 
209
  </form>
210
  <?php
211
  }
248
  function get_download_url($version){
249
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
250
 
251
+ $client = new IXR_Client( $this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
252
 
253
  if( !$client->query( 'proplug.get_encoded_download_url', $this->pro_username, $this->pro_password, $version ) )
254
  return false;
259
  function get_current_version(){
260
  include_once( ABSPATH . 'wp-includes/class-IXR.php' );
261
 
262
+ $client = new IXR_Client( $this->pro_mothership_xmlrpc_url, false, 80, $this->timeout );
263
 
264
  if( !$client->query( 'proplug.get_current_version' ) )
265
  return false;
classes/recaptchalib.php ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * This is a PHP library that handles calling reCAPTCHA.
4
+ * - Documentation and latest version
5
+ * http://recaptcha.net/plugins/php/
6
+ * - Get a reCAPTCHA API Key
7
+ * https://www.google.com/recaptcha/admin/create
8
+ * - Discussion group
9
+ * http://groups.google.com/group/recaptcha
10
+ *
11
+ * Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net
12
+ * AUTHORS:
13
+ * Mike Crawford
14
+ * Ben Maurer
15
+ *
16
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ * of this software and associated documentation files (the "Software"), to deal
18
+ * in the Software without restriction, including without limitation the rights
19
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ * copies of the Software, and to permit persons to whom the Software is
21
+ * furnished to do so, subject to the following conditions:
22
+ *
23
+ * The above copyright notice and this permission notice shall be included in
24
+ * all copies or substantial portions of the Software.
25
+ *
26
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
32
+ * THE SOFTWARE.
33
+ */
34
+
35
+ /**
36
+ * The reCAPTCHA server URL's
37
+ */
38
+ define("RECAPTCHA_API_SERVER", "http://www.google.com/recaptcha/api");
39
+ define("RECAPTCHA_API_SECURE_SERVER", "https://www.google.com/recaptcha/api");
40
+ define("RECAPTCHA_VERIFY_SERVER", "www.google.com");
41
+
42
+ /**
43
+ * Encodes the given data into a query string format
44
+ * @param $data - array of string elements to be encoded
45
+ * @return string - encoded request
46
+ */
47
+ function _recaptcha_qsencode ($data) {
48
+ $req = "";
49
+ foreach ( $data as $key => $value )
50
+ $req .= $key . '=' . urlencode( stripslashes($value) ) . '&';
51
+
52
+ // Cut the last '&'
53
+ $req=substr($req,0,strlen($req)-1);
54
+ return $req;
55
+ }
56
+
57
+
58
+
59
+ /**
60
+ * Submits an HTTP POST to a reCAPTCHA server
61
+ * @param string $host
62
+ * @param string $path
63
+ * @param array $data
64
+ * @param int port
65
+ * @return array response
66
+ */
67
+ function _recaptcha_http_post($host, $path, $data, $port = 80) {
68
+
69
+ $req = _recaptcha_qsencode ($data);
70
+
71
+ $http_request = "POST $path HTTP/1.0\r\n";
72
+ $http_request .= "Host: $host\r\n";
73
+ $http_request .= "Content-Type: application/x-www-form-urlencoded;\r\n";
74
+ $http_request .= "Content-Length: " . strlen($req) . "\r\n";
75
+ $http_request .= "User-Agent: reCAPTCHA/PHP\r\n";
76
+ $http_request .= "\r\n";
77
+ $http_request .= $req;
78
+
79
+ $response = '';
80
+ if( false == ( $fs = @fsockopen($host, $port, $errno, $errstr, 10) ) ) {
81
+ die ('Could not open socket');
82
+ }
83
+
84
+ fwrite($fs, $http_request);
85
+
86
+ while ( !feof($fs) )
87
+ $response .= fgets($fs, 1160); // One TCP-IP packet
88
+ fclose($fs);
89
+ $response = explode("\r\n\r\n", $response, 2);
90
+
91
+ return $response;
92
+ }
93
+
94
+
95
+
96
+ /**
97
+ * Gets the challenge HTML (javascript and non-javascript version).
98
+ * This is called from the browser, and the resulting reCAPTCHA HTML widget
99
+ * is embedded within the HTML form it was called from.
100
+ * @param string $pubkey A public key for reCAPTCHA
101
+ * @param string $error The error given by reCAPTCHA (optional, default is null)
102
+ * @param boolean $use_ssl Should the request be made over ssl? (optional, default is false)
103
+
104
+ * @return string - The HTML to be embedded in the user's form.
105
+ */
106
+ function recaptcha_get_html ($pubkey, $error = null, $use_ssl = false)
107
+ {
108
+ if ($pubkey == null || $pubkey == '') {
109
+ die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
110
+ }
111
+
112
+ if ($use_ssl) {
113
+ $server = RECAPTCHA_API_SECURE_SERVER;
114
+ } else {
115
+ $server = RECAPTCHA_API_SERVER;
116
+ }
117
+
118
+ $errorpart = "";
119
+ if ($error) {
120
+ $errorpart = "&amp;error=" . $error;
121
+ }
122
+ return '<script type="text/javascript" src="'. $server . '/challenge?k=' . $pubkey . $errorpart . '"></script>
123
+
124
+ <noscript>
125
+ <iframe src="'. $server . '/noscript?k=' . $pubkey . $errorpart . '" height="300" width="500" frameborder="0"></iframe><br/>
126
+ <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
127
+ <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/>
128
+ </noscript>';
129
+ }
130
+
131
+
132
+
133
+
134
+ /**
135
+ * A ReCaptchaResponse is returned from recaptcha_check_answer()
136
+ */
137
+ class ReCaptchaResponse {
138
+ var $is_valid;
139
+ var $error;
140
+ }
141
+
142
+
143
+ /**
144
+ * Calls an HTTP POST function to verify if the user's guess was correct
145
+ * @param string $privkey
146
+ * @param string $remoteip
147
+ * @param string $challenge
148
+ * @param string $response
149
+ * @param array $extra_params an array of extra variables to post to the server
150
+ * @return ReCaptchaResponse
151
+ */
152
+ function recaptcha_check_answer ($privkey, $remoteip, $challenge, $response, $extra_params = array())
153
+ {
154
+ if ($privkey == null || $privkey == '') {
155
+ die ("To use reCAPTCHA you must get an API key from <a href='https://www.google.com/recaptcha/admin/create'>https://www.google.com/recaptcha/admin/create</a>");
156
+ }
157
+
158
+ if ($remoteip == null || $remoteip == '') {
159
+ die ("For security reasons, you must pass the remote ip to reCAPTCHA");
160
+ }
161
+
162
+
163
+
164
+ //discard spam submissions
165
+ if ($challenge == null || strlen($challenge) == 0 || $response == null || strlen($response) == 0) {
166
+ $recaptcha_response = new ReCaptchaResponse();
167
+ $recaptcha_response->is_valid = false;
168
+ $recaptcha_response->error = 'incorrect-captcha-sol';
169
+ return $recaptcha_response;
170
+ }
171
+
172
+ $response = _recaptcha_http_post (RECAPTCHA_VERIFY_SERVER, "/recaptcha/api/verify",
173
+ array (
174
+ 'privatekey' => $privkey,
175
+ 'remoteip' => $remoteip,
176
+ 'challenge' => $challenge,
177
+ 'response' => $response
178
+ ) + $extra_params
179
+ );
180
+
181
+ $answers = explode ("\n", $response [1]);
182
+ $recaptcha_response = new ReCaptchaResponse();
183
+
184
+ if (trim ($answers [0]) == 'true') {
185
+ $recaptcha_response->is_valid = true;
186
+ }
187
+ else {
188
+ $recaptcha_response->is_valid = false;
189
+ $recaptcha_response->error = $answers [1];
190
+ }
191
+ return $recaptcha_response;
192
+
193
+ }
194
+
195
+ /**
196
+ * gets a URL where the user can sign up for reCAPTCHA. If your application
197
+ * has a configuration page where you enter a key, you should provide a link
198
+ * using this function.
199
+ * @param string $domain The domain where the page is hosted
200
+ * @param string $appname The name of your application
201
+ */
202
+ function recaptcha_get_signup_url ($domain = null, $appname = null) {
203
+ return "https://www.google.com/recaptcha/admin/create?" . _recaptcha_qsencode (array ('domains' => $domain, 'app' => $appname));
204
+ }
205
+
206
+ function _recaptcha_aes_pad($val) {
207
+ $block_size = 16;
208
+ $numpad = $block_size - (strlen ($val) % $block_size);
209
+ return str_pad($val, strlen ($val) + $numpad, chr($numpad));
210
+ }
211
+
212
+ /* Mailhide related code */
213
+
214
+ function _recaptcha_aes_encrypt($val,$ky) {
215
+ if (! function_exists ("mcrypt_encrypt")) {
216
+ die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
217
+ }
218
+ $mode=MCRYPT_MODE_CBC;
219
+ $enc=MCRYPT_RIJNDAEL_128;
220
+ $val=_recaptcha_aes_pad($val);
221
+ return mcrypt_encrypt($enc, $ky, $val, $mode, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
222
+ }
223
+
224
+
225
+ function _recaptcha_mailhide_urlbase64 ($x) {
226
+ return strtr(base64_encode ($x), '+/', '-_');
227
+ }
228
+
229
+ /* gets the reCAPTCHA Mailhide url for a given email, public key and private key */
230
+ function recaptcha_mailhide_url($pubkey, $privkey, $email) {
231
+ if ($pubkey == '' || $pubkey == null || $privkey == "" || $privkey == null) {
232
+ die ("To use reCAPTCHA Mailhide, you have to sign up for a public and private key, " .
233
+ "you can do so at <a href='http://www.google.com/recaptcha/mailhide/apikey'>http://www.google.com/recaptcha/mailhide/apikey</a>");
234
+ }
235
+
236
+
237
+ $ky = pack('H*', $privkey);
238
+ $cryptmail = _recaptcha_aes_encrypt ($email, $ky);
239
+
240
+ return "http://www.google.com/recaptcha/mailhide/d?k=" . $pubkey . "&c=" . _recaptcha_mailhide_urlbase64 ($cryptmail);
241
+ }
242
+
243
+ /**
244
+ * gets the parts of the email to expose to the user.
245
+ * eg, given johndoe@example,com return ["john", "example.com"].
246
+ * the email is then displayed as john...@example.com
247
+ */
248
+ function _recaptcha_mailhide_email_parts ($email) {
249
+ $arr = preg_split("/@/", $email );
250
+
251
+ if (strlen ($arr[0]) <= 4) {
252
+ $arr[0] = substr ($arr[0], 0, 1);
253
+ } else if (strlen ($arr[0]) <= 6) {
254
+ $arr[0] = substr ($arr[0], 0, 3);
255
+ } else {
256
+ $arr[0] = substr ($arr[0], 0, 4);
257
+ }
258
+ return $arr;
259
+ }
260
+
261
+ /**
262
+ * Gets html to display an email address given a public an private key.
263
+ * to get a key, go to:
264
+ *
265
+ * http://www.google.com/recaptcha/mailhide/apikey
266
+ */
267
+ function recaptcha_mailhide_html($pubkey, $privkey, $email) {
268
+ $emailparts = _recaptcha_mailhide_email_parts ($email);
269
+ $url = recaptcha_mailhide_url ($pubkey, $privkey, $email);
270
+
271
+ return htmlentities($emailparts[0]) . "<a href='" . htmlentities ($url) .
272
+ "' onclick=\"window.open('" . htmlentities ($url) . "', '', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=300'); return false;\" title=\"Reveal this e-mail address\">...</a>@" . htmlentities ($emailparts [1]);
273
+
274
+ }
275
+
276
+
277
+ ?>
classes/templates/contact.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
- $values['name'] = __('Contact Us', FRM_PLUGIN_NAME);
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.', FRM_PLUGIN_NAME);
5
 
6
  if ($form){
7
  $form_id = $form->id;
@@ -16,43 +16,43 @@ if ($form){
16
 
17
 
18
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
19
- $field_values['name'] = __('Name', FRM_PLUGIN_NAME);
20
  $field_values['required'] = 1;
21
- $field_values['field_options']['blank'] = __('Name cannot be blank', FRM_PLUGIN_NAME);
22
  $frm_field->create( $field_values );
23
 
24
 
25
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('email', $form_id));
26
- $field_values['name'] = __('Email', FRM_PLUGIN_NAME);
27
  $field_values['required'] = 1;
28
- $field_values['field_options']['blank'] = __('Email cannot be blank', FRM_PLUGIN_NAME);
29
- $field_values['field_options']['invalid'] = __('Please enter a valid email address', FRM_PLUGIN_NAME);
30
  $frm_field->create( $field_values );
31
 
32
 
33
- $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('website', $form_id));
34
- $field_values['name'] = __('Website', FRM_PLUGIN_NAME);
35
- $field_values['field_options']['blank'] = __('Website cannot be blank', FRM_PLUGIN_NAME);
36
- $field_values['field_options']['invalid'] = __('Website is an invalid format', FRM_PLUGIN_NAME);
37
  $frm_field->create( $field_values );
38
 
39
 
40
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
41
- $field_values['name'] = __('Subject', FRM_PLUGIN_NAME);
42
  $field_values['required'] = 1;
43
- $field_values['field_options']['blank'] = __('Subject cannot be blank', FRM_PLUGIN_NAME);
44
  $frm_field->create( $field_values );
45
 
46
 
47
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('textarea', $form_id));
48
- $field_values['name'] = __('Message', FRM_PLUGIN_NAME);
49
  $field_values['required'] = 1;
50
- $field_values['field_options']['blank'] = __('Message cannot be blank', FRM_PLUGIN_NAME);
51
  $frm_field->create( $field_values );
52
 
53
 
54
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('captcha', $form_id));
55
- $field_values['name'] = __('Captcha', FRM_PLUGIN_NAME);
56
  $field_values['field_options']['label'] = 'none';
57
  $frm_field->create( $field_values );
58
 
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
 
6
  if ($form){
7
  $form_id = $form->id;
16
 
17
 
18
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
19
+ $field_values['name'] = __('Name', 'formidable');
20
  $field_values['required'] = 1;
21
+ $field_values['field_options']['blank'] = __('Name cannot be blank', 'formidable');
22
  $frm_field->create( $field_values );
23
 
24
 
25
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('email', $form_id));
26
+ $field_values['name'] = __('Email', 'formidable');
27
  $field_values['required'] = 1;
28
+ $field_values['field_options']['blank'] = __('Email cannot be blank', 'formidable');
29
+ $field_values['field_options']['invalid'] = __('Please enter a valid email address', 'formidable');
30
  $frm_field->create( $field_values );
31
 
32
 
33
+ $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('url', $form_id));
34
+ $field_values['name'] = __('Website', 'formidable');
35
+ $field_values['field_options']['blank'] = __('Website cannot be blank', 'formidable');
36
+ $field_values['field_options']['invalid'] = __('Website is an invalid format', 'formidable');
37
  $frm_field->create( $field_values );
38
 
39
 
40
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('text', $form_id));
41
+ $field_values['name'] = __('Subject', 'formidable');
42
  $field_values['required'] = 1;
43
+ $field_values['field_options']['blank'] = __('Subject cannot be blank', 'formidable');
44
  $frm_field->create( $field_values );
45
 
46
 
47
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('textarea', $form_id));
48
+ $field_values['name'] = __('Message', 'formidable');
49
  $field_values['required'] = 1;
50
+ $field_values['field_options']['blank'] = __('Message cannot be blank', 'formidable');
51
  $frm_field->create( $field_values );
52
 
53
 
54
  $field_values = apply_filters('frm_before_field_created', FrmFieldsHelper::setup_new_vars('captcha', $form_id));
55
+ $field_values['name'] = __('Captcha', 'formidable');
56
  $field_values['field_options']['label'] = 'none';
57
  $frm_field->create( $field_values );
58
 
classes/views/frm-entries/direct.php CHANGED
@@ -1,13 +1,13 @@
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
3
 
4
- <head profile="http://gmpg.org/xfn/11">
5
  <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6
  <title><?php bloginfo('name'); ?></title>
7
  <?php wp_head() ?>
8
  </head>
9
  <body>
10
  <?php require_once('frm-entry.php'); ?>
11
- <?php //wp_footer(); ?>
12
  </body>
13
  </html>
1
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
  <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
3
 
4
+ <head>
5
  <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
6
  <title><?php bloginfo('name'); ?></title>
7
  <?php wp_head() ?>
8
  </head>
9
  <body>
10
  <?php require_once('frm-entry.php'); ?>
11
+ <?php wp_footer(); ?>
12
  </body>
13
  </html>
classes/views/frm-entries/form.php CHANGED
@@ -1,51 +1,62 @@
1
- <?php echo FrmFormsHelper::replace_shortcodes($values['before_html'], $form, $title, $description); ?>
 
 
 
 
 
 
 
 
 
 
2
  <div id="frm_form_fields">
3
- <fieldset>
4
- <div>
5
- <input type="hidden" name="action" value="<?php echo $form_action ?>" />
6
- <input type="hidden" name="form_id" value="<?php echo $form->id ?>" />
7
- <?php if (isset($id)){ ?>
8
- <input type="hidden" name="id" value="<?php echo $id ?>" />
9
- <?php } ?>
10
- <?php if (isset($controller) && isset($plugin)){ ?>
11
- <input type="hidden" name="controller" value="<?php echo $controller; ?>" />
12
- <input type="hidden" name="plugin" value="<?php echo $plugin; ?>" />
13
- <?php } ?>
14
- <?php
15
 
16
- if (isset($errors) && is_array($errors))
17
- $error_keys = array_keys($errors);
18
- $error_keys = (isset($error_keys)) ? $error_keys : array();
19
-
20
- if($values['fields']){
21
- foreach($values['fields'] as $field){
22
- $field_name = "item_meta[". $field['id'] ."]";
23
- if (apply_filters('frm_show_normal_field_type', true, $field['type']))
24
- echo FrmFieldsHelper::replace_shortcodes($field['custom_html'], $field, $error_keys);
25
- else
26
- do_action('frm_show_other_field_type', $field);
27
-
28
- do_action('frm_get_field_scripts', $field);
29
- }
30
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
- global $frm_settings;
33
- ?>
34
- <?php if (is_admin() && !$frm_settings->lock_keys){ ?>
35
- <div class="form-field">
36
- <label><?php _e('Entry Key', FRM_PLUGIN_NAME) ?></label>
37
- <input type="text" id="item_key" name="item_key" value="<?php echo $values['item_key'] ?>" />
38
- </div>
39
- <?php }else{ ?>
40
- <input type="hidden" id="item_key" name="item_key" value="<?php echo $values['item_key'] ?>" />
41
- <?php } ?>
42
- <?php do_action('frm_entry_form', $form) ?>
43
- </div>
44
- </fieldset>
45
  </div>
46
  <?php echo FrmFormsHelper::replace_shortcodes($values['after_html'], $form); ?>
47
  <script type="text/javascript">
48
  <?php do_action('frm_entries_footer_scripts',$values['fields'], $form); ?>
49
- function frmClearDefault(default_value,thefield){if(thefield.value==default_value)thefield.value='';}
50
- function frmReplaceDefault(default_value,thefield){if(thefield.value=='')thefield.value=default_value;}
51
- </script>
1
+ <?php
2
+ global $frm_forms_loaded, $frm_load_css, $frm_css_loaded;
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 id="frm_form_fields">
13
+ <fieldset>
14
+ <div>
15
+ <input type="hidden" name="action" value="<?php echo $form_action ?>" />
16
+ <input type="hidden" name="form_id" value="<?php echo $form->id ?>" />
17
+ <input type="hidden" name="form_key" value="<?php echo $form->form_key ?>" />
18
+ <?php if (isset($id)){ ?><input type="hidden" name="id" value="<?php echo $id ?>" /><?php } ?>
19
+ <?php if (isset($controller) && isset($plugin)){ ?>
20
+ <input type="hidden" name="controller" value="<?php echo $controller; ?>" />
21
+ <input type="hidden" name="plugin" value="<?php echo $plugin; ?>" />
22
+ <?php }
 
 
23
 
24
+ $error_keys = array();
25
+ if (isset($errors) && is_array($errors)){
26
+ foreach($errors as $error_id => $error_msg){
27
+ if(!is_numeric($error_id))
28
+ $error_keys[] = $error_id;
 
 
 
 
 
 
 
 
 
29
  }
30
+ }
31
+
32
+ if($values['fields']){
33
+ foreach($values['fields'] as $field){
34
+ $field_name = "item_meta[". $field['id'] ."]";
35
+ if (apply_filters('frm_show_normal_field_type', true, $field['type']))
36
+ echo FrmFieldsHelper::replace_shortcodes($field['custom_html'], $field, $error_keys, $form);
37
+ else
38
+ do_action('frm_show_other_field_type', $field, $form);
39
+
40
+ do_action('frm_get_field_scripts', $field);
41
+ }
42
+ }
43
+
44
+ global $frm_settings;
45
 
46
+ if (is_admin() && !$frm_settings->lock_keys){ ?>
47
+ <div class="form-field">
48
+ <label><?php _e('Entry Key', 'formidable') ?></label>
49
+ <input type="text" id="item_key" name="item_key" value="<?php echo $values['item_key'] ?>" />
50
+ </div>
51
+ <?php }else{ ?>
52
+ <input type="hidden" id="item_key" name="item_key" value="<?php echo $values['item_key'] ?>" />
53
+ <?php } ?>
54
+ <?php do_action('frm_entry_form', $form) ?>
55
+ </div>
56
+ </fieldset>
 
 
57
  </div>
58
  <?php echo FrmFormsHelper::replace_shortcodes($values['after_html'], $form); ?>
59
  <script type="text/javascript">
60
  <?php do_action('frm_entries_footer_scripts',$values['fields'], $form); ?>
61
+ function frmClearDefault(default_value,thefield){if(thefield.value==default_value)thefield.value='';thefield.style.fontStyle='inherit'}
62
+ function frmReplaceDefault(default_value,thefield){if(thefield.value==''){thefield.value=default_value;thefield.style.fontStyle='italic';}}</script>
 
classes/views/frm-entries/frm-entry.php CHANGED
@@ -7,8 +7,7 @@ $submit = isset($form_options['submit_value'])?$form_options['submit_value'] : $
7
  $saved_message = isset($form_options['success_msg'])? $form_options['success_msg'] : $frm_settings->success_msg;
8
 
9
  $params = FrmEntriesController::get_params($form);
10
- $message = '';
11
- $errors = '';
12
 
13
  FrmEntriesHelper::enqueue_scripts($params);
14
 
@@ -18,20 +17,37 @@ if($params['action'] == 'create' && $params['posted_form_id'] == $form->id){
18
  if( !empty($errors) ){
19
  $fields = FrmFieldsHelper::get_form_fields($form->id, true);
20
  $values = FrmEntriesHelper::setup_new_vars($fields, $form);
21
- require('new.php');
 
 
 
22
  }else{
23
  $fields = FrmFieldsHelper::get_form_fields($form->id);
24
  do_action('frm_validate_form_creation', $params, $fields, $form, $title, $description);
25
  if (apply_filters('frm_continue_to_create', true, $form->id)){
26
  $values = FrmEntriesHelper::setup_new_vars($fields, $form, true);
27
  $created = $frm_entry->create( $_POST );
 
28
  $conf_method = apply_filters('frm_success_filter', 'message', $form, $form_options);
29
  if (!$created or !is_numeric($created) or $conf_method == 'message'){
30
- echo '<div class="frm_message" id="message">'.(($created and is_numeric($created)) ? $saved_message : $frm_settings->failed_msg).'</div>';
31
  if (!isset($form_options['show_form']) or $form_options['show_form'])
32
  require('new.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  }else
34
- do_action('frm_success_action', $conf_method, $form, $form_options);
35
  }
36
  }
37
  }else{
7
  $saved_message = isset($form_options['success_msg'])? $form_options['success_msg'] : $frm_settings->success_msg;
8
 
9
  $params = FrmEntriesController::get_params($form);
10
+ $message = $errors = '';
 
11
 
12
  FrmEntriesHelper::enqueue_scripts($params);
13
 
17
  if( !empty($errors) ){
18
  $fields = FrmFieldsHelper::get_form_fields($form->id, true);
19
  $values = FrmEntriesHelper::setup_new_vars($fields, $form);
20
+ require('new.php');
21
+ ?>
22
+ <script type="text/javascript">window.onload = function(){window.location.href = "#form_<?php echo $form->form_key ?>";}</script>
23
+ <?php
24
  }else{
25
  $fields = FrmFieldsHelper::get_form_fields($form->id);
26
  do_action('frm_validate_form_creation', $params, $fields, $form, $title, $description);
27
  if (apply_filters('frm_continue_to_create', true, $form->id)){
28
  $values = FrmEntriesHelper::setup_new_vars($fields, $form, true);
29
  $created = $frm_entry->create( $_POST );
30
+ $saved_message = apply_filters('frm_content', $saved_message, $form, $created);
31
  $conf_method = apply_filters('frm_success_filter', 'message', $form, $form_options);
32
  if (!$created or !is_numeric($created) or $conf_method == 'message'){
33
+ $message = '<div class="frm_message" id="message">'.(($created and is_numeric($created)) ? apply_filters('the_content', $saved_message) : $frm_settings->failed_msg).'</div>';
34
  if (!isset($form_options['show_form']) or $form_options['show_form'])
35
  require('new.php');
36
+ else{
37
+ global $frm_forms_loaded, $frm_load_css, $frm_css_loaded;
38
+ $frm_forms_loaded[] = $form;
39
+ if($values['custom_style']) $frm_load_css = true;
40
+
41
+ if(!$frm_css_loaded and $frm_load_css){
42
+ echo FrmAppController::footer_js('header');
43
+ $frm_css_loaded = true;
44
+ }
45
+ ?>
46
+ <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container"><?php echo $message ?></div>
47
+ <?php
48
+ }
49
  }else
50
+ do_action('frm_success_action', $conf_method, $form, $form_options, $created);
51
  }
52
  }
53
  }else{
classes/views/frm-entries/list.php CHANGED
@@ -1,12 +1,12 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Pro Entries', FRM_PLUGIN_NAME) ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
 
9
- <p><?php printf(__('Upgrade to %1$sFormidable Pro%2$s to view, search, export, and bulk delete your saved entries.', FRM_PLUGIN_NAME), '<a href="http://formidablepro.com">', '</a>'); ?></p>
10
 
11
  </div>
12
 
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Pro Entries', 'formidable') ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
 
9
+ <p><?php printf(__('Upgrade to %1$sFormidable Pro%2$s to view, search, export, and bulk delete your saved entries.', 'formidable'), '<a href="http://formidablepro.com">', '</a>'); ?></p>
10
 
11
  </div>
12
 
classes/views/frm-entries/new.php CHANGED
@@ -1,14 +1,14 @@
1
  <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container">
2
- <form action="" enctype="multipart/form-data" method="post" class="frm-show-form" id="form_<?php echo $form->form_key ?>">
3
- <?php include(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
4
- <?php $form_action = 'create'; ?>
5
- <?php require(FRM_VIEWS_PATH.'/frm-entries/form.php'); ?>
6
 
7
- <?php if (!$form->is_template){ ?>
8
- <p class="submit">
9
- <?php if (!isset($submit)) $submit = $frm_settings->submit_value; ?>
10
- <input type="submit" name="<?php echo $submit ?>" value="<?php echo $submit ?>" <?php do_action('frm_submit_button', $form, $form_action); ?>/>
11
- </p>
12
- <?php } ?>
13
- </form>
14
  </div>
1
  <div class="frm_forms<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="frm_form_<?php echo $form->id ?>_container">
2
+ <form action="" enctype="multipart/form-data" method="post" class="frm-show-form" id="form_<?php echo $form->form_key ?>">
3
+ <?php include(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
4
+ <?php $form_action = 'create'; ?>
5
+ <?php require(FRM_VIEWS_PATH.'/frm-entries/form.php'); ?>
6
 
7
+ <?php if (!$form->is_template){ ?>
8
+ <p class="submit">
9
+ <?php $submit = apply_filters('frm_submit_button', $submit, $form); ?>
10
+ <input type="submit" name="<?php echo $submit ?>" value="<?php echo $submit ?>" <?php do_action('frm_submit_button_action', $form, $form_action); ?>/>
11
+ </p>
12
+ <?php } ?>
13
+ </form>
14
  </div>
classes/views/frm-fields/input.php CHANGED
@@ -1,31 +1,47 @@
1
  <?php if ($field['type'] == 'text'){ ?>
2
- <input type="text" id="field_<?php echo $field['field_key'] ?>" name="<?php echo $field_name ?>" value="<?php echo $field['value'] ?>" <?php do_action('frm_field_input_html', $field) ?>/>
3
 
4
  <?php }else if ($field['type'] == 'textarea'){ ?>
5
- <textarea name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>" cols="<?php echo $field['size'] ?>" rows="<?php echo $field['max'] ?>" <?php do_action('frm_field_input_html', $field) ?>><?php echo $field['value'] ?></textarea>
6
 
7
  <?php }else if ($field['type'] == 'radio'){
8
- if (is_array($field['options'])){
9
- foreach($field['options'] as $opt){ ?>
10
- <div class="frm_radio"><input type="radio" name="<?php echo $field_name ?>" id="item_meta_val<?php echo sanitize_title_with_dashes($opt) ?>" value="<?php echo $opt ?>" <?php if ($field['value'] == $opt) echo 'checked="checked"'; ?> /><label for="item_meta_val<?php echo sanitize_title_with_dashes($opt) ?>"><?php echo $opt ?></label></div>
11
- <?php }
12
- } ?>
 
 
 
13
  <?php }else if ($field['type'] == 'select'){ ?>
14
- <?php $auto_width = (isset($field['size']) && $field['size'] > 0) ? 'class="auto_width"' : ''; ?>
15
- <select name="<?php echo $field_name ?>" id="item_meta<?php echo $field['id'] ?>" <?php echo $auto_width ?>>
16
- <?php foreach ($field['options'] as $opt){ ?>
17
- <option value="<?php echo $opt ?>" <?php if ($field['value'] == $opt) echo 'selected="selected"'; ?>><?php echo $opt ?></option>
18
- <?php } ?>
19
- </select>
20
- <?php }else if ($field['type'] == 'captcha'){
21
- if (array_key_exists('captcha', FrmFieldsHelper::field_selection()))
22
- FrmAppHelper::display_recaptcha();
23
- }else if ($field['type'] == 'checkbox'){
24
  $checked_values = $field['value'];
25
- foreach ($field['options'] as $opt){
26
- $checked = ((!is_array($checked_values) && $checked_values == $opt ) || (is_array($checked_values) && in_array($opt, $checked_values)))?' checked="checked"':''; ?>
27
- <div class="frm_checkbox"><input type="checkbox" name="<?php echo $field_name ?>[]" id="item_meta_val<?php echo sanitize_title_with_dashes($opt) ?>" value="<?php echo $opt ?>" <?php echo $checked ?> /><label for="item_meta_val<?php echo sanitize_title_with_dashes($opt) ?>"><?php echo $opt ?></label></div>
 
 
28
  <?php
29
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }else do_action('frm_form_fields',$field, $field_name);
31
  ?>
1
  <?php if ($field['type'] == 'text'){ ?>
2
+ <input type="text" id="field_<?php echo $field['field_key'] ?>" name="<?php echo $field_name ?>" value="<?php echo $field['value'] ?>" <?php do_action('frm_field_input_html', $field) ?>/>
3
 
4
  <?php }else if ($field['type'] == 'textarea'){ ?>
5
+ <textarea name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>"<?php if($field['size']) echo ' cols="'. $field['size'].'"'; if($field['max']) echo ' rows="'. $field['max'] .'"'; ?> <?php do_action('frm_field_input_html', $field) ?>><?php echo $field['value'] ?></textarea>
6
 
7
  <?php }else if ($field['type'] == 'radio'){
8
+ if (is_array($field['options'])){
9
+ foreach($field['options'] as $opt_key => $opt){
10
+ if(isset($atts) and isset($atts['opt']) and ($atts['opt'] != $opt_key)) continue;
11
+ $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
12
+ ?>
13
+ <div class="frm_radio"><input type="radio" name="<?php echo $field_name ?>" id="item_meta_val<?php echo $field['id'] .'_'. sanitize_title_with_dashes($field_val) ?>" value="<?php echo $field_val ?>" <?php echo ($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="item_meta_val<?php echo $field['id'] .'_'. sanitize_title_with_dashes($field_val) ?>"><?php echo $opt ?></label><?php } ?></div>
14
+ <?php }
15
+ } ?>
16
  <?php }else if ($field['type'] == 'select'){ ?>
17
+ <select name="<?php echo $field_name ?>" id="field_<?php echo $field['field_key'] ?>" <?php do_action('frm_field_input_html', $field) ?>>
18
+ <?php foreach ($field['options'] as $opt_key => $opt){
19
+ $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field); ?>
20
+ <option value="<?php echo $field_val ?>" <?php if ($field['value'] == $field_val) echo 'selected="selected"'; ?>><?php echo $opt ?></option>
21
+ <?php } ?>
22
+ </select>
23
+ <?php }else if ($field['type'] == 'checkbox'){
 
 
 
24
  $checked_values = $field['value'];
25
+ foreach ($field['options'] as $opt_key => $opt){
26
+ if(isset($atts) and isset($atts['opt']) and ($atts['opt'] != $opt_key)) continue;
27
+ $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
28
+ $checked = ((!is_array($checked_values) && $checked_values == $field_val ) || (is_array($checked_values) && in_array($field_val, $checked_values)))?' checked="checked"':''; ?>
29
+ <div class="frm_checkbox" id="frm_checkbox<?php echo $field['id'] .'_'. sanitize_title_with_dashes($field_val) ?>"><input type="checkbox" name="<?php echo $field_name ?>[]" id="item_meta_val<?php echo $field['id'] .'_'. sanitize_title_with_dashes($field_val) ?>" value="<?php echo $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="item_meta_val<?php echo $field['id'] .'_'. sanitize_title_with_dashes($field_val) ?>"><?php echo $opt ?></label><?php } ?></div>
30
  <?php
31
  }
32
+ }else if ($field['type'] == 'captcha'){
33
+ global $frm_settings;
34
+ $error_msg = null;
35
+ if(!empty($error_keys)){
36
+ foreach($error_keys as $error_key){
37
+ if(preg_match('/^captcha-/', $error_key))
38
+ $error_msg = preg_replace('/^captcha-/', '', $error_key);
39
+ }
40
+ }
41
+ if (!empty($frm_settings->pubkey))
42
+ FrmFieldsHelper::display_recaptcha($field, $error_msg);
43
+ }else if ($field['type'] == 'nucaptcha'){
44
+ if(function_exists('nucaptcha_comment_form'))
45
+ nucaptcha_comment_form();
46
  }else do_action('frm_form_fields',$field, $field_name);
47
  ?>
classes/views/frm-fields/show.php CHANGED
@@ -1 +1 @@
1
- <?php echo FrmFieldsHelper::replace_shortcodes($field['custom_html'], $field, $error_keys); ?>
1
+ <?php echo FrmFieldsHelper::replace_shortcodes($field['custom_html'], $field, $error_keys, $form); ?>
classes/views/frm-fields/single-option.php CHANGED
@@ -1,9 +1,9 @@
1
  <span id="frm_delete_field_<?php echo $field['id']; ?>-<?php echo $opt_key ?>_container" class="frm_single_option">
2
- <span class="frm_spacer"></span>
3
- <a href="javascript:frm_delete_field_option(<?php echo $field['id']?>, <?php echo $opt_key ?>, '<?php echo $frm_ajax_url ?>');" class="frm_single_show_hover alignleft" ><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete"></a>
4
- <?php if ($field['type'] != 'select'){ ?>
5
- <input type="<?php echo $field['type'] ?>" name="<?php echo $field_name ?><?php echo ($field['type'] == 'checkbox')?'[]':''; ?>" value="<?php echo str_replace('"', '&quot;', $opt) ?>"<?php echo isset($checked)? $checked : ''; ?>/>
6
- <?php } ?>
7
- <label class="frm_ipe_field_option" id="field_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo $opt ?></label>
8
  </span>
9
  <div class="clear"></div>
1
  <span id="frm_delete_field_<?php echo $field['id']; ?>-<?php echo $opt_key ?>_container" class="frm_single_option">
2
+ <span class="frm_spacer"></span>
3
+ <a href="javascript:frm_delete_field_option(<?php echo $field['id']?>, <?php echo $opt_key ?>, '<?php echo $frm_ajax_url ?>');" class="frm_single_show_hover alignleft" ><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete"></a>
4
+ <?php if ($field['type'] != 'select'){ ?>
5
+ <input type="<?php echo $field['type'] ?>" name="<?php echo $field_name ?><?php echo ($field['type'] == 'checkbox')?'[]':''; ?>" value="<?php echo str_replace('"', '&quot;', $opt) ?>"<?php echo isset($checked)? $checked : ''; ?>/>
6
+ <?php } ?>
7
+ <label class="frm_ipe_field_option" id="field_<?php echo $field['id']?>-<?php echo $opt_key ?>"><?php echo $opt ?></label>
8
  </span>
9
  <div class="clear"></div>
classes/views/frm-forms/add_field.php CHANGED
@@ -3,33 +3,35 @@
3
  <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'] ?>" onmouseover="frm_field_hover(1,<?php echo $field['id']; ?>)" onmouseout="frm_field_hover(0,<?php echo $field['id']; ?>)">
4
  <a href="javascript:void(0);" class="alignright frm-show-hover frm-move" title="Move Field"><img src="<?php echo FRM_IMAGES_URL ?>/move.png" alt="Move"></a>
5
  <a href="javascript:frm_delete_field(<?php echo $field['id']; ?>)" class="alignright frm-show-hover" id="frm_delete_field<?php echo $field['id']; ?>" title="Delete Field"><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete"></a>
 
6
  <?php do_action('frm_extra_field_actions', $field['id']); ?>
7
 
8
  <?php if ($display['required']){ ?>
9
  <span id="require_field_<?php echo $field['id']; ?>">
10
- <a href="javascript:frm_mark_required( <?php echo $field['id']; ?>, <?php echo $field_required = ($field['required'] == '0')?('0'):('1'); ?>)" class="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"><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></a>
11
  </span>
12
  <?php } ?>
13
  <label class="frm_ipe_field_label frm_pos_<?php echo $field['label']; ?>" id="field_<?php echo $field['id']; ?>"><?php echo $field['name'] ?></label>
14
 
15
  <?php if ($display['type'] == 'text'){ ?>
16
- <input type="text" name="<?php echo $field_name ?>" value="<?php echo $field['default_value']; ?>" size="<?php echo $field['size']; ?>"/>
17
  <?php }else if ($field['type'] == 'textarea'){ ?>
18
- <textarea name="<?php echo $field_name ?>"<?php if ($field['size']) echo ' cols="'.$field['size'].'"' ?> rows="<?php echo $field['max']; ?>"><?php echo $field['default_value']; ?></textarea>
19
 
20
  <?php }else if ($field['type'] == 'radio' or $field['type'] == 'checkbox'){
21
  $field['default_value'] = maybe_unserialize($field['default_value']); ?>
22
- <?php require(FRM_VIEWS_PATH.'/frm-fields/radio.php'); ?>
23
 
24
- <div id="frm_add_field_<?php echo $field['id']; ?>" class="frm-show-click">
25
- <a href="javascript:frm_add_field_option(<?php echo $field['id']; ?>,'<?php echo $frm_ajax_url ?>')" class="frm_orange">+ <?php _e('Add an Option', FRM_PLUGIN_NAME) ?></a>
26
- </div>
27
 
28
  <?php }else if ($field['type'] == 'select'){ ?>
29
- <select name="<?php echo $field_name ?>" id="<?php echo $field_name ?>">
30
- <?php foreach ($field['options'] as $opt){
31
- $selected = ($field['default_value'] == $opt)?(' selected="selected"'):(''); ?>
32
- <option value="<?php echo $opt ?>"<?php echo $selected ?>><?php echo $opt ?></option>
 
33
  <?php } ?>
34
  </select>
35
  <?php if ($display['default_blank']) FrmFieldsHelper::show_default_blank_js($field['id'], $field['default_blank']); ?>
@@ -37,19 +39,15 @@
37
  <div class="frm-show-click">
38
  <?php foreach ($field['options'] as $opt_key => $opt) require(FRM_VIEWS_PATH.'/frm-fields/single-option.php'); ?>
39
  <div id="frm_add_field_<?php echo $field['id']; ?>">
40
- <a href="javascript:frm_add_field_option(<?php echo $field['id']; ?>, '<?php echo $frm_ajax_url ?>')" class="frm_orange">+ <?php _e('Add an Option', FRM_PLUGIN_NAME) ?></a>
41
  <?php do_action('frm_add_multiple_opts', $field); ?>
42
  </div>
43
  </div>
44
- <?php }else if ($field['type'] == 'captcha'){
45
- if (array_key_exists('captcha', FrmFieldsHelper::field_selection())){
46
- global $recaptcha_opt, $frm_siteurl; ?>
47
- <img src="<?php echo FRM_URL ?>/images/<?php echo $recaptcha_opt['re_theme'];?>-captcha.png">
48
- <span class="howto"><?php printf(__('Hint: Change colors in the "Registration Options" %1$sreCAPTCHA settings', FRM_PLUGIN_NAME), '<a href="'. $frm_siteurl .'/wp-admin/options-general.php?page=wp-recaptcha/wp-recaptcha.php">') ?></a></span>
49
- <input type="hidden" name="<?php echo $field_name ?>" value="1"/>
50
- <?php }else
51
- _e('Please download and activate the WP reCAPTCHA plugin to enable this feature.', FRM_PLUGIN_NAME);
52
-
53
  }else
54
  do_action('frm_display_added_fields',$field);
55
 
@@ -71,41 +69,46 @@ if ($display['options']){ ?>
71
  <div class="clearfix themeRoller">
72
  <div class="theme-group clearfix">
73
  <div class="theme-group-header state-default">
74
- <span class="icon icon-triangle-1-e"><?php _e('Collapse', FRM_PLUGIN_NAME) ?></span>
75
  <a href="#"><?php _e('Field Options', 'formidable') ?> (ID <?php echo $field['id'] ?>)</a>
76
  </div><!-- /theme group Error -->
77
  <div class="theme-group-content corner-bottom clearfix">
78
  <div class="clearfix">
79
  <table class="form-table">
80
  <?php if ($display['size']){ ?>
81
- <tr><td width="150px"><label><?php _e('Field Size', FRM_PLUGIN_NAME) ?>:</label></td>
82
- <td><input type="text" name="field_options[size_<?php echo $field['id'] ?>]" value="<?php echo $field['size']; ?>" size="5"> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('columns wide', FRM_PLUGIN_NAME) : __('characters wide', FRM_PLUGIN_NAME) ?></span>
83
 
84
- <input type="text" name="field_options[max_<?php echo $field['id'] ?>]" value="<?php echo $field['max']; ?>" size="5"> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('rows high', FRM_PLUGIN_NAME) : __('characters maximum', FRM_PLUGIN_NAME) ?></span></td>
85
  </tr>
86
  <?php } ?>
87
  <?php if ($display['label_position']){ ?>
88
- <tr><td><label><?php _e('Label Position', FRM_PLUGIN_NAME) ?>:</label></td>
89
  <td><select name="field_options[label_<?php echo $field['id'] ?>]">
90
- <option value="top"<?php echo ($field['label'] == 'top')?(' selected="true"'):(''); ?>><?php _e('Top', FRM_PLUGIN_NAME) ?></option>
91
- <option value="left"<?php echo ($field['label'] == 'left')?(' selected="true"'):(''); ?>><?php _e('Left', FRM_PLUGIN_NAME) ?></option>
92
- <option value="right"<?php echo ($field['label'] == 'right')?(' selected="true"'):(''); ?>><?php _e('Right', FRM_PLUGIN_NAME) ?></option>
93
- <option value="none"<?php echo ($field['label'] == 'none')?(' selected="true"'):(''); ?>><?php _e('Hidden', FRM_PLUGIN_NAME) ?></option>
94
  </select>
95
  </td>
96
  </tr>
97
  <?php } ?>
98
  <?php if ($display['required']){ ?>
99
- <tr><td><label><?php _e('Indicate required field with', FRM_PLUGIN_NAME) ?>:</label></td>
100
- <td><input type="text" name="field_options[required_indicator_<?php echo $field['id'] ?>]" value="<?php echo $field['required_indicator']; ?>"></td>
 
 
 
 
 
101
  </tr>
102
- <tr><td><label><?php _e('Error message if required field is left blank', FRM_PLUGIN_NAME) ?>:</label></td>
103
- <td><input type="text" name="field_options[blank_<?php echo $field['id'] ?>]" value="<?php echo $field['blank']; ?>" size="50"></td>
104
  </tr>
105
  <?php } ?>
106
  <?php if ($display['invalid']){ ?>
107
- <tr><td><label><?php _e('Error message if entry is an invalid format', FRM_PLUGIN_NAME) ?>:</label></td>
108
- <td><input type="text" name="field_options[invalid_<?php echo $field['id'] ?>]" value="<?php echo $field['invalid']; ?>" size="50"></td>
109
  </tr>
110
  <?php } ?>
111
  <?php do_action('frm_field_options_form', $field, $display); ?>
3
  <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'] ?>" onmouseover="frm_field_hover(1,<?php echo $field['id']; ?>)" onmouseout="frm_field_hover(0,<?php echo $field['id']; ?>)">
4
  <a href="javascript:void(0);" class="alignright frm-show-hover frm-move" title="Move Field"><img src="<?php echo FRM_IMAGES_URL ?>/move.png" alt="Move"></a>
5
  <a href="javascript:frm_delete_field(<?php echo $field['id']; ?>)" class="alignright frm-show-hover" id="frm_delete_field<?php echo $field['id']; ?>" title="Delete Field"><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete"></a>
6
+ <a href="javascript:frm_duplicate_field(<?php echo $field['id']; ?>,'<?php echo $frm_ajax_url ?>')" class="alignright frm-show-hover" title="<?php _e('Duplicate Field', 'formidable') ?>"><img src="<?php echo FRM_IMAGES_URL ?>/duplicate.png" alt="<?php _e('Duplicate', 'formidable') ?>"></a>
7
  <?php do_action('frm_extra_field_actions', $field['id']); ?>
8
 
9
  <?php if ($display['required']){ ?>
10
  <span id="require_field_<?php echo $field['id']; ?>">
11
+ <a href="javascript:frm_mark_required(<?php echo $field['id']; ?>,<?php echo $field_required = ($field['required'] == '0')?('0'):('1'); ?>,'<?php echo FRM_IMAGES_URL ?>','<?php echo $frm_ajax_url?>')" class="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"><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></a>
12
  </span>
13
  <?php } ?>
14
  <label class="frm_ipe_field_label frm_pos_<?php echo $field['label']; ?>" id="field_<?php echo $field['id']; ?>"><?php echo $field['name'] ?></label>
15
 
16
  <?php if ($display['type'] == 'text'){ ?>
17
+ <input type="text" name="<?php echo $field_name ?>" value="<?php echo $field['default_value']; ?>" <?php echo (isset($field['size']) && $field['size']) ? 'style="width:auto" size="'.$field['size'] .'"' : ''; ?> />
18
  <?php }else if ($field['type'] == 'textarea'){ ?>
19
+ <textarea name="<?php echo $field_name ?>"<?php if ($field['size']) echo ' style="width:auto" cols="'.$field['size'].'"' ?> rows="<?php echo $field['max']; ?>"><?php echo $field['default_value']; ?></textarea>
20
 
21
  <?php }else if ($field['type'] == 'radio' or $field['type'] == 'checkbox'){
22
  $field['default_value'] = maybe_unserialize($field['default_value']); ?>
23
+ <?php require(FRM_VIEWS_PATH.'/frm-fields/radio.php'); ?>
24
 
25
+ <div id="frm_add_field_<?php echo $field['id']; ?>" class="frm-show-click">
26
+ <a href="javascript:frm_add_field_option(<?php echo $field['id']; ?>,'<?php echo $frm_ajax_url ?>')" class="frm_orange frm_add_opt">+ <?php _e('Add an Option', 'formidable') ?></a>
27
+ </div>
28
 
29
  <?php }else if ($field['type'] == 'select'){ ?>
30
+ <select name="<?php echo $field_name ?>" id="<?php echo $field_name ?>" <?php echo (isset($field['size']) && $field['size']) ? 'style="width:auto"' : ''; ?>>
31
+ <?php foreach ($field['options'] as $opt_key => $opt){
32
+ $field_val = apply_filters('frm_field_value_saved', $opt, $opt_key, $field);
33
+ $selected = ($field['default_value'] == $field_val)?(' selected="selected"'):(''); ?>
34
+ <option value="<?php echo $field_val ?>"<?php echo $selected ?>><?php echo $opt ?></option>
35
  <?php } ?>
36
  </select>
37
  <?php if ($display['default_blank']) FrmFieldsHelper::show_default_blank_js($field['id'], $field['default_blank']); ?>
39
  <div class="frm-show-click">
40
  <?php foreach ($field['options'] as $opt_key => $opt) require(FRM_VIEWS_PATH.'/frm-fields/single-option.php'); ?>
41
  <div id="frm_add_field_<?php echo $field['id']; ?>">
42
+ <a href="javascript:frm_add_field_option(<?php echo $field['id']; ?>,'<?php echo $frm_ajax_url ?>')" class="frm_orange frm_add_opt">+ <?php _e('Add an Option', 'formidable') ?></a>
43
  <?php do_action('frm_add_multiple_opts', $field); ?>
44
  </div>
45
  </div>
46
+ <?php }else if ($field['type'] == 'captcha'){ ?>
47
+ <img src="<?php echo FRM_URL ?>/images/<?php echo $frm_settings->re_theme ?>-captcha.png">
48
+ <span class="howto"><?php printf(__('Hint: Change colors in the %1$sFormidable settings', 'formidable'), '<a href="?page=formidable-settings">') ?></a></span>
49
+ <input type="hidden" name="<?php echo $field_name ?>" value="1"/>
50
+ <?php
 
 
 
 
51
  }else
52
  do_action('frm_display_added_fields',$field);
53
 
69
  <div class="clearfix themeRoller">
70
  <div class="theme-group clearfix">
71
  <div class="theme-group-header state-default">
72
+ <span class="icon icon-triangle-1-e"><?php _e('Collapse', 'formidable') ?></span>
73
  <a href="#"><?php _e('Field Options', 'formidable') ?> (ID <?php echo $field['id'] ?>)</a>
74
  </div><!-- /theme group Error -->
75
  <div class="theme-group-content corner-bottom clearfix">
76
  <div class="clearfix">
77
  <table class="form-table">
78
  <?php if ($display['size']){ ?>
79
+ <tr><td width="150px"><label><?php _e('Field Size', 'formidable') ?>:</label></td>
80
+ <td><input type="text" name="field_options[size_<?php echo $field['id'] ?>]" value="<?php echo $field['size']; ?>" size="5" /> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('columns wide', 'formidable') : __('characters wide', 'formidable') ?></span>
81
 
82
+ <input type="text" name="field_options[max_<?php echo $field['id'] ?>]" value="<?php echo $field['max']; ?>" size="5" /> <span class="howto"><?php echo ($field['type'] == 'textarea' || $field['type'] == 'rte')? __('rows high', 'formidable') : __('characters maximum', 'formidable') ?></span></td>
83
  </tr>
84
  <?php } ?>
85
  <?php if ($display['label_position']){ ?>
86
+ <tr><td width="150px"><label><?php _e('Label Position', 'formidable') ?>:</label></td>
87
  <td><select name="field_options[label_<?php echo $field['id'] ?>]">
88
+ <option value="top"<?php selected($field['label'], 'top'); ?>><?php _e('Top', 'formidable') ?></option>
89
+ <option value="left"<?php selected($field['label'], 'left'); ?>><?php _e('Left', 'formidable') ?></option>
90
+ <option value="right"<?php selected($field['label'], 'right'); ?>><?php _e('Right', 'formidable') ?></option>
91
+ <option value="none"<?php selected($field['label'], 'none'); ?>><?php _e('Hidden', 'formidable') ?></option>
92
  </select>
93
  </td>
94
  </tr>
95
  <?php } ?>
96
  <?php if ($display['required']){ ?>
97
+ <tr>
98
+ <td><label><?php _e('Required Field', 'formidable') ?>:</label></td>
99
+ <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 ?>,'<?php echo FRM_IMAGES_URL ?>','<?php echo $frm_ajax_url?>')" /> <span ><?php _e('Required', 'formidable') ?></span>
100
+ <span class="frm_required_details<?php echo $field['id'] ?>">&mdash; <span class="howto"><?php _e('Indicate required field with', 'formidable') ?>:</span>
101
+ <input type="text" name="field_options[required_indicator_<?php echo $field['id'] ?>]" value="<?php echo htmlentities($field['required_indicator']); ?>" />
102
+ </span>
103
+ </td>
104
  </tr>
105
+ <tr class="frm_required_details<?php echo $field['id'] ?>"<?php if($field['required'] == 0) echo 'style="display:none;"'?>><td><label><?php _e('Error message if field is left blank', 'formidable') ?>:</label></td>
106
+ <td><input type="text" name="field_options[blank_<?php echo $field['id'] ?>]" value="<?php echo $field['blank']; ?>" class="frm_long_input" /></td>
107
  </tr>
108
  <?php } ?>
109
  <?php if ($display['invalid']){ ?>
110
+ <tr><td><label><?php _e('Error message if entry is an invalid format', 'formidable') ?>:</label></td>
111
+ <td><input type="text" name="field_options[invalid_<?php echo $field['id'] ?>]" value="<?php echo $field['invalid']; ?>" size="50" /></td>
112
  </tr>
113
  <?php } ?>
114
  <?php do_action('frm_field_options_form', $field, $display); ?>
classes/views/frm-forms/add_field_links.php CHANGED
@@ -1,36 +1,36 @@
1
- <div id="frm_form_options" class="alignright">
2
  <?php if (!$values['is_template']){ ?>
3
- <p class="howto"><?php _e('Copy this code and paste it into your post, page or text widget', FRM_PLUGIN_NAME) ?>:
4
  <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>
5
  <?php } ?>
6
 
7
- <p class="frm_orange"><a href="<?php echo FrmFormsHelper::get_direct_link($values['form_key']); ?>" target="_blank"><?php _e('Preview Form', FRM_PLUGIN_NAME) ?></a>
8
  <?php global $frm_settings; if ($frm_settings->preview_page_id > 0){ ?>
9
- or <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', FRM_PLUGIN_NAME) ?></a>
10
  <?php } ?>
11
  </p>
12
 
13
- <p class="howto"><?php _e('Click on or drag a field into your form', FRM_PLUGIN_NAME) ?></p>
14
  <div class="themeRoller clearfix">
15
  <div id="rollerTabs">
16
 
17
  <fieldset class="clearfix">
18
  <div class="theme-group clearfix">
19
  <div class="theme-group-header state-default">
20
- <span class="icon icon-triangle-1-e"><?php _e('Collapse', FRM_PLUGIN_NAME) ?></span>
21
- <a href="#"><?php _e('Basic Fields', FRM_PLUGIN_NAME) ?></a>
22
  </div><!-- /theme group Error -->
23
  <div class="theme-group-content corner-bottom clearfix">
24
  <div class="clearfix">
25
  <ul class="field_type_list">
26
- <?php foreach ($frm_field_selection as $field_key => $field_type){ ?>
27
- <li class="frmbutton button" id="<?php echo $field_key ?>"><a href="javascript:add_frm_field_link(<?php echo $id ?>, '<?php echo $field_key ?>', '<?php echo $frm_ajax_url ?>');"><?php echo $field_type ?></a></li>
28
- <?php } ?>
 
 
 
 
29
  <div class="clear"></div>
30
- <?php if (!array_key_exists('captcha', $frm_field_selection) && !function_exists( 'akismet_http_post' )){
31
- global $frm_siteurl; ?>
32
- <p class="howto"><?php printf(__('Hint: Download and activate %1$sWP-reCAPTCHA%2$s to add a captcha to your form. Alternatively activate Akismet for captcha-free spam screening.', FRM_PLUGIN_NAME), '<a href="'.$frm_siteurl.'/wp-admin/plugin-install.php?tab=plugin-information&amp;plugin=wp-recaptcha&amp;TB_iframe=true&amp;width=640&amp;height=593" class="thickbox onclick" title="WP-reCAPTCHA">', '</a>'); ?></p>
33
- <?php } ?>
34
  </ul>
35
  </div>
36
  </div><!-- /theme group content -->
@@ -38,15 +38,18 @@
38
 
39
  <div class="theme-group clearfix">
40
  <div class="theme-group-header state-default">
41
- <span class="icon icon-triangle-1-e"><?php _e('Collapse', FRM_PLUGIN_NAME) ?></span>
42
- <a href="#"><?php _e('Pro Fields', FRM_PLUGIN_NAME) ?></a>
43
  </div><!-- /theme group Error -->
44
  <div class="theme-group-content corner-bottom clearfix">
45
  <div class="clearfix">
46
  <ul<?php echo apply_filters('frm_drag_field_class','') ?>>
47
- <?php foreach (FrmFieldsHelper::pro_field_selection() as $field_key => $field_type){ ?>
48
- <li class="frmbutton button" id="<?php echo $field_key ?>"><?php echo apply_filters('frmpro_field_links',$field_type, $id, $field_key) ?></li>
49
- <?php } ?>
 
 
 
50
  <div class="clear"></div>
51
  </ul>
52
  </div>
@@ -56,35 +59,31 @@
56
 
57
  <div class="theme-group clearfix">
58
  <div class="theme-group-header state-default">
59
- <span class="icon icon-triangle-1-e"><?php _e('Collapse', FRM_PLUGIN_NAME) ?></span>
60
- <a href="#"><?php _e('Key', FRM_PLUGIN_NAME) ?></a>
61
  </div><!-- /theme group Content -->
62
  <div class="theme-group-content corner-bottom clearfix">
63
 
64
  <div class="clearfix">
65
  <ul class="frm_key_icons">
66
  <li><span><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></span>
67
- = <?php _e('required field', FRM_PLUGIN_NAME) ?></li>
68
  <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></span>
69
- = <?php _e('not required', FRM_PLUGIN_NAME) ?></li>
70
  <li><span><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></span>
71
- = <?php _e('clear default text on click', FRM_PLUGIN_NAME) ?></li>
72
  <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></span>
73
- = <?php _e('do not clear default text on click', FRM_PLUGIN_NAME) ?></li>
74
  <li><span><img src="<?php echo FRM_IMAGES_URL?>/error.png"></span>
75
- = <?php _e('default value will NOT pass validation', FRM_PLUGIN_NAME) ?></li>
76
  <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/error.png"></span>
77
- = <?php _e('default value will pass validation', FRM_PLUGIN_NAME) ?></li>
78
- <li><span><img src="<?php echo FRM_IMAGES_URL?>/readonly.png" alt="read-only"></span>
79
- = <?php _e('read-only field', FRM_PLUGIN_NAME) ?></li>
80
- <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/readonly.png" alt="read-only"></span>
81
- = <?php _e('not a read-only field', FRM_PLUGIN_NAME) ?></li>
82
  <li><span><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete"></span>
83
- = <?php _e('delete field and all inputed data', FRM_PLUGIN_NAME) ?></li>
84
  <li><span><img src="<?php echo FRM_IMAGES_URL ?>/duplicate.png" alt="Move"></span>
85
- = <?php _e('duplicate field', FRM_PLUGIN_NAME) ?></li>
86
  <li><span><img src="<?php echo FRM_IMAGES_URL ?>/move.png" alt="Move"></span> =
87
- <?php _e('move field', FRM_PLUGIN_NAME) ?></li>
88
  </ul>
89
  </div>
90
  </div><!-- /theme group content -->
@@ -93,7 +92,7 @@
93
  </fieldset>
94
 
95
  </div>
96
- <p class="howto"><?php _e('Enter or select default values into fields on this form.', FRM_PLUGIN_NAME) ?></p>
97
  </div><!-- /themeroller -->
98
 
99
 
1
+ <div id="frm_form_options" class="inner-sidebar">
2
  <?php if (!$values['is_template']){ ?>
3
+ <p class="howto"><?php _e('Copy this code and paste it into your post, page or text widget', 'formidable') ?>:
4
  <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>
5
  <?php } ?>
6
 
7
+ <p class="frm_orange"><a href="<?php echo FrmFormsHelper::get_direct_link($values['form_key']); ?>" target="_blank"><?php _e('Preview Form', 'formidable') ?></a>
8
  <?php global $frm_settings; if ($frm_settings->preview_page_id > 0){ ?>
9
+ or <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>
10
  <?php } ?>
11
  </p>
12
 
13
+ <p class="howto"><?php _e('Click on or drag a field into your form', 'formidable') ?></p>
14
  <div class="themeRoller clearfix">
15
  <div id="rollerTabs">
16
 
17
  <fieldset class="clearfix">
18
  <div class="theme-group clearfix">
19
  <div class="theme-group-header state-default">
20
+ <span class="icon icon-triangle-1-e"><?php _e('Collapse', 'formidable') ?></span>
21
+ <a href="#"><?php _e('Basic Fields', 'formidable') ?></a>
22
  </div><!-- /theme group Error -->
23
  <div class="theme-group-content corner-bottom clearfix">
24
  <div class="clearfix">
25
  <ul class="field_type_list">
26
+ <?php
27
+ $col_class = 'frm_col_one';
28
+ foreach ($frm_field_selection as $field_key => $field_type){ ?>
29
+ <li class="frmbutton button <?php echo $col_class ?>" id="<?php echo $field_key ?>"><a href="javascript:add_frm_field_link(<?php echo $id ?>, '<?php echo $field_key ?>', '<?php echo $frm_ajax_url ?>');"><?php echo $field_type ?></a></li>
30
+ <?php
31
+ $col_class = (empty($col_class)) ? 'frm_col_one' : '';
32
+ } ?>
33
  <div class="clear"></div>
 
 
 
 
34
  </ul>
35
  </div>
36
  </div><!-- /theme group content -->
38
 
39
  <div class="theme-group clearfix">
40
  <div class="theme-group-header state-default">
41
+ <span class="icon icon-triangle-1-e"><?php _e('Collapse', 'formidable') ?></span>
42
+ <a href="#"><?php _e('Pro Fields', 'formidable') ?></a>
43
  </div><!-- /theme group Error -->
44
  <div class="theme-group-content corner-bottom clearfix">
45
  <div class="clearfix">
46
  <ul<?php echo apply_filters('frm_drag_field_class','') ?>>
47
+ <?php $col_class = 'frm_col_one';
48
+ foreach (FrmFieldsHelper::pro_field_selection() as $field_key => $field_type){ ?>
49
+ <li class="frmbutton button <?php echo $col_class ?>" id="<?php echo $field_key ?>"><?php echo apply_filters('frmpro_field_links',$field_type, $id, $field_key) ?></li>
50
+ <?php
51
+ $col_class = (empty($col_class)) ? 'frm_col_one' : '';
52
+ } ?>
53
  <div class="clear"></div>
54
  </ul>
55
  </div>
59
 
60
  <div class="theme-group clearfix">
61
  <div class="theme-group-header state-default">
62
+ <span class="icon icon-triangle-1-e"><?php _e('Collapse', 'formidable') ?></span>
63
+ <a href="#"><?php _e('Key', 'formidable') ?></a>
64
  </div><!-- /theme group Content -->
65
  <div class="theme-group-content corner-bottom clearfix">
66
 
67
  <div class="clearfix">
68
  <ul class="frm_key_icons">
69
  <li><span><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></span>
70
+ = <?php _e('required field', 'formidable') ?></li>
71
  <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></span>
72
+ = <?php _e('not required', 'formidable') ?></li>
73
  <li><span><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></span>
74
+ = <?php _e('clear default text on click', 'formidable') ?></li>
75
  <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></span>
76
+ = <?php _e('do not clear default text on click', 'formidable') ?></li>
77
  <li><span><img src="<?php echo FRM_IMAGES_URL?>/error.png"></span>
78
+ = <?php _e('default value will NOT pass validation', 'formidable') ?></li>
79
  <li><span class="frm_inactive_icon"><img src="<?php echo FRM_IMAGES_URL?>/error.png"></span>
80
+ = <?php _e('default value will pass validation', 'formidable') ?></li>
 
 
 
 
81
  <li><span><img src="<?php echo FRM_IMAGES_URL ?>/trash.png" alt="Delete"></span>
82
+ = <?php _e('delete field and all inputed data', 'formidable') ?></li>
83
  <li><span><img src="<?php echo FRM_IMAGES_URL ?>/duplicate.png" alt="Move"></span>
84
+ = <?php _e('duplicate field', 'formidable') ?></li>
85
  <li><span><img src="<?php echo FRM_IMAGES_URL ?>/move.png" alt="Move"></span> =
86
+ <?php _e('move field', 'formidable') ?></li>
87
  </ul>
88
  </div>
89
  </div><!-- /theme group content -->
92
  </fieldset>
93
 
94
  </div>
95
+ <p class="howto"><?php _e('Enter or select default values into fields on this form.', 'formidable') ?></p>
96
  </div><!-- /themeroller -->
97
 
98
 
classes/views/frm-forms/default-templates.php CHANGED
@@ -16,16 +16,16 @@
16
  ?>
17
  <tr style="min-height: 60px; height: 60px;">
18
  <td class="post-title">
19
- <a class="row-title" href="<?php echo $url = FrmFormsHelper::get_direct_link($form->form_key); ?>" title="<?php _e('Preview', 'formidable')?> <?php echo stripslashes($form->name); ?>" target="blank"><?php echo stripslashes($form->name); ?></a><br/>
20
  <div class="row-actions">
21
  <?php if(current_user_can('frm_edit_forms')){ ?>
22
- <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&action=duplicate&id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo $form->name; ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span> |
23
  <?php } ?>
24
  <?php global $frm_settings;
25
  if ($frm_settings->preview_page_id > 0)
26
  $url = add_query_arg('form', $form->form_key, get_permalink($frm_settings->preview_page_id));
27
  ?>
28
- <span><a href="<?php echo $url ?>" title="View <?php echo stripslashes($form->name); ?>" target="blank"><?php _e('View', 'formidable') ?></a></span>
29
  </div>
30
  </td>
31
  <td><?php echo $form->description ?></td>
16
  ?>
17
  <tr style="min-height: 60px; height: 60px;">
18
  <td class="post-title">
19
+ <a class="row-title" href="<?php echo $url = FrmFormsHelper::get_direct_link($form->form_key); ?>" title="<?php _e('Preview', 'formidable')?> <?php echo htmlentities(stripslashes($form->name)) ?>" target="blank"><?php echo stripslashes($form->name); ?></a><br/>
20
  <div class="row-actions">
21
  <?php if(current_user_can('frm_edit_forms')){ ?>
22
+ <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&action=duplicate&id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)); ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span> |
23
  <?php } ?>
24
  <?php global $frm_settings;
25
  if ($frm_settings->preview_page_id > 0)
26
  $url = add_query_arg('form', $form->form_key, get_permalink($frm_settings->preview_page_id));
27
  ?>
28
+ <span><a href="<?php echo $url ?>" title="View <?php echo htmlentities(stripslashes($form->name)) ?>" target="blank"><?php _e('View', 'formidable') ?></a></span>
29
  </div>
30
  </td>
31
  <td><?php echo $form->description ?></td>
classes/views/frm-forms/edit.php CHANGED
@@ -1,31 +1,39 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
  <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Edit Form', 'formidable') ?></h2>
4
-
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
-
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
-
9
- <div class="frm_form_builder alignleft<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="poststuff">
10
- <form name="form1" method="post" action="">
11
- <p class="submit">
12
- <input type="submit" name="Submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" /> <?php _e('or', 'formidable') ?>
13
- <a href="?page=<?php echo FRM_PLUGIN_NAME ?>"><?php _e('Cancel', 'formidable') ?></a>
 
 
 
 
 
 
 
14
  </p>
15
 
16
- <input type="hidden" name="action" value="update">
17
- <input type="hidden" name="id" value="<?php echo $id; ?>">
18
  <?php wp_nonce_field('update-options'); ?>
19
 
20
  <?php require(FRM_VIEWS_PATH.'/frm-forms/form.php'); ?>
21
 
22
- <p class="submit">
23
- <input type="submit" name="Submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" /> <?php _e('or', 'formidable') ?>
24
- <a href="?page=<?php echo FRM_PLUGIN_NAME ?>"><?php _e('Cancel', 'formidable') ?></a>
 
 
25
  </p>
26
  </form>
27
  </div>
28
-
29
- <?php require('add_field_links.php'); ?>
 
30
  </div>
31
  <?php require('footer.php'); ?>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
  <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Edit Form', 'formidable') ?></h2>
 
4
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
6
+ <div id="poststuff" class="metabox-holder has-right-sidebar">
7
+ <?php require('add_field_links.php'); ?>
8
+ <div id="post-body">
9
+ <div id="post-body-content">
10
+ <div class="frm_form_builder<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>">
11
+ <form method="post" action="">
12
+ <p>
13
+ <span class="alignright">
14
+ <a title="<?php _e('Customize Form HTML', 'formidable') ?>" href="#TB_inline?height=500&amp;width=700&amp;inlineId=frm_editable_html" class="thickbox button"><?php _e('Customize Form HTML', 'formidable') ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('Advanced Users: Customize your form HTML here', 'formidable') ?>" /></a>
15
+ </span>
16
+ <input type="submit" name="Submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
17
+ <?php _e('or', 'formidable') ?>
18
+ <a class="button-secondary cancel" href="?page=<?php echo FRM_PLUGIN_NAME ?>"><?php _e('Cancel', 'formidable') ?></a>
19
  </p>
20
 
21
+ <input type="hidden" name="action" value="update" />
22
+ <input type="hidden" name="id" value="<?php echo $id; ?>" />
23
  <?php wp_nonce_field('update-options'); ?>
24
 
25
  <?php require(FRM_VIEWS_PATH.'/frm-forms/form.php'); ?>
26
 
27
+ <p>
28
+ <span class="alignright"><a title="<?php _e('Customize Form HTML', 'formidable') ?>" href="#TB_inline?height=500&amp;width=700&amp;inlineId=frm_editable_html" class="thickbox button"><?php _e('Customize Form HTML', 'formidable') ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('Advanced Users: Customize your form HTML here', 'formidable') ?>" /></a></span>
29
+ <input type="submit" name="Submit" value="<?php _e('Update', 'formidable') ?>" class="button-primary" />
30
+ <?php _e('or', 'formidable') ?>
31
+ <a class="button-secondary cancel" href="?page=<?php echo FRM_PLUGIN_NAME ?>"><?php _e('Cancel', 'formidable') ?></a>
32
  </p>
33
  </form>
34
  </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
  </div>
39
  <?php require('footer.php'); ?>
classes/views/frm-forms/footer.php CHANGED
@@ -1,43 +1,29 @@
1
  <script type="text/javascript">
2
  jQuery(document).ready(function($){
3
  $(".frm_ipe_form_name").editInPlace({
4
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
5
- params:"action=frm_form_name_in_place_edit&form_id=<?php echo $id; ?>",
6
  value_required:"true", bg_out:'#fff'
7
  });
8
 
9
  $(".frm_ipe_form_desc").editInPlace({
10
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
11
- params:"action=frm_form_desc_in_place_edit&form_id=<?php echo $id; ?>",
12
  field_type:"textarea",textarea_rows:3,textarea_cols:60,
13
  default_text:"<?php _e('(Click here to add form description or instructions)', 'formidable') ?>"
14
  });
15
 
16
- $(".frm_ipe_field_option").editInPlace({
17
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
18
- params:"action=frm_field_option_ipe",
19
- default_text:'(Blank)'
20
- });
21
 
22
- $(".frm_ipe_field_option_select").editInPlace({
23
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
24
- params:"action=frm_field_option_ipe",
25
- default_text:'(Blank)'
26
- });
27
 
28
 
29
  $(".frm_ipe_field_label").editInPlace({
30
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
31
- params:"action=frm_field_name_in_place_edit",
32
- value_required:"true"
33
  });
34
 
35
  $(".frm_ipe_field_desc").editInPlace({
36
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
37
- params:"action=frm_field_desc_in_place_edit",
38
  default_text:"(Click here to add optional description or instructions)",
39
- field_type:'textarea',
40
- textarea_rows:1
41
  });
42
 
43
  $("#new_fields").sortable({
@@ -45,109 +31,27 @@ $("#new_fields").sortable({
45
  accepts:'field_type_list',
46
  revert:true,
47
  receive:function(event,ui){
48
- var new_id = (ui.item).attr('id');
49
- jQuery('#new_fields .frmbutton#'+new_id).replaceWith('<img class="frmbutton frmbutton_loadingnow" id="' + new_id + '" src="<?php echo FRM_IMAGES_URL; ?>/ajax_loader.gif" alt="<?php _e('Loading...', FRM_PLUGIN_NAME); ?>" />');
50
  jQuery.ajax({
51
- type:"POST",
52
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
53
- data:"action=frm_insert_field&form_id=<?php echo $id; ?>&field="+new_id,
54
  success:function(msg){ $('.frmbutton_loadingnow#'+new_id).replaceWith(msg);
55
  var order= $('#new_fields').sortable('serialize');
56
- jQuery.ajax({
57
- type:"POST",
58
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
59
- data:"action=frm_update_field_order&"+order
60
- });
61
  }
62
  });
63
  },
64
  update:function(){
65
  var order= $('#new_fields').sortable('serialize');
66
- jQuery.ajax({
67
- type:"POST",
68
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
69
- data:"action=frm_update_field_order&"+order
70
- });
71
  }
72
  });
73
  });
74
 
75
- function frm_mark_required(field_id, required){
76
- var thisid= 'req_field_' + field_id;
77
- if (required == '0'){
78
- var switch_to = '1';
79
- var atitle = 'Click to Mark as Not Required';
80
- }else{
81
- var switch_to = '0';
82
- var atitle = 'Click to Mark as Required';
83
- }
84
- jQuery('#'+thisid).replaceWith('<img id="' + thisid + '" class="ui-icon alignleft" src="<?php echo FRM_IMAGES_URL; ?>/required_loader.gif" alt="<?php _e('Loading...', FRM_PLUGIN_NAME); ?>" />');
85
- jQuery.ajax({
86
- type:"POST",
87
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
88
- data:"action=frm_mark_required&field="+field_id+"&required="+switch_to,
89
- success:function(msg){ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_mark_required('+field_id+','+switch_to+')" class="alignleft frm_required'+switch_to+'" id="'+thisid+'" title="'+atitle+'"><img src="<?php echo FRM_IMAGES_URL?>/required.png" alt="required"></a>');}
90
- });
91
- };
92
-
93
- function frm_clear_on_focus(field_id, active){
94
- var thisid= 'clear_field_' + field_id;
95
- if (active == '1'){
96
- var switch_to = '0';
97
- var new_class = 'frm_inactive_icon';
98
- }else{
99
- var switch_to = '1';
100
- var new_class = '';
101
- }
102
- jQuery('#'+thisid).replaceWith('<img id="' + thisid + '" src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="<?php _e('Loading...', FRM_PLUGIN_NAME); ?>" />');
103
- jQuery.ajax({
104
- type:"POST",
105
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
106
- data:"action=frm_clear_on_focus&field="+field_id+"&active="+switch_to,
107
- success:function(msg){ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_clear_on_focus( '+field_id+', '+switch_to+')" class="'+new_class +' frm-show-hover" id="'+thisid+'"><img src="<?php echo FRM_IMAGES_URL?>/reload.png"></a>');}
108
- });
109
- };
110
-
111
- function frm_default_blank(field_id, active){
112
- var thisid= 'default_blank_' + field_id;
113
- if (active == '1'){
114
- var switch_to = '0';
115
- var new_class = 'frm_inactive_icon';
116
- }else{
117
- var switch_to = '1';
118
- var new_class = '';
119
- }
120
- jQuery('#'+thisid).replaceWith('<img id="' + thisid + '" src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="<?php _e('Loading...', FRM_PLUGIN_NAME); ?>" />');
121
- jQuery.ajax({
122
- type:"POST",
123
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
124
- data:"action=frm_default_blank&field="+field_id+"&active="+switch_to,
125
- success:function(msg){ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_default_blank('+field_id+', '+switch_to+')" class="'+new_class +' frm-show-hover" id="'+thisid+'"><img src="<?php echo FRM_IMAGES_URL?>/error.png"></a>');}
126
- });
127
- };
128
-
129
- function frm_read_only(field_id, active){
130
- var thisid= 'read_only_' + field_id;
131
- if (active == '1'){
132
- var switch_to = '0';
133
- var new_class = 'frm_inactive_icon';
134
- }else{
135
- var switch_to = '1';
136
- var new_class = '';
137
- }
138
- jQuery('#'+thisid).replaceWith('<img id="'+thisid+'" src="<?php echo FRM_IMAGES_URL; ?>/wpspin_light.gif" alt="<?php _e('Loading...', FRM_PLUGIN_NAME); ?>" />');
139
- jQuery.ajax({
140
- type:"POST",url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
141
- data:"action=frm_read_only&field="+field_id+"&active="+switch_to,
142
- success:function(msg){ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_read_only('+field_id+', '+switch_to+')" class="'+new_class+' frm-show-hover" id="'+thisid+'"><img src="<?php echo FRM_IMAGES_URL?>/readonly.png"></a>');}
143
- });
144
- };
145
-
146
  function frm_delete_field(field_id){
147
- if(confirm("<?php _e('Are you sure you want to delete this field and all data associated with it?', FRM_PLUGIN_NAME); ?>")){
148
  jQuery.ajax({
149
- type:"POST",
150
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
151
  data:"action=frm_delete_field&field_id="+field_id,
152
  success:function(msg){jQuery("#frm_field_id_"+field_id).fadeOut("slow");}
153
  });
1
  <script type="text/javascript">
2
  jQuery(document).ready(function($){
3
  $(".frm_ipe_form_name").editInPlace({
4
+ url:"<?php echo $frm_ajax_url ?>",params:"action=frm_form_name_in_place_edit&form_id=<?php echo $id; ?>",
 
5
  value_required:"true", bg_out:'#fff'
6
  });
7
 
8
  $(".frm_ipe_form_desc").editInPlace({
9
+ url:"<?php echo $frm_ajax_url ?>",params:"action=frm_form_desc_in_place_edit&form_id=<?php echo $id; ?>",
 
10
  field_type:"textarea",textarea_rows:3,textarea_cols:60,
11
  default_text:"<?php _e('(Click here to add form description or instructions)', 'formidable') ?>"
12
  });
13
 
14
+ $(".frm_ipe_field_option").editInPlace({url:"<?php echo $frm_ajax_url ?>",params:"action=frm_field_option_ipe",default_text:'(Blank)'});
 
 
 
 
15
 
16
+ $(".frm_ipe_field_option_select").editInPlace({url:"<?php echo $frm_ajax_url ?>",params:"action=frm_field_option_ipe",default_text:'(Blank)'});
 
 
 
 
17
 
18
 
19
  $(".frm_ipe_field_label").editInPlace({
20
+ url:"<?php echo $frm_ajax_url ?>",params:"action=frm_field_name_in_place_edit",value_required:"true"
 
 
21
  });
22
 
23
  $(".frm_ipe_field_desc").editInPlace({
24
+ url:"<?php echo $frm_ajax_url ?>",params:"action=frm_field_desc_in_place_edit",
 
25
  default_text:"(Click here to add optional description or instructions)",
26
+ field_type:'textarea',textarea_rows:3
 
27
  });
28
 
29
  $("#new_fields").sortable({
31
  accepts:'field_type_list',
32
  revert:true,
33
  receive:function(event,ui){
34
+ var new_id=(ui.item).attr('id');
35
+ jQuery('#new_fields .frmbutton#'+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'); ?>" />');
36
  jQuery.ajax({
37
+ type:"POST",url:"<?php echo $frm_ajax_url ?>",data:"action=frm_insert_field&form_id=<?php echo $id; ?>&field="+new_id,
 
 
38
  success:function(msg){ $('.frmbutton_loadingnow#'+new_id).replaceWith(msg);
39
  var order= $('#new_fields').sortable('serialize');
40
+ jQuery.ajax({type:"POST",url:"<?php echo $frm_ajax_url ?>",data:"action=frm_update_field_order&"+order});
 
 
 
 
41
  }
42
  });
43
  },
44
  update:function(){
45
  var order= $('#new_fields').sortable('serialize');
46
+ jQuery.ajax({type:"POST",url:"<?php echo $frm_ajax_url ?>",data:"action=frm_update_field_order&"+order});
 
 
 
 
47
  }
48
  });
49
  });
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  function frm_delete_field(field_id){
52
+ if(confirm("<?php _e('Are you sure you want to delete this field and all data associated with it?', 'formidable'); ?>")){
53
  jQuery.ajax({
54
+ type:"POST",url:"<?php echo $frm_ajax_url ?>",
 
55
  data:"action=frm_delete_field&field_id="+field_id,
56
  success:function(msg){jQuery("#frm_field_id_"+field_id).fadeOut("slow");}
57
  });
classes/views/frm-forms/form.php CHANGED
@@ -1,8 +1,10 @@
1
  <div id="frm_form_editor_container">
 
2
  <div id="form_desc" class="edit_form_item frm_field_box frm_head_box">
3
  <h2 class="frm_ipe_form_name" id="frmform_<?php echo $id; ?>"><?php echo $values['name']; ?></h2>
4
  <div class="frm_ipe_form_desc"><?php echo $values['description']; ?></div>
5
  </div>
 
6
 
7
  <ul id="new_fields">
8
  <?php
@@ -18,46 +20,46 @@ if (isset($values['fields']) && !empty($values['fields'])){
18
  <div class="themeRoller clearfix">
19
  <div class="theme-group clearfix">
20
  <div class="theme-group-header state-default">
21
- <span class="icon icon-triangle-1-e"><?php _e('Collapse', FRM_PLUGIN_NAME) ?></span>
22
  <a href="#"><?php _e('Advanced Form Options', 'formidable') ?></a>
23
  </div><!-- /theme group Error -->
24
  <div class="theme-group-content corner-bottom clearfix">
25
  <div class="clearfix">
26
- <span class="alignright"><a title="<?php _e('Edit HTML', 'formidable') ?>" href="#TB_inline?height=500&width=700&inlineId=frm_editable_html" class="thickbox button"><?php _e('Edit HTML', 'formidable') ?></a></span>
27
  <table class="form-table">
28
  <tr>
29
- <td width="200px"><label><?php _e('Form ShortCodes') ?>:</label> <a href="http://formidablepro.com/user-manual/insert-a-form/" target="_blank"><img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('Key and id are generally synonymous. For more information on using this shortcode, click now.', FRM_PLUGIN_NAME) ?>" /></a></td>
30
  <td>[formidable id=<?php echo $id; ?> title=true description=true] or [formidable key=<?php echo $values['form_key']; ?>]</td>
31
  </tr>
32
 
33
  <tr>
34
- <td><label><?php _e('Form Key', FRM_PLUGIN_NAME) ?>:</label></td>
35
  <td><input type="text" name="form_key" value="<?php echo $values['form_key']; ?>" /></td>
36
  </tr>
37
 
38
- <tr><td><label><?php _e('Styling', FRM_PLUGIN_NAME) ?>:</label></td>
39
  <td><input type="checkbox" name="options[custom_style]" id="custom_style" <?php echo ($values['custom_style']) ? (' checked="checked"') : (''); ?> />
40
  <label for="custom_style"><?php _e('Use Formidable styling for this form', 'formidable') ?></label></td>
41
  </tr>
42
 
43
- <tr><td><label><?php _e('Submit Button Text', FRM_PLUGIN_NAME) ?>:</label></td>
44
  <td><input type="text" name="options[submit_value]" value="<?php echo $values['submit_value']; ?>" /></td>
45
  </tr>
46
 
47
- <tr><td valign="top"><label><?php _e('Action After Form Submission', FRM_PLUGIN_NAME) ?>:</label>
48
  <?php if(!$frmpro_is_installed){ ?>
49
- <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('To use the second two options, you must upgrade to Formidable Pro.', FRM_PLUGIN_NAME) ?>" />
50
  <?php } ?>
51
  </td>
52
  <td>
53
- <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', FRM_PLUGIN_NAME) ?></label>
54
- <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 _e('Display content from another page', FRM_PLUGIN_NAME) ?></label>
55
- <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 _e('Redirect', FRM_PLUGIN_NAME) ?></label>
56
  </td>
57
  </tr>
58
 
59
- <tr class="success_action_message_box success_action_box"><td valign="top"><label><?php _e('Confirmation Message', FRM_PLUGIN_NAME) ?>:</label></td>
60
- <td><textarea name="options[success_msg]" cols="50" class="frm_elastic_text"><?php echo $values['success_msg']; ?></textarea> <br/>
 
61
  <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>
62
  <td>
63
  </tr>
@@ -74,15 +76,15 @@ if (isset($values['fields']) && !empty($values['fields'])){
74
 
75
  <div class="theme-group clearfix">
76
  <div class="theme-group-header state-default">
77
- <span class="icon icon-triangle-1-e"><?php _e('Collapse', FRM_PLUGIN_NAME) ?></span>
78
  <a href="#"><?php _e('Form Notification Options', 'formidable') ?></a>
79
  </div><!-- /theme group Error -->
80
  <div class="theme-group-content corner-bottom clearfix">
81
  <div class="clearfix">
82
  <table class="form-table">
83
  <tr>
84
- <td width="200px"><label><?php _e('Email Form Responses to', 'formidable') ?>:</label> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('To send to multiple addresses, separate each address with a comma', FRM_PLUGIN_NAME) ?>" /></td>
85
- <td><input type="text" name="options[email_to]" size="55" value="<?php echo $values['email_to']; ?>" /></td>
86
  </tr>
87
  <?php do_action('frm_additional_form_notification_options', $values); ?>
88
  </table>
@@ -95,7 +97,7 @@ if (isset($values['fields']) && !empty($values['fields'])){
95
  <div id="frm_editable_html" style="display:none;">
96
  <div class="alignleft" style="width:500px">
97
  <p><label class="frm_pos_top"><?php _e('Before Fields', 'formidable') ?></label>
98
- <textarea name="options[before_html]" rows="4" style="width:100%"><?php echo $values['before_html']?></textarea></p>
99
 
100
  <div id="add_html_fields">
101
  <?php
@@ -103,7 +105,7 @@ if (isset($values['fields']) && !empty($values['fields'])){
103
  foreach($values['fields'] as $field){
104
  if (apply_filters('frm_show_custom_html', true, $field['type'])){ ?>
105
  <p><label class="frm_pos_top"><?php echo $field['name'] ?></label>
106
- <textarea name="field_options[custom_html_<?php echo $field['id'] ?>]" rows="7" style="width:100%"><?php echo $field['custom_html'] ?></textarea></p>
107
  <?php }
108
  }
109
  } ?>
@@ -116,19 +118,24 @@ if (isset($values['fields']) && !empty($values['fields'])){
116
  <div class="alignright" style="width:150px;">
117
  <h4><?php _e('Key', 'formidable') ?></h4>
118
  <ul>
119
- <li><b><?php _e('Form Name', 'formidable') ?>:</b> [form_name]</li>
120
- <li><b><?php _e('Form Description', 'formidable') ?>:</b> [form_description]</li>
 
 
121
  </ul>
122
  <ul>
123
- <li><b><?php _e('Field Id', 'formidable') ?>:</b> [id]</li>
124
- <li><b><?php _e('Field Key', 'formidable') ?>:</b> [key]</li>
125
- <li><b><?php _e('Field Name', 'formidable') ?>:</b> [field_name]</li>
126
- <li><b><?php _e('Field Description', 'formidable') ?>:</b> [description]</li>
127
- <li><b><?php _e('Label Position', 'formidable') ?>:</b> [label_position]</li>
128
- <li><b><?php _e('Required label', 'formidable') ?>:</b> [required_label]</li>
129
- <li><b><?php _e('Input Field', 'formidable') ?>:</b> [input]</li>
130
- <li><b><?php _e('Add class name if field is required', 'formidable') ?>:</b> [required_class]</li>
131
- <li><b><?php _e('Add class name if field has an error on form submit', 'formidable') ?>:</b> [error_class]</li>
 
 
 
132
  </ul>
133
  </div>
134
  <?php } ?>
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
20
  <div class="themeRoller clearfix">
21
  <div class="theme-group clearfix">
22
  <div class="theme-group-header state-default">
23
+ <span class="icon icon-triangle-1-e"><?php _e('Collapse', 'formidable') ?></span>
24
  <a href="#"><?php _e('Advanced Form Options', 'formidable') ?></a>
25
  </div><!-- /theme group Error -->
26
  <div class="theme-group-content corner-bottom clearfix">
27
  <div class="clearfix">
 
28
  <table class="form-table">
29
  <tr>
30
+ <td width="200px"><label><?php _e('Form ShortCodes', 'formidable') ?>:</label> <a href="http://formidablepro.com/publish-your-forms/" target="_blank"><img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('Key and id are generally synonymous. For more information on using this shortcode, click now.', 'formidable') ?>" /></a></td>
31
  <td>[formidable id=<?php echo $id; ?> title=true description=true] or [formidable key=<?php echo $values['form_key']; ?>]</td>
32
  </tr>
33
 
34
  <tr>
35
+ <td><label><?php _e('Form Key', 'formidable') ?>:</label></td>
36
  <td><input type="text" name="form_key" value="<?php echo $values['form_key']; ?>" /></td>
37
  </tr>
38
 
39
+ <tr><td><label><?php _e('Styling', 'formidable') ?>:</label></td>
40
  <td><input type="checkbox" name="options[custom_style]" id="custom_style" <?php echo ($values['custom_style']) ? (' checked="checked"') : (''); ?> />
41
  <label for="custom_style"><?php _e('Use Formidable styling for this form', 'formidable') ?></label></td>
42
  </tr>
43
 
44
+ <tr><td><label><?php _e('Submit Button Text', 'formidable') ?>:</label></td>
45
  <td><input type="text" name="options[submit_value]" value="<?php echo $values['submit_value']; ?>" /></td>
46
  </tr>
47
 
48
+ <tr><td valign="top"><label><?php _e('Action After Form Submission', 'formidable') ?>:</label>
49
  <?php if(!$frmpro_is_installed){ ?>
50
+ <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('To use the second two options, you must upgrade to Formidable Pro.', 'formidable') ?>" />
51
  <?php } ?>
52
  </td>
53
  <td>
54
+ <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>
55
+ <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 _e('Display content from another page', 'formidable') ?></label>
56
+ <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 _e('Redirect', 'formidable') ?></label>
57
  </td>
58
  </tr>
59
 
60
+ <tr class="success_action_message_box success_action_box"><td valign="top"><label><?php _e('Confirmation Message', 'formidable') ?>:</label></td>
61
+ <td><?php if($frmpro_is_installed){ FrmProFieldsHelper::get_shortcode_select($values['id'], 'success_msg'); echo '<br/>'; } ?>
62
+ <textarea id="success_msg" name="options[success_msg]" cols="50" rows="4" class="frm_long_input"><?php echo $values['success_msg']; ?></textarea> <br/>
63
  <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>
64
  <td>
65
  </tr>
76
 
77
  <div class="theme-group clearfix">
78
  <div class="theme-group-header state-default">
79
+ <span class="icon icon-triangle-1-e"><?php _e('Collapse', 'formidable') ?></span>
80
  <a href="#"><?php _e('Form Notification Options', 'formidable') ?></a>
81
  </div><!-- /theme group Error -->
82
  <div class="theme-group-content corner-bottom clearfix">
83
  <div class="clearfix">
84
  <table class="form-table">
85
  <tr>
86
+ <td width="200px"><label><?php _e('Email Form Responses to', 'formidable') ?>:</label> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('To send to multiple addresses, separate each address with a comma', 'formidable') ?>" /></td>
87
+ <td><input type="text" name="options[email_to]" value="<?php echo $values['email_to']; ?>" class="frm_long_input" /></td>
88
  </tr>
89
  <?php do_action('frm_additional_form_notification_options', $values); ?>
90
  </table>
97
  <div id="frm_editable_html" style="display:none;">
98
  <div class="alignleft" style="width:500px">
99
  <p><label class="frm_pos_top"><?php _e('Before Fields', 'formidable') ?></label>
100
+ <textarea name="options[before_html]" rows="4" class="frm_long_input"><?php echo $values['before_html']?></textarea></p>
101
 
102
  <div id="add_html_fields">
103
  <?php
105
  foreach($values['fields'] as $field){
106
  if (apply_filters('frm_show_custom_html', true, $field['type'])){ ?>
107
  <p><label class="frm_pos_top"><?php echo $field['name'] ?></label>
108
+ <textarea name="field_options[custom_html_<?php echo $field['id'] ?>]" rows="7" class="frm_long_input"><?php echo $field['custom_html'] ?></textarea></p>
109
  <?php }
110
  }
111
  } ?>
118
  <div class="alignright" style="width:150px;">
119
  <h4><?php _e('Key', 'formidable') ?></h4>
120
  <ul>
121
+ <li><b><?php _e('Form Name', 'formidable') ?>:</b> <pre>[form_name]</pre></li>
122
+ <li><b><?php _e('Form Description', 'formidable') ?>:</b> <pre>[form_description]</pre></li>
123
+ <li><b><?php _e('Form Key', 'formidable') ?>:</b> <pre>[form_key]</pre></li>
124
+ <li><b><?php _e('Delete Entry Link', 'formidable') ?>:</b> <pre>[deletelink]</pre></li>
125
  </ul>
126
  <ul>
127
+ <li><b><?php _e('Field Id', 'formidable') ?>:</b> <pre>[id]</pre></li>
128
+ <li><b><?php _e('Field Key', 'formidable') ?>:</b> <pre>[key]</pre></li>
129
+ <li><b><?php _e('Field Name', 'formidable') ?>:</b> <pre>[field_name]</pre></li>
130
+ <li><b><?php _e('Field Description', 'formidable') ?>:</b> <pre>[description]</pre></li>
131
+ <li><b><?php _e('Label Position', 'formidable') ?>:</b> <pre>[label_position]</pre></li>
132
+ <li><b><?php _e('Required label', 'formidable') ?>:</b> <pre>[required_label]</pre></li>
133
+ <li><b><?php _e('Input Field', 'formidable') ?>:</b> <pre>[input]</pre><br/>
134
+ <?php _e('Show a single radio or checkbox option by replacing "1" with the order of the option','formidable') ?>: <pre>[input opt=1]</pre><br/>
135
+ <?php _e('Hide the option labels','formidable') ?>: <pre>[input label=0]</pre>
136
+ </li>
137
+ <li><b><?php _e('Add class name if field is required', 'formidable') ?>:</b> <pre>[required_class]</pre></li>
138
+ <li><b><?php _e('Add class name if field has an error on form submit', 'formidable') ?>:</b> <pre>[error_class]</pre></li>
139
  </ul>
140
  </div>
141
  <?php } ?>
classes/views/frm-forms/insert_form_popup.php ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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;}
5
+ var title_qs=jQuery("#frm_display_title").is(":checked") ? " title=true" : "";
6
+ var description_qs=jQuery("#frm_display_description").is(":checked") ? " description=true" : "";
7
+ var win = window.dialogArguments || opener || parent || top;
8
+ win.send_to_editor("[formidable id="+form_id+title_qs+description_qs+"]");
9
+ }
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+"]");
17
+ }
18
+
19
+ function frm_insert_search(){
20
+ var win = window.dialogArguments || opener || parent || top;
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 settings 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->name ?></option>
54
+ <?php } ?>
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>
classes/views/frm-forms/list.php CHANGED
@@ -1,6 +1,6 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php echo ($params['template'])? __('Templates', FRM_PLUGIN_NAME) : __('Forms', FRM_PLUGIN_NAME); ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
@@ -16,118 +16,126 @@
16
  <table class="widefat post fixed" cellspacing="0">
17
  <thead>
18
  <tr>
 
19
  <?php if ($params['template']){ ?>
20
  <th class="manage-column" width="">
21
- <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-templates&sort=name<?php echo (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Name', FRM_PLUGIN_NAME) ?><?php echo (($sort_str == 'name')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
22
  </th>
23
  <th class="manage-column">
24
- <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-templates&sort=description<?php echo (($sort_str == 'description' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Description', FRM_PLUGIN_NAME) ?><?php echo (($sort_str == 'description')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
25
  </th>
26
  <?php }else{?>
27
  <th class="manage-column" width="50px">
28
- <?php do_action('frm_column_header'); ?> <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=id<?php echo (($sort_str == 'id' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('ID', FRM_PLUGIN_NAME) ?><?php echo (($sort_str == 'id')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
29
  </th>
30
  <th class="manage-column" width="">
31
- <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=name<?php echo (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Name', FRM_PLUGIN_NAME) ?><?php echo (($sort_str == 'name')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
32
  </th>
33
  <th class="manage-column">
34
- <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=description<?php echo (($sort_str == 'description' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Description', FRM_PLUGIN_NAME) ?><?php echo (($sort_str == 'description')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
35
  </th>
36
  <th class="manage-column" width="70px">
37
- <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=form_key<?php echo (($sort_str == 'form_key' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Key', FRM_PLUGIN_NAME) ?><?php echo (($sort_str == 'form_key')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
38
  </th>
39
- <th class="manage-column" width="60px"><?php _e('Entries', FRM_PLUGIN_NAME) ?></th>
40
- <th class="manage-column" width="115px"><?php _e('Direct Link', FRM_PLUGIN_NAME) ?></th>
41
- <th class="manage-column" width="115px"><?php _e('ShortCode', FRM_PLUGIN_NAME) ?></th>
42
  <?php } ?>
43
  </tr>
44
  </thead>
 
45
  <?php if($record_count <= 0){ ?>
46
  <tr>
47
- <td colspan="<?php echo ($params['template'])? '2':'7'; ?>"><?php _e('No Forms Found', FRM_PLUGIN_NAME) ?></td>
48
  </tr>
49
  <?php
50
  }else{
51
  foreach($forms as $form){
52
  ?>
53
  <tr style="min-height: 75px; height: 75px;" class="iedit">
 
54
  <?php if ($params['template']){ ?>
55
  <td class="post-title">
56
  <?php if(current_user_can('frm_edit_forms')){ ?>
57
- <a class="row-title" href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', FRM_PLUGIN_NAME) ?> <?php echo stripslashes($form->name); ?>"><?php echo stripslashes($form->name); ?></a>
58
  <?php }else{ ?>
59
  <?php echo stripslashes($form->name); ?>
60
  <?php }?>
61
  <br/>
62
  <div class="row-actions">
63
  <?php if(current_user_can('frm_edit_forms')){ ?>
64
- <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', FRM_PLUGIN_NAME) ?> <?php echo $form->name; ?>"><?php _e('Create Form from Template', FRM_PLUGIN_NAME) ?></a></span>
65
- | <span class="edit"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', FRM_PLUGIN_NAME) ?> <?php echo $form->name; ?>"><?php _e('Edit', FRM_PLUGIN_NAME) ?></a></span>
66
  <?php } ?>
67
  <?php do_action('frm_template_action_links', $form); ?>
68
  <?php if(current_user_can('frm_delete_forms')){ ?>
69
- | <span class="trash"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=destroy&amp;id=<?php echo $form->id; ?>" onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?'), stripslashes($form->name)) ?>');" title="<?php _e('Delete', FRM_PLUGIN_NAME) ?> <?php echo $form->form_key; ?>"><?php _e('Delete', FRM_PLUGIN_NAME) ?></a></span>
70
  <?php } ?>
71
  </div>
72
  </td>
73
  <td><?php echo $form->description ?></td>
74
  <?php }else{ ?>
75
- <td><?php do_action('frm_first_col', $form->id); ?> <?php echo $form->id ?></td>
76
  <td class="post-title">
77
  <?php if(current_user_can('frm_edit_forms')){ ?>
78
- <a class="row-title" href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', FRM_PLUGIN_NAME) ?> <?php echo stripslashes($form->name); ?>"><?php echo stripslashes($form->name); ?></a>
79
  <?php }else{ ?>
80
  <?php echo stripslashes($form->name); ?>
81
  <?php }?>
82
  <br/>
83
  <div class="row-actions">
84
  <?php if(current_user_can('frm_edit_forms')){ ?>
85
- <span class="edit"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', FRM_PLUGIN_NAME) ?> <?php echo $form->name; ?>"><?php _e('Edit', FRM_PLUGIN_NAME) ?></a></span>
86
  <?php } ?>
87
  <?php if($frmpro_is_installed){ ?>
88
  <?php if(current_user_can('frm_create_entries')){ ?>
89
- | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-entries&amp;action=new&amp;form=<?php echo $form->id; ?>" title="<?php _e('New', FRM_PLUGIN_NAME) ?> <?php echo $form->name; ?> <?php _e('Entry', FRM_PLUGIN_NAME) ?>"><?php _e('New Entry', FRM_PLUGIN_NAME) ?></a></span>
90
  <?php } ?>
91
  <?php if(current_user_can('frm_view_entries')){ ?>
92
- | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-entries&amp;form=<?php echo $form->id; ?>" title="<?php echo $form->name; ?> Entries"><?php _e('Entries', FRM_PLUGIN_NAME) ?></a></span>
93
  <?php } ?>
94
- | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-reports&amp;form=<?php echo $form->id; ?>" title="<?php echo $form->name; ?> Reports"><?php _e('Reports', FRM_PLUGIN_NAME) ?></a></span>
95
  <?php } ?>
96
  <?php if(current_user_can('frm_edit_forms')){ ?>
97
- | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', FRM_PLUGIN_NAME) ?> <?php echo $form->name; ?>"><?php _e('Duplicate', FRM_PLUGIN_NAME) ?></a></span>
98
- | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=duplicate&amp;id=<?php echo $form->id; ?>&amp;template=1" title="<?php _e('Create', FRM_PLUGIN_NAME) ?> <?php echo $form->name; ?> <?php _e('Template', FRM_PLUGIN_NAME) ?>"><?php _e('Create Template', FRM_PLUGIN_NAME) ?></a></span>
 
99
  <?php } ?>
100
  <?php if(current_user_can('frm_delete_forms')){ ?>
101
- | <span class="trash"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=destroy&amp;id=<?php echo $form->id; ?>" onclick="return confirm('<?php printf(__('Are you sure you want to delete your %1$s Form?'), stripslashes($form->name)) ?>');" title="<?php _e('Delete', FRM_PLUGIN_NAME) ?> <?php echo $form->form_key; ?>"><?php _e('Delete', FRM_PLUGIN_NAME) ?></a></span>
102
  <?php } ?>
103
  </div>
104
  </td>
105
  <td><?php echo stripslashes($form->description) ?></td>
106
  <td><?php echo $form->form_key ?></td>
107
- <td><?php echo apply_filters('frm_view_entries_link', $frm_entry->getRecordCount("it.form_id=$form->id") . ' '. __('Entries', FRM_PLUGIN_NAME), $form->id); ?></td>
108
  <td>
109
- <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', FRM_PLUGIN_NAME) ?></a>
 
 
 
110
  </td>
111
- <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; ?>]' /></td>
112
  <?php } ?>
113
  </tr>
114
  <?php
115
  }
116
  }
117
  ?>
 
118
  <tfoot>
119
  <tr>
 
120
  <?php if ($params['template']){ ?>
121
- <th class="manage-column"><?php _e('Name', FRM_PLUGIN_NAME) ?></th>
122
- <th class="manage-column"><?php _e('Description', FRM_PLUGIN_NAME) ?></th>
123
  <?php }else{ ?>
124
- <th class="manage-column"><?php do_action('frm_column_header'); ?> <?php _e('ID', FRM_PLUGIN_NAME) ?></th>
125
- <th class="manage-column"><?php _e('Name', FRM_PLUGIN_NAME) ?></th>
126
- <th class="manage-column"><?php _e('Description', FRM_PLUGIN_NAME) ?></th>
127
- <th class="manage-column"><?php _e('Key', FRM_PLUGIN_NAME) ?></th>
128
- <th class="manage-column"><?php _e('Entries', FRM_PLUGIN_NAME) ?></th>
129
- <th class="manage-column"><?php _e('Direct Link', FRM_PLUGIN_NAME) ?></th>
130
- <th class="manage-column"><?php _e('ShortCode', FRM_PLUGIN_NAME) ?></th>
131
  <?php } ?>
132
  </tr>
133
  </tfoot>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php echo ($params['template'])? __('Templates', 'formidable') : __('Forms', 'formidable'); ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
16
  <table class="widefat post fixed" cellspacing="0">
17
  <thead>
18
  <tr>
19
+ <th class="manage-column check-column" scope="col"> <?php do_action('frm_column_header'); ?> </th>
20
  <?php if ($params['template']){ ?>
21
  <th class="manage-column" width="">
22
+ <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-templates&sort=name<?php echo (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Name', 'formidable') ?><?php echo (($sort_str == 'name')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
23
  </th>
24
  <th class="manage-column">
25
+ <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-templates&sort=description<?php echo (($sort_str == 'description' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Description', 'formidable') ?><?php echo (($sort_str == 'description')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
26
  </th>
27
  <?php }else{?>
28
  <th class="manage-column" width="50px">
29
+ <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=id<?php echo (($sort_str == 'id' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('ID', 'formidable') ?><?php echo (($sort_str == 'id')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
30
  </th>
31
  <th class="manage-column" width="">
32
+ <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=name<?php echo (($sort_str == 'name' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Name', 'formidable') ?><?php echo (($sort_str == 'name')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
33
  </th>
34
  <th class="manage-column">
35
+ <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=description<?php echo (($sort_str == 'description' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Description', 'formidable') ?><?php echo (($sort_str == 'description')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
36
  </th>
37
  <th class="manage-column" width="70px">
38
+ <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&sort=form_key<?php echo (($sort_str == 'form_key' and $sdir_str == 'asc')?'&sdir=desc':''); ?>"><?php _e('Key', 'formidable') ?><?php echo (($sort_str == 'form_key')?' &nbsp; <img src="'.FRM_URL.'/images/'.(($sdir_str == 'desc')?'arrow_down.png':'arrow_up.png').'"/>':'') ?></a>
39
  </th>
40
+ <th class="manage-column" width="60px"><?php _e('Entries', 'formidable') ?></th>
41
+ <th class="manage-column" width="115px"><?php _e('Direct Link', 'formidable') ?></th>
42
+ <th class="manage-column" width="115px"><?php _e('ShortCodes', 'formidable') ?></th>
43
  <?php } ?>
44
  </tr>
45
  </thead>
46
+ <tbody>
47
  <?php if($record_count <= 0){ ?>
48
  <tr>
49
+ <td colspan="<?php echo ($params['template'])? '2':'7'; ?>"><?php _e('No Forms Found', 'formidable') ?></td>
50
  </tr>
51
  <?php
52
  }else{
53
  foreach($forms as $form){
54
  ?>
55
  <tr style="min-height: 75px; height: 75px;" class="iedit">
56
+ <th class="check-column" scope="row"><?php do_action('frm_first_col', $form->id); ?></th>
57
  <?php if ($params['template']){ ?>
58
  <td class="post-title">
59
  <?php if(current_user_can('frm_edit_forms')){ ?>
60
+ <a class="row-title" href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo stripslashes($form->name); ?>"><?php echo stripslashes($form->name); ?></a>
61
  <?php }else{ ?>
62
  <?php echo stripslashes($form->name); ?>
63
  <?php }?>
64
  <br/>
65
  <div class="row-actions">
66
  <?php if(current_user_can('frm_edit_forms')){ ?>
67
+ <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo $form->name; ?>"><?php _e('Create Form from Template', 'formidable') ?></a></span>
68
+ | <span class="edit"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo $form->name; ?>"><?php _e('Edit', 'formidable') ?></a></span>
69
  <?php } ?>
70
  <?php do_action('frm_template_action_links', $form); ?>
71
  <?php if(current_user_can('frm_delete_forms')){ ?>
72
+ | <span class="trash"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;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'), stripslashes($form->name)) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo $form->form_key; ?>"><?php _e('Delete', 'formidable') ?></a></span>
73
  <?php } ?>
74
  </div>
75
  </td>
76
  <td><?php echo $form->description ?></td>
77
  <?php }else{ ?>
78
+ <td><?php echo $form->id ?></td>
79
  <td class="post-title">
80
  <?php if(current_user_can('frm_edit_forms')){ ?>
81
+ <a class="row-title" href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo stripslashes($form->name); ?>"><?php echo stripslashes($form->name); ?></a>
82
  <?php }else{ ?>
83
  <?php echo stripslashes($form->name); ?>
84
  <?php }?>
85
  <br/>
86
  <div class="row-actions">
87
  <?php if(current_user_can('frm_edit_forms')){ ?>
88
+ <span class="edit"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=edit&amp;id=<?php echo $form->id; ?>" title="<?php _e('Edit', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)) ?>"><?php _e('Edit', 'formidable') ?></a></span>
89
  <?php } ?>
90
  <?php if($frmpro_is_installed){ ?>
91
  <?php if(current_user_can('frm_create_entries')){ ?>
92
+ | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-entries&amp;action=new&amp;form=<?php echo $form->id; ?>" title="<?php _e('New', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)) ?> <?php _e('Entry', 'formidable') ?>"><?php _e('New Entry', 'formidable') ?></a></span>
93
  <?php } ?>
94
  <?php if(current_user_can('frm_view_entries')){ ?>
95
+ | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-entries&amp;form=<?php echo $form->id; ?>" title="<?php echo htmlentities(stripslashes($form->name)); ?> Entries"><?php _e('Entries', 'formidable') ?></a></span>
96
  <?php } ?>
97
+ | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>-reports&amp;form=<?php echo $form->id; ?>" title="<?php echo htmlentities(stripslashes($form->name)); ?> Reports"><?php _e('Reports', 'formidable') ?></a></span>
98
  <?php } ?>
99
  <?php if(current_user_can('frm_edit_forms')){ ?>
100
+ | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=duplicate&amp;id=<?php echo $form->id; ?>" title="<?php _e('Copy', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)) ?>"><?php _e('Duplicate', 'formidable') ?></a></span>
101
+ | <span><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=duplicate&amp;id=<?php echo $form->id; ?>&amp;template=1" title="<?php _e('Create', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Create Template', 'formidable') ?></a></span>
102
+ | <span><a href="<?php echo FRM_SCRIPT_URL ?>&amp;controller=forms&amp;action=export&amp;id=<?php echo $form->id; ?>" title="<?php _e('Export', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)) ?> <?php _e('Template', 'formidable') ?>"><?php _e('Export Template', 'formidable') ?></a></span>
103
  <?php } ?>
104
  <?php if(current_user_can('frm_delete_forms')){ ?>
105
+ | <span class="trash"><a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;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'), htmlentities(stripslashes($form->name))) ?>');" title="<?php _e('Delete', 'formidable') ?> <?php echo htmlentities(stripslashes($form->name)) ?>"><?php _e('Delete', 'formidable') ?></a></span>
106
  <?php } ?>
107
  </div>
108
  </td>
109
  <td><?php echo stripslashes($form->description) ?></td>
110
  <td><?php echo $form->form_key ?></td>
111
+ <td><?php echo apply_filters('frm_view_entries_link', $frm_entry->getRecordCount("it.form_id=$form->id") . ' '. __('Entries', 'formidable'), $form->id); ?></td>
112
  <td>
113
+ <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>
114
+ </td>
115
+ <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/>
116
+ <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 ?>]' />
117
  </td>
 
118
  <?php } ?>
119
  </tr>
120
  <?php
121
  }
122
  }
123
  ?>
124
+ </tbody>
125
  <tfoot>
126
  <tr>
127
+ <th class="manage-column check-column" scope="col"> <?php do_action('frm_column_header'); ?> </th>
128
  <?php if ($params['template']){ ?>
129
+ <th class="manage-column"><?php _e('Name', 'formidable') ?></th>
130
+ <th class="manage-column"><?php _e('Description', 'formidable') ?></th>
131
  <?php }else{ ?>
132
+ <th class="manage-column"><?php _e('ID', 'formidable') ?></th>
133
+ <th class="manage-column"><?php _e('Name', 'formidable') ?></th>
134
+ <th class="manage-column"><?php _e('Description', 'formidable') ?></th>
135
+ <th class="manage-column"><?php _e('Key', 'formidable') ?></th>
136
+ <th class="manage-column"><?php _e('Entries', 'formidable') ?></th>
137
+ <th class="manage-column"><?php _e('Direct Link', 'formidable') ?></th>
138
+ <th class="manage-column"><?php _e('ShortCodes', 'formidable') ?></th>
139
  <?php } ?>
140
  </tr>
141
  </tfoot>
classes/views/frm-forms/new-option-js.php CHANGED
@@ -7,7 +7,7 @@ jQuery(document).ready(function(){
7
  );
8
 
9
  jQuery("#frm_delete_field_<?php echo $field['id']; ?>-<?php echo $opt_key ?>_container .frm_ipe_field_option").editInPlace({
10
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
11
  params:"action=frm_field_option_ipe",
12
  default_text:"<?php _e('(Blank)', 'formidable') ?>"
13
  });
7
  );
8
 
9
  jQuery("#frm_delete_field_<?php echo $field['id']; ?>-<?php echo $opt_key ?>_container .frm_ipe_field_option").editInPlace({
10
+ url:"<?php echo $frm_ajax_url ?>",
11
  params:"action=frm_field_option_ipe",
12
  default_text:"<?php _e('(Blank)', 'formidable') ?>"
13
  });
classes/views/frm-forms/new-selection.php CHANGED
@@ -1,14 +1,14 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
 
4
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Create Form', FRM_PLUGIN_NAME) ?></h2>
5
 
6
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
7
  <br/>
8
  <p>
9
  <?php FrmFormsHelper::get_template_dropdown($all_templates); ?>
10
- <?php _e('or', FRM_PLUGIN_NAME) ?>
11
- <a href="<?php echo add_query_arg('action','new') ?>"><?php _e('Create New Form', FRM_PLUGIN_NAME) ?></a>
12
  </p>
13
 
14
  </div>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
 
4
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Create Form', 'formidable') ?></h2>
5
 
6
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
7
  <br/>
8
  <p>
9
  <?php FrmFormsHelper::get_template_dropdown($all_templates); ?>
10
+ <?php _e('or', 'formidable') ?>
11
+ <a href="<?php echo add_query_arg('action','new') ?>"><?php _e('Create New Form', 'formidable') ?></a>
12
  </p>
13
 
14
  </div>
classes/views/frm-forms/new.php CHANGED
@@ -1,27 +1,29 @@
1
  <div class="wrap">
2
- <div class="frmicon icon32"><br/></div>
3
-
4
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Create Form', FRM_PLUGIN_NAME) ?></h2>
5
-
6
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
7
-
8
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
9
-
10
- <div class="frm_form_builder alignleft<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>" id="poststuff">
11
- <form name="form1" method="post" action="">
12
- <input type="hidden" name="action" value="create">
13
- <input type="hidden" name="id" value="<?php echo $id; ?>">
 
 
 
14
  <?php wp_nonce_field('update-options'); ?>
15
 
16
  <?php require(FRM_VIEWS_PATH.'/frm-forms/form.php'); ?>
17
 
18
- <p class="submit">
19
- <input type="submit" name="Submit" value="<?php _e('Create', FRM_PLUGIN_NAME) ?>" class="button-primary" /> <?php _e('or', FRM_PLUGIN_NAME) ?>
20
- <a href="?page=<?php echo FRM_PLUGIN_NAME; ?>&action=destroy&id=<?php echo $id; ?>"><?php _e('Cancel', FRM_PLUGIN_NAME) ?></a>
 
21
  </p>
22
  </form>
23
  </div>
24
-
25
- <?php require('add_field_links.php'); ?>
 
26
  </div>
27
  <?php require('footer.php'); ?>
1
  <div class="wrap">
2
+ <div class="frmicon icon32"><br/></div>
3
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Create Form', 'formidable') ?></h2>
 
 
4
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
6
+ <div id="poststuff" class="metabox-holder has-right-sidebar">
7
+ <?php require('add_field_links.php'); ?>
8
+ <div id="post-body">
9
+ <div id="post-body-content">
10
+ <div class="frm_form_builder<?php echo ($values['custom_style']) ? ' with_frm_style' : ''; ?>">
11
+ <form method="post" action="">
12
+ <input type="hidden" name="action" value="create" />
13
+ <input type="hidden" name="id" value="<?php echo $id; ?>" />
14
  <?php wp_nonce_field('update-options'); ?>
15
 
16
  <?php require(FRM_VIEWS_PATH.'/frm-forms/form.php'); ?>
17
 
18
+ <p>
19
+ <input type="submit" name="Submit" value="<?php _e('Create', 'formidable') ?>" class="button-primary" />
20
+ <?php _e('or', 'formidable') ?>
21
+ <a class="button-secondary cancel" href="?page=<?php echo FRM_PLUGIN_NAME; ?>&amp;action=destroy&amp;id=<?php echo $id; ?>"><?php _e('Cancel', 'formidable') ?></a>
22
  </p>
23
  </form>
24
  </div>
25
+ </div>
26
+ </div>
27
+ </div>
28
  </div>
29
  <?php require('footer.php'); ?>
classes/views/frm-settings/form.php CHANGED
@@ -1,39 +1,46 @@
1
  <div class="wrap">
2
  <div id="icon-options-general" class="icon32"><br/></div>
3
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Settings', FRM_PLUGIN_NAME); ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
 
9
  <form name="frm_settings_form" method="post" action="">
10
- <input type="hidden" name="action" value="process-form">
11
  <?php wp_nonce_field('update-options'); ?>
12
  <p class="submit" style="padding-bottom:0;">
13
- <input class="button-primary" type="submit" name="Submit" value="<?php _e('Update Options', FRM_PLUGIN_NAME) ?>" />
14
  </p>
15
  <table class="form-table">
16
  <tr class="form-field">
17
- <td valign="top" width="200px"><?php _e('Preview Page', FRM_PLUGIN_NAME); ?>: </td>
18
  <td>
19
  <?php FrmAppHelper::wp_pages_dropdown( $frm_settings->preview_page_id_str, $frm_settings->preview_page_id ) ?>
20
  </td>
21
  </tr>
22
 
23
  <tr class="form-field">
24
- <td valign="top"><?php _e('Stylesheet', FRM_PLUGIN_NAME); ?>: </td>
25
  <td>
26
- <p><input type="checkbox" value="1" id="frm_custom_style" name="frm_custom_style" <?php checked($frm_settings->custom_style, 1) ?>>
27
- <?php _e('Use Formidable styling settings for my forms', FRM_PLUGIN_NAME); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('You can override this setting on individual forms.', FRM_PLUGIN_NAME) ?>" />
 
 
 
 
 
28
  </p>
29
 
30
- <p><input type="checkbox" value="1" id="frm_custom_stylesheet" name="frm_custom_stylesheet" <?php checked($frm_settings->custom_stylesheet, 1) ?>>
31
- <?php _e('Exclude the Formidable stylesheet from ALL forms', FRM_PLUGIN_NAME); ?> <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('You cannot override this setting on individual forms, so only check this box if you will not be using the stylesheet on any forms.', FRM_PLUGIN_NAME) ?>" /></p>
 
 
32
  </td>
33
  </tr>
34
 
35
  <tr class="form-field">
36
- <td valign="top"><?php _e('User Permissions', FRM_PLUGIN_NAME); ?>: <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.', FRM_PLUGIN_NAME) ?>" /></td>
37
  <td>
38
  <?php foreach($frm_roles as $frm_role => $frm_role_description){ ?>
39
  <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 ) ?><br/>
@@ -42,35 +49,81 @@
42
  </td>
43
  </tr>
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <tr class="form-field">
46
- <td valign="top"><?php _e('Default Messages', FRM_PLUGIN_NAME); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('You can override the success message and submit button settings on individual forms.', FRM_PLUGIN_NAME) ?>" /></td>
47
  <td>
48
- <?php _e('Success Message', FRM_PLUGIN_NAME); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('The default message seen after a form is submitted.', FRM_PLUGIN_NAME) ?>" /><br/>
49
- <textarea id="frm_success_msg" name="frm_success_msg" class="frm_elastic_text"><?php echo stripslashes($frm_settings->success_msg) ?></textarea>
50
  </td>
51
  </tr>
52
 
53
  <tr class="form-field">
54
  <td></td>
55
  <td>
56
- <?php _e('Failed Message', FRM_PLUGIN_NAME); ?>: <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. You will likely never see this error.', FRM_PLUGIN_NAME) ?>" /><br/>
57
- <textarea id="frm_failed_msg" name="frm_failed_msg" class="frm_elastic_text"><?php echo stripslashes($frm_settings->failed_msg) ?></textarea>
 
 
 
 
 
 
 
 
58
  </td>
59
  </tr>
60
 
61
  <tr class="form-field">
62
  <td></td>
63
  <td>
64
- <?php _e('Login Message', FRM_PLUGIN_NAME); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('The message seen when a user who is not logged-in views a form only logged-in users can submit.', FRM_PLUGIN_NAME) ?>" /><br/>
65
- <textarea id="frm_login_msg" name="frm_login_msg" class="frm_elastic_text"><?php echo stripslashes($frm_settings->login_msg) ?></textarea>
66
  </td>
67
  </tr>
68
 
69
  <tr class="form-field">
70
  <td></td>
71
  <td>
72
- <?php _e('Submit Button', FRM_PLUGIN_NAME); ?>:<br/>
73
- <input type="text" value="<?php echo $frm_settings->submit_value ?>" id="frm_submit_value" name="frm_submit_value">
74
  </td>
75
  </tr>
76
 
@@ -78,9 +131,9 @@
78
 
79
  </table>
80
 
81
- <p class="alignright frm_uninstall"><a href="<?php echo $frm_ajax_url ?>?action=frm_uninstall" onClick="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') ?>')"><?php _e('Uninstall Formidable', 'formidable') ?></a></p>
82
  <p class="submit">
83
- <input class="button-primary" type="submit" name="Submit" value="<?php _e('Update Options', FRM_PLUGIN_NAME) ?>" />
84
  </p>
85
 
86
  </form>
1
  <div class="wrap">
2
  <div id="icon-options-general" class="icon32"><br/></div>
3
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Settings', 'formidable'); ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
 
9
  <form name="frm_settings_form" method="post" action="">
10
+ <input type="hidden" name="action" value="process-form" />
11
  <?php wp_nonce_field('update-options'); ?>
12
  <p class="submit" style="padding-bottom:0;">
13
+ <input class="button-primary" type="submit" name="Submit" value="<?php _e('Update Options', 'formidable') ?>" />
14
  </p>
15
  <table class="form-table">
16
  <tr class="form-field">
17
+ <td valign="top" width="200px"><?php _e('Preview Page', 'formidable'); ?>: </td>
18
  <td>
19
  <?php FrmAppHelper::wp_pages_dropdown( $frm_settings->preview_page_id_str, $frm_settings->preview_page_id ) ?>
20
  </td>
21
  </tr>
22
 
23
  <tr class="form-field">
24
+ <td valign="top"><?php _e('Stylesheets', 'formidable'); ?>: </td>
25
  <td>
26
+
27
+ <p><?php _e('Load Formidable styling', 'formidable') ?>
28
+ <select id="frm_load_style" name="frm_load_style">
29
+ <option value="all" <?php selected($frm_settings->load_style, 'all') ?>><?php _e('on every page of your site', 'formidable') ?>
30
+ <option value="dynamic" <?php selected($frm_settings->load_style, 'dynamic') ?>><?php _e('only on applicable pages', 'formidable') ?>
31
+ <option value="none" <?php selected($frm_settings->load_style, 'none') ?>><?php _e('Don\'t use Formidable styling on any page', 'formidable') ?>
32
+ </select>
33
  </p>
34
 
35
+ <?php if($frmpro_is_installed){ ?>
36
+ <p><input type="checkbox" value="1" id="frm_jquery_css" name="frm_jquery_css" <?php checked($frm_settings->jquery_css, 1) ?> />
37
+ <?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>
38
+ <?php } ?>
39
  </td>
40
  </tr>
41
 
42
  <tr class="form-field">
43
+ <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>
44
  <td>
45
  <?php foreach($frm_roles as $frm_role => $frm_role_description){ ?>
46
  <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 ) ?><br/>
49
  </td>
50
  </tr>
51
 
52
+ <tr class="form-field" valign="top">
53
+ <td><?php _e('reCAPTCHA', 'formidable'); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_big" 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') ?>" />
54
+ </td>
55
+ <td>
56
+ reCAPTCHA requires an API key, consisting of a "public" and a "private" key. You can sign up for a <a href="http://recaptcha.net/api/getkey?domain=localhost.localdomain&amp;app=wordpress">free reCAPTCHA key</a>.
57
+ <br/>
58
+
59
+ <!-- reCAPTCHA public key -->
60
+ <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('Public Key', 'formidable') ?>:</label>
61
+ <input name="frm_pubkey" id="frm_pubkey" size="42" value="<?php echo $frm_settings->pubkey ?>" />
62
+ <br/>
63
+ <!-- reCAPTCHA private key -->
64
+ <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('Private Key', 'formidable') ?>:</label>
65
+ <input name="frm_privkey" id="frm_privkey" size="42" value="<?php echo $frm_settings->privkey ?>" />
66
+
67
+ </td>
68
+ </tr>
69
+
70
+ <tr class="form-field" valign="top">
71
+ <td></td>
72
+ <td>
73
+ <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('reCAPTCHA Theme', 'formidable') ?>:</label>
74
+ <select name="frm_re_theme" id="frm_re_theme">
75
+ <?php foreach(array('red' => __('Red', 'formidable'), 'white' => __('White', 'formidable'), 'blackglass' => __('Black Glass', 'formidable'), 'clean' => __('Clean', 'formidable')) as $theme_value => $theme_name){ ?>
76
+ <option value="<?php echo $theme_value ?>" <?php selected($frm_settings->re_theme, $theme_value) ?>><?php echo $theme_name ?></option>
77
+ <?php } ?>
78
+ </select><br/>
79
+
80
+ <label style="width:135px;float:left;text-align:right;padding-right:10px;"><?php _e('reCAPTCHA Language', 'formiable') ?>:</label>
81
+ <select name="frm_re_lang" id="frm_re_lang">
82
+ <?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){ ?>
83
+ <option value="<?php echo $lang ?>" <?php selected($frm_settings->re_lang, $lang) ?>><?php echo $lang_name ?></option>
84
+ <?php } ?>
85
+ </select>
86
+ </td>
87
+ </tr>
88
+
89
+
90
  <tr class="form-field">
91
+ <td valign="top"><?php _e('Default Messages', 'formidable'); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('You can override the success message and submit button settings on individual forms.', 'formidable') ?>" /></td>
92
  <td>
93
+ <?php _e('Success Message', 'formidable'); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" title="<?php _e('The default message seen after a form is submitted.', 'formidable') ?>" /><br/>
94
+ <textarea id="frm_success_msg" name="frm_success_msg"><?php echo stripslashes($frm_settings->success_msg) ?></textarea>
95
  </td>
96
  </tr>
97
 
98
  <tr class="form-field">
99
  <td></td>
100
  <td>
101
+ <?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. You will likely never see this error.', 'formidable') ?>" /><br/>
102
+ <textarea id="frm_failed_msg" name="frm_failed_msg"><?php echo stripslashes($frm_settings->failed_msg) ?></textarea>
103
+ </td>
104
+ </tr>
105
+
106
+ <tr class="form-field">
107
+ <td></td>
108
+ <td>
109
+ <?php _e('Incorrect Captcha Message', 'formidable'); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help" title="<?php _e('The message seen when a captcha response is either incorrect or missing.', 'formidable') ?>" /><br/>
110
+ <textarea id="frm_re_msg" name="frm_re_msg"><?php echo stripslashes($frm_settings->re_msg) ?></textarea>
111
  </td>
112
  </tr>
113
 
114
  <tr class="form-field">
115
  <td></td>
116
  <td>
117
+ <?php _e('Login Message', 'formidable'); ?>: <img src="<?php echo FRM_IMAGES_URL ?>/tooltip.png" alt="?" class="frm_help_text" 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/>
118
+ <textarea id="frm_login_msg" name="frm_login_msg"><?php echo stripslashes($frm_settings->login_msg) ?></textarea>
119
  </td>
120
  </tr>
121
 
122
  <tr class="form-field">
123
  <td></td>
124
  <td>
125
+ <?php _e('Default Submit Button', 'formidable'); ?>:<br/>
126
+ <input type="text" value="<?php echo $frm_settings->submit_value ?>" id="frm_submit_value" name="frm_submit_value" />
127
  </td>
128
  </tr>
129
 
131
 
132
  </table>
133
 
134
+ <p class="alignright frm_uninstall"><a href="<?php echo $frm_ajax_url ?>?action=frm_uninstall" onClick="return 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') ?>')"><?php _e('Uninstall Formidable', 'formidable') ?></a></p>
135
  <p class="submit">
136
+ <input class="button-primary" type="submit" name="Submit" value="<?php _e('Update Options', 'formidable') ?>" />
137
  </p>
138
 
139
  </form>
classes/views/frm-statistics/list.php CHANGED
@@ -1,11 +1,11 @@
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
- <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Pro Statistics', FRM_PLUGIN_NAME) ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
 
9
- <p><?php _e('Upgrade to Formidable Pro to get reports and statistics on your saved entries', FRM_PLUGIN_NAME) ?>
10
 
11
  </div>
1
  <div class="wrap">
2
  <div class="frmicon icon32"><br/></div>
3
+ <h2><?php echo FRM_PLUGIN_TITLE ?>: <?php _e('Pro Statistics', 'formidable') ?></h2>
4
 
5
  <?php require(FRM_VIEWS_PATH.'/shared/errors.php'); ?>
6
 
7
  <?php require(FRM_VIEWS_PATH.'/shared/nav.php'); ?>
8
 
9
+ <p><?php _e('Upgrade to Formidable Pro to get reports and statistics on your saved entries', 'formidable') ?>
10
 
11
  </div>
classes/views/shared/errors.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php if (isset($message) && $message != ''){?><div id="message" class="updated fade" style="padding:5px;"><?php echo $message; ?></div><?php } ?>
2
 
3
  <?php if( isset($errors) && is_array($errors) && count($errors) > 0 ){ ?>
4
  <div class="error">
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">
classes/views/shared/item-table-nav.php CHANGED
@@ -5,7 +5,7 @@
5
  <?php
6
  // Only show the pager bar if there is more than 1 page
7
  if($page_count > 1){ ?>
8
- <div class='tablenav-pages'><span class="displaying-num"><?php printf(__('Displaying %1$s&#8211;%2$s of %3$s', FRM_PLUGIN_NAME), $page_first_record, $page_last_record, $record_count); ?></span>
9
 
10
  <?php $page_param = 'paged'; require('pagination.php'); ?>
11
  </div>
5
  <?php
6
  // Only show the pager bar if there is more than 1 page
7
  if($page_count > 1){ ?>
8
+ <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>
9
 
10
  <?php $page_param = 'paged'; require('pagination.php'); ?>
11
  </div>
css/frm_admin.css CHANGED
@@ -1,3 +1,4 @@
 
1
  .frm_tooltip, .frm_tooltip_big, .frm_tooltip_text {
2
  display:none;background:transparent url(../images/black_arrow.png);
3
  font-size:12px;height:90px;width:180px;padding:15px;color:#fff;z-index:100;
@@ -9,6 +10,9 @@ font-size:12px;height:90px;width:180px;padding:15px;color:#fff;z-index:100;
9
  height:155px; width:310px; padding:30px;
10
  }
11
 
 
 
 
12
  #editorcontainer #dyncontent{
13
  margin:0; width:100%;
14
  padding: 6px;
@@ -23,13 +27,13 @@ font-size:12px;height:90px;width:180px;padding:15px;color:#fff;z-index:100;
23
  .frmcenter{text-align:center;}
24
  #wpbody-content .frmicon.icon32{background: url(../images/icon_32.png) no-repeat top center !important;}
25
 
26
- .frm_form_builder{width:60%;min-width:600px;}
27
  .frm_form_builder a:hover{text-decoration:underline;}
28
 
29
  #frm_form_options{width:270px;}
30
  #frm_form_options .nodrag a{cursor:pointer;}
31
- #frm_form_options .button{text-align:center;width:100px;float:left;}
32
- #frm_form_options .button a{font-weight:normal;text-decoration:none;}
 
33
 
34
  #poststuff h2.frm_ipe_form_name{
35
  border:1px solid #dfdfdf; background-color:#fff; display:block; padding:0 5px; margin-top:0;
@@ -41,16 +45,16 @@ font-size:12px;height:90px;width:180px;padding:15px;color:#fff;z-index:100;
41
  font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;
42
  }
43
 
44
- .form-field input{width:auto;}
45
- textarea.inplace_field{width:100%;}
46
  .inplace_field{width:80%;}
47
  .frm_rte{background:url(../images/rte.gif) no-repeat; }
48
  .frm_rte .howto{margin:10px 0 45px 0;}
49
  .frm_rte textarea{width:653px;background:#fff; margin:1px 0; border:1px solid #dfdfdf; border-top:none;
50
  -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;
51
  }
52
- .with_frm_style .frm_full_rte textarea{width:100%; padding:0;}
53
- .frm_field_box{padding:5px;}
54
 
55
  .frm_pos_top{display:block;}
56
  .frm_pos_left{float:left; width:150px;}
@@ -63,19 +67,20 @@ li.ui-state-default.selected .frm-show-click, li.ui-state-default.selected .frm-
63
  #new_fields span.ui-icon{width:16px;}
64
 
65
  .frm_key_icons img, .frm_required0, .frm_required1{width:16px;}
66
- .frm_inactive_icon, .frm_required0{opacity:.2; filter:alpha(opacity=20);}
67
  .frm_inactive_icon, .frm_inactive_icon img, .frm_required0{
68
- opacity:.2; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; filter: alpha(opacity=20);
69
  }
70
  .frm-move{cursor:move;}
71
  .howto{font-weight:normal;}
72
  #frm_form_editor_container .themeRoller span.howto{display:inline;}
73
 
74
- .with_frm_style .form-field .themeRoller input[type="text"],
75
- .with_frm_style .form-field .themeRoller select,
76
- .with_frm_style .form-field .themeRoller textarea{
77
- width:auto;
 
78
  }
 
79
 
80
  .frm_10radio{margin-right:10px; text-align:center; float:left;}
81
 
@@ -96,23 +101,24 @@ opacity:.2; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; fi
96
  #new_fields .edit_field_type_break .frm_ipe_field_label{font-size:116%;}
97
  #frm_form_options .ui-state-default{color:#000;}
98
  #new_fields li.ui-state-default:hover, #new_fields li.ui-state-default.selected{
99
- border:1px solid #BBD8E7; padding:5px; background:#EAF3FA;
100
  }
101
- #new_fields li.ui-state-default.selected{background:#cfddec; border:1px dotted #9ebad8;}
102
 
103
  .success_action_box{display:none;}
 
104
 
105
  .frm_shortcode_select optgroup option{margin-left:1em;}
106
  .frm_shortcode_select optgroup{padding-top:5px;}
107
  .frm_shortcode_select .frm_subopt{margin-left:2em;}
108
 
109
- .frm-table{
110
  border-collapse:collapse;
111
  border:1px solid black;
112
  margin-right:10px;
113
  }
114
 
115
- .frm-table td, .frm-table th{padding:5px; border:1px solid black;}
116
 
117
  .frm_uninstall{padding:1.5em;}
118
  .frm_uninstall a{border:1px solid red; background:#D54E21; padding:.5em; text-decoration:none;color:#fff;font-weight:bold;}
@@ -173,7 +179,7 @@ opacity:.2; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; fi
173
  }
174
  /*header states*/
175
  .themeRoller .theme-group .theme-group-header.state-default {
176
- background:#3C6B95 url("../../../../wp-admin/images/menu-bits-vs.gif") repeat-x scroll left top;
177
  border:1px solid #1D507D;
178
  color:#FFFFFF;
179
  text-shadow:0 -1px 0 rgba(0, 0, 0, 0.4);
@@ -187,7 +193,7 @@ opacity:.2; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; fi
187
  .themeRoller .theme-group .theme-group-header span.icon {
188
  float: left;
189
  margin: -2px 3px 0 0;
190
- background-image: url(http://static.jquery.com/ui/themeroller/images/app/tr_icons_white.png);
191
  }
192
  .themeRoller .state-active span.icon {
193
  margin: -1px 2px 0 1px !important;
@@ -307,6 +313,69 @@ input.cornerRadius {
307
  border-color: #aaa;
308
  border-bottom: #666;
309
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  /*pickers*/
311
  #picker {
312
  position: absolute;
@@ -336,9 +405,9 @@ input.cornerRadius {
336
  position: absolute;
337
  top: 1.6em;
338
  right: 0;
339
- background: #222;
340
  z-index: 999999;
341
- border: 1px solid #444;
342
  border-top: 0;
343
  }
344
  .texturePicker ul li {
@@ -391,19 +460,19 @@ p.cornerWarning {font-size: .9em; margin: 5px 0;}
391
  height: 101px;
392
  }
393
  .farbtastic .wheel {
394
- background: url(http://static.jquery.com/ui/themeroller/images/app/wheel.png) no-repeat;
395
  width: 195px;
396
  height: 195px;
397
  }
398
  .farbtastic .overlay {
399
- background: url(http://static.jquery.com/ui/themeroller/images/app/mask.png) no-repeat;
400
  }
401
  .farbtastic .marker {
402
  width: 17px;
403
  height: 17px;
404
  margin: -8px 0 0 -8px;
405
  overflow: hidden;
406
- background: url(http://static.jquery.com/ui/themeroller/images/app/marker.png) no-repeat;
407
  }
408
 
409
 
1
+ .frm_long_input{width:98% !important;}
2
  .frm_tooltip, .frm_tooltip_big, .frm_tooltip_text {
3
  display:none;background:transparent url(../images/black_arrow.png);
4
  font-size:12px;height:90px;width:180px;padding:15px;color:#fff;z-index:100;
10
  height:155px; width:310px; padding:30px;
11
  }
12
 
13
+ .formidable_page_formidable-entry-templates .has-right-sidebar #post-body{width:75%;margin-right:0;}
14
+ .formidable_page_formidable-entry-templates .has-right-sidebar #post-body-content{margin-right:0;}
15
+ .formidable_page_formidable-entry-templates .inner-sidebar{width:25%;max-width:281px;}
16
  #editorcontainer #dyncontent{
17
  margin:0; width:100%;
18
  padding: 6px;
27
  .frmcenter{text-align:center;}
28
  #wpbody-content .frmicon.icon32{background: url(../images/icon_32.png) no-repeat top center !important;}
29
 
 
30
  .frm_form_builder a:hover{text-decoration:underline;}
31
 
32
  #frm_form_options{width:270px;}
33
  #frm_form_options .nodrag a{cursor:pointer;}
34
+ #frm_form_options .button{text-align:center;width:98px;float:left;}
35
+ #frm_form_options .button a{display:block;font-weight:normal;text-decoration:none;}
36
+ .frm_col_one{margin-right:4px;clear:both;}
37
 
38
  #poststuff h2.frm_ipe_form_name{
39
  border:1px solid #dfdfdf; background-color:#fff; display:block; padding:0 5px; margin-top:0;
45
  font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;
46
  }
47
 
48
+ .form-table .form-field input, .form-field #ed_toolbar input{width:auto;}
49
+ textarea.inplace_field{width:98% !important;}
50
  .inplace_field{width:80%;}
51
  .frm_rte{background:url(../images/rte.gif) no-repeat; }
52
  .frm_rte .howto{margin:10px 0 45px 0;}
53
  .frm_rte textarea{width:653px;background:#fff; margin:1px 0; border:1px solid #dfdfdf; border-top:none;
54
  -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;
55
  }
56
+ .with_frm_style .frm_full_rte textarea{width:98%; padding:0;}
57
+ .frm_field_box{padding:5px;min-height:20px;}
58
 
59
  .frm_pos_top{display:block;}
60
  .frm_pos_left{float:left; width:150px;}
67
  #new_fields span.ui-icon{width:16px;}
68
 
69
  .frm_key_icons img, .frm_required0, .frm_required1{width:16px;}
 
70
  .frm_inactive_icon, .frm_inactive_icon img, .frm_required0{
71
+ opacity:.4; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"; filter: alpha(opacity=40);
72
  }
73
  .frm-move{cursor:move;}
74
  .howto{font-weight:normal;}
75
  #frm_form_editor_container .themeRoller span.howto{display:inline;}
76
 
77
+ #new_fields .form-field .themeRoller input[type="text"],
78
+ #new_fields .form-field .themeRoller select,
79
+ #wpcontent #new_fields .form-field .themeRoller select,
80
+ #new_fields .form-field .themeRoller textarea{
81
+ width:auto;font-size:11px;
82
  }
83
+ .form-field input{width:auto;}
84
 
85
  .frm_10radio{margin-right:10px; text-align:center; float:left;}
86
 
101
  #new_fields .edit_field_type_break .frm_ipe_field_label{font-size:116%;}
102
  #frm_form_options .ui-state-default{color:#000;}
103
  #new_fields li.ui-state-default:hover, #new_fields li.ui-state-default.selected{
104
+ border:1px dashed #BBD8E7; padding:5px; background:#EAF3FA;
105
  }
106
+ #new_fields li.ui-state-default.selected{background:#cfddec; border:1px solid #9ebad8;}
107
 
108
  .success_action_box{display:none;}
109
+ .widefat td{width:auto;}
110
 
111
  .frm_shortcode_select optgroup option{margin-left:1em;}
112
  .frm_shortcode_select optgroup{padding-top:5px;}
113
  .frm_shortcode_select .frm_subopt{margin-left:2em;}
114
 
115
+ .frm-grid{
116
  border-collapse:collapse;
117
  border:1px solid black;
118
  margin-right:10px;
119
  }
120
 
121
+ .frm-grid td, .frm-grid th{padding:5px; border:1px solid black;}
122
 
123
  .frm_uninstall{padding:1.5em;}
124
  .frm_uninstall a{border:1px solid red; background:#D54E21; padding:.5em; text-decoration:none;color:#fff;font-weight:bold;}
179
  }
180
  /*header states*/
181
  .themeRoller .theme-group .theme-group-header.state-default {
182
+ background:#3C6B95 url(../images/menu-bits-vs.gif) repeat-x scroll left top;
183
  border:1px solid #1D507D;
184
  color:#FFFFFF;
185
  text-shadow:0 -1px 0 rgba(0, 0, 0, 0.4);
193
  .themeRoller .theme-group .theme-group-header span.icon {
194
  float: left;
195
  margin: -2px 3px 0 0;
196
+ background-image: url(../images/tr_icons_white.png);
197
  }
198
  .themeRoller .state-active span.icon {
199
  margin: -1px 2px 0 1px !important;
313
  border-color: #aaa;
314
  border-bottom: #666;
315
  }
316
+
317
+ #switcherpane-container{
318
+ position:absolute;
319
+ float:left;
320
+ background:#fff;
321
+ color:#333;
322
+ padding:8px 3px 3px;
323
+ border:1px solid #dfdfdf;
324
+ border-top:none;
325
+ z-index: 999999;
326
+ width:144px; /* options.width-6 minus must match left and right padding*/
327
+ display:none;
328
+ }
329
+
330
+ ul.themeswitcher-ul{
331
+ list-style:none;
332
+ margin:0;
333
+ padding:0;
334
+ overflow:auto;
335
+ height:200px;
336
+ /*width:150px;*/
337
+ }
338
+
339
+ ul.themeswitcher-ul li{
340
+ width:125px;
341
+ height:auto;
342
+ padding:2px 0;
343
+ margin:0;
344
+ clear:left;
345
+ float:left;
346
+ }
347
+
348
+ ul.themeswitcher-ul li:hover{
349
+ color:#fff;
350
+ background:#DFDFDF;
351
+ cursor:pointer;
352
+ }
353
+
354
+ ul.themeswitcher-ul a{
355
+ color:#333;
356
+ text-decoration:none;
357
+ float:left;
358
+ width:100%;
359
+ outline:0;
360
+ }
361
+
362
+ ul.themeswitcher-ul img{
363
+ float:left;
364
+ border:1px solid #DFDFDF;
365
+ margin:0 2px;
366
+ }
367
+
368
+ ul.themeswitcher-ul .themeName{
369
+ float:left;
370
+ margin:3px 0;
371
+ }
372
+
373
+ #frm_switcher .jquery-ui-themeswitcher-icon{
374
+ float:right;
375
+ width:16px;
376
+ height:16px;
377
+ background:url(../images/icon_color_arrow.gif) 50% 50% no-repeat;
378
+ }
379
  /*pickers*/
380
  #picker {
381
  position: absolute;
405
  position: absolute;
406
  top: 1.6em;
407
  right: 0;
408
+ background: #fff;
409
  z-index: 999999;
410
+ border: 1px solid #DFDFDF;
411
  border-top: 0;
412
  }
413
  .texturePicker ul li {
460
  height: 101px;
461
  }
462
  .farbtastic .wheel {
463
+ background: url(../images/wheel.png) no-repeat;
464
  width: 195px;
465
  height: 195px;
466
  }
467
  .farbtastic .overlay {
468
+ background: url(../images/mask.png) no-repeat;
469
  }
470
  .farbtastic .marker {
471
  width: 17px;
472
  height: 17px;
473
  margin: -8px 0 0 -8px;
474
  overflow: hidden;
475
+ background: url(../images/marker.png) no-repeat;
476
  }
477
 
478
 
css/frm_display.css CHANGED
@@ -1,13 +1,23 @@
 
 
1
  .with_frm_style .frm_pos_top{display:block;}
2
- .with_frm_style .frm_pos_left{float:left; padding-right:10px; width:150px;}
3
- .with_frm_style .frm_pos_right{float:right; padding-left:10px; width:150px;}
4
  .with_frm_style .frm_pos_none{display:none;}
5
- .with_frm_style .frm_10radio{margin-right:10px; text-align:center; float:left;}
6
  .with_frm_style .form-field{margin-top:15px;}
7
- .with_frm_style .frm_blank_field input[type="text"], .with_frm_style .frm_blank_field textarea,
8
- .with_frm_style .frm_blank_field select{border:1px solid red;}
9
- .with_frm_style ul#frm_errors{list-style: square inside url(../images/error.png);}
10
- .with_frm_style .frm_checkbox, .with_frm_style .frm_radio{display:block;}
11
- .with_frm_style input[type="radio"],
12
- .with_frm_style input[type="checkbox"]{width:auto;}
13
- .with_frm_style fieldset{border:none; margin:0; padding:0;}
 
 
 
 
 
 
 
 
 
1
+ .with_frm_style .form-field label.frm_pos, .with_frm_style .form-field label.frm_pos_, .with_frm_style .form-field label.frm_pos_top, .with_frm_style .form-field label.frm_pos_left, .with_frm_style .form-field label.frm_pos_right, .with_frm_style .form-field label.frm_pos_none{font-size:12px;font-weight:bold;float:none;text-align:left;margin:0;padding:0;width:auto;display:block;}
2
+ .with_frm_style .form-field label.frm_pos_top, .with_frm_style .form-field label.frm_pos_{display:block;float:none;width:auto;}
3
  .with_frm_style .frm_pos_top{display:block;}
4
+ .with_frm_style .frm_pos_left{float:left;padding-right:10px;width:150px;}
5
+ .with_frm_style .frm_pos_right{float:right;padding-left:10px;width:150px;}
6
  .with_frm_style .frm_pos_none{display:none;}
 
7
  .with_frm_style .form-field{margin-top:15px;}
8
+ .with_frm_style .form-field.frm_blank_field label{color:#be2e17;}
9
+ .with_frm_style .frm_blank_field input, .with_frm_style .frm_blank_field textarea, .with_frm_style .frm_blank_field select, .frm_form_fields_error_style, .with_frm_style input.error, .with_frm_style textarea.error, .with_frm_style select.error{border:1px solid #be2e17;}
10
+ .with_frm_style ul#frm_errors{list-style:square inside url(../images/error.png);margin:0;padding:0;}
11
+ .with_frm_style .frm_checkbox, .with_frm_style .frm_radio{display:block;margin:0;}
12
+ .with_frm_style input[type="radio"], .with_frm_style input[type="checkbox"]{width:auto;margin-right:3px;}
13
+ .with_frm_style fieldset{border:none;margin:0;padding:0;}
14
+ .with_frm_style p.submit{padding-top:20px;padding-bottom:20px;}
15
+ .with_frm_style .form-field p.description, .with_frm_style .form-field div.description{margin:0;padding:0;font-size:11px;font-weight:normal;text-align:left;font-style:normal;}
16
+ .with_frm_style .form-field input, .with_frm_style .form-field select, .with_frm_style .form-field textarea, #content .with_frm_style .form-field input, #content .with_frm_style .form-field select, #content .with_frm_style .form-field textarea{font-size:13px;}
17
+ .with_frm_style .form-field input, #wpcontent .with_frm_style .form-field select, .with_frm_style .form-field select, .with_frm_style .form-field textarea{border-width:1px;border-style:solid;width:400px;font-size:13px;padding:2px;}
18
+ .with_frm_style .form-field input.auto_width, .with_frm_style .form-field select.auto_width, .with_frm_style .form-field textarea.auto_width{width:auto;}
19
+ .with_frm_style .form-field input:focus, .with_frm_style .form-field select:focus, .with_frm_style .form-field textarea:focus, .with_frm_style .frm_focus_field input[type='text']{border-color:#dddddd;}
20
+ .with_frm_style .form-field .frm_radio label, .with_frm_style .form-field .frm_checkbox label{display:inline;}
21
+ .with_frm_style .form-field .frm_radio input[type="radio"], .with_frm_style .form-field .frm_checkbox input[type="checkbox"]{margin-right:5px;width:auto;}
22
+ .with_frm_style .form-field input[type="radio"],.with_frm_style .form-field input[type="checkbox"]{width:auto;}
23
+ .with_frm_style .frm_message{font-size:14px;margin:5px 0 15px;padding:5px 10px;background-color:#FFFFE0;border:1px solid #E6DB55;color:#444444;}
css/ui-lightness/{jquery-ui-1.7.2.custom.css → jquery-ui.css} RENAMED
@@ -361,46 +361,4 @@
361
  .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
362
  .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
363
  .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
364
- .ui-draggable .ui-dialog-titlebar { cursor: move; }
365
- /* Progressbar
366
- ----------------------------------*/
367
- .ui-progressbar { height:2em; text-align: left; }
368
- .ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/* Resizable
369
- ----------------------------------*/
370
- .ui-resizable { position: relative;}
371
- .ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
372
- .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
373
- .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0px; }
374
- .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0px; }
375
- .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0px; height: 100%; }
376
- .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0px; height: 100%; }
377
- .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
378
- .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
379
- .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
380
- .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/* Slider
381
- ----------------------------------*/
382
- .ui-slider { position: relative; text-align: left; }
383
- .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
384
- .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; }
385
-
386
- .ui-slider-horizontal { height: .8em; }
387
- .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
388
- .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
389
- .ui-slider-horizontal .ui-slider-range-min { left: 0; }
390
- .ui-slider-horizontal .ui-slider-range-max { right: 0; }
391
-
392
- .ui-slider-vertical { width: .8em; height: 100px; }
393
- .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
394
- .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
395
- .ui-slider-vertical .ui-slider-range-min { bottom: 0; }
396
- .ui-slider-vertical .ui-slider-range-max { top: 0; }/* Tabs
397
- ----------------------------------*/
398
- .ui-tabs { padding: .2em; zoom: 1; }
399
- .ui-tabs .ui-tabs-nav { list-style: none; position: relative; padding: .2em .2em 0; }
400
- .ui-tabs .ui-tabs-nav li { position: relative; float: left; border-bottom-width: 0 !important; margin: 0 .2em -1px 0; padding: 0; }
401
- .ui-tabs .ui-tabs-nav li a { float: left; text-decoration: none; padding: .5em 1em; }
402
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected { padding-bottom: 1px; border-bottom-width: 0; }
403
- .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
404
- .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
405
- .ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
406
- .ui-tabs .ui-tabs-hide { display: none !important; }
361
  .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
362
  .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; }
363
  .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
364
+ .ui-draggable .ui-dialog-titlebar { cursor: move; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
formidable.php CHANGED
@@ -1,14 +1,17 @@
1
  <?php
 
 
 
2
  /*
3
  Plugin Name: Formidable
4
  Description: Quickly and easily create drag-and-drop forms
5
- Version: 1.03.03
6
  Plugin URI: http://blog.strategy11.com/formidable-wordpress-plugin
7
  Author URI: http://blog.strategy11.com
8
- Author: Stephanie Wells
9
  */
10
 
11
- /* Copyright 2010 Stephanie Wells (email : steph@strategy11.com)
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License, version 2, as
@@ -32,28 +35,42 @@ define('FRM_VIEWS_PATH',FRM_PATH.'/classes/views');
32
  define('FRM_HELPERS_PATH',FRM_PATH.'/classes/helpers');
33
  define('FRM_CONTROLLERS_PATH',FRM_PATH.'/classes/controllers');
34
  define('FRM_TEMPLATES_PATH',FRM_PATH.'/classes/templates');
35
- define('FRM_URL',WP_PLUGIN_URL.'/'.FRM_PLUGIN_NAME);
36
- define('FRM_SCRIPT_URL', get_option('home') . '/index.php?plugin=' . FRM_PLUGIN_NAME);
 
 
 
 
 
 
 
 
37
  define('FRM_IMAGES_URL',FRM_URL.'/images');
38
 
39
  require_once(FRM_MODELS_PATH.'/FrmSettings.php');
40
 
 
 
41
  // Check for WPMU installation
42
  if (!defined ('IS_WPMU')){
43
  global $wpmu_version;
44
- define('IS_WPMU', ($wpmu_version) ? 1 : 0);
 
45
  }
46
 
47
- global $frm_version;
48
- $frm_version = '1.03.03';
 
 
49
 
50
- global $frm_blogurl;
51
  global $frm_siteurl;
52
  global $frm_ajax_url;
53
-
54
- $frm_blogurl = ((get_option('home'))?get_option('home'):get_option('siteurl'));
55
  $frm_siteurl = get_option('siteurl');
56
- $frm_ajax_url = $frm_siteurl .'/wp-admin/admin-ajax.php';
 
 
 
 
57
 
58
  require_once(FRM_HELPERS_PATH. "/FrmAppHelper.php");
59
  global $frm_app_helper;
@@ -139,6 +156,6 @@ if($frmpro_is_installed)
139
 
140
  // The number of items per page on a table
141
  global $frm_page_size;
142
- $frm_page_size = 10;
143
 
144
  ?>
1
  <?php
2
+ /**
3
+ * @package Formidable
4
+ */
5
  /*
6
  Plugin Name: Formidable
7
  Description: Quickly and easily create drag-and-drop forms
8
+ Version: 1.04.07
9
  Plugin URI: http://blog.strategy11.com/formidable-wordpress-plugin
10
  Author URI: http://blog.strategy11.com
11
+ Author: Strategy11
12
  */
13
 
14
+ /* Copyright 2010 Strategy11 (email : support@strategy11.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License, version 2, as
35
  define('FRM_HELPERS_PATH',FRM_PATH.'/classes/helpers');
36
  define('FRM_CONTROLLERS_PATH',FRM_PATH.'/classes/controllers');
37
  define('FRM_TEMPLATES_PATH',FRM_PATH.'/classes/templates');
38
+
39
+ global $frm_blogurl;
40
+ $frm_blogurl = (get_option('home')) ? get_option('home') : get_option('siteurl');
41
+ if(is_ssl() and !preg_match('/^https:\/\/.*\..*$/', $frm_blogurl)){
42
+ $frm_blogurl = str_replace('http://', 'https://', $frm_blogurl);
43
+ define('FRM_URL',str_replace('http://', 'https://', WP_PLUGIN_URL.'/'.FRM_PLUGIN_NAME));
44
+ }else
45
+ define('FRM_URL',WP_PLUGIN_URL.'/'.FRM_PLUGIN_NAME); //plugins_url('/'.FRM_PLUGIN_NAME)
46
+
47
+ define('FRM_SCRIPT_URL', $frm_blogurl .'/index.php?plugin=' . FRM_PLUGIN_NAME);
48
  define('FRM_IMAGES_URL',FRM_URL.'/images');
49
 
50
  require_once(FRM_MODELS_PATH.'/FrmSettings.php');
51
 
52
+ load_plugin_textdomain('formidable', false, FRM_PLUGIN_NAME.'/languages/' );
53
+
54
  // Check for WPMU installation
55
  if (!defined ('IS_WPMU')){
56
  global $wpmu_version;
57
+ $is_wpmu = ((function_exists('is_multisite') and is_multisite()) or $wpmu_version) ? 1 : 0;
58
+ define('IS_WPMU', $is_wpmu);
59
  }
60
 
61
+ global $frm_version, $frm_db_version;
62
+ $frm_version = '1.04.07';
63
+ $frm_db_version = 4;
64
+
65
 
 
66
  global $frm_siteurl;
67
  global $frm_ajax_url;
 
 
68
  $frm_siteurl = get_option('siteurl');
69
+ $frm_ajax_url = admin_url('admin-ajax.php');
70
+
71
+ global $frm_load_css, $frm_forms_loaded, $frm_css_loaded, $frm_loaded_fields;
72
+ $frm_load_css = $frm_css_loaded = false;
73
+ $frm_forms_loaded = $frm_loaded_fields = array();
74
 
75
  require_once(FRM_HELPERS_PATH. "/FrmAppHelper.php");
76
  global $frm_app_helper;
156
 
157
  // The number of items per page on a table
158
  global $frm_page_size;
159
+ $frm_page_size = 20;
160
 
161
  ?>
images/blackglass-captcha.png CHANGED
Binary file
images/clean-captcha.png CHANGED
Binary file
images/icon_16_bw.png ADDED
Binary file
images/icon_color_arrow.gif ADDED
Binary file
images/marker.png ADDED
Binary file
images/mask.png ADDED
Binary file
images/menu-bits-vs.gif ADDED
Binary file
images/menuhoverbg.png ADDED
Binary file
images/red-captcha.png CHANGED
Binary file
images/tr_icons_white.png ADDED
Binary file
images/wheel.png ADDED
Binary file
images/white-captcha.png CHANGED
Binary file
js/formidable.js CHANGED
@@ -21,18 +21,6 @@ $("input[name='options[success_action]']").change(function(){
21
  $('.success_action_message_box.success_action_box').show();
22
  });
23
 
24
- jQuery('.select-all-item-action-checkboxes').change(function(){
25
- if (jQuery(this).attr("checked")){
26
- jQuery(".item-action-checkbox").attr("checked","checked");
27
- jQuery(".select-all-item-action-checkboxes").attr("checked","checked");
28
- }else{
29
- jQuery(".item-action-checkbox").removeAttr("checked");
30
- jQuery(".select-all-item-action-checkboxes").removeAttr("checked");
31
- }
32
- });
33
-
34
- $('.item-action-checkbox').change(function(){ if(!$(this).attr("checked")){ $(".select-all-item-action-checkboxes").removeAttr("checked");}});
35
-
36
  jQuery('.item-list-form').submit(function(){
37
  if(jQuery('#bulkaction').val() == 'delete'){return confirm('Are you sure you want to delete each of the selected items below?');}
38
  });
@@ -45,9 +33,9 @@ function(){jQuery(this).children(".frm_single_show_hover").hide(); jQuery(this).
45
  jQuery('li.ui-state-default').click(function(evt){
46
  var target = evt.target;
47
  $('.frm-show-hover').hide(); $(this).children(".frm-show-hover").show();
48
- $('.frm-show-click').hide(); $(this).children(".frm-show-click").show();
49
  $('li.ui-state-default.selected').removeClass('selected'); $(this).addClass('selected');
50
- if(!$(target).is('.inplace_field') && !$(target).is('.frm_ipe_field_label') && !$(target).is('.frm_ipe_field_desc') && !$(target).is('.frm_ipe_field_desc').children() && !$(target).is('.frm_ipe_field_option')){ $('.inplace_field').blur();}
51
  });
52
  $("img.frm_help[title]").tooltip({tip:'#frm_tooltip',lazy:true});
53
  $("img.frm_help_text[title]").tooltip({tip:'#frm_tooltip_text',lazy:true});
@@ -55,27 +43,100 @@ $("img.frm_help_big[title]").tooltip({tip:'#frm_tooltip_big',lazy:true});
55
 
56
  jQuery('.field_type_list > li').draggable({connectToSortable:'#new_fields',cursor:'move',helper:'clone',revert:'invalid',delay:10});
57
  jQuery("ul.field_type_list, .field_type_list li").disableSelection();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  });
59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  function add_frm_field_link(form_id, field_type, ajax_url){
61
- jQuery.ajax({type:"POST",url:ajax_url,
62
- data:"action=frm_insert_field&form_id="+form_id+"&field="+field_type,
63
- success:function(msg){jQuery('#new_fields').append(msg);}
64
- });
65
  };
66
 
67
- function frm_duplicate_field(field_id, ajax_url){
68
- jQuery.ajax({type:"POST",url:ajax_url,
69
- data:"action=frm_duplicate_field&field_id="+field_id,
70
- success:function(msg){jQuery('#new_fields').append(msg);}
71
- });
72
  };
73
 
74
- function frm_add_field_option(field_id, ajax_url){
75
- jQuery.ajax({type:"POST",url:ajax_url,
76
- data:"action=frm_add_field_option&field_id="+field_id,
77
- success:function(msg){jQuery('#frm_add_field_'+field_id).before(msg);}
78
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  };
80
 
81
  function frm_delete_field_option(field_id, opt_key, ajax_url){
@@ -118,82 +179,89 @@ function frmDisplayFormSelected(form_id, ajax_url){
118
  };
119
 
120
  function frmInsertFieldCode(element_id, variable){
 
 
 
 
121
  var content_box=jQuery("#"+element_id);
122
- if(document.selection){content_box[0].focus();document.selection.createRange().text=variable;}
123
- else if(content_box[0].selectionStart){obj = content_box[0];obj.value=obj.value.substr(0,obj.selectionStart)+variable+obj.value.substr(obj.selectionEnd,obj.value.length);}
124
- else{content_box.val(variable+content_box.val());}
 
 
125
  }
126
- /*
127
- delete_row = function(field_id,row){
128
- jQuery(function(){
129
- if (jQuery('#frm-table-' + field_id + ' tr').length == 2){ // header row and only one data row
130
- alert('Sorry, you must leave at least one row in this table.');
131
- }
132
- else{
133
- var data_exists = false;
134
- jQuery('#frm-table-' + field_id + ' tr.row-' + row).find('input').each(function(){
135
- if (jQuery(this).val() != "") data_exists = true;
136
- })
137
- if (!data_exists || confirm('Are you sure you wish to permanently delete this row? This cannot be undone.')){
138
- jQuery('#frm-table-' + field_id + ' tr.row-' + row).remove();
139
- adjust_row_numbers(field_id);
140
- post_delete_row(field_id);
 
 
 
 
 
 
 
141
  }
142
- }
143
- });
144
  }
145
 
146
- adjust_row_numbers = function(field_id){
147
  var row_num;
148
- jQuery('#frm-table-' + field_id + ' tr').each(function(){
149
  if (row_num == null){
150
  // skip the first row (column headers)
151
- row_num = 0;
152
  }else{
153
  // This searches for inputs and readjusts their name to match the new row numbering scenario
154
  jQuery(this).find('input').each(function(){ //input[name^=item_meta]
155
- var name = jQuery(this).attr('name');
156
- name = name.replace(/\[[0-9]+\]\[\]/,'[' + row_num + '][]');
157
  jQuery(this).attr('name',name);
158
 
159
- var id = jQuery(this).attr('id');
160
- id = id.replace(/_[0-9]+(_[0-9]+)$/,'_' + row_num + '$1');
161
  jQuery(this).attr('id',id);
162
  });
163
 
164
  // Now replace the javascript (for delete_row)
165
  jQuery(this).find('a').each(function(){
166
- var href = jQuery(this).attr('href');
167
- href = href.replace(/(delete_row\([0-9]+,)[0-9]+/,'$1'+row_num);
168
  jQuery(this).attr('href',href);
169
  });
170
 
171
  // Finally, need to reset the class for the row
172
- jQuery(this).get(0).className = jQuery(this).get(0).className.replace(/\brow-.*?\b/g, '');
173
- jQuery(this).addClass("row-" + row_num);
174
-
175
  row_num++;
176
  }
177
  });
178
  }
179
 
180
- var active_requests = 0; // = false;
181
- add_row = function(field_id){
182
  jQuery.ajax({
183
- type:"POST",
184
- url:"<?php bloginfo( 'wpurl' ); ?>/wp-admin/admin-ajax.php",
185
- data:"action=frm_add_table_row&field_id="+field_id+"&row_num="+(jQuery('#frm-table-' + field_id + ' tr').length-1+active_requests++),
186
  success:function(msg){
187
- active_requests--;
188
- jQuery('#frm-table-' + field_id + ' tr:last').after(msg);
189
- post_add_row(field_id,jQuery('#frm-table-' + field_id + ' tr:last'));
190
  }
191
  });
192
  }
193
 
194
- post_add_row = function(field_id,new_row){
195
- // Just a stub that can be overridden by another script
196
- }
197
- post_delete_row = function(field_id){
198
  // Just a stub that can be overridden by another script
199
- } */
21
  $('.success_action_message_box.success_action_box').show();
22
  });
23
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  jQuery('.item-list-form').submit(function(){
25
  if(jQuery('#bulkaction').val() == 'delete'){return confirm('Are you sure you want to delete each of the selected items below?');}
26
  });
33
  jQuery('li.ui-state-default').click(function(evt){
34
  var target = evt.target;
35
  $('.frm-show-hover').hide(); $(this).children(".frm-show-hover").show();
36
+ $('.frm-show-click').hide(); $(this).children(".frm-show-click").show();
37
  $('li.ui-state-default.selected').removeClass('selected'); $(this).addClass('selected');
38
+ if(!$(target).is('.inplace_field') && !$(target).is('.frm_ipe_field_label') && !$(target).is('.frm_ipe_field_desc') && !$(target).is('.frm_ipe_field_option')){ $('.inplace_field').blur();}
39
  });
40
  $("img.frm_help[title]").tooltip({tip:'#frm_tooltip',lazy:true});
41
  $("img.frm_help_text[title]").tooltip({tip:'#frm_tooltip_text',lazy:true});
43
 
44
  jQuery('.field_type_list > li').draggable({connectToSortable:'#new_fields',cursor:'move',helper:'clone',revert:'invalid',delay:10});
45
  jQuery("ul.field_type_list, .field_type_list li").disableSelection();
46
+
47
+ /*
48
+ jQuery('.frm-grid').find('input').live('keydown',function(e){
49
+ if(e.which >= 37 && e.which <= 40){
50
+ var matches;
51
+ var pattern= /_([0-9]+)_([0-9]+)$/;
52
+ if (matches=this.id.match(pattern)){
53
+ var row=parseInt(matches[1]);
54
+ var col=parseInt(matches[2]);
55
+ var table=jQuery('#'+this.id).parents('.frm-grid');
56
+ var max_row=jQuery('#'+this.id).parents('.frm-grid').find('tr').length - 2; // the -2 comes from 1 for the header row and 1 for the fact that we're 0-based
57
+ var max_col=jQuery('#'+this.id).parents('tr').find('td input').length -1; // the -1 is for the fact that we're 0-based
58
+ switch (e.which){
59
+ case 37: // left arrow
60
+ if (col > 0){col--;}else if(row > 0){col=max_col;row--;}
61
+ break;
62
+ case 38: // up arrow
63
+ if(row > 0){row--;}else if(col > 0){col--;row=max_row;}
64
+ e.preventDefault(); // prevent list of previously entered values showing up and confusing
65
+ break;
66
+ case 39: // right arrow
67
+ if (col < max_col){col++;}else if (row < max_row){row++;col=0;}
68
+ break;
69
+ case 40: // down arrow
70
+ if (row < max_row){row++;}else if (col < max_col){col++;row=0;}
71
+ break;
72
+ }
73
+ if (row != parseInt(matches[1]) || col != parseInt(matches[2])){
74
+ // need to reset the focus
75
+ jQuery('#' + this.id.replace(pattern,'_'+row+'_'+col)).focus();
76
+ }
77
+ }
78
+ }
79
+ }); */
80
  });
81
 
82
+ function frm_show_div(div,value,show_if,class_id){
83
+ if(value==show_if) jQuery(class_id+div).fadeIn('slow'); else jQuery(class_id+div).fadeOut('slow');
84
+ }
85
+ function frm_select_item_checkbox(checked){if(!checked){jQuery(".select-all-item-action-checkboxes").removeAttr("checked");}}
86
+
87
+ function frm_select_all_checkboxes(checked){
88
+ if(checked){
89
+ jQuery(".item-action-checkbox").attr("checked","checked");jQuery(".select-all-item-action-checkboxes").attr("checked","checked");
90
+ }else{
91
+ jQuery(".item-action-checkbox").removeAttr("checked");jQuery(".select-all-item-action-checkboxes").removeAttr("checked");
92
+ }
93
+ }
94
+
95
  function add_frm_field_link(form_id, field_type, ajax_url){
96
+ jQuery.ajax({type:"POST",url:ajax_url,data:"action=frm_insert_field&form_id="+form_id+"&field="+field_type,
97
+ success:function(msg){jQuery('#new_fields').append(msg);}
98
+ });
 
99
  };
100
 
101
+ function frm_duplicate_field(field_id,ajax_url){
102
+ jQuery.ajax({type:"POST",url:ajax_url,data:"action=frm_duplicate_field&field_id="+field_id,
103
+ success:function(msg){jQuery('#new_fields').append(msg);}
104
+ });
 
105
  };
106
 
107
+ function frm_mark_required(field_id, required, images_url, ajax_url){
108
+ var thisid='req_field_'+field_id;
109
+ if(required=='0'){var switch_to='1';var atitle='Click to Mark as Not Required';var checked='checked="checked"';
110
+ jQuery('.frm_required_details'+field_id).fadeIn('slow');}
111
+ else{var switch_to='0';var atitle='Click to Mark as Required';var checked='';
112
+ jQuery('.frm_required_details'+field_id).fadeOut('slow');}
113
+ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_mark_required('+field_id+','+switch_to+',\''+images_url+'\',\''+ajax_url+'\')" class="alignleft frm_required'+switch_to+'" id="'+thisid+'" title="'+atitle+'"><img src="'+images_url+'/required.png" alt="required"></a>');
114
+ 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+',\''+images_url+'\',\''+ajax_url+'\')" />');
115
+ jQuery.ajax({type:"POST",url:ajax_url,data:"action=frm_mark_required&field="+field_id+"&required="+switch_to});
116
+ };
117
+
118
+ function frm_clear_on_focus(field_id, active, images_url, ajax_url){
119
+ var thisid='clear_field_'+field_id;
120
+ if (active=='1'){var switch_to='0';var new_class='frm_inactive_icon';}
121
+ else{var switch_to='1';var new_class='';}
122
+ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_clear_on_focus('+field_id+','+switch_to+',\''+images_url+'\',\''+ajax_url+'\')" class="'+new_class +' frm-show-hover" id="'+thisid+'"><img src="'+images_url+'/reload.png"></a>');
123
+ jQuery.ajax({type:"POST",url:ajax_url,data:"action=frm_clear_on_focus&field="+field_id+"&active="+switch_to});
124
+ };
125
+
126
+ function frm_default_blank(field_id, active, images_url, ajax_url){
127
+ var thisid='default_blank_'+field_id;
128
+ if(active=='1'){var switch_to='0';var new_class='frm_inactive_icon';}
129
+ else{var switch_to='1';var new_class='';}
130
+ jQuery('#'+thisid).replaceWith('<a href="javascript:frm_default_blank('+field_id+','+switch_to+',\''+images_url+'\',\''+ajax_url+'\')" class="'+new_class+' frm-show-hover" id="'+thisid+'"><img src="'+images_url+'/error.png"></a>');
131
+ jQuery.ajax({type:"POST",url:ajax_url,data:"action=frm_default_blank&field="+field_id+"&active="+switch_to});
132
+ };
133
+
134
+ function frm_add_field_option(field_id, ajax_url, table){
135
+ var data = {action:'frm_add_field_option',field_id:field_id,t:table};
136
+ jQuery.post(ajax_url,data,function(msg){
137
+ jQuery('#frm_add_field_'+field_id).before(msg);
138
+ if(table=='row'){ jQuery('#frm-grid-'+field_id+' tr:last').after(msg);}
139
+ });
140
  };
141
 
142
  function frm_delete_field_option(field_id, opt_key, ajax_url){
179
  };
180
 
181
  function frmInsertFieldCode(element_id, variable){
182
+ if(!element_id || element_id == 'content'){
183
+ send_to_editor(variable);
184
+ return;
185
+ }
186
  var content_box=jQuery("#"+element_id);
187
+ if(content_box){
188
+ if(document.selection){content_box[0].focus();document.selection.createRange().text=variable;}
189
+ else if(content_box[0].selectionStart){obj=content_box[0];obj.value=obj.value.substr(0,obj.selectionStart)+variable+obj.value.substr(obj.selectionEnd,obj.value.length);}
190
+ else{content_box.val(variable+content_box.val());}
191
+ }
192
  }
193
+
194
+ function frm_delete_row(field_id,opt_key,ajax_url){
195
+ if (jQuery('#frm-grid-'+field_id+' tr').length == 2){ // header row and only one data row
196
+ alert('Sorry, you must leave at least one row in this table.');
197
+ }else if(confirm('Are you sure you wish to permanently delete this row? This cannot be undone.')){
198
+ jQuery.ajax({type:"POST",url:ajax_url,
199
+ data:"action=frm_delete_field_option&field_id="+field_id+"&opt_key="+opt_key,
200
+ success:function(msg){jQuery('#frm-grid-'+field_id+' tr.'+opt_key).fadeOut("slow");frm_adjust_row_numbers(field_id);}
201
+ });
202
+ }
203
+ }
204
+
205
+ function frm_delete_col(field_id,opt_key,ajax_url){
206
+ if (jQuery('#frm-grid-'+field_id+' th').length == 2){ // header col and only one data col
207
+ alert('Sorry, you must leave at least one column in this table.');
208
+ }else if(confirm('Are you sure you wish to permanently delete this column? This cannot be undone.')){
209
+ jQuery.ajax({type:"POST",url:ajax_url,
210
+ data:"action=frm_delete_field_option&field_id="+field_id+"&opt_key="+opt_key,
211
+ success:function(msg){
212
+ jQuery('#frm-grid-'+field_id+' td.'+opt_key).fadeOut("slow");
213
+ jQuery('#frm-grid-'+field_id+' th.'+opt_key).fadeOut("slow");
214
+ frm_adjust_row_numbers(field_id);
215
  }
216
+ });
217
+ }
218
  }
219
 
220
+ function frm_adjust_row_numbers(field_id){
221
  var row_num;
222
+ jQuery('#frm-grid-'+field_id+' tr').each(function(){
223
  if (row_num == null){
224
  // skip the first row (column headers)
225
+ row_num=0;
226
  }else{
227
  // This searches for inputs and readjusts their name to match the new row numbering scenario
228
  jQuery(this).find('input').each(function(){ //input[name^=item_meta]
229
+ var name=jQuery(this).attr('name');
230
+ name=name.replace(/\[[0-9]+\]\[\]/,'['+row_num+'][]');
231
  jQuery(this).attr('name',name);
232
 
233
+ var id=jQuery(this).attr('id');
234
+ id=id.replace(/_[0-9]+(_[0-9]+)$/,'_'+row_num+'$1');
235
  jQuery(this).attr('id',id);
236
  });
237
 
238
  // Now replace the javascript (for delete_row)
239
  jQuery(this).find('a').each(function(){
240
+ var href=jQuery(this).attr('href');
241
+ href=href.replace(/(delete_row\([0-9]+,)[0-9]+/,'$1'+row_num);
242
  jQuery(this).attr('href',href);
243
  });
244
 
245
  // Finally, need to reset the class for the row
246
+ jQuery(this).get(0).className=jQuery(this).get(0).className.replace(/\brow-.*?\b/g,'');
247
+ jQuery(this).addClass("row-"+row_num);
 
248
  row_num++;
249
  }
250
  });
251
  }
252
 
253
+ var frm_active_requests=0; // = false;
254
+ function frm_add_row(field_id,ajax_url){
255
  jQuery.ajax({
256
+ type:"POST",url:ajax_url,
257
+ data:"action=frm_add_table_row&field_id="+field_id+"&row_num="+(jQuery('#frm-grid-'+field_id+' tr').length-1+frm_active_requests++),
 
258
  success:function(msg){
259
+ frm_active_requests--;jQuery('#frm-grid-'+field_id+' tr:last').after(msg);
260
+ frm_post_add_row(field_id,jQuery('#frm-grid-'+field_id+' tr:last'));
 
261
  }
262
  });
263
  }
264
 
265
+ function frm_post_add_row(field_id,new_row){
 
 
 
266
  // Just a stub that can be overridden by another script
267
+ }
js/jquery/jquery-ui-themepicker.js CHANGED
@@ -95,7 +95,8 @@ jQuery.fn.themeswitcher = function(settings){
95
 
96
  //markup
97
  var button = jQuery('<a href="#" class="jquery-ui-themeswitcher-trigger"><span class="jquery-ui-themeswitcher-icon"></span><span class="jquery-ui-themeswitcher-title">'+ options.initialText +'</span></a>');
98
- var switcherpane = jQuery('<div class="jquery-ui-themeswitcher"><div id="themeGallery"> <ul> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-lightness/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_ui_light.png" alt="UI Lightness" title="UI Lightness" /> <span class="themeName">UI lightness</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_ui_dark.png" alt="UI Darkness" title="UI Darkness" /> <span class="themeName">UI darkness</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_smoothness.png" alt="Smoothness" title="Smoothness" /> <span class="themeName">Smoothness</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_start_menu.png" alt="Start" title="Start" /> <span class="themeName">Start</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_windoze.png" alt="Redmond" title="Redmond" /> <span class="themeName">Redmond</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/sunny/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_sunny.png" alt="Sunny" title="Sunny" /> <span class="themeName">Sunny</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/overcast/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_overcast.png" alt="Overcast" title="Overcast" /> <span class="themeName">Overcast</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/le-frog/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_le_frog.png" alt="Le Frog" title="Le Frog" /> <span class="themeName">Le Frog</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/flick/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_flick.png" alt="Flick" title="Flick" /> <span class="themeName">Flick</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/pepper-grinder/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_pepper_grinder.png" alt="Pepper Grinder" title="Pepper Grinder" /> <span class="themeName">Pepper Grinder</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/eggplant/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_eggplant.png" alt="Eggplant" title="Eggplant" /> <span class="themeName">Eggplant</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dark-hive/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_dark_hive.png" alt="Dark Hive" title="Dark Hive" /> <span class="themeName">Dark Hive</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/cupertino/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_cupertino.png" alt="Cupertino" title="Cupertino" /> <span class="themeName">Cupertino</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/south-street/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_south_street.png" alt="South St" title="South St" /> <span class="themeName">South Street</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/blitzer/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_blitzer.png" alt="Blitzer" title="Blitzer" /> <span class="themeName">Blitzer</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/humanity/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_humanity.png" alt="Humanity" title="Humanity" /> <span class="themeName">Humanity</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/hot-sneaks/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_hot_sneaks.png" alt="Hot Sneaks" title="Hot Sneaks" /> <span class="themeName">Hot sneaks</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/excite-bike/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_excite_bike.png" alt="Excite Bike" title="Excite Bike" /> <span class="themeName">Excite Bike</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/vader/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_black_matte.png" alt="Vader" title="Vader" /> <span class="themeName">Vader</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dot-luv/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_dot_luv.png" alt="Dot Luv" title="Dot Luv" /> <span class="themeName">Dot Luv</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/mint-choc/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_mint_choco.png" alt="Mint Choc" title="Mint Choc" /> <span class="themeName">Mint Choc</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/black-tie/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_black_tie.png" alt="Black Tie" title="Black Tie" /> <span class="themeName">Black Tie</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/trontastic/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_trontastic.png" alt="Trontastic" title="Trontastic" /> <span class="themeName">Trontastic</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/swanky-purse/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_swanky_purse.png" alt="Swanky Purse" title="Swanky Purse" /> <span class="themeName">Swanky Purse</span> </a></li> </ul></div></div>').find('div').removeAttr('id');
 
99
 
100
  //button events
101
  button.click(
@@ -120,11 +121,11 @@ jQuery.fn.themeswitcher = function(settings){
120
  /* Theme Loading
121
  ---------------------------------------------------------------------*/
122
  switcherpane.find('a').click(function(){
123
- var css = jQuery(this).attr('href');
124
  updateCSS( css );
125
  var themeName = jQuery(this).find('span').text();
126
  button.find('.jquery-ui-themeswitcher-title').text( options.buttonPreText + themeName );
127
- jQuery('#frm_themepicker_input').html('<input type="hidden" value="'+css+'" id="frm_themepicker_css" name="frm_themepicker_css"><input type="hidden" value="'+themeName+'" id="frm_themepicker_name" name="frm_themepicker_name">');
128
  options.onSelect();
129
  if(options.closeOnSelect && switcherpane.is(':visible')){ switcherpane.spHide(); }
130
  return false;
@@ -143,11 +144,10 @@ jQuery.fn.themeswitcher = function(settings){
143
  /* Inline CSS
144
  ---------------------------------------------------------------------*/
145
  var button_default = {
146
- fontFamily: 'Trebuchet MS, Verdana, sans-serif',
147
  fontSize: '11px',
148
- color: '#fff',
149
- background: '#333',
150
- border: '1px solid #666',
151
  '-moz-border-radius': '4px',
152
  '-webkit-border-radius': '4px',
153
  textDecoration: 'none',
@@ -169,8 +169,6 @@ jQuery.fn.themeswitcher = function(settings){
169
  outline: '0'
170
  };
171
 
172
-
173
-
174
  //button css
175
  button.css(button_default)
176
  .hover(
@@ -178,84 +176,12 @@ jQuery.fn.themeswitcher = function(settings){
178
  function(){
179
  if( !switcherpane.is(':animated') && switcherpane.is(':hidden') ){ jQuery(this).css(button_default); }
180
  }
181
- )
182
- .find('.jquery-ui-themeswitcher-icon').css({
183
- float: 'right',
184
- width: '16px',
185
- height: '16px',
186
- background: 'url(http://jqueryui.com/themeroller/themeswitchertool/images/icon_color_arrow.gif) 50% 50% no-repeat'
187
- });
188
- //pane css
189
- switcherpane.css({
190
- position: 'absolute',
191
- float: 'left',
192
- fontFamily: 'Trebuchet MS, Verdana, sans-serif',
193
- fontSize: '12px',
194
- background: '#333',
195
- color: '#fff',
196
- padding: '8px 3px 3px',
197
- border: '1px solid #ccc',
198
- '-moz-border-radius-bottomleft': '6px',
199
- '-webkit-border-bottom-left-radius': '6px',
200
- '-moz-border-radius-bottomright': '6px',
201
- '-webkit-border-bottom-right-radius': '6px',
202
- borderTop: 0,
203
- zIndex: 999999,
204
- width: options.width-6//minus must match left and right padding
205
- })
206
- .find('ul').css({
207
- listStyle: 'none',
208
- margin: '0',
209
- padding: '0',
210
- overflow: 'auto',
211
- height: options.height
212
- }).end()
213
- .find('li').hover(
214
- function(){
215
- jQuery(this).css({
216
- 'borderColor':'#555',
217
- 'background': 'url(http://jqueryui.com/themeroller/themeswitchertool/images/menuhoverbg.png) 50% 50% repeat-x',
218
- cursor: 'pointer'
219
- });
220
- },
221
- function(){
222
- jQuery(this).css({
223
- 'borderColor':'#333',
224
- 'background': '#333',
225
- cursor: 'auto'
226
- });
227
- }
228
- ).css({
229
- width: options.width-30,
230
- height: '',
231
- padding: '2px',
232
- margin: '1px',
233
- border: '1px solid #333',
234
- '-moz-border-radius': '4px',
235
- clear: 'left',
236
- float: 'left'
237
- }).end()
238
- .find('a').css({
239
- color: '#aaa',
240
- textDecoration: 'none',
241
- float: 'left',
242
- width: '100%',
243
- outline: '0'
244
- }).end()
245
- .find('img').css({
246
- float: 'left',
247
- border: '1px solid #333',
248
- margin: '0 2px'
249
- }).end()
250
- .find('.themeName').css({
251
- float: 'left',
252
- margin: '3px 0'
253
- }).end();
254
 
255
  jQuery(this).append(button);
256
- jQuery('body').append(switcherpane);
257
- switcherpane.hide();
258
- var themeName = document.getElementById("frm_themepicker_name").value;
259
  switcherpane.find('a:contains('+ themeName +')').trigger('click');
260
 
261
  return this;
95
 
96
  //markup
97
  var button = jQuery('<a href="#" class="jquery-ui-themeswitcher-trigger"><span class="jquery-ui-themeswitcher-icon"></span><span class="jquery-ui-themeswitcher-title">'+ options.initialText +'</span></a>');
98
+ //var switcherpane = jQuery('<div class="switcherpane-container"><ul class="themeswitcher-ul"> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-lightness/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_ui_light.png" alt="UI Lightness" title="UI Lightness" /> <span class="themeName">UI lightness</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/ui-darkness/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_ui_dark.png" alt="UI Darkness" title="UI Darkness" /> <span class="themeName">UI darkness</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_smoothness.png" alt="Smoothness" title="Smoothness" /> <span class="themeName">Smoothness</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/start/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_start_menu.png" alt="Start" title="Start" /> <span class="themeName">Start</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_windoze.png" alt="Redmond" title="Redmond" /> <span class="themeName">Redmond</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/sunny/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_sunny.png" alt="Sunny" title="Sunny" /> <span class="themeName">Sunny</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/overcast/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_overcast.png" alt="Overcast" title="Overcast" /> <span class="themeName">Overcast</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/le-frog/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_le_frog.png" alt="Le Frog" title="Le Frog" /> <span class="themeName">Le Frog</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/flick/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_flick.png" alt="Flick" title="Flick" /> <span class="themeName">Flick</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/pepper-grinder/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_pepper_grinder.png" alt="Pepper Grinder" title="Pepper Grinder" /> <span class="themeName">Pepper Grinder</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/eggplant/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_eggplant.png" alt="Eggplant" title="Eggplant" /> <span class="themeName">Eggplant</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dark-hive/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_dark_hive.png" alt="Dark Hive" title="Dark Hive" /> <span class="themeName">Dark Hive</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/cupertino/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_cupertino.png" alt="Cupertino" title="Cupertino" /> <span class="themeName">Cupertino</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/south-street/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_south_street.png" alt="South St" title="South St" /> <span class="themeName">South Street</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/blitzer/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_blitzer.png" alt="Blitzer" title="Blitzer" /> <span class="themeName">Blitzer</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/humanity/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_humanity.png" alt="Humanity" title="Humanity" /> <span class="themeName">Humanity</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/hot-sneaks/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_hot_sneaks.png" alt="Hot Sneaks" title="Hot Sneaks" /> <span class="themeName">Hot sneaks</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/excite-bike/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_excite_bike.png" alt="Excite Bike" title="Excite Bike" /> <span class="themeName">Excite Bike</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/vader/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_black_matte.png" alt="Vader" title="Vader" /> <span class="themeName">Vader</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/dot-luv/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_dot_luv.png" alt="Dot Luv" title="Dot Luv" /> <span class="themeName">Dot Luv</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/mint-choc/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_mint_choco.png" alt="Mint Choc" title="Mint Choc" /> <span class="themeName">Mint Choc</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/black-tie/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_black_tie.png" alt="Black Tie" title="Black Tie" /> <span class="themeName">Black Tie</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/trontastic/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_trontastic.png" alt="Trontastic" title="Trontastic" /> <span class="themeName">Trontastic</span> </a></li> <li><a href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/swanky-purse/jquery-ui.css"> <img src="http://static.jquery.com/ui/themeroller/images/themeGallery/theme_30_swanky_purse.png" alt="Swanky Purse" title="Swanky Purse" /> <span class="themeName">Swanky Purse</span> </a></li> </ul></div>');
99
+ var switcherpane = jQuery('#switcherpane-container');
100
 
101
  //button events
102
  button.click(
121
  /* Theme Loading
122
  ---------------------------------------------------------------------*/
123
  switcherpane.find('a').click(function(){
124
+ var css = 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/'+jQuery(this).attr('href')+'/jquery-ui.css';
125
  updateCSS( css );
126
  var themeName = jQuery(this).find('span').text();
127
  button.find('.jquery-ui-themeswitcher-title').text( options.buttonPreText + themeName );
128
+ jQuery('#frm_themepicker_input').html('<input type="hidden" value="'+css+'" id="frm_theme_css" name="frm_theme_css"><input type="hidden" value="'+themeName+'" id="frm_theme_name" name="frm_theme_name">');
129
  options.onSelect();
130
  if(options.closeOnSelect && switcherpane.is(':visible')){ switcherpane.spHide(); }
131
  return false;
144
  /* Inline CSS
145
  ---------------------------------------------------------------------*/
146
  var button_default = {
 
147
  fontSize: '11px',
148
+ color: '#333',
149
+ background: '#fff',
150
+ border: '1px solid #DFDFDF',
151
  '-moz-border-radius': '4px',
152
  '-webkit-border-radius': '4px',
153
  textDecoration: 'none',
169
  outline: '0'
170
  };
171
 
 
 
172
  //button css
173
  button.css(button_default)
174
  .hover(
176
  function(){
177
  if( !switcherpane.is(':animated') && switcherpane.is(':hidden') ){ jQuery(this).css(button_default); }
178
  }
179
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
 
181
  jQuery(this).append(button);
182
+ //jQuery('body').append(switcherpane);
183
+ //switcherpane.hide();
184
+ var themeName = document.getElementById("frm_theme_name").value;
185
  switcherpane.find('a:contains('+ themeName +')').trigger('click');
186
 
187
  return this;
js/jquery/jquery.editinplace.js CHANGED
@@ -45,7 +45,11 @@
45
  */
46
 
47
  jQuery.fn.editInPlace = function(options) {
48
-
 
 
 
 
49
  /* DEFINE THE DEFAULT SETTINGS, SWITCH THEM WITH THE OPTIONS USER PROVIDES */
50
  var settings = {
51
  url: "",
@@ -66,7 +70,7 @@ jQuery.fn.editInPlace = function(options) {
66
  original_html: "original_html",
67
  save_button: '<button class="inplace_save">Save</button>',
68
  cancel_button: '<button class="inplace_cancel">Cancel</button>',
69
- show_buttons: false,
70
  on_blur: "save",
71
  callback: null,
72
  success: null,
45
  */
46
 
47
  jQuery.fn.editInPlace = function(options) {
48
+ var browserName=navigator.appName;
49
+ if(browserName=='Microsoft Internet Explorer')
50
+ var iebuttons=true;
51
+ else
52
+ var iebuttons=false;
53
  /* DEFINE THE DEFAULT SETTINGS, SWITCH THEM WITH THE OPTIONS USER PROVIDES */
54
  var settings = {
55
  url: "",
70
  original_html: "original_html",
71
  save_button: '<button class="inplace_save">Save</button>',
72
  cancel_button: '<button class="inplace_cancel">Cancel</button>',
73
+ show_buttons: iebuttons,
74
  on_blur: "save",
75
  callback: null,
76
  success: null,
js/jquery/jquery.editinplace.packed.js CHANGED
@@ -1,4 +1,4 @@
1
- jQuery.fn.editInPlace=function(options){var settings={url:"",params:"",field_type:"text",select_options:"",textarea_cols:"25",textarea_rows:"10",bg_over:"#ffffde",bg_out:"transparent",saving_text:"Saving...",saving_image:"",default_text:"(Click here to add text)",select_text:"Choose new value",value_required:null,element_id:"element_id",update_value:"update_value",original_html:"original_html",save_button:'<button class="inplace_save">Save</button>',cancel_button:'<button class="inplace_cancel">Cancel</button>',show_buttons:false,on_blur:"save",callback:null,success:null,error:function(request){alert("Failed to save value: "+request.responseText||'Unspecified Error');}};if(options){jQuery.extend(settings,options);}
2
  if(settings.saving_image!=""){var loading_image=new Image();loading_image.src=settings.saving_image;}
3
  String.prototype.trim=function(){return this.replace(/^\s+/,'').replace(/\s+$/,'');};String.prototype.escape_html=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");};return this.each(function(){if(jQuery(this).html()=="")jQuery(this).html(settings.default_text);var editing=false;var original_element=jQuery(this);var click_count=0;jQuery(this).mouseover(function(){jQuery(this).css("background",settings.bg_over);}).mouseout(function(){jQuery(this).css("background",settings.bg_out);}).click(function(){click_count++;if(!editing)
4
  {jQuery('.inplace_field').blur();jQuery(this).children('.inplace_field').focus();editing=true;var original_html=jQuery(this).html();var buttons_code=(settings.show_buttons)?settings.save_button+' '+settings.cancel_button:'';if(original_html==settings.default_text)jQuery(this).html('');if(settings.field_type=="textarea")
1
+ jQuery.fn.editInPlace=function(options){var browserName=navigator.appName;if(browserName=='Microsoft Internet Explorer')var iebuttons=true;else var iebuttons=false; var settings={url:"",params:"",field_type:"text",select_options:"",textarea_cols:"25",textarea_rows:"10",bg_over:"#ffffde",bg_out:"transparent",saving_text:"Saving...",saving_image:"",default_text:"(Click here to add text)",select_text:"Choose new value",value_required:null,element_id:"element_id",update_value:"update_value",original_html:"original_html",save_button:'<button class="inplace_save">Save</button>',cancel_button:'<button class="inplace_cancel">Cancel</button>',show_buttons:iebuttons,on_blur:"save",callback:null,success:null,error:function(request){alert("Failed to save value: "+request.responseText||'Unspecified Error');}};if(options){jQuery.extend(settings,options);}
2
  if(settings.saving_image!=""){var loading_image=new Image();loading_image.src=settings.saving_image;}
3
  String.prototype.trim=function(){return this.replace(/^\s+/,'').replace(/\s+$/,'');};String.prototype.escape_html=function(){return this.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");};return this.each(function(){if(jQuery(this).html()=="")jQuery(this).html(settings.default_text);var editing=false;var original_element=jQuery(this);var click_count=0;jQuery(this).mouseover(function(){jQuery(this).css("background",settings.bg_over);}).mouseout(function(){jQuery(this).css("background",settings.bg_out);}).click(function(){click_count++;if(!editing)
4
  {jQuery('.inplace_field').blur();jQuery(this).children('.inplace_field').focus();editing=true;var original_html=jQuery(this).html();var buttons_code=(settings.show_buttons)?settings.save_button+' '+settings.cancel_button:'';if(original_html==settings.default_text)jQuery(this).html('');if(settings.field_type=="textarea")
languages/formidable-en_US.po ADDED
@@ -0,0 +1,3758 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2010-12-20\n"
6
+ "PO-Revision-Date: 2010-12-21\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: \n"
14
+ "X-Poedit-Country: \n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: classes/controllers/FrmAppController.php:57
23
+ #: classes/controllers/FrmFormsController.php:21
24
+ #: classes/views/frm-forms/list.php:3
25
+ #: pro/classes/views/shared/import_form.php:47
26
+ #@ formidable
27
+ msgid "Forms"
28
+ msgstr ""
29
+
30
+ #: classes/controllers/FrmAppController.php:60
31
+ #: classes/controllers/FrmFormsController.php:22
32
+ #@ formidable
33
+ msgid "Create a Form"
34
+ msgstr ""
35
+
36
+ #: classes/controllers/FrmAppController.php:63
37
+ #: classes/controllers/FrmFormsController.php:23
38
+ #: classes/views/frm-forms/list.php:3
39
+ #@ formidable
40
+ msgid "Templates"
41
+ msgstr ""
42
+
43
+ #: classes/controllers/FrmAppController.php:69
44
+ #: classes/controllers/FrmSettingsController.php:14
45
+ #: classes/views/frm-settings/form.php:3
46
+ #@ formidable
47
+ msgid "Settings"
48
+ msgstr ""
49
+
50
+ #: classes/controllers/FrmAppController.php:84
51
+ #: classes/controllers/FrmAppController.php:114
52
+ #, php-format
53
+ #@ formidable
54
+ msgid "Your Formidable Pro installation isn't quite complete yet.<br/>%1$sAutomatically Upgrade to Enable Formidable Pro%2$s"
55
+ msgstr ""
56
+
57
+ #: classes/controllers/FrmAppController.php:105
58
+ #@ formidable
59
+ msgid "Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this."
60
+ msgstr ""
61
+
62
+ #: classes/controllers/FrmAppController.php:194
63
+ #@ formidable
64
+ msgid "Formidable was successfully uninstalled."
65
+ msgstr ""
66
+
67
+ #: classes/controllers/FrmEntriesController.php:15
68
+ #: classes/views/frm-entries/list.php:3
69
+ #@ formidable
70
+ msgid "Pro Entries"
71
+ msgstr ""
72
+
73
+ #: classes/controllers/FrmEntriesController.php:30
74
+ #@ formidable
75
+ msgid "Please select a valid form"
76
+ msgstr ""
77
+
78
+ #: classes/controllers/FrmFormsController.php:76
79
+ #@ formidable
80
+ msgid "Form was Successfully Created"
81
+ msgstr ""
82
+
83
+ #: classes/controllers/FrmFormsController.php:111
84
+ #@ formidable
85
+ msgid "Form was Successfully Updated"
86
+ msgstr ""
87
+
88
+ #: classes/controllers/FrmFormsController.php:121
89
+ #@ formidable
90
+ msgid "Form template was Successfully Created"
91
+ msgstr ""
92
+
93
+ #: classes/controllers/FrmFormsController.php:121
94
+ #@ formidable
95
+ msgid "Form was Successfully Copied"
96
+ msgstr ""
97
+
98
+ #: classes/controllers/FrmFormsController.php:125
99
+ #@ formidable
100
+ msgid "There was a problem creating new template."
101
+ msgstr ""
102
+
103
+ #: classes/controllers/FrmFormsController.php:170
104
+ #@ formidable
105
+ msgid "Form was Successfully Deleted"
106
+ msgstr ""
107
+
108
+ #: classes/controllers/FrmFormsController.php:191
109
+ #@ formidable
110
+ msgid "Add Formidable Form"
111
+ msgstr ""
112
+
113
+ #: classes/controllers/FrmFormsController.php:314
114
+ #@ formidable
115
+ msgid "That template cannot be edited"
116
+ msgstr ""
117
+
118
+ #: classes/controllers/FrmSettingsController.php:44
119
+ #@ formidable
120
+ msgid "Settings Saved"
121
+ msgstr ""
122
+
123
+ #: classes/helpers/FrmAppHelper.php:44
124
+ #@ formidable
125
+ msgid "View Forms and Templates"
126
+ msgstr ""
127
+
128
+ #: classes/helpers/FrmAppHelper.php:45
129
+ #@ formidable
130
+ msgid "Create/Edit Forms and Templates"
131
+ msgstr ""
132
+
133
+ #: classes/helpers/FrmAppHelper.php:46
134
+ #@ formidable
135
+ msgid "Delete Forms and Templates"
136
+ msgstr ""
137
+
138
+ #: classes/helpers/FrmAppHelper.php:47
139
+ #@ formidable
140
+ msgid "Access this Settings Page"
141
+ msgstr ""
142
+
143
+ #: classes/helpers/FrmAppHelper.php:50
144
+ #@ formidable
145
+ msgid "View Entries from Admin Area"
146
+ msgstr ""
147
+
148
+ #: classes/helpers/FrmAppHelper.php:51
149
+ #@ formidable
150
+ msgid "Create Entries from Admin Area"
151
+ msgstr ""
152
+
153
+ #: classes/helpers/FrmAppHelper.php:52
154
+ #@ formidable
155
+ msgid "Edit Entries from Admin Area"
156
+ msgstr ""
157
+
158
+ #: classes/helpers/FrmAppHelper.php:53
159
+ #@ formidable
160
+ msgid "Delete Entries from Admin Area"
161
+ msgstr ""
162
+
163
+ #: classes/helpers/FrmAppHelper.php:54
164
+ #@ formidable
165
+ msgid "View Reports"
166
+ msgstr ""
167
+
168
+ #: classes/helpers/FrmAppHelper.php:55
169
+ #@ formidable
170
+ msgid "Create/Edit Custom Displays"
171
+ msgstr ""
172
+
173
+ #: classes/helpers/FrmAppHelper.php:169
174
+ #: pro/classes/models/FrmProEntryMeta.php:129
175
+ #@ formidable
176
+ msgid "is an invalid format"
177
+ msgstr ""
178
+
179
+ #: classes/helpers/FrmFieldsHelper.php:7
180
+ #@ formidable
181
+ msgid "Text Input (One Line)"
182
+ msgstr ""
183
+
184
+ #: classes/helpers/FrmFieldsHelper.php:8
185
+ #@ formidable
186
+ msgid "Paragraph Input (Multiple Lines)"
187
+ msgstr ""
188
+
189
+ #: classes/helpers/FrmFieldsHelper.php:9
190
+ #@ formidable
191
+ msgid "Multiple Selection (Check Boxes)"
192
+ msgstr ""
193
+
194
+ #: classes/helpers/FrmFieldsHelper.php:10
195
+ #@ formidable
196
+ msgid "Select One (Radio)"
197
+ msgstr ""
198
+
199
+ #: classes/helpers/FrmFieldsHelper.php:11
200
+ #@ formidable
201
+ msgid "Drop-Down (Select)"
202
+ msgstr ""
203
+
204
+ #: classes/helpers/FrmFieldsHelper.php:21
205
+ #@ formidable
206
+ msgid "Section Heading"
207
+ msgstr ""
208
+
209
+ #: classes/helpers/FrmFieldsHelper.php:22
210
+ #@ formidable
211
+ msgid "Page Break"
212
+ msgstr ""
213
+
214
+ #: classes/helpers/FrmFieldsHelper.php:23
215
+ #: pro/classes/views/settings/form.php:103
216
+ #@ formidable
217
+ msgid "File Upload"
218
+ msgstr ""
219
+
220
+ #: classes/helpers/FrmFieldsHelper.php:25
221
+ #@ formidable
222
+ msgid "Number"
223
+ msgstr ""
224
+
225
+ #: classes/helpers/FrmFieldsHelper.php:26
226
+ #@ formidable
227
+ msgid "Phone Number"
228
+ msgstr ""
229
+
230
+ #: classes/helpers/FrmFieldsHelper.php:27
231
+ #: pro/classes/views/frmpro-forms/notifications.php:127
232
+ #@ formidable
233
+ msgid "Email Address"
234
+ msgstr ""
235
+
236
+ #: classes/helpers/FrmFieldsHelper.php:28
237
+ #: pro/classes/models/FrmProField.php:24
238
+ #@ formidable
239
+ msgid "Date"
240
+ msgstr ""
241
+
242
+ #: classes/helpers/FrmFieldsHelper.php:29
243
+ #: pro/classes/models/FrmProField.php:29
244
+ #@ formidable
245
+ msgid "Time"
246
+ msgstr ""
247
+
248
+ #: classes/helpers/FrmFieldsHelper.php:30
249
+ #@ formidable
250
+ msgid "Website/URL"
251
+ msgstr ""
252
+
253
+ #: classes/helpers/FrmFieldsHelper.php:31
254
+ #@ formidable
255
+ msgid "Image URL"
256
+ msgstr ""
257
+
258
+ #: classes/helpers/FrmFieldsHelper.php:32
259
+ #@ formidable
260
+ msgid "Scale"
261
+ msgstr ""
262
+
263
+ #: classes/helpers/FrmFieldsHelper.php:34
264
+ #@ formidable
265
+ msgid "Data from Entries"
266
+ msgstr ""
267
+
268
+ #: classes/helpers/FrmFieldsHelper.php:35
269
+ #@ formidable
270
+ msgid "Hidden Field"
271
+ msgstr ""
272
+
273
+ #: classes/helpers/FrmFieldsHelper.php:38
274
+ #@ formidable
275
+ msgid "Tags"
276
+ msgstr ""
277
+
278
+ #: classes/helpers/FrmFieldsHelper.php:55
279
+ #@ formidable
280
+ msgid "Untitled"
281
+ msgstr ""
282
+
283
+ #: classes/helpers/FrmFieldsHelper.php:55
284
+ #: pro/classes/models/FrmProEntryMeta.php:129
285
+ #@ formidable
286
+ msgid "Untitled is an invalid format"
287
+ msgstr ""
288
+
289
+ #: classes/helpers/FrmFieldsHelper.php:220
290
+ #, php-format
291
+ #@ formidable
292
+ msgid "Set this field to %1$sclear on click"
293
+ msgstr ""
294
+
295
+ #: classes/helpers/FrmFieldsHelper.php:226
296
+ #, php-format
297
+ #@ formidable
298
+ msgid "This default value should %1$sbe considered blank"
299
+ msgstr ""
300
+
301
+ #: classes/helpers/FrmFormsHelper.php:16
302
+ #: classes/views/frm-forms/default-templates.php:22
303
+ #: classes/views/frm-forms/list.php:67
304
+ #@ formidable
305
+ msgid "Create Form from Template"
306
+ msgstr ""
307
+
308
+ #: classes/helpers/FrmFormsHelper.php:48
309
+ #@ formidable
310
+ msgid "Untitled Form"
311
+ msgstr ""
312
+
313
+ #: classes/helpers/FrmFieldsHelper.php:55
314
+ #: classes/models/FrmEntry.php:228
315
+ #@ formidable
316
+ msgid "Untitled cannot be blank"
317
+ msgstr ""
318
+
319
+ #: classes/models/FrmEntry.php:260
320
+ #@ formidable
321
+ msgid "Your entry appears to be spam!"
322
+ msgstr ""
323
+
324
+ #: classes/models/FrmNotification.php:25
325
+ #, php-format
326
+ #@ formidable
327
+ msgid "%1$s form has been submitted on %2$s."
328
+ msgstr ""
329
+
330
+ #: classes/models/FrmNotification.php:39
331
+ #: pro/classes/models/FrmProNotification.php:139
332
+ #: pro/classes/views/displays/tags.php:21
333
+ #: pro/classes/views/frmpro-entries/show.php:35
334
+ #@ formidable
335
+ msgid "User Information"
336
+ msgstr ""
337
+
338
+ #: classes/models/FrmNotification.php:40
339
+ #: pro/classes/models/FrmProNotification.php:140
340
+ #: pro/classes/models/FrmProNotification.php:144
341
+ #: pro/classes/views/frmpro-entries/show.php:38
342
+ #: pro/classes/views/frmpro-forms/add_form_options.php:60
343
+ #@ formidable
344
+ msgid "IP Address"
345
+ msgstr ""
346
+
347
+ #: classes/models/FrmNotification.php:41
348
+ #: pro/classes/models/FrmProNotification.php:141
349
+ #: pro/classes/models/FrmProNotification.php:146
350
+ #: pro/classes/views/frmpro-entries/show.php:43
351
+ #@ formidable
352
+ msgid "User-Agent (Browser/OS)"
353
+ msgstr ""
354
+
355
+ #: classes/models/FrmNotification.php:42
356
+ #: pro/classes/models/FrmProNotification.php:142
357
+ #: pro/classes/models/FrmProNotification.php:148
358
+ #: pro/classes/views/frmpro-entries/show.php:47
359
+ #@ formidable
360
+ msgid "Referrer"
361
+ msgstr ""
362
+
363
+ #: classes/models/FrmNotification.php:45
364
+ #: pro/classes/models/FrmProNotification.php:160
365
+ #: pro/classes/models/FrmProNotification.php:248
366
+ #, php-format
367
+ #@ formidable
368
+ msgid "%1$s Form submitted on %2$s"
369
+ msgstr ""
370
+
371
+ #: classes/models/FrmSettings.php:90
372
+ #: classes/models/FrmSettings.php:141
373
+ #@ formidable
374
+ msgid "Your responses were successfully submitted. Thank you!"
375
+ msgstr ""
376
+
377
+ #: classes/models/FrmSettings.php:94
378
+ #: classes/models/FrmSettings.php:142
379
+ #@ formidable
380
+ msgid "We're sorry. There was an error processing your responses."
381
+ msgstr ""
382
+
383
+ #: classes/models/FrmSettings.php:98
384
+ #: classes/models/FrmSettings.php:143
385
+ #@ formidable
386
+ msgid "Submit"
387
+ msgstr ""
388
+
389
+ #: classes/models/FrmSettings.php:101
390
+ #@ formidable
391
+ msgid "You do not have permission to view this form."
392
+ msgstr ""
393
+
394
+ #: classes/models/FrmSettings.php:105
395
+ #@ formidable
396
+ msgid "You do not have permission to do that"
397
+ msgstr ""
398
+
399
+ #: classes/models/FrmSettings.php:144
400
+ #@ formidable
401
+ msgid "You must log in"
402
+ msgstr ""
403
+
404
+ #: classes/models/FrmUpdate.php:132
405
+ #@ formidable
406
+ msgid "Pro Account Information"
407
+ msgstr ""
408
+
409
+ #: classes/models/FrmUpdate.php:141
410
+ #, php-format
411
+ #@ formidable
412
+ msgid "Your Username & Password was accepted<br/>Now you can %1$sUpgrade Automatically!%2$s"
413
+ msgstr ""
414
+
415
+ #: classes/models/FrmUpdate.php:149
416
+ #@ formidable
417
+ msgid "ERROR"
418
+ msgstr ""
419
+
420
+ #: classes/models/FrmUpdate.php:169
421
+ #@ formidable
422
+ msgid "Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports."
423
+ msgstr ""
424
+
425
+ #: classes/models/FrmUpdate.php:171
426
+ #@ formidable
427
+ msgid "Learn More"
428
+ msgstr ""
429
+
430
+ #: classes/models/FrmUpdate.php:200
431
+ #@ formidable
432
+ msgid "WordPress MU"
433
+ msgstr ""
434
+
435
+ #: classes/models/FrmUpdate.php:203
436
+ #@ formidable
437
+ msgid "Use this username and password to enable Formidable Pro site-wide"
438
+ msgstr ""
439
+
440
+ #: classes/models/FrmUpdate.php:209
441
+ #@ formidable
442
+ msgid "Save"
443
+ msgstr ""
444
+
445
+ #: classes/templates/contact.php:3
446
+ #@ formidable
447
+ msgid "Contact Us"
448
+ msgstr ""
449
+
450
+ #: classes/templates/contact.php:4
451
+ #@ formidable
452
+ 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."
453
+ msgstr ""
454
+
455
+ #: classes/templates/contact.php:19
456
+ #: classes/views/frm-forms/default-templates.php:7
457
+ #: classes/views/frm-forms/default-templates.php:39
458
+ #: classes/views/frm-forms/list.php:22
459
+ #: classes/views/frm-forms/list.php:32
460
+ #: classes/views/frm-forms/list.php:129
461
+ #: classes/views/frm-forms/list.php:133
462
+ #: pro/classes/views/displays/form.php:61
463
+ #: pro/classes/views/displays/list.php:25
464
+ #: pro/classes/views/displays/list.php:83
465
+ #: pro/classes/views/frmpro-forms/notifications.php:125
466
+ #@ formidable
467
+ msgid "Name"
468
+ msgstr ""
469
+
470
+ #: classes/templates/contact.php:21
471
+ #: pro/classes/models/FrmProDisplay.php:157
472
+ #@ formidable
473
+ msgid "Name cannot be blank"
474
+ msgstr ""
475
+
476
+ #: classes/templates/contact.php:26
477
+ #: pro/classes/models/FrmProField.php:48
478
+ #@ formidable
479
+ msgid "Email"
480
+ msgstr ""
481
+
482
+ #: classes/templates/contact.php:28
483
+ #@ formidable
484
+ msgid "Email cannot be blank"
485
+ msgstr ""
486
+
487
+ #: classes/templates/contact.php:29
488
+ #@ formidable
489
+ msgid "Please enter a valid email address"
490
+ msgstr ""
491
+
492
+ #: classes/templates/contact.php:34
493
+ #: pro/classes/models/FrmProField.php:43
494
+ #@ formidable
495
+ msgid "Website"
496
+ msgstr ""
497
+
498
+ #: classes/templates/contact.php:35
499
+ #@ formidable
500
+ msgid "Website cannot be blank"
501
+ msgstr ""
502
+
503
+ #: classes/templates/contact.php:36
504
+ #@ formidable
505
+ msgid "Website is an invalid format"
506
+ msgstr ""
507
+
508
+ #: classes/templates/contact.php:41
509
+ #: pro/classes/views/frmpro-forms/notifications.php:79
510
+ #: pro/classes/views/frmpro-forms/notifications.php:137
511
+ #@ formidable
512
+ msgid "Subject"
513
+ msgstr ""
514
+
515
+ #: classes/templates/contact.php:43
516
+ #@ formidable
517
+ msgid "Subject cannot be blank"
518
+ msgstr ""
519
+
520
+ #: classes/templates/contact.php:48
521
+ #: pro/classes/views/frmpro-forms/notifications.php:85
522
+ #: pro/classes/views/frmpro-forms/notifications.php:143
523
+ #@ formidable
524
+ msgid "Message"
525
+ msgstr ""
526
+
527
+ #: classes/templates/contact.php:50
528
+ #@ formidable
529
+ msgid "Message cannot be blank"
530
+ msgstr ""
531
+
532
+ #: classes/templates/contact.php:55
533
+ #@ formidable
534
+ msgid "Captcha"
535
+ msgstr ""
536
+
537
+ #: classes/views/frm-entries/form.php:48
538
+ #: pro/classes/helpers/FrmProFieldsHelper.php:553
539
+ #@ formidable
540
+ msgid "Entry Key"
541
+ msgstr ""
542
+
543
+ #: classes/views/frm-entries/list.php:9
544
+ #, php-format
545
+ #@ formidable
546
+ msgid "Upgrade to %1$sFormidable Pro%2$s to view, search, export, and bulk delete your saved entries."
547
+ msgstr ""
548
+
549
+ #: classes/views/frm-forms/add_field.php:26
550
+ #: classes/views/frm-forms/add_field.php:42
551
+ #@ formidable
552
+ msgid "Add an Option"
553
+ msgstr ""
554
+
555
+ #: classes/views/frm-forms/add_field.php:72
556
+ #: classes/views/frm-forms/add_field_links.php:20
557
+ #: classes/views/frm-forms/add_field_links.php:41
558
+ #: classes/views/frm-forms/add_field_links.php:62
559
+ #: classes/views/frm-forms/form.php:23
560
+ #: classes/views/frm-forms/form.php:79
561
+ #@ formidable
562
+ msgid "Collapse"
563
+ msgstr ""
564
+
565
+ #: classes/views/frm-forms/add_field.php:73
566
+ #@ formidable
567
+ msgid "Field Options"
568
+ msgstr ""
569
+
570
+ #: classes/views/frm-forms/add_field.php:79
571
+ #: pro/classes/views/frmpro-fields/options-form.php:66
572
+ #: pro/classes/widgets/FrmShowForm.php:56
573
+ #@ formidable
574
+ msgid "Field Size"
575
+ msgstr ""
576
+
577
+ #: classes/views/frm-forms/add_field.php:80
578
+ #@ formidable
579
+ msgid "columns wide"
580
+ msgstr ""
581
+
582
+ #: classes/views/frm-forms/add_field.php:80
583
+ #@ formidable
584
+ msgid "characters wide"
585
+ msgstr ""
586
+
587
+ #: classes/views/frm-forms/add_field.php:82
588
+ #@ formidable
589
+ msgid "rows high"
590
+ msgstr ""
591
+
592
+ #: classes/views/frm-forms/add_field.php:82
593
+ #@ formidable
594
+ msgid "characters maximum"
595
+ msgstr ""
596
+
597
+ #: classes/views/frm-forms/add_field.php:86
598
+ #: classes/views/frm-forms/form.php:131
599
+ #@ formidable
600
+ msgid "Label Position"
601
+ msgstr ""
602
+
603
+ #: classes/views/frm-forms/add_field.php:88
604
+ #@ formidable
605
+ msgid "Top"
606
+ msgstr ""
607
+
608
+ #: classes/views/frm-forms/add_field.php:89
609
+ #@ formidable
610
+ msgid "Left"
611
+ msgstr ""
612
+
613
+ #: classes/views/frm-forms/add_field.php:90
614
+ #@ formidable
615
+ msgid "Right"
616
+ msgstr ""
617
+
618
+ #: classes/views/frm-forms/add_field.php:91
619
+ #@ formidable
620
+ msgid "Hidden"
621
+ msgstr ""
622
+
623
+ #: classes/views/frm-forms/add_field.php:100
624
+ #@ formidable
625
+ msgid "Indicate required field with"
626
+ msgstr ""
627
+
628
+ #: classes/views/frm-forms/add_field.php:110
629
+ #@ formidable
630
+ msgid "Error message if entry is an invalid format"
631
+ msgstr ""
632
+
633
+ #: classes/views/frm-forms/add_field_links.php:3
634
+ #@ formidable
635
+ msgid "Copy this code and paste it into your post, page or text widget"
636
+ msgstr ""
637
+
638
+ #: classes/views/frm-forms/add_field_links.php:7
639
+ #@ formidable
640
+ msgid "Preview Form"
641
+ msgstr ""
642
+
643
+ #: classes/views/frm-forms/add_field_links.php:9
644
+ #@ formidable
645
+ msgid "Preview in Current Theme"
646
+ msgstr ""
647
+
648
+ #: classes/views/frm-forms/add_field_links.php:13
649
+ #@ formidable
650
+ msgid "Click on or drag a field into your form"
651
+ msgstr ""
652
+
653
+ #: classes/views/frm-forms/add_field_links.php:21
654
+ #@ formidable
655
+ msgid "Basic Fields"
656
+ msgstr ""
657
+
658
+ #: classes/views/frm-forms/add_field_links.php:42
659
+ #@ formidable
660
+ msgid "Pro Fields"
661
+ msgstr ""
662
+
663
+ #: classes/views/frm-forms/add_field_links.php:63
664
+ #: classes/views/frm-forms/form.php:119
665
+ #: classes/views/frm-forms/list.php:38
666
+ #: classes/views/frm-forms/list.php:135
667
+ #: pro/classes/helpers/FrmProFieldsHelper.php:562
668
+ #: pro/classes/helpers/FrmProFieldsHelper.php:577
669
+ #: pro/classes/views/displays/form.php:127
670
+ #: pro/classes/views/displays/form.php:138
671
+ #: pro/classes/views/displays/list.php:37
672
+ #: pro/classes/views/displays/list.php:85
673
+ #@ formidable
674
+ msgid "Key"
675
+ msgstr ""
676
+
677
+ #: classes/views/frm-forms/add_field_links.php:70
678
+ #@ formidable
679
+ msgid "required field"
680
+ msgstr ""
681
+
682
+ #: classes/views/frm-forms/add_field_links.php:72
683
+ #@ formidable
684
+ msgid "not required"
685
+ msgstr ""
686
+
687
+ #: classes/views/frm-forms/add_field_links.php:74
688
+ #@ formidable
689
+ msgid "clear default text on click"
690
+ msgstr ""
691
+
692
+ #: classes/views/frm-forms/add_field_links.php:76
693
+ #@ formidable
694
+ msgid "do not clear default text on click"
695
+ msgstr ""
696
+
697
+ #: classes/views/frm-forms/add_field_links.php:78
698
+ #@ formidable
699
+ msgid "default value will NOT pass validation"
700
+ msgstr ""
701
+
702
+ #: classes/views/frm-forms/add_field_links.php:80
703
+ #@ formidable
704
+ msgid "default value will pass validation"
705
+ msgstr ""
706
+
707
+ #: classes/views/frm-forms/add_field_links.php:82
708
+ #@ formidable
709
+ msgid "delete field and all inputed data"
710
+ msgstr ""
711
+
712
+ #: classes/views/frm-forms/add_field_links.php:84
713
+ #@ formidable
714
+ msgid "duplicate field"
715
+ msgstr ""
716
+
717
+ #: classes/views/frm-forms/add_field_links.php:86
718
+ #@ formidable
719
+ msgid "move field"
720
+ msgstr ""
721
+
722
+ #: classes/views/frm-forms/add_field_links.php:95
723
+ #@ formidable
724
+ msgid "Enter or select default values into fields on this form."
725
+ msgstr ""
726
+
727
+ #: classes/views/frm-forms/default-templates.php:3
728
+ #@ formidable
729
+ msgid "Default Templates"
730
+ msgstr ""
731
+
732
+ #: classes/views/frm-forms/default-templates.php:8
733
+ #: classes/views/frm-forms/default-templates.php:40
734
+ #: classes/views/frm-forms/list.php:25
735
+ #: classes/views/frm-forms/list.php:35
736
+ #: classes/views/frm-forms/list.php:130
737
+ #: classes/views/frm-forms/list.php:134
738
+ #: pro/classes/views/displays/form.php:77
739
+ #: pro/classes/views/displays/list.php:31
740
+ #: pro/classes/views/displays/list.php:84
741
+ #@ formidable
742
+ msgid "Description"
743
+ msgstr ""
744
+
745
+ #: classes/views/frm-forms/default-templates.php:12
746
+ #@ formidable
747
+ msgid "No Templates Found"
748
+ msgstr ""
749
+
750
+ #: classes/views/frm-forms/default-templates.php:19
751
+ #@ formidable
752
+ msgid "Preview"
753
+ msgstr ""
754
+
755
+ #: classes/views/frm-forms/default-templates.php:22
756
+ #: classes/views/frm-forms/list.php:67
757
+ #: classes/views/frm-forms/list.php:100
758
+ #: pro/classes/views/displays/form.php:256
759
+ #: pro/classes/views/displays/list.php:63
760
+ #@ formidable
761
+ msgid "Copy"
762
+ msgstr ""
763
+
764
+ #: classes/views/frm-forms/default-templates.php:28
765
+ #: pro/classes/views/frmpro-entries/list.php:55
766
+ #@ formidable
767
+ msgid "View"
768
+ msgstr ""
769
+
770
+ #: classes/views/frm-forms/default-templates.php:45
771
+ #@ formidable
772
+ msgid "Custom Templates"
773
+ msgstr ""
774
+
775
+ #: classes/views/frm-forms/edit.php:3
776
+ #: pro/classes/controllers/FrmProEntriesController.php:117
777
+ #@ formidable
778
+ msgid "Edit Form"
779
+ msgstr ""
780
+
781
+ #: classes/views/frm-forms/edit.php:16
782
+ #: classes/views/frm-forms/edit.php:29
783
+ #: pro/classes/controllers/FrmProDisplaysController.php:342
784
+ #: pro/classes/models/FrmProSettings.php:183
785
+ #@ formidable
786
+ msgid "Update"
787
+ msgstr ""
788
+
789
+ #: classes/views/frm-forms/edit.php:17
790
+ #: classes/views/frm-forms/edit.php:30
791
+ #: classes/views/frm-forms/new-selection.php:10
792
+ #: classes/views/frm-forms/new.php:20
793
+ #: pro/classes/views/displays/form.php:280
794
+ #: pro/classes/views/frmpro-entries/edit.php:24
795
+ #: pro/classes/views/frmpro-entries/new.php:20
796
+ #@ formidable
797
+ msgid "or"
798
+ msgstr ""
799
+
800
+ #: classes/views/frm-forms/edit.php:18
801
+ #: classes/views/frm-forms/edit.php:31
802
+ #: classes/views/frm-forms/new.php:21
803
+ #: pro/classes/views/displays/form.php:39
804
+ #: pro/classes/views/displays/form.php:281
805
+ #: pro/classes/views/frmpro-entries/edit.php:25
806
+ #: pro/classes/views/frmpro-entries/new.php:21
807
+ #@ formidable
808
+ msgid "Cancel"
809
+ msgstr ""
810
+
811
+ #: classes/views/frm-forms/footer.php:11
812
+ #@ formidable
813
+ msgid "(Click here to add form description or instructions)"
814
+ msgstr ""
815
+
816
+ #: classes/views/frm-forms/footer.php:35
817
+ #: pro/classes/helpers/FrmProEntriesHelper.php:45
818
+ #: pro/classes/views/settings/formroller.php:511
819
+ #@ formidable
820
+ msgid "Loading..."
821
+ msgstr ""
822
+
823
+ #: classes/views/frm-forms/footer.php:52
824
+ #@ formidable
825
+ msgid "Are you sure you want to delete this field and all data associated with it?"
826
+ msgstr ""
827
+
828
+ #: classes/views/frm-forms/form.php:24
829
+ #@ formidable
830
+ msgid "Advanced Form Options"
831
+ msgstr ""
832
+
833
+ #: classes/views/frm-forms/form.php:30
834
+ #@ formidable
835
+ msgid "Form ShortCodes"
836
+ msgstr ""
837
+
838
+ #: classes/views/frm-forms/form.php:30
839
+ #@ formidable
840
+ msgid "Key and id are generally synonymous. For more information on using this shortcode, click now."
841
+ msgstr ""
842
+
843
+ #: classes/views/frm-forms/form.php:35
844
+ #: classes/views/frm-forms/form.php:123
845
+ #@ formidable
846
+ msgid "Form Key"
847
+ msgstr ""
848
+
849
+ #: classes/views/frm-forms/form.php:39
850
+ #@ formidable
851
+ msgid "Styling"
852
+ msgstr ""
853
+
854
+ #: classes/views/frm-forms/form.php:41
855
+ #@ formidable
856
+ msgid "Use Formidable styling for this form"
857
+ msgstr ""
858
+
859
+ #: classes/views/frm-forms/form.php:44
860
+ #@ formidable
861
+ msgid "Submit Button Text"
862
+ msgstr ""
863
+
864
+ #: classes/views/frm-forms/form.php:48
865
+ #@ formidable
866
+ msgid "Action After Form Submission"
867
+ msgstr ""
868
+
869
+ #: classes/views/frm-forms/form.php:50
870
+ #@ formidable
871
+ msgid "To use the second two options, you must upgrade to Formidable Pro."
872
+ msgstr ""
873
+
874
+ #: classes/views/frm-forms/form.php:54
875
+ #@ formidable
876
+ msgid "Display a Message"
877
+ msgstr ""
878
+
879
+ #: classes/views/frm-forms/form.php:55
880
+ #@ formidable
881
+ msgid "Display content from another page"
882
+ msgstr ""
883
+
884
+ #: classes/views/frm-forms/form.php:56
885
+ #@ formidable
886
+ msgid "Redirect"
887
+ msgstr ""
888
+
889
+ #: classes/views/frm-forms/form.php:60
890
+ #@ formidable
891
+ msgid "Confirmation Message"
892
+ msgstr ""
893
+
894
+ #: classes/views/frm-forms/form.php:63
895
+ #@ formidable
896
+ msgid "Show the form with the success message."
897
+ msgstr ""
898
+
899
+ #: classes/views/frm-forms/form.php:70
900
+ #@ formidable
901
+ msgid "Use Akismet to check entries for spam"
902
+ msgstr ""
903
+
904
+ #: classes/views/frm-forms/form.php:80
905
+ #@ formidable
906
+ msgid "Form Notification Options"
907
+ msgstr ""
908
+
909
+ #: classes/views/frm-forms/form.php:86
910
+ #@ formidable
911
+ msgid "Email Form Responses to"
912
+ msgstr ""
913
+
914
+ #: classes/views/frm-forms/form.php:86
915
+ #@ formidable
916
+ msgid "To send to multiple addresses, separate each address with a comma"
917
+ msgstr ""
918
+
919
+ #: classes/views/frm-forms/form.php:99
920
+ #@ formidable
921
+ msgid "Before Fields"
922
+ msgstr ""
923
+
924
+ #: classes/views/frm-forms/form.php:114
925
+ #@ formidable
926
+ msgid "After Fields"
927
+ msgstr ""
928
+
929
+ #: classes/views/frm-forms/form.php:121
930
+ #@ formidable
931
+ msgid "Form Name"
932
+ msgstr ""
933
+
934
+ #: classes/views/frm-forms/form.php:122
935
+ #@ formidable
936
+ msgid "Form Description"
937
+ msgstr ""
938
+
939
+ #: classes/views/frm-forms/form.php:127
940
+ #@ formidable
941
+ msgid "Field Id"
942
+ msgstr ""
943
+
944
+ #: classes/views/frm-forms/form.php:128
945
+ #: pro/classes/views/displays/tags.php:14
946
+ #: pro/classes/views/frmpro-fields/options-form.php:210
947
+ #@ formidable
948
+ msgid "Field Key"
949
+ msgstr ""
950
+
951
+ #: classes/views/frm-forms/form.php:129
952
+ #@ formidable
953
+ msgid "Field Name"
954
+ msgstr ""
955
+
956
+ #: classes/views/frm-forms/form.php:130
957
+ #: pro/classes/views/settings/formroller.php:92
958
+ #@ formidable
959
+ msgid "Field Description"
960
+ msgstr ""
961
+
962
+ #: classes/views/frm-forms/form.php:132
963
+ #@ formidable
964
+ msgid "Required label"
965
+ msgstr ""
966
+
967
+ #: classes/views/frm-forms/form.php:133
968
+ #@ formidable
969
+ msgid "Input Field"
970
+ msgstr ""
971
+
972
+ #: classes/views/frm-forms/form.php:134
973
+ #@ formidable
974
+ msgid "Show a single radio or checkbox option by replacing \"1\" with the order of the option"
975
+ msgstr ""
976
+
977
+ #: classes/views/frm-forms/form.php:135
978
+ #@ formidable
979
+ msgid "Hide the option labels"
980
+ msgstr ""
981
+
982
+ #: classes/views/frm-forms/form.php:137
983
+ #@ formidable
984
+ msgid "Add class name if field is required"
985
+ msgstr ""
986
+
987
+ #: classes/views/frm-forms/form.php:138
988
+ #@ formidable
989
+ msgid "Add class name if field has an error on form submit"
990
+ msgstr ""
991
+
992
+ #: classes/views/frm-forms/insert_form_popup.php:4
993
+ #@ formidable
994
+ msgid "Please select a form"
995
+ msgstr ""
996
+
997
+ #: classes/views/frm-forms/insert_form_popup.php:13
998
+ #@ formidable
999
+ msgid "Please select a custom display"
1000
+ msgstr ""
1001
+
1002
+ #: classes/views/frm-forms/insert_form_popup.php:39
1003
+ #@ formidable
1004
+ msgid "Display form title"
1005
+ msgstr ""
1006
+
1007
+ #: classes/views/frm-forms/insert_form_popup.php:40
1008
+ #@ formidable
1009
+ msgid "Display form description"
1010
+ msgstr ""
1011
+
1012
+ #: classes/views/frm-forms/list.php:29
1013
+ #: classes/views/frm-forms/list.php:132
1014
+ #: pro/classes/helpers/FrmProFieldsHelper.php:561
1015
+ #: pro/classes/helpers/FrmProFieldsHelper.php:576
1016
+ #: pro/classes/views/displays/form.php:126
1017
+ #: pro/classes/views/displays/form.php:137
1018
+ #: pro/classes/views/displays/list.php:19
1019
+ #: pro/classes/views/displays/list.php:82
1020
+ #@ formidable
1021
+ msgid "ID"
1022
+ msgstr ""
1023
+
1024
+ #: classes/views/frm-forms/list.php:40
1025
+ #: classes/views/frm-forms/list.php:95
1026
+ #: classes/views/frm-forms/list.php:111
1027
+ #: classes/views/frm-forms/list.php:136
1028
+ #: pro/classes/controllers/FrmProEntriesController.php:44
1029
+ #: pro/classes/views/frmpro-entries/list.php:3
1030
+ #: pro/classes/views/shared/import_form.php:48
1031
+ #@ formidable
1032
+ msgid "Entries"
1033
+ msgstr ""
1034
+
1035
+ #: classes/views/frm-forms/list.php:41
1036
+ #: classes/views/frm-forms/list.php:137
1037
+ #@ formidable
1038
+ msgid "Direct Link"
1039
+ msgstr ""
1040
+
1041
+ #: pro/classes/views/displays/list.php:44
1042
+ #: pro/classes/views/displays/list.php:89
1043
+ #@ formidable
1044
+ msgid "ShortCode"
1045
+ msgstr ""
1046
+
1047
+ #: classes/views/frm-forms/list.php:49
1048
+ #@ formidable
1049
+ msgid "No Forms Found"
1050
+ msgstr ""
1051
+
1052
+ #: classes/views/frm-forms/list.php:60
1053
+ #: classes/views/frm-forms/list.php:68
1054
+ #: classes/views/frm-forms/list.php:81
1055
+ #: classes/views/frm-forms/list.php:88
1056
+ #: pro/classes/helpers/FrmProAppHelper.php:57
1057
+ #: pro/classes/helpers/FrmProFieldsHelper.php:639
1058
+ #: pro/classes/views/displays/list.php:62
1059
+ #: pro/classes/views/frmpro-entries/list.php:58
1060
+ #@ formidable
1061
+ msgid "Edit"
1062
+ msgstr ""
1063
+
1064
+ #: classes/views/frm-forms/list.php:72
1065
+ #: classes/views/frm-forms/list.php:105
1066
+ #, php-format
1067
+ #@ formidable
1068
+ msgid "Are you sure you want to delete your %1$s Form?"
1069
+ msgstr ""
1070
+
1071
+ #: classes/views/frm-forms/list.php:72
1072
+ #: classes/views/frm-forms/list.php:105
1073
+ #: pro/classes/helpers/FrmProAppHelper.php:124
1074
+ #: pro/classes/helpers/FrmProFieldsHelper.php:687
1075
+ #: pro/classes/views/displays/form.php:37
1076
+ #: pro/classes/views/displays/list.php:64
1077
+ #: pro/classes/views/frmpro-entries/list.php:67
1078
+ #@ formidable
1079
+ msgid "Delete"
1080
+ msgstr ""
1081
+
1082
+ #: classes/views/frm-forms/list.php:92
1083
+ #@ formidable
1084
+ msgid "New"
1085
+ msgstr ""
1086
+
1087
+ #: classes/views/frm-forms/list.php:92
1088
+ #: pro/classes/views/displays/list.php:42
1089
+ #: pro/classes/views/displays/list.php:87
1090
+ #@ formidable
1091
+ msgid "Entry"
1092
+ msgstr ""
1093
+
1094
+ #: classes/views/frm-forms/list.php:92
1095
+ #@ formidable
1096
+ msgid "New Entry"
1097
+ msgstr ""
1098
+
1099
+ #: classes/views/frm-forms/list.php:97
1100
+ #: pro/classes/controllers/FrmProStatisticsController.php:13
1101
+ #: pro/classes/controllers/FrmProStatisticsController.php:25
1102
+ #: pro/classes/views/frmpro-statistics/show.php:3
1103
+ #@ formidable
1104
+ msgid "Reports"
1105
+ msgstr ""
1106
+
1107
+ #: classes/views/frm-forms/add_field.php:6
1108
+ #: classes/views/frm-forms/list.php:100
1109
+ #: pro/classes/views/displays/list.php:63
1110
+ #: pro/classes/views/frmpro-entries/list.php:62
1111
+ #@ formidable
1112
+ msgid "Duplicate"
1113
+ msgstr ""
1114
+
1115
+ #: classes/views/frm-forms/list.php:101
1116
+ #: classes/views/frm-forms/new.php:19
1117
+ #: pro/classes/controllers/FrmProDisplaysController.php:77
1118
+ #: pro/classes/controllers/FrmProDisplaysController.php:86
1119
+ #: pro/classes/views/frmpro-entries/new.php:19
1120
+ #@ formidable
1121
+ msgid "Create"
1122
+ msgstr ""
1123
+
1124
+ #: classes/views/frm-forms/list.php:101
1125
+ #: classes/views/frm-forms/list.php:102
1126
+ #@ formidable
1127
+ msgid "Template"
1128
+ msgstr ""
1129
+
1130
+ #: classes/views/frm-forms/list.php:101
1131
+ #@ formidable
1132
+ msgid "Create Template"
1133
+ msgstr ""
1134
+
1135
+ #: classes/views/frm-forms/list.php:113
1136
+ #@ formidable
1137
+ msgid "View Form"
1138
+ msgstr ""
1139
+
1140
+ #: classes/views/frm-forms/new-field-js.php:18
1141
+ #: classes/views/frm-forms/new-option-js.php:12
1142
+ #@ formidable
1143
+ msgid "(Blank)"
1144
+ msgstr ""
1145
+
1146
+ #: classes/views/frm-forms/new-field-js.php:29
1147
+ #@ formidable
1148
+ msgid "(Click here to add optional description or instructions)"
1149
+ msgstr ""
1150
+
1151
+ #: classes/views/frm-forms/new-selection.php:4
1152
+ #: classes/views/frm-forms/new.php:3
1153
+ #@ formidable
1154
+ msgid "Create Form"
1155
+ msgstr ""
1156
+
1157
+ #: classes/views/frm-forms/new-selection.php:11
1158
+ #@ formidable
1159
+ msgid "Create New Form"
1160
+ msgstr ""
1161
+
1162
+ #: classes/views/frm-settings/form.php:13
1163
+ #: classes/views/frm-settings/form.php:136
1164
+ #@ formidable
1165
+ msgid "Update Options"
1166
+ msgstr ""
1167
+
1168
+ #: classes/views/frm-settings/form.php:17
1169
+ #@ formidable
1170
+ msgid "Preview Page"
1171
+ msgstr ""
1172
+
1173
+ #: classes/views/frm-settings/form.php:37
1174
+ #@ formidable
1175
+ msgid "Include the jQuery CSS on ALL pages"
1176
+ msgstr ""
1177
+
1178
+ #: classes/views/frm-settings/form.php:37
1179
+ #@ formidable
1180
+ 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."
1181
+ msgstr ""
1182
+
1183
+ #: classes/views/frm-settings/form.php:43
1184
+ #@ formidable
1185
+ msgid "User Permissions"
1186
+ msgstr ""
1187
+
1188
+ #: classes/views/frm-settings/form.php:43
1189
+ #@ formidable
1190
+ msgid "Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu."
1191
+ msgstr ""
1192
+
1193
+ #: classes/views/frm-settings/form.php:91
1194
+ #@ formidable
1195
+ msgid "Default Messages"
1196
+ msgstr ""
1197
+
1198
+ #: classes/views/frm-settings/form.php:91
1199
+ #@ formidable
1200
+ msgid "You can override the success message and submit button settings on individual forms."
1201
+ msgstr ""
1202
+
1203
+ #: classes/views/frm-settings/form.php:93
1204
+ #@ formidable
1205
+ msgid "Success Message"
1206
+ msgstr ""
1207
+
1208
+ #: classes/views/frm-settings/form.php:93
1209
+ #@ formidable
1210
+ msgid "The default message seen after a form is submitted."
1211
+ msgstr ""
1212
+
1213
+ #: classes/views/frm-settings/form.php:101
1214
+ #@ formidable
1215
+ msgid "The message seen when a form is submitted and passes validation, but something goes wrong. You will likely never see this error."
1216
+ msgstr ""
1217
+
1218
+ #: classes/views/frm-settings/form.php:117
1219
+ #@ formidable
1220
+ msgid "Login Message"
1221
+ msgstr ""
1222
+
1223
+ #: classes/views/frm-settings/form.php:117
1224
+ #@ formidable
1225
+ msgid "The message seen when a user who is not logged-in views a form only logged-in users can submit."
1226
+ msgstr ""
1227
+
1228
+ #: pro/classes/views/settings/formroller.php:341
1229
+ #@ formidable
1230
+ msgid "Submit Button"
1231
+ msgstr ""
1232
+
1233
+ #: classes/views/frm-settings/form.php:134
1234
+ #@ formidable
1235
+ 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."
1236
+ msgstr ""
1237
+
1238
+ #: classes/views/frm-settings/form.php:134
1239
+ #@ formidable
1240
+ msgid "Uninstall Formidable"
1241
+ msgstr ""
1242
+
1243
+ #: classes/views/frm-statistics/list.php:3
1244
+ #@ formidable
1245
+ msgid "Pro Statistics"
1246
+ msgstr ""
1247
+
1248
+ #: classes/views/frm-statistics/list.php:9
1249
+ #@ formidable
1250
+ msgid "Upgrade to Formidable Pro to get reports and statistics on your saved entries"
1251
+ msgstr ""
1252
+
1253
+ #: classes/views/shared/item-table-nav.php:8
1254
+ #, php-format
1255
+ #@ formidable
1256
+ msgid "Displaying %1$s&#8211;%2$s of %3$s"
1257
+ msgstr ""
1258
+
1259
+ #: pro/classes/controllers/FrmProAppController.php:26
1260
+ #@ formidable
1261
+ msgid "Formidable Tags"
1262
+ msgstr ""
1263
+
1264
+ #: pro/classes/controllers/FrmProAppController.php:27
1265
+ #@ formidable
1266
+ msgid "Formidable Tag"
1267
+ msgstr ""
1268
+
1269
+ #: pro/classes/controllers/FrmProDisplaysController.php:32
1270
+ #: pro/classes/views/displays/list.php:3
1271
+ #@ formidable
1272
+ msgid "Custom Display"
1273
+ msgstr ""
1274
+
1275
+ #: pro/classes/controllers/FrmProDisplaysController.php:33
1276
+ #@ formidable
1277
+ msgid "New Custom Display"
1278
+ msgstr ""
1279
+
1280
+ #: pro/classes/controllers/FrmProDisplaysController.php:40
1281
+ #@ formidable
1282
+ msgid "Setup new Custom Display Settings"
1283
+ msgstr ""
1284
+
1285
+ #: pro/classes/controllers/FrmProDisplaysController.php:91
1286
+ #@ formidable
1287
+ msgid "Custom Display settings were Successfully Created"
1288
+ msgstr ""
1289
+
1290
+ #: pro/classes/controllers/FrmProDisplaysController.php:112
1291
+ #@ formidable
1292
+ msgid "Custom Display settings were Successfully Updated"
1293
+ msgstr ""
1294
+
1295
+ #: pro/classes/controllers/FrmProDisplaysController.php:122
1296
+ #@ formidable
1297
+ msgid "Custom Display settings were Successfully Copied"
1298
+ msgstr ""
1299
+
1300
+ #: pro/classes/controllers/FrmProDisplaysController.php:126
1301
+ #@ formidable
1302
+ msgid "There was a problem creating new Entry Display settings."
1303
+ msgstr ""
1304
+
1305
+ #: pro/classes/controllers/FrmProDisplaysController.php:134
1306
+ #@ formidable
1307
+ msgid "Custom Display settings were Successfully Deleted"
1308
+ msgstr ""
1309
+
1310
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1311
+ #@ formidable
1312
+ msgid "January"
1313
+ msgstr ""
1314
+
1315
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1316
+ #@ formidable
1317
+ msgid "February"
1318
+ msgstr ""
1319
+
1320
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1321
+ #@ formidable
1322
+ msgid "March"
1323
+ msgstr ""
1324
+
1325
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1326
+ #@ formidable
1327
+ msgid "April"
1328
+ msgstr ""
1329
+
1330
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1331
+ #@ formidable
1332
+ msgid "May"
1333
+ msgstr ""
1334
+
1335
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1336
+ #@ formidable
1337
+ msgid "June"
1338
+ msgstr ""
1339
+
1340
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1341
+ #@ formidable
1342
+ msgid "July"
1343
+ msgstr ""
1344
+
1345
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1346
+ #@ formidable
1347
+ msgid "August"
1348
+ msgstr ""
1349
+
1350
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1351
+ #@ formidable
1352
+ msgid "September"
1353
+ msgstr ""
1354
+
1355
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1356
+ #@ formidable
1357
+ msgid "October"
1358
+ msgstr ""
1359
+
1360
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1361
+ #@ formidable
1362
+ msgid "November"
1363
+ msgstr ""
1364
+
1365
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1366
+ #@ formidable
1367
+ msgid "December"
1368
+ msgstr ""
1369
+
1370
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1371
+ #@ formidable
1372
+ msgid "Sunday"
1373
+ msgstr ""
1374
+
1375
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1376
+ #@ formidable
1377
+ msgid "Monday"
1378
+ msgstr ""
1379
+
1380
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1381
+ #@ formidable
1382
+ msgid "Tuesday"
1383
+ msgstr ""
1384
+
1385
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1386
+ #@ formidable
1387
+ msgid "Wednesday"
1388
+ msgstr ""
1389
+
1390
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1391
+ #@ formidable
1392
+ msgid "Thursday"
1393
+ msgstr ""
1394
+
1395
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1396
+ #@ formidable
1397
+ msgid "Friday"
1398
+ msgstr ""
1399
+
1400
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1401
+ #@ formidable
1402
+ msgid "Saturday"
1403
+ msgstr ""
1404
+
1405
+ #: pro/classes/controllers/FrmProDisplaysController.php:376
1406
+ #@ formidable
1407
+ msgid "That is not a valid custom display ID"
1408
+ msgstr ""
1409
+
1410
+ #: pro/classes/controllers/FrmProDisplaysController.php:594
1411
+ #: pro/classes/views/frmpro-entries/list.php:29
1412
+ #@ formidable
1413
+ msgid "No Entries Found"
1414
+ msgstr ""
1415
+
1416
+ #: pro/classes/controllers/FrmProEntriesController.php:46
1417
+ #@ formidable
1418
+ msgid "Create an Entry"
1419
+ msgstr ""
1420
+
1421
+ #: pro/classes/controllers/FrmProEntriesController.php:120
1422
+ #@ formidable
1423
+ msgid "Add an Entry"
1424
+ msgstr ""
1425
+
1426
+ #: pro/classes/controllers/FrmProEntriesController.php:181
1427
+ #@ formidable
1428
+ msgid "Entry was Successfully Created"
1429
+ msgstr ""
1430
+
1431
+ #: pro/classes/controllers/FrmProEntriesController.php:205
1432
+ #@ formidable
1433
+ msgid "Entry was Successfully Updated"
1434
+ msgstr ""
1435
+
1436
+ #: pro/classes/controllers/FrmProEntriesController.php:205
1437
+ #@ formidable
1438
+ msgid "Back to Entries"
1439
+ msgstr ""
1440
+
1441
+ #: pro/classes/controllers/FrmProEntriesController.php:221
1442
+ #@ formidable
1443
+ msgid "Entry was Successfully Duplicated"
1444
+ msgstr ""
1445
+
1446
+ #: pro/classes/controllers/FrmProEntriesController.php:223
1447
+ #@ formidable
1448
+ msgid "There was a problem duplicating that entry"
1449
+ msgstr ""
1450
+
1451
+ #: pro/classes/controllers/FrmProEntriesController.php:241
1452
+ #: pro/classes/controllers/FrmProEntriesController.php:348
1453
+ #@ formidable
1454
+ msgid "Entry was Successfully Destroyed"
1455
+ msgstr ""
1456
+
1457
+ #: pro/classes/controllers/FrmProEntriesController.php:256
1458
+ #@ formidable
1459
+ msgid "No entries were specified"
1460
+ msgstr ""
1461
+
1462
+ #: classes/views/frm-forms/add_field.php:6
1463
+ #@ formidable
1464
+ msgid "Duplicate Field"
1465
+ msgstr ""
1466
+
1467
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1468
+ #@ formidable
1469
+ msgid "English/Western"
1470
+ msgstr ""
1471
+
1472
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1473
+ #@ formidable
1474
+ msgid "Afrikaans"
1475
+ msgstr ""
1476
+
1477
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1478
+ #@ formidable
1479
+ msgid "Albanian"
1480
+ msgstr ""
1481
+
1482
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1483
+ #@ formidable
1484
+ msgid "Arabic"
1485
+ msgstr ""
1486
+
1487
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1488
+ #@ formidable
1489
+ msgid "Armenian"
1490
+ msgstr ""
1491
+
1492
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1493
+ #@ formidable
1494
+ msgid "Azerbaijani"
1495
+ msgstr ""
1496
+
1497
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1498
+ #@ formidable
1499
+ msgid "Basque"
1500
+ msgstr ""
1501
+
1502
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1503
+ #@ formidable
1504
+ msgid "Bosnian"
1505
+ msgstr ""
1506
+
1507
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1508
+ #@ formidable
1509
+ msgid "Bulgarian"
1510
+ msgstr ""
1511
+
1512
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1513
+ #@ formidable
1514
+ msgid "Catalan"
1515
+ msgstr ""
1516
+
1517
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1518
+ #@ formidable
1519
+ msgid "Chinese Hong Kong"
1520
+ msgstr ""
1521
+
1522
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1523
+ #@ formidable
1524
+ msgid "Chinese Simplified"
1525
+ msgstr ""
1526
+
1527
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1528
+ #@ formidable
1529
+ msgid "Chinese Traditional"
1530
+ msgstr ""
1531
+
1532
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1533
+ #@ formidable
1534
+ msgid "Croatian"
1535
+ msgstr ""
1536
+
1537
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1538
+ #@ formidable
1539
+ msgid "Czech"
1540
+ msgstr ""
1541
+
1542
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1543
+ #@ formidable
1544
+ msgid "Danish"
1545
+ msgstr ""
1546
+
1547
+ #: classes/views/frm-settings/form.php:82
1548
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1549
+ #@ formidable
1550
+ msgid "Dutch"
1551
+ msgstr ""
1552
+
1553
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1554
+ #@ formidable
1555
+ msgid "English/UK"
1556
+ msgstr ""
1557
+
1558
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1559
+ #@ formidable
1560
+ msgid "Esperanto"
1561
+ msgstr ""
1562
+
1563
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1564
+ #@ formidable
1565
+ msgid "Estonian"
1566
+ msgstr ""
1567
+
1568
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1569
+ #@ formidable
1570
+ msgid "Faroese"
1571
+ msgstr ""
1572
+
1573
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1574
+ #@ formidable
1575
+ msgid "Farsi/Persian"
1576
+ msgstr ""
1577
+
1578
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1579
+ #@ formidable
1580
+ msgid "Finnish"
1581
+ msgstr ""
1582
+
1583
+ #: classes/views/frm-settings/form.php:82
1584
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1585
+ #@ formidable
1586
+ msgid "French"
1587
+ msgstr ""
1588
+
1589
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1590
+ #@ formidable
1591
+ msgid "French/Swiss"
1592
+ msgstr ""
1593
+
1594
+ #: classes/views/frm-settings/form.php:82
1595
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1596
+ #@ formidable
1597
+ msgid "German"
1598
+ msgstr ""
1599
+
1600
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1601
+ #@ formidable
1602
+ msgid "Greek"
1603
+ msgstr ""
1604
+
1605
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1606
+ #@ formidable
1607
+ msgid "Hebrew"
1608
+ msgstr ""
1609
+
1610
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1611
+ #@ formidable
1612
+ msgid "Hungarian"
1613
+ msgstr ""
1614
+
1615
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1616
+ #@ formidable
1617
+ msgid "Icelandic"
1618
+ msgstr ""
1619
+
1620
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1621
+ #@ formidable
1622
+ msgid "Italian"
1623
+ msgstr ""
1624
+
1625
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1626
+ #@ formidable
1627
+ msgid "Japanese"
1628
+ msgstr ""
1629
+
1630
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1631
+ #@ formidable
1632
+ msgid "Korean"
1633
+ msgstr ""
1634
+
1635
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1636
+ #@ formidable
1637
+ msgid "Latvian"
1638
+ msgstr ""
1639
+
1640
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1641
+ #@ formidable
1642
+ msgid "Lithuanian"
1643
+ msgstr ""
1644
+
1645
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1646
+ #@ formidable
1647
+ msgid "Malaysian"
1648
+ msgstr ""
1649
+
1650
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1651
+ #@ formidable
1652
+ msgid "Norwegian"
1653
+ msgstr ""
1654
+
1655
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1656
+ #@ formidable
1657
+ msgid "Polish"
1658
+ msgstr ""
1659
+
1660
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1661
+ #@ formidable
1662
+ msgid "Portuguese/Brazilian"
1663
+ msgstr ""
1664
+
1665
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1666
+ #@ formidable
1667
+ msgid "Romanian"
1668
+ msgstr ""
1669
+
1670
+ #: classes/views/frm-settings/form.php:82
1671
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1672
+ #@ formidable
1673
+ msgid "Russian"
1674
+ msgstr ""
1675
+
1676
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1677
+ #@ formidable
1678
+ msgid "Serbian"
1679
+ msgstr ""
1680
+
1681
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1682
+ #@ formidable
1683
+ msgid "Slovak"
1684
+ msgstr ""
1685
+
1686
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1687
+ #@ formidable
1688
+ msgid "Slovenian"
1689
+ msgstr ""
1690
+
1691
+ #: classes/views/frm-settings/form.php:82
1692
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1693
+ #@ formidable
1694
+ msgid "Spanish"
1695
+ msgstr ""
1696
+
1697
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1698
+ #@ formidable
1699
+ msgid "Swedish"
1700
+ msgstr ""
1701
+
1702
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1703
+ #@ formidable
1704
+ msgid "Tamil"
1705
+ msgstr ""
1706
+
1707
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1708
+ #@ formidable
1709
+ msgid "Thai"
1710
+ msgstr ""
1711
+
1712
+ #: classes/views/frm-settings/form.php:82
1713
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1714
+ #@ formidable
1715
+ msgid "Turkish"
1716
+ msgstr ""
1717
+
1718
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1719
+ #@ formidable
1720
+ msgid "Ukranian"
1721
+ msgstr ""
1722
+
1723
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1724
+ #@ formidable
1725
+ msgid "Vietnamese"
1726
+ msgstr ""
1727
+
1728
+ #: pro/classes/controllers/FrmProFormsController.php:63
1729
+ #@ formidable
1730
+ msgid "Current Date"
1731
+ msgstr ""
1732
+
1733
+ #: pro/classes/controllers/FrmProFormsController.php:64
1734
+ #@ formidable
1735
+ msgid "Current Time"
1736
+ msgstr ""
1737
+
1738
+ #: pro/classes/controllers/FrmProFormsController.php:65
1739
+ #@ formidable
1740
+ msgid "User Email"
1741
+ msgstr ""
1742
+
1743
+ #: pro/classes/controllers/FrmProFormsController.php:66
1744
+ #@ formidable
1745
+ msgid "User Login"
1746
+ msgstr ""
1747
+
1748
+ #: pro/classes/controllers/FrmProFormsController.php:67
1749
+ #@ formidable
1750
+ msgid "User Display Name"
1751
+ msgstr ""
1752
+
1753
+ #: pro/classes/controllers/FrmProFormsController.php:68
1754
+ #@ formidable
1755
+ msgid "User First Name"
1756
+ msgstr ""
1757
+
1758
+ #: pro/classes/controllers/FrmProFormsController.php:69
1759
+ #@ formidable
1760
+ msgid "User Last Name"
1761
+ msgstr ""
1762
+
1763
+ #: pro/classes/controllers/FrmProFormsController.php:70
1764
+ #@ formidable
1765
+ msgid "User Meta"
1766
+ msgstr ""
1767
+
1768
+ #: pro/classes/controllers/FrmProFormsController.php:71
1769
+ #@ formidable
1770
+ msgid "Post ID"
1771
+ msgstr ""
1772
+
1773
+ #: pro/classes/controllers/FrmProFormsController.php:73
1774
+ #@ formidable
1775
+ msgid "Client IP Address"
1776
+ msgstr ""
1777
+
1778
+ #: pro/classes/controllers/FrmProFormsController.php:74
1779
+ #@ formidable
1780
+ msgid "Auto Increment"
1781
+ msgstr ""
1782
+
1783
+ #: pro/classes/controllers/FrmProFormsController.php:75
1784
+ #@ formidable
1785
+ msgid "GET/POST variable"
1786
+ msgstr ""
1787
+
1788
+ #: classes/views/frm-forms/list.php:102
1789
+ #: pro/classes/controllers/FrmProFormsController.php:100
1790
+ #@ formidable
1791
+ msgid "Export Template"
1792
+ msgstr ""
1793
+
1794
+ #: pro/classes/controllers/FrmProStatisticsController.php:226
1795
+ #@ formidable
1796
+ msgid "Completed"
1797
+ msgstr ""
1798
+
1799
+ #: pro/classes/controllers/FrmProStatisticsController.php:226
1800
+ #@ formidable
1801
+ msgid "Not Completed"
1802
+ msgstr ""
1803
+
1804
+ #: pro/classes/helpers/FrmProAppHelper.php:123
1805
+ #@ formidable
1806
+ msgid "Bulk Actions"
1807
+ msgstr ""
1808
+
1809
+ #: pro/classes/helpers/FrmProAppHelper.php:127
1810
+ #@ formidable
1811
+ msgid "Apply"
1812
+ msgstr ""
1813
+
1814
+ #: pro/classes/helpers/FrmProAppHelper.php:150
1815
+ #@ formidable
1816
+ msgid "All Fields"
1817
+ msgstr ""
1818
+
1819
+ #: pro/classes/helpers/FrmProAppHelper.php:157
1820
+ #@ formidable
1821
+ msgid "Search"
1822
+ msgstr ""
1823
+
1824
+ #: pro/classes/helpers/FrmProAppHelper.php:159
1825
+ #@ formidable
1826
+ msgid "Reset"
1827
+ msgstr ""
1828
+
1829
+ #: pro/classes/helpers/FrmProFieldsHelper.php:246
1830
+ #@ formidable
1831
+ msgid "Draft"
1832
+ msgstr ""
1833
+
1834
+ #: pro/classes/helpers/FrmProFieldsHelper.php:247
1835
+ #@ formidable
1836
+ msgid "Pending Review"
1837
+ msgstr ""
1838
+
1839
+ #: pro/classes/helpers/FrmProFieldsHelper.php:249
1840
+ #@ formidable
1841
+ msgid "Published"
1842
+ msgstr ""
1843
+
1844
+ #: pro/classes/helpers/FrmProFieldsHelper.php:250
1845
+ #@ formidable
1846
+ msgid "Scheduled"
1847
+ msgstr ""
1848
+
1849
+ #: pro/classes/helpers/FrmProFieldsHelper.php:426
1850
+ #@ formidable
1851
+ msgid "Edit Uploaded File"
1852
+ msgstr ""
1853
+
1854
+ #: pro/classes/helpers/FrmProFieldsHelper.php:550
1855
+ #@ formidable
1856
+ msgid "Select a value to insert into the box below"
1857
+ msgstr ""
1858
+
1859
+ #: pro/classes/helpers/FrmProFieldsHelper.php:552
1860
+ #@ formidable
1861
+ msgid "Entry ID"
1862
+ msgstr ""
1863
+
1864
+ #: pro/classes/helpers/FrmProFieldsHelper.php:554
1865
+ #@ formidable
1866
+ msgid "Entry Creation Date"
1867
+ msgstr ""
1868
+
1869
+ #: pro/classes/helpers/FrmProFieldsHelper.php:556
1870
+ #@ formidable
1871
+ msgid "Form Fields"
1872
+ msgstr ""
1873
+
1874
+ #: pro/classes/helpers/FrmProFieldsHelper.php:564
1875
+ #@ formidable
1876
+ msgid "Thumbnail"
1877
+ msgstr ""
1878
+
1879
+ #: pro/classes/helpers/FrmProFieldsHelper.php:565
1880
+ #@ formidable
1881
+ msgid "Medium"
1882
+ msgstr ""
1883
+
1884
+ #: pro/classes/helpers/FrmProFieldsHelper.php:566
1885
+ #@ formidable
1886
+ msgid "Large"
1887
+ msgstr ""
1888
+
1889
+ #: pro/classes/helpers/FrmProFieldsHelper.php:567
1890
+ #@ formidable
1891
+ msgid "Full Size"
1892
+ msgstr ""
1893
+
1894
+ #: pro/classes/helpers/FrmProFieldsHelper.php:588
1895
+ #@ formidable
1896
+ msgid "Helpers"
1897
+ msgstr ""
1898
+
1899
+ #: pro/classes/helpers/FrmProFieldsHelper.php:589
1900
+ #@ formidable
1901
+ msgid "Admin link to edit the entry"
1902
+ msgstr ""
1903
+
1904
+ #: pro/classes/helpers/FrmProFieldsHelper.php:591
1905
+ #@ formidable
1906
+ msgid "Link to view single page if showing dynamic entries"
1907
+ msgstr ""
1908
+
1909
+ #: pro/classes/helpers/FrmProFieldsHelper.php:595
1910
+ #@ formidable
1911
+ msgid "Add a rotating 'even' or 'odd' class"
1912
+ msgstr ""
1913
+
1914
+ #: pro/classes/helpers/FrmProFieldsHelper.php:597
1915
+ #@ formidable
1916
+ msgid "Site URL"
1917
+ msgstr ""
1918
+
1919
+ #: pro/classes/models/FrmProDisplay.php:169
1920
+ #@ formidable
1921
+ msgid "Limit must be a number"
1922
+ msgstr ""
1923
+
1924
+ #: pro/classes/models/FrmProEntryMeta.php:94
1925
+ #@ formidable
1926
+ msgid "must be unique"
1927
+ msgstr ""
1928
+
1929
+ #: pro/classes/models/FrmProField.php:19
1930
+ #@ formidable
1931
+ msgid "1 = Not Important, 10 = Very Important"
1932
+ msgstr ""
1933
+
1934
+ #: pro/classes/models/FrmProField.php:33
1935
+ #@ formidable
1936
+ msgid "Phone"
1937
+ msgstr ""
1938
+
1939
+ #: pro/classes/models/FrmProField.php:39
1940
+ #: pro/classes/models/FrmProForm.php:77
1941
+ #@ formidable
1942
+ msgid "User ID"
1943
+ msgstr ""
1944
+
1945
+ #: pro/classes/models/FrmProField.php:54
1946
+ #@ formidable
1947
+ msgid "Heading"
1948
+ msgstr ""
1949
+
1950
+ #: pro/classes/models/FrmProField.php:60
1951
+ #: pro/classes/views/displays/list.php:43
1952
+ #: pro/classes/views/displays/list.php:88
1953
+ #@ formidable
1954
+ msgid "Page"
1955
+ msgstr ""
1956
+
1957
+ #: pro/classes/models/FrmProForm.php:84
1958
+ #@ formidable
1959
+ msgid "Please insert a message for your auto responder."
1960
+ msgstr ""
1961
+
1962
+ #: pro/classes/models/FrmProForm.php:86
1963
+ #@ formidable
1964
+ msgid "That is not a valid reply-to email address for your auto responder."
1965
+ msgstr ""
1966
+
1967
+ #: pro/classes/models/FrmProSettings.php:101
1968
+ #@ formidable
1969
+ msgid "You have already submitted that form"
1970
+ msgstr ""
1971
+
1972
+ #: pro/classes/models/FrmProSettings.php:182
1973
+ #@ formidable
1974
+ msgid "Your responses were successfully saved."
1975
+ msgstr ""
1976
+
1977
+ #: pro/classes/views/displays/edit.php:7
1978
+ #: pro/classes/views/displays/new.php:7
1979
+ #@ formidable
1980
+ msgid "Get Help with This Page"
1981
+ msgstr ""
1982
+
1983
+ #: pro/classes/views/displays/form.php:26
1984
+ #@ formidable
1985
+ msgid "Save to get ID"
1986
+ msgstr ""
1987
+
1988
+ #: pro/classes/views/settings/formroller.php:320
1989
+ #@ formidable
1990
+ msgid "Calendar"
1991
+ msgstr ""
1992
+
1993
+ #: pro/classes/views/displays/form.php:112
1994
+ #@ formidable
1995
+ msgid "Date Field"
1996
+ msgstr ""
1997
+
1998
+ #: pro/classes/views/displays/form.php:114
1999
+ #: pro/classes/views/displays/form.php:204
2000
+ #: pro/classes/views/displays/where_row.php:5
2001
+ #@ formidable
2002
+ msgid "Entry creation date"
2003
+ msgstr ""
2004
+
2005
+ #: pro/classes/views/displays/form.php:92
2006
+ #@ formidable
2007
+ msgid "Use Entries from Form"
2008
+ msgstr ""
2009
+
2010
+ #: pro/classes/views/displays/form.php:96
2011
+ #@ formidable
2012
+ msgid "Select Entry"
2013
+ msgstr ""
2014
+
2015
+ #: pro/classes/views/displays/form.php:96
2016
+ #@ formidable
2017
+ msgid "The first one depending on the Order specified below"
2018
+ msgstr ""
2019
+
2020
+ #: pro/classes/views/displays/form.php:153
2021
+ #@ formidable
2022
+ msgid "Before Content"
2023
+ msgstr ""
2024
+
2025
+ #: pro/classes/views/displays/form.php:153
2026
+ #@ formidable
2027
+ msgid "This content will not be repeated. This would be a good place to put any HTML table tags."
2028
+ msgstr ""
2029
+
2030
+ #: pro/classes/views/displays/form.php:148
2031
+ #: pro/classes/views/displays/form.php:160
2032
+ #: pro/classes/views/frmpro-fields/options-form.php:109
2033
+ #@ formidable
2034
+ msgid "Content"
2035
+ msgstr ""
2036
+
2037
+ #: pro/classes/views/displays/form.php:160
2038
+ #@ formidable
2039
+ 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."
2040
+ msgstr ""
2041
+
2042
+ #: pro/classes/views/displays/form.php:172
2043
+ #@ formidable
2044
+ msgid "After Content"
2045
+ msgstr ""
2046
+
2047
+ #: pro/classes/views/displays/form.php:172
2048
+ #@ formidable
2049
+ msgid "This content will not be repeated. This would be a good place to close any HTML tags from the Before Content field."
2050
+ msgstr ""
2051
+
2052
+ #: pro/classes/views/displays/form.php:179
2053
+ #@ formidable
2054
+ msgid "Dynamic Content"
2055
+ msgstr ""
2056
+
2057
+ #: pro/classes/views/displays/form.php:179
2058
+ #, php-format
2059
+ #@ formidable
2060
+ 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."
2061
+ msgstr ""
2062
+
2063
+ #: pro/classes/views/displays/form.php:12
2064
+ #@ formidable
2065
+ msgid "After page content"
2066
+ msgstr ""
2067
+
2068
+ #: pro/classes/views/displays/form.php:13
2069
+ #@ formidable
2070
+ msgid "Before page content"
2071
+ msgstr ""
2072
+
2073
+ #: pro/classes/views/displays/form.php:20
2074
+ #@ formidable
2075
+ msgid "If you would like the content to be inserted automatically, you must then select the page in which to insert it."
2076
+ msgstr ""
2077
+
2078
+ #: pro/classes/views/displays/form.php:121
2079
+ #@ formidable
2080
+ msgid "Detail Link"
2081
+ msgstr ""
2082
+
2083
+ #: pro/classes/views/displays/form.php:121
2084
+ #, php-format
2085
+ #@ formidable
2086
+ 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."
2087
+ msgstr ""
2088
+
2089
+ #: pro/classes/views/displays/form.php:129
2090
+ #, php-format
2091
+ #@ formidable
2092
+ 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"
2093
+ msgstr ""
2094
+
2095
+ #: pro/classes/views/displays/form.php:131
2096
+ #@ formidable
2097
+ msgid "Parameter Name"
2098
+ msgstr ""
2099
+
2100
+ #: pro/classes/views/displays/form.php:134
2101
+ #@ formidable
2102
+ msgid "Parameter Value"
2103
+ msgstr ""
2104
+
2105
+ #: pro/classes/views/displays/form.php:203
2106
+ #@ formidable
2107
+ msgid "Random"
2108
+ msgstr ""
2109
+
2110
+ #: pro/classes/views/displays/form.php:210
2111
+ #@ formidable
2112
+ msgid "Ascending"
2113
+ msgstr ""
2114
+
2115
+ #: pro/classes/views/displays/form.php:211
2116
+ #@ formidable
2117
+ msgid "Descending"
2118
+ msgstr ""
2119
+
2120
+ #: pro/classes/views/displays/form.php:218
2121
+ #@ formidable
2122
+ msgid "Narrow down which entries will be used."
2123
+ msgstr ""
2124
+
2125
+ #: pro/classes/views/displays/form.php:238
2126
+ #@ formidable
2127
+ 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."
2128
+ msgstr ""
2129
+
2130
+ #: pro/classes/views/displays/form.php:247
2131
+ #@ formidable
2132
+ msgid "The number of entries to show per page. Leave blank to not use pagination."
2133
+ msgstr ""
2134
+
2135
+ #: pro/classes/views/displays/form.php:257
2136
+ #@ formidable
2137
+ msgid "Copy these display settings to other blogs when Formidable Pro is activated. Note: Use only field keys in the content box(es) below."
2138
+ msgstr ""
2139
+
2140
+ #: pro/classes/views/displays/list.php:41
2141
+ #: pro/classes/views/displays/list.php:86
2142
+ #: pro/classes/widgets/FrmPollResults.php:40
2143
+ #: pro/classes/widgets/FrmShowForm.php:46
2144
+ #@ formidable
2145
+ msgid "Form"
2146
+ msgstr ""
2147
+
2148
+ #: pro/classes/views/displays/list.php:50
2149
+ #@ formidable
2150
+ msgid "No Records Found"
2151
+ msgstr ""
2152
+
2153
+ #: pro/classes/views/displays/list.php:64
2154
+ #, php-format
2155
+ #@ formidable
2156
+ msgid "Are you sure you want to delete your %1$s display data?"
2157
+ msgstr ""
2158
+
2159
+ #: pro/classes/views/displays/tags.php:5
2160
+ #: pro/classes/views/displays/tags.php:14
2161
+ #: pro/classes/views/displays/tags.php:24
2162
+ #@ formidable
2163
+ msgid "Add"
2164
+ msgstr ""
2165
+
2166
+ #: pro/classes/views/displays/tags.php:6
2167
+ #: pro/classes/views/displays/tags.php:15
2168
+ #: pro/classes/views/displays/tags.php:25
2169
+ #: pro/classes/views/settings/form.php:37
2170
+ #@ formidable
2171
+ msgid "Example"
2172
+ msgstr ""
2173
+
2174
+ #: pro/classes/views/displays/tags.php:13
2175
+ #@ formidable
2176
+ msgid "Linked Entry id: id, Entry key: key, Linked entry created at: created_at, a field from the entry: use the id or key from the field in you other form."
2177
+ msgstr ""
2178
+
2179
+ #: pro/classes/views/displays/tags.php:14
2180
+ #@ formidable
2181
+ msgid "Field ID"
2182
+ msgstr ""
2183
+
2184
+ #: pro/classes/views/displays/tags.php:26
2185
+ #@ formidable
2186
+ msgid "Leave blank instead of defaulting to User Login"
2187
+ msgstr ""
2188
+
2189
+ #: pro/classes/views/displays/tags.php:39
2190
+ #@ formidable
2191
+ msgid "Replaces spaces with dashes and lowercases all. Use if adding an HTML class or ID"
2192
+ msgstr ""
2193
+
2194
+ #: pro/classes/views/displays/tags.php:40
2195
+ #@ formidable
2196
+ msgid "Replaces all HTML entities with a URL safe string."
2197
+ msgstr ""
2198
+
2199
+ #: pro/classes/views/displays/tags.php:41
2200
+ #@ formidable
2201
+ msgid "Truncate text with a link to view more. If using Both (dynamic), the link goes to the detail page. Otherwise, it will show in-place."
2202
+ msgstr ""
2203
+
2204
+ #: pro/classes/views/displays/tags.php:42
2205
+ #@ formidable
2206
+ msgid "Specify the more link text."
2207
+ msgstr ""
2208
+
2209
+ #: pro/classes/views/displays/where_options.php:19
2210
+ #@ formidable
2211
+ msgid "Date options: 'NOW' or a date in yyyy-mm-dd format."
2212
+ msgstr ""
2213
+
2214
+ #: pro/classes/views/displays/where_row.php:8
2215
+ #@ formidable
2216
+ msgid "is"
2217
+ msgstr ""
2218
+
2219
+ #: pro/classes/views/displays/where_row.php:10
2220
+ #@ formidable
2221
+ msgid "equal to"
2222
+ msgstr ""
2223
+
2224
+ #: pro/classes/views/displays/where_row.php:11
2225
+ #@ formidable
2226
+ msgid "NOT equal to"
2227
+ msgstr ""
2228
+
2229
+ #: pro/classes/views/displays/where_row.php:12
2230
+ #@ formidable
2231
+ msgid "greater than"
2232
+ msgstr ""
2233
+
2234
+ #: pro/classes/views/displays/where_row.php:13
2235
+ #@ formidable
2236
+ msgid "less than"
2237
+ msgstr ""
2238
+
2239
+ #: pro/classes/views/displays/where_row.php:14
2240
+ #@ formidable
2241
+ msgid "like"
2242
+ msgstr ""
2243
+
2244
+ #: pro/classes/views/frmpro-entries/edit.php:3
2245
+ #@ formidable
2246
+ msgid "Edit Entry"
2247
+ msgstr ""
2248
+
2249
+ #: pro/classes/controllers/FrmProEntriesController.php:939
2250
+ #: pro/classes/views/frmpro-entries/list.php:67
2251
+ #@ default
2252
+ #@ formidable
2253
+ msgid "Are you sure you want to delete that entry?"
2254
+ msgstr ""
2255
+
2256
+ #: pro/classes/views/frmpro-entries/list.php:91
2257
+ #@ formidable
2258
+ msgid "Download CSV for"
2259
+ msgstr ""
2260
+
2261
+ #: pro/classes/views/frmpro-entries/new-selection.php:4
2262
+ #@ formidable
2263
+ msgid "Create Entry"
2264
+ msgstr ""
2265
+
2266
+ #: pro/classes/views/frmpro-entries/new-selection.php:8
2267
+ #@ formidable
2268
+ msgid "Select Form for New Entry"
2269
+ msgstr ""
2270
+
2271
+ #: pro/classes/views/frmpro-entries/new.php:3
2272
+ #, php-format
2273
+ #@ formidable
2274
+ msgid "New %1$s Entry"
2275
+ msgstr ""
2276
+
2277
+ #: pro/classes/views/frmpro-entries/show.php:3
2278
+ #@ formidable
2279
+ msgid "View Entry"
2280
+ msgstr ""
2281
+
2282
+ #: pro/classes/views/frmpro-entries/show.php:12
2283
+ #: pro/classes/views/frmpro-entries/show.php:55
2284
+ #@ formidable
2285
+ msgid "Edit this entry"
2286
+ msgstr ""
2287
+
2288
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:18
2289
+ #@ formidable
2290
+ msgid "Limit selection choices to those created by the user filling out this form"
2291
+ msgstr ""
2292
+
2293
+ #: pro/classes/views/frmpro-fields/options-form.php:2
2294
+ #@ formidable
2295
+ msgid "Make this section collapsable"
2296
+ msgstr ""
2297
+
2298
+ #: pro/classes/views/frmpro-fields/options-form.php:14
2299
+ #@ formidable
2300
+ msgid "Display as"
2301
+ msgstr ""
2302
+
2303
+ #: pro/classes/views/frmpro-fields/options-form.php:16
2304
+ #@ formidable
2305
+ msgid "Just show it"
2306
+ msgstr ""
2307
+
2308
+ #: pro/classes/views/frmpro-fields/options-form.php:26
2309
+ #@ formidable
2310
+ msgid "Calendar Localization"
2311
+ msgstr ""
2312
+
2313
+ #: pro/classes/views/frmpro-fields/options-form.php:37
2314
+ #@ formidable
2315
+ msgid "Start Year"
2316
+ msgstr ""
2317
+
2318
+ #: pro/classes/views/frmpro-fields/options-form.php:45
2319
+ #@ formidable
2320
+ msgid "End Year"
2321
+ msgstr ""
2322
+
2323
+ #: pro/classes/views/frmpro-fields/options-form.php:54
2324
+ #@ formidable
2325
+ msgid "Clock Settings"
2326
+ msgstr ""
2327
+
2328
+ #: pro/classes/views/frmpro-fields/options-form.php:59
2329
+ #@ formidable
2330
+ msgid "hour clock"
2331
+ msgstr ""
2332
+
2333
+ #: pro/classes/views/frmpro-fields/options-form.php:62
2334
+ #@ formidable
2335
+ msgid "minute step"
2336
+ msgstr ""
2337
+
2338
+ #: pro/classes/views/frmpro-fields/options-form.php:67
2339
+ #@ formidable
2340
+ msgid "automatic width"
2341
+ msgstr ""
2342
+
2343
+ #: pro/classes/views/frmpro-fields/options-form.php:71
2344
+ #@ formidable
2345
+ msgid "Email Attachment"
2346
+ msgstr ""
2347
+
2348
+ #: pro/classes/views/frmpro-fields/options-form.php:72
2349
+ #@ formidable
2350
+ msgid "attach this file to the email notification"
2351
+ msgstr ""
2352
+
2353
+ #: pro/classes/views/frmpro-fields/options-form.php:75
2354
+ #@ formidable
2355
+ msgid "Number Range"
2356
+ msgstr ""
2357
+
2358
+ #: pro/classes/views/frmpro-fields/options-form.php:75
2359
+ #@ formidable
2360
+ 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."
2361
+ msgstr ""
2362
+
2363
+ #: pro/classes/views/frmpro-fields/options-form.php:76
2364
+ #@ formidable
2365
+ msgid "minimum"
2366
+ msgstr ""
2367
+
2368
+ #: pro/classes/views/frmpro-fields/options-form.php:77
2369
+ #@ formidable
2370
+ msgid "maximum"
2371
+ msgstr ""
2372
+
2373
+ #: pro/classes/views/frmpro-fields/options-form.php:78
2374
+ #@ formidable
2375
+ msgid "step"
2376
+ msgstr ""
2377
+
2378
+ #: pro/classes/views/frmpro-fields/options-form.php:81
2379
+ #@ formidable
2380
+ msgid "Range"
2381
+ msgstr ""
2382
+
2383
+ #: pro/classes/views/frmpro-fields/options-form.php:88
2384
+ #@ formidable
2385
+ msgid "to"
2386
+ msgstr ""
2387
+
2388
+ #: pro/classes/views/frmpro-fields/options-form.php:98
2389
+ #: pro/classes/views/frmpro-fields/options-form.php:119
2390
+ #: pro/classes/views/frmpro-fields/options-form.php:127
2391
+ #@ formidable
2392
+ msgid "Field Type"
2393
+ msgstr ""
2394
+
2395
+ #: pro/classes/views/frmpro-fields/options-form.php:157
2396
+ #@ formidable
2397
+ msgid "Hide this field unless the value of"
2398
+ msgstr ""
2399
+
2400
+ #: pro/classes/views/frmpro-fields/options-form.php:159
2401
+ #@ formidable
2402
+ msgid "Select Field"
2403
+ msgstr ""
2404
+
2405
+ #: pro/classes/views/frmpro-fields/options-form.php:167
2406
+ #@ formidable
2407
+ msgid "is equal to"
2408
+ msgstr ""
2409
+
2410
+ #: pro/classes/views/frmpro-fields/options-form.php:181
2411
+ #@ formidable
2412
+ msgid "Post field"
2413
+ msgstr ""
2414
+
2415
+ #: pro/classes/views/frmpro-fields/options-form.php:181
2416
+ #@ formidable
2417
+ msgid "Create a post from each form submission by selecting which part of the post this field will create. 'Custom field' is the only post field type that should be used multiple times."
2418
+ msgstr ""
2419
+
2420
+ #: pro/classes/views/frmpro-fields/options-form.php:210
2421
+ #@ formidable
2422
+ msgid "The field key can be used as an alternative to the field ID in many cases."
2423
+ msgstr ""
2424
+
2425
+ #: pro/classes/views/frmpro-fields/show.php:21
2426
+ #@ formidable
2427
+ msgid "These buttons are for illustrative purposes only. They will be functional in your form."
2428
+ msgstr ""
2429
+
2430
+ #: pro/classes/views/frmpro-fields/show.php:110
2431
+ #@ formidable
2432
+ msgid "Add a Row"
2433
+ msgstr ""
2434
+
2435
+ #: pro/classes/views/frmpro-fields/show.php:111
2436
+ #@ formidable
2437
+ msgid "Add a Column"
2438
+ msgstr ""
2439
+
2440
+ #: pro/classes/views/frmpro-forms/add_form_options.php:1
2441
+ #@ formidable
2442
+ msgid "Use Content from Page"
2443
+ msgstr ""
2444
+
2445
+ #: pro/classes/views/frmpro-forms/add_form_options.php:7
2446
+ #@ formidable
2447
+ msgid "Redirect to"
2448
+ msgstr ""
2449
+
2450
+ #: pro/classes/views/frmpro-forms/add_form_options.php:12
2451
+ #@ formidable
2452
+ msgid "Submit this Form with AJAX"
2453
+ msgstr ""
2454
+
2455
+ #: pro/classes/views/frmpro-forms/add_form_options.php:14
2456
+ #@ formidable
2457
+ msgid "Only"
2458
+ msgstr ""
2459
+
2460
+ #: pro/classes/views/frmpro-forms/add_form_options.php:22
2461
+ #@ formidable
2462
+ msgid "Can See and Submit this Form"
2463
+ msgstr ""
2464
+
2465
+ #: pro/classes/views/frmpro-forms/add_form_options.php:24
2466
+ #@ formidable
2467
+ msgid "Allow"
2468
+ msgstr ""
2469
+
2470
+ #: pro/classes/views/frmpro-forms/add_form_options.php:32
2471
+ #@ formidable
2472
+ msgid "to Edit Their Own Previous Responses"
2473
+ msgstr ""
2474
+
2475
+ #: pro/classes/views/frmpro-forms/add_form_options.php:35
2476
+ #@ formidable
2477
+ msgid "Also Allow"
2478
+ msgstr ""
2479
+
2480
+ #: pro/classes/views/frmpro-forms/add_form_options.php:43
2481
+ #@ formidable
2482
+ msgid "to Edit Responses Submitted by Anyone"
2483
+ msgstr ""
2484
+
2485
+ #: pro/classes/views/frmpro-forms/add_form_options.php:47
2486
+ #@ formidable
2487
+ msgid "Update Submit Button Text"
2488
+ msgstr ""
2489
+
2490
+ #: pro/classes/views/frmpro-forms/add_form_options.php:52
2491
+ #@ formidable
2492
+ msgid "Update Confirmation Message"
2493
+ msgstr ""
2494
+
2495
+ #: pro/classes/views/frmpro-forms/add_form_options.php:56
2496
+ #@ formidable
2497
+ msgid "Allow Only One Entry for Each"
2498
+ msgstr ""
2499
+
2500
+ #: pro/classes/views/frmpro-forms/add_form_options.php:59
2501
+ #@ formidable
2502
+ msgid "Logged-in User"
2503
+ msgstr ""
2504
+
2505
+ #: pro/classes/views/frmpro-forms/add_form_options.php:61
2506
+ #@ formidable
2507
+ msgid "Saved Cookie"
2508
+ msgstr ""
2509
+
2510
+ #: pro/classes/views/frmpro-forms/add_form_options.php:78
2511
+ #@ formidable
2512
+ msgid "Copy this form to other blogs when Formidable Pro is activated"
2513
+ msgstr ""
2514
+
2515
+ #: pro/classes/views/frmpro-forms/instructions.php:4
2516
+ #@ formidable
2517
+ msgid "Use dynamic default values by entering the shortcodes below as the default text."
2518
+ msgstr ""
2519
+
2520
+ #: pro/classes/views/frmpro-forms/instructions.php:14
2521
+ #@ formidable
2522
+ msgid "A variable from the URL or value posted from previous page."
2523
+ msgstr ""
2524
+
2525
+ #: pro/classes/views/frmpro-forms/instructions.php:18
2526
+ #@ formidable
2527
+ msgid "Replace CUSTOM with the parameter name. In url.com?product=form, the variable is 'product'. You would use [get-product] in your field."
2528
+ msgstr ""
2529
+
2530
+ #: pro/classes/views/frmpro-forms/notifications.php:3
2531
+ #@ formidable
2532
+ msgid "and/or"
2533
+ msgstr ""
2534
+
2535
+ #: pro/classes/views/frmpro-forms/notifications.php:3
2536
+ #@ formidable
2537
+ msgid "Select a user id, hidden, or email field to send a notification."
2538
+ msgstr ""
2539
+
2540
+ #: pro/classes/views/frmpro-forms/notifications.php:31
2541
+ #@ formidable
2542
+ 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. Select from Email, User ID, and hidden fields for the email. Defaults to your site name and admin email found on the WordPress General Settings page."
2543
+ msgstr ""
2544
+
2545
+ #: pro/classes/views/frmpro-forms/notifications.php:74
2546
+ #: pro/classes/views/frmpro-forms/notifications.php:132
2547
+ #@ formidable
2548
+ msgid "Email Format"
2549
+ msgstr ""
2550
+
2551
+ #: pro/classes/views/frmpro-forms/notifications.php:75
2552
+ #: pro/classes/views/frmpro-forms/notifications.php:133
2553
+ #@ formidable
2554
+ msgid "Send Plain Text"
2555
+ msgstr ""
2556
+
2557
+ #: pro/classes/views/frmpro-forms/notifications.php:85
2558
+ #@ formidable
2559
+ msgid "Leave blank to use default message."
2560
+ msgstr ""
2561
+
2562
+ #: pro/classes/views/frmpro-forms/notifications.php:92
2563
+ #@ formidable
2564
+ msgid "Append IP Address, Browser, and Referring URL to message"
2565
+ msgstr ""
2566
+
2567
+ #: pro/classes/views/frmpro-forms/notifications.php:96
2568
+ #@ formidable
2569
+ msgid "Auto Responder"
2570
+ msgstr ""
2571
+
2572
+ #: pro/classes/views/frmpro-forms/notifications.php:97
2573
+ #@ formidable
2574
+ msgid "Send an automatic response to users submitting the form"
2575
+ msgstr ""
2576
+
2577
+ #: pro/classes/views/frmpro-forms/notifications.php:101
2578
+ #@ formidable
2579
+ msgid "Email to"
2580
+ msgstr ""
2581
+
2582
+ #: pro/classes/views/frmpro-forms/notifications.php:101
2583
+ #@ formidable
2584
+ msgid "Select a user id, hidden, or email field to send the autoresponse."
2585
+ msgstr ""
2586
+
2587
+ #: pro/classes/views/frmpro-forms/notifications.php:124
2588
+ #@ formidable
2589
+ msgid "Reply to"
2590
+ msgstr ""
2591
+
2592
+ #: pro/classes/views/settings/form.php:4
2593
+ #@ formidable
2594
+ msgid "Previously Submitted Message"
2595
+ msgstr ""
2596
+
2597
+ #: pro/classes/views/settings/form.php:4
2598
+ #@ formidable
2599
+ msgid "The message seen when a user attempts to submit a form for a second time if submissions are limited."
2600
+ msgstr ""
2601
+
2602
+ #: pro/classes/views/settings/form.php:13
2603
+ #@ formidable
2604
+ msgid "Include accordion javascript"
2605
+ msgstr ""
2606
+
2607
+ #: pro/classes/views/settings/form.php:13
2608
+ #@ formidable
2609
+ msgid "If you have manually created an accordion form, be sure to include the javascript for it."
2610
+ msgstr ""
2611
+
2612
+ #: pro/classes/views/settings/form.php:18
2613
+ #@ formidable
2614
+ msgid "Keys"
2615
+ msgstr ""
2616
+
2617
+ #: pro/classes/views/settings/form.php:18
2618
+ #@ formidable
2619
+ msgid "Hide Key input fields to prevent them from being edited. Uncheck this box if you'd like to change the saved keys for use in your template."
2620
+ msgstr ""
2621
+
2622
+ #: pro/classes/views/settings/form.php:21
2623
+ #@ formidable
2624
+ msgid "Lock Field and Entry Keys"
2625
+ msgstr ""
2626
+
2627
+ #: pro/classes/views/settings/form.php:26
2628
+ #@ formidable
2629
+ msgid "Path to Extra Templates"
2630
+ msgstr ""
2631
+
2632
+ #: pro/classes/views/settings/form.php:26
2633
+ #, php-format
2634
+ #@ formidable
2635
+ 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."
2636
+ msgstr ""
2637
+
2638
+ #: pro/classes/views/settings/form.php:33
2639
+ #@ formidable
2640
+ msgid "Update Imported Templates Now"
2641
+ msgstr ""
2642
+
2643
+ #: pro/classes/views/settings/form.php:42
2644
+ #@ formidable
2645
+ msgid "Date Format"
2646
+ msgstr ""
2647
+
2648
+ #: pro/classes/views/settings/form.php:42
2649
+ #@ formidable
2650
+ msgid "Change the format of the date used in the calendar."
2651
+ msgstr ""
2652
+
2653
+ #: pro/classes/views/settings/form.php:56
2654
+ #@ formidable
2655
+ msgid "Pretty Permalinks"
2656
+ msgstr ""
2657
+
2658
+ #: pro/classes/views/settings/form.php:59
2659
+ #@ formidable
2660
+ msgid "Use pretty permalinks for entry detail links"
2661
+ msgstr ""
2662
+
2663
+ #: pro/classes/views/settings/formroller.php:22
2664
+ #: pro/classes/views/settings/formroller.php:194
2665
+ #: pro/classes/views/settings/formroller.php:226
2666
+ #: pro/classes/views/settings/formroller.php:250
2667
+ #: pro/classes/views/settings/formroller.php:396
2668
+ #: pro/classes/views/settings/formroller.php:446
2669
+ #: pro/classes/views/settings/formroller.php:472
2670
+ #@ formidable
2671
+ msgid "Border"
2672
+ msgstr ""
2673
+
2674
+ #: pro/classes/views/settings/formroller.php:27
2675
+ #: pro/classes/views/settings/formroller.php:50
2676
+ #: pro/classes/views/settings/formroller.php:100
2677
+ #: pro/classes/views/settings/formroller.php:299
2678
+ #@ formidable
2679
+ msgid "Color"
2680
+ msgstr ""
2681
+
2682
+ #: pro/classes/views/settings/formroller.php:32
2683
+ #: pro/classes/views/settings/formroller.php:165
2684
+ #: pro/classes/views/settings/formroller.php:413
2685
+ #@ formidable
2686
+ msgid "Padding"
2687
+ msgstr ""
2688
+
2689
+ #: pro/classes/views/settings/formroller.php:111
2690
+ #: pro/classes/views/settings/formroller.php:202
2691
+ #: pro/classes/views/settings/formroller.php:258
2692
+ #@ formidable
2693
+ msgid "Style"
2694
+ msgstr ""
2695
+
2696
+ #: pro/classes/views/settings/formroller.php:204
2697
+ #: pro/classes/views/settings/formroller.php:260
2698
+ #@ formidable
2699
+ msgid "solid"
2700
+ msgstr ""
2701
+
2702
+ #: pro/classes/views/settings/formroller.php:205
2703
+ #: pro/classes/views/settings/formroller.php:261
2704
+ #@ formidable
2705
+ msgid "dotted"
2706
+ msgstr ""
2707
+
2708
+ #: pro/classes/views/settings/formroller.php:206
2709
+ #: pro/classes/views/settings/formroller.php:262
2710
+ #@ formidable
2711
+ msgid "dashed"
2712
+ msgstr ""
2713
+
2714
+ #: pro/classes/views/settings/formroller.php:207
2715
+ #: pro/classes/views/settings/formroller.php:263
2716
+ #@ formidable
2717
+ msgid "double"
2718
+ msgstr ""
2719
+
2720
+ #: pro/classes/views/settings/formroller.php:198
2721
+ #: pro/classes/views/settings/formroller.php:254
2722
+ #: pro/classes/views/settings/formroller.php:400
2723
+ #@ formidable
2724
+ msgid "Thickness"
2725
+ msgstr ""
2726
+
2727
+ #: pro/classes/views/settings/formroller.php:345
2728
+ #@ formidable
2729
+ msgid "Disable submit button styling"
2730
+ msgstr ""
2731
+
2732
+ #: pro/classes/views/settings/formroller.php:347
2733
+ #@ formidable
2734
+ msgid "Note: If disabled, you may not see the change take effect until you make 2 more styling changes or click \"Update Options\"."
2735
+ msgstr ""
2736
+
2737
+ #: pro/classes/views/settings/formroller.php:513
2738
+ #@ formidable
2739
+ msgid "Templates Updated"
2740
+ msgstr ""
2741
+
2742
+ #: pro/classes/widgets/FrmListEntries.php:6
2743
+ #@ formidable
2744
+ msgid "Display a list of Formidable entries"
2745
+ msgstr ""
2746
+
2747
+ #: pro/classes/widgets/FrmListEntries.php:7
2748
+ #@ formidable
2749
+ msgid "Formidable Entries List"
2750
+ msgstr ""
2751
+
2752
+ #: pro/classes/widgets/FrmListEntries.php:133
2753
+ #: pro/classes/widgets/FrmPollResults.php:34
2754
+ #: pro/classes/widgets/FrmShowForm.php:43
2755
+ #@ formidable
2756
+ msgid "Title"
2757
+ msgstr ""
2758
+
2759
+ #: pro/classes/widgets/FrmListEntries.php:136
2760
+ #@ formidable
2761
+ msgid "Use Settings from Display"
2762
+ msgstr ""
2763
+
2764
+ #: pro/classes/widgets/FrmListEntries.php:144
2765
+ #@ formidable
2766
+ msgid "Only custom displays will show here if they are showing \"Both (Dynamic)\" data."
2767
+ msgstr ""
2768
+
2769
+ #: pro/classes/widgets/FrmListEntries.php:146
2770
+ #@ formidable
2771
+ msgid "Page if not specified in display settings"
2772
+ msgstr ""
2773
+
2774
+ #: pro/classes/widgets/FrmListEntries.php:155
2775
+ #@ formidable
2776
+ msgid "Title Field"
2777
+ msgstr ""
2778
+
2779
+ #: pro/classes/widgets/FrmListEntries.php:169
2780
+ #@ formidable
2781
+ msgid "List Entries by Category"
2782
+ msgstr ""
2783
+
2784
+ #: pro/classes/widgets/FrmListEntries.php:172
2785
+ #@ formidable
2786
+ msgid "Category Field"
2787
+ msgstr ""
2788
+
2789
+ #: pro/classes/widgets/FrmListEntries.php:187
2790
+ #@ formidable
2791
+ msgid "Show Entry Counts"
2792
+ msgstr ""
2793
+
2794
+ #: pro/classes/widgets/FrmListEntries.php:190
2795
+ #@ formidable
2796
+ msgid "Show Only Category Name"
2797
+ msgstr ""
2798
+
2799
+ #: pro/classes/widgets/FrmListEntries.php:193
2800
+ #@ formidable
2801
+ msgid "Show Entries Beneath Categories"
2802
+ msgstr ""
2803
+
2804
+ #: pro/classes/widgets/FrmListEntries.php:196
2805
+ #@ formidable
2806
+ msgid "Entry Limit (leave blank to list all)"
2807
+ msgstr ""
2808
+
2809
+ #: pro/classes/widgets/FrmPollResults.php:6
2810
+ #@ formidable
2811
+ msgid "Display a Formidable Form with the poll results after submission"
2812
+ msgstr ""
2813
+
2814
+ #: pro/classes/widgets/FrmPollResults.php:7
2815
+ #@ formidable
2816
+ msgid "Formidable Poll & Results"
2817
+ msgstr ""
2818
+
2819
+ #: pro/classes/widgets/FrmPollResults.php:38
2820
+ #: pro/classes/widgets/FrmShowForm.php:51
2821
+ #@ formidable
2822
+ msgid "Show Description"
2823
+ msgstr ""
2824
+
2825
+ #: pro/classes/widgets/FrmShowForm.php:6
2826
+ #@ formidable
2827
+ msgid "Display a Formidable Form"
2828
+ msgstr ""
2829
+
2830
+ #: pro/classes/widgets/FrmShowForm.php:7
2831
+ #@ formidable
2832
+ msgid "Formidable Form"
2833
+ msgstr ""
2834
+
2835
+ #: pro/classes/widgets/FrmShowForm.php:54
2836
+ #@ formidable
2837
+ msgid "Fit Select Boxes into SideBar"
2838
+ msgstr ""
2839
+
2840
+ #: pro/classes/widgets/FrmShowForm.php:57
2841
+ #@ formidable
2842
+ msgid "If your text fields are too big for your sidebar, insert a size here. If the field doesn't change after saving this widget, it is probably getting overridden in your field settings. To correct this, edit the form and remove the number in the 'Size' field option."
2843
+ msgstr ""
2844
+
2845
+ #: pro/classes/controllers/FrmProDisplaysController.php:93
2846
+ #@ formidable
2847
+ msgid "Oops! There was a problem saving your Custom Display Settings. Please try deactivating and reactivating Formidable to correct the problem."
2848
+ msgstr ""
2849
+
2850
+ #: pro/classes/controllers/FrmProEntriesController.php:112
2851
+ #@ formidable
2852
+ msgid "Entries from:"
2853
+ msgstr ""
2854
+
2855
+ #: classes/helpers/FrmFieldsHelper.php:220
2856
+ #: classes/helpers/FrmFieldsHelper.php:226
2857
+ #@ formidable
2858
+ msgid "not"
2859
+ msgstr ""
2860
+
2861
+ #: classes/views/frm-forms/insert_form_popup.php:35
2862
+ #@ formidable
2863
+ msgid "Select a form to insert"
2864
+ msgstr ""
2865
+
2866
+ #: classes/views/frm-forms/insert_form_popup.php:47
2867
+ #@ formidable
2868
+ msgid "Select custom display settings to insert"
2869
+ msgstr ""
2870
+
2871
+ #: classes/views/frm-forms/insert_form_popup.php:58
2872
+ #@ formidable
2873
+ msgid "Filter shortcodes within the custom display content"
2874
+ msgstr ""
2875
+
2876
+ #: classes/views/frm-forms/insert_form_popup.php:59
2877
+ #@ formidable
2878
+ msgid "Note: In some cases, this option can create an infinite loop"
2879
+ msgstr ""
2880
+
2881
+ #: classes/views/frm-forms/insert_form_popup.php:65
2882
+ #@ formidable
2883
+ msgid "Insert a search box"
2884
+ msgstr ""
2885
+
2886
+ #: classes/views/frm-forms/list.php:102
2887
+ #: pro/classes/views/shared/import_form.php:37
2888
+ #@ formidable
2889
+ msgid "Export"
2890
+ msgstr ""
2891
+
2892
+ #: pro/classes/views/frmpro-forms/notifications.php:31
2893
+ #@ formidable
2894
+ msgid "From/Reply to"
2895
+ msgstr ""
2896
+
2897
+ #: pro/classes/views/settings/formroller.php:9
2898
+ #@ formidable
2899
+ msgid "General"
2900
+ msgstr ""
2901
+
2902
+ #: pro/classes/views/settings/formroller.php:13
2903
+ #: pro/classes/views/settings/formroller.php:75
2904
+ #: pro/classes/views/settings/formroller.php:123
2905
+ #@ formidable
2906
+ msgid "Align"
2907
+ msgstr ""
2908
+
2909
+ #: pro/classes/views/settings/formroller.php:15
2910
+ #: pro/classes/views/settings/formroller.php:77
2911
+ #: pro/classes/views/settings/formroller.php:125
2912
+ #@ formidable
2913
+ msgid "left"
2914
+ msgstr ""
2915
+
2916
+ #: pro/classes/views/settings/formroller.php:16
2917
+ #: pro/classes/views/settings/formroller.php:78
2918
+ #: pro/classes/views/settings/formroller.php:126
2919
+ #@ formidable
2920
+ msgid "right"
2921
+ msgstr ""
2922
+
2923
+ #: pro/classes/views/settings/formroller.php:17
2924
+ #@ formidable
2925
+ msgid "center"
2926
+ msgstr ""
2927
+
2928
+ #: pro/classes/views/settings/formroller.php:42
2929
+ #@ formidable
2930
+ msgid "Label Settings"
2931
+ msgstr ""
2932
+
2933
+ #: pro/classes/views/settings/formroller.php:46
2934
+ #: pro/classes/views/settings/formroller.php:96
2935
+ #: pro/classes/views/settings/formroller.php:295
2936
+ #@ formidable
2937
+ msgid "Family"
2938
+ msgstr ""
2939
+
2940
+ #: pro/classes/views/settings/formroller.php:54
2941
+ #: pro/classes/views/settings/formroller.php:104
2942
+ #: pro/classes/views/settings/formroller.php:303
2943
+ #: pro/classes/views/settings/formroller.php:350
2944
+ #@ formidable
2945
+ msgid "Weight"
2946
+ msgstr ""
2947
+
2948
+ #: pro/classes/views/settings/formroller.php:61
2949
+ #: pro/classes/views/settings/formroller.php:118
2950
+ #: pro/classes/views/settings/formroller.php:155
2951
+ #: pro/classes/views/settings/formroller.php:310
2952
+ #: pro/classes/views/settings/formroller.php:363
2953
+ #: pro/classes/views/settings/formroller.php:480
2954
+ #@ formidable
2955
+ msgid "Size"
2956
+ msgstr ""
2957
+
2958
+ #: pro/classes/views/settings/formroller.php:66
2959
+ #@ formidable
2960
+ msgid "Position"
2961
+ msgstr ""
2962
+
2963
+ #: pro/classes/views/settings/formroller.php:83
2964
+ #: pro/classes/views/settings/formroller.php:160
2965
+ #: pro/classes/views/settings/formroller.php:368
2966
+ #@ formidable
2967
+ msgid "Width"
2968
+ msgstr ""
2969
+
2970
+ #: pro/classes/views/settings/formroller.php:106
2971
+ #: pro/classes/views/settings/formroller.php:113
2972
+ #: pro/classes/views/settings/formroller.php:305
2973
+ #: pro/classes/views/settings/formroller.php:352
2974
+ #@ formidable
2975
+ msgid "normal"
2976
+ msgstr ""
2977
+
2978
+ #: pro/classes/views/settings/formroller.php:107
2979
+ #: pro/classes/views/settings/formroller.php:306
2980
+ #: pro/classes/views/settings/formroller.php:353
2981
+ #@ formidable
2982
+ msgid "bold"
2983
+ msgstr ""
2984
+
2985
+ #: pro/classes/views/settings/formroller.php:114
2986
+ #@ formidable
2987
+ msgid "italic"
2988
+ msgstr ""
2989
+
2990
+ #: pro/classes/views/settings/formroller.php:136
2991
+ #@ formidable
2992
+ msgid "Corner Radius"
2993
+ msgstr ""
2994
+
2995
+ #: pro/classes/views/settings/formroller.php:140
2996
+ #: pro/classes/views/settings/formroller.php:358
2997
+ #@ formidable
2998
+ msgid "Corners"
2999
+ msgstr ""
3000
+
3001
+ #: pro/classes/views/settings/formroller.php:143
3002
+ #@ formidable
3003
+ msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
3004
+ msgstr ""
3005
+
3006
+ #: pro/classes/views/settings/formroller.php:150
3007
+ #@ formidable
3008
+ msgid "Field Settings"
3009
+ msgstr ""
3010
+
3011
+ #: pro/classes/views/settings/formroller.php:170
3012
+ #@ formidable
3013
+ msgid "Top Margin"
3014
+ msgstr ""
3015
+
3016
+ #: pro/classes/views/settings/formroller.php:180
3017
+ #@ formidable
3018
+ msgid "Field Colors"
3019
+ msgstr ""
3020
+
3021
+ #: pro/classes/views/settings/formroller.php:185
3022
+ #: pro/classes/views/settings/formroller.php:222
3023
+ #: pro/classes/views/settings/formroller.php:241
3024
+ #@ formidable
3025
+ msgid "BG color"
3026
+ msgstr ""
3027
+
3028
+ #: pro/classes/views/settings/formroller.php:189
3029
+ #: pro/classes/views/settings/formroller.php:245
3030
+ #: pro/classes/views/settings/formroller.php:386
3031
+ #: pro/classes/views/settings/formroller.php:451
3032
+ #: pro/classes/views/settings/formroller.php:476
3033
+ #@ formidable
3034
+ msgid "Text"
3035
+ msgstr ""
3036
+
3037
+ #: pro/classes/views/settings/formroller.php:217
3038
+ #@ formidable
3039
+ msgid "Field Colors: active state"
3040
+ msgstr ""
3041
+
3042
+ #: pro/classes/views/settings/formroller.php:236
3043
+ #@ formidable
3044
+ msgid "Field Colors: error state"
3045
+ msgstr ""
3046
+
3047
+ #: pro/classes/views/settings/formroller.php:272
3048
+ #@ formidable
3049
+ msgid "Radio Buttons & Check Boxes"
3050
+ msgstr ""
3051
+
3052
+ #: pro/classes/views/settings/formroller.php:277
3053
+ #@ formidable
3054
+ msgid "Radio"
3055
+ msgstr ""
3056
+
3057
+ #: pro/classes/views/settings/formroller.php:286
3058
+ #@ formidable
3059
+ msgid "Check Box"
3060
+ msgstr ""
3061
+
3062
+ #: pro/classes/views/settings/formroller.php:324
3063
+ #@ formidable
3064
+ msgid "Theme"
3065
+ msgstr ""
3066
+
3067
+ #: pro/classes/views/settings/formroller.php:373
3068
+ #@ formidable
3069
+ msgid "Height"
3070
+ msgstr ""
3071
+
3072
+ #: pro/classes/views/settings/formroller.php:378
3073
+ #: pro/classes/views/settings/formroller.php:382
3074
+ #: pro/classes/views/settings/formroller.php:441
3075
+ #: pro/classes/views/settings/formroller.php:467
3076
+ #@ formidable
3077
+ msgid "BG Color"
3078
+ msgstr ""
3079
+
3080
+ #: pro/classes/views/settings/formroller.php:391
3081
+ #@ formidable
3082
+ msgid "BG Image"
3083
+ msgstr ""
3084
+
3085
+ #: pro/classes/views/settings/formroller.php:404
3086
+ #@ formidable
3087
+ msgid "Shadow"
3088
+ msgstr ""
3089
+
3090
+ #: pro/classes/views/settings/formroller.php:409
3091
+ #@ formidable
3092
+ msgid "Margin"
3093
+ msgstr ""
3094
+
3095
+ #: pro/classes/views/settings/formroller.php:424
3096
+ #@ formidable
3097
+ msgid "Error"
3098
+ msgstr ""
3099
+
3100
+ #: pro/classes/views/settings/formroller.php:429
3101
+ #@ formidable
3102
+ msgid "Icon"
3103
+ msgstr ""
3104
+
3105
+ #: pro/classes/views/settings/formroller.php:462
3106
+ #@ formidable
3107
+ msgid "Success"
3108
+ msgstr ""
3109
+
3110
+ #: classes/views/frm-forms/edit.php:14
3111
+ #: classes/views/frm-forms/edit.php:28
3112
+ #@ formidable
3113
+ msgid "Customize Form HTML"
3114
+ msgstr ""
3115
+
3116
+ #: classes/views/frm-forms/edit.php:14
3117
+ #: classes/views/frm-forms/edit.php:28
3118
+ #@ formidable
3119
+ msgid "Advanced Users: Customize your form HTML here"
3120
+ msgstr ""
3121
+
3122
+ #: pro/classes/controllers/FrmProFormsController.php:72
3123
+ #@ formidable
3124
+ msgid "Post Title"
3125
+ msgstr ""
3126
+
3127
+ #: pro/classes/views/frmpro-fields/options-form.php:132
3128
+ #@ formidable
3129
+ msgid "Unique"
3130
+ msgstr ""
3131
+
3132
+ #: pro/classes/views/frmpro-fields/options-form.php:134
3133
+ #@ formidable
3134
+ msgid "Read Only"
3135
+ msgstr ""
3136
+
3137
+ #: classes/views/frm-settings/form.php:53
3138
+ #@ formidable
3139
+ msgid "reCAPTCHA"
3140
+ msgstr ""
3141
+
3142
+ #: classes/views/frm-settings/form.php:53
3143
+ #@ formidable
3144
+ 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."
3145
+ msgstr ""
3146
+
3147
+ #: classes/views/frm-settings/form.php:60
3148
+ #@ formidable
3149
+ msgid "Public Key"
3150
+ msgstr ""
3151
+
3152
+ #: classes/views/frm-settings/form.php:64
3153
+ #@ formidable
3154
+ msgid "Private Key"
3155
+ msgstr ""
3156
+
3157
+ #: classes/views/frm-settings/form.php:73
3158
+ #@ formidable
3159
+ msgid "reCAPTCHA Theme"
3160
+ msgstr ""
3161
+
3162
+ #: classes/views/frm-settings/form.php:75
3163
+ #@ formidable
3164
+ msgid "Red"
3165
+ msgstr ""
3166
+
3167
+ #: classes/views/frm-settings/form.php:75
3168
+ #@ formidable
3169
+ msgid "White"
3170
+ msgstr ""
3171
+
3172
+ #: classes/views/frm-settings/form.php:75
3173
+ #@ formidable
3174
+ msgid "Black Glass"
3175
+ msgstr ""
3176
+
3177
+ #: classes/views/frm-settings/form.php:75
3178
+ #@ formidable
3179
+ msgid "Clean"
3180
+ msgstr ""
3181
+
3182
+ #: classes/views/frm-settings/form.php:80
3183
+ #@ formiable
3184
+ msgid "reCAPTCHA Language"
3185
+ msgstr ""
3186
+
3187
+ #: classes/views/frm-settings/form.php:82
3188
+ #@ formidable
3189
+ msgid "English"
3190
+ msgstr ""
3191
+
3192
+ #: classes/views/frm-settings/form.php:82
3193
+ #@ formidable
3194
+ msgid "Portuguese"
3195
+ msgstr ""
3196
+
3197
+ #: classes/helpers/FrmFieldsHelper.php:36
3198
+ #@ formidable
3199
+ msgid "Hidden User ID"
3200
+ msgstr ""
3201
+
3202
+ #: classes/models/FrmSettings.php:72
3203
+ #@ formidable
3204
+ msgid "The reCAPTCHA was not entered correctly"
3205
+ msgstr ""
3206
+
3207
+ #: classes/views/frm-forms/add_field.php:48
3208
+ #, php-format
3209
+ #@ formidable
3210
+ msgid "Hint: Change colors in the %1$sFormidable settings"
3211
+ msgstr ""
3212
+
3213
+ #: classes/views/frm-forms/form.php:124
3214
+ #@ formidable
3215
+ msgid "Delete Entry Link"
3216
+ msgstr ""
3217
+
3218
+ #: classes/views/frm-settings/form.php:109
3219
+ #@ formidable
3220
+ msgid "Incorrect Captcha Message"
3221
+ msgstr ""
3222
+
3223
+ #: classes/views/frm-settings/form.php:109
3224
+ #@ formidable
3225
+ msgid "The message seen when a captcha response is either incorrect or missing."
3226
+ msgstr ""
3227
+
3228
+ #: classes/helpers/FrmAppHelper.php:167
3229
+ #: classes/models/FrmEntry.php:228
3230
+ #@ formidable
3231
+ msgid "cannot be blank"
3232
+ msgstr ""
3233
+
3234
+ #: classes/helpers/FrmFieldsHelper.php:12
3235
+ #@ formidable
3236
+ msgid "reCAPTCHA (SPAM Control)"
3237
+ msgstr ""
3238
+
3239
+ #: classes/helpers/FrmFieldsHelper.php:24
3240
+ #@ formidable
3241
+ msgid "Rich Text"
3242
+ msgstr ""
3243
+
3244
+ #: classes/helpers/FrmFieldsHelper.php:37
3245
+ #: pro/classes/models/FrmProField.php:51
3246
+ #@ formidable
3247
+ msgid "HTML"
3248
+ msgstr ""
3249
+
3250
+ #: classes/views/frm-forms/add_field.php:98
3251
+ #@ formidable
3252
+ msgid "Required Field"
3253
+ msgstr ""
3254
+
3255
+ #: classes/views/frm-forms/add_field.php:99
3256
+ #@ formidable
3257
+ msgid "Required"
3258
+ msgstr ""
3259
+
3260
+ #: classes/views/frm-forms/add_field.php:105
3261
+ #@ formidable
3262
+ msgid "Error message if field is left blank"
3263
+ msgstr ""
3264
+
3265
+ #: classes/views/frm-forms/list.php:42
3266
+ #: classes/views/frm-forms/list.php:138
3267
+ #@ formidable
3268
+ msgid "ShortCodes"
3269
+ msgstr ""
3270
+
3271
+ #: classes/views/frm-settings/form.php:125
3272
+ #@ formidable
3273
+ msgid "Default Submit Button"
3274
+ msgstr ""
3275
+
3276
+ #: pro/classes/controllers/FrmProEntriesController.php:975
3277
+ #@ formidable
3278
+ msgid "No one! You do not have permission"
3279
+ msgstr ""
3280
+
3281
+ #: pro/classes/helpers/FrmProAppHelper.php:125
3282
+ #@ formidable
3283
+ msgid "Export to XML"
3284
+ msgstr ""
3285
+
3286
+ #: pro/classes/helpers/FrmProEntriesHelper.php:40
3287
+ #@ formidable
3288
+ msgid "Resend Email Notification"
3289
+ msgstr ""
3290
+
3291
+ #: pro/classes/helpers/FrmProEntriesHelper.php:41
3292
+ #@ formidable
3293
+ msgid "Resend Autoresponse"
3294
+ msgstr ""
3295
+
3296
+ #: pro/classes/helpers/FrmProEntriesHelper.php:47
3297
+ #@ formidable
3298
+ msgid "Email Resent to"
3299
+ msgstr ""
3300
+
3301
+ #: pro/classes/models/FrmProDisplay.php:159
3302
+ #: pro/classes/views/displays/form.php:78
3303
+ #@ formidable
3304
+ msgid "This is not displayed anywhere, but is just for your reference. (optional)"
3305
+ msgstr ""
3306
+
3307
+ #: pro/classes/models/FrmProDisplay.php:163
3308
+ #@ formidable
3309
+ msgid "Content cannot be blank"
3310
+ msgstr ""
3311
+
3312
+ #: pro/classes/models/FrmProDisplay.php:166
3313
+ #@ formidable
3314
+ msgid "Page cannot be blank if you want the content inserted automatically"
3315
+ msgstr ""
3316
+
3317
+ #: pro/classes/models/FrmProDisplay.php:173
3318
+ #@ formidable
3319
+ msgid "Dynamic Content cannot be blank"
3320
+ msgstr ""
3321
+
3322
+ #: pro/classes/models/FrmProDisplay.php:177
3323
+ #@ formidable
3324
+ msgid "Parameter Name cannot be blank if content is dynamic"
3325
+ msgstr ""
3326
+
3327
+ #: pro/classes/models/FrmProDisplay.php:180
3328
+ #@ formidable
3329
+ msgid "Parameter Value cannot be blank if content is dynamic"
3330
+ msgstr ""
3331
+
3332
+ #: pro/classes/models/FrmProDisplay.php:183
3333
+ #@ formidable
3334
+ msgid "Detail Link cannot be blank if content is dynamic"
3335
+ msgstr ""
3336
+
3337
+ #: pro/classes/views/displays/edit.php:3
3338
+ #@ formidable
3339
+ msgid "Edit Custom Display Settings"
3340
+ msgstr ""
3341
+
3342
+ #: pro/classes/views/displays/form.php:4
3343
+ #@ formidable
3344
+ msgid "Shortcode Options"
3345
+ msgstr ""
3346
+
3347
+ #: pro/classes/views/displays/form.php:10
3348
+ #@ formidable
3349
+ msgid "Insert display"
3350
+ msgstr ""
3351
+
3352
+ #: pro/classes/views/displays/form.php:14
3353
+ #@ formidable
3354
+ msgid "Replace page content"
3355
+ msgstr ""
3356
+
3357
+ #: pro/classes/views/displays/form.php:15
3358
+ #@ formidable
3359
+ msgid "Don't insert automatically"
3360
+ msgstr ""
3361
+
3362
+ #: pro/classes/views/displays/form.php:19
3363
+ #@ formidable
3364
+ msgid "on page"
3365
+ msgstr ""
3366
+
3367
+ #: pro/classes/views/displays/form.php:25
3368
+ #@ formidable
3369
+ msgid "Insert on a page, post, or text widget"
3370
+ msgstr ""
3371
+
3372
+ #: pro/classes/views/displays/form.php:29
3373
+ #@ formidable
3374
+ msgid "Insert in a template"
3375
+ msgstr ""
3376
+
3377
+ #: pro/classes/views/displays/form.php:37
3378
+ #, php-format
3379
+ #@ formidable
3380
+ msgid "Are you sure you want to delete your %1$s display?"
3381
+ msgstr ""
3382
+
3383
+ #: pro/classes/views/displays/form.php:57
3384
+ #@ formidable
3385
+ msgid "Custom Display Info"
3386
+ msgstr ""
3387
+
3388
+ #: pro/classes/views/displays/form.php:69
3389
+ #@ formidable
3390
+ msgid "Display Key"
3391
+ msgstr ""
3392
+
3393
+ #: pro/classes/views/displays/form.php:88
3394
+ #@ formidable
3395
+ msgid "Form and Display Type"
3396
+ msgstr ""
3397
+
3398
+ #: pro/classes/views/displays/form.php:102
3399
+ #@ formidable
3400
+ msgid "Display Format"
3401
+ msgstr ""
3402
+
3403
+ #: pro/classes/views/displays/form.php:105
3404
+ #@ formidable
3405
+ msgid "All Entries &mdash; list all entries in the specified form"
3406
+ msgstr ""
3407
+
3408
+ #: pro/classes/views/displays/form.php:106
3409
+ #@ formidable
3410
+ msgid "Single Entry &mdash; display one entry"
3411
+ msgstr ""
3412
+
3413
+ #: pro/classes/views/displays/form.php:107
3414
+ #@ formidable
3415
+ msgid "Both (Dynamic) &mdash; list the entries that will link to a single entry page"
3416
+ msgstr ""
3417
+
3418
+ #: pro/classes/views/displays/form.php:108
3419
+ #@ formidable
3420
+ msgid "Calendar &mdash; insert entries into a calendar"
3421
+ msgstr ""
3422
+
3423
+ #: pro/classes/views/displays/form.php:153
3424
+ #: pro/classes/views/displays/form.php:172
3425
+ #@ formidable
3426
+ msgid "optional"
3427
+ msgstr ""
3428
+
3429
+ #: pro/classes/views/displays/form.php:194
3430
+ #@ formidable
3431
+ msgid "Advanced"
3432
+ msgstr ""
3433
+
3434
+ #: pro/classes/views/displays/form.php:199
3435
+ #@ formidable
3436
+ msgid "Order"
3437
+ msgstr ""
3438
+
3439
+ #: pro/classes/views/displays/form.php:217
3440
+ #@ formidable
3441
+ msgid "Where"
3442
+ msgstr ""
3443
+
3444
+ #: pro/classes/views/displays/form.php:237
3445
+ #@ formidable
3446
+ msgid "Limit"
3447
+ msgstr ""
3448
+
3449
+ #: pro/classes/views/displays/form.php:246
3450
+ #@ formidable
3451
+ msgid "Page Size"
3452
+ msgstr ""
3453
+
3454
+ #: pro/classes/views/displays/new.php:3
3455
+ #@ formidable
3456
+ msgid "Add New Custom Display Settings"
3457
+ msgstr ""
3458
+
3459
+ #: pro/classes/views/displays/tags.php:2
3460
+ #@ formidable
3461
+ msgid "Image Size"
3462
+ msgstr ""
3463
+
3464
+ #: pro/classes/views/displays/tags.php:4
3465
+ #@ formidable
3466
+ msgid "Change the displayed size of your uploaded image"
3467
+ msgstr ""
3468
+
3469
+ #: pro/classes/views/displays/tags.php:11
3470
+ #@ formidable
3471
+ msgid "Data From Entries"
3472
+ msgstr ""
3473
+
3474
+ #: pro/classes/views/displays/tags.php:13
3475
+ #@ formidable
3476
+ msgid "Specify the data shown for a \"Data From Entries\" field"
3477
+ msgstr ""
3478
+
3479
+ #: pro/classes/views/displays/tags.php:23
3480
+ #@ formidable
3481
+ msgid "Use a field other than user Display Name if there is a User ID field in your form"
3482
+ msgstr ""
3483
+
3484
+ #: pro/classes/views/displays/tags.php:32
3485
+ #@ formidable
3486
+ msgid "Other Options"
3487
+ msgstr ""
3488
+
3489
+ #: pro/classes/views/frmpro-entries/show.php:32
3490
+ #@ formidable
3491
+ msgid "Timestamp"
3492
+ msgstr ""
3493
+
3494
+ #: pro/classes/views/frmpro-entries/show.php:52
3495
+ #@ formidable
3496
+ msgid "Resend Emails"
3497
+ msgstr ""
3498
+
3499
+ #: pro/classes/views/frmpro-fields/options-form.php:136
3500
+ #@ formidable
3501
+ msgid "Admin Only"
3502
+ msgstr ""
3503
+
3504
+ #: pro/classes/views/frmpro-fields/options-form.php:144
3505
+ #@ formidable
3506
+ msgid "Calculations"
3507
+ msgstr ""
3508
+
3509
+ #: pro/classes/views/frmpro-fields/options-form.php:146
3510
+ #@ formidable
3511
+ msgid "Calculate the default value for this field"
3512
+ msgstr ""
3513
+
3514
+ #: pro/classes/views/frmpro-fields/show.php:27
3515
+ #@ formidable
3516
+ msgid "This is a placeholder for your custom HTML."
3517
+ msgstr ""
3518
+
3519
+ #: pro/classes/views/frmpro-fields/show.php:27
3520
+ #@ formidable
3521
+ msgid "You can edit this content in the field options."
3522
+ msgstr ""
3523
+
3524
+ #: pro/classes/views/frmpro-statistics/show.php:8
3525
+ #@ formidable
3526
+ msgid "Go to Report"
3527
+ msgstr ""
3528
+
3529
+ #: pro/classes/views/frmpro-statistics/show.php:24
3530
+ #@ formidable
3531
+ msgid "Response Count"
3532
+ msgstr ""
3533
+
3534
+ #: pro/classes/views/frmpro-statistics/show.php:26
3535
+ #@ formidable
3536
+ msgid "Total"
3537
+ msgstr ""
3538
+
3539
+ #: pro/classes/views/frmpro-statistics/show.php:27
3540
+ #@ formidable
3541
+ msgid "Average"
3542
+ msgstr ""
3543
+
3544
+ #: pro/classes/views/frmpro-statistics/show.php:28
3545
+ #@ formidable
3546
+ msgid "Median"
3547
+ msgstr ""
3548
+
3549
+ #: pro/classes/views/frmpro-statistics/show.php:33
3550
+ #@ formidable
3551
+ msgid "Percent of users submitted"
3552
+ msgstr ""
3553
+
3554
+ #: pro/classes/views/frmpro-statistics/show.php:35
3555
+ #@ formidable
3556
+ msgid "Users with no entry"
3557
+ msgstr ""
3558
+
3559
+ #: pro/classes/views/frmpro-statistics/show.php:36
3560
+ #@ formidable
3561
+ msgid "View Profile"
3562
+ msgstr ""
3563
+
3564
+ #: pro/classes/views/settings/form.php:10
3565
+ #@ formidable
3566
+ msgid "Include these scripts"
3567
+ msgstr ""
3568
+
3569
+ #: pro/classes/views/settings/form.php:31
3570
+ #@ formidable
3571
+ msgid "The format of that path is incorrect. Please try again."
3572
+ msgstr ""
3573
+
3574
+ #: pro/classes/views/settings/form.php:79
3575
+ #: pro/classes/views/settings/form.php:80
3576
+ #@ formidable
3577
+ msgid "Alert"
3578
+ msgstr ""
3579
+
3580
+ #: pro/classes/views/settings/form.php:79
3581
+ #: pro/classes/views/settings/form.php:80
3582
+ #@ formidable
3583
+ msgid "Sample error style"
3584
+ msgstr ""
3585
+
3586
+ #: pro/classes/views/settings/form.php:87
3587
+ #@ formidable
3588
+ msgid "Text field"
3589
+ msgstr ""
3590
+
3591
+ #: pro/classes/views/settings/form.php:88
3592
+ #: pro/classes/views/settings/form.php:94
3593
+ #@ formidable
3594
+ msgid "This is sample text"
3595
+ msgstr ""
3596
+
3597
+ #: pro/classes/views/settings/form.php:89
3598
+ #@ formidable
3599
+ msgid "A field with a description"
3600
+ msgstr ""
3601
+
3602
+ #: pro/classes/views/settings/form.php:93
3603
+ #@ formidable
3604
+ msgid "Text field with error"
3605
+ msgstr ""
3606
+
3607
+ #: pro/classes/views/settings/form.php:98
3608
+ #@ formidable
3609
+ msgid "Text field in active state"
3610
+ msgstr ""
3611
+
3612
+ #: pro/classes/views/settings/form.php:99
3613
+ #@ formidable
3614
+ msgid "The active state will be seen when the field is clicked"
3615
+ msgstr ""
3616
+
3617
+ #: pro/classes/views/settings/form.php:108
3618
+ #@ formidable
3619
+ msgid "Drop-down Select"
3620
+ msgstr ""
3621
+
3622
+ #: pro/classes/views/settings/form.php:111
3623
+ #@ formidable
3624
+ msgid "An Option"
3625
+ msgstr ""
3626
+
3627
+ #: pro/classes/views/settings/form.php:116
3628
+ #@ formidable
3629
+ msgid "Radio Buttons"
3630
+ msgstr ""
3631
+
3632
+ #: pro/classes/views/settings/form.php:117
3633
+ #: pro/classes/views/settings/form.php:123
3634
+ #@ formidable
3635
+ msgid "Option 1"
3636
+ msgstr ""
3637
+
3638
+ #: pro/classes/views/settings/form.php:118
3639
+ #: pro/classes/views/settings/form.php:124
3640
+ #@ formidable
3641
+ msgid "Option 2"
3642
+ msgstr ""
3643
+
3644
+ #: pro/classes/views/settings/form.php:122
3645
+ #@ formidable
3646
+ msgid "Check Boxes"
3647
+ msgstr ""
3648
+
3649
+ #: pro/classes/views/settings/form.php:128
3650
+ #@ formidable
3651
+ msgid "Text Area"
3652
+ msgstr ""
3653
+
3654
+ #: pro/classes/views/settings/form.php:130
3655
+ #@ formidable
3656
+ msgid "Another field with a description"
3657
+ msgstr ""
3658
+
3659
+ #: pro/classes/views/settings/form.php:134
3660
+ #@ formidable
3661
+ msgid "Rich Text Area"
3662
+ msgstr ""
3663
+
3664
+ #: pro/classes/views/shared/import_form.php:3
3665
+ #@ formidable
3666
+ msgid "Import/Export"
3667
+ msgstr ""
3668
+
3669
+ #: pro/classes/views/shared/import_form.php:13
3670
+ #@ formidable
3671
+ msgid "Import"
3672
+ msgstr ""
3673
+
3674
+ #: pro/classes/views/shared/import_form.php:15
3675
+ #@ formidable
3676
+ msgid "Upload your Formidable XML file to import the forms, entries, and custom displays into this site."
3677
+ msgstr ""
3678
+
3679
+ #: pro/classes/views/shared/import_form.php:16
3680
+ #@ formidable
3681
+ msgid "Choose a Formidable XML file to upload, then click \"Upload file and import.\""
3682
+ msgstr ""
3683
+
3684
+ #: pro/classes/views/shared/import_form.php:23
3685
+ #@ formidable
3686
+ msgid "Choose a file from your computer"
3687
+ msgstr ""
3688
+
3689
+ #: pro/classes/views/shared/import_form.php:23
3690
+ #@ formidable
3691
+ msgid "Maximum size: 32MB"
3692
+ msgstr ""
3693
+
3694
+ #: pro/classes/views/shared/import_form.php:27
3695
+ #@ formidable
3696
+ msgid "Upload file and import"
3697
+ msgstr ""
3698
+
3699
+ #: pro/classes/views/shared/import_form.php:44
3700
+ #@ formidable
3701
+ msgid "Data Types to Export"
3702
+ msgstr ""
3703
+
3704
+ #: pro/classes/views/shared/import_form.php:46
3705
+ #@ formidable
3706
+ msgid "Include the following data types in your export file"
3707
+ msgstr ""
3708
+
3709
+ #: pro/classes/views/shared/import_form.php:49
3710
+ #@ formidable
3711
+ msgid "Custom Display Settings"
3712
+ msgstr ""
3713
+
3714
+ #: pro/classes/views/shared/import_form.php:54
3715
+ #@ formidable
3716
+ msgid "Select forms (optional)"
3717
+ msgstr ""
3718
+
3719
+ #: pro/classes/views/shared/import_form.php:56
3720
+ #@ formidable
3721
+ msgid "If you would like to include ONLY specific forms and the entries and custom display settings related to those forms, select those forms here"
3722
+ msgstr ""
3723
+
3724
+ #: pro/classes/views/shared/import_form.php:64
3725
+ #@ formidable
3726
+ msgid "Export Selection"
3727
+ msgstr ""
3728
+
3729
+ #: classes/views/frm-settings/form.php:24
3730
+ #@ formidable
3731
+ msgid "Stylesheets"
3732
+ msgstr ""
3733
+
3734
+ #: classes/views/frm-settings/form.php:27
3735
+ #@ formidable
3736
+ msgid "Load Formidable styling"
3737
+ msgstr ""
3738
+
3739
+ #: classes/views/frm-settings/form.php:29
3740
+ #@ formidable
3741
+ msgid "on every page of your site"
3742
+ msgstr ""
3743
+
3744
+ #: classes/views/frm-settings/form.php:30
3745
+ #@ formidable
3746
+ msgid "only on applicable pages"
3747
+ msgstr ""
3748
+
3749
+ #: classes/views/frm-settings/form.php:31
3750
+ #@ formidable
3751
+ msgid "Don't use Formidable styling on any page"
3752
+ msgstr ""
3753
+
3754
+ #: classes/views/frm-settings/form.php:101
3755
+ #@ formidable
3756
+ msgid "Failed or Duplicate Entry Message"
3757
+ msgstr ""
3758
+
languages/formidable-pt_BR.mo ADDED
Binary file
languages/formidable-pt_BR.po ADDED
@@ -0,0 +1,3758 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: \n"
14
+ "X-Poedit-Country: \n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: \n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: classes/controllers/FrmAppController.php:57
23
+ #: classes/controllers/FrmFormsController.php:21
24
+ #: classes/views/frm-forms/list.php:3
25
+ #: pro/classes/views/shared/import_form.php:47
26
+ #@ formidable
27
+ msgid "Forms"
28
+ msgstr "Formulários"
29
+
30
+ #: classes/controllers/FrmAppController.php:60
31
+ #: classes/controllers/FrmFormsController.php:22
32
+ #@ formidable
33
+ msgid "Create a Form"
34
+ msgstr "Criar um formulário"
35
+
36
+ #: classes/controllers/FrmAppController.php:63
37
+ #: classes/controllers/FrmFormsController.php:23
38
+ #: classes/views/frm-forms/list.php:3
39
+ #@ formidable
40
+ msgid "Templates"
41
+ msgstr "Modelos"
42
+
43
+ #: classes/controllers/FrmAppController.php:69
44
+ #: classes/controllers/FrmSettingsController.php:14
45
+ #: classes/views/frm-settings/form.php:3
46
+ #@ formidable
47
+ msgid "Settings"
48
+ msgstr "Configurações"
49
+
50
+ #: classes/controllers/FrmAppController.php:84
51
+ #: classes/controllers/FrmAppController.php:114
52
+ #, php-format
53
+ #@ formidable
54
+ msgid "Your Formidable Pro installation isn't quite complete yet.<br/>%1$sAutomatically Upgrade to Enable Formidable Pro%2$s"
55
+ msgstr "Sua instalação Formidable Pro não está completa ainda.<br/> %1$sUpgrade automático para ativar Formidable Pro%2$s"
56
+
57
+ #: classes/controllers/FrmAppController.php:105
58
+ #@ formidable
59
+ msgid "Your Formidable database needs to be updated.<br/>Please deactivate and reactivate the plugin to fix this."
60
+ msgstr "Seu banco de dados Formidable precisa ser atualizado.<br/> Por favor, desativar e reativar o plugin para corrigir isso."
61
+
62
+ #: classes/controllers/FrmAppController.php:194
63
+ #@ formidable
64
+ msgid "Formidable was successfully uninstalled."
65
+ msgstr "Formidable foi desinstalado com êxito."
66
+
67
+ #: classes/controllers/FrmEntriesController.php:15
68
+ #: classes/views/frm-entries/list.php:3
69
+ #@ formidable
70
+ msgid "Pro Entries"
71
+ msgstr "Entradas Pro"
72
+
73
+ #: classes/controllers/FrmEntriesController.php:30
74
+ #@ formidable
75
+ msgid "Please select a valid form"
76
+ msgstr "Por favor selecione um formulário válido"
77
+
78
+ #: classes/controllers/FrmFormsController.php:76
79
+ #@ formidable
80
+ msgid "Form was Successfully Created"
81
+ msgstr "Formulário foi criado com sucesso"
82
+
83
+ #: classes/controllers/FrmFormsController.php:111
84
+ #@ formidable
85
+ msgid "Form was Successfully Updated"
86
+ msgstr "Formulário foi atualizado com sucesso"
87
+
88
+ #: classes/controllers/FrmFormsController.php:121
89
+ #@ formidable
90
+ msgid "Form template was Successfully Created"
91
+ msgstr "modelo de formulário foi criado com sucesso"
92
+
93
+ #: classes/controllers/FrmFormsController.php:121
94
+ #@ formidable
95
+ msgid "Form was Successfully Copied"
96
+ msgstr "Formulário foi copiado com sucesso"
97
+
98
+ #: classes/controllers/FrmFormsController.php:125
99
+ #@ formidable
100
+ msgid "There was a problem creating new template."
101
+ msgstr "Houve um problema ao criar novo modelo."
102
+
103
+ #: classes/controllers/FrmFormsController.php:170
104
+ #@ formidable
105
+ msgid "Form was Successfully Deleted"
106
+ msgstr "Formulário foi excluído com êxito"
107
+
108
+ #: classes/controllers/FrmFormsController.php:191
109
+ #@ formidable
110
+ msgid "Add Formidable Form"
111
+ msgstr "Adicionar formulário Formidable"
112
+
113
+ #: classes/controllers/FrmFormsController.php:314
114
+ #@ formidable
115
+ msgid "That template cannot be edited"
116
+ msgstr "Esse modelo não pode ser editado"
117
+
118
+ #: classes/controllers/FrmSettingsController.php:44
119
+ #@ formidable
120
+ msgid "Settings Saved"
121
+ msgstr "Configurações salvas"
122
+
123
+ #: classes/helpers/FrmAppHelper.php:44
124
+ #@ formidable
125
+ msgid "View Forms and Templates"
126
+ msgstr "Exibir formulários e modelos"
127
+
128
+ #: classes/helpers/FrmAppHelper.php:45
129
+ #@ formidable
130
+ msgid "Create/Edit Forms and Templates"
131
+ msgstr "Criar / Editar Formulários e Modelos"
132
+
133
+ #: classes/helpers/FrmAppHelper.php:46
134
+ #@ formidable
135
+ msgid "Delete Forms and Templates"
136
+ msgstr "Excluir formulários e modelos"
137
+
138
+ #: classes/helpers/FrmAppHelper.php:47
139
+ #@ formidable
140
+ msgid "Access this Settings Page"
141
+ msgstr "Acessar a página de Configurações"
142
+
143
+ #: classes/helpers/FrmAppHelper.php:50
144
+ #@ formidable
145
+ msgid "View Entries from Admin Area"
146
+ msgstr "Ver entradas da Área de Admin"
147
+
148
+ #: classes/helpers/FrmAppHelper.php:51
149
+ #@ formidable
150
+ msgid "Create Entries from Admin Area"
151
+ msgstr "Criar entradas da Área de Admin"
152
+
153
+ #: classes/helpers/FrmAppHelper.php:52
154
+ #@ formidable
155
+ msgid "Edit Entries from Admin Area"
156
+ msgstr "Editar entradas da Área de Admin"
157
+
158
+ #: classes/helpers/FrmAppHelper.php:53
159
+ #@ formidable
160
+ msgid "Delete Entries from Admin Area"
161
+ msgstr "Apagar entradas da área de Administração"
162
+
163
+ #: classes/helpers/FrmAppHelper.php:54
164
+ #@ formidable
165
+ msgid "View Reports"
166
+ msgstr "Ver relatórios"
167
+
168
+ #: classes/helpers/FrmAppHelper.php:55
169
+ #@ formidable
170
+ msgid "Create/Edit Custom Displays"
171
+ msgstr "Criar / Editar apresentações personalizadas"
172
+
173
+ #: classes/helpers/FrmAppHelper.php:169
174
+ #: pro/classes/models/FrmProEntryMeta.php:129
175
+ #@ formidable
176
+ msgid "is an invalid format"
177
+ msgstr "é um formato inválido"
178
+
179
+ #: classes/helpers/FrmFieldsHelper.php:7
180
+ #@ formidable
181
+ msgid "Text Input (One Line)"
182
+ msgstr "Entrada de texto (uma linha)"
183
+
184
+ #: classes/helpers/FrmFieldsHelper.php:8
185
+ #@ formidable
186
+ msgid "Paragraph Input (Multiple Lines)"
187
+ msgstr "Entrada de Parágrafo (várias linhas)"
188
+
189
+ #: classes/helpers/FrmFieldsHelper.php:9
190
+ #@ formidable
191
+ msgid "Multiple Selection (Check Boxes)"
192
+ msgstr "Seleção Múltipla (caixas de seleção)"
193
+
194
+ #: classes/helpers/FrmFieldsHelper.php:10
195
+ #@ formidable
196
+ msgid "Select One (Radio)"
197
+ msgstr "Selecione Um (Radio)"
198
+
199
+ #: classes/helpers/FrmFieldsHelper.php:11
200
+ #@ formidable
201
+ msgid "Drop-Down (Select)"
202
+ msgstr "Drop-Down (Select)"
203
+
204
+ #: classes/helpers/FrmFieldsHelper.php:21
205
+ #@ formidable
206
+ msgid "Section Heading"
207
+ msgstr "Título da Seção"
208
+
209
+ #: classes/helpers/FrmFieldsHelper.php:22
210
+ #@ formidable
211
+ msgid "Page Break"
212
+ msgstr "Quebra de Página"
213
+
214
+ #: classes/helpers/FrmFieldsHelper.php:23
215
+ #: pro/classes/views/settings/form.php:103
216
+ #@ formidable
217
+ msgid "File Upload"
218
+ msgstr "Upload de Arquivos"
219
+
220
+ #: classes/helpers/FrmFieldsHelper.php:25
221
+ #@ formidable
222
+ msgid "Number"
223
+ msgstr "Número"
224
+
225
+ #: classes/helpers/FrmFieldsHelper.php:26
226
+ #@ formidable
227
+ msgid "Phone Number"
228
+ msgstr "Telefone"
229
+
230
+ #: classes/helpers/FrmFieldsHelper.php:27
231
+ #: pro/classes/views/frmpro-forms/notifications.php:127
232
+ #@ formidable
233
+ msgid "Email Address"
234
+ msgstr "E-mail"
235
+
236
+ #: classes/helpers/FrmFieldsHelper.php:28
237
+ #: pro/classes/models/FrmProField.php:24
238
+ #@ formidable
239
+ msgid "Date"
240
+ msgstr "Data"
241
+
242
+ #: classes/helpers/FrmFieldsHelper.php:29
243
+ #: pro/classes/models/FrmProField.php:29
244
+ #@ formidable
245
+ msgid "Time"
246
+ msgstr "Hora"
247
+
248
+ #: classes/helpers/FrmFieldsHelper.php:30
249
+ #@ formidable
250
+ msgid "Website/URL"
251
+ msgstr "Site / URL"
252
+
253
+ #: classes/helpers/FrmFieldsHelper.php:31
254
+ #@ formidable
255
+ msgid "Image URL"
256
+ msgstr "URL da Imagem"
257
+
258
+ #: classes/helpers/FrmFieldsHelper.php:32
259
+ #@ formidable
260
+ msgid "Scale"
261
+ msgstr "Escala"
262
+
263
+ #: classes/helpers/FrmFieldsHelper.php:34
264
+ #@ formidable
265
+ msgid "Data from Entries"
266
+ msgstr "Dados de entradas"
267
+
268
+ #: classes/helpers/FrmFieldsHelper.php:35
269
+ #@ formidable
270
+ msgid "Hidden Field"
271
+ msgstr "Campo oculto"
272
+
273
+ #: classes/helpers/FrmFieldsHelper.php:38
274
+ #@ formidable
275
+ msgid "Tags"
276
+ msgstr "Tags"
277
+
278
+ #: classes/helpers/FrmFieldsHelper.php:55
279
+ #@ formidable
280
+ msgid "Untitled"
281
+ msgstr "Sem título"
282
+
283
+ #: classes/helpers/FrmFieldsHelper.php:55
284
+ #: pro/classes/models/FrmProEntryMeta.php:129
285
+ #@ formidable
286
+ msgid "Untitled is an invalid format"
287
+ msgstr "Untitled é um formato inválido"
288
+
289
+ #: classes/helpers/FrmFieldsHelper.php:220
290
+ #, php-format
291
+ #@ formidable
292
+ msgid "Set this field to %1$sclear on click"
293
+ msgstr "Defina este campo para %1$sclear ao clicar nele"
294
+
295
+ #: classes/helpers/FrmFieldsHelper.php:226
296
+ #, php-format
297
+ #@ formidable
298
+ msgid "This default value should %1$sbe considered blank"
299
+ msgstr "Este valor padrão dever ser %1$sbe considerado em branco"
300
+
301
+ #: classes/helpers/FrmFormsHelper.php:16
302
+ #: classes/views/frm-forms/default-templates.php:22
303
+ #: classes/views/frm-forms/list.php:67
304
+ #@ formidable
305
+ msgid "Create Form from Template"
306
+ msgstr "Criar um formulário a partir do modelo"
307
+
308
+ #: classes/helpers/FrmFormsHelper.php:48
309
+ #@ formidable
310
+ msgid "Untitled Form"
311
+ msgstr "Formulário sem título"
312
+
313
+ #: classes/helpers/FrmFieldsHelper.php:55
314
+ #: classes/models/FrmEntry.php:228
315
+ #@ formidable
316
+ msgid "Untitled cannot be blank"
317
+ msgstr "Sem título não pode estar em branco"
318
+
319
+ #: classes/models/FrmEntry.php:260
320
+ #@ formidable
321
+ msgid "Your entry appears to be spam!"
322
+ msgstr "Sua entrada parece ser spam!"
323
+
324
+ #: classes/models/FrmNotification.php:25
325
+ #, php-format
326
+ #@ formidable
327
+ msgid "%1$s form has been submitted on %2$s."
328
+ msgstr "Formulário %1$sbe foi enviado em %2$s."
329
+
330
+ #: classes/models/FrmNotification.php:39
331
+ #: pro/classes/models/FrmProNotification.php:139
332
+ #: pro/classes/views/displays/tags.php:21
333
+ #: pro/classes/views/frmpro-entries/show.php:35
334
+ #@ formidable
335
+ msgid "User Information"
336
+ msgstr "Informações do Usuário"
337
+
338
+ #: classes/models/FrmNotification.php:40
339
+ #: pro/classes/models/FrmProNotification.php:140
340
+ #: pro/classes/models/FrmProNotification.php:144
341
+ #: pro/classes/views/frmpro-entries/show.php:38
342
+ #: pro/classes/views/frmpro-forms/add_form_options.php:60
343
+ #@ formidable
344
+ msgid "IP Address"
345
+ msgstr "Endereço IP"
346
+
347
+ #: classes/models/FrmNotification.php:41
348
+ #: pro/classes/models/FrmProNotification.php:141
349
+ #: pro/classes/models/FrmProNotification.php:146
350
+ #: pro/classes/views/frmpro-entries/show.php:43
351
+ #@ formidable
352
+ msgid "User-Agent (Browser/OS)"
353
+ msgstr "User-agent (Browser / OS)"
354
+
355
+ #: classes/models/FrmNotification.php:42
356
+ #: pro/classes/models/FrmProNotification.php:142
357
+ #: pro/classes/models/FrmProNotification.php:148
358
+ #: pro/classes/views/frmpro-entries/show.php:47
359
+ #@ formidable
360
+ msgid "Referrer"
361
+ msgstr "Referrer"
362
+
363
+ #: classes/models/FrmNotification.php:45
364
+ #: pro/classes/models/FrmProNotification.php:160
365
+ #: pro/classes/models/FrmProNotification.php:248
366
+ #, php-format
367
+ #@ formidable
368
+ msgid "%1$s Form submitted on %2$s"
369
+ msgstr "Formulário %1$s enviado em %2$s"
370
+
371
+ #: classes/models/FrmSettings.php:90
372
+ #: classes/models/FrmSettings.php:141
373
+ #@ formidable
374
+ msgid "Your responses were successfully submitted. Thank you!"
375
+ msgstr "Suas respostas foram enviados com sucesso. Obrigado!"
376
+
377
+ #: classes/models/FrmSettings.php:94
378
+ #: classes/models/FrmSettings.php:142
379
+ #@ formidable
380
+ msgid "We're sorry. There was an error processing your responses."
381
+ msgstr "Lamentamos. Houve um erro de processamento de suas respostas."
382
+
383
+ #: classes/models/FrmSettings.php:98
384
+ #: classes/models/FrmSettings.php:143
385
+ #@ formidable
386
+ msgid "Submit"
387
+ msgstr "Enviar"
388
+
389
+ #: classes/models/FrmSettings.php:101
390
+ #@ formidable
391
+ msgid "You do not have permission to view this form."
392
+ msgstr "Você não tem permissão para visualizar este formulário."
393
+
394
+ #: classes/models/FrmSettings.php:105
395
+ #@ formidable
396
+ msgid "You do not have permission to do that"
397
+ msgstr "Você não tem permissão de fazer isso"
398
+
399
+ #: classes/models/FrmSettings.php:144
400
+ #@ formidable
401
+ msgid "You must log in"
402
+ msgstr "Você deve logar"
403
+
404
+ #: classes/models/FrmUpdate.php:132
405
+ #@ formidable
406
+ msgid "Pro Account Information"
407
+ msgstr "Informações sobre a conta Pro"
408
+
409
+ #: classes/models/FrmUpdate.php:141
410
+ #, php-format
411
+ #@ formidable
412
+ msgid "Your Username & Password was accepted<br/>Now you can %1$sUpgrade Automatically!%2$s"
413
+ msgstr "Seu Nome de Usuário e Senha foi aceito <br/> Agora você pode %1$s fazer Upgrade automaticamente!%2$s"
414
+
415
+ #: classes/models/FrmUpdate.php:149
416
+ #@ formidable
417
+ msgid "ERROR"
418
+ msgstr "ERRO"
419
+
420
+ #: classes/models/FrmUpdate.php:169
421
+ #@ formidable
422
+ msgid "Ready to take your forms to the next level?<br/>Formidable Pro will help you style forms, manage data, and get reports."
423
+ msgstr "Pronto para ter seus formulários no próximo nível? <br/> Formidable Pro vai ajudá-lo na aparência dos formulários , gerenciar dados e obter relatórios."
424
+
425
+ #: classes/models/FrmUpdate.php:171
426
+ #@ formidable
427
+ msgid "Learn More"
428
+ msgstr "Saiba mais"
429
+
430
+ #: classes/models/FrmUpdate.php:200
431
+ #@ formidable
432
+ msgid "WordPress MU"
433
+ msgstr "WordPress MU"
434
+
435
+ #: classes/models/FrmUpdate.php:203
436
+ #@ formidable
437
+ msgid "Use this username and password to enable Formidable Pro site-wide"
438
+ msgstr "Usar esse nome de usuário e senha para permitir Formidable Pro em todos os sites da rede"
439
+
440
+ #: classes/models/FrmUpdate.php:209
441
+ #@ formidable
442
+ msgid "Save"
443
+ msgstr "Salvar"
444
+
445
+ #: classes/templates/contact.php:3
446
+ #@ formidable
447
+ msgid "Contact Us"
448
+ msgstr "Fale Conosco"
449
+
450
+ #: classes/templates/contact.php:4
451
+ #@ formidable
452
+ 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."
453
+ msgstr "Nós gostaríamos de ouvir de você. Por favor, envie-nos uma mensagem preenchendo o formulário abaixo e entraremos em contato com você em breve."
454
+
455
+ #: classes/templates/contact.php:19
456
+ #: classes/views/frm-forms/default-templates.php:7
457
+ #: classes/views/frm-forms/default-templates.php:39
458
+ #: classes/views/frm-forms/list.php:22
459
+ #: classes/views/frm-forms/list.php:32
460
+ #: classes/views/frm-forms/list.php:129
461
+ #: classes/views/frm-forms/list.php:133
462
+ #: pro/classes/views/displays/form.php:61
463
+ #: pro/classes/views/displays/list.php:25
464
+ #: pro/classes/views/displays/list.php:83
465
+ #: pro/classes/views/frmpro-forms/notifications.php:125
466
+ #@ formidable
467
+ msgid "Name"
468
+ msgstr "Nome"
469
+
470
+ #: classes/templates/contact.php:21
471
+ #: pro/classes/models/FrmProDisplay.php:157
472
+ #@ formidable
473
+ msgid "Name cannot be blank"
474
+ msgstr "Nome não pode estar em branco"
475
+
476
+ #: classes/templates/contact.php:26
477
+ #: pro/classes/models/FrmProField.php:48
478
+ #@ formidable
479
+ msgid "Email"
480
+ msgstr "E-mail"
481
+
482
+ #: classes/templates/contact.php:28
483
+ #@ formidable
484
+ msgid "Email cannot be blank"
485
+ msgstr "Email não pode estar em branco"
486
+
487
+ #: classes/templates/contact.php:29
488
+ #@ formidable
489
+ msgid "Please enter a valid email address"
490
+ msgstr "Por favor insira um email válido"
491
+
492
+ #: classes/templates/contact.php:34
493
+ #: pro/classes/models/FrmProField.php:43
494
+ #@ formidable
495
+ msgid "Website"
496
+ msgstr "Website"
497
+
498
+ #: classes/templates/contact.php:35
499
+ #@ formidable
500
+ msgid "Website cannot be blank"
501
+ msgstr "Website não pode estar em branco"
502
+
503
+ #: classes/templates/contact.php:36
504
+ #@ formidable
505
+ msgid "Website is an invalid format"
506
+ msgstr "Website com formato inválido"
507
+
508
+ #: classes/templates/contact.php:41
509
+ #: pro/classes/views/frmpro-forms/notifications.php:79
510
+ #: pro/classes/views/frmpro-forms/notifications.php:137
511
+ #@ formidable
512
+ msgid "Subject"
513
+ msgstr "Assunto"
514
+
515
+ #: classes/templates/contact.php:43
516
+ #@ formidable
517
+ msgid "Subject cannot be blank"
518
+ msgstr "Assunto não pode estar em branco"
519
+
520
+ #: classes/templates/contact.php:48
521
+ #: pro/classes/views/frmpro-forms/notifications.php:85
522
+ #: pro/classes/views/frmpro-forms/notifications.php:143
523
+ #@ formidable
524
+ msgid "Message"
525
+ msgstr "Mensagem"
526
+
527
+ #: classes/templates/contact.php:50
528
+ #@ formidable
529
+ msgid "Message cannot be blank"
530
+ msgstr "Mensagem não pode estar em branco"
531
+
532
+ #: classes/templates/contact.php:55
533
+ #@ formidable
534
+ msgid "Captcha"
535
+ msgstr "Captcha"
536
+
537
+ #: classes/views/frm-entries/form.php:48
538
+ #: pro/classes/helpers/FrmProFieldsHelper.php:553
539
+ #@ formidable
540
+ msgid "Entry Key"
541
+ msgstr "Chave da Entrada"
542
+
543
+ #: classes/views/frm-entries/list.php:9
544
+ #, php-format
545
+ #@ formidable
546
+ msgid "Upgrade to %1$sFormidable Pro%2$s to view, search, export, and bulk delete your saved entries."
547
+ msgstr "Upgrade para %1$s Formidable Pro%2$s para visualizar, pesquisar, exportar e excluir as entradas salvas."
548
+
549
+ #: classes/views/frm-forms/add_field.php:26
550
+ #: classes/views/frm-forms/add_field.php:42
551
+ #@ formidable
552
+ msgid "Add an Option"
553
+ msgstr "Adicionar uma opção"
554
+
555
+ #: classes/views/frm-forms/add_field.php:72
556
+ #: classes/views/frm-forms/add_field_links.php:20
557
+ #: classes/views/frm-forms/add_field_links.php:41
558
+ #: classes/views/frm-forms/add_field_links.php:62
559
+ #: classes/views/frm-forms/form.php:23
560
+ #: classes/views/frm-forms/form.php:79
561
+ #@ formidable
562
+ msgid "Collapse"
563
+ msgstr "Recolher"
564
+
565
+ #: classes/views/frm-forms/add_field.php:73
566
+ #@ formidable
567
+ msgid "Field Options"
568
+ msgstr "Opções de campo"
569
+
570
+ #: classes/views/frm-forms/add_field.php:79
571
+ #: pro/classes/views/frmpro-fields/options-form.php:66
572
+ #: pro/classes/widgets/FrmShowForm.php:56
573
+ #@ formidable
574
+ msgid "Field Size"
575
+ msgstr "Tamanho do Campo"
576
+
577
+ #: classes/views/frm-forms/add_field.php:80
578
+ #@ formidable
579
+ msgid "columns wide"
580
+ msgstr "largura das colunas"
581
+
582
+ #: classes/views/frm-forms/add_field.php:80
583
+ #@ formidable
584
+ msgid "characters wide"
585
+ msgstr "caracteres de largura"
586
+
587
+ #: classes/views/frm-forms/add_field.php:82
588
+ #@ formidable
589
+ msgid "rows high"
590
+ msgstr "altura das linhas"
591
+
592
+ #: classes/views/frm-forms/add_field.php:82
593
+ #@ formidable
594
+ msgid "characters maximum"
595
+ msgstr "máximo de caracteres"
596
+
597
+ #: classes/views/frm-forms/add_field.php:86
598
+ #: classes/views/frm-forms/form.php:131
599
+ #@ formidable
600
+ msgid "Label Position"
601
+ msgstr "Posição do Título do Campo"
602
+
603
+ #: classes/views/frm-forms/add_field.php:88
604
+ #@ formidable
605
+ msgid "Top"
606
+ msgstr "Início"
607
+
608
+ #: classes/views/frm-forms/add_field.php:89
609
+ #@ formidable
610
+ msgid "Left"
611
+ msgstr "Esquerda"
612
+
613
+ #: classes/views/frm-forms/add_field.php:90
614
+ #@ formidable
615
+ msgid "Right"
616
+ msgstr "Direita"
617
+
618
+ #: classes/views/frm-forms/add_field.php:91
619
+ #@ formidable
620
+ msgid "Hidden"
621
+ msgstr "Oculto"
622
+
623
+ #: classes/views/frm-forms/add_field.php:100
624
+ #@ formidable
625
+ msgid "Indicate required field with"
626
+ msgstr "Indicar campo obrigatório com"
627
+
628
+ #: classes/views/frm-forms/add_field.php:110
629
+ #@ formidable
630
+ msgid "Error message if entry is an invalid format"
631
+ msgstr "Mensagem de erro se a entrada é um formato inválido"
632
+
633
+ #: classes/views/frm-forms/add_field_links.php:3
634
+ #@ formidable
635
+ msgid "Copy this code and paste it into your post, page or text widget"
636
+ msgstr "Copie este código e cole em seu post, página ou wifget"
637
+
638
+ #: classes/views/frm-forms/add_field_links.php:7
639
+ #@ formidable
640
+ msgid "Preview Form"
641
+ msgstr "Visualizar Formulário"
642
+
643
+ #: classes/views/frm-forms/add_field_links.php:9
644
+ #@ formidable
645
+ msgid "Preview in Current Theme"
646
+ msgstr "Visualização no Tema Atual"
647
+
648
+ #: classes/views/frm-forms/add_field_links.php:13
649
+ #@ formidable
650
+ msgid "Click on or drag a field into your form"
651
+ msgstr "Clique em ou arraste o campo no formulário"
652
+
653
+ #: classes/views/frm-forms/add_field_links.php:21
654
+ #@ formidable
655
+ msgid "Basic Fields"
656
+ msgstr "Campos Básicos"
657
+
658
+ #: classes/views/frm-forms/add_field_links.php:42
659
+ #@ formidable
660
+ msgid "Pro Fields"
661
+ msgstr "Campos Pro"
662
+
663
+ #: classes/views/frm-forms/add_field_links.php:63
664
+ #: classes/views/frm-forms/form.php:119
665
+ #: classes/views/frm-forms/list.php:38
666
+ #: classes/views/frm-forms/list.php:135
667
+ #: pro/classes/helpers/FrmProFieldsHelper.php:562
668
+ #: pro/classes/helpers/FrmProFieldsHelper.php:577
669
+ #: pro/classes/views/displays/form.php:127
670
+ #: pro/classes/views/displays/form.php:138
671
+ #: pro/classes/views/displays/list.php:37
672
+ #: pro/classes/views/displays/list.php:85
673
+ #@ formidable
674
+ msgid "Key"
675
+ msgstr "Chave"
676
+
677
+ #: classes/views/frm-forms/add_field_links.php:70
678
+ #@ formidable
679
+ msgid "required field"
680
+ msgstr "campo de preenchimento obrigatório"
681
+
682
+ #: classes/views/frm-forms/add_field_links.php:72
683
+ #@ formidable
684
+ msgid "not required"
685
+ msgstr "não obrigatório"
686
+
687
+ #: classes/views/frm-forms/add_field_links.php:74
688
+ #@ formidable
689
+ msgid "clear default text on click"
690
+ msgstr "limpar texto padrão ao clicar"
691
+
692
+ #: classes/views/frm-forms/add_field_links.php:76
693
+ #@ formidable
694
+ msgid "do not clear default text on click"
695
+ msgstr "não limpar o texto padrão ao clicar"
696
+
697
+ #: classes/views/frm-forms/add_field_links.php:78
698
+ #@ formidable
699
+ msgid "default value will NOT pass validation"
700
+ msgstr "valor padrão NÃO vai passar na validação"
701
+
702
+ #: classes/views/frm-forms/add_field_links.php:80
703
+ #@ formidable
704
+ msgid "default value will pass validation"
705
+ msgstr "valor padrão vai passar na validação"
706
+
707
+ #: classes/views/frm-forms/add_field_links.php:82
708
+ #@ formidable
709
+ msgid "delete field and all inputed data"
710
+ msgstr "apagar campo e todos os dados digitados"
711
+
712
+ #: classes/views/frm-forms/add_field_links.php:84
713
+ #@ formidable
714
+ msgid "duplicate field"
715
+ msgstr "campo duplicado"
716
+
717
+ #: classes/views/frm-forms/add_field_links.php:86
718
+ #@ formidable
719
+ msgid "move field"
720
+ msgstr "mover campo"
721
+
722
+ #: classes/views/frm-forms/add_field_links.php:95
723
+ #@ formidable
724
+ msgid "Enter or select default values into fields on this form."
725
+ msgstr "Digite ou selecione os valores padrão para os campos no formulário."
726
+
727
+ #: classes/views/frm-forms/default-templates.php:3
728
+ #@ formidable
729
+ msgid "Default Templates"
730
+ msgstr "Modelos padrão"
731
+
732
+ #: classes/views/frm-forms/default-templates.php:8
733
+ #: classes/views/frm-forms/default-templates.php:40
734
+ #: classes/views/frm-forms/list.php:25
735
+ #: classes/views/frm-forms/list.php:35
736
+ #: classes/views/frm-forms/list.php:130
737
+ #: classes/views/frm-forms/list.php:134
738
+ #: pro/classes/views/displays/form.php:77
739
+ #: pro/classes/views/displays/list.php:31
740
+ #: pro/classes/views/displays/list.php:84
741
+ #@ formidable
742
+ msgid "Description"
743
+ msgstr "Descrição"
744
+
745
+ #: classes/views/frm-forms/default-templates.php:12
746
+ #@ formidable
747
+ msgid "No Templates Found"
748
+ msgstr "Modelos não encontrados"
749
+
750
+ #: classes/views/frm-forms/default-templates.php:19
751
+ #@ formidable
752
+ msgid "Preview"
753
+ msgstr "Prévia"
754
+
755
+ #: classes/views/frm-forms/default-templates.php:22
756
+ #: classes/views/frm-forms/list.php:67
757
+ #: classes/views/frm-forms/list.php:100
758
+ #: pro/classes/views/displays/form.php:256
759
+ #: pro/classes/views/displays/list.php:63
760
+ #@ formidable
761
+ msgid "Copy"
762
+ msgstr "Copiar"
763
+
764
+ #: classes/views/frm-forms/default-templates.php:28
765
+ #: pro/classes/views/frmpro-entries/list.php:55
766
+ #@ formidable
767
+ msgid "View"
768
+ msgstr "Ver"
769
+
770
+ #: classes/views/frm-forms/default-templates.php:45
771
+ #@ formidable
772
+ msgid "Custom Templates"
773
+ msgstr "Modelos personalizados"
774
+
775
+ #: classes/views/frm-forms/edit.php:3
776
+ #: pro/classes/controllers/FrmProEntriesController.php:117
777
+ #@ formidable
778
+ msgid "Edit Form"
779
+ msgstr "Editar Formulário"
780
+
781
+ #: classes/views/frm-forms/edit.php:16
782
+ #: classes/views/frm-forms/edit.php:29
783
+ #: pro/classes/controllers/FrmProDisplaysController.php:342
784
+ #: pro/classes/models/FrmProSettings.php:183
785
+ #@ formidable
786
+ msgid "Update"
787
+ msgstr "Atualizar"
788
+
789
+ #: classes/views/frm-forms/edit.php:17
790
+ #: classes/views/frm-forms/edit.php:30
791
+ #: classes/views/frm-forms/new-selection.php:10
792
+ #: classes/views/frm-forms/new.php:20
793
+ #: pro/classes/views/displays/form.php:280
794
+ #: pro/classes/views/frmpro-entries/edit.php:24
795
+ #: pro/classes/views/frmpro-entries/new.php:20
796
+ #@ formidable
797
+ msgid "or"
798
+ msgstr "ou"
799
+
800
+ #: classes/views/frm-forms/edit.php:18
801
+ #: classes/views/frm-forms/edit.php:31
802
+ #: classes/views/frm-forms/new.php:21
803
+ #: pro/classes/views/displays/form.php:39
804
+ #: pro/classes/views/displays/form.php:281
805
+ #: pro/classes/views/frmpro-entries/edit.php:25
806
+ #: pro/classes/views/frmpro-entries/new.php:21
807
+ #@ formidable
808
+ msgid "Cancel"
809
+ msgstr "Cancelar"
810
+
811
+ #: classes/views/frm-forms/footer.php:11
812
+ #@ formidable
813
+ msgid "(Click here to add form description or instructions)"
814
+ msgstr "(Clique aqui para adicionar uma descrição do formulário ou instruções)"
815
+
816
+ #: classes/views/frm-forms/footer.php:35
817
+ #: pro/classes/helpers/FrmProEntriesHelper.php:45
818
+ #: pro/classes/views/settings/formroller.php:511
819
+ #@ formidable
820
+ msgid "Loading..."
821
+ msgstr "Carregando..."
822
+
823
+ #: classes/views/frm-forms/footer.php:52
824
+ #@ formidable
825
+ msgid "Are you sure you want to delete this field and all data associated with it?"
826
+ msgstr "Tem certeza de que deseja apagar este campo e todos os dados associados a ele?"
827
+
828
+ #: classes/views/frm-forms/form.php:24
829
+ #@ formidable
830
+ msgid "Advanced Form Options"
831
+ msgstr "Opções Avançadas do Formulário"
832
+
833
+ #: classes/views/frm-forms/form.php:30
834
+ #@ formidable
835
+ msgid "Form ShortCodes"
836
+ msgstr "Shortcodes do Formulário"
837
+
838
+ #: classes/views/frm-forms/form.php:30
839
+ #@ formidable
840
+ msgid "Key and id are generally synonymous. For more information on using this shortcode, click now."
841
+ msgstr "Key e id são geralmente sinônimos. Para obter mais informações sobre como utilizar este shortcode, clique agora."
842
+
843
+ #: classes/views/frm-forms/form.php:35
844
+ #: classes/views/frm-forms/form.php:123
845
+ #@ formidable
846
+ msgid "Form Key"
847
+ msgstr "Chave do Formulário"
848
+
849
+ #: classes/views/frm-forms/form.php:39
850
+ #@ formidable
851
+ msgid "Styling"
852
+ msgstr "Estilizando"
853
+
854
+ #: classes/views/frm-forms/form.php:41
855
+ #@ formidable
856
+ msgid "Use Formidable styling for this form"
857
+ msgstr "Use estilo do Formidable para este formulário"
858
+
859
+ #: classes/views/frm-forms/form.php:44
860
+ #@ formidable
861
+ msgid "Submit Button Text"
862
+ msgstr "Texto do botão Enviar"
863
+
864
+ #: classes/views/frm-forms/form.php:48
865
+ #@ formidable
866
+ msgid "Action After Form Submission"
867
+ msgstr "Ação após envio do formulário"
868
+
869
+ #: classes/views/frm-forms/form.php:50
870
+ #@ formidable
871
+ msgid "To use the second two options, you must upgrade to Formidable Pro."
872
+ msgstr "Para usar a segunda duas opções, você deve atualizar para Formidable Pro."
873
+
874
+ #: classes/views/frm-forms/form.php:54
875
+ #@ formidable
876
+ msgid "Display a Message"
877
+ msgstr "Exibe uma mensagem"
878
+
879
+ #: classes/views/frm-forms/form.php:55
880
+ #@ formidable
881
+ msgid "Display content from another page"
882
+ msgstr "Mostrar o conteúdo de outra página"
883
+
884
+ #: classes/views/frm-forms/form.php:56
885
+ #@ formidable
886
+ msgid "Redirect"
887
+ msgstr "Redirecionar"
888
+
889
+ #: classes/views/frm-forms/form.php:60
890
+ #@ formidable
891
+ msgid "Confirmation Message"
892
+ msgstr "Mensagem de Confirmação"
893
+
894
+ #: classes/views/frm-forms/form.php:63
895
+ #@ formidable
896
+ msgid "Show the form with the success message."
897
+ msgstr "Mostrar o formulário com a mensagem de sucesso."
898
+
899
+ #: classes/views/frm-forms/form.php:70
900
+ #@ formidable
901
+ msgid "Use Akismet to check entries for spam"
902
+ msgstr "Use Akismet para verificar as entradas contra spam"
903
+
904
+ #: classes/views/frm-forms/form.php:80
905
+ #@ formidable
906
+ msgid "Form Notification Options"
907
+ msgstr "Opções de Notificação do Formulário"
908
+
909
+ #: classes/views/frm-forms/form.php:86
910
+ #@ formidable
911
+ msgid "Email Form Responses to"
912
+ msgstr "Enviar dados do formulário para e-mail"
913
+
914
+ #: classes/views/frm-forms/form.php:86
915
+ #@ formidable
916
+ msgid "To send to multiple addresses, separate each address with a comma"
917
+ msgstr "Para enviar para vários endereços, separe cada endereço com uma vírgula"
918
+
919
+ #: classes/views/frm-forms/form.php:99
920
+ #@ formidable
921
+ msgid "Before Fields"
922
+ msgstr "Antes dos Campos"
923
+
924
+ #: classes/views/frm-forms/form.php:114
925
+ #@ formidable
926
+ msgid "After Fields"
927
+ msgstr "Depois dos Campos"
928
+
929
+ #: classes/views/frm-forms/form.php:121
930
+ #@ formidable
931
+ msgid "Form Name"
932
+ msgstr "Nome do Formulário"
933
+
934
+ #: classes/views/frm-forms/form.php:122
935
+ #@ formidable
936
+ msgid "Form Description"
937
+ msgstr "Descrição do Formulário"
938
+
939
+ #: classes/views/frm-forms/form.php:127
940
+ #@ formidable
941
+ msgid "Field Id"
942
+ msgstr "Id do Campo"
943
+
944
+ #: classes/views/frm-forms/form.php:128
945
+ #: pro/classes/views/displays/tags.php:14
946
+ #: pro/classes/views/frmpro-fields/options-form.php:210
947
+ #@ formidable
948
+ msgid "Field Key"
949
+ msgstr "Chave do Campo"
950
+
951
+ #: classes/views/frm-forms/form.php:129
952
+ #@ formidable
953
+ msgid "Field Name"
954
+ msgstr "Nome do Campo"
955
+
956
+ #: classes/views/frm-forms/form.php:130
957
+ #: pro/classes/views/settings/formroller.php:92
958
+ #@ formidable
959
+ msgid "Field Description"
960
+ msgstr "Descrição do Campo"
961
+
962
+ #: classes/views/frm-forms/form.php:132
963
+ #@ formidable
964
+ msgid "Required label"
965
+ msgstr "Rótulo Campo Obrigatório"
966
+
967
+ #: classes/views/frm-forms/form.php:133
968
+ #@ formidable
969
+ msgid "Input Field"
970
+ msgstr "Campo de entrada"
971
+
972
+ #: classes/views/frm-forms/form.php:134
973
+ #@ formidable
974
+ msgid "Show a single radio or checkbox option by replacing \"1\" with the order of the option"
975
+ msgstr "Exibe um único rádio ou caixa de marca, substituindo \"1\" com oa ordem da opção"
976
+
977
+ #: classes/views/frm-forms/form.php:135
978
+ #@ formidable
979
+ msgid "Hide the option labels"
980
+ msgstr "Esconder título da opção"
981
+
982
+ #: classes/views/frm-forms/form.php:137
983
+ #@ formidable
984
+ msgid "Add class name if field is required"
985
+ msgstr "Adicione o nome da classe se o campo é obrigatório"
986
+
987
+ #: classes/views/frm-forms/form.php:138
988
+ #@ formidable
989
+ msgid "Add class name if field has an error on form submit"
990
+ msgstr "Adicione o nome da classe se o campo tem um erro ao submeter o formulário"
991
+
992
+ #: classes/views/frm-forms/insert_form_popup.php:4
993
+ #@ formidable
994
+ msgid "Please select a form"
995
+ msgstr "Por favor selecione um formulário"
996
+
997
+ #: classes/views/frm-forms/insert_form_popup.php:13
998
+ #@ formidable
999
+ msgid "Please select a custom display"
1000
+ msgstr "Por favor, selecione uma exibição personalizada"
1001
+
1002
+ #: classes/views/frm-forms/insert_form_popup.php:39
1003
+ #@ formidable
1004
+ msgid "Display form title"
1005
+ msgstr "Mostrar título do formulário"
1006
+
1007
+ #: classes/views/frm-forms/insert_form_popup.php:40
1008
+ #@ formidable
1009
+ msgid "Display form description"
1010
+ msgstr "Exibir descrição do formulário"
1011
+
1012
+ #: classes/views/frm-forms/list.php:29
1013
+ #: classes/views/frm-forms/list.php:132
1014
+ #: pro/classes/helpers/FrmProFieldsHelper.php:561
1015
+ #: pro/classes/helpers/FrmProFieldsHelper.php:576
1016
+ #: pro/classes/views/displays/form.php:126
1017
+ #: pro/classes/views/displays/form.php:137
1018
+ #: pro/classes/views/displays/list.php:19
1019
+ #: pro/classes/views/displays/list.php:82
1020
+ #@ formidable
1021
+ msgid "ID"
1022
+ msgstr "ID"
1023
+
1024
+ #: classes/views/frm-forms/list.php:40
1025
+ #: classes/views/frm-forms/list.php:95
1026
+ #: classes/views/frm-forms/list.php:111
1027
+ #: classes/views/frm-forms/list.php:136
1028
+ #: pro/classes/controllers/FrmProEntriesController.php:44
1029
+ #: pro/classes/views/frmpro-entries/list.php:3
1030
+ #: pro/classes/views/shared/import_form.php:48
1031
+ #@ formidable
1032
+ msgid "Entries"
1033
+ msgstr "Entradas"
1034
+
1035
+ #: classes/views/frm-forms/list.php:41
1036
+ #: classes/views/frm-forms/list.php:137
1037
+ #@ formidable
1038
+ msgid "Direct Link"
1039
+ msgstr "Link direto"
1040
+
1041
+ #: pro/classes/views/displays/list.php:44
1042
+ #: pro/classes/views/displays/list.php:89
1043
+ #@ formidable
1044
+ msgid "ShortCode"
1045
+ msgstr "ShortCode"
1046
+
1047
+ #: classes/views/frm-forms/list.php:49
1048
+ #@ formidable
1049
+ msgid "No Forms Found"
1050
+ msgstr "Nenhum formulário encontrado"
1051
+
1052
+ #: classes/views/frm-forms/list.php:60
1053
+ #: classes/views/frm-forms/list.php:68
1054
+ #: classes/views/frm-forms/list.php:81
1055
+ #: classes/views/frm-forms/list.php:88
1056
+ #: pro/classes/helpers/FrmProAppHelper.php:57
1057
+ #: pro/classes/helpers/FrmProFieldsHelper.php:639
1058
+ #: pro/classes/views/displays/list.php:62
1059
+ #: pro/classes/views/frmpro-entries/list.php:58
1060
+ #@ formidable
1061
+ msgid "Edit"
1062
+ msgstr "Editar"
1063
+
1064
+ #: classes/views/frm-forms/list.php:72
1065
+ #: classes/views/frm-forms/list.php:105
1066
+ #, php-format
1067
+ #@ formidable
1068
+ msgid "Are you sure you want to delete your %1$s Form?"
1069
+ msgstr "Tem certeza que quer apagar seu formulário%1$s ?"
1070
+
1071
+ #: classes/views/frm-forms/list.php:72
1072
+ #: classes/views/frm-forms/list.php:105
1073
+ #: pro/classes/helpers/FrmProAppHelper.php:124
1074
+ #: pro/classes/helpers/FrmProFieldsHelper.php:687
1075
+ #: pro/classes/views/displays/form.php:37
1076
+ #: pro/classes/views/displays/list.php:64
1077
+ #: pro/classes/views/frmpro-entries/list.php:67
1078
+ #@ formidable
1079
+ msgid "Delete"
1080
+ msgstr "Excluir"
1081
+
1082
+ #: classes/views/frm-forms/list.php:92
1083
+ #@ formidable
1084
+ msgid "New"
1085
+ msgstr "Novo"
1086
+
1087
+ #: classes/views/frm-forms/list.php:92
1088
+ #: pro/classes/views/displays/list.php:42
1089
+ #: pro/classes/views/displays/list.php:87
1090
+ #@ formidable
1091
+ msgid "Entry"
1092
+ msgstr "Entrada"
1093
+
1094
+ #: classes/views/frm-forms/list.php:92
1095
+ #@ formidable
1096
+ msgid "New Entry"
1097
+ msgstr "Nova entrada"
1098
+
1099
+ #: classes/views/frm-forms/list.php:97
1100
+ #: pro/classes/controllers/FrmProStatisticsController.php:13
1101
+ #: pro/classes/controllers/FrmProStatisticsController.php:25
1102
+ #: pro/classes/views/frmpro-statistics/show.php:3
1103
+ #@ formidable
1104
+ msgid "Reports"
1105
+ msgstr "Relatórios"
1106
+
1107
+ #: classes/views/frm-forms/add_field.php:6
1108
+ #: classes/views/frm-forms/list.php:100
1109
+ #: pro/classes/views/displays/list.php:63
1110
+ #: pro/classes/views/frmpro-entries/list.php:62
1111
+ #@ formidable
1112
+ msgid "Duplicate"
1113
+ msgstr "Duplicado"
1114
+
1115
+ #: classes/views/frm-forms/list.php:101
1116
+ #: classes/views/frm-forms/new.php:19
1117
+ #: pro/classes/controllers/FrmProDisplaysController.php:77
1118
+ #: pro/classes/controllers/FrmProDisplaysController.php:86
1119
+ #: pro/classes/views/frmpro-entries/new.php:19
1120
+ #@ formidable
1121
+ msgid "Create"
1122
+ msgstr "Criar"
1123
+
1124
+ #: classes/views/frm-forms/list.php:101
1125
+ #: classes/views/frm-forms/list.php:102
1126
+ #@ formidable
1127
+ msgid "Template"
1128
+ msgstr "Modelo"
1129
+
1130
+ #: classes/views/frm-forms/list.php:101
1131
+ #@ formidable
1132
+ msgid "Create Template"
1133
+ msgstr "Criar Modelo"
1134
+
1135
+ #: classes/views/frm-forms/list.php:113
1136
+ #@ formidable
1137
+ msgid "View Form"
1138
+ msgstr "Ver formulário"
1139
+
1140
+ #: classes/views/frm-forms/new-field-js.php:18
1141
+ #: classes/views/frm-forms/new-option-js.php:12
1142
+ #@ formidable
1143
+ msgid "(Blank)"
1144
+ msgstr "(Em branco)"
1145
+
1146
+ #: classes/views/frm-forms/new-field-js.php:29
1147
+ #@ formidable
1148
+ msgid "(Click here to add optional description or instructions)"
1149
+ msgstr "(Clique aqui para adicionar uma descrição opcional ou instruções)"
1150
+
1151
+ #: classes/views/frm-forms/new-selection.php:4
1152
+ #: classes/views/frm-forms/new.php:3
1153
+ #@ formidable
1154
+ msgid "Create Form"
1155
+ msgstr "Criar formulário"
1156
+
1157
+ #: classes/views/frm-forms/new-selection.php:11
1158
+ #@ formidable
1159
+ msgid "Create New Form"
1160
+ msgstr "Criar um novo formulário"
1161
+
1162
+ #: classes/views/frm-settings/form.php:13
1163
+ #: classes/views/frm-settings/form.php:136
1164
+ #@ formidable
1165
+ msgid "Update Options"
1166
+ msgstr "Atualizar Opções"
1167
+
1168
+ #: classes/views/frm-settings/form.php:17
1169
+ #@ formidable
1170
+ msgid "Preview Page"
1171
+ msgstr "Visualizar Página"
1172
+
1173
+ #: classes/views/frm-settings/form.php:37
1174
+ #@ formidable
1175
+ msgid "Include the jQuery CSS on ALL pages"
1176
+ msgstr "Incluir o jQuery CSS em TODAS as páginas"
1177
+
1178
+ #: classes/views/frm-settings/form.php:37
1179
+ #@ formidable
1180
+ 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."
1181
+ msgstr "O estilo do campo de data. Alguns usuários podem estar usando este css em páginas que não apenas os que incluem um campo de data."
1182
+
1183
+ #: classes/views/frm-settings/form.php:43
1184
+ #@ formidable
1185
+ msgid "User Permissions"
1186
+ msgstr "Permissões de Usuário"
1187
+
1188
+ #: classes/views/frm-settings/form.php:43
1189
+ #@ formidable
1190
+ msgid "Select users that are allowed access to Formidable. Without access to View Forms, users will be unable to see the Formidable menu."
1191
+ msgstr "Selecione os usuários que estão autorizados a acessar o Formidable. Sem acesso a exibição de formulários, os usuários serão incapazes de ver o menu do Formidable."
1192
+
1193
+ #: classes/views/frm-settings/form.php:91
1194
+ #@ formidable
1195
+ msgid "Default Messages"
1196
+ msgstr "Mensagens Padrões"
1197
+
1198
+ #: classes/views/frm-settings/form.php:91
1199
+ #@ formidable
1200
+ msgid "You can override the success message and submit button settings on individual forms."
1201
+ msgstr "Você pode substituir a mensagem de sucesso e botão de envio em cada formulário individualmente."
1202
+
1203
+ #: classes/views/frm-settings/form.php:93
1204
+ #@ formidable
1205
+ msgid "Success Message"
1206
+ msgstr "Mensagem de sucesso"
1207
+
1208
+ #: classes/views/frm-settings/form.php:93
1209
+ #@ formidable
1210
+ msgid "The default message seen after a form is submitted."
1211
+ msgstr "A mensagem padrão após um formulário ser enviado."
1212
+
1213
+ #: classes/views/frm-settings/form.php:101
1214
+ #@ formidable
1215
+ msgid "The message seen when a form is submitted and passes validation, but something goes wrong. You will likely never see this error."
1216
+ msgstr "Está mensagem é exibida quando um formulário é submetido e passa a validação, mas algo dá errado. Você provavelmente nunca verá este erro."
1217
+
1218
+ #: classes/views/frm-settings/form.php:117
1219
+ #@ formidable
1220
+ msgid "Login Message"
1221
+ msgstr "Mensagem de Login"
1222
+
1223
+ #: classes/views/frm-settings/form.php:117
1224
+ #@ formidable
1225
+ msgid "The message seen when a user who is not logged-in views a form only logged-in users can submit."
1226
+ msgstr "Está mensagem é vista quando um usuário que não está logado tenta visualizar um formulário que apenas usuários registrados podem ver."
1227
+
1228
+ #: pro/classes/views/settings/formroller.php:341
1229
+ #@ formidable
1230
+ msgid "Submit Button"
1231
+ msgstr "Botão de Enviar"
1232
+
1233
+ #: classes/views/frm-settings/form.php:134
1234
+ #@ formidable
1235
+ 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."
1236
+ msgstr "Tem certeza que quer fazer isso? Clicando em OK vai apagar todos os formulários, dados de formulários e todos os outros dados do Formidable. Não tem como desfazer."
1237
+
1238
+ #: classes/views/frm-settings/form.php:134
1239
+ #@ formidable
1240
+ msgid "Uninstall Formidable"
1241
+ msgstr "Desinstalar Formidable"
1242
+
1243
+ #: classes/views/frm-statistics/list.php:3
1244
+ #@ formidable
1245
+ msgid "Pro Statistics"
1246
+ msgstr "Estatísticas Pro"
1247
+
1248
+ #: classes/views/frm-statistics/list.php:9
1249
+ #@ formidable
1250
+ msgid "Upgrade to Formidable Pro to get reports and statistics on your saved entries"
1251
+ msgstr "Faça upgrade para Formidable Pro para obter relatórios e estatísticas sobre as entradas salvas"
1252
+
1253
+ #: classes/views/shared/item-table-nav.php:8
1254
+ #, php-format
1255
+ #@ formidable
1256
+ msgid "Displaying %1$s&#8211;%2$s of %3$s"
1257
+ msgstr "Resultados %1$s&#8211;%2$s de %3$s"
1258
+
1259
+ #: pro/classes/controllers/FrmProAppController.php:26
1260
+ #@ formidable
1261
+ msgid "Formidable Tags"
1262
+ msgstr "Tags Formidable"
1263
+
1264
+ #: pro/classes/controllers/FrmProAppController.php:27
1265
+ #@ formidable
1266
+ msgid "Formidable Tag"
1267
+ msgstr "Tag Formidable"
1268
+
1269
+ #: pro/classes/controllers/FrmProDisplaysController.php:32
1270
+ #: pro/classes/views/displays/list.php:3
1271
+ #@ formidable
1272
+ msgid "Custom Display"
1273
+ msgstr "Exibição personalizada"
1274
+
1275
+ #: pro/classes/controllers/FrmProDisplaysController.php:33
1276
+ #@ formidable
1277
+ msgid "New Custom Display"
1278
+ msgstr "Nova exibição personalizada"
1279
+
1280
+ #: pro/classes/controllers/FrmProDisplaysController.php:40
1281
+ #@ formidable
1282
+ msgid "Setup new Custom Display Settings"
1283
+ msgstr "Nova configuração de exibição personalizada"
1284
+
1285
+ #: pro/classes/controllers/FrmProDisplaysController.php:91
1286
+ #@ formidable
1287
+ msgid "Custom Display settings were Successfully Created"
1288
+ msgstr "As configurações de exibição personalizada foram criadas com sucesso"
1289
+
1290
+ #: pro/classes/controllers/FrmProDisplaysController.php:112
1291
+ #@ formidable
1292
+ msgid "Custom Display settings were Successfully Updated"
1293
+ msgstr "As configurações de exibição personalizada foram atualizadas com sucesso"
1294
+
1295
+ #: pro/classes/controllers/FrmProDisplaysController.php:122
1296
+ #@ formidable
1297
+ msgid "Custom Display settings were Successfully Copied"
1298
+ msgstr "As configurações de exibição personalizada foram copiados com êxito"
1299
+
1300
+ #: pro/classes/controllers/FrmProDisplaysController.php:126
1301
+ #@ formidable
1302
+ msgid "There was a problem creating new Entry Display settings."
1303
+ msgstr "Houve um problema criando nova configuração de exibição de entrada."
1304
+
1305
+ #: pro/classes/controllers/FrmProDisplaysController.php:134
1306
+ #@ formidable
1307
+ msgid "Custom Display settings were Successfully Deleted"
1308
+ msgstr "As configurações exibição personalizada foram apagadas com sucesso"
1309
+
1310
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1311
+ #@ formidable
1312
+ msgid "January"
1313
+ msgstr "Janeiro"
1314
+
1315
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1316
+ #@ formidable
1317
+ msgid "February"
1318
+ msgstr "Fevereiro"
1319
+
1320
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1321
+ #@ formidable
1322
+ msgid "March"
1323
+ msgstr "Março"
1324
+
1325
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1326
+ #@ formidable
1327
+ msgid "April"
1328
+ msgstr "Abril"
1329
+
1330
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1331
+ #@ formidable
1332
+ msgid "May"
1333
+ msgstr "Maio"
1334
+
1335
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1336
+ #@ formidable
1337
+ msgid "June"
1338
+ msgstr "Junho"
1339
+
1340
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1341
+ #@ formidable
1342
+ msgid "July"
1343
+ msgstr "Julho"
1344
+
1345
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1346
+ #@ formidable
1347
+ msgid "August"
1348
+ msgstr "Agosto"
1349
+
1350
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1351
+ #@ formidable
1352
+ msgid "September"
1353
+ msgstr "Setembro"
1354
+
1355
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1356
+ #@ formidable
1357
+ msgid "October"
1358
+ msgstr "Outubro"
1359
+
1360
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1361
+ #@ formidable
1362
+ msgid "November"
1363
+ msgstr "Novembro"
1364
+
1365
+ #: pro/classes/controllers/FrmProDisplaysController.php:170
1366
+ #@ formidable
1367
+ msgid "December"
1368
+ msgstr "Dezembro"
1369
+
1370
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1371
+ #@ formidable
1372
+ msgid "Sunday"
1373
+ msgstr "Domingo"
1374
+
1375
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1376
+ #@ formidable
1377
+ msgid "Monday"
1378
+ msgstr "Segunda-feira"
1379
+
1380
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1381
+ #@ formidable
1382
+ msgid "Tuesday"
1383
+ msgstr "Terça-feira"
1384
+
1385
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1386
+ #@ formidable
1387
+ msgid "Wednesday"
1388
+ msgstr "Quarta-feira"
1389
+
1390
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1391
+ #@ formidable
1392
+ msgid "Thursday"
1393
+ msgstr "Quinta-feira"
1394
+
1395
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1396
+ #@ formidable
1397
+ msgid "Friday"
1398
+ msgstr "Sexta-feira"
1399
+
1400
+ #: pro/classes/controllers/FrmProDisplaysController.php:171
1401
+ #@ formidable
1402
+ msgid "Saturday"
1403
+ msgstr "Sábado"
1404
+
1405
+ #: pro/classes/controllers/FrmProDisplaysController.php:376
1406
+ #@ formidable
1407
+ msgid "That is not a valid custom display ID"
1408
+ msgstr "Isso não é um ID válido de uma exibição personalizada"
1409
+
1410
+ #: pro/classes/controllers/FrmProDisplaysController.php:594
1411
+ #: pro/classes/views/frmpro-entries/list.php:29
1412
+ #@ formidable
1413
+ msgid "No Entries Found"
1414
+ msgstr "Não foram encontradas entradas"
1415
+
1416
+ #: pro/classes/controllers/FrmProEntriesController.php:46
1417
+ #@ formidable
1418
+ msgid "Create an Entry"
1419
+ msgstr "Criar uma entrada"
1420
+
1421
+ #: pro/classes/controllers/FrmProEntriesController.php:112
1422
+ #@ formidable
1423
+ msgid "Entries from:"
1424
+ msgstr "Entradas de:"
1425
+
1426
+ #: pro/classes/controllers/FrmProEntriesController.php:120
1427
+ #@ formidable
1428
+ msgid "Add an Entry"
1429
+ msgstr "Adicionar uma entrada"
1430
+
1431
+ #: pro/classes/controllers/FrmProEntriesController.php:181
1432
+ #@ formidable
1433
+ msgid "Entry was Successfully Created"
1434
+ msgstr "Entrada foi criada com sucesso"
1435
+
1436
+ #: pro/classes/controllers/FrmProEntriesController.php:205
1437
+ #@ formidable
1438
+ msgid "Entry was Successfully Updated"
1439
+ msgstr "Entrada foi atualizado com sucesso"
1440
+
1441
+ #: pro/classes/controllers/FrmProEntriesController.php:205
1442
+ #@ formidable
1443
+ msgid "Back to Entries"
1444
+ msgstr "Voltar para Entradas"
1445
+
1446
+ #: pro/classes/controllers/FrmProEntriesController.php:221
1447
+ #@ formidable
1448
+ msgid "Entry was Successfully Duplicated"
1449
+ msgstr "Entrada foi duplicada com sucesso"
1450
+
1451
+ #: pro/classes/controllers/FrmProEntriesController.php:223
1452
+ #@ formidable
1453
+ msgid "There was a problem duplicating that entry"
1454
+ msgstr "Houve um problema ao duplicar essa entrada"
1455
+
1456
+ #: pro/classes/controllers/FrmProEntriesController.php:241
1457
+ #: pro/classes/controllers/FrmProEntriesController.php:348
1458
+ #@ formidable
1459
+ msgid "Entry was Successfully Destroyed"
1460
+ msgstr "Entrada foi apagada com sucesso"
1461
+
1462
+ #: pro/classes/controllers/FrmProEntriesController.php:256
1463
+ #@ formidable
1464
+ msgid "No entries were specified"
1465
+ msgstr "Nenhuma entrada foi especificada"
1466
+
1467
+ #: classes/views/frm-forms/add_field.php:6
1468
+ #@ formidable
1469
+ msgid "Duplicate Field"
1470
+ msgstr "Campo duplicado"
1471
+
1472
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1473
+ #@ formidable
1474
+ msgid "English/Western"
1475
+ msgstr "Inglês / Ocidental"
1476
+
1477
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1478
+ #@ formidable
1479
+ msgid "Afrikaans"
1480
+ msgstr "Afrikaans"
1481
+
1482
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1483
+ #@ formidable
1484
+ msgid "Albanian"
1485
+ msgstr "Albanês"
1486
+
1487
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1488
+ #@ formidable
1489
+ msgid "Arabic"
1490
+ msgstr "Árabe"
1491
+
1492
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1493
+ #@ formidable
1494
+ msgid "Armenian"
1495
+ msgstr "Armênio"
1496
+
1497
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1498
+ #@ formidable
1499
+ msgid "Azerbaijani"
1500
+ msgstr "Azerbaijano"
1501
+
1502
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1503
+ #@ formidable
1504
+ msgid "Basque"
1505
+ msgstr "Basco"
1506
+
1507
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1508
+ #@ formidable
1509
+ msgid "Bosnian"
1510
+ msgstr "Bósnio"
1511
+
1512
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1513
+ #@ formidable
1514
+ msgid "Bulgarian"
1515
+ msgstr "Búlgaro"
1516
+
1517
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1518
+ #@ formidable
1519
+ msgid "Catalan"
1520
+ msgstr "Catalão"
1521
+
1522
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1523
+ #@ formidable
1524
+ msgid "Chinese Hong Kong"
1525
+ msgstr "Chinês de Hong Kong"
1526
+
1527
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1528
+ #@ formidable
1529
+ msgid "Chinese Simplified"
1530
+ msgstr "Chinês Simplificado"
1531
+
1532
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1533
+ #@ formidable
1534
+ msgid "Chinese Traditional"
1535
+ msgstr "Chinês Tradicional"
1536
+
1537
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1538
+ #@ formidable
1539
+ msgid "Croatian"
1540
+ msgstr "Croata"
1541
+
1542
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1543
+ #@ formidable
1544
+ msgid "Czech"
1545
+ msgstr "Checa"
1546
+
1547
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1548
+ #@ formidable
1549
+ msgid "Danish"
1550
+ msgstr "Dinamarquês"
1551
+
1552
+ #: classes/views/frm-settings/form.php:82
1553
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1554
+ #@ formidable
1555
+ msgid "Dutch"
1556
+ msgstr "Holandês"
1557
+
1558
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1559
+ #@ formidable
1560
+ msgid "English/UK"
1561
+ msgstr "Inglês / Reino Unido"
1562
+
1563
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1564
+ #@ formidable
1565
+ msgid "Esperanto"
1566
+ msgstr "Esperanto"
1567
+
1568
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1569
+ #@ formidable
1570
+ msgid "Estonian"
1571
+ msgstr "Estoniano"
1572
+
1573
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1574
+ #@ formidable
1575
+ msgid "Faroese"
1576
+ msgstr "Feroês"
1577
+
1578
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1579
+ #@ formidable
1580
+ msgid "Farsi/Persian"
1581
+ msgstr "Persa / Farsi"
1582
+
1583
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1584
+ #@ formidable
1585
+ msgid "Finnish"
1586
+ msgstr "Finlandesa"
1587
+
1588
+ #: classes/views/frm-settings/form.php:82
1589
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1590
+ #@ formidable
1591
+ msgid "French"
1592
+ msgstr "Francês"
1593
+
1594
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1595
+ #@ formidable
1596
+ msgid "French/Swiss"
1597
+ msgstr "Francês / Suíça"
1598
+
1599
+ #: classes/views/frm-settings/form.php:82
1600
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1601
+ #@ formidable
1602
+ msgid "German"
1603
+ msgstr "Alemão"
1604
+
1605
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1606
+ #@ formidable
1607
+ msgid "Greek"
1608
+ msgstr "Grego"
1609
+
1610
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1611
+ #@ formidable
1612
+ msgid "Hebrew"
1613
+ msgstr "Hebraico"
1614
+
1615
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1616
+ #@ formidable
1617
+ msgid "Hungarian"
1618
+ msgstr "Húngaro"
1619
+
1620
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1621
+ #@ formidable
1622
+ msgid "Icelandic"
1623
+ msgstr "Islandesa"
1624
+
1625
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1626
+ #@ formidable
1627
+ msgid "Italian"
1628
+ msgstr "Italiano"
1629
+
1630
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1631
+ #@ formidable
1632
+ msgid "Japanese"
1633
+ msgstr "Japonês"
1634
+
1635
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1636
+ #@ formidable
1637
+ msgid "Korean"
1638
+ msgstr "Coreano"
1639
+
1640
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1641
+ #@ formidable
1642
+ msgid "Latvian"
1643
+ msgstr "Letã"
1644
+
1645
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1646
+ #@ formidable
1647
+ msgid "Lithuanian"
1648
+ msgstr "Lituano"
1649
+
1650
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1651
+ #@ formidable
1652
+ msgid "Malaysian"
1653
+ msgstr "Malásia"
1654
+
1655
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1656
+ #@ formidable
1657
+ msgid "Norwegian"
1658
+ msgstr "Norueguês"
1659
+
1660
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1661
+ #@ formidable
1662
+ msgid "Polish"
1663
+ msgstr "Polonês"
1664
+
1665
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1666
+ #@ formidable
1667
+ msgid "Portuguese/Brazilian"
1668
+ msgstr "Português / Brasileiro"
1669
+
1670
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1671
+ #@ formidable
1672
+ msgid "Romanian"
1673
+ msgstr "Romeno"
1674
+
1675
+ #: classes/views/frm-settings/form.php:82
1676
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1677
+ #@ formidable
1678
+ msgid "Russian"
1679
+ msgstr "Russo"
1680
+
1681
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1682
+ #@ formidable
1683
+ msgid "Serbian"
1684
+ msgstr "Sérvio"
1685
+
1686
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1687
+ #@ formidable
1688
+ msgid "Slovak"
1689
+ msgstr "Eslovaca"
1690
+
1691
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1692
+ #@ formidable
1693
+ msgid "Slovenian"
1694
+ msgstr "Esloveno"
1695
+
1696
+ #: classes/views/frm-settings/form.php:82
1697
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1698
+ #@ formidable
1699
+ msgid "Spanish"
1700
+ msgstr "Espanhol"
1701
+
1702
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1703
+ #@ formidable
1704
+ msgid "Swedish"
1705
+ msgstr "Sueco"
1706
+
1707
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1708
+ #@ formidable
1709
+ msgid "Tamil"
1710
+ msgstr "Tâmil"
1711
+
1712
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1713
+ #@ formidable
1714
+ msgid "Thai"
1715
+ msgstr "Tailandês"
1716
+
1717
+ #: classes/views/frm-settings/form.php:82
1718
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1719
+ #@ formidable
1720
+ msgid "Turkish"
1721
+ msgstr "Turco"
1722
+
1723
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1724
+ #@ formidable
1725
+ msgid "Ukranian"
1726
+ msgstr "Ucraniano"
1727
+
1728
+ #: pro/classes/controllers/FrmProFieldsController.php:210
1729
+ #@ formidable
1730
+ msgid "Vietnamese"
1731
+ msgstr "Vietnamita"
1732
+
1733
+ #: pro/classes/controllers/FrmProFormsController.php:63
1734
+ #@ formidable
1735
+ msgid "Current Date"
1736
+ msgstr "Data Atual"
1737
+
1738
+ #: pro/classes/controllers/FrmProFormsController.php:64
1739
+ #@ formidable
1740
+ msgid "Current Time"
1741
+ msgstr "Hora Atual"
1742
+
1743
+ #: pro/classes/controllers/FrmProFormsController.php:65
1744
+ #@ formidable
1745
+ msgid "User Email"
1746
+ msgstr "E-mail do usuário"
1747
+
1748
+ #: pro/classes/controllers/FrmProFormsController.php:66
1749
+ #@ formidable
1750
+ msgid "User Login"
1751
+ msgstr "Login de Usuário"
1752
+
1753
+ #: pro/classes/controllers/FrmProFormsController.php:67
1754
+ #@ formidable
1755
+ msgid "User Display Name"
1756
+ msgstr "Nome de usuário"
1757
+
1758
+ #: pro/classes/controllers/FrmProFormsController.php:68
1759
+ #@ formidable
1760
+ msgid "User First Name"
1761
+ msgstr "Primeiro Nome do Usuário"
1762
+
1763
+ #: pro/classes/controllers/FrmProFormsController.php:69
1764
+ #@ formidable
1765
+ msgid "User Last Name"
1766
+ msgstr "Último Nome do usuário "
1767
+
1768
+ #: pro/classes/controllers/FrmProFormsController.php:70
1769
+ #@ formidable
1770
+ msgid "User Meta"
1771
+ msgstr "Usuário Meta"
1772
+
1773
+ #: pro/classes/controllers/FrmProFormsController.php:71
1774
+ #@ formidable
1775
+ msgid "Post ID"
1776
+ msgstr "ID do Post"
1777
+
1778
+ #: pro/classes/controllers/FrmProFormsController.php:73
1779
+ #@ formidable
1780
+ msgid "Client IP Address"
1781
+ msgstr "Endereço IP do cliente"
1782
+
1783
+ #: pro/classes/controllers/FrmProFormsController.php:74
1784
+ #@ formidable
1785
+ msgid "Auto Increment"
1786
+ msgstr "Auto Incremento"
1787
+
1788
+ #: pro/classes/controllers/FrmProFormsController.php:75
1789
+ #@ formidable
1790
+ msgid "GET/POST variable"
1791
+ msgstr "Variável GET / POST"
1792
+
1793
+ #: classes/views/frm-forms/list.php:102
1794
+ #: pro/classes/controllers/FrmProFormsController.php:100
1795
+ #@ formidable
1796
+ msgid "Export Template"
1797
+ msgstr "Exportar Modelo"
1798
+
1799
+ #: pro/classes/controllers/FrmProStatisticsController.php:226
1800
+ #@ formidable
1801
+ msgid "Completed"
1802
+ msgstr "Concluído"
1803
+
1804
+ #: pro/classes/controllers/FrmProStatisticsController.php:226
1805
+ #@ formidable
1806
+ msgid "Not Completed"
1807
+ msgstr "Não Concluído"
1808
+
1809
+ #: pro/classes/helpers/FrmProAppHelper.php:123
1810
+ #@ formidable
1811
+ msgid "Bulk Actions"
1812
+ msgstr "Ações em massa"
1813
+
1814
+ #: pro/classes/helpers/FrmProAppHelper.php:127
1815
+ #@ formidable
1816
+ msgid "Apply"
1817
+ msgstr "Aplicar"
1818
+
1819
+ #: pro/classes/helpers/FrmProAppHelper.php:150
1820
+ #@ formidable
1821
+ msgid "All Fields"
1822
+ msgstr "Todos os Campos"
1823
+
1824
+ #: pro/classes/helpers/FrmProAppHelper.php:157
1825
+ #@ formidable
1826
+ msgid "Search"
1827
+ msgstr "Pesquisa"
1828
+
1829
+ #: pro/classes/helpers/FrmProAppHelper.php:159
1830
+ #@ formidable
1831
+ msgid "Reset"
1832
+ msgstr "Reset"
1833
+
1834
+ #: pro/classes/helpers/FrmProFieldsHelper.php:246
1835
+ #@ formidable
1836
+ msgid "Draft"
1837
+ msgstr "Rascunho"
1838
+
1839
+ #: pro/classes/helpers/FrmProFieldsHelper.php:247
1840
+ #@ formidable
1841
+ msgid "Pending Review"
1842
+ msgstr "Revisão pendente"
1843
+
1844
+ #: pro/classes/helpers/FrmProFieldsHelper.php:249
1845
+ #@ formidable
1846
+ msgid "Published"
1847
+ msgstr "Publicado"
1848
+
1849
+ #: pro/classes/helpers/FrmProFieldsHelper.php:250
1850
+ #@ formidable
1851
+ msgid "Scheduled"
1852
+ msgstr "Agendado"
1853
+
1854
+ #: pro/classes/helpers/FrmProFieldsHelper.php:426
1855
+ #@ formidable
1856
+ msgid "Edit Uploaded File"
1857
+ msgstr "Editar Arquivo Carregado"
1858
+
1859
+ #: pro/classes/helpers/FrmProFieldsHelper.php:550
1860
+ #@ formidable
1861
+ msgid "Select a value to insert into the box below"
1862
+ msgstr "Selecione um valor para inserir na caixa abaixo"
1863
+
1864
+ #: pro/classes/helpers/FrmProFieldsHelper.php:552
1865
+ #@ formidable
1866
+ msgid "Entry ID"
1867
+ msgstr "ID Entrada"
1868
+
1869
+ #: pro/classes/helpers/FrmProFieldsHelper.php:554
1870
+ #@ formidable
1871
+ msgid "Entry Creation Date"
1872
+ msgstr "Data da Criação da Entrada"
1873
+
1874
+ #: pro/classes/helpers/FrmProFieldsHelper.php:556
1875
+ #@ formidable
1876
+ msgid "Form Fields"
1877
+ msgstr "Campos do formulário"
1878
+
1879
+ #: pro/classes/helpers/FrmProFieldsHelper.php:564
1880
+ #@ formidable
1881
+ msgid "Thumbnail"
1882
+ msgstr "Miniatura"
1883
+
1884
+ #: pro/classes/helpers/FrmProFieldsHelper.php:565
1885
+ #@ formidable
1886
+ msgid "Medium"
1887
+ msgstr "Médio"
1888
+
1889
+ #: pro/classes/helpers/FrmProFieldsHelper.php:566
1890
+ #@ formidable
1891
+ msgid "Large"
1892
+ msgstr "Grande"
1893
+
1894
+ #: pro/classes/helpers/FrmProFieldsHelper.php:567
1895
+ #@ formidable
1896
+ msgid "Full Size"
1897
+ msgstr "Tamanho Máximo"
1898
+
1899
+ #: pro/classes/helpers/FrmProFieldsHelper.php:588
1900
+ #@ formidable
1901
+ msgid "Helpers"
1902
+ msgstr "Helpers"
1903
+
1904
+ #: pro/classes/helpers/FrmProFieldsHelper.php:589
1905
+ #@ formidable
1906
+ msgid "Admin link to edit the entry"
1907
+ msgstr "Admin link para editar a entrada"
1908
+
1909
+ #: pro/classes/helpers/FrmProFieldsHelper.php:591
1910
+ #@ formidable
1911
+ msgid "Link to view single page if showing dynamic entries"
1912
+ msgstr "Link para a exibição de página única, se mostrando entradas dinâmicas"
1913
+
1914
+ #: pro/classes/helpers/FrmProFieldsHelper.php:595
1915
+ #@ formidable
1916
+ msgid "Add a rotating 'even' or 'odd' class"
1917
+ msgstr "Adicionar uma classe de rotação 'impar' ou 'par'"
1918
+
1919
+ #: pro/classes/helpers/FrmProFieldsHelper.php:597
1920
+ #@ formidable
1921
+ msgid "Site URL"
1922
+ msgstr "URL do site"
1923
+
1924
+ #: pro/classes/models/FrmProDisplay.php:169
1925
+ #@ formidable
1926
+ msgid "Limit must be a number"
1927
+ msgstr "Limite deve ser um número"
1928
+
1929
+ #: pro/classes/models/FrmProEntryMeta.php:94
1930
+ #@ formidable
1931
+ msgid "must be unique"
1932
+ msgstr "deve ser uníco"
1933
+
1934
+ #: pro/classes/models/FrmProField.php:19
1935
+ #@ formidable
1936
+ msgid "1 = Not Important, 10 = Very Important"
1937
+ msgstr "1 = Não Importante, 10 = Muito Importante"
1938
+
1939
+ #: pro/classes/models/FrmProField.php:33
1940
+ #@ formidable
1941
+ msgid "Phone"
1942
+ msgstr "Telefone"
1943
+
1944
+ #: pro/classes/models/FrmProField.php:39
1945
+ #: pro/classes/models/FrmProForm.php:77
1946
+ #@ formidable
1947
+ msgid "User ID"
1948
+ msgstr "ID do Usuário"
1949
+
1950
+ #: pro/classes/models/FrmProField.php:54
1951
+ #@ formidable
1952
+ msgid "Heading"
1953
+ msgstr "Designação"
1954
+
1955
+ #: pro/classes/models/FrmProField.php:60
1956
+ #: pro/classes/views/displays/list.php:43
1957
+ #: pro/classes/views/displays/list.php:88
1958
+ #@ formidable
1959
+ msgid "Page"
1960
+ msgstr "Página"
1961
+
1962
+ #: pro/classes/models/FrmProForm.php:84
1963
+ #@ formidable
1964
+ msgid "Please insert a message for your auto responder."
1965
+ msgstr "Por favor insira uma mensagem para sua resposta automática."
1966
+
1967
+ #: pro/classes/models/FrmProForm.php:86
1968
+ #@ formidable
1969
+ msgid "That is not a valid reply-to email address for your auto responder."
1970
+ msgstr "Não é um e-mail válido para sua resposta automática."
1971
+
1972
+ #: pro/classes/models/FrmProSettings.php:101
1973
+ #@ formidable
1974
+ msgid "You have already submitted that form"
1975
+ msgstr "Você já enviou esse formulário"
1976
+
1977
+ #: pro/classes/models/FrmProSettings.php:182
1978
+ #@ formidable
1979
+ msgid "Your responses were successfully saved."
1980
+ msgstr "Suas respostas foram salvas com sucesso."
1981
+
1982
+ #: pro/classes/views/displays/edit.php:7
1983
+ #: pro/classes/views/displays/new.php:7
1984
+ #@ formidable
1985
+ msgid "Get Help with This Page"
1986
+ msgstr "Obter Ajuda com esta página"
1987
+
1988
+ #: pro/classes/views/displays/form.php:26
1989
+ #@ formidable
1990
+ msgid "Save to get ID"
1991
+ msgstr "Salvar para obter o ID"
1992
+
1993
+ #: pro/classes/views/settings/formroller.php:320
1994
+ #@ formidable
1995
+ msgid "Calendar"
1996
+ msgstr "Calendário"
1997
+
1998
+ #: pro/classes/views/displays/form.php:112
1999
+ #@ formidable
2000
+ msgid "Date Field"
2001
+ msgstr "Campo de Data"
2002
+
2003
+ #: pro/classes/views/displays/form.php:114
2004
+ #: pro/classes/views/displays/form.php:204
2005
+ #: pro/classes/views/displays/where_row.php:5
2006
+ #@ formidable
2007
+ msgid "Entry creation date"
2008
+ msgstr "Data de criação da Entrada"
2009
+
2010
+ #: pro/classes/views/displays/form.php:92
2011
+ #@ formidable
2012
+ msgid "Use Entries from Form"
2013
+ msgstr "Use entradas de formulário"
2014
+
2015
+ #: pro/classes/views/displays/form.php:96
2016
+ #@ formidable
2017
+ msgid "Select Entry"
2018
+ msgstr "Selecione Entrada"
2019
+
2020
+ #: pro/classes/views/displays/form.php:96
2021
+ #@ formidable
2022
+ msgid "The first one depending on the Order specified below"
2023
+ msgstr "O primeiro, dependendo da ordem especificado abaixo"
2024
+
2025
+ #: pro/classes/views/displays/form.php:153
2026
+ #@ formidable
2027
+ msgid "Before Content"
2028
+ msgstr "Antes de Conteúdo"
2029
+
2030
+ #: pro/classes/views/displays/form.php:153
2031
+ #@ formidable
2032
+ msgid "This content will not be repeated. This would be a good place to put any HTML table tags."
2033
+ msgstr "Este conteúdo não será repetida. Este seria um bom lugar para colocar tags HTML de tabela."
2034
+
2035
+ #: pro/classes/views/displays/form.php:148
2036
+ #: pro/classes/views/displays/form.php:160
2037
+ #: pro/classes/views/frmpro-fields/options-form.php:109
2038
+ #@ formidable
2039
+ msgid "Content"
2040
+ msgstr "Conteúdo"
2041
+
2042
+ #: pro/classes/views/displays/form.php:160
2043
+ #@ formidable
2044
+ 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."
2045
+ msgstr "O HTML de sua página. Se \\\"Todas as entradas\\\" estiver selecionado acima, esse conteúdo será repetido para cada entrada. O campo ID e Key são sinônimos, embora haja vezes que escolher um ou outro pode ser melhor. Se você é quer copiar as configurações de exibição personalizado para outros blogs, use Key, uma vez que os ID's podem diferir de blog para blog."
2046
+
2047
+ #: pro/classes/views/displays/form.php:172
2048
+ #@ formidable
2049
+ msgid "After Content"
2050
+ msgstr "Depois do Conteúdo"
2051
+
2052
+ #: pro/classes/views/displays/form.php:172
2053
+ #@ formidable
2054
+ msgid "This content will not be repeated. This would be a good place to close any HTML tags from the Before Content field."
2055
+ msgstr "Este conteúdo não será repetido. Este seria um bom lugar para fechar as tags HTML usadasno campo Antes do Conteúdo."
2056
+
2057
+ #: pro/classes/views/displays/form.php:179
2058
+ #@ formidable
2059
+ msgid "Dynamic Content"
2060
+ msgstr "Conteúdo Dinâmico"
2061
+
2062
+ #: pro/classes/views/displays/form.php:179
2063
+ #, php-format
2064
+ #@ formidable
2065
+ 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."
2066
+ msgstr "O HTML para a entrada na página dinâmica. Este conteúdo não será repetido, e só vai aparecer quando %1$s é clicado."
2067
+
2068
+ #: pro/classes/views/displays/form.php:12
2069
+ #@ formidable
2070
+ msgid "After page content"
2071
+ msgstr "Após o conteúdo da página"
2072
+
2073
+ #: pro/classes/views/displays/form.php:13
2074
+ #@ formidable
2075
+ msgid "Before page content"
2076
+ msgstr "Antes de o conteúdo da página"
2077
+
2078
+ #: pro/classes/views/displays/form.php:20
2079
+ #@ formidable
2080
+ msgid "If you would like the content to be inserted automatically, you must then select the page in which to insert it."
2081
+ msgstr "Se você quer o conteúdo inserido automaticamente, você deve selecionar a página na qual inseri-lo."
2082
+
2083
+ #: pro/classes/views/displays/form.php:121
2084
+ #@ formidable
2085
+ msgid "Detail Link"
2086
+ msgstr "Link Detalhe"
2087
+
2088
+ #: pro/classes/views/displays/form.php:121
2089
+ #, php-format
2090
+ #@ formidable
2091
+ 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."
2092
+ msgstr "Exemplo: Se o nome do parâmetro é 'contato', a url seria como%1$s/selected-page?contato=2. Se essa entrada está ligada a um poste, o permalink do post vai ser utilizado."
2093
+
2094
+ #: pro/classes/views/displays/form.php:129
2095
+ #, php-format
2096
+ #@ formidable
2097
+ 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"
2098
+ msgstr "Selecione o valor que será adicionado para a URL da página. Isto irá criar uma URL bonita como %1$s/selected-page/entry-key"
2099
+
2100
+ #: pro/classes/views/displays/form.php:131
2101
+ #@ formidable
2102
+ msgid "Parameter Name"
2103
+ msgstr "Nome do parâmetro"
2104
+
2105
+ #: pro/classes/views/displays/form.php:134
2106
+ #@ formidable
2107
+ msgid "Parameter Value"
2108
+ msgstr "Valor do parâmetro"
2109
+
2110
+ #: pro/classes/views/displays/form.php:203
2111
+ #@ formidable
2112
+ msgid "Random"
2113
+ msgstr "Randomico"
2114
+
2115
+ #: pro/classes/views/displays/form.php:210
2116
+ #@ formidable
2117
+ msgid "Ascending"
2118
+ msgstr "Crescente"
2119
+
2120
+ #: pro/classes/views/displays/form.php:211
2121
+ #@ formidable
2122
+ msgid "Descending"
2123
+ msgstr "Descendente"
2124
+
2125
+ #: pro/classes/views/displays/form.php:218
2126
+ #@ formidable
2127
+ msgid "Narrow down which entries will be used."
2128
+ msgstr "Selecione as entradas que serão utilizados."
2129
+
2130
+ #: pro/classes/views/displays/form.php:238
2131
+ #@ formidable
2132
+ 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."
2133
+ msgstr "Se você não deseja que todas as entradas sejam exibidas, você pode inserir um limite aqui. Deixe em branco se quiser todas as entradas exibidas."
2134
+
2135
+ #: pro/classes/views/displays/form.php:247
2136
+ #@ formidable
2137
+ msgid "The number of entries to show per page. Leave blank to not use pagination."
2138
+ msgstr "O número de entradas para mostrar por página. Deixe em branco para não usar paginação."
2139
+
2140
+ #: pro/classes/views/displays/form.php:257
2141
+ #@ formidable
2142
+ msgid "Copy these display settings to other blogs when Formidable Pro is activated. Note: Use only field keys in the content box(es) below."
2143
+ msgstr "Copie essas configurações de exibição para outros blogs, quando Formidable Pro está ativado. Nota: Use as chaves de campo da caixa de conteúdo (s) abaixo."
2144
+
2145
+ #: pro/classes/views/displays/list.php:41
2146
+ #: pro/classes/views/displays/list.php:86
2147
+ #: pro/classes/widgets/FrmPollResults.php:40
2148
+ #: pro/classes/widgets/FrmShowForm.php:46
2149
+ #@ formidable
2150
+ msgid "Form"
2151
+ msgstr "Formulário"
2152
+
2153
+ #: pro/classes/views/displays/list.php:50
2154
+ #@ formidable
2155
+ msgid "No Records Found"
2156
+ msgstr "Nenhum Registro Encontrado"
2157
+
2158
+ #: pro/classes/views/displays/list.php:64
2159
+ #, php-format
2160
+ #@ formidable
2161
+ msgid "Are you sure you want to delete your %1$s display data?"
2162
+ msgstr "Tem certeza que quer apagar os dades de exibição %1$s?"
2163
+
2164
+ #: pro/classes/views/displays/tags.php:5
2165
+ #: pro/classes/views/displays/tags.php:14
2166
+ #: pro/classes/views/displays/tags.php:24
2167
+ #@ formidable
2168
+ msgid "Add"
2169
+ msgstr "Adicionar"
2170
+
2171
+ #: pro/classes/views/displays/tags.php:6
2172
+ #: pro/classes/views/displays/tags.php:15
2173
+ #: pro/classes/views/displays/tags.php:25
2174
+ #: pro/classes/views/settings/form.php:37
2175
+ #@ formidable
2176
+ msgid "Example"
2177
+ msgstr "Exemplo"
2178
+
2179
+ #: pro/classes/views/displays/tags.php:13
2180
+ #@ formidable
2181
+ msgid "Linked Entry id: id, Entry key: key, Linked entry created at: created_at, a field from the entry: use the id or key from the field in you other form."
2182
+ msgstr "Vinculado id de Entrada: id, Entrada chave:chave, Entrada vinculada criada em: created_at, um campo a partir da entrada: use o ID ou chave do campo em seu outro formulário."
2183
+
2184
+ #: pro/classes/views/displays/tags.php:14
2185
+ #@ formidable
2186
+ msgid "Field ID"
2187
+ msgstr "ID do Campo"
2188
+
2189
+ #: pro/classes/views/displays/tags.php:26
2190
+ #@ formidable
2191
+ msgid "Leave blank instead of defaulting to User Login"
2192
+ msgstr "Deixe em branco em vez do padrão para logind o usuário"
2193
+
2194
+ #: pro/classes/views/displays/tags.php:39
2195
+ #@ formidable
2196
+ msgid "Replaces spaces with dashes and lowercases all. Use if adding an HTML class or ID"
2197
+ msgstr "Substitui espaços com traços e torna em minúsculas o texto. Utilize se adicionar uma classe HTML ou ID"
2198
+
2199
+ #: pro/classes/views/displays/tags.php:40
2200
+ #@ formidable
2201
+ msgid "Replaces all HTML entities with a URL safe string."
2202
+ msgstr "Substitui todas as entidades HTML por uma string segura para uso em URL."
2203
+
2204
+ #: pro/classes/views/displays/tags.php:41
2205
+ #@ formidable
2206
+ msgid "Truncate text with a link to view more. If using Both (dynamic), the link goes to the detail page. Otherwise, it will show in-place."
2207
+ msgstr "Truncar texto com um link para ver mais. Se estiver usando Ambos (dinâmico), o link vai para a página de detalhes. Caso contrário, ele exibirá no próprio local."
2208
+
2209
+ #: pro/classes/views/displays/tags.php:42
2210
+ #@ formidable
2211
+ msgid "Specify the more link text."
2212
+ msgstr "Especifique o texto para o link Mais."
2213
+
2214
+ #: pro/classes/views/displays/where_options.php:19
2215
+ #@ formidable
2216
+ msgid "Date options: 'NOW' or a date in yyyy-mm-dd format."
2217
+ msgstr "Data opções: \\\"NOW\\\" (AGORA)ou uma data no formato aaaa-mm-dd."
2218
+
2219
+ #: pro/classes/views/displays/where_row.php:8
2220
+ #@ formidable
2221
+ msgid "is"
2222
+ msgstr "é"
2223
+
2224
+ #: pro/classes/views/displays/where_row.php:10
2225
+ #@ formidable
2226
+ msgid "equal to"
2227
+ msgstr "igual a"
2228
+
2229
+ #: pro/classes/views/displays/where_row.php:11
2230
+ #@ formidable
2231
+ msgid "NOT equal to"
2232
+ msgstr "NÃO igual"
2233
+
2234
+ #: pro/classes/views/displays/where_row.php:12
2235
+ #@ formidable
2236
+ msgid "greater than"
2237
+ msgstr "maior que"
2238
+
2239
+ #: pro/classes/views/displays/where_row.php:13
2240
+ #@ formidable
2241
+ msgid "less than"
2242
+ msgstr "menor que"
2243
+
2244
+ #: pro/classes/views/displays/where_row.php:14
2245
+ #@ formidable
2246
+ msgid "like"
2247
+ msgstr "como"
2248
+
2249
+ #: pro/classes/views/frmpro-entries/edit.php:3
2250
+ #@ formidable
2251
+ msgid "Edit Entry"
2252
+ msgstr "Editar entrada"
2253
+
2254
+ #: pro/classes/controllers/FrmProEntriesController.php:939
2255
+ #: pro/classes/views/frmpro-entries/list.php:67
2256
+ #@ default
2257
+ #@ formidable
2258
+ msgid "Are you sure you want to delete that entry?"
2259
+ msgstr "Tem certeza que quer apagar esta entrada?"
2260
+
2261
+ #: pro/classes/views/frmpro-entries/list.php:91
2262
+ #@ formidable
2263
+ msgid "Download CSV for"
2264
+ msgstr "Download CSV para"
2265
+
2266
+ #: pro/classes/views/frmpro-entries/new-selection.php:4
2267
+ #@ formidable
2268
+ msgid "Create Entry"
2269
+ msgstr "Criar Entrada"
2270
+
2271
+ #: pro/classes/views/frmpro-entries/new-selection.php:8
2272
+ #@ formidable
2273
+ msgid "Select Form for New Entry"
2274
+ msgstr "Selecione Formulário para nova entrada"
2275
+
2276
+ #: pro/classes/views/frmpro-entries/new.php:3
2277
+ #, php-format
2278
+ #@ formidable
2279
+ msgid "New %1$s Entry"
2280
+ msgstr "Nova entrada %1$s"
2281
+
2282
+ #: pro/classes/views/frmpro-entries/show.php:3
2283
+ #@ formidable
2284
+ msgid "View Entry"
2285
+ msgstr "Veja a entrada"
2286
+
2287
+ #: pro/classes/views/frmpro-entries/show.php:12
2288
+ #: pro/classes/views/frmpro-entries/show.php:55
2289
+ #@ formidable
2290
+ msgid "Edit this entry"
2291
+ msgstr "Edite esta entrada"
2292
+
2293
+ #: pro/classes/views/frmpro-fields/dynamic-options.php:18
2294
+ #@ formidable
2295
+ msgid "Limit selection choices to those created by the user filling out this form"
2296
+ msgstr "Limitar opções de seleção aos criados pelo usuário que está preenchendo este formulário"
2297
+
2298
+ #: pro/classes/views/frmpro-fields/options-form.php:2
2299
+ #@ formidable
2300
+ msgid "Make this section collapsable"
2301
+ msgstr "Faça esta seção dobrável"
2302
+
2303
+ #: pro/classes/views/frmpro-fields/options-form.php:14
2304
+ #@ formidable
2305
+ msgid "Display as"
2306
+ msgstr "Mostrar como"
2307
+
2308
+ #: pro/classes/views/frmpro-fields/options-form.php:16
2309
+ #@ formidable
2310
+ msgid "Just show it"
2311
+ msgstr "Apenas o exiba"
2312
+
2313
+ #: pro/classes/views/frmpro-fields/options-form.php:26
2314
+ #@ formidable
2315
+ msgid "Calendar Localization"
2316
+ msgstr "Localização do Calendário"
2317
+
2318
+ #: pro/classes/views/frmpro-fields/options-form.php:37
2319
+ #@ formidable
2320
+ msgid "Start Year"
2321
+ msgstr "Ano Inicial"
2322
+
2323
+ #: pro/classes/views/frmpro-fields/options-form.php:45
2324
+ #@ formidable
2325
+ msgid "End Year"
2326
+ msgstr "Ano Final"
2327
+
2328
+ #: pro/classes/views/frmpro-fields/options-form.php:54
2329
+ #@ formidable
2330
+ msgid "Clock Settings"
2331
+ msgstr "Definições do Relógio"
2332
+
2333
+ #: pro/classes/views/frmpro-fields/options-form.php:59
2334
+ #@ formidable
2335
+ msgid "hour clock"
2336
+ msgstr "hora do relógio "
2337
+
2338
+ #: pro/classes/views/frmpro-fields/options-form.php:62
2339
+ #@ formidable
2340
+ msgid "minute step"
2341
+ msgstr "intervalo de minutos"
2342
+
2343
+ #: pro/classes/views/frmpro-fields/options-form.php:67
2344
+ #@ formidable
2345
+ msgid "automatic width"
2346
+ msgstr "largura automática"
2347
+
2348
+ #: pro/classes/views/frmpro-fields/options-form.php:71
2349
+ #@ formidable
2350
+ msgid "Email Attachment"
2351
+ msgstr "Anexo de E-mail"
2352
+
2353
+ #: pro/classes/views/frmpro-fields/options-form.php:72
2354
+ #@ formidable
2355
+ msgid "attach this file to the email notification"
2356
+ msgstr "anexar esse arquivo ao email de notificação"
2357
+
2358
+ #: pro/classes/views/frmpro-fields/options-form.php:75
2359
+ #@ formidable
2360
+ msgid "Number Range"
2361
+ msgstr "Faixa de Número"
2362
+
2363
+ #: pro/classes/views/frmpro-fields/options-form.php:75
2364
+ #@ formidable
2365
+ 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."
2366
+ msgstr "Os navegadores que suportam o campo de número HTML5 exigem um intervalo de números para determinar os números visitos ao clicar nas setas ao lado do campo."
2367
+
2368
+ #: pro/classes/views/frmpro-fields/options-form.php:76
2369
+ #@ formidable
2370
+ msgid "minimum"
2371
+ msgstr "mínimo"
2372
+
2373
+ #: pro/classes/views/frmpro-fields/options-form.php:77
2374
+ #@ formidable
2375
+ msgid "maximum"
2376
+ msgstr "máximo"
2377
+
2378
+ #: pro/classes/views/frmpro-fields/options-form.php:78
2379
+ #@ formidable
2380
+ msgid "step"
2381
+ msgstr "etapa"
2382
+
2383
+ #: pro/classes/views/frmpro-fields/options-form.php:81
2384
+ #@ formidable
2385
+ msgid "Range"
2386
+ msgstr "Faixa"
2387
+
2388
+ #: pro/classes/views/frmpro-fields/options-form.php:88
2389
+ #@ formidable
2390
+ msgid "to"
2391
+ msgstr "para"
2392
+
2393
+ #: pro/classes/views/frmpro-fields/options-form.php:98
2394
+ #: pro/classes/views/frmpro-fields/options-form.php:119
2395
+ #: pro/classes/views/frmpro-fields/options-form.php:127
2396
+ #@ formidable
2397
+ msgid "Field Type"
2398
+ msgstr "Tipo de campo"
2399
+
2400
+ #: pro/classes/views/frmpro-fields/options-form.php:157
2401
+ #@ formidable
2402
+ msgid "Hide this field unless the value of"
2403
+ msgstr "Esconder este campo a menos que o valor de"
2404
+
2405
+ #: pro/classes/views/frmpro-fields/options-form.php:159
2406
+ #@ formidable
2407
+ msgid "Select Field"
2408
+ msgstr "Selecione Campo"
2409
+
2410
+ #: pro/classes/views/frmpro-fields/options-form.php:167
2411
+ #@ formidable
2412
+ msgid "is equal to"
2413
+ msgstr "é igual a"
2414
+
2415
+ #: pro/classes/views/frmpro-fields/options-form.php:181
2416
+ #@ formidable
2417
+ msgid "Post field"
2418
+ msgstr "campo Post"
2419
+
2420
+ #: pro/classes/views/frmpro-fields/options-form.php:181
2421
+ #@ formidable
2422
+ msgid "Create a post from each form submission by selecting which part of the post this field will create. 'Custom field' is the only post field type that should be used multiple times."
2423
+ msgstr "Criar um post de cada envio do formulário, selecionando a parte do post que este campo irá criar. 'Campo personalizado' é o uníco tipo de campo de post que pode ser usado várias vezes."
2424
+
2425
+ #: pro/classes/views/frmpro-fields/options-form.php:210
2426
+ #@ formidable
2427
+ msgid "The field key can be used as an alternative to the field ID in many cases."
2428
+ msgstr "O campo chave pode ser usado como uma alternativa para o campo ID, em muitos casos."
2429
+
2430
+ #: pro/classes/views/frmpro-fields/show.php:21
2431
+ #@ formidable
2432
+ msgid "These buttons are for illustrative purposes only. They will be functional in your form."
2433
+ msgstr "Estes botões são apenas para fins ilustrativos. Eles vão ser funcionais em seu formulário."
2434
+
2435
+ #: pro/classes/views/frmpro-fields/show.php:110
2436
+ #@ formidable
2437
+ msgid "Add a Row"
2438
+ msgstr "Adicionar uma linha"
2439
+
2440
+ #: pro/classes/views/frmpro-fields/show.php:111
2441
+ #@ formidable
2442
+ msgid "Add a Column"
2443
+ msgstr "Adicionar uma coluna"
2444
+
2445
+ #: pro/classes/views/frmpro-forms/add_form_options.php:1
2446
+ #@ formidable
2447
+ msgid "Use Content from Page"
2448
+ msgstr "Use o conteúdo da página"
2449
+
2450
+ #: pro/classes/views/frmpro-forms/add_form_options.php:7
2451
+ #@ formidable
2452
+ msgid "Redirect to"
2453
+ msgstr "Redirecionar para"
2454
+
2455
+ #: pro/classes/views/frmpro-forms/add_form_options.php:12
2456
+ #@ formidable
2457
+ msgid "Submit this Form with AJAX"
2458
+ msgstr "Envie este formulário com AJAX"
2459
+
2460
+ #: pro/classes/views/frmpro-forms/add_form_options.php:14
2461
+ #@ formidable
2462
+ msgid "Only"
2463
+ msgstr "Somente"
2464
+
2465
+ #: pro/classes/views/frmpro-forms/add_form_options.php:22
2466
+ #@ formidable
2467
+ msgid "Can See and Submit this Form"
2468
+ msgstr "Pode ver e enviar este formulário"
2469
+
2470
+ #: pro/classes/views/frmpro-forms/add_form_options.php:24
2471
+ #@ formidable
2472
+ msgid "Allow"
2473
+ msgstr "Permitir"
2474
+
2475
+ #: pro/classes/views/frmpro-forms/add_form_options.php:32
2476
+ #@ formidable
2477
+ msgid "to Edit Their Own Previous Responses"
2478
+ msgstr "editar suas próprias respostas anteriores"
2479
+
2480
+ #: pro/classes/views/frmpro-forms/add_form_options.php:35
2481
+ #@ formidable
2482
+ msgid "Also Allow"
2483
+ msgstr "Também permitir"
2484
+
2485
+ #: pro/classes/views/frmpro-forms/add_form_options.php:43
2486
+ #@ formidable
2487
+ msgid "to Edit Responses Submitted by Anyone"
2488
+ msgstr "Editar respostas enviadas por qualquer pessoa"
2489
+
2490
+ #: pro/classes/views/frmpro-forms/add_form_options.php:47
2491
+ #@ formidable
2492
+ msgid "Update Submit Button Text"
2493
+ msgstr "Atualize texto do botão Enviar"
2494
+
2495
+ #: pro/classes/views/frmpro-forms/add_form_options.php:52
2496
+ #@ formidable
2497
+ msgid "Update Confirmation Message"
2498
+ msgstr "Atualize Mensagem de Confirmação"
2499
+
2500
+ #: pro/classes/views/frmpro-forms/add_form_options.php:56
2501
+ #@ formidable
2502
+ msgid "Allow Only One Entry for Each"
2503
+ msgstr "Permitir apenas uma entrada para cada"
2504
+
2505
+ #: pro/classes/views/frmpro-forms/add_form_options.php:59
2506
+ #@ formidable
2507
+ msgid "Logged-in User"
2508
+ msgstr "Usuário logado"
2509
+
2510
+ #: pro/classes/views/frmpro-forms/add_form_options.php:61
2511
+ #@ formidable
2512
+ msgid "Saved Cookie"
2513
+ msgstr "Cookie Salvo"
2514
+
2515
+ #: pro/classes/views/frmpro-forms/add_form_options.php:78
2516
+ #@ formidable
2517
+ msgid "Copy this form to other blogs when Formidable Pro is activated"
2518
+ msgstr "Copie este formulário para outros blogs, quando Formidable Pro está ativado"
2519
+
2520
+ #: pro/classes/views/frmpro-forms/instructions.php:4
2521
+ #@ formidable
2522
+ msgid "Use dynamic default values by entering the shortcodes below as the default text."
2523
+ msgstr "Utilize os valores padrão dinâmico inserindo o shortcodes abaixo como texto padrão."
2524
+
2525
+ #: pro/classes/views/frmpro-forms/instructions.php:14
2526
+ #@ formidable
2527
+ msgid "A variable from the URL or value posted from previous page."
2528
+ msgstr "Uma variável da URL ou valor recebido da página anterior."
2529
+
2530
+ #: pro/classes/views/frmpro-forms/instructions.php:18
2531
+ #@ formidable
2532
+ msgid "Replace CUSTOM with the parameter name. In url.com?product=form, the variable is 'product'. You would use [get-product] in your field."
2533
+ msgstr "Substitua CUSTOM pelo nome do parâmetro. Em url.com? produto=form, a variável é 'produto'. Você usaria [get-produto] em seu campo."
2534
+
2535
+ #: pro/classes/views/frmpro-forms/notifications.php:3
2536
+ #@ formidable
2537
+ msgid "and/or"
2538
+ msgstr "e/ou"
2539
+
2540
+ #: pro/classes/views/frmpro-forms/notifications.php:3
2541
+ #@ formidable
2542
+ msgid "Select a user id, hidden, or email field to send a notification."
2543
+ msgstr "Selecione um ID de usuário, oculto, ou o campo e-mail para enviar uma notificação."
2544
+
2545
+ #: pro/classes/views/frmpro-forms/notifications.php:31
2546
+ #@ formidable
2547
+ 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. Select from Email, User ID, and hidden fields for the email. Defaults to your site name and admin email found on the WordPress General Settings page."
2548
+ msgstr "Normalmente, o nome e e-mail da pessoa que está preenchendo o formulário. Escolha entre Texto, Email, ID de usuário, ou campos ocultos para o nome. Selecione a partir de e-mail, identificação de usuário, e os campos ocultos para o e-mail. O padrão é o nome do site e e-mail admin encontrados na página do WordPress Definições Gerais."
2549
+
2550
+ #: pro/classes/views/frmpro-forms/notifications.php:74
2551
+ #: pro/classes/views/frmpro-forms/notifications.php:132
2552
+ #@ formidable
2553
+ msgid "Email Format"
2554
+ msgstr "Formato do e-mail"
2555
+
2556
+ #: pro/classes/views/frmpro-forms/notifications.php:75
2557
+ #: pro/classes/views/frmpro-forms/notifications.php:133
2558
+ #@ formidable
2559
+ msgid "Send Plain Text"
2560
+ msgstr "Enviar Plain Text"
2561
+
2562
+ #: pro/classes/views/frmpro-forms/notifications.php:85
2563
+ #@ formidable
2564
+ msgid "Leave blank to use default message."
2565
+ msgstr "Deixe em branco para usar a mensagem padrão."
2566
+
2567
+ #: pro/classes/views/frmpro-forms/notifications.php:92
2568
+ #@ formidable
2569
+ msgid "Append IP Address, Browser, and Referring URL to message"
2570
+ msgstr "Acrescente o endereço IP, Browser, e URL de referência na mensagem"
2571
+
2572
+ #: pro/classes/views/frmpro-forms/notifications.php:96
2573
+ #@ formidable
2574
+ msgid "Auto Responder"
2575
+ msgstr "Resposta Automática"
2576
+
2577
+ #: pro/classes/views/frmpro-forms/notifications.php:97
2578
+ #@ formidable
2579
+ msgid "Send an automatic response to users submitting the form"
2580
+ msgstr "Enviar uma resposta automática para os usuários que enviarem o formulário"
2581
+
2582
+ #: pro/classes/views/frmpro-forms/notifications.php:101
2583
+ #@ formidable
2584
+ msgid "Email to"
2585
+ msgstr "E-mail para"
2586
+
2587
+ #: pro/classes/views/frmpro-forms/notifications.php:101
2588
+ #@ formidable
2589
+ msgid "Select a user id, hidden, or email field to send the autoresponse."
2590
+ msgstr "Selecione um ID de usuário, escondido, ou campo de e-mail para enviar a resposta automática."
2591
+
2592
+ #: pro/classes/views/frmpro-forms/notifications.php:124
2593
+ #@ formidable
2594
+ msgid "Reply to"
2595
+ msgstr "Responder para"
2596
+
2597
+ #: pro/classes/views/settings/form.php:4
2598
+ #@ formidable
2599
+ msgid "Previously Submitted Message"
2600
+ msgstr "Mensagem enviada anteriormente"
2601
+
2602
+ #: pro/classes/views/settings/form.php:4
2603
+ #@ formidable
2604
+ msgid "The message seen when a user attempts to submit a form for a second time if submissions are limited."
2605
+ msgstr "Está mensagem é exibida quando um usuário tenta enviar um formulário pela segunda vez se as submissões são limitadas."
2606
+
2607
+ #: pro/classes/views/settings/form.php:13
2608
+ #@ formidable
2609
+ msgid "Include accordion javascript"
2610
+ msgstr "Incluir acordeão javascript"
2611
+
2612
+ #: pro/classes/views/settings/form.php:13
2613
+ #@ formidable
2614
+ msgid "If you have manually created an accordion form, be sure to include the javascript for it."
2615
+ msgstr "Se você tiver criado um formulário tipo acordeão, não se esqueça de incluir o javascript para ele."
2616
+
2617
+ #: pro/classes/views/settings/form.php:18
2618
+ #@ formidable
2619
+ msgid "Keys"
2620
+ msgstr "Chaves"
2621
+
2622
+ #: pro/classes/views/settings/form.php:18
2623
+ #@ formidable
2624
+ msgid "Hide Key input fields to prevent them from being edited. Uncheck this box if you'd like to change the saved keys for use in your template."
2625
+ msgstr "Esconder os campos do tipo chave para impedir que eles sejam editados. Desmarque esta caixa se você quiser mudar as chaves salvas para uso no seu modelo."
2626
+
2627
+ #: pro/classes/views/settings/form.php:21
2628
+ #@ formidable
2629
+ msgid "Lock Field and Entry Keys"
2630
+ msgstr "Bloqueia campo chave e suas entradas"
2631
+
2632
+ #: pro/classes/views/settings/form.php:26
2633
+ #@ formidable
2634
+ msgid "Path to Extra Templates"
2635
+ msgstr "Caminho para modelos extras"
2636
+
2637
+ #: pro/classes/views/settings/form.php:26
2638
+ #, php-format
2639
+ #@ formidable
2640
+ 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."
2641
+ msgstr "Se você gostaria de usar qualquer modelo extra que não estão incluídos no Formidable, definir o caminho absoluto aqui. Por exemplo, o caminho absoluto para a pasta de modelo Formidable é %1$s."
2642
+
2643
+ #: pro/classes/views/settings/form.php:33
2644
+ #@ formidable
2645
+ msgid "Update Imported Templates Now"
2646
+ msgstr "Atualize modelos importados agora"
2647
+
2648
+ #: pro/classes/views/settings/form.php:42
2649
+ #@ formidable
2650
+ msgid "Date Format"
2651
+ msgstr "Formato de data"
2652
+
2653
+ #: pro/classes/views/settings/form.php:42
2654
+ #@ formidable
2655
+ msgid "Change the format of the date used in the calendar."
2656
+ msgstr "Alterar o formato da data usada no calendário."
2657
+
2658
+ #: pro/classes/views/settings/form.php:56
2659
+ #@ formidable
2660
+ msgid "Pretty Permalinks"
2661
+ msgstr "Permalinks bonitos"
2662
+
2663
+ #: pro/classes/views/settings/form.php:59
2664
+ #@ formidable
2665
+ msgid "Use pretty permalinks for entry detail links"
2666
+ msgstr "Use permalinks bonito para links de entrada detalhada"
2667
+
2668
+ #: pro/classes/views/settings/formroller.php:22
2669
+ #: pro/classes/views/settings/formroller.php:194
2670
+ #: pro/classes/views/settings/formroller.php:226
2671
+ #: pro/classes/views/settings/formroller.php:250
2672
+ #: pro/classes/views/settings/formroller.php:396
2673
+ #: pro/classes/views/settings/formroller.php:446
2674
+ #: pro/classes/views/settings/formroller.php:472
2675
+ #@ formidable
2676
+ msgid "Border"
2677
+ msgstr "Borda"
2678
+
2679
+ #: pro/classes/views/settings/formroller.php:27
2680
+ #: pro/classes/views/settings/formroller.php:50
2681
+ #: pro/classes/views/settings/formroller.php:100
2682
+ #: pro/classes/views/settings/formroller.php:299
2683
+ #@ formidable
2684
+ msgid "Color"
2685
+ msgstr "Cor"
2686
+
2687
+ #: pro/classes/views/settings/formroller.php:32
2688
+ #: pro/classes/views/settings/formroller.php:165
2689
+ #: pro/classes/views/settings/formroller.php:413
2690
+ #@ formidable
2691
+ msgid "Padding"
2692
+ msgstr "Padding"
2693
+
2694
+ #: pro/classes/views/settings/formroller.php:111
2695
+ #: pro/classes/views/settings/formroller.php:202
2696
+ #: pro/classes/views/settings/formroller.php:258
2697
+ #@ formidable
2698
+ msgid "Style"
2699
+ msgstr "Estilo"
2700
+
2701
+ #: pro/classes/views/settings/formroller.php:204
2702
+ #: pro/classes/views/settings/formroller.php:260
2703
+ #@ formidable
2704
+ msgid "solid"
2705
+ msgstr "sólido"
2706
+
2707
+ #: pro/classes/views/settings/formroller.php:205
2708
+ #: pro/classes/views/settings/formroller.php:261
2709
+ #@ formidable
2710
+ msgid "dotted"
2711
+ msgstr "pontilhado"
2712
+
2713
+ #: pro/classes/views/settings/formroller.php:206
2714
+ #: pro/classes/views/settings/formroller.php:262
2715
+ #@ formidable
2716
+ msgid "dashed"
2717
+ msgstr "tracejada"
2718
+
2719
+ #: pro/classes/views/settings/formroller.php:207
2720
+ #: pro/classes/views/settings/formroller.php:263
2721
+ #@ formidable
2722
+ msgid "double"
2723
+ msgstr "dupla"
2724
+
2725
+ #: pro/classes/views/settings/formroller.php:198
2726
+ #: pro/classes/views/settings/formroller.php:254
2727
+ #: pro/classes/views/settings/formroller.php:400
2728
+ #@ formidable
2729
+ msgid "Thickness"
2730
+ msgstr "Espessura"
2731
+
2732
+ #: pro/classes/views/settings/formroller.php:345
2733
+ #@ formidable
2734
+ msgid "Disable submit button styling"
2735
+ msgstr "Desabilitar estilização do botão submit"
2736
+
2737
+ #: pro/classes/views/settings/formroller.php:347
2738
+ #@ formidable
2739
+ msgid "Note: If disabled, you may not see the change take effect until you make 2 more styling changes or click \"Update Options\"."
2740
+ msgstr "Nota: Se desativado, você não pode ver as alterações terem efeito até que você faça duas ou mais mudanças no estilo ou clique em \"Update Options\"."
2741
+
2742
+ #: pro/classes/views/settings/formroller.php:513
2743
+ #@ formidable
2744
+ msgid "Templates Updated"
2745
+ msgstr "Modelos Atualizados"
2746
+
2747
+ #: pro/classes/widgets/FrmListEntries.php:6
2748
+ #@ formidable
2749
+ msgid "Display a list of Formidable entries"
2750
+ msgstr "Exibir uma lista de entradas do Formidable"
2751
+
2752
+ #: pro/classes/widgets/FrmListEntries.php:7
2753
+ #@ formidable
2754
+ msgid "Formidable Entries List"
2755
+ msgstr "Lista de Entradas Formidable"
2756
+
2757
+ #: pro/classes/widgets/FrmListEntries.php:133
2758
+ #: pro/classes/widgets/FrmPollResults.php:34
2759
+ #: pro/classes/widgets/FrmShowForm.php:43
2760
+ #@ formidable
2761
+ msgid "Title"
2762
+ msgstr "Título"
2763
+
2764
+ #: pro/classes/widgets/FrmListEntries.php:136
2765
+ #@ formidable
2766
+ msgid "Use Settings from Display"
2767
+ msgstr "Usar configurações de exibição"
2768
+
2769
+ #: pro/classes/widgets/FrmListEntries.php:144
2770
+ #@ formidable
2771
+ msgid "Only custom displays will show here if they are showing \"Both (Dynamic)\" data."
2772
+ msgstr "Apenas exibições personalizadas serão exibidas aqui se estiver sendo exibido dados \"Ambos (Dinâmico)\"."
2773
+
2774
+ #: pro/classes/widgets/FrmListEntries.php:146
2775
+ #@ formidable
2776
+ msgid "Page if not specified in display settings"
2777
+ msgstr "Página se não for especificado nas configurações de exibição"
2778
+
2779
+ #: pro/classes/widgets/FrmListEntries.php:155
2780
+ #@ formidable
2781
+ msgid "Title Field"
2782
+ msgstr "Título do Campo"
2783
+
2784
+ #: pro/classes/widgets/FrmListEntries.php:169
2785
+ #@ formidable
2786
+ msgid "List Entries by Category"
2787
+ msgstr "Lista entradas por categoria"
2788
+
2789
+ #: pro/classes/widgets/FrmListEntries.php:172
2790
+ #@ formidable
2791
+ msgid "Category Field"
2792
+ msgstr "Campo Categoria"
2793
+
2794
+ #: pro/classes/widgets/FrmListEntries.php:187
2795
+ #@ formidable
2796
+ msgid "Show Entry Counts"
2797
+ msgstr "Exibir número de Entradas"
2798
+
2799
+ #: pro/classes/widgets/FrmListEntries.php:190
2800
+ #@ formidable
2801
+ msgid "Show Only Category Name"
2802
+ msgstr "Exibir apenas nome da Categoria"
2803
+
2804
+ #: pro/classes/widgets/FrmListEntries.php:193
2805
+ #@ formidable
2806
+ msgid "Show Entries Beneath Categories"
2807
+ msgstr "Mostra as entradas abaixo de Categorias"
2808
+
2809
+ #: pro/classes/widgets/FrmListEntries.php:196
2810
+ #@ formidable
2811
+ msgid "Entry Limit (leave blank to list all)"
2812
+ msgstr "Limite de Entradas (deixe em branco para listar todas)"
2813
+
2814
+ #: pro/classes/widgets/FrmShowForm.php:6
2815
+ #@ formidable
2816
+ msgid "Display a Formidable Form"
2817
+ msgstr "Exibir formulário Formidable"
2818
+
2819
+ #: pro/classes/widgets/FrmShowForm.php:7
2820
+ #@ formidable
2821
+ msgid "Formidable Form"
2822
+ msgstr "Formulário Formidable"
2823
+
2824
+ #: pro/classes/widgets/FrmPollResults.php:38
2825
+ #: pro/classes/widgets/FrmShowForm.php:51
2826
+ #@ formidable
2827
+ msgid "Show Description"
2828
+ msgstr "Exibir Descrição"
2829
+
2830
+ #: pro/classes/widgets/FrmShowForm.php:54
2831
+ #@ formidable
2832
+ msgid "Fit Select Boxes into SideBar"
2833
+ msgstr "Encaixar Caixas de Seleção na barra lateral"
2834
+
2835
+ #: pro/classes/widgets/FrmShowForm.php:57
2836
+ #@ formidable
2837
+ msgid "If your text fields are too big for your sidebar, insert a size here. If the field doesn't change after saving this widget, it is probably getting overridden in your field settings. To correct this, edit the form and remove the number in the 'Size' field option."
2838
+ msgstr "Se os campos de texto são grandes demais para sua barra lateral, insira um tamanho aqui. Se o campo não muda depois de salvar este widget, ele, provavelmente, está sendo substituído pelas configurações do seu campo. Para corrigir isso, edite o formulário e remova o número na opção \\\"Tamanho\\\" do campo."
2839
+
2840
+ #: classes/helpers/FrmFieldsHelper.php:220
2841
+ #: classes/helpers/FrmFieldsHelper.php:226
2842
+ #@ formidable
2843
+ msgid "not"
2844
+ msgstr "não"
2845
+
2846
+ #: classes/views/frm-forms/edit.php:14
2847
+ #: classes/views/frm-forms/edit.php:28
2848
+ #@ formidable
2849
+ msgid "Customize Form HTML"
2850
+ msgstr ""
2851
+
2852
+ #: classes/views/frm-forms/edit.php:14
2853
+ #: classes/views/frm-forms/edit.php:28
2854
+ #@ formidable
2855
+ msgid "Advanced Users: Customize your form HTML here"
2856
+ msgstr ""
2857
+
2858
+ #: classes/views/frm-forms/insert_form_popup.php:35
2859
+ #@ formidable
2860
+ msgid "Select a form to insert"
2861
+ msgstr ""
2862
+
2863
+ #: classes/views/frm-forms/insert_form_popup.php:47
2864
+ #@ formidable
2865
+ msgid "Select custom display settings to insert"
2866
+ msgstr ""
2867
+
2868
+ #: classes/views/frm-forms/insert_form_popup.php:58
2869
+ #@ formidable
2870
+ msgid "Filter shortcodes within the custom display content"
2871
+ msgstr ""
2872
+
2873
+ #: classes/views/frm-forms/insert_form_popup.php:59
2874
+ #@ formidable
2875
+ msgid "Note: In some cases, this option can create an infinite loop"
2876
+ msgstr ""
2877
+
2878
+ #: classes/views/frm-forms/insert_form_popup.php:65
2879
+ #@ formidable
2880
+ msgid "Insert a search box"
2881
+ msgstr ""
2882
+
2883
+ #: classes/views/frm-forms/list.php:102
2884
+ #: pro/classes/views/shared/import_form.php:37
2885
+ #@ formidable
2886
+ msgid "Export"
2887
+ msgstr "Exportar"
2888
+
2889
+ #: classes/views/frm-settings/form.php:53
2890
+ #@ formidable
2891
+ msgid "reCAPTCHA"
2892
+ msgstr ""
2893
+
2894
+ #: classes/views/frm-settings/form.php:53
2895
+ #@ formidable
2896
+ 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."
2897
+ msgstr ""
2898
+
2899
+ #: classes/views/frm-settings/form.php:60
2900
+ #@ formidable
2901
+ msgid "Public Key"
2902
+ msgstr ""
2903
+
2904
+ #: classes/views/frm-settings/form.php:64
2905
+ #@ formidable
2906
+ msgid "Private Key"
2907
+ msgstr ""
2908
+
2909
+ #: classes/views/frm-settings/form.php:73
2910
+ #@ formidable
2911
+ msgid "reCAPTCHA Theme"
2912
+ msgstr ""
2913
+
2914
+ #: classes/views/frm-settings/form.php:75
2915
+ #@ formidable
2916
+ msgid "Red"
2917
+ msgstr ""
2918
+
2919
+ #: classes/views/frm-settings/form.php:75
2920
+ #@ formidable
2921
+ msgid "White"
2922
+ msgstr ""
2923
+
2924
+ #: classes/views/frm-settings/form.php:75
2925
+ #@ formidable
2926
+ msgid "Black Glass"
2927
+ msgstr ""
2928
+
2929
+ #: classes/views/frm-settings/form.php:75
2930
+ #@ formidable
2931
+ msgid "Clean"
2932
+ msgstr ""
2933
+
2934
+ #: classes/views/frm-settings/form.php:80
2935
+ #@ formiable
2936
+ msgid "reCAPTCHA Language"
2937
+ msgstr ""
2938
+
2939
+ #: classes/views/frm-settings/form.php:82
2940
+ #@ formidable
2941
+ msgid "English"
2942
+ msgstr ""
2943
+
2944
+ #: classes/views/frm-settings/form.php:82
2945
+ #@ formidable
2946
+ msgid "Portuguese"
2947
+ msgstr ""
2948
+
2949
+ #: pro/classes/controllers/FrmProDisplaysController.php:93
2950
+ #@ formidable
2951
+ msgid "Oops! There was a problem saving your Custom Display Settings. Please try deactivating and reactivating Formidable to correct the problem."
2952
+ msgstr ""
2953
+
2954
+ #: pro/classes/controllers/FrmProFormsController.php:72
2955
+ #@ formidable
2956
+ msgid "Post Title"
2957
+ msgstr ""
2958
+
2959
+ #: pro/classes/views/frmpro-fields/options-form.php:132
2960
+ #@ formidable
2961
+ msgid "Unique"
2962
+ msgstr ""
2963
+
2964
+ #: pro/classes/views/frmpro-fields/options-form.php:134
2965
+ #@ formidable
2966
+ msgid "Read Only"
2967
+ msgstr ""
2968
+
2969
+ #: pro/classes/views/frmpro-forms/notifications.php:31
2970
+ #@ formidable
2971
+ msgid "From/Reply to"
2972
+ msgstr ""
2973
+
2974
+ #: pro/classes/views/settings/formroller.php:9
2975
+ #@ formidable
2976
+ msgid "General"
2977
+ msgstr ""
2978
+
2979
+ #: pro/classes/views/settings/formroller.php:13
2980
+ #: pro/classes/views/settings/formroller.php:75
2981
+ #: pro/classes/views/settings/formroller.php:123
2982
+ #@ formidable
2983
+ msgid "Align"
2984
+ msgstr ""
2985
+
2986
+ #: pro/classes/views/settings/formroller.php:15
2987
+ #: pro/classes/views/settings/formroller.php:77
2988
+ #: pro/classes/views/settings/formroller.php:125
2989
+ #@ formidable
2990
+ msgid "left"
2991
+ msgstr ""
2992
+
2993
+ #: pro/classes/views/settings/formroller.php:16
2994
+ #: pro/classes/views/settings/formroller.php:78
2995
+ #: pro/classes/views/settings/formroller.php:126
2996
+ #@ formidable
2997
+ msgid "right"
2998
+ msgstr ""
2999
+
3000
+ #: pro/classes/views/settings/formroller.php:17
3001
+ #@ formidable
3002
+ msgid "center"
3003
+ msgstr ""
3004
+
3005
+ #: pro/classes/views/settings/formroller.php:42
3006
+ #@ formidable
3007
+ msgid "Label Settings"
3008
+ msgstr ""
3009
+
3010
+ #: pro/classes/views/settings/formroller.php:46
3011
+ #: pro/classes/views/settings/formroller.php:96
3012
+ #: pro/classes/views/settings/formroller.php:295
3013
+ #@ formidable
3014
+ msgid "Family"
3015
+ msgstr ""
3016
+
3017
+ #: pro/classes/views/settings/formroller.php:54
3018
+ #: pro/classes/views/settings/formroller.php:104
3019
+ #: pro/classes/views/settings/formroller.php:303
3020
+ #: pro/classes/views/settings/formroller.php:350
3021
+ #@ formidable
3022
+ msgid "Weight"
3023
+ msgstr ""
3024
+
3025
+ #: pro/classes/views/settings/formroller.php:61
3026
+ #: pro/classes/views/settings/formroller.php:118
3027
+ #: pro/classes/views/settings/formroller.php:155
3028
+ #: pro/classes/views/settings/formroller.php:310
3029
+ #: pro/classes/views/settings/formroller.php:363
3030
+ #: pro/classes/views/settings/formroller.php:480
3031
+ #@ formidable
3032
+ msgid "Size"
3033
+ msgstr ""
3034
+
3035
+ #: pro/classes/views/settings/formroller.php:66
3036
+ #@ formidable
3037
+ msgid "Position"
3038
+ msgstr ""
3039
+
3040
+ #: pro/classes/views/settings/formroller.php:83
3041
+ #: pro/classes/views/settings/formroller.php:160
3042
+ #: pro/classes/views/settings/formroller.php:368
3043
+ #@ formidable
3044
+ msgid "Width"
3045
+ msgstr ""
3046
+
3047
+ #: pro/classes/views/settings/formroller.php:106
3048
+ #: pro/classes/views/settings/formroller.php:113
3049
+ #: pro/classes/views/settings/formroller.php:305
3050
+ #: pro/classes/views/settings/formroller.php:352
3051
+ #@ formidable
3052
+ msgid "normal"
3053
+ msgstr ""
3054
+
3055
+ #: pro/classes/views/settings/formroller.php:107
3056
+ #: pro/classes/views/settings/formroller.php:306
3057
+ #: pro/classes/views/settings/formroller.php:353
3058
+ #@ formidable
3059
+ msgid "bold"
3060
+ msgstr ""
3061
+
3062
+ #: pro/classes/views/settings/formroller.php:114
3063
+ #@ formidable
3064
+ msgid "italic"
3065
+ msgstr ""
3066
+
3067
+ #: pro/classes/views/settings/formroller.php:136
3068
+ #@ formidable
3069
+ msgid "Corner Radius"
3070
+ msgstr ""
3071
+
3072
+ #: pro/classes/views/settings/formroller.php:140
3073
+ #: pro/classes/views/settings/formroller.php:358
3074
+ #@ formidable
3075
+ msgid "Corners"
3076
+ msgstr ""
3077
+
3078
+ #: pro/classes/views/settings/formroller.php:143
3079
+ #@ formidable
3080
+ msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
3081
+ msgstr ""
3082
+
3083
+ #: pro/classes/views/settings/formroller.php:150
3084
+ #@ formidable
3085
+ msgid "Field Settings"
3086
+ msgstr ""
3087
+
3088
+ #: pro/classes/views/settings/formroller.php:170
3089
+ #@ formidable
3090
+ msgid "Top Margin"
3091
+ msgstr ""
3092
+
3093
+ #: pro/classes/views/settings/formroller.php:180
3094
+ #@ formidable
3095
+ msgid "Field Colors"
3096
+ msgstr ""
3097
+
3098
+ #: pro/classes/views/settings/formroller.php:185
3099
+ #: pro/classes/views/settings/formroller.php:222
3100
+ #: pro/classes/views/settings/formroller.php:241
3101
+ #@ formidable
3102
+ msgid "BG color"
3103
+ msgstr ""
3104
+
3105
+ #: pro/classes/views/settings/formroller.php:189
3106
+ #: pro/classes/views/settings/formroller.php:245
3107
+ #: pro/classes/views/settings/formroller.php:386
3108
+ #: pro/classes/views/settings/formroller.php:451
3109
+ #: pro/classes/views/settings/formroller.php:476
3110
+ #@ formidable
3111
+ msgid "Text"
3112
+ msgstr ""
3113
+
3114
+ #: pro/classes/views/settings/formroller.php:217
3115
+ #@ formidable
3116
+ msgid "Field Colors: active state"
3117
+ msgstr ""
3118
+
3119
+ #: pro/classes/views/settings/formroller.php:236
3120
+ #@ formidable
3121
+ msgid "Field Colors: error state"
3122
+ msgstr ""
3123
+
3124
+ #: pro/classes/views/settings/formroller.php:272
3125
+ #@ formidable
3126
+ msgid "Radio Buttons & Check Boxes"
3127
+ msgstr ""
3128
+
3129
+ #: pro/classes/views/settings/formroller.php:277
3130
+ #@ formidable
3131
+ msgid "Radio"
3132
+ msgstr ""
3133
+
3134
+ #: pro/classes/views/settings/formroller.php:286
3135
+ #@ formidable
3136
+ msgid "Check Box"
3137
+ msgstr ""
3138
+
3139
+ #: pro/classes/views/settings/formroller.php:324
3140
+ #@ formidable
3141
+ msgid "Theme"
3142
+ msgstr ""
3143
+
3144
+ #: pro/classes/views/settings/formroller.php:373
3145
+ #@ formidable
3146
+ msgid "Height"
3147
+ msgstr ""
3148
+
3149
+ #: pro/classes/views/settings/formroller.php:378
3150
+ #: pro/classes/views/settings/formroller.php:382
3151
+ #: pro/classes/views/settings/formroller.php:441
3152
+ #: pro/classes/views/settings/formroller.php:467
3153
+ #@ formidable
3154
+ msgid "BG Color"
3155
+ msgstr ""
3156
+
3157
+ #: pro/classes/views/settings/formroller.php:391
3158
+ #@ formidable
3159
+ msgid "BG Image"
3160
+ msgstr ""
3161
+
3162
+ #: pro/classes/views/settings/formroller.php:404
3163
+ #@ formidable
3164
+ msgid "Shadow"
3165
+ msgstr ""
3166
+
3167
+ #: pro/classes/views/settings/formroller.php:409
3168
+ #@ formidable
3169
+ msgid "Margin"
3170
+ msgstr ""
3171
+
3172
+ #: pro/classes/views/settings/formroller.php:424
3173
+ #@ formidable
3174
+ msgid "Error"
3175
+ msgstr ""
3176
+
3177
+ #: pro/classes/views/settings/formroller.php:429
3178
+ #@ formidable
3179
+ msgid "Icon"
3180
+ msgstr ""
3181
+
3182
+ #: pro/classes/views/settings/formroller.php:462
3183
+ #@ formidable
3184
+ msgid "Success"
3185
+ msgstr ""
3186
+
3187
+ #: pro/classes/widgets/FrmPollResults.php:6
3188
+ #@ formidable
3189
+ msgid "Display a Formidable Form with the poll results after submission"
3190
+ msgstr ""
3191
+
3192
+ #: pro/classes/widgets/FrmPollResults.php:7
3193
+ #@ formidable
3194
+ msgid "Formidable Poll & Results"
3195
+ msgstr ""
3196
+
3197
+ #: classes/helpers/FrmAppHelper.php:167
3198
+ #: classes/models/FrmEntry.php:228
3199
+ #@ formidable
3200
+ msgid "cannot be blank"
3201
+ msgstr ""
3202
+
3203
+ #: classes/helpers/FrmFieldsHelper.php:12
3204
+ #@ formidable
3205
+ msgid "reCAPTCHA (SPAM Control)"
3206
+ msgstr ""
3207
+
3208
+ #: classes/helpers/FrmFieldsHelper.php:24
3209
+ #@ formidable
3210
+ msgid "Rich Text"
3211
+ msgstr ""
3212
+
3213
+ #: classes/helpers/FrmFieldsHelper.php:36
3214
+ #@ formidable
3215
+ msgid "Hidden User ID"
3216
+ msgstr ""
3217
+
3218
+ #: classes/helpers/FrmFieldsHelper.php:37
3219
+ #: pro/classes/models/FrmProField.php:51
3220
+ #@ formidable
3221
+ msgid "HTML"
3222
+ msgstr ""
3223
+
3224
+ #: classes/models/FrmSettings.php:72
3225
+ #@ formidable
3226
+ msgid "The reCAPTCHA was not entered correctly"
3227
+ msgstr ""
3228
+
3229
+ #: classes/views/frm-forms/add_field.php:48
3230
+ #, php-format
3231
+ #@ formidable
3232
+ msgid "Hint: Change colors in the %1$sFormidable settings"
3233
+ msgstr ""
3234
+
3235
+ #: classes/views/frm-forms/add_field.php:98
3236
+ #@ formidable
3237
+ msgid "Required Field"
3238
+ msgstr ""
3239
+
3240
+ #: classes/views/frm-forms/add_field.php:99
3241
+ #@ formidable
3242
+ msgid "Required"
3243
+ msgstr ""
3244
+
3245
+ #: classes/views/frm-forms/add_field.php:105
3246
+ #@ formidable
3247
+ msgid "Error message if field is left blank"
3248
+ msgstr ""
3249
+
3250
+ #: classes/views/frm-forms/form.php:124
3251
+ #@ formidable
3252
+ msgid "Delete Entry Link"
3253
+ msgstr ""
3254
+
3255
+ #: classes/views/frm-forms/list.php:42
3256
+ #: classes/views/frm-forms/list.php:138
3257
+ #@ formidable
3258
+ msgid "ShortCodes"
3259
+ msgstr ""
3260
+
3261
+ #: classes/views/frm-settings/form.php:109
3262
+ #@ formidable
3263
+ msgid "Incorrect Captcha Message"
3264
+ msgstr ""
3265
+
3266
+ #: classes/views/frm-settings/form.php:109
3267
+ #@ formidable
3268
+ msgid "The message seen when a captcha response is either incorrect or missing."
3269
+ msgstr ""
3270
+
3271
+ #: classes/views/frm-settings/form.php:125
3272
+ #@ formidable
3273
+ msgid "Default Submit Button"
3274
+ msgstr ""
3275
+
3276
+ #: pro/classes/controllers/FrmProEntriesController.php:975
3277
+ #@ formidable
3278
+ msgid "No one! You do not have permission"
3279
+ msgstr ""
3280
+
3281
+ #: pro/classes/helpers/FrmProAppHelper.php:125
3282
+ #@ formidable
3283
+ msgid "Export to XML"
3284
+ msgstr ""
3285
+
3286
+ #: pro/classes/helpers/FrmProEntriesHelper.php:40
3287
+ #@ formidable
3288
+ msgid "Resend Email Notification"
3289
+ msgstr ""
3290
+
3291
+ #: pro/classes/helpers/FrmProEntriesHelper.php:41
3292
+ #@ formidable
3293
+ msgid "Resend Autoresponse"
3294
+ msgstr ""
3295
+
3296
+ #: pro/classes/helpers/FrmProEntriesHelper.php:47
3297
+ #@ formidable
3298
+ msgid "Email Resent to"
3299
+ msgstr ""
3300
+
3301
+ #: pro/classes/models/FrmProDisplay.php:159
3302
+ #: pro/classes/views/displays/form.php:78
3303
+ #@ formidable
3304
+ msgid "This is not displayed anywhere, but is just for your reference. (optional)"
3305
+ msgstr ""
3306
+
3307
+ #: pro/classes/models/FrmProDisplay.php:163
3308
+ #@ formidable
3309
+ msgid "Content cannot be blank"
3310
+ msgstr ""
3311
+
3312
+ #: pro/classes/models/FrmProDisplay.php:166
3313
+ #@ formidable
3314
+ msgid "Page cannot be blank if you want the content inserted automatically"
3315
+ msgstr ""
3316
+
3317
+ #: pro/classes/models/FrmProDisplay.php:173
3318
+ #@ formidable
3319
+ msgid "Dynamic Content cannot be blank"
3320
+ msgstr ""
3321
+
3322
+ #: pro/classes/models/FrmProDisplay.php:177
3323
+ #@ formidable
3324
+ msgid "Parameter Name cannot be blank if content is dynamic"
3325
+ msgstr ""
3326
+
3327
+ #: pro/classes/models/FrmProDisplay.php:180
3328
+ #@ formidable
3329
+ msgid "Parameter Value cannot be blank if content is dynamic"
3330
+ msgstr ""
3331
+
3332
+ #: pro/classes/models/FrmProDisplay.php:183
3333
+ #@ formidable
3334
+ msgid "Detail Link cannot be blank if content is dynamic"
3335
+ msgstr ""
3336
+
3337
+ #: pro/classes/views/displays/edit.php:3
3338
+ #@ formidable
3339
+ msgid "Edit Custom Display Settings"
3340
+ msgstr ""
3341
+
3342
+ #: pro/classes/views/displays/form.php:4
3343
+ #@ formidable
3344
+ msgid "Shortcode Options"
3345
+ msgstr ""
3346
+
3347
+ #: pro/classes/views/displays/form.php:10
3348
+ #@ formidable
3349
+ msgid "Insert display"
3350
+ msgstr ""
3351
+
3352
+ #: pro/classes/views/displays/form.php:14
3353
+ #@ formidable
3354
+ msgid "Replace page content"
3355
+ msgstr ""
3356
+
3357
+ #: pro/classes/views/displays/form.php:15
3358
+ #@ formidable
3359
+ msgid "Don't insert automatically"
3360
+ msgstr ""
3361
+
3362
+ #: pro/classes/views/displays/form.php:19
3363
+ #@ formidable
3364
+ msgid "on page"
3365
+ msgstr ""
3366
+
3367
+ #: pro/classes/views/displays/form.php:25
3368
+ #@ formidable
3369
+ msgid "Insert on a page, post, or text widget"
3370
+ msgstr ""
3371
+
3372
+ #: pro/classes/views/displays/form.php:29
3373
+ #@ formidable
3374
+ msgid "Insert in a template"
3375
+ msgstr ""
3376
+
3377
+ #: pro/classes/views/displays/form.php:37
3378
+ #, php-format
3379
+ #@ formidable
3380
+ msgid "Are you sure you want to delete your %1$s display?"
3381
+ msgstr ""
3382
+
3383
+ #: pro/classes/views/displays/form.php:57
3384
+ #@ formidable
3385
+ msgid "Custom Display Info"
3386
+ msgstr ""
3387
+
3388
+ #: pro/classes/views/displays/form.php:69
3389
+ #@ formidable
3390
+ msgid "Display Key"
3391
+ msgstr ""
3392
+
3393
+ #: pro/classes/views/displays/form.php:88
3394
+ #@ formidable
3395
+ msgid "Form and Display Type"
3396
+ msgstr ""
3397
+
3398
+ #: pro/classes/views/displays/form.php:102
3399
+ #@ formidable
3400
+ msgid "Display Format"
3401
+ msgstr ""
3402
+
3403
+ #: pro/classes/views/displays/form.php:105
3404
+ #@ formidable
3405
+ msgid "All Entries &mdash; list all entries in the specified form"
3406
+ msgstr ""
3407
+
3408
+ #: pro/classes/views/displays/form.php:106
3409
+ #@ formidable
3410
+ msgid "Single Entry &mdash; display one entry"
3411
+ msgstr ""
3412
+
3413
+ #: pro/classes/views/displays/form.php:107
3414
+ #@ formidable
3415
+ msgid "Both (Dynamic) &mdash; list the entries that will link to a single entry page"
3416
+ msgstr ""
3417
+
3418
+ #: pro/classes/views/displays/form.php:108
3419
+ #@ formidable
3420
+ msgid "Calendar &mdash; insert entries into a calendar"
3421
+ msgstr ""
3422
+
3423
+ #: pro/classes/views/displays/form.php:153
3424
+ #: pro/classes/views/displays/form.php:172
3425
+ #@ formidable
3426
+ msgid "optional"
3427
+ msgstr ""
3428
+
3429
+ #: pro/classes/views/displays/form.php:194
3430
+ #@ formidable
3431
+ msgid "Advanced"
3432
+ msgstr ""
3433
+
3434
+ #: pro/classes/views/displays/form.php:199
3435
+ #@ formidable
3436
+ msgid "Order"
3437
+ msgstr ""
3438
+
3439
+ #: pro/classes/views/displays/form.php:217
3440
+ #@ formidable
3441
+ msgid "Where"
3442
+ msgstr ""
3443
+
3444
+ #: pro/classes/views/displays/form.php:237
3445
+ #@ formidable
3446
+ msgid "Limit"
3447
+ msgstr ""
3448
+
3449
+ #: pro/classes/views/displays/form.php:246
3450
+ #@ formidable
3451
+ msgid "Page Size"
3452
+ msgstr ""
3453
+
3454
+ #: pro/classes/views/displays/new.php:3
3455
+ #@ formidable
3456
+ msgid "Add New Custom Display Settings"
3457
+ msgstr ""
3458
+
3459
+ #: pro/classes/views/displays/tags.php:2
3460
+ #@ formidable
3461
+ msgid "Image Size"
3462
+ msgstr ""
3463
+
3464
+ #: pro/classes/views/displays/tags.php:4
3465
+ #@ formidable
3466
+ msgid "Change the displayed size of your uploaded image"
3467
+ msgstr ""
3468
+
3469
+ #: pro/classes/views/displays/tags.php:11
3470
+ #@ formidable
3471
+ msgid "Data From Entries"
3472
+ msgstr ""
3473
+
3474
+ #: pro/classes/views/displays/tags.php:13
3475
+ #@ formidable
3476
+ msgid "Specify the data shown for a \"Data From Entries\" field"
3477
+ msgstr ""
3478
+
3479
+ #: pro/classes/views/displays/tags.php:23
3480
+ #@ formidable
3481
+ msgid "Use a field other than user Display Name if there is a User ID field in your form"
3482
+ msgstr ""
3483
+
3484
+ #: pro/classes/views/displays/tags.php:32
3485
+ #@ formidable
3486
+ msgid "Other Options"
3487
+ msgstr ""
3488
+
3489
+ #: pro/classes/views/frmpro-entries/show.php:32
3490
+ #@ formidable
3491
+ msgid "Timestamp"
3492
+ msgstr ""
3493
+
3494
+ #: pro/classes/views/frmpro-entries/show.php:52
3495
+ #@ formidable
3496
+ msgid "Resend Emails"
3497
+ msgstr ""
3498
+
3499
+ #: pro/classes/views/frmpro-fields/options-form.php:136
3500
+ #@ formidable
3501
+ msgid "Admin Only"
3502
+ msgstr ""
3503
+
3504
+ #: pro/classes/views/frmpro-fields/options-form.php:144
3505
+ #@ formidable
3506
+ msgid "Calculations"
3507
+ msgstr ""
3508
+
3509
+ #: pro/classes/views/frmpro-fields/options-form.php:146
3510
+ #@ formidable
3511
+ msgid "Calculate the default value for this field"
3512
+ msgstr ""
3513
+
3514
+ #: pro/classes/views/frmpro-fields/show.php:27
3515
+ #@ formidable
3516
+ msgid "This is a placeholder for your custom HTML."
3517
+ msgstr ""
3518
+
3519
+ #: pro/classes/views/frmpro-fields/show.php:27
3520
+ #@ formidable
3521
+ msgid "You can edit this content in the field options."
3522
+ msgstr ""
3523
+
3524
+ #: pro/classes/views/frmpro-statistics/show.php:8
3525
+ #@ formidable
3526
+ msgid "Go to Report"
3527
+ msgstr ""
3528
+
3529
+ #: pro/classes/views/frmpro-statistics/show.php:24
3530
+ #@ formidable
3531
+ msgid "Response Count"
3532
+ msgstr ""
3533
+
3534
+ #: pro/classes/views/frmpro-statistics/show.php:26
3535
+ #@ formidable
3536
+ msgid "Total"
3537
+ msgstr ""
3538
+
3539
+ #: pro/classes/views/frmpro-statistics/show.php:27
3540
+ #@ formidable
3541
+ msgid "Average"
3542
+ msgstr ""
3543
+
3544
+ #: pro/classes/views/frmpro-statistics/show.php:28
3545
+ #@ formidable
3546
+ msgid "Median"
3547
+ msgstr ""
3548
+
3549
+ #: pro/classes/views/frmpro-statistics/show.php:33
3550
+ #@ formidable
3551
+ msgid "Percent of users submitted"
3552
+ msgstr ""
3553
+
3554
+ #: pro/classes/views/frmpro-statistics/show.php:35
3555
+ #@ formidable
3556
+ msgid "Users with no entry"
3557
+ msgstr ""
3558
+
3559
+ #: pro/classes/views/frmpro-statistics/show.php:36
3560
+ #@ formidable
3561
+ msgid "View Profile"
3562
+ msgstr ""
3563
+
3564
+ #: pro/classes/views/settings/form.php:10
3565
+ #@ formidable
3566
+ msgid "Include these scripts"
3567
+ msgstr ""
3568
+
3569
+ #: pro/classes/views/settings/form.php:31
3570
+ #@ formidable
3571
+ msgid "The format of that path is incorrect. Please try again."
3572
+ msgstr ""
3573
+
3574
+ #: pro/classes/views/settings/form.php:79
3575
+ #: pro/classes/views/settings/form.php:80
3576
+ #@ formidable
3577
+ msgid "Alert"
3578
+ msgstr ""
3579
+
3580
+ #: pro/classes/views/settings/form.php:79
3581
+ #: pro/classes/views/settings/form.php:80
3582
+ #@ formidable
3583
+ msgid "Sample error style"
3584
+ msgstr ""
3585
+
3586
+ #: pro/classes/views/settings/form.php:87
3587
+ #@ formidable
3588
+ msgid "Text field"
3589
+ msgstr ""
3590
+
3591
+ #: pro/classes/views/settings/form.php:88
3592
+ #: pro/classes/views/settings/form.php:94
3593
+ #@ formidable
3594
+ msgid "This is sample text"
3595
+ msgstr ""
3596
+
3597
+ #: pro/classes/views/settings/form.php:89
3598
+ #@ formidable
3599
+ msgid "A field with a description"
3600
+ msgstr ""
3601
+
3602
+ #: pro/classes/views/settings/form.php:93
3603
+ #@ formidable
3604
+ msgid "Text field with error"
3605
+ msgstr ""
3606
+
3607
+ #: pro/classes/views/settings/form.php:98
3608
+ #@ formidable
3609
+ msgid "Text field in active state"
3610
+ msgstr ""
3611
+
3612
+ #: pro/classes/views/settings/form.php:99
3613
+ #@ formidable
3614
+ msgid "The active state will be seen when the field is clicked"
3615
+ msgstr ""
3616
+
3617
+ #: pro/classes/views/settings/form.php:108
3618
+ #@ formidable
3619
+ msgid "Drop-down Select"
3620
+ msgstr ""
3621
+
3622
+ #: pro/classes/views/settings/form.php:111
3623
+ #@ formidable
3624
+ msgid "An Option"
3625
+ msgstr ""
3626
+
3627
+ #: pro/classes/views/settings/form.php:116
3628
+ #@ formidable
3629
+ msgid "Radio Buttons"
3630
+ msgstr ""
3631
+
3632
+ #: pro/classes/views/settings/form.php:117
3633
+ #: pro/classes/views/settings/form.php:123
3634
+ #@ formidable
3635
+ msgid "Option 1"
3636
+ msgstr ""
3637
+
3638
+ #: pro/classes/views/settings/form.php:118
3639
+ #: pro/classes/views/settings/form.php:124
3640
+ #@ formidable
3641
+ msgid "Option 2"
3642
+ msgstr ""
3643
+
3644
+ #: pro/classes/views/settings/form.php:122
3645
+ #@ formidable
3646
+ msgid "Check Boxes"
3647
+ msgstr ""
3648
+
3649
+ #: pro/classes/views/settings/form.php:128
3650
+ #@ formidable
3651
+ msgid "Text Area"
3652
+ msgstr ""
3653
+
3654
+ #: pro/classes/views/settings/form.php:130
3655
+ #@ formidable
3656
+ msgid "Another field with a description"
3657
+ msgstr ""
3658
+
3659
+ #: pro/classes/views/settings/form.php:134
3660
+ #@ formidable
3661
+ msgid "Rich Text Area"
3662
+ msgstr ""
3663
+
3664
+ #: pro/classes/views/shared/import_form.php:3
3665
+ #@ formidable
3666
+ msgid "Import/Export"
3667
+ msgstr ""
3668
+
3669
+ #: pro/classes/views/shared/import_form.php:13
3670
+ #@ formidable
3671
+ msgid "Import"
3672
+ msgstr ""
3673
+
3674
+ #: pro/classes/views/shared/import_form.php:15
3675
+ #@ formidable
3676
+ msgid "Upload your Formidable XML file to import the forms, entries, and custom displays into this site."
3677
+ msgstr ""
3678
+
3679
+ #: pro/classes/views/shared/import_form.php:16
3680
+ #@ formidable
3681
+ msgid "Choose a Formidable XML file to upload, then click \"Upload file and import.\""
3682
+ msgstr ""
3683
+
3684
+ #: pro/classes/views/shared/import_form.php:23
3685
+ #@ formidable
3686
+ msgid "Choose a file from your computer"
3687
+ msgstr ""
3688
+
3689
+ #: pro/classes/views/shared/import_form.php:23
3690
+ #@ formidable
3691
+ msgid "Maximum size: 32MB"
3692
+ msgstr ""
3693
+
3694
+ #: pro/classes/views/shared/import_form.php:27
3695
+ #@ formidable
3696
+ msgid "Upload file and import"
3697
+ msgstr ""
3698
+
3699
+ #: pro/classes/views/shared/import_form.php:44
3700
+ #@ formidable
3701
+ msgid "Data Types to Export"
3702
+ msgstr ""
3703
+
3704
+ #: pro/classes/views/shared/import_form.php:46
3705
+ #@ formidable
3706
+ msgid "Include the following data types in your export file"
3707
+ msgstr ""
3708
+
3709
+ #: pro/classes/views/shared/import_form.php:49
3710
+ #@ formidable
3711
+ msgid "Custom Display Settings"
3712
+ msgstr ""
3713
+
3714
+ #: pro/classes/views/shared/import_form.php:54
3715
+ #@ formidable
3716
+ msgid "Select forms (optional)"
3717
+ msgstr ""
3718
+
3719
+ #: pro/classes/views/shared/import_form.php:56
3720
+ #@ formidable
3721
+ msgid "If you would like to include ONLY specific forms and the entries and custom display settings related to those forms, select those forms here"
3722
+ msgstr ""
3723
+
3724
+ #: pro/classes/views/shared/import_form.php:64
3725
+ #@ formidable
3726
+ msgid "Export Selection"
3727
+ msgstr ""
3728
+
3729
+ #: classes/views/frm-settings/form.php:24
3730
+ #@ formidable
3731
+ msgid "Stylesheets"
3732
+ msgstr ""
3733
+
3734
+ #: classes/views/frm-settings/form.php:27
3735
+ #@ formidable
3736
+ msgid "Load Formidable styling"
3737
+ msgstr ""
3738
+
3739
+ #: classes/views/frm-settings/form.php:29
3740
+ #@ formidable
3741
+ msgid "on every page of your site"
3742
+ msgstr ""
3743
+
3744
+ #: classes/views/frm-settings/form.php:30
3745
+ #@ formidable
3746
+ msgid "only on applicable pages"
3747
+ msgstr ""
3748
+
3749
+ #: classes/views/frm-settings/form.php:31
3750
+ #@ formidable
3751
+ msgid "Don't use Formidable styling on any page"
3752
+ msgstr ""
3753
+
3754
+ #: classes/views/frm-settings/form.php:101
3755
+ #@ formidable
3756
+ msgid "Failed or Duplicate Entry Message"
3757
+ msgstr ""
3758
+
languages/formidable-xx_XX.pot ADDED
@@ -0,0 +1 @@
 
1
+ MIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Formidable Forms ===
2
  Contributors: sswells
3
  Donate link: http://blog.strategy11.com/donate
4
- Tags: WPMU, widget, Post, plugin, template, contact, contact form, form, forms, captcha, spam, email, database, admin, AJAX, javascript, jquery, poll, survey, feedback
5
  Requires at least: 2.8
6
- Tested up to: 3.0
7
- Stable tag: 1.03.03
8
 
9
  Quickly and easily build forms with a simple drag-and-drop interface and in-place editing.
10
 
@@ -13,7 +13,7 @@ Quickly and easily build forms with a simple drag-and-drop interface and in-plac
13
  There are dozens of form-building plugins out there to create forms, but most are confusing and overly complicated. With Formidable, it is easy to create forms within a simple drag-and-drop interface. You can construct custom forms or generate them from a template. Shortcodes can be used as well as spam catching services.
14
 
15
  = Features =
16
- * Saves all responses to the database for future retrieval, reports, and display in [Formidable Pro](http://formidablepro.com/ "Formidable Pro") Learn more at: http://formidablepro.com
17
  * Integrates with WP reCAPTCHA and Akismet for Spam control
18
  * Shortcode [formidable id=x] for use in pages, posts, or text widgets for WordPress version 2.8 and above.
19
  * Alternatively use `<?php echo FrmEntriesController::show_form(2, $key = '', $title=true, $description=true); ?>` in your template
@@ -41,24 +41,122 @@ There are dozens of form-building plugins out there to create forms, but most ar
41
  A. Try the following steps:
42
 
43
  1. Double check to make sure your email address is present and correct under “Advanced Form Options” at the bottom of your form editor page
44
- 2. Check your SPAM box
45
- 3. Try a different email address.
46
- 4. Install WP Mail SMPT or another similar plugin
47
- 5. If none of these steps fix the problem, let me know and I’ll try to help you find the bottleneck.
48
-
49
- = Q. How do I make a field required? =
50
-
51
- A. I have tried to keep the Formidable user interface as quick and simple as possible. Just click on the star next to the field you would like to be required.
52
 
53
  = Q. How do I edit the field name? =
54
 
55
- A. The field and form names and descriptions are all changed with in-place edit. Just click on the text you would like to change, and it will turn into a text field. Don’t forget to hit save!
56
 
57
  = Q. Why isn’t the form builder page working after I updated? =
58
 
59
- A. Try clearing your browser cache. As I make plugin modifications, I frequently change javascript and stylesheets. However, the previous versions may be cached so you aren’t using the modified files. After clearing your cache and you’re still having issues, please let me know.
60
 
61
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  = 1.03.03 =
63
  * Added options to allow users other than admins to access Formidable
64
  * Added uninstall button
@@ -67,7 +165,7 @@ A. Try clearing your browser cache. As I make plugin modifications, I frequently
67
  * PRO: Added "value" parameter to the frm-stats shortcode for counting number of entries with specified value `[frm-stats id=8 value="Hello" type=count]`
68
  * PRO: Added a field drop-down for searching specific fields on the entries page
69
  * PRO: Added option to allow users to edit any entry instead of only their own and other user-role options
70
- * PRO: Added calendar format option on the Formidable Settings page
71
  * PRO: Changed "entry_id" in the "display-frm-data" to accept multiple entry IDs. ex: `[display-frm-data id=x entry_id="34,35,36"]`
72
  * PRO: Added "equals" option to if statements. ex: `[if 283 equals=hello]show this if the field with id 283 equals hello[/if 283]`
73
 
1
  === Formidable Forms ===
2
  Contributors: sswells
3
  Donate link: http://blog.strategy11.com/donate
4
+ Tags: admin, AJAX, captcha, contact, contact form, database, email, feedback, form, forms, javascript, jquery, page, plugin, poll, Post, spam, survey, template, widget, wpmu
5
  Requires at least: 2.8
6
+ Tested up to: 3.1.0
7
+ Stable tag: 1.04.07
8
 
9
  Quickly and easily build forms with a simple drag-and-drop interface and in-place editing.
10
 
13
  There are dozens of form-building plugins out there to create forms, but most are confusing and overly complicated. With Formidable, it is easy to create forms within a simple drag-and-drop interface. You can construct custom forms or generate them from a template. Shortcodes can be used as well as spam catching services.
14
 
15
  = Features =
16
+ * Saves all responses to the database (even in the free version) for future retrieval, reports, and display in [Formidable Pro](http://formidablepro.com/ "Formidable Pro") Learn more at: http://formidablepro.com
17
  * Integrates with WP reCAPTCHA and Akismet for Spam control
18
  * Shortcode [formidable id=x] for use in pages, posts, or text widgets for WordPress version 2.8 and above.
19
  * Alternatively use `<?php echo FrmEntriesController::show_form(2, $key = '', $title=true, $description=true); ?>` in your template
41
  A. Try the following steps:
42
 
43
  1. Double check to make sure your email address is present and correct under “Advanced Form Options” at the bottom of your form editor page
44
+ 2. Make sure you are receiving other emails from your site (ie comment notifications, forgot password...)
45
+ 3. Check your SPAM box
46
+ 4. Try a different email address.
47
+ 5. Install WP Mail SMPT or another similar plugin and configure the SMTP settings
48
+ 6. If none of these steps fix the problem, let me know and I’ll try to help you find the bottleneck.
 
 
 
49
 
50
  = Q. How do I edit the field name? =
51
 
52
+ A. The field and form names and descriptions are all changed with in-place edit. Just click on the text you would like to change, and it will turn into a text field.
53
 
54
  = Q. Why isn’t the form builder page working after I updated? =
55
 
56
+ A. Try clearing your browser cache. As plugin modifications are made, frequent javascript and stylesheet changes are also made. However, the previous versions may be cached so you aren’t using the modified files. After clearing your cache and you’re still having issues, please let me know.
57
 
58
  == Changelog ==
59
+ = 1.04.07 =
60
+ * Minor bug fixes
61
+ * PRO: Fixed bug preventing some hidden field values from being saved
62
+ * PRO: Removed PHP warnings some users were seeing on the form entries page
63
+
64
+ = 1.04.06 =
65
+ * Additional back-end XHTML compliance
66
+ * PRO: Fixed conditionally hidden fields bug some users were experiencing
67
+
68
+ = 1.04.05 =
69
+ * Added duplicate entry checks
70
+ * Added a checkbox to mark fields required
71
+ * Moved the duplicate field option into free version
72
+ * Show the success message even if the form isn't displayed with it
73
+ * Added option to not use dynamic stylesheet loading
74
+ * PRO: Added option to resend email notification and autoresponse
75
+ * PRO: Fixes for editing forms with unique fields
76
+ * PRO: Fixes for editing multi-paged forms with validation errors
77
+ * PRO: Fixes for multiple multi-paged form on the same page
78
+ * PRO: Added linked fields into the field drop-downs for inserting shortcodes and sending emails
79
+ * PRO: Added field calculations
80
+ * PRO: Allow hidden fields to be edited from the WordPress admin
81
+ * PRO: Allow sections of fields to be hidden conditionally with the Section Header fields
82
+ * PRO: Added user_id option to the `[frm-graph]` shortcode
83
+ * PRO: Updated the custom display settings interface
84
+
85
+ = 1.04.04 =
86
+ * Switched to the Google version of reCAPTCHA to no longer require an extra plugin. IMPORTANT: Please check that your reCAPTCHAs are still working. If not, you will need to go to http://www.google.com/recaptcha and either migrate your old keys or get new ones.
87
+ * Updated Akismet protection to work more accurately
88
+ * Added Portuguese translation thanks to Abner Jacobsen. He also pointed out an awesome plugin to help with translating: [Codestyling Localization](http://wordpress.org/extend/plugins/codestyling-localization/ "Codestyling Localization]")
89
+ * PRO: Added unique field validation
90
+ * PRO: Added admin-only fields
91
+ * PRO: Updated javascript for more speed and allow more than two dependent data from entries fields (makes Country/State/Region/City selectors possible if you do the data population)
92
+ * PRO: Added success message styling
93
+ * PRO: Fix bug preventing all image sizes from getting created
94
+ * PRO: Changed the name of the scale field from "10radio" to "scale". This may affect users with add-on plugins using this name
95
+ * PRO: Added `[deletelink]` option for use in custom HTML
96
+ * PRO: Added `not_equal` parameter for conditionally displaying content. ie `[if XX not_equal="Blah Blah"]stuff[/if XX]`å
97
+
98
+ = 1.04.03 =
99
+ * Load styling before any forms are loaded
100
+ * Fixed in-place edit in IE (finally! Sorry guys!)
101
+ * PRO: Include styling on multi-paged forms
102
+ * PRO: Allow floating decimals in the number field
103
+ * PRO: Don't load jQuery CSS in the admin
104
+ * PRO: Moved javascript for hidden fields to the footer (wp_footer)
105
+ * PRO: Added field options to the user id and hidden fields
106
+
107
+ = 1.04.02 =
108
+ * PRO: Fixed drop-down hidden field dependencies
109
+ * PRO: Added options to the time field (12 or 24 hours, minute step)
110
+
111
+ = 1.04.01 =
112
+ * Changed the ID of the select, user id, and hidden fields to "field_" plus field key
113
+ * Moved the "Edit HTML" button out of the "Advanced Form Options" area
114
+ * Only load css when needed
115
+ * Jump to form on page after errors
116
+ * Added option to use [admin_email] in the "Email Form Responses to" line to save time for those who only want to change their email address in one place.
117
+ * Free only: If no email address is inserted, the email will be sent to the admin email
118
+ * PRO: Added Time field
119
+ * PRO: Added option to use posted data in the redirect URL
120
+ * PRO: Added option to set the range for the scale field
121
+ * PRO: Added option to attach file uploads to email notifications
122
+ * PRO: Only load date javascript when a date field has been loaded
123
+ * PRO: Moved file uploads to uploads/formidable
124
+ * PRO: Optimized the css file by writing it to uploads/formidable/css instead of loading a php file
125
+ * PRO: Added styling for field description, and gradients and shadows on the submit button
126
+ * PRO: Updated default values to work with radio, check box, and select fields.
127
+ * PRO: Fixed front-end reports to work in IE and Chrome
128
+ * PRO: Added option to dynamically get stats for the currently logged-in user with the `[frm-stats]` shortcode ie. `[frm-stats id=x user_id=current]`
129
+ * PRO: Added 'round' option to frm-stats to specify the number of decimal places to show ie `[frm-stats id=x round=2]`
130
+ * PRO: Added 'response_count' to frm-graph to increase the maximum number of responses for a text field ie `[frm-graph id=x response_count=10]`
131
+ * PRO: Added 'truncate' and 'truncate_label' to frm-graph to adjust the number of characters shown for the graph title and the labels of the graph ie `[frm-graph id=x truncate=40 truncate_label=7]`
132
+ * PRO: Added fields to the drop-down list for limiting submissions. Now you can "Allow Only One Entry for Each" email address or whatever other field you may have in your form.
133
+ * PRO: Change the hidden User ID field to a drop-down for admins editing entries in the back-end
134
+ * PRO: Removed the sanitizing from the custom field name to make it possible to use any custom field name desired
135
+ * PRO: Update to check for calendar css in the uploads/formidable/css folder before using it from https://ajax.googleapis.com
136
+ * PRO: Added options to number field to specify the range and steps used in the HTML5 field
137
+ * PRO: More form options are exported in templates
138
+ * PRO: Fixed bug preventing fields with an ' or " from getting copied correctly when duplicating and creating/exporting templates
139
+ * PRO: Post categories now work as a drop-down
140
+ * PRO: Limit form entries to one per [whatever field here]. For example, only allow one submission per email address.
141
+ * Other bug fixes and optimization
142
+
143
+ = 1.04.0 =
144
+ * Added icon link on post/page editor for inserting forms
145
+ * Added parameters to show individual radio/checkbox options in the custom HTML using the `[input]` tag. example: `[input opt=1]` where opt is the option order. Also hide the labels with `[input label=0]`. Now grid fields are much easier.
146
+ * PRO: Added post integration! Pro forms can now be used for creating and editing posts
147
+ * PRO: Added a calendar option to the custom display, allowing entries to be displayed in a monthly calendar
148
+ * PRO: Added page_id parameter to `[frm-entry-links]` shortcode to remove the requirement to place entry list on the same page as the form for editing entries
149
+ * PRO: Updated email, url, and number fields to use HTML5
150
+ * PRO: Updated custom displays to work with the `[frm-search]` shortcode
151
+ * PRO: Named submit buttons according the the page break name if using multi-paged forms
152
+ * PRO: Added boxes for before/after custom display content box for non-repeating content
153
+ * PRO: Use entry values in the success message
154
+ * PRO: Switch out the Rich Text Editor for a text box if users are on a mobile device
155
+ * PRO: Fixed the confirmation options to work when editing an entry
156
+ * PRO: Added default value for [time]
157
+ * PRO: Fixed admin search
158
+ * PRO: Fixed field drop-down on custom display page to work on the Visual tab
159
+
160
  = 1.03.03 =
161
  * Added options to allow users other than admins to access Formidable
162
  * Added uninstall button
165
  * PRO: Added "value" parameter to the frm-stats shortcode for counting number of entries with specified value `[frm-stats id=8 value="Hello" type=count]`
166
  * PRO: Added a field drop-down for searching specific fields on the entries page
167
  * PRO: Added option to allow users to edit any entry instead of only their own and other user-role options
168
+ * PRO: Added calendar date format option on the Formidable Settings page
169
  * PRO: Changed "entry_id" in the "display-frm-data" to accept multiple entry IDs. ex: `[display-frm-data id=x entry_id="34,35,36"]`
170
  * PRO: Added "equals" option to if statements. ex: `[if 283 equals=hello]show this if the field with id 283 equals hello[/if 283]`
171