Advanced Custom Fields - Version 3.3.7

Version Description

  • [Added] Add new return value for image { image object
  • [Updated] Update Dutch translation (thanks to Derk Oosterveld - www.inpoint.nl)
  • [Updated] Update UI Styles
  • [Updated] Refresh settings page UI and fix exported PHP code indentation Styles
  • [Fixed] Fix post object hierarchy display bug - http://support.advancedcustomfields.com/discussion/2650/post_object-showing-posts-in-wrong-hierarchy
  • [Fixed] Fix metabox position from high to core - http://support.advancedcustomfields.com/discussion/comment/6846#Comment_6846
  • [Fixed] Fix flexible content field save layout with no fields - http://support.advancedcustomfields.com/discussion/2639/flexible-content-field-support-for-empty-layoutss
  • [Fixed] Text / Fix field group limit - http://support.advancedcustomfields.com/discussion/2675/admin-only-showing-20-fields-groups
Download this release

Release Info

Developer elliotcondon
Plugin Icon 128x128 Advanced Custom Fields
Version 3.3.7
Comparing to
See all releases

Code changes from version 3.3.6 to 3.3.7

acf.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Advanced Custom Fields
4
  Plugin URI: http://www.advancedcustomfields.com/
5
  Description: Fully customise WordPress edit screens with powerful fields. Boasting a professional interface and a powerfull API, it’s a must have for any web developer working with WordPress. Field types include: Wysiwyg, text, textarea, image, file, select, checkbox, page link, post object, date picker, color picker, repeater, flexible content, gallery and more!
6
- Version: 3.3.6
7
  Author: Elliot Condon
8
  Author URI: http://www.elliotcondon.com/
9
  License: GPL
@@ -47,7 +47,7 @@ class Acf
47
  // vars
48
  $this->path = plugin_dir_path(__FILE__);
49
  $this->dir = plugins_url('',__FILE__);
50
- $this->version = '3.3.6';
51
  $this->upgrade_version = '3.3.3'; // this is the latest version which requires an upgrade
52
  $this->cache = array(); // basic array cache to hold data throughout the page load
53
 
@@ -1462,20 +1462,22 @@ class Acf
1462
 
1463
  function is_field_unlocked($field_name)
1464
  {
1465
- switch ($field_name) {
1466
- case 'repeater':
1467
- if(md5($this->get_license_key($field_name)) == "bbefed143f1ec106ff3a11437bd73432"){ return true; }else{ return false; }
1468
- break;
1469
- case 'options_page':
1470
- if(md5($this->get_license_key($field_name)) == "1fc8b993548891dc2b9a63ac057935d8"){ return true; }else{ return false; }
1471
- break;
1472
- case 'flexible_content':
1473
- if(md5($this->get_license_key($field_name)) == "d067e06c2b4b32b1c1f5b6f00e0d61d6"){ return true; }else{ return false; }
1474
- break;
1475
- case 'gallery':
1476
- if(md5($this->get_license_key($field_name)) == "69f4adc9883195bd206a868ffa954b49"){ return true; }else{ return false; }
1477
- break;
1478
- }
 
 
1479
  }
1480
 
1481
  /*--------------------------------------------------------------------------------------
3
  Plugin Name: Advanced Custom Fields
4
  Plugin URI: http://www.advancedcustomfields.com/
5
  Description: Fully customise WordPress edit screens with powerful fields. Boasting a professional interface and a powerfull API, it’s a must have for any web developer working with WordPress. Field types include: Wysiwyg, text, textarea, image, file, select, checkbox, page link, post object, date picker, color picker, repeater, flexible content, gallery and more!
6
+ Version: 3.3.7
7
  Author: Elliot Condon
8
  Author URI: http://www.elliotcondon.com/
9
  License: GPL
47
  // vars
48
  $this->path = plugin_dir_path(__FILE__);
49
  $this->dir = plugins_url('',__FILE__);
50
+ $this->version = '3.3.7';
51
  $this->upgrade_version = '3.3.3'; // this is the latest version which requires an upgrade
52
  $this->cache = array(); // basic array cache to hold data throughout the page load
53
 
1462
 
1463
  function is_field_unlocked($field_name)
1464
  {
1465
+ $hashes = array(
1466
+ 'repeater' => 'bbefed143f1ec106ff3a11437bd73432',
1467
+ 'options_page' => '1fc8b993548891dc2b9a63ac057935d8',
1468
+ 'flexible_content' => 'd067e06c2b4b32b1c1f5b6f00e0d61d6',
1469
+ 'gallery' => '69f4adc9883195bd206a868ffa954b49',
1470
+ );
1471
+
1472
+ $hash = md5( $this->get_license_key($field_name) );
1473
+
1474
+ if( $hashes[$field_name] == $hash )
1475
+ {
1476
+ return true;
1477
+ }
1478
+
1479
+ return false;
1480
+
1481
  }
1482
 
1483
  /*--------------------------------------------------------------------------------------
core/controllers/field_groups.php CHANGED
@@ -33,10 +33,35 @@ class acf_field_groups
33
 
34
 
35
  // actions
36
- add_filter('pre_get_posts', array($this, 'pre_get_posts'));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  add_action('admin_print_scripts', array($this,'admin_print_scripts'));
38
  add_action('admin_print_styles', array($this,'admin_print_styles'));
39
  add_action('admin_footer', array($this,'admin_footer'));
 
 
 
 
40
  }
41
 
42
 
@@ -63,10 +88,16 @@ class acf_field_groups
63
  {
64
 
65
  // validate post type
66
- if( isset($GLOBALS['post_type']) && $GLOBALS['post_type'] == 'acf' )
67
  {
68
  $return = true;
69
- }
 
 
 
 
 
 
70
 
71
  }
72
 
@@ -118,15 +149,114 @@ class acf_field_groups
118
  * @since 3.0.6
119
  * @created: 23/06/12
120
  */
121
-
122
  function pre_get_posts($query)
123
  {
124
- // validate page
125
- if( ! $this->validate_page() ) return;
126
 
127
- $query->query_vars['posts_per_page'] = 999;
128
-
129
- return $query;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  }
131
 
132
 
@@ -144,8 +274,8 @@ class acf_field_groups
144
  if( ! $this->validate_page() ) return;
145
 
146
  ?>
147
- <link rel="stylesheet" type="text/css" href="<?php echo $this->parent->dir ?>/css/global.css" />
148
- <link rel="stylesheet" type="text/css" href="<?php echo $this->parent->dir ?>/css/acf.css" />
149
  <div id="acf-col-right" class="hidden">
150
 
151
  <div class="wp-box">
@@ -157,10 +287,10 @@ class acf_field_groups
157
 
158
  <h3><?php _e("Resources",'acf'); ?></h3>
159
  <p><?php _e("Read documentation, learn the functions and find some tips &amp; tricks for your next web project.",'acf'); ?><br />
160
- <a href="http://www.advancedcustomfields.com/"><?php _e("View the ACF website",'acf'); ?></a></p>
161
 
162
  </div>
163
- <div class="footer">
164
  <ul class="left hl">
165
  <li><?php _e("Created by",'acf'); ?> Elliot Condon</li>
166
  </ul>
@@ -174,11 +304,13 @@ class acf_field_groups
174
  <script type="text/javascript">
175
  (function($){
176
 
177
- $('#screen-meta-links').remove();
178
  $('#wpbody .wrap').wrapInner('<div id="acf-col-left" />');
179
  $('#wpbody .wrap').wrapInner('<div id="acf-cols" />');
180
  $('#acf-col-right').removeClass('hidden').prependTo('#acf-cols');
181
 
 
 
182
  })(jQuery);
183
  </script>
184
  <?php
33
 
34
 
35
  // actions
36
+ add_action('admin_menu', array($this,'admin_menu'));
37
+
38
+ }
39
+
40
+
41
+ /*
42
+ * admin_menu
43
+ *
44
+ * @description:
45
+ * @created: 2/08/12
46
+ */
47
+
48
+ function admin_menu()
49
+ {
50
+
51
+ // validate page
52
+ if( ! $this->validate_page() ) return;
53
+
54
+
55
+ // actions
56
+ //add_filter('pre_get_posts', array($this, 'pre_get_posts'), 1);
57
+
58
  add_action('admin_print_scripts', array($this,'admin_print_scripts'));
59
  add_action('admin_print_styles', array($this,'admin_print_styles'));
60
  add_action('admin_footer', array($this,'admin_footer'));
61
+
62
+ add_filter( 'manage_edit-acf_columns', array($this,'acf_edit_columns') );
63
+ add_action( 'manage_acf_posts_custom_column' , array($this,'acf_columns_display'), 10, 2 );
64
+
65
  }
66
 
67
 
88
  {
89
 
90
  // validate post type
91
+ if( isset($_GET['post_type']) && $_GET['post_type'] == 'acf' )
92
  {
93
  $return = true;
94
+ }
95
+
96
+
97
+ if( isset($_GET['page']) && $_GET['page'] == 'acf-settings' )
98
+ {
99
+ $return = false;
100
+ }
101
 
102
  }
103
 
149
  * @since 3.0.6
150
  * @created: 23/06/12
151
  */
152
+
153
  function pre_get_posts($query)
154
  {
 
 
155
 
156
+ switch ( $query->query_vars['post_type'] )
157
+ {
158
+ case 'acf':
159
+
160
+ //$query->set('posts_per_page', 1);
161
+ //$query->set('paged', 1);
162
+ break;
163
+
164
+ default:
165
+ break;
166
+ }
167
+
168
+ return $query;
169
+ }
170
+
171
+
172
+ /*
173
+ * acf_edit_columns
174
+ *
175
+ * @description:
176
+ * @created: 2/08/12
177
+ */
178
+
179
+ function acf_edit_columns( $columns )
180
+ {
181
+ /*
182
+ $columns = array(
183
+ 'title' => __("Title", 'acf'),
184
+ 'fields' => __("Fields", 'acf'),
185
+ //'order' => __("Order", 'acf'),
186
+ 'position' => __("Position", 'acf'),
187
+ 'style' => __("Style", 'acf'),
188
+ );*/
189
+
190
+ $columns['fields'] = __("Fields", 'acf');
191
+
192
+ return $columns;
193
+ }
194
+
195
+
196
+ /*
197
+ * acf_columns_display
198
+ *
199
+ * @description:
200
+ * @created: 2/08/12
201
+ */
202
+
203
+ function acf_columns_display( $column, $post_id )
204
+ {
205
+ // vars
206
+ $options = $this->parent->get_acf_options( $post_id );
207
+
208
+
209
+ switch ($column)
210
+ {
211
+ case "fields":
212
+
213
+ // vars
214
+ $count =0;
215
+ $keys = get_post_custom_keys( $post_id );
216
+
217
+ if($keys)
218
+ {
219
+ foreach($keys as $key)
220
+ {
221
+ if(strpos($key, 'field_') !== false)
222
+ {
223
+ $count++;
224
+ }
225
+ }
226
+ }
227
+
228
+ echo $count;
229
+
230
+ break;
231
+
232
+ case "order":
233
+
234
+ global $post;
235
+
236
+ echo $order = $post->menu_order;
237
+
238
+ break;
239
+
240
+ case "position":
241
+
242
+ $choices = array(
243
+ 'normal' => __("Normal",'acf'),
244
+ 'side' => __("Side",'acf'),
245
+ );
246
+
247
+ echo $choices[$options['position']];
248
+
249
+ break;
250
+
251
+ case "style":
252
+
253
+ $choices = array(
254
+ 'default' => __("Standard Metabox",'acf'),
255
+ 'no_box' => __("No Metabox",'acf'),
256
+ );
257
+
258
+ echo $choices[$options['layout']];
259
+ }
260
  }
261
 
262
 
274
  if( ! $this->validate_page() ) return;
275
 
276
  ?>
277
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->parent->dir; ?>/css/global.css" />
278
+ <link rel="stylesheet" type="text/css" href="<?php echo $this->parent->dir; ?>/css/acf.css" />
279
  <div id="acf-col-right" class="hidden">
280
 
281
  <div class="wp-box">
287
 
288
  <h3><?php _e("Resources",'acf'); ?></h3>
289
  <p><?php _e("Read documentation, learn the functions and find some tips &amp; tricks for your next web project.",'acf'); ?><br />
290
+ <a href="http://www.advancedcustomfields.com/" target="_blank"><?php _e("Visit the ACF website",'acf'); ?></a></p>
291
 
292
  </div>
293
+ <div class="footer footer-blue">
294
  <ul class="left hl">
295
  <li><?php _e("Created by",'acf'); ?> Elliot Condon</li>
296
  </ul>
304
  <script type="text/javascript">
305
  (function($){
306
 
307
+ //$('#screen-meta-links').remove();
308
  $('#wpbody .wrap').wrapInner('<div id="acf-col-left" />');
309
  $('#wpbody .wrap').wrapInner('<div id="acf-cols" />');
310
  $('#acf-col-right').removeClass('hidden').prependTo('#acf-cols');
311
 
312
+ $('#acf-col-left > .icon32').insertBefore('#acf-cols');
313
+ $('#acf-col-left > h2').insertBefore('#acf-cols');
314
  })(jQuery);
315
  </script>
316
  <?php
core/controllers/input.php CHANGED
@@ -194,7 +194,7 @@ class acf_input
194
  array($this, 'meta_box_input'),
195
  $post_type,
196
  $acf['options']['position'],
197
- 'high',
198
  array( 'fields' => $acf['fields'], 'options' => $acf['options'], 'show' => $show, 'post_id' => $post->ID )
199
  );
200
  }
@@ -543,7 +543,7 @@ acf.text.gallery_tb_title_edit = "<?php _e("Edit Image",'acf'); ?>";
543
  </head>
544
  <body>
545
 
546
- <div class="updated" id="message"><p>Attachment updated.</div>
547
 
548
  </body>
549
  </html
194
  array($this, 'meta_box_input'),
195
  $post_type,
196
  $acf['options']['position'],
197
+ 'core',
198
  array( 'fields' => $acf['fields'], 'options' => $acf['options'], 'show' => $show, 'post_id' => $post->ID )
199
  );
200
  }
543
  </head>
544
  <body>
545
 
546
+ <div class="updated" id="message"><p><?php _e("Attachment updated",'acf'); ?>.</div>
547
 
548
  </body>
549
  </html
core/controllers/settings.php CHANGED
@@ -48,11 +48,42 @@ class acf_settings
48
  {
49
  $page = add_submenu_page('edit.php?post_type=acf', __('Settings','acf'), __('Settings','acf'), 'manage_options','acf-settings',array($this,'html'));
50
 
 
 
 
51
  add_action('admin_head-' . $page, array($this,'admin_head'));
52
 
53
  }
54
 
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  /*
57
  * admin_head
58
  *
@@ -147,295 +178,312 @@ class acf_settings
147
 
148
 
149
  /*
150
- * html
151
  *
152
  * @description:
153
- * @since 3.1.8
154
- * @created: 23/06/12
155
  */
156
 
157
- function html()
158
  {
159
-
160
  // vars
161
- $action = isset($_POST['action']) ? $_POST['action'] : "";
162
-
163
- ?>
164
- <div class="wrap">
165
-
166
- <div class="icon32" id="icon-acf"><br></div>
167
- <h2 style="margin: 0 0 25px;"><?php _e("Advanced Custom Fields Settings",'acf'); ?></h2>
168
-
169
- <?php
170
-
171
- if($action == ""):
172
 
173
- /**
174
- * Action: Settings Home Page
175
- */
176
-
177
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
 
179
- <form method="post">
180
-
181
- <!-- Settings -->
182
- <div class="wp-box">
183
- <div class="inner">
184
- <h2><?php _e("Activate Add-ons.",'acf'); ?></h2>
185
- <table class="acf_activate widefat">
186
- <thead>
187
- <tr>
188
- <th><?php _e("Field Type",'acf'); ?></th>
189
- <th><?php _e("Status",'acf'); ?></th>
190
- <th><?php _e("Activation Code",'acf'); ?></th>
191
- </tr>
192
- </thead>
193
- <tbody>
194
- <tr>
195
- <td><?php _e("Repeater Field",'acf'); ?></td>
196
- <td><?php echo $this->parent->is_field_unlocked('repeater') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
197
- <td>
198
- <form action="" method="post">
199
- <?php if($this->parent->is_field_unlocked('repeater')){
200
- echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('repeater'),-4) .'</span>';
201
- echo '<input type="hidden" name="acf_field_deactivate" value="repeater" />';
202
- echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
203
- }
204
- else
205
- {
206
- echo '<input type="text" name="key" value="" />';
207
- echo '<input type="hidden" name="acf_field_activate" value="repeater" />';
208
- echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
209
- } ?>
210
- </form>
211
- </td>
212
- </tr>
213
- <tr>
214
- <td><?php _e("Flexible Content Field",'acf'); ?></td>
215
- <td><?php echo $this->parent->is_field_unlocked('flexible_content') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
216
- <td>
217
- <form action="" method="post">
218
- <?php if($this->parent->is_field_unlocked('flexible_content')){
219
- echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('flexible_content'),-4) .'</span>';
220
- echo '<input type="hidden" name="acf_field_deactivate" value="flexible_content" />';
221
- echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
222
- }
223
- else
224
- {
225
- echo '<input type="text" name="key" value="" />';
226
- echo '<input type="hidden" name="acf_field_activate" value="flexible_content" />';
227
- echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
228
- } ?>
229
- </form>
230
- </td>
231
- </tr>
232
- <tr>
233
- <td><?php _e("Gallery Field",'acf'); ?></td>
234
- <td><?php echo $this->parent->is_field_unlocked('gallery') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
235
- <td>
236
- <form action="" method="post">
237
- <?php if($this->parent->is_field_unlocked('gallery')){
238
- echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('gallery'),-4) .'</span>';
239
- echo '<input type="hidden" name="acf_field_deactivate" value="gallery" />';
240
- echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
241
- }
242
- else
243
- {
244
- echo '<input type="text" name="key" value="" />';
245
- echo '<input type="hidden" name="acf_field_activate" value="gallery" />';
246
- echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
247
- } ?>
248
- </form>
249
- </td>
250
- </tr>
251
- <tr>
252
- <td><?php _e("Options Page",'acf'); ?></td>
253
- <td><?php echo $this->parent->is_field_unlocked('options_page') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
254
- <td>
255
- <form action="" method="post">
256
- <?php if($this->parent->is_field_unlocked('options_page')){
257
- echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('options_page'),-4) .'</span>';
258
- echo '<input type="hidden" name="acf_field_deactivate" value="options_page" />';
259
- echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
260
- }
261
- else
262
- {
263
- echo '<input type="text" name="key" value="" />';
264
- echo '<input type="hidden" name="acf_field_activate" value="options_page" />';
265
- echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
266
- } ?>
267
- </form>
268
- </td>
269
- </tr>
270
- </tbody>
271
- </table>
272
- </div>
273
- <div class="footer">
274
- <ul class="hl left">
275
- <li><?php _e("Add-ons can be unlocked by purchasing a license key. Each key can be used on multiple sites.",'acf'); ?> <a href="http://www.advancedcustomfields.com/add-ons/"><?php _e("Find Add-ons",'acf'); ?></a></li>
276
- </ul>
277
- <ul class="hl right">
278
- <li></li>
279
- </ul>
280
- </div>
281
- </div>
282
- <!-- Settings -->
283
-
284
- <br />
285
- <br />
286
- <br />
287
 
288
- <!-- Export / Import -->
289
- <form method="post" action="<?php echo $this->parent->dir; ?>/core/actions/export.php">
290
- <div class="wp-box">
291
- <div class="wp-box-half left">
292
- <div class="inner" style="min-height:130px;">
293
- <h2><?php _e("Export Field Groups to XML",'acf'); ?></h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
 
295
- <?php
296
- $acfs = get_pages(array(
297
- 'numberposts' => -1,
298
- 'post_type' => 'acf',
299
- 'sort_column' => 'menu_order',
300
- 'order' => 'ASC',
301
- ));
302
 
303
- // blank array to hold acfs
304
- $acf_posts = array();
305
-
306
- if($acfs)
307
- {
308
- foreach($acfs as $acf)
309
- {
310
- $acf_posts[$acf->ID] = $acf->post_title;
311
- }
312
- }
313
-
314
- $this->parent->create_field(array(
315
- 'type' => 'select',
316
- 'name' => 'acf_posts',
317
- 'value' => '',
318
- 'choices' => $acf_posts,
319
- 'multiple' => '1',
320
- ));
321
- ?>
322
-
323
- </div>
324
- <div class="footer">
325
- <ul class="hl left">
326
- <li><?php _e("ACF will create a .xml export file which is compatible with the native WP import plugin.",'acf'); ?></li>
327
- </ul>
328
- <ul class="hl right">
329
- <li><input type="submit" class="acf-button" value="<?php _e("Export XML",'acf'); ?>" /></li>
330
- </ul>
331
- </div>
332
- </div>
333
- <div class="wp-box-half right">
334
- <div class="inner">
335
- <h2><?php _e("Import Field Groups",'acf'); ?></h2>
336
- <ol>
337
- <li><?php _e("Navigate to the",'acf'); ?> <a href="<?php echo admin_url(); ?>import.php"><?php _e("Import Tool",'acf'); ?></a> <?php _e("and select WordPress",'acf'); ?></li>
338
- <li><?php _e("Install WP import plugin if prompted",'acf'); ?></li>
339
- <li><?php _e("Upload and import your exported .xml file",'acf'); ?></li>
340
- <li><?php _e("Select your user and ignore Import Attachments",'acf'); ?></li>
341
- <li><?php _e("That's it! Happy WordPressing",'acf'); ?></li>
342
- </ol>
343
- </div>
344
- </div>
345
- <div class="clear"></div>
346
- </div>
347
- </form>
348
- <!-- / Export / Import -->
349
 
350
- <br />
351
- <br />
352
- <br />
353
 
354
- <!-- Export / Import PHP -->
355
- <form method="post">
356
- <input type="hidden" name="action" value="export_php" />
357
- <div class="wp-box">
358
- <div class="wp-box-half left">
359
- <div class="inner" style="min-height:130px;">
360
- <h2><?php _e("Export Field Groups to PHP",'acf'); ?></h2>
361
-
362
- <?php
363
- $acfs = get_pages(array(
364
- 'numberposts' => -1,
365
- 'post_type' => 'acf',
366
- 'sort_column' => 'menu_order',
367
- 'order' => 'ASC',
368
- ));
369
 
370
- // blank array to hold acfs
371
- $acf_posts = array();
372
-
373
- if($acfs)
374
- {
375
- foreach($acfs as $acf)
376
- {
377
- $acf_posts[$acf->ID] = $acf->post_title;
378
- }
379
- }
380
-
381
- $this->parent->create_field(array(
382
- 'type' => 'select',
383
- 'name' => 'acf_posts',
384
- 'value' => '',
385
- 'choices' => $acf_posts,
386
- 'multiple' => '1',
387
- ));
388
- ?>
389
-
390
- </div>
391
- <div class="footer">
392
- <ul class="hl left">
393
- <li><?php _e("ACF will create the PHP code to include in your theme",'acf'); ?></li>
394
- </ul>
395
- <ul class="hl right">
396
- <li><input type="submit" class="acf-button" value="<?php _e("Create PHP",'acf'); ?>" /></li>
397
- </ul>
398
- </div>
399
- </div>
400
- <div class="wp-box-half right">
401
- <div class="inner">
402
- <h2><?php _e("Register Field Groups with PHP",'acf'); ?></h2>
403
  <ol>
404
  <li><?php _e("Copy the PHP code generated",'acf'); ?></li>
405
  <li><?php _e("Paste into your functions.php file",'acf'); ?></li>
406
  <li><?php _e("To activate any Add-ons, edit and use the code in the first few lines.",'acf'); ?></li>
407
  </ol>
408
- </div>
409
- </div>
410
- <div class="clear"></div>
411
- </div>
412
- </form>
413
- <!-- / Export / Import PHP -->
414
-
415
- </form>
416
-
417
- <?php
418
-
419
- elseif($action == "export_php"):
420
-
421
- /**
422
- * Action: Export PHP
423
- */
424
-
425
- ?>
426
-
427
- <p><a href="">&laquo; <?php _e("Back to settings",'acf'); ?></a></p>
428
- <div class="wp-box">
429
- <div class="inner">
430
- <h2><?php _e("Register Field Groups with PHP",'acf'); ?></h2>
431
- <ol>
432
- <li><?php _e("Copy the PHP code generated",'acf'); ?></li>
433
- <li><?php _e("Paste into your functions.php file",'acf'); ?></li>
434
- <li><?php _e("To activate any Add-ons, edit and use the code in the first few lines.",'acf'); ?></li>
435
- </ol>
436
- </div>
437
- <div class="footer">
438
- <pre><?php
439
 
440
  $acfs = array();
441
 
@@ -460,9 +508,11 @@ elseif($action == "export_php"):
460
  * You may place this code inside an IF statement that only runs on theme activation.
461
  */",'acf'); ?>
462
 
 
463
  // if(!get_option('acf_repeater_ac')) update_option('acf_repeater_ac', "xxxx-xxxx-xxxx-xxxx");
464
  // if(!get_option('acf_options_page_ac')) update_option('acf_options_page_ac', "xxxx-xxxx-xxxx-xxxx");
465
  // if(!get_option('acf_flexible_content_ac')) update_option('acf_flexible_content_ac', "xxxx-xxxx-xxxx-xxxx");
 
466
 
467
 
468
  <?php _e("/**
@@ -472,6 +522,7 @@ elseif($action == "export_php"):
472
  * This code must run every time the functions.php file is read
473
  */",'acf'); ?>
474
 
 
475
  if(function_exists("register_field_group"))
476
  {
477
  <?php
@@ -486,7 +537,15 @@ if(function_exists("register_field_group"))
486
  'menu_order' => $acf->menu_order,
487
  );
488
 
489
- ?>register_field_group(<?php var_export($var); ?>);
 
 
 
 
 
 
 
 
490
  <?php
491
  }
492
  ?>
@@ -497,18 +556,55 @@ if(function_exists("register_field_group"))
497
  {
498
  _e("No field groups were selected",'acf');
499
  }
500
- ?></pre>
501
- </div>
502
- </div>
503
- <?php
504
-
505
- endif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
 
507
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
  </div>
509
- <!-- / Wrap -->
510
  <?php
511
 
 
 
 
512
  }
513
 
514
 
48
  {
49
  $page = add_submenu_page('edit.php?post_type=acf', __('Settings','acf'), __('Settings','acf'), 'manage_options','acf-settings',array($this,'html'));
50
 
51
+ add_action('admin_print_scripts-' . $page, array($this, 'admin_print_scripts'));
52
+ add_action('admin_print_styles-' . $page, array($this, 'admin_print_styles'));
53
+
54
  add_action('admin_head-' . $page, array($this,'admin_head'));
55
 
56
  }
57
 
58
 
59
+ /*
60
+ * admin_print_scripts
61
+ *
62
+ * @description:
63
+ * @since 3.1.8
64
+ * @created: 23/06/12
65
+ */
66
+
67
+ function admin_print_scripts()
68
+ {
69
+ wp_enqueue_script( 'wp-pointer' );
70
+ }
71
+
72
+
73
+ /*
74
+ * admin_print_styles
75
+ *
76
+ * @description:
77
+ * @since 3.1.8
78
+ * @created: 23/06/12
79
+ */
80
+
81
+ function admin_print_styles()
82
+ {
83
+ wp_enqueue_style( 'wp-pointer' );
84
+ }
85
+
86
+
87
  /*
88
  * admin_head
89
  *
178
 
179
 
180
  /*
181
+ * html_index
182
  *
183
  * @description:
184
+ * @created: 9/08/12
 
185
  */
186
 
187
+ function html_index()
188
  {
 
189
  // vars
190
+ $acfs = get_pages(array(
191
+ 'numberposts' => -1,
192
+ 'post_type' => 'acf',
193
+ 'sort_column' => 'menu_order',
194
+ 'order' => 'ASC',
195
+ ));
 
 
 
 
 
196
 
197
+ // blank array to hold acfs
198
+ $choices = array();
199
+
200
+ if($acfs)
201
+ {
202
+ foreach($acfs as $acf)
203
+ {
204
+ // find title. Could use get_the_title, but that uses get_post(), so I think this uses less Memory
205
+ $title = apply_filters( 'the_title', $acf->post_title, $acf->ID );
206
+
207
+ $choices[$acf->ID] = $title;
208
+ }
209
+ }
210
+
211
+ ?>
212
+ <table class="form-table acf-form-table">
213
+ <tbody>
214
+ <tr>
215
+ <th scope="row">
216
+ <h3><?php _e("Activate Add-ons.",'acf'); ?></h3>
217
+ <p><?php _e("Add-ons can be unlocked by purchasing a license key. Each key can be used on multiple sites.",'acf'); ?></p>
218
+ <p><a target="_blank" href="http://www.advancedcustomfields.com/add-ons/"><?php _e("Find Add-ons",'acf'); ?></a></p>
219
+ </th>
220
+ <td>
221
+ <div class="wp-box">
222
+ <table class="acf_activate widefat">
223
+ <thead>
224
+ <tr>
225
+ <th><?php _e("Field Type",'acf'); ?></th>
226
+ <th><?php _e("Status",'acf'); ?></th>
227
+ <th style="width:50%;"><?php _e("Activation Code",'acf'); ?></th>
228
+ </tr>
229
+ </thead>
230
+ <tbody>
231
+ <tr>
232
+ <td><?php _e("Repeater Field",'acf'); ?></td>
233
+ <td><?php echo $this->parent->is_field_unlocked('repeater') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
234
+ <td>
235
+ <form action="" method="post">
236
+ <?php if($this->parent->is_field_unlocked('repeater')){
237
+ echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('repeater'),-4) .'</span>';
238
+ echo '<input type="hidden" name="acf_field_deactivate" value="repeater" />';
239
+ echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
240
+ }
241
+ else
242
+ {
243
+ echo '<input type="text" name="key" value="" />';
244
+ echo '<input type="hidden" name="acf_field_activate" value="repeater" />';
245
+ echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
246
+ } ?>
247
+ </form>
248
+ </td>
249
+ </tr>
250
+ <tr>
251
+ <td><?php _e("Flexible Content Field",'acf'); ?></td>
252
+ <td><?php echo $this->parent->is_field_unlocked('flexible_content') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
253
+ <td>
254
+ <form action="" method="post">
255
+ <?php if($this->parent->is_field_unlocked('flexible_content')){
256
+ echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('flexible_content'),-4) .'</span>';
257
+ echo '<input type="hidden" name="acf_field_deactivate" value="flexible_content" />';
258
+ echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
259
+ }
260
+ else
261
+ {
262
+ echo '<input type="text" name="key" value="" />';
263
+ echo '<input type="hidden" name="acf_field_activate" value="flexible_content" />';
264
+ echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
265
+ } ?>
266
+ </form>
267
+ </td>
268
+ </tr>
269
+ <tr>
270
+ <td><?php _e("Gallery Field",'acf'); ?></td>
271
+ <td><?php echo $this->parent->is_field_unlocked('gallery') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
272
+ <td>
273
+ <form action="" method="post">
274
+ <?php if($this->parent->is_field_unlocked('gallery')){
275
+ echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('gallery'),-4) .'</span>';
276
+ echo '<input type="hidden" name="acf_field_deactivate" value="gallery" />';
277
+ echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
278
+ }
279
+ else
280
+ {
281
+ echo '<input type="text" name="key" value="" />';
282
+ echo '<input type="hidden" name="acf_field_activate" value="gallery" />';
283
+ echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
284
+ } ?>
285
+ </form>
286
+ </td>
287
+ </tr>
288
+ <tr>
289
+ <td><?php _e("Options Page",'acf'); ?></td>
290
+ <td><?php echo $this->parent->is_field_unlocked('options_page') ? __("Active",'acf') : __("Inactive",'acf'); ?></td>
291
+ <td>
292
+ <form action="" method="post">
293
+ <?php if($this->parent->is_field_unlocked('options_page')){
294
+ echo '<span class="activation_code">XXXX-XXXX-XXXX-'.substr($this->parent->get_license_key('options_page'),-4) .'</span>';
295
+ echo '<input type="hidden" name="acf_field_deactivate" value="options_page" />';
296
+ echo '<input type="submit" class="button" value="' . __("Deactivate",'acf') . '" />';
297
+ }
298
+ else
299
+ {
300
+ echo '<input type="text" name="key" value="" />';
301
+ echo '<input type="hidden" name="acf_field_activate" value="options_page" />';
302
+ echo '<input type="submit" class="button" value="' . __("Activate",'acf') . '" />';
303
+ } ?>
304
+ </form>
305
+ </td>
306
+ </tr>
307
+ </tbody>
308
+ </table>
309
+ </div>
310
+ </td>
311
+ </tr>
312
+ <tr>
313
+ <th scope="row">
314
+ <h3><?php _e("Export Field Groups to XML",'acf'); ?></h3>
315
+ <p><?php _e("ACF will create a .xml export file which is compatible with the native WP import plugin.",'acf'); ?></p>
316
+ <p><a href="#" class="show-pointer" rel="xml-import-instructions-html"><?php _e("Instructions",'acf'); ?></a></p>
317
+ <div id="xml-import-instructions-html" style="display:none;">
318
+ <h3><?php _e("Import Field Groups",'acf'); ?></h3>
319
+ <p><?php _e("Imported field groups <b>will</b> appear in the list of editable field groups. This is useful for migrating fields groups between Wp websites.",'acf'); ?></p>
320
+ <ol>
321
+ <li><?php _e("Select field group(s) from the list and click \"Export XML\"",'acf'); ?></li>
322
+ <li><?php _e("Save the .xml file when prompted",'acf'); ?></li>
323
+ <li><?php _e("Navigate to Tools &raquo; Import and select WordPress",'acf'); ?></li>
324
+ <li><?php _e("Install WP import plugin if prompted",'acf'); ?></li>
325
+ <li><?php _e("Upload and import your exported .xml file",'acf'); ?></li>
326
+ <li><?php _e("Select your user and ignore Import Attachments",'acf'); ?></li>
327
+ <li><?php _e("That's it! Happy WordPressing",'acf'); ?></li>
328
+ </ol>
329
+ </div>
330
+ </th>
331
+ <td>
332
+ <form class="acf-export-form" method="post" action="<?php echo $this->parent->dir; ?>/core/actions/export.php">
333
+ <?php
334
 
335
+ $this->parent->create_field(array(
336
+ 'type' => 'select',
337
+ 'name' => 'acf_posts',
338
+ 'value' => '',
339
+ 'choices' => $choices,
340
+ 'multiple' => '1',
341
+ ));
342
+
343
+ ?>
344
+ <ul class="hl clearfix">
345
+ <li class="right"><input type="submit" class="acf-button" value="<?php _e("Export XML",'acf'); ?>" /></li>
346
+ </ul>
347
+ </form>
348
+ </td>
349
+ </tr>
350
+ <tr>
351
+ <th scope="row">
352
+ <h3><?php _e("Export Field Groups to PHP",'acf'); ?></h3>
353
+ <p><?php _e("ACF will create the PHP code to include in your theme.",'acf'); ?></p>
354
+ <p><a href="#" class="show-pointer" rel="php-import-instructions-html"><?php _e("Instructions",'acf'); ?></a></p>
355
+ <div id="php-import-instructions-html" style="display:none;">
356
+ <h3><?php _e("Register Field Groups",'acf'); ?></h3>
357
+ <p><?php _e("Registered field groups <b>will not</b> appear in the list of editable field groups. This is useful for including fields in themes.",'acf'); ?></p>
358
+ <p><?php _e("Please note that if you export and register field groups within the same WP, you will see duplicate fields on your edit screens. To fix this, please move the origional field group to the trash or remove the code from your functions.php file.",'acf'); ?></p>
359
+ <ol>
360
+ <li><?php _e("Select field group(s) from the list and click \"Create PHP\"",'acf'); ?></li>
361
+ <li><?php _e("Copy the PHP code generated",'acf'); ?></li>
362
+ <li><?php _e("Paste into your functions.php file",'acf'); ?></li>
363
+ <li><?php _e("To activate any Add-ons, edit and use the code in the first few lines.",'acf'); ?></li>
364
+ </ol>
365
+ </div>
366
+ </th>
367
+ <td>
368
+ <form class="acf-export-form" method="post">
369
+ <input type="hidden" name="action" value="export_php" />
370
+ <?php
371
+
372
+ $this->parent->create_field(array(
373
+ 'type' => 'select',
374
+ 'name' => 'acf_posts',
375
+ 'value' => '',
376
+ 'choices' => $choices,
377
+ 'multiple' => '1',
378
+ ));
379
+
380
+ ?>
381
+ <ul class="hl clearfix">
382
+ <li class="right"><input type="submit" class="acf-button" value="<?php _e("Create PHP",'acf'); ?>" /></li>
383
+ </ul>
384
+ </form>
385
+ </td>
386
+ </tr>
387
+ </tbody>
388
+ </table>
389
+ <script type="text/javascript">
390
+ (function($){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
 
392
+ $(document).ready(function(){
393
+
394
+ $('a.show-pointer').each(function(){
395
+
396
+ // vars
397
+ var a = $(this),
398
+ html = a.attr('rel');
399
+
400
+
401
+ // create pointer
402
+ a.pointer({
403
+ content: $('#' + html).html(),
404
+ position: {
405
+ my: 'left bottom',
406
+ at: 'left top',
407
+ edge: 'bottom',
408
+ },
409
+ close: function() {
410
+
411
+ a.removeClass('open');
412
+
413
+ }
414
+ });
415
+
416
+
417
+ // click
418
+ a.click(function(){
419
+
420
+ if( a.hasClass('open') )
421
+ {
422
+ a.removeClass('open');
423
+ }
424
+ else
425
+ {
426
+ a.addClass('open');
427
+ }
428
+
429
+ });
430
+
431
+
432
+ // show on hover
433
+ a.hover(function(){
434
+
435
+ $(this).pointer('open');
436
+
437
+ }, function(){
438
+
439
+ if( ! a.hasClass('open') )
440
+ {
441
+ $(this).pointer('close');
442
+ }
443
+
444
+ });
445
+
446
+ });
447
 
448
+ });
 
 
 
 
 
 
449
 
450
+ })(jQuery);
451
+ </script>
452
+ <?php
453
+
454
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
455
 
 
 
 
456
 
457
+ /*
458
+ * html_php
459
+ *
460
+ * @description:
461
+ * @created: 9/08/12
462
+ */
 
 
 
 
 
 
 
 
 
463
 
464
+ function html_php()
465
+ {
466
+
467
+ ?>
468
+ <p><a href="">&laquo; <?php _e("Back to settings",'acf'); ?></a></p>
469
+ <table class="form-table acf-form-table">
470
+ <tbody>
471
+ <tr>
472
+ <th scope="row">
473
+ <h3><?php _e("Register Field Groups",'acf'); ?></h3>
474
+ <p><?php _e("Registered field groups <b>will not</b> appear in the list of editable field groups. This is useful for including fields in themes.",'acf'); ?></p>
475
+ <p><?php _e("Please note that if you export and register field groups within the same WP, you will see duplicate fields on your edit screens. To fix this, please move the origional field group to the trash or remove the code from your functions.php file.",'acf'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
476
  <ol>
477
  <li><?php _e("Copy the PHP code generated",'acf'); ?></li>
478
  <li><?php _e("Paste into your functions.php file",'acf'); ?></li>
479
  <li><?php _e("To activate any Add-ons, edit and use the code in the first few lines.",'acf'); ?></li>
480
  </ol>
481
+
482
+ </th>
483
+ <td valign="top">
484
+ <div class="wp-box">
485
+ <div class="inner">
486
+ <pre><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
487
 
488
  $acfs = array();
489
 
508
  * You may place this code inside an IF statement that only runs on theme activation.
509
  */",'acf'); ?>
510
 
511
+
512
  // if(!get_option('acf_repeater_ac')) update_option('acf_repeater_ac', "xxxx-xxxx-xxxx-xxxx");
513
  // if(!get_option('acf_options_page_ac')) update_option('acf_options_page_ac', "xxxx-xxxx-xxxx-xxxx");
514
  // if(!get_option('acf_flexible_content_ac')) update_option('acf_flexible_content_ac', "xxxx-xxxx-xxxx-xxxx");
515
+ // if(!get_option('acf_gallery_ac')) update_option('acf_gallery_ac', "xxxx-xxxx-xxxx-xxxx");
516
 
517
 
518
  <?php _e("/**
522
  * This code must run every time the functions.php file is read
523
  */",'acf'); ?>
524
 
525
+
526
  if(function_exists("register_field_group"))
527
  {
528
  <?php
537
  'menu_order' => $acf->menu_order,
538
  );
539
 
540
+ $html = var_export($var, true);
541
+
542
+ // change double spaces to tabs
543
+ $html = str_replace(" ", "\t", $html);
544
+
545
+ // add extra tab at start of each line
546
+ $html = str_replace("\n", "\n\t", $html);
547
+
548
+ ?> register_field_group(<?php echo $html ?>);
549
  <?php
550
  }
551
  ?>
556
  {
557
  _e("No field groups were selected",'acf');
558
  }
559
+ ?></pre>
560
+ </div>
561
+ </div>
562
+ </td>
563
+ </tr>
564
+ </tbody>
565
+ </table>
566
+ <?php
567
+ }
568
+
569
+
570
+ /*
571
+ * html
572
+ *
573
+ * @description:
574
+ * @since 3.1.8
575
+ * @created: 23/06/12
576
+ */
577
+
578
+ function html()
579
+ {
580
+
581
+ // vars
582
+ $action = isset($_POST['action']) ? $_POST['action'] : "";
583
 
584
+
585
+ ?>
586
+ <div class="wrap">
587
+
588
+ <div class="icon32" id="icon-acf"><br></div>
589
+ <h2 style="margin: 4px 0 25px;"><?php _e("Advanced Custom Fields Settings",'acf'); ?></h2>
590
+ <?php
591
+
592
+ if($action == "export_php")
593
+ {
594
+ $this->html_php();
595
+ }
596
+ else
597
+ {
598
+ $this->html_index();
599
+ }
600
+
601
+ ?>
602
  </div>
 
603
  <?php
604
 
605
+
606
+ return;
607
+
608
  }
609
 
610
 
core/fields/flexible_content.php CHANGED
@@ -54,7 +54,9 @@ class acf_Flexible_content extends acf_Field
54
  <?php foreach($layouts as $layout): $i++; ?>
55
 
56
  <div class="layout" data-layout="<?php echo $layout['name']; ?>">
57
-
 
 
58
  <ul class="hl actions">
59
  <li><a class="order" href="#"></a></li>
60
  <li><a class="delete" href="#"></a></li>
@@ -71,47 +73,58 @@ class acf_Flexible_content extends acf_Field
71
  ?><td><?php
72
  endif;
73
 
74
- $l = 0;
75
- foreach($layout['sub_fields'] as $sub_field):
76
-
77
- $l++;
78
-
79
- if($layout['display'] == 'table'):
80
- ?><td style="width:<?php echo 100/count($layout['sub_fields']); ?>%;"><?php
81
- else:
82
- ?><div class="row-layout-field"><?php
83
- endif;
84
 
85
- ?><p class="label">
86
- <label><?php echo $sub_field['label']; ?></label><?php
87
 
88
- if(!isset($sub_field['instructions']))
89
- $sub_field['instructions'] = "";
90
 
91
- echo $sub_field['instructions'];
 
 
 
 
92
 
93
- ?></p>
94
-
95
- <input type="hidden" name="<?php echo $field['name']; ?>[999][acf_fc_layout]" value="<?php echo $layout['name']; ?>" />
96
- <?php
97
-
98
- // add value
99
- $sub_field['value'] = isset($sub_field['default_value']) ? $sub_field['default_value'] : false;
100
-
101
- // add name
102
- $sub_field['name'] = $field['name'] . '[999][' . $sub_field['key'] . ']';
103
-
104
- // create field
105
- $this->parent->create_field($sub_field);
 
 
 
 
 
 
 
 
 
 
 
 
106
 
 
 
 
 
107
 
108
- if($layout['display'] == 'table'):
109
- ?></td><?php
110
- else:
111
- ?></div><?php
112
  endif;
 
 
 
113
 
114
- endforeach;
115
 
116
  if($layout['display'] == 'row'):
117
  ?></td><?php
@@ -125,16 +138,28 @@ class acf_Flexible_content extends acf_Field
125
  <?php endforeach; ?>
126
  </div>
127
  <div class="values">
128
- <?php if($field['value']): ?>
129
- <?php foreach($field['value'] as $i => $value):?>
 
 
 
130
 
 
 
 
 
 
131
 
132
- <?php if(!isset($layouts[$value['acf_fc_layout']])) continue; ?>
133
- <?php $layout = $layouts[$value['acf_fc_layout']]; ?>
134
-
135
 
 
 
 
 
 
136
  <div class="layout" data-layout="<?php echo $layout['name']; ?>">
137
 
 
 
138
  <ul class="hl actions">
139
  <li><a class="order" href="#"></a></li>
140
  <li><a class="delete" href="#"></a></li>
@@ -143,54 +168,83 @@ class acf_Flexible_content extends acf_Field
143
  <p class="layout-label"><?php echo $layout['label']; ?></p>
144
 
145
  <table class="widefat">
146
-
147
- <tbody>
148
- <tr>
149
- <?php if($layout['display'] == 'row'): ?><td><?php endif; ?>
150
-
151
- <?php $l = 0; foreach($layout['sub_fields'] as $sub_field): $l++; ?>
 
 
 
 
152
 
153
- <?php if($layout['display'] == 'table'): ?><td style="width:<?php echo 100/count($layout['sub_fields']); ?>%;"><?php endif; ?>
 
 
154
 
155
- <p class="label">
156
- <label><?php echo $sub_field['label']; ?></label>
157
- <?php
 
 
 
 
 
158
 
159
  if(!isset($sub_field['instructions']))
160
  $sub_field['instructions'] = "";
161
 
162
  echo $sub_field['instructions'];
163
 
164
- ?>
165
- </p>
166
-
167
- <input type="hidden" name="<?php echo $field['name'] ?>[<?php echo $i ?>][acf_fc_layout]" value="<?php echo $layout['name']; ?>" />
168
- <?php
169
  // add value
170
- $sub_field['value'] = isset($value[$sub_field['name']]) ? $value[$sub_field['name']] : '';
171
 
172
  // add name
173
  $sub_field['name'] = $field['name'] . '[' . $i . '][' . $sub_field['key'] . ']';
174
 
175
  // create field
176
  $this->parent->create_field($sub_field);
177
- ?>
178
-
179
- <?php if($layout['display'] == 'table'): ?></td><?php endif; ?>
180
 
181
- <?php endforeach; ?>
 
 
 
 
 
182
 
183
- <?php if($layout['display'] == 'row'): ?></td><?php endif; ?>
184
- </tr>
185
- </tbody>
186
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  </table>
188
  </div>
189
-
190
-
191
- <?php endforeach; ?>
192
- <?php endif; ?>
193
- <?php // values here ?>
 
 
 
 
194
  </div>
195
 
196
  <ul class="hl clearfix flexible-footer">
54
  <?php foreach($layouts as $layout): $i++; ?>
55
 
56
  <div class="layout" data-layout="<?php echo $layout['name']; ?>">
57
+
58
+ <input type="hidden" name="<?php echo $field['name']; ?>[999][acf_fc_layout]" value="<?php echo $layout['name']; ?>" />
59
+
60
  <ul class="hl actions">
61
  <li><a class="order" href="#"></a></li>
62
  <li><a class="delete" href="#"></a></li>
73
  ?><td><?php
74
  endif;
75
 
76
+ if( $layout['sub_fields'] ):
77
+
78
+ $l = 0;
 
 
 
 
 
 
 
79
 
80
+ foreach($layout['sub_fields'] as $sub_field):
 
81
 
82
+ $l++;
 
83
 
84
+ if($layout['display'] == 'table'):
85
+ ?><td style="width:<?php echo 100/count($layout['sub_fields']); ?>%;"><?php
86
+ else:
87
+ ?><div class="row-layout-field"><?php
88
+ endif;
89
 
90
+ ?><p class="label">
91
+ <label><?php echo $sub_field['label']; ?></label><?php
92
+
93
+ if(!isset($sub_field['instructions']))
94
+ $sub_field['instructions'] = "";
95
+
96
+ echo $sub_field['instructions'];
97
+
98
+ ?></p><?php
99
+
100
+ // add value
101
+ $sub_field['value'] = isset($sub_field['default_value']) ? $sub_field['default_value'] : false;
102
+
103
+ // add name
104
+ $sub_field['name'] = $field['name'] . '[999][' . $sub_field['key'] . ']';
105
+
106
+ // create field
107
+ $this->parent->create_field($sub_field);
108
+
109
+
110
+ if($layout['display'] == 'table'):
111
+ ?></td><?php
112
+ else:
113
+ ?></div><?php
114
+ endif;
115
 
116
+ endforeach;
117
+ // foreach($layout['sub_fields'] as $sub_field):
118
+
119
+ else:
120
 
121
+ if($layout['display'] == 'table'):
122
+ ?><td></td><?php
 
 
123
  endif;
124
+
125
+ endif;
126
+ // if( $layout['sub_fields'] ):
127
 
 
128
 
129
  if($layout['display'] == 'row'):
130
  ?></td><?php
138
  <?php endforeach; ?>
139
  </div>
140
  <div class="values">
141
+ <?php
142
+
143
+ if($field['value']):
144
+
145
+ foreach($field['value'] as $i => $value):
146
 
147
+ // validate layout
148
+ if( !isset($layouts[$value['acf_fc_layout']]) )
149
+ {
150
+ continue;
151
+ }
152
 
 
 
 
153
 
154
+ // vars
155
+ $layout = $layouts[$value['acf_fc_layout']];
156
+
157
+
158
+ ?>
159
  <div class="layout" data-layout="<?php echo $layout['name']; ?>">
160
 
161
+ <input type="hidden" name="<?php echo $field['name'] ?>[<?php echo $i ?>][acf_fc_layout]" value="<?php echo $layout['name']; ?>" />
162
+
163
  <ul class="hl actions">
164
  <li><a class="order" href="#"></a></li>
165
  <li><a class="delete" href="#"></a></li>
168
  <p class="layout-label"><?php echo $layout['label']; ?></p>
169
 
170
  <table class="widefat">
171
+ <tbody>
172
+ <tr><?php
173
+
174
+ if($layout['display'] == 'row'):
175
+ ?><td><?php
176
+ endif;
177
+
178
+ if( $layout['sub_fields'] ):
179
+
180
+ $l = 0;
181
 
182
+ foreach($layout['sub_fields'] as $sub_field):
183
+
184
+ $l++;
185
 
186
+ if($layout['display'] == 'table'):
187
+ ?><td style="width:<?php echo 100/count($layout['sub_fields']); ?>%;"><?php
188
+ else:
189
+ ?><div class="row-layout-field"><?php
190
+ endif;
191
+
192
+ ?><p class="label">
193
+ <label><?php echo $sub_field['label']; ?></label><?php
194
 
195
  if(!isset($sub_field['instructions']))
196
  $sub_field['instructions'] = "";
197
 
198
  echo $sub_field['instructions'];
199
 
200
+ ?></p><?php
201
+
 
 
 
202
  // add value
203
+ $sub_field['value'] = isset($value[$sub_field['name']]) ? $value[$sub_field['name']] : false;
204
 
205
  // add name
206
  $sub_field['name'] = $field['name'] . '[' . $i . '][' . $sub_field['key'] . ']';
207
 
208
  // create field
209
  $this->parent->create_field($sub_field);
 
 
 
210
 
211
+
212
+ if($layout['display'] == 'table'):
213
+ ?></td><?php
214
+ else:
215
+ ?></div><?php
216
+ endif;
217
 
218
+ endforeach;
219
+ // foreach($layout['sub_fields'] as $sub_field):
220
+
221
+ else:
222
+
223
+ if($layout['display'] == 'table'):
224
+ ?><td></td><?php
225
+ endif;
226
+
227
+ endif;
228
+ // if( $layout['sub_fields'] ):
229
+
230
+
231
+ if($layout['display'] == 'row'):
232
+ ?></td><?php
233
+ endif;
234
+
235
+ ?></tr>
236
+ </tbody>
237
  </table>
238
  </div>
239
+ <?php
240
+
241
+ endforeach;
242
+ // foreach($field['value'] as $i => $value)
243
+
244
+ endif;
245
+ // if($field['value']):
246
+
247
+ ?>
248
  </div>
249
 
250
  <ul class="hl clearfix flexible-footer">
core/fields/image.php CHANGED
@@ -211,7 +211,7 @@ class acf_Image extends acf_Field
211
  {
212
  // vars
213
  $defaults = array(
214
- 'save_format' => 'url',
215
  'preview_size' => 'thumbnail',
216
  );
217
 
@@ -230,8 +230,9 @@ class acf_Image extends acf_Field
230
  'value' => $field['save_format'],
231
  'layout' => 'horizontal',
232
  'choices' => array(
233
- 'url' => __("Image URL",'acf'),
234
- 'id' => __("Attachment ID",'acf')
 
235
  )
236
  ));
237
  ?>
@@ -614,10 +615,45 @@ class acf_Image extends acf_Field
614
 
615
  $value = parent::get_value($post_id, $field);
616
 
 
 
617
  if($format == 'url')
618
  {
619
  $value = wp_get_attachment_url($value);
620
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
621
 
622
  return $value;
623
  }
211
  {
212
  // vars
213
  $defaults = array(
214
+ 'save_format' => 'object',
215
  'preview_size' => 'thumbnail',
216
  );
217
 
230
  'value' => $field['save_format'],
231
  'layout' => 'horizontal',
232
  'choices' => array(
233
+ 'object' => __("Image Object",'acf'),
234
+ 'url' => __("Image URL",'acf'),
235
+ 'id' => __("Image ID",'acf')
236
  )
237
  ));
238
  ?>
615
 
616
  $value = parent::get_value($post_id, $field);
617
 
618
+
619
+ // format
620
  if($format == 'url')
621
  {
622
  $value = wp_get_attachment_url($value);
623
  }
624
+ elseif($format == 'object')
625
+ {
626
+ $attachment = get_post( $value );
627
+
628
+ // create array to hold value data
629
+ $value = array(
630
+ 'id' => $attachment->ID,
631
+ 'alt' => get_post_meta($attachment->ID, '_wp_attachment_image_alt', true),
632
+ 'title' => $attachment->post_title,
633
+ 'caption' => $attachment->post_excerpt,
634
+ 'description' => $attachment->post_content,
635
+ 'url' => wp_get_attachment_url( $attachment->ID ),
636
+ 'sizes' => array(),
637
+ );
638
+
639
+ // find all image sizes
640
+ $image_sizes = get_intermediate_image_sizes();
641
+
642
+ if( $image_sizes )
643
+ {
644
+ foreach( $image_sizes as $image_size )
645
+ {
646
+ // find src
647
+ $src = wp_get_attachment_image_src( $attachment->ID, $image_size );
648
+
649
+ // add src
650
+ $value['sizes'][$image_size] = $src[0];
651
+ }
652
+ // foreach( $image_sizes as $image_size )
653
+ }
654
+ // if( $image_sizes )
655
+
656
+ }
657
 
658
  return $value;
659
  }
core/fields/post_object.php CHANGED
@@ -116,15 +116,19 @@ class acf_Post_object extends acf_Field
116
 
117
 
118
  // set order
119
- if( is_post_type_hierarchical($post_type) )
120
  {
121
- $args['orderby'] = 'menu_order';
 
 
 
 
 
 
 
122
  }
123
 
124
 
125
- // get posts
126
- $posts = get_posts( $args );
127
-
128
  if($posts)
129
  {
130
  foreach( $posts as $post )
116
 
117
 
118
  // set order
119
+ if( is_post_type_hierarchical($post_type) && !isset($args['tax_query']) )
120
  {
121
+ $args['sort_column'] = 'menu_order, post_title';
122
+ $args['sort_order'] = 'ASC';
123
+
124
+ $posts = get_pages( $args );
125
+ }
126
+ else
127
+ {
128
+ $posts = get_posts( $args );
129
  }
130
 
131
 
 
 
 
132
  if($posts)
133
  {
134
  foreach( $posts as $post )
css/acf.css CHANGED
Binary file
css/fields.css CHANGED
@@ -37,6 +37,14 @@
37
  display: none;
38
  }
39
 
 
 
 
 
 
 
 
 
40
  /*---------------------------------------------------------------------------------------------
41
  Table
42
  ---------------------------------------------------------------------------------------------*/
@@ -106,10 +114,6 @@ table.widefat.acf td {
106
  Fields Header
107
  ---------------------------------------------------------------------------------------------*/
108
  .fields_header {
109
- -moz-border-radius: 3px 3px 0 0;
110
- -webkit-border-radius: 3px 3px 0 0;
111
- -khtml-border-radius: 3px 3px 0 0;
112
- border-radius: 3px 3px 0 0;
113
  border: #DFDFDF solid 1px;
114
  border-bottom: 0 none;
115
  }
@@ -205,14 +209,19 @@ table.widefat.acf td {
205
 
206
  }
207
  #acf_fields .field.ui-sortable-helper {
208
- border-top: 1px solid #DFDFDF;
209
- border-bottom: 1px solid #DFDFDF;
210
  }
211
 
212
- #acf_fields .field.ui-sortable-placeholder + .field {
213
- border-top: 1px solid #DFDFDF;
 
 
 
 
 
214
  }
215
 
 
216
  .fields .field:nth-child(even) {
217
  background: #FCFCFC;
218
  }
@@ -345,20 +354,11 @@ table.acf_input tr td .acf tr td {
345
  }
346
 
347
  .field_form table.acf_input {
348
- border: #7390a5 solid 1px;
349
  position: relative;
350
  overflow: hidden;
351
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
352
- }
353
-
354
- .field_form table.acf_input tr.field_label td {
355
- border-top: 0 none;
356
- }
357
-
358
- .field_form table.acf_input td {
359
- background: transparent;
360
- border-bottom-color: #DFDFDF;
361
- border-top-color: #FFFFFF;
362
  }
363
 
364
  .field_form_mask {
@@ -543,10 +543,6 @@ table.acf_input table.acf_cf_meta select {
543
  height: 40px;
544
  }
545
 
546
- .field_form table.acf_input .field_option_flexible_content > td {
547
- background: #f9f9f9;
548
- }
549
-
550
 
551
  /*---------------------------------------------------------------------------------------------
552
  *
@@ -582,6 +578,7 @@ table.acf_input table.acf_cf_meta select {
582
 
583
  #submitdiv #delete-action {
584
  float: none;
 
585
  }
586
  #submitdiv #publishing-action {
587
  float: none;
@@ -590,6 +587,20 @@ table.acf_input table.acf_cf_meta select {
590
  display: none;
591
  }
592
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
593
 
594
  /*---------------------------------------------------------------------------------------------
595
  *
37
  display: none;
38
  }
39
 
40
+ .postbox {
41
+ background: #FFFFFF;
42
+ border: 1px solid #E1E1E1;
43
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
44
+ position: relative;
45
+ border-radius: 0;
46
+ }
47
+
48
  /*---------------------------------------------------------------------------------------------
49
  Table
50
  ---------------------------------------------------------------------------------------------*/
114
  Fields Header
115
  ---------------------------------------------------------------------------------------------*/
116
  .fields_header {
 
 
 
 
117
  border: #DFDFDF solid 1px;
118
  border-bottom: 0 none;
119
  }
209
 
210
  }
211
  #acf_fields .field.ui-sortable-helper {
212
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 
213
  }
214
 
215
+ #acf_fields .field.ui-sortable-placeholder {
216
+ background: #f5f5f5;
217
+ box-shadow: inset 0 0px 3px rgba(0,0,0,0.1);
218
+ visibility: visible !important;
219
+ border: #dfdfdf solid 1px;
220
+ border-top: 0 none;
221
+ border-bottom: 0 none;
222
  }
223
 
224
+
225
  .fields .field:nth-child(even) {
226
  background: #FCFCFC;
227
  }
354
  }
355
 
356
  .field_form table.acf_input {
357
+ border: #86a1b5 solid 1px;
358
  position: relative;
359
  overflow: hidden;
360
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
361
+ border-radius: 0;
 
 
 
 
 
 
 
 
 
362
  }
363
 
364
  .field_form_mask {
543
  height: 40px;
544
  }
545
 
 
 
 
 
546
 
547
  /*---------------------------------------------------------------------------------------------
548
  *
578
 
579
  #submitdiv #delete-action {
580
  float: none;
581
+ margin: 0 0 5px;
582
  }
583
  #submitdiv #publishing-action {
584
  float: none;
587
  display: none;
588
  }
589
 
590
+ #major-publishing-actions {
591
+ border-top: 0 none;
592
+ }
593
+
594
+ .delete-field-group {
595
+ color: #BC0B0B;
596
+ text-decoration: none;
597
+ }
598
+
599
+ .delete-field-group:hover {
600
+ color: #f00;
601
+ }
602
+
603
+
604
 
605
  /*---------------------------------------------------------------------------------------------
606
  *
css/global.css CHANGED
@@ -130,30 +130,52 @@ input.ir { border: 0 none; background: none; }
130
  height: auto !important;
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
 
134
  /*---------------------------------------------------------------------------------------------
135
  Table
136
  ---------------------------------------------------------------------------------------------*/
137
  table.acf_input {
138
  border: 0 none;
 
139
  }
140
 
141
  table.acf_input tbody tr td {
142
  padding: 10px;
 
 
143
  }
144
 
145
- table.acf_input tr.field_save {
146
-
147
- }
148
-
149
- table.acf_input tbody tr:last-child td {
150
- border-bottom: 0 none;
151
  }
152
 
153
  table.acf_input tbody tr td.label {
154
  width: 24%;
155
  vertical-align: top;
156
- border-right: #ebebeb solid 1px;
 
 
157
  }
158
 
159
  table.acf_input td.label ul.hl {
130
  height: auto !important;
131
  }
132
 
133
+ .wp-box .footer-blue {
134
+ background-color: #8CC1E9;
135
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#8CC1E9), to(#72A7CF)); /* Saf4+, Chrome */
136
+ background-image: -webkit-linear-gradient(top, #8CC1E9, #72A7CF); /* Chrome 10+, Saf5.1+, iOS 5+ */
137
+ background-image: -moz-linear-gradient(top, #8CC1E9, #72A7CF); /* Firefox 3.6-15 */
138
+ background-image: -o-linear-gradient(top, #8CC1E9, #72A7CF); /* Opera 11.10+ */
139
+ background-image: linear-gradient(to bottom, #8CC1E9, #72A7CF); /* Firefox 16+ */
140
+ color: #FFFFFF;
141
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
142
+
143
+ overflow: hidden;
144
+ padding: 10px;
145
+ position: relative;
146
+ }
147
+
148
+ .wp-box .footer-blue a {
149
+ text-decoration: none;
150
+ text-shadow: none;
151
+ }
152
+
153
 
154
  /*---------------------------------------------------------------------------------------------
155
  Table
156
  ---------------------------------------------------------------------------------------------*/
157
  table.acf_input {
158
  border: 0 none;
159
+ background: #fff;
160
  }
161
 
162
  table.acf_input tbody tr td {
163
  padding: 10px;
164
+ border-top: 1px solid #f5f5f5;
165
+ border-bottom: 0 none;
166
  }
167
 
168
+ table.acf_input tbody tr:first-child td,
169
+ table.acf_input tbody tr:first-child td.label {
170
+ border-top: 0 none;
 
 
 
171
  }
172
 
173
  table.acf_input tbody tr td.label {
174
  width: 24%;
175
  vertical-align: top;
176
+ background: #F9F9F9;
177
+ border-top: 1px solid #f0f0f0;
178
+ border-right: 1px solid #E1E1E1;
179
  }
180
 
181
  table.acf_input td.label ul.hl {
js/fields.js CHANGED
@@ -497,7 +497,7 @@
497
 
498
  // custom Publish metabox
499
  $('#submitdiv #publish').attr('class', 'acf-button');
500
- $('#submitdiv a.submitdelete').attr('class', 'acf-button grey').attr('id', 'submit-delete');
501
 
502
  // setup fields
503
  setup_fields();
497
 
498
  // custom Publish metabox
499
  $('#submitdiv #publish').attr('class', 'acf-button');
500
+ $('#submitdiv a.submitdelete').attr('class', 'delete-field-group').attr('id', 'submit-delete');
501
 
502
  // setup fields
503
  setup_fields();
lang/acf-nl_NL.mo CHANGED
Binary file
lang/acf.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
7
- "POT-Creation-Date: 2012-07-03 07:34:11+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,107 +12,117 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: acf.php:273 core/views/meta_box_options.php:94
16
  msgid "Custom Fields"
17
  msgstr ""
18
 
19
- #: acf.php:294
20
  msgid "Field&nbsp;Groups"
21
  msgstr ""
22
 
23
- #: acf.php:295 core/controllers/field_groups.php:153
24
  #: core/controllers/upgrade.php:70
25
  msgid "Advanced Custom Fields"
26
  msgstr ""
27
 
28
- #: acf.php:296 core/fields/flexible_content.php:271
29
  msgid "Add New"
30
  msgstr ""
31
 
32
- #: acf.php:297
33
  msgid "Add New Field Group"
34
  msgstr ""
35
 
36
- #: acf.php:298
37
  msgid "Edit Field Group"
38
  msgstr ""
39
 
40
- #: acf.php:299
41
  msgid "New Field Group"
42
  msgstr ""
43
 
44
- #: acf.php:300
45
  msgid "View Field Group"
46
  msgstr ""
47
 
48
- #: acf.php:301
49
  msgid "Search Field Groups"
50
  msgstr ""
51
 
52
- #: acf.php:302
53
  msgid "No Field Groups found"
54
  msgstr ""
55
 
56
- #: acf.php:303
57
  msgid "No Field Groups found in Trash"
58
  msgstr ""
59
 
60
- #: acf.php:338 acf.php:341
61
  msgid "Field group updated."
62
  msgstr ""
63
 
64
- #: acf.php:339
65
  msgid "Custom field updated."
66
  msgstr ""
67
 
68
- #: acf.php:340
69
  msgid "Custom field deleted."
70
  msgstr ""
71
 
72
  #. translators: %s: date and time of the revision
73
- #: acf.php:343
74
  msgid "Field group restored to revision from %s"
75
  msgstr ""
76
 
77
- #: acf.php:344
78
  msgid "Field group published."
79
  msgstr ""
80
 
81
- #: acf.php:345
82
  msgid "Field group saved."
83
  msgstr ""
84
 
85
- #: acf.php:346
86
  msgid "Field group submitted."
87
  msgstr ""
88
 
89
- #: acf.php:347
90
  msgid "Field group scheduled for."
91
  msgstr ""
92
 
93
- #: acf.php:348
94
  msgid "Field group draft updated."
95
  msgstr ""
96
 
97
- #: acf.php:367
98
  msgid "Title"
99
  msgstr ""
100
 
101
- #: acf.php:589
102
  msgid "Error: Field Type does not exist!"
103
  msgstr ""
104
 
105
- #: core/actions/export.php:19
106
- msgid "No ACF groups selected"
107
  msgstr ""
108
 
109
- #: core/api.php:509 core/controllers/everything_fields.php:198
110
- #: core/controllers/input.php:168 core/controllers/options_page.php:161
111
- #: core/everything_fields.php:201 core/options_page.php:178
112
- msgid "Validation Failed. One or more fields below are required."
 
 
 
 
 
 
 
 
 
 
113
  msgstr ""
114
 
115
- #: core/controllers/field_group.php:148
116
  msgid "Fields"
117
  msgstr ""
118
 
@@ -124,9 +134,8 @@ msgstr ""
124
  msgid "Add Fields to Edit Screens"
125
  msgstr ""
126
 
127
- #: core/controllers/field_group.php:150 core/controllers/field_group.php:386
128
  #: core/controllers/options_page.php:62 core/controllers/options_page.php:74
129
- #: core/options_page.php:62 core/options_page.php:74
130
  #: core/views/meta_box_location.php:143
131
  msgid "Options"
132
  msgstr ""
@@ -135,249 +144,339 @@ msgstr ""
135
  msgid "Customise the edit page"
136
  msgstr ""
137
 
138
- #: core/controllers/field_group.php:327
139
  msgid "Parent Page"
140
  msgstr ""
141
 
142
- #: core/controllers/field_group.php:328
143
  msgid "Child Page"
144
  msgstr ""
145
 
146
- #: core/controllers/field_group.php:336
147
  msgid "Default Template"
148
  msgstr ""
149
 
150
- #: core/controllers/field_group.php:410 core/controllers/field_group.php:431
151
- #: core/controllers/field_group.php:438 core/fields/page_link.php:202
152
- #: core/fields/post_object.php:215 core/fields/post_object.php:239
153
- #: core/fields/relationship.php:251 core/fields/relationship.php:302
154
  msgid "All"
155
  msgstr ""
156
 
157
- #: core/controllers/field_groups.php:155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  msgid "Changelog"
159
  msgstr ""
160
 
161
- #: core/controllers/field_groups.php:156
162
  msgid "See what's new in"
163
  msgstr ""
164
 
165
- #: core/controllers/field_groups.php:158
166
  msgid "Resources"
167
  msgstr ""
168
 
169
- #: core/controllers/field_groups.php:159
170
  msgid ""
171
  "Read documentation, learn the functions and find some tips &amp; tricks for "
172
  "your next web project."
173
  msgstr ""
174
 
175
- #: core/controllers/field_groups.php:160
176
- msgid "View the ACF website"
177
  msgstr ""
178
 
179
- #: core/controllers/field_groups.php:165
180
  msgid "Created by"
181
  msgstr ""
182
 
183
- #: core/controllers/field_groups.php:168
184
  msgid "Vote"
185
  msgstr ""
186
 
187
- #: core/controllers/field_groups.php:169
188
  msgid "Follow"
189
  msgstr ""
190
 
191
- #: core/controllers/options_page.php:140 core/options_page.php:157
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  msgid "Options Updated"
193
  msgstr ""
194
 
195
- #: core/controllers/options_page.php:253 core/options_page.php:271
196
  msgid "No Custom Field Group found for the options page"
197
  msgstr ""
198
 
199
- #: core/controllers/options_page.php:253 core/options_page.php:271
200
  msgid "Create a Custom Field Group"
201
  msgstr ""
202
 
203
- #: core/controllers/options_page.php:264 core/options_page.php:282
204
  msgid "Publish"
205
  msgstr ""
206
 
 
 
 
 
207
  #: core/controllers/settings.php:49
208
  msgid "Settings"
209
  msgstr ""
210
 
211
- #: core/controllers/settings.php:80
212
  msgid "Repeater field deactivated"
213
  msgstr ""
214
 
215
- #: core/controllers/settings.php:84
216
  msgid "Options page deactivated"
217
  msgstr ""
218
 
219
- #: core/controllers/settings.php:88
220
  msgid "Flexible Content field deactivated"
221
  msgstr ""
222
 
223
- #: core/controllers/settings.php:92
224
- msgid "Everything Fields deactivated"
225
  msgstr ""
226
 
227
- #: core/controllers/settings.php:116
228
  msgid "Repeater field activated"
229
  msgstr ""
230
 
231
- #: core/controllers/settings.php:120
232
  msgid "Options page activated"
233
  msgstr ""
234
 
235
- #: core/controllers/settings.php:124
236
  msgid "Flexible Content field activated"
237
  msgstr ""
238
 
239
- #: core/controllers/settings.php:128
240
- msgid "Everything Fields activated"
241
  msgstr ""
242
 
243
- #: core/controllers/settings.php:133
244
  msgid "License key unrecognised"
245
  msgstr ""
246
 
247
- #: core/controllers/settings.php:167
248
- msgid "Advanced Custom Fields Settings"
249
  msgstr ""
250
 
251
- #: core/controllers/settings.php:184
252
- msgid "Activate Add-ons."
 
 
253
  msgstr ""
254
 
255
- #: core/controllers/settings.php:188 core/fields/flexible_content.php:326
256
- #: core/fields/flexible_content.php:402 core/fields/repeater.php:231
257
- #: core/fields/repeater.php:307 core/views/meta_box_fields.php:63
 
 
 
 
258
  #: core/views/meta_box_fields.php:136
259
  msgid "Field Type"
260
  msgstr ""
261
 
262
- #: core/controllers/settings.php:189
263
  msgid "Status"
264
  msgstr ""
265
 
266
- #: core/controllers/settings.php:190
267
  msgid "Activation Code"
268
  msgstr ""
269
 
270
- #: core/controllers/settings.php:195
271
  msgid "Repeater Field"
272
  msgstr ""
273
 
274
- #: core/controllers/settings.php:196 core/controllers/settings.php:215
275
- #: core/controllers/settings.php:234
276
  msgid "Active"
277
  msgstr ""
278
 
279
- #: core/controllers/settings.php:196 core/controllers/settings.php:215
280
- #: core/controllers/settings.php:234
281
  msgid "Inactive"
282
  msgstr ""
283
 
284
- #: core/controllers/settings.php:214
285
- msgid "Flexible Content Field"
 
286
  msgstr ""
287
 
288
- #: core/controllers/settings.php:233 core/views/meta_box_location.php:74
289
- msgid "Options Page"
 
290
  msgstr ""
291
 
292
- #: core/controllers/settings.php:256
293
- msgid ""
294
- "Add-ons can be unlocked by purchasing a license key. Each key can be used on "
295
- "multiple sites."
296
  msgstr ""
297
 
298
- #: core/controllers/settings.php:256
299
- msgid "Find Add-ons"
300
  msgstr ""
301
 
302
- #: core/controllers/settings.php:274
 
 
 
 
303
  msgid "Export Field Groups to XML"
304
  msgstr ""
305
 
306
- #: core/controllers/settings.php:307
307
  msgid ""
308
  "ACF will create a .xml export file which is compatible with the native WP "
309
  "import plugin."
310
  msgstr ""
311
 
312
- #: core/controllers/settings.php:310
313
- msgid "Export XML"
314
  msgstr ""
315
 
316
- #: core/controllers/settings.php:316
317
  msgid "Import Field Groups"
318
  msgstr ""
319
 
320
- #: core/controllers/settings.php:318
321
- msgid "Navigate to the"
 
 
322
  msgstr ""
323
 
324
- #: core/controllers/settings.php:318
325
- msgid "Import Tool"
326
  msgstr ""
327
 
328
- #: core/controllers/settings.php:318
329
- msgid "and select WordPress"
330
  msgstr ""
331
 
332
- #: core/controllers/settings.php:319
 
 
 
 
333
  msgid "Install WP import plugin if prompted"
334
  msgstr ""
335
 
336
- #: core/controllers/settings.php:320
337
  msgid "Upload and import your exported .xml file"
338
  msgstr ""
339
 
340
- #: core/controllers/settings.php:321
341
  msgid "Select your user and ignore Import Attachments"
342
  msgstr ""
343
 
344
- #: core/controllers/settings.php:322
345
  msgid "That's it! Happy WordPressing"
346
  msgstr ""
347
 
348
- #: core/controllers/settings.php:341
 
 
 
 
349
  msgid "Export Field Groups to PHP"
350
  msgstr ""
351
 
352
- #: core/controllers/settings.php:374
353
- msgid "ACF will create the PHP code to include in your theme"
354
  msgstr ""
355
 
356
- #: core/controllers/settings.php:377
357
- msgid "Create PHP"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  msgstr ""
359
 
360
- #: core/controllers/settings.php:383 core/controllers/settings.php:411
361
- msgid "Register Field Groups with PHP"
362
  msgstr ""
363
 
364
- #: core/controllers/settings.php:385 core/controllers/settings.php:413
365
  msgid "Copy the PHP code generated"
366
  msgstr ""
367
 
368
- #: core/controllers/settings.php:386 core/controllers/settings.php:414
369
  msgid "Paste into your functions.php file"
370
  msgstr ""
371
 
372
- #: core/controllers/settings.php:387 core/controllers/settings.php:415
373
  msgid "To activate any Add-ons, edit and use the code in the first few lines."
374
  msgstr ""
375
 
376
- #: core/controllers/settings.php:408
 
 
 
 
377
  msgid "Back to settings"
378
  msgstr ""
379
 
380
- #: core/controllers/settings.php:436
381
  msgid ""
382
  "/**\n"
383
  " * Activate Add-ons\n"
@@ -392,7 +491,7 @@ msgid ""
392
  " */"
393
  msgstr ""
394
 
395
- #: core/controllers/settings.php:449
396
  msgid ""
397
  "/**\n"
398
  " * Register field groups\n"
@@ -404,10 +503,14 @@ msgid ""
404
  " */"
405
  msgstr ""
406
 
407
- #: core/controllers/settings.php:479
408
  msgid "No field groups were selected"
409
  msgstr ""
410
 
 
 
 
 
411
  #: core/controllers/upgrade.php:51
412
  msgid "Upgrade"
413
  msgstr ""
@@ -436,10 +539,14 @@ msgstr ""
436
  msgid "Upgrade Database"
437
  msgstr ""
438
 
439
- #: core/controllers/upgrade.php:590
440
  msgid "Modifying field group options 'show on page'"
441
  msgstr ""
442
 
 
 
 
 
443
  #: core/fields/checkbox.php:21
444
  msgid "Checkbox"
445
  msgstr ""
@@ -499,39 +606,59 @@ msgstr ""
499
  msgid "File"
500
  msgstr ""
501
 
502
- #: core/fields/file.php:60
503
- msgid "Remove File"
 
 
 
 
 
 
 
 
 
 
 
 
504
  msgstr ""
505
 
506
- #: core/fields/file.php:165
507
  msgid "No File Selected"
508
  msgstr ""
509
 
510
- #: core/fields/file.php:165
511
  msgid "Add File"
512
  msgstr ""
513
 
514
- #: core/fields/file.php:194 core/fields/image.php:178
515
  msgid "Return Value"
516
  msgstr ""
517
 
518
- #: core/fields/file.php:238 core/fields/image.php:258
 
 
 
 
 
 
 
 
519
  msgid "Media attachment updated."
520
  msgstr ""
521
 
522
- #: core/fields/file.php:363
523
  msgid "No files selected"
524
  msgstr ""
525
 
526
- #: core/fields/file.php:458
527
  msgid "Add Selected Files"
528
  msgstr ""
529
 
530
- #: core/fields/file.php:488
531
  msgid "Select File"
532
  msgstr ""
533
 
534
- #: core/fields/file.php:491
535
  msgid "Update File"
536
  msgstr ""
537
 
@@ -539,251 +666,276 @@ msgstr ""
539
  msgid "Flexible Content"
540
  msgstr ""
541
 
542
- #: core/fields/flexible_content.php:38 core/fields/flexible_content.php:232
543
  msgid "+ Add Row"
544
  msgstr ""
545
 
546
- #: core/fields/flexible_content.php:259 core/fields/repeater.php:202
547
  #: core/views/meta_box_fields.php:25
548
  msgid "New Field"
549
  msgstr ""
550
 
551
- #: core/fields/flexible_content.php:268 core/fields/radio.php:144
552
- #: core/fields/repeater.php:370
553
  msgid "Layout"
554
  msgstr ""
555
 
556
- #: core/fields/flexible_content.php:270
557
  msgid "Reorder Layout"
558
  msgstr ""
559
 
560
- #: core/fields/flexible_content.php:270
561
  msgid "Reorder"
562
  msgstr ""
563
 
564
- #: core/fields/flexible_content.php:271
565
  msgid "Add New Layout"
566
  msgstr ""
567
 
568
- #: core/fields/flexible_content.php:272
569
  msgid "Delete Layout"
570
  msgstr ""
571
 
572
- #: core/fields/flexible_content.php:272 core/fields/flexible_content.php:356
573
- #: core/fields/repeater.php:260 core/views/meta_box_fields.php:90
574
  msgid "Delete"
575
  msgstr ""
576
 
577
- #: core/fields/flexible_content.php:282
578
  msgid "Label"
579
  msgstr ""
580
 
581
- #: core/fields/flexible_content.php:292
582
  msgid "Name"
583
  msgstr ""
584
 
585
- #: core/fields/flexible_content.php:302
586
  msgid "Display"
587
  msgstr ""
588
 
589
- #: core/fields/flexible_content.php:309
590
  msgid "Table"
591
  msgstr ""
592
 
593
- #: core/fields/flexible_content.php:310 core/fields/repeater.php:381
594
  msgid "Row"
595
  msgstr ""
596
 
597
- #: core/fields/flexible_content.php:323 core/fields/repeater.php:228
598
  #: core/views/meta_box_fields.php:60
599
  msgid "Field Order"
600
  msgstr ""
601
 
602
- #: core/fields/flexible_content.php:324 core/fields/flexible_content.php:371
603
- #: core/fields/repeater.php:229 core/fields/repeater.php:276
604
  #: core/views/meta_box_fields.php:61 core/views/meta_box_fields.php:105
605
  msgid "Field Label"
606
  msgstr ""
607
 
608
- #: core/fields/flexible_content.php:325 core/fields/flexible_content.php:387
609
- #: core/fields/repeater.php:230 core/fields/repeater.php:292
610
  #: core/views/meta_box_fields.php:62 core/views/meta_box_fields.php:121
611
  msgid "Field Name"
612
  msgstr ""
613
 
614
- #: core/fields/flexible_content.php:334 core/fields/repeater.php:239
615
  msgid ""
616
  "No fields. Click the \"+ Add Sub Field button\" to create your first field."
617
  msgstr ""
618
 
619
- #: core/fields/flexible_content.php:350 core/fields/flexible_content.php:353
620
- #: core/fields/repeater.php:254 core/fields/repeater.php:257
621
  #: core/views/meta_box_fields.php:84 core/views/meta_box_fields.php:87
622
  msgid "Edit this Field"
623
  msgstr ""
624
 
625
- #: core/fields/flexible_content.php:353 core/fields/repeater.php:257
626
- #: core/views/meta_box_fields.php:87
627
- msgid "Edit"
628
- msgstr ""
629
-
630
- #: core/fields/flexible_content.php:354 core/fields/repeater.php:258
631
  #: core/views/meta_box_fields.php:88
632
  msgid "Read documentation for this field"
633
  msgstr ""
634
 
635
- #: core/fields/flexible_content.php:354 core/fields/repeater.php:258
636
  #: core/views/meta_box_fields.php:88
637
  msgid "Docs"
638
  msgstr ""
639
 
640
- #: core/fields/flexible_content.php:355 core/fields/repeater.php:259
641
  #: core/views/meta_box_fields.php:89
642
  msgid "Duplicate this Field"
643
  msgstr ""
644
 
645
- #: core/fields/flexible_content.php:355 core/fields/repeater.php:259
646
  #: core/views/meta_box_fields.php:89
647
  msgid "Duplicate"
648
  msgstr ""
649
 
650
- #: core/fields/flexible_content.php:356 core/fields/repeater.php:260
651
  #: core/views/meta_box_fields.php:90
652
  msgid "Delete this Field"
653
  msgstr ""
654
 
655
- #: core/fields/flexible_content.php:372 core/fields/repeater.php:277
656
  #: core/views/meta_box_fields.php:106
657
  msgid "This is the name which will appear on the EDIT page"
658
  msgstr ""
659
 
660
- #: core/fields/flexible_content.php:388 core/fields/repeater.php:293
661
  #: core/views/meta_box_fields.php:122
662
  msgid "Single word, no spaces. Underscores and dashes allowed"
663
  msgstr ""
664
 
665
- #: core/fields/flexible_content.php:422 core/fields/repeater.php:327
666
  msgid "Save Field"
667
  msgstr ""
668
 
669
- #: core/fields/flexible_content.php:427 core/fields/repeater.php:332
670
  #: core/views/meta_box_fields.php:188
671
  msgid "Close Field"
672
  msgstr ""
673
 
674
- #: core/fields/flexible_content.php:427 core/fields/repeater.php:332
675
  msgid "Close Sub Field"
676
  msgstr ""
677
 
678
- #: core/fields/flexible_content.php:441 core/fields/repeater.php:347
679
  #: core/views/meta_box_fields.php:201
680
  msgid "Drag and drop to reorder"
681
  msgstr ""
682
 
683
- #: core/fields/flexible_content.php:442 core/fields/repeater.php:348
684
  msgid "+ Add Sub Field"
685
  msgstr ""
686
 
687
- #: core/fields/flexible_content.php:449 core/fields/repeater.php:389
688
  msgid "Button Label"
689
  msgstr ""
690
 
691
- #: core/fields/image.php:21
692
- msgid "Image"
693
  msgstr ""
694
 
695
- #: core/fields/image.php:154
696
- msgid "No image selected"
697
  msgstr ""
698
 
699
- #: core/fields/image.php:154
700
- msgid "Add Image"
701
  msgstr ""
702
 
703
- #: core/fields/image.php:188
704
- msgid "Image URL"
705
  msgstr ""
706
 
707
- #: core/fields/image.php:189
708
- msgid "Attachment ID"
709
  msgstr ""
710
 
711
- #: core/fields/image.php:197
712
- msgid "Preview Size"
713
  msgstr ""
714
 
715
- #: core/fields/image.php:203
716
- msgid "Thumbnail"
717
  msgstr ""
718
 
719
- #: core/fields/image.php:204
720
- msgid "Medium"
 
721
  msgstr ""
722
 
723
- #: core/fields/image.php:205
724
- msgid "Large"
725
  msgstr ""
726
 
727
- #: core/fields/image.php:206 core/fields/wysiwyg.php:85
728
- msgid "Full"
729
  msgstr ""
730
 
731
- #: core/fields/image.php:402
732
  msgid "No images selected"
733
  msgstr ""
734
 
735
- #: core/fields/image.php:498
736
- msgid "Add selected Images"
737
  msgstr ""
738
 
739
- #: core/fields/image.php:527
740
- msgid "Select Image"
741
  msgstr ""
742
 
743
- #: core/fields/image.php:530
 
 
 
 
 
 
 
 
744
  msgid "Update Image"
745
  msgstr ""
746
 
747
- #: core/fields/page_link.php:21
748
- msgid "Page Link"
749
  msgstr ""
750
 
751
- #: core/fields/page_link.php:71 core/fields/post_object.php:64
752
- #: core/fields/select.php:21
753
- msgid "Select"
754
  msgstr ""
755
 
756
- #: core/fields/page_link.php:196 core/fields/post_object.php:211
757
- #: core/fields/relationship.php:247 core/views/meta_box_location.php:48
758
- msgid "Post Type"
759
  msgstr ""
760
 
761
- #: core/fields/page_link.php:197
762
- msgid ""
763
- "Filter posts by selecting a post type<br />\n"
764
- "\t\t\t\tTip: deselect all post types to show all post type's posts"
 
 
 
 
 
 
765
  msgstr ""
766
 
767
- #: core/fields/page_link.php:225 core/fields/post_object.php:283
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
768
  #: core/fields/select.php:194
769
  msgid "Allow Null?"
770
  msgstr ""
771
 
772
- #: core/fields/page_link.php:234 core/fields/page_link.php:253
773
- #: core/fields/post_object.php:292 core/fields/post_object.php:311
774
  #: core/fields/select.php:203 core/fields/select.php:222
775
- #: core/fields/wysiwyg.php:104
776
  msgid "Yes"
777
  msgstr ""
778
 
779
- #: core/fields/page_link.php:235 core/fields/page_link.php:254
780
- #: core/fields/post_object.php:293 core/fields/post_object.php:312
781
  #: core/fields/select.php:204 core/fields/select.php:223
782
- #: core/fields/wysiwyg.php:105
783
  msgid "No"
784
  msgstr ""
785
 
786
- #: core/fields/page_link.php:244 core/fields/post_object.php:302
787
  #: core/fields/select.php:213
788
  msgid "Select multiple values?"
789
  msgstr ""
@@ -792,7 +944,7 @@ msgstr ""
792
  msgid "Post Object"
793
  msgstr ""
794
 
795
- #: core/fields/post_object.php:233 core/fields/relationship.php:296
796
  msgid "Filter from Taxonomy"
797
  msgstr ""
798
 
@@ -817,38 +969,42 @@ msgstr ""
817
  msgid "Relationship"
818
  msgstr ""
819
 
820
- #: core/fields/relationship.php:135
821
  msgid "Search"
822
  msgstr ""
823
 
824
- #: core/fields/relationship.php:319
825
  msgid "Maximum posts"
826
  msgstr ""
827
 
828
- #: core/fields/relationship.php:320
829
- msgid "Set to -1 for infinite"
830
- msgstr ""
831
-
832
  #: core/fields/repeater.php:21
833
  msgid "Repeater"
834
  msgstr ""
835
 
836
- #: core/fields/repeater.php:64 core/fields/repeater.php:197
837
  msgid "Add Row"
838
  msgstr ""
839
 
840
- #: core/fields/repeater.php:220
841
  msgid "Repeater Fields"
842
  msgstr ""
843
 
844
- #: core/fields/repeater.php:356
845
- msgid "Row Limit"
846
  msgstr ""
847
 
848
- #: core/fields/repeater.php:380
 
 
 
 
849
  msgid "Table (default)"
850
  msgstr ""
851
 
 
 
 
 
852
  #: core/fields/text.php:21
853
  msgid "Text"
854
  msgstr ""
@@ -909,6 +1065,10 @@ msgstr ""
909
  msgid "Show Media Upload Buttons?"
910
  msgstr ""
911
 
 
 
 
 
912
  #: core/views/meta_box_fields.php:47
913
  msgid "Move to trash. Are you sure?"
914
  msgstr ""
@@ -1045,26 +1205,10 @@ msgstr ""
1045
  msgid "Position"
1046
  msgstr ""
1047
 
1048
- #: core/views/meta_box_options.php:50
1049
- msgid "Normal"
1050
- msgstr ""
1051
-
1052
- #: core/views/meta_box_options.php:51
1053
- msgid "Side"
1054
- msgstr ""
1055
-
1056
  #: core/views/meta_box_options.php:60
1057
  msgid "Style"
1058
  msgstr ""
1059
 
1060
- #: core/views/meta_box_options.php:70
1061
- msgid "Standard Metabox"
1062
- msgstr ""
1063
-
1064
- #: core/views/meta_box_options.php:71
1065
- msgid "No Metabox"
1066
- msgstr ""
1067
-
1068
  #: core/views/meta_box_options.php:80
1069
  msgid "Hide on screen"
1070
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: \n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/advanced-custom-fields\n"
7
+ "POT-Creation-Date: 2012-08-11 08:33:20+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: acf.php:281 core/views/meta_box_options.php:94
16
  msgid "Custom Fields"
17
  msgstr ""
18
 
19
+ #: acf.php:302
20
  msgid "Field&nbsp;Groups"
21
  msgstr ""
22
 
23
+ #: acf.php:303 core/controllers/field_groups.php:283
24
  #: core/controllers/upgrade.php:70
25
  msgid "Advanced Custom Fields"
26
  msgstr ""
27
 
28
+ #: acf.php:304 core/fields/flexible_content.php:325
29
  msgid "Add New"
30
  msgstr ""
31
 
32
+ #: acf.php:305
33
  msgid "Add New Field Group"
34
  msgstr ""
35
 
36
+ #: acf.php:306
37
  msgid "Edit Field Group"
38
  msgstr ""
39
 
40
+ #: acf.php:307
41
  msgid "New Field Group"
42
  msgstr ""
43
 
44
+ #: acf.php:308
45
  msgid "View Field Group"
46
  msgstr ""
47
 
48
+ #: acf.php:309
49
  msgid "Search Field Groups"
50
  msgstr ""
51
 
52
+ #: acf.php:310
53
  msgid "No Field Groups found"
54
  msgstr ""
55
 
56
+ #: acf.php:311
57
  msgid "No Field Groups found in Trash"
58
  msgstr ""
59
 
60
+ #: acf.php:346 acf.php:349
61
  msgid "Field group updated."
62
  msgstr ""
63
 
64
+ #: acf.php:347
65
  msgid "Custom field updated."
66
  msgstr ""
67
 
68
+ #: acf.php:348
69
  msgid "Custom field deleted."
70
  msgstr ""
71
 
72
  #. translators: %s: date and time of the revision
73
+ #: acf.php:351
74
  msgid "Field group restored to revision from %s"
75
  msgstr ""
76
 
77
+ #: acf.php:352
78
  msgid "Field group published."
79
  msgstr ""
80
 
81
+ #: acf.php:353
82
  msgid "Field group saved."
83
  msgstr ""
84
 
85
+ #: acf.php:354
86
  msgid "Field group submitted."
87
  msgstr ""
88
 
89
+ #: acf.php:355
90
  msgid "Field group scheduled for."
91
  msgstr ""
92
 
93
+ #: acf.php:356
94
  msgid "Field group draft updated."
95
  msgstr ""
96
 
97
+ #: acf.php:375 core/fields/gallery.php:66 core/fields/gallery.php:229
98
  msgid "Title"
99
  msgstr ""
100
 
101
+ #: acf.php:597
102
  msgid "Error: Field Type does not exist!"
103
  msgstr ""
104
 
105
+ #: acf.php:1599
106
+ msgid "Thumbnail"
107
  msgstr ""
108
 
109
+ #: acf.php:1600
110
+ msgid "Medium"
111
+ msgstr ""
112
+
113
+ #: acf.php:1601
114
+ msgid "Large"
115
+ msgstr ""
116
+
117
+ #: acf.php:1602 core/fields/wysiwyg.php:85
118
+ msgid "Full"
119
+ msgstr ""
120
+
121
+ #: core/actions/export.php:19
122
+ msgid "No ACF groups selected"
123
  msgstr ""
124
 
125
+ #: core/controllers/field_group.php:148 core/controllers/field_groups.php:190
126
  msgid "Fields"
127
  msgstr ""
128
 
134
  msgid "Add Fields to Edit Screens"
135
  msgstr ""
136
 
137
+ #: core/controllers/field_group.php:150 core/controllers/field_group.php:400
138
  #: core/controllers/options_page.php:62 core/controllers/options_page.php:74
 
139
  #: core/views/meta_box_location.php:143
140
  msgid "Options"
141
  msgstr ""
144
  msgid "Customise the edit page"
145
  msgstr ""
146
 
147
+ #: core/controllers/field_group.php:328
148
  msgid "Parent Page"
149
  msgstr ""
150
 
151
+ #: core/controllers/field_group.php:329
152
  msgid "Child Page"
153
  msgstr ""
154
 
155
+ #: core/controllers/field_group.php:337
156
  msgid "Default Template"
157
  msgstr ""
158
 
159
+ #: core/controllers/field_group.php:424 core/controllers/field_group.php:445
160
+ #: core/controllers/field_group.php:452 core/fields/page_link.php:76
161
+ #: core/fields/post_object.php:222 core/fields/post_object.php:250
162
+ #: core/fields/relationship.php:320 core/fields/relationship.php:349
163
  msgid "All"
164
  msgstr ""
165
 
166
+ #: core/controllers/field_groups.php:243 core/views/meta_box_options.php:50
167
+ msgid "Normal"
168
+ msgstr ""
169
+
170
+ #: core/controllers/field_groups.php:244 core/views/meta_box_options.php:51
171
+ msgid "Side"
172
+ msgstr ""
173
+
174
+ #: core/controllers/field_groups.php:254 core/views/meta_box_options.php:70
175
+ msgid "Standard Metabox"
176
+ msgstr ""
177
+
178
+ #: core/controllers/field_groups.php:255 core/views/meta_box_options.php:71
179
+ msgid "No Metabox"
180
+ msgstr ""
181
+
182
+ #: core/controllers/field_groups.php:285
183
  msgid "Changelog"
184
  msgstr ""
185
 
186
+ #: core/controllers/field_groups.php:286
187
  msgid "See what's new in"
188
  msgstr ""
189
 
190
+ #: core/controllers/field_groups.php:288
191
  msgid "Resources"
192
  msgstr ""
193
 
194
+ #: core/controllers/field_groups.php:289
195
  msgid ""
196
  "Read documentation, learn the functions and find some tips &amp; tricks for "
197
  "your next web project."
198
  msgstr ""
199
 
200
+ #: core/controllers/field_groups.php:290
201
+ msgid "Visit the ACF website"
202
  msgstr ""
203
 
204
+ #: core/controllers/field_groups.php:295
205
  msgid "Created by"
206
  msgstr ""
207
 
208
+ #: core/controllers/field_groups.php:298
209
  msgid "Vote"
210
  msgstr ""
211
 
212
+ #: core/controllers/field_groups.php:299
213
  msgid "Follow"
214
  msgstr ""
215
 
216
+ #: core/controllers/input.php:449
217
+ msgid "Validation Failed. One or more fields below are required."
218
+ msgstr ""
219
+
220
+ #: core/controllers/input.php:450
221
+ msgid "Add File to Field"
222
+ msgstr ""
223
+
224
+ #: core/controllers/input.php:451
225
+ msgid "Edit File"
226
+ msgstr ""
227
+
228
+ #: core/controllers/input.php:452
229
+ msgid "Add Image to Field"
230
+ msgstr ""
231
+
232
+ #: core/controllers/input.php:453 core/controllers/input.php:456
233
+ msgid "Edit Image"
234
+ msgstr ""
235
+
236
+ #: core/controllers/input.php:454
237
+ msgid "Maximum values reached ( {max} values )"
238
+ msgstr ""
239
+
240
+ #: core/controllers/input.php:455
241
+ msgid "Add Image to Gallery"
242
+ msgstr ""
243
+
244
+ #: core/controllers/input.php:546
245
+ msgid "Attachment updated"
246
+ msgstr ""
247
+
248
+ #: core/controllers/options_page.php:140
249
  msgid "Options Updated"
250
  msgstr ""
251
 
252
+ #: core/controllers/options_page.php:249
253
  msgid "No Custom Field Group found for the options page"
254
  msgstr ""
255
 
256
+ #: core/controllers/options_page.php:249
257
  msgid "Create a Custom Field Group"
258
  msgstr ""
259
 
260
+ #: core/controllers/options_page.php:260
261
  msgid "Publish"
262
  msgstr ""
263
 
264
+ #: core/controllers/options_page.php:263
265
+ msgid "Save Options"
266
+ msgstr ""
267
+
268
  #: core/controllers/settings.php:49
269
  msgid "Settings"
270
  msgstr ""
271
 
272
+ #: core/controllers/settings.php:111
273
  msgid "Repeater field deactivated"
274
  msgstr ""
275
 
276
+ #: core/controllers/settings.php:115
277
  msgid "Options page deactivated"
278
  msgstr ""
279
 
280
+ #: core/controllers/settings.php:119
281
  msgid "Flexible Content field deactivated"
282
  msgstr ""
283
 
284
+ #: core/controllers/settings.php:123
285
+ msgid "Gallery field deactivated"
286
  msgstr ""
287
 
288
+ #: core/controllers/settings.php:147
289
  msgid "Repeater field activated"
290
  msgstr ""
291
 
292
+ #: core/controllers/settings.php:151
293
  msgid "Options page activated"
294
  msgstr ""
295
 
296
+ #: core/controllers/settings.php:155
297
  msgid "Flexible Content field activated"
298
  msgstr ""
299
 
300
+ #: core/controllers/settings.php:159
301
+ msgid "Gallery field activated"
302
  msgstr ""
303
 
304
+ #: core/controllers/settings.php:164
305
  msgid "License key unrecognised"
306
  msgstr ""
307
 
308
+ #: core/controllers/settings.php:216
309
+ msgid "Activate Add-ons."
310
  msgstr ""
311
 
312
+ #: core/controllers/settings.php:217
313
+ msgid ""
314
+ "Add-ons can be unlocked by purchasing a license key. Each key can be used on "
315
+ "multiple sites."
316
  msgstr ""
317
 
318
+ #: core/controllers/settings.php:218
319
+ msgid "Find Add-ons"
320
+ msgstr ""
321
+
322
+ #: core/controllers/settings.php:225 core/fields/flexible_content.php:380
323
+ #: core/fields/flexible_content.php:456 core/fields/repeater.php:288
324
+ #: core/fields/repeater.php:364 core/views/meta_box_fields.php:63
325
  #: core/views/meta_box_fields.php:136
326
  msgid "Field Type"
327
  msgstr ""
328
 
329
+ #: core/controllers/settings.php:226
330
  msgid "Status"
331
  msgstr ""
332
 
333
+ #: core/controllers/settings.php:227
334
  msgid "Activation Code"
335
  msgstr ""
336
 
337
+ #: core/controllers/settings.php:232
338
  msgid "Repeater Field"
339
  msgstr ""
340
 
341
+ #: core/controllers/settings.php:233 core/controllers/settings.php:252
342
+ #: core/controllers/settings.php:271 core/controllers/settings.php:290
343
  msgid "Active"
344
  msgstr ""
345
 
346
+ #: core/controllers/settings.php:233 core/controllers/settings.php:252
347
+ #: core/controllers/settings.php:271 core/controllers/settings.php:290
348
  msgid "Inactive"
349
  msgstr ""
350
 
351
+ #: core/controllers/settings.php:239 core/controllers/settings.php:258
352
+ #: core/controllers/settings.php:277 core/controllers/settings.php:296
353
+ msgid "Deactivate"
354
  msgstr ""
355
 
356
+ #: core/controllers/settings.php:245 core/controllers/settings.php:264
357
+ #: core/controllers/settings.php:283 core/controllers/settings.php:302
358
+ msgid "Activate"
359
  msgstr ""
360
 
361
+ #: core/controllers/settings.php:251
362
+ msgid "Flexible Content Field"
 
 
363
  msgstr ""
364
 
365
+ #: core/controllers/settings.php:270
366
+ msgid "Gallery Field"
367
  msgstr ""
368
 
369
+ #: core/controllers/settings.php:289 core/views/meta_box_location.php:74
370
+ msgid "Options Page"
371
+ msgstr ""
372
+
373
+ #: core/controllers/settings.php:314
374
  msgid "Export Field Groups to XML"
375
  msgstr ""
376
 
377
+ #: core/controllers/settings.php:315
378
  msgid ""
379
  "ACF will create a .xml export file which is compatible with the native WP "
380
  "import plugin."
381
  msgstr ""
382
 
383
+ #: core/controllers/settings.php:316 core/controllers/settings.php:354
384
+ msgid "Instructions"
385
  msgstr ""
386
 
387
+ #: core/controllers/settings.php:318
388
  msgid "Import Field Groups"
389
  msgstr ""
390
 
391
+ #: core/controllers/settings.php:319
392
+ msgid ""
393
+ "Imported field groups <b>will</b> appear in the list of editable field "
394
+ "groups. This is useful for migrating fields groups between Wp websites."
395
  msgstr ""
396
 
397
+ #: core/controllers/settings.php:321
398
+ msgid "Select field group(s) from the list and click \"Export XML\""
399
  msgstr ""
400
 
401
+ #: core/controllers/settings.php:322
402
+ msgid "Save the .xml file when prompted"
403
  msgstr ""
404
 
405
+ #: core/controllers/settings.php:323
406
+ msgid "Navigate to Tools &raquo; Import and select WordPress"
407
+ msgstr ""
408
+
409
+ #: core/controllers/settings.php:324
410
  msgid "Install WP import plugin if prompted"
411
  msgstr ""
412
 
413
+ #: core/controllers/settings.php:325
414
  msgid "Upload and import your exported .xml file"
415
  msgstr ""
416
 
417
+ #: core/controllers/settings.php:326
418
  msgid "Select your user and ignore Import Attachments"
419
  msgstr ""
420
 
421
+ #: core/controllers/settings.php:327
422
  msgid "That's it! Happy WordPressing"
423
  msgstr ""
424
 
425
+ #: core/controllers/settings.php:345
426
+ msgid "Export XML"
427
+ msgstr ""
428
+
429
+ #: core/controllers/settings.php:352
430
  msgid "Export Field Groups to PHP"
431
  msgstr ""
432
 
433
+ #: core/controllers/settings.php:353
434
+ msgid "ACF will create the PHP code to include in your theme."
435
  msgstr ""
436
 
437
+ #: core/controllers/settings.php:356 core/controllers/settings.php:473
438
+ msgid "Register Field Groups"
439
+ msgstr ""
440
+
441
+ #: core/controllers/settings.php:357 core/controllers/settings.php:474
442
+ msgid ""
443
+ "Registered field groups <b>will not</b> appear in the list of editable field "
444
+ "groups. This is useful for including fields in themes."
445
+ msgstr ""
446
+
447
+ #: core/controllers/settings.php:358 core/controllers/settings.php:475
448
+ msgid ""
449
+ "Please note that if you export and register field groups within the same WP, "
450
+ "you will see duplicate fields on your edit screens. To fix this, please move "
451
+ "the origional field group to the trash or remove the code from your "
452
+ "functions.php file."
453
  msgstr ""
454
 
455
+ #: core/controllers/settings.php:360
456
+ msgid "Select field group(s) from the list and click \"Create PHP\""
457
  msgstr ""
458
 
459
+ #: core/controllers/settings.php:361 core/controllers/settings.php:477
460
  msgid "Copy the PHP code generated"
461
  msgstr ""
462
 
463
+ #: core/controllers/settings.php:362 core/controllers/settings.php:478
464
  msgid "Paste into your functions.php file"
465
  msgstr ""
466
 
467
+ #: core/controllers/settings.php:363 core/controllers/settings.php:479
468
  msgid "To activate any Add-ons, edit and use the code in the first few lines."
469
  msgstr ""
470
 
471
+ #: core/controllers/settings.php:382
472
+ msgid "Create PHP"
473
+ msgstr ""
474
+
475
+ #: core/controllers/settings.php:468
476
  msgid "Back to settings"
477
  msgstr ""
478
 
479
+ #: core/controllers/settings.php:503
480
  msgid ""
481
  "/**\n"
482
  " * Activate Add-ons\n"
491
  " */"
492
  msgstr ""
493
 
494
+ #: core/controllers/settings.php:518
495
  msgid ""
496
  "/**\n"
497
  " * Register field groups\n"
503
  " */"
504
  msgstr ""
505
 
506
+ #: core/controllers/settings.php:557
507
  msgid "No field groups were selected"
508
  msgstr ""
509
 
510
+ #: core/controllers/settings.php:589
511
+ msgid "Advanced Custom Fields Settings"
512
+ msgstr ""
513
+
514
  #: core/controllers/upgrade.php:51
515
  msgid "Upgrade"
516
  msgstr ""
539
  msgid "Upgrade Database"
540
  msgstr ""
541
 
542
+ #: core/controllers/upgrade.php:598
543
  msgid "Modifying field group options 'show on page'"
544
  msgstr ""
545
 
546
+ #: core/controllers/upgrade.php:651
547
+ msgid "Modifying field option 'taxonomy'"
548
+ msgstr ""
549
+
550
  #: core/fields/checkbox.php:21
551
  msgid "Checkbox"
552
  msgstr ""
606
  msgid "File"
607
  msgstr ""
608
 
609
+ #: core/fields/file.php:48
610
+ msgid "File Updated."
611
+ msgstr ""
612
+
613
+ #: core/fields/file.php:89 core/fields/flexible_content.php:407
614
+ #: core/fields/gallery.php:251 core/fields/gallery.php:281
615
+ #: core/fields/image.php:187 core/fields/repeater.php:314
616
+ #: core/views/meta_box_fields.php:87
617
+ msgid "Edit"
618
+ msgstr ""
619
+
620
+ #: core/fields/file.php:90 core/fields/gallery.php:250
621
+ #: core/fields/gallery.php:280 core/fields/image.php:186
622
+ msgid "Remove"
623
  msgstr ""
624
 
625
+ #: core/fields/file.php:195
626
  msgid "No File Selected"
627
  msgstr ""
628
 
629
+ #: core/fields/file.php:195
630
  msgid "Add File"
631
  msgstr ""
632
 
633
+ #: core/fields/file.php:224 core/fields/image.php:223
634
  msgid "Return Value"
635
  msgstr ""
636
 
637
+ #: core/fields/file.php:234
638
+ msgid "File URL"
639
+ msgstr ""
640
+
641
+ #: core/fields/file.php:235
642
+ msgid "Attachment ID"
643
+ msgstr ""
644
+
645
+ #: core/fields/file.php:268 core/fields/image.php:291
646
  msgid "Media attachment updated."
647
  msgstr ""
648
 
649
+ #: core/fields/file.php:393
650
  msgid "No files selected"
651
  msgstr ""
652
 
653
+ #: core/fields/file.php:488
654
  msgid "Add Selected Files"
655
  msgstr ""
656
 
657
+ #: core/fields/file.php:518
658
  msgid "Select File"
659
  msgstr ""
660
 
661
+ #: core/fields/file.php:521
662
  msgid "Update File"
663
  msgstr ""
664
 
666
  msgid "Flexible Content"
667
  msgstr ""
668
 
669
+ #: core/fields/flexible_content.php:38 core/fields/flexible_content.php:286
670
  msgid "+ Add Row"
671
  msgstr ""
672
 
673
+ #: core/fields/flexible_content.php:313 core/fields/repeater.php:261
674
  #: core/views/meta_box_fields.php:25
675
  msgid "New Field"
676
  msgstr ""
677
 
678
+ #: core/fields/flexible_content.php:322 core/fields/radio.php:144
679
+ #: core/fields/repeater.php:440
680
  msgid "Layout"
681
  msgstr ""
682
 
683
+ #: core/fields/flexible_content.php:324
684
  msgid "Reorder Layout"
685
  msgstr ""
686
 
687
+ #: core/fields/flexible_content.php:324
688
  msgid "Reorder"
689
  msgstr ""
690
 
691
+ #: core/fields/flexible_content.php:325
692
  msgid "Add New Layout"
693
  msgstr ""
694
 
695
+ #: core/fields/flexible_content.php:326
696
  msgid "Delete Layout"
697
  msgstr ""
698
 
699
+ #: core/fields/flexible_content.php:326 core/fields/flexible_content.php:410
700
+ #: core/fields/repeater.php:317 core/views/meta_box_fields.php:90
701
  msgid "Delete"
702
  msgstr ""
703
 
704
+ #: core/fields/flexible_content.php:336
705
  msgid "Label"
706
  msgstr ""
707
 
708
+ #: core/fields/flexible_content.php:346
709
  msgid "Name"
710
  msgstr ""
711
 
712
+ #: core/fields/flexible_content.php:356
713
  msgid "Display"
714
  msgstr ""
715
 
716
+ #: core/fields/flexible_content.php:363
717
  msgid "Table"
718
  msgstr ""
719
 
720
+ #: core/fields/flexible_content.php:364 core/fields/repeater.php:451
721
  msgid "Row"
722
  msgstr ""
723
 
724
+ #: core/fields/flexible_content.php:377 core/fields/repeater.php:285
725
  #: core/views/meta_box_fields.php:60
726
  msgid "Field Order"
727
  msgstr ""
728
 
729
+ #: core/fields/flexible_content.php:378 core/fields/flexible_content.php:425
730
+ #: core/fields/repeater.php:286 core/fields/repeater.php:333
731
  #: core/views/meta_box_fields.php:61 core/views/meta_box_fields.php:105
732
  msgid "Field Label"
733
  msgstr ""
734
 
735
+ #: core/fields/flexible_content.php:379 core/fields/flexible_content.php:441
736
+ #: core/fields/repeater.php:287 core/fields/repeater.php:349
737
  #: core/views/meta_box_fields.php:62 core/views/meta_box_fields.php:121
738
  msgid "Field Name"
739
  msgstr ""
740
 
741
+ #: core/fields/flexible_content.php:388 core/fields/repeater.php:296
742
  msgid ""
743
  "No fields. Click the \"+ Add Sub Field button\" to create your first field."
744
  msgstr ""
745
 
746
+ #: core/fields/flexible_content.php:404 core/fields/flexible_content.php:407
747
+ #: core/fields/repeater.php:311 core/fields/repeater.php:314
748
  #: core/views/meta_box_fields.php:84 core/views/meta_box_fields.php:87
749
  msgid "Edit this Field"
750
  msgstr ""
751
 
752
+ #: core/fields/flexible_content.php:408 core/fields/repeater.php:315
 
 
 
 
 
753
  #: core/views/meta_box_fields.php:88
754
  msgid "Read documentation for this field"
755
  msgstr ""
756
 
757
+ #: core/fields/flexible_content.php:408 core/fields/repeater.php:315
758
  #: core/views/meta_box_fields.php:88
759
  msgid "Docs"
760
  msgstr ""
761
 
762
+ #: core/fields/flexible_content.php:409 core/fields/repeater.php:316
763
  #: core/views/meta_box_fields.php:89
764
  msgid "Duplicate this Field"
765
  msgstr ""
766
 
767
+ #: core/fields/flexible_content.php:409 core/fields/repeater.php:316
768
  #: core/views/meta_box_fields.php:89
769
  msgid "Duplicate"
770
  msgstr ""
771
 
772
+ #: core/fields/flexible_content.php:410 core/fields/repeater.php:317
773
  #: core/views/meta_box_fields.php:90
774
  msgid "Delete this Field"
775
  msgstr ""
776
 
777
+ #: core/fields/flexible_content.php:426 core/fields/repeater.php:334
778
  #: core/views/meta_box_fields.php:106
779
  msgid "This is the name which will appear on the EDIT page"
780
  msgstr ""
781
 
782
+ #: core/fields/flexible_content.php:442 core/fields/repeater.php:350
783
  #: core/views/meta_box_fields.php:122
784
  msgid "Single word, no spaces. Underscores and dashes allowed"
785
  msgstr ""
786
 
787
+ #: core/fields/flexible_content.php:476 core/fields/repeater.php:384
788
  msgid "Save Field"
789
  msgstr ""
790
 
791
+ #: core/fields/flexible_content.php:481 core/fields/repeater.php:389
792
  #: core/views/meta_box_fields.php:188
793
  msgid "Close Field"
794
  msgstr ""
795
 
796
+ #: core/fields/flexible_content.php:481 core/fields/repeater.php:389
797
  msgid "Close Sub Field"
798
  msgstr ""
799
 
800
+ #: core/fields/flexible_content.php:495 core/fields/repeater.php:404
801
  #: core/views/meta_box_fields.php:201
802
  msgid "Drag and drop to reorder"
803
  msgstr ""
804
 
805
+ #: core/fields/flexible_content.php:496 core/fields/repeater.php:405
806
  msgid "+ Add Sub Field"
807
  msgstr ""
808
 
809
+ #: core/fields/flexible_content.php:503 core/fields/repeater.php:459
810
  msgid "Button Label"
811
  msgstr ""
812
 
813
+ #: core/fields/gallery.php:25
814
+ msgid "Gallery"
815
  msgstr ""
816
 
817
+ #: core/fields/gallery.php:70 core/fields/gallery.php:233
818
+ msgid "Alternate Text"
819
  msgstr ""
820
 
821
+ #: core/fields/gallery.php:74 core/fields/gallery.php:237
822
+ msgid "Caption"
823
  msgstr ""
824
 
825
+ #: core/fields/gallery.php:78 core/fields/gallery.php:241
826
+ msgid "Description"
827
  msgstr ""
828
 
829
+ #: core/fields/gallery.php:117 core/fields/image.php:243
830
+ msgid "Preview Size"
831
  msgstr ""
832
 
833
+ #: core/fields/gallery.php:118
834
+ msgid "Thumbnail is advised"
835
  msgstr ""
836
 
837
+ #: core/fields/gallery.php:179
838
+ msgid "Image Updated"
839
  msgstr ""
840
 
841
+ #: core/fields/gallery.php:262 core/fields/gallery.php:642
842
+ #: core/fields/image.php:193
843
+ msgid "Add Image"
844
  msgstr ""
845
 
846
+ #: core/fields/gallery.php:263
847
+ msgid "Grid"
848
  msgstr ""
849
 
850
+ #: core/fields/gallery.php:264
851
+ msgid "List"
852
  msgstr ""
853
 
854
+ #: core/fields/gallery.php:266 core/fields/image.php:428
855
  msgid "No images selected"
856
  msgstr ""
857
 
858
+ #: core/fields/gallery.php:266
859
+ msgid "1 image selected"
860
  msgstr ""
861
 
862
+ #: core/fields/gallery.php:266
863
+ msgid "{count} images selected"
864
  msgstr ""
865
 
866
+ #: core/fields/gallery.php:585
867
+ msgid "Image already exists in gallery"
868
+ msgstr ""
869
+
870
+ #: core/fields/gallery.php:591
871
+ msgid "Image Added"
872
+ msgstr ""
873
+
874
+ #: core/fields/gallery.php:645 core/fields/image.php:556
875
  msgid "Update Image"
876
  msgstr ""
877
 
878
+ #: core/fields/image.php:21
879
+ msgid "Image"
880
  msgstr ""
881
 
882
+ #: core/fields/image.php:49
883
+ msgid "Image Updated."
 
884
  msgstr ""
885
 
886
+ #: core/fields/image.php:193
887
+ msgid "No image selected"
 
888
  msgstr ""
889
 
890
+ #: core/fields/image.php:233
891
+ msgid "Image Object"
892
+ msgstr ""
893
+
894
+ #: core/fields/image.php:234
895
+ msgid "Image URL"
896
+ msgstr ""
897
+
898
+ #: core/fields/image.php:235
899
+ msgid "Image ID"
900
  msgstr ""
901
 
902
+ #: core/fields/image.php:524
903
+ msgid "Add selected Images"
904
+ msgstr ""
905
+
906
+ #: core/fields/image.php:553
907
+ msgid "Select Image"
908
+ msgstr ""
909
+
910
+ #: core/fields/page_link.php:21
911
+ msgid "Page Link"
912
+ msgstr ""
913
+
914
+ #: core/fields/page_link.php:70 core/fields/post_object.php:216
915
+ #: core/fields/relationship.php:314 core/views/meta_box_location.php:48
916
+ msgid "Post Type"
917
+ msgstr ""
918
+
919
+ #: core/fields/page_link.php:98 core/fields/post_object.php:267
920
  #: core/fields/select.php:194
921
  msgid "Allow Null?"
922
  msgstr ""
923
 
924
+ #: core/fields/page_link.php:107 core/fields/page_link.php:126
925
+ #: core/fields/post_object.php:276 core/fields/post_object.php:295
926
  #: core/fields/select.php:203 core/fields/select.php:222
927
+ #: core/fields/wysiwyg.php:104 core/views/meta_box_fields.php:170
928
  msgid "Yes"
929
  msgstr ""
930
 
931
+ #: core/fields/page_link.php:108 core/fields/page_link.php:127
932
+ #: core/fields/post_object.php:277 core/fields/post_object.php:296
933
  #: core/fields/select.php:204 core/fields/select.php:223
934
+ #: core/fields/wysiwyg.php:105 core/views/meta_box_fields.php:171
935
  msgid "No"
936
  msgstr ""
937
 
938
+ #: core/fields/page_link.php:117 core/fields/post_object.php:286
939
  #: core/fields/select.php:213
940
  msgid "Select multiple values?"
941
  msgstr ""
944
  msgid "Post Object"
945
  msgstr ""
946
 
947
+ #: core/fields/post_object.php:244 core/fields/relationship.php:343
948
  msgid "Filter from Taxonomy"
949
  msgstr ""
950
 
969
  msgid "Relationship"
970
  msgstr ""
971
 
972
+ #: core/fields/relationship.php:236
973
  msgid "Search"
974
  msgstr ""
975
 
976
+ #: core/fields/relationship.php:366
977
  msgid "Maximum posts"
978
  msgstr ""
979
 
 
 
 
 
980
  #: core/fields/repeater.php:21
981
  msgid "Repeater"
982
  msgstr ""
983
 
984
+ #: core/fields/repeater.php:66 core/fields/repeater.php:248
985
  msgid "Add Row"
986
  msgstr ""
987
 
988
+ #: core/fields/repeater.php:277
989
  msgid "Repeater Fields"
990
  msgstr ""
991
 
992
+ #: core/fields/repeater.php:412
993
+ msgid "Minimum Rows"
994
  msgstr ""
995
 
996
+ #: core/fields/repeater.php:426
997
+ msgid "Maximum Rows"
998
+ msgstr ""
999
+
1000
+ #: core/fields/repeater.php:450
1001
  msgid "Table (default)"
1002
  msgstr ""
1003
 
1004
+ #: core/fields/select.php:21
1005
+ msgid "Select"
1006
+ msgstr ""
1007
+
1008
  #: core/fields/text.php:21
1009
  msgid "Text"
1010
  msgstr ""
1065
  msgid "Show Media Upload Buttons?"
1066
  msgstr ""
1067
 
1068
+ #: core/views/meta_box_fields.php:26
1069
+ msgid "new_field"
1070
+ msgstr ""
1071
+
1072
  #: core/views/meta_box_fields.php:47
1073
  msgid "Move to trash. Are you sure?"
1074
  msgstr ""
1205
  msgid "Position"
1206
  msgstr ""
1207
 
 
 
 
 
 
 
 
 
1208
  #: core/views/meta_box_options.php:60
1209
  msgid "Style"
1210
  msgstr ""
1211
 
 
 
 
 
 
 
 
 
1212
  #: core/views/meta_box_options.php:80
1213
  msgid "Hide on screen"
1214
  msgstr ""
readme.txt CHANGED
@@ -85,6 +85,16 @@ http://support.advancedcustomfields.com/
85
 
86
  == Changelog ==
87
 
 
 
 
 
 
 
 
 
 
 
88
  = 3.3.6 =
89
  * [Fixed] Fix IE regex issue (thanks to Ben Heller - http://spruce.it)
90
  * [Added] Check for more translatable strings (thanks to Derk Oosterveld - www.inpoint.nl)
85
 
86
  == Changelog ==
87
 
88
+ = 3.3.7 =
89
+ * [Added] Add new return value for image { image object
90
+ * [Updated] Update Dutch translation (thanks to Derk Oosterveld - www.inpoint.nl)
91
+ * [Updated] Update UI Styles
92
+ * [Updated] Refresh settings page UI and fix exported PHP code indentation Styles
93
+ * [Fixed] Fix post object hierarchy display bug - http://support.advancedcustomfields.com/discussion/2650/post_object-showing-posts-in-wrong-hierarchy
94
+ * [Fixed] Fix metabox position from high to core - http://support.advancedcustomfields.com/discussion/comment/6846#Comment_6846
95
+ * [Fixed] Fix flexible content field save layout with no fields - http://support.advancedcustomfields.com/discussion/2639/flexible-content-field-support-for-empty-layoutss
96
+ * [Fixed] Text / Fix field group limit - http://support.advancedcustomfields.com/discussion/2675/admin-only-showing-20-fields-groups
97
+
98
  = 3.3.6 =
99
  * [Fixed] Fix IE regex issue (thanks to Ben Heller - http://spruce.it)
100
  * [Added] Check for more translatable strings (thanks to Derk Oosterveld - www.inpoint.nl)