Plugin Directory

Changeset 1480288


Ignore:
Timestamp:
08/22/2016 12:47:48 AM (10 years ago)
Author:
rootabout
Message:

removed bootstrap, fixed a style bug that was disabling screen options

Location:
admin-builder/trunk
Files:
2 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • admin-builder/trunk/admin_builder.php

    r1467493 r1480288  
    44  Plugin URI: http://admin-builder.com
    55  Description: A plugin that generates admin panel pages & posts,sidebars,custom admin pages with tabs, custom post types, rest routes, meta boxes and fields (with unlimited textbox, textarea, checkbox, custom select (dropdown box), datepicker, timepicker, colorpicker, upload media fields, with configurable options) Based on what's exported from http://admin-builder.com
    6   Version: 1.1.7
     6  Version: 1.1.8
    77  Author: rootabout
    88  Author URI: http://admin-builder.com
  • admin-builder/trunk/css/style.css

    r1453232 r1480288  
    77    margin: 10px 0;
    88}
    9 .aBMB .row {
    10     padding: 10px;
     9
     10.aBMB .row{
     11padding:10px;
    1112}
    1213.aBMB .row:nth-child(2n) {
    13     background: #f7f7f7;
     14    background:#e4e4e4;
    1415}
    1516form.aBForm textarea {
     
    8889  margin:5px 0;
    8990}
     91.ab{
     92    display:inline-block;
     93    overflow:hidden;
     94    width:100%;
     95}
     96:not(#poststuff) {
     97  .hidden {
     98    display: none !important;
     99    visibility: hidden !important;
     100  }
     101}
  • admin-builder/trunk/inc/abCPages.php

    r1453232 r1480288  
    7373        $generalArr = $this->generalArr;
    7474        ?>
    75         <div class="container-fluid">
     75        <div class="container-fluid ab">
    7676
    7777      <form name="abForm" class="abForm" method="post" action="">
  • admin-builder/trunk/inc/abEnqueue.php

    r1449741 r1480288  
    88        global $rootURL;
    99    //plugin_dir_url( __FILE__ )
    10     //bootstrap style
    11     wp_register_style('aBBootstrap', plugin_dir_url( __FILE__ ) .'../css/bootstrap.min.css');
    12         wp_enqueue_style('aBBootstrap');
    1310        wp_register_style('jQueryUiCore', plugin_dir_url( __FILE__ ) .'../css/jquery-ui.css');
    1411        wp_enqueue_style('jQueryUiCore');
     
    3532        wp_enqueue_script('jquery-ui-slider', false, array('jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-mouse'));
    3633
    37         wp_register_script('aBbootrap', plugin_dir_url( __FILE__ ).'../js/bootstrap.min.js');
    38         wp_enqueue_script('aBBootrap');
    3934        wp_register_script('aBColor', plugin_dir_url( __FILE__ ).'../js/color.js');
    4035        wp_enqueue_script('aBColor');
  • admin-builder/trunk/inc/abFields.php

    r1467493 r1480288  
    4646          }
    4747          if (isset($post->ID)) {
    48 
    4948              $fieldValue = get_post_meta($post->ID, $fieldName, true);
    5049          }
     
    284283        }
    285284          ?>
    286         <div class="row field">
    287           <div class="col-sm-2">
    288             <label class="title"><?php _e($label);
    289           ?></label>
    290           </div>
    291           <div class="col-sm-10">
     285    <tr>
     286        <th class="row">
     287
     288            <label class="title"><?php _e($label); ?></label>
     289    </th>
     290    <td>
    292291            <?php echo $fieldHTML;
    293292          ?>
    294293            <label class="description">* <?php _e($description);
    295294          ?></label>
    296           </div>
    297         </div>
     295        </td>
     296        </tr>
    298297        <?php
    299298
  • admin-builder/trunk/inc/abMeta.php

    r1467493 r1480288  
    9191                    $context = $box['context'] ? $box['context'] : $context;
    9292                    $priority = $box['priority'] ? $box['priority'] : $priority;
    93                     $id .= $name.$count;
     93                    $id = $name.$count;
    9494                    if (isset($box['label'])) {
    9595                        $title = $box['label'] ? $box['label'] : $title;
     
    108108    public function save_metaBox_fields($post_id, $post)
    109109    {
    110       $metaArr = $this->gametaboxesArr;
    111       foreach ($metaArr as $mboxKey => $mboxValue) {
    112           switch ($mboxValue['type']) {
     110        $metaArr = $this->gametaboxesArr;
     111        foreach ($metaArr as $mboxKey => $mboxValue) {
     112            switch ($mboxValue['type']) {
    113113                  //save meta if post, page, cpt
    114114              case 'post':
     
    130130                      //field name
    131131                      $fieldName = 'abMB_'.$mboxValue['name'].$field['name'];
    132 
    133132
    134133                      // set the new value to a variable
     
    170169        {
    171170            ?>
    172         <div class="container-fluid aBMB">
    173             <?php wp_nonce_field(basename(__FILE__), 'aB_nounce_'.$args['args']['name']);
    174             foreach ($args['args']['fields'] as $field => $val) {
    175                 $this->generate_field($val, $args['args'], $post);
    176             }
    177             ?>
    178         </div>
     171    <table class="form-table">
     172           <tbody class="aBMB ">
     173                <?php wp_nonce_field(basename(__FILE__), 'aB_nounce_'.$args['args']['name']);
     174                foreach ($args['args']['fields'] as $field => $val) {
     175                 $this->generate_field($val, $args['args'], $post);
     176                }
     177                ?>
     178        </tbody>
     179    </table>
    179180        <?php
    180181
  • admin-builder/trunk/readme.txt

    r1467493 r1480288  
    55Requires at least: 4.0
    66Tested up to: 4.5.3
    7 Stable tag: 1.1.7
     7Stable tag: 1.1.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    173173
    174174= 1.1.6 =
    175 Fixed a saving bug, added users functionality for select box.
     175Fixed a saving bug, added users functionality for select box
     176
     177= 1.1.8 =
     178Fixed a styling issue that was disabling screen options
    176179
    177180== Arbitrary section ==
Note: See TracChangeset for help on using the changeset viewer.