Plugin Directory

Changeset 609362

Timestamp:
10/08/2012 01:53:39 AM (12 years ago)
Author:
logikal16
Message:

Custom Field Suite 1.7.3

Location:
custom-field-suite/trunk
Files:
3 added
12 edited

Legend:

Unmodified
Added
Removed
  • custom-field-suite/trunk/cfs.php

    r606792 r609362  
    44Plugin URI: https://uproot.us/
    55Description: Dead simple custom field management.
    6 Version: 1.7.2
     6Version: 1.7.
    77Author: Matt Gibbs
    88Author URI: https://uproot.us/
     
    1111
    1212$cfs = new Cfs();
    13 $cfs->version = '1.7.2';
     13$cfs->version = '1.7.';
    1414
    1515class Cfs
  • custom-field-suite/trunk/core/actions/admin_head.php

    r601824 r609362  
    7575
    7676<link rel="stylesheet" type="text/css" href="<?php echo $this->url; ?>/css/input.css" />
     77
    7778
    7879<?php
  • custom-field-suite/trunk/core/admin/meta_box_input.php

    r606792 r609362  
    2323    if (1 > (int) $field->parent_id)
    2424    {
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
    2543?>
    26 <div class="field">
     44<div class="field">
    2745    <label><?php echo $field->label; ?></label>
    2846
  • custom-field-suite/trunk/core/api.php

    r606792 r609362  
    430430            {
    431431                $wpdb->update($wpdb->posts, $post_data, array('ID' => $post_id));
     432
    432433            }
    433434        }
  • custom-field-suite/trunk/core/fields/field.php

    r599843 r609362  
    5252    function options_html($key, $field)
    5353    {
    54 
     54    ?>
     55        <tr class="field_option field_option_<?php echo $this->name; ?>">
     56            <td class="label">
     57                <label><?php _e('Validation', 'cfs'); ?></label>
     58            </td>
     59            <td>
     60                <?php
     61                    $this->parent->create_field(array(
     62                        'type' => 'true_false',
     63                        'input_name' => "cfs[fields][$key][options][required]",
     64                        'input_class' => 'true_false',
     65                        'value' => $this->get_option($field, 'required'),
     66                        'options' => array('message' => __('This is a required field', 'cfs')),
     67                    ));
     68                ?>
     69            </td>
     70        </tr>
     71    <?php
    5572    }
    5673
  • custom-field-suite/trunk/core/fields/file.php

    r601824 r609362  
    6969                        'input_class' => '',
    7070                        'value' => $this->get_option($field, 'return_value', 'url'),
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
    7187                    ));
    7288                ?>
  • custom-field-suite/trunk/core/fields/relationship.php

    r606792 r609362  
    9898                        'options' => array('multiple' => '1', 'choices' => $choices),
    9999                        'value' => $this->get_option($field, 'post_types'),
     100
     101
     102
     103
     104
     105
     106
     107
     108
     109
     110
     111
     112
     113
     114
     115
    100116                    ));
    101117                ?>
  • custom-field-suite/trunk/core/fields/select.php

    r601824 r609362  
    107107        <tr class="field_option field_option_<?php echo $this->name; ?>">
    108108            <td class="label">
    109                 <label><?php _e('Select multiple values?', 'cfs'); ?></label>
     109                <label><?php _e('?', 'cfs'); ?></label>
    110110            </td>
    111111            <td>
     
    116116                        'input_class' => 'true_false',
    117117                        'value' => $this->get_option($field, 'multiple'),
    118                         'options' => array('message' => __('This a multi-select field', 'cfs')),
     118                        'options' => array('message' => __('This is a multi-select field', 'cfs')),
     119                    ));
     120                ?>
     121            </td>
     122        </tr>
     123        <tr class="field_option field_option_<?php echo $this->name; ?>">
     124            <td class="label">
     125                <label><?php _e('Validation', 'cfs'); ?></label>
     126            </td>
     127            <td>
     128                <?php
     129                    $this->parent->create_field(array(
     130                        'type' => 'true_false',
     131                        'input_name' => "cfs[fields][$key][options][required]",
     132                        'input_class' => 'true_false',
     133                        'value' => $this->get_option($field, 'required'),
     134                        'options' => array('message' => __('This is a required field', 'cfs')),
    119135                    ));
    120136                ?>
  • custom-field-suite/trunk/core/fields/text.php

    r599843 r609362  
    2929            </td>
    3030        </tr>
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
    3147    <?php
    3248    }
  • custom-field-suite/trunk/core/fields/textarea.php

    r599843 r609362  
    5757            </td>
    5858        </tr>
     59
     60
     61
     62
     63
     64
     65
     66
     67
     68
     69
     70
     71
     72
     73
     74
    5975    <?php
    6076    }
  • custom-field-suite/trunk/core/fields/true_false.php

    r599843 r609362  
    3636                        'input_class' => '',
    3737                        'value' => $this->get_option($field, 'message'),
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
    3854                    ));
    3955                ?>
  • custom-field-suite/trunk/readme.txt

    r608827 r609362  
    1 === Custom Field Suite ===
     1=== Custom Field Suite ===
    22Contributors: logikal16
    33Donate link: https://uproot.us/contributors/
     
    1616
    1717= Why use CFS? =
    18 * CFS is easy-to-use. Both devs and clients will love it!
     18* CFS is easy-to-use. it!
    1919* CFS is stable. We test all changes before releasing a new version.
    2020* CFS is fast and uses minimal server resources.
    2121* CFS is 100% free.
    22 * CFS has [full documentation](https://uproot.us/custom-field-suite/documentation/)
    23 * Our [support forums](https://uproot.us/forums/) will help get your questions answered quicky.
    24 * CFS integrates with [Gravity Forms](https://uproot.us/how-to-save-gravity-forms-data-into-custom-field-suite/). CFS can save Gravity Forms entries as custom post type items with custom fields.
     22* CFS has [full documentation](https://uproot.us/custom-field-suite/documentation/)
     23* Our [.
     24* CFS integrates with [Gravity Forms](https://uproot.us/how-to-save-gravity-forms-data-into-custom-field-suite/). CFS can save Gravity Forms entries as custom post type items with custom fields.
    2525* CFS supports [adding your own field types](http://uproot.us/custom-field-suite/docs/custom-field-type/).
    2626* [CFS is on GitHub](https://github.com/logikal16/custom-field-suite/)
     
    4040
    4141= More Features =
     42
    4243* Drag-n-drop field management UI
    4344* Loop fields support unlimited nesting!
     
    6162
    6263== Changelog ==
     64
     65
     66
     67
     68
    6369
    6470= 1.7.2 =
Note: See TracChangeset for help on using the changeset viewer.