Changeset 1480288
- Timestamp:
- 08/22/2016 12:47:48 AM (10 years ago)
- Location:
- admin-builder/trunk
- Files:
-
- 2 deleted
- 7 edited
-
admin_builder.php (modified) (1 diff)
-
css/bootstrap.min.css (deleted)
-
css/style.css (modified) (2 diffs)
-
inc/abCPages.php (modified) (1 diff)
-
inc/abEnqueue.php (modified) (2 diffs)
-
inc/abFields.php (modified) (2 diffs)
-
inc/abMeta.php (modified) (4 diffs)
-
js/bootstrap.min.js (deleted)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin-builder/trunk/admin_builder.php
r1467493 r1480288 4 4 Plugin URI: http://admin-builder.com 5 5 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. 76 Version: 1.1.8 7 7 Author: rootabout 8 8 Author URI: http://admin-builder.com -
admin-builder/trunk/css/style.css
r1453232 r1480288 7 7 margin: 10px 0; 8 8 } 9 .aBMB .row { 10 padding: 10px; 9 10 .aBMB .row{ 11 padding:10px; 11 12 } 12 13 .aBMB .row:nth-child(2n) { 13 background: #f7f7f7;14 background:#e4e4e4; 14 15 } 15 16 form.aBForm textarea { … … 88 89 margin:5px 0; 89 90 } 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 73 73 $generalArr = $this->generalArr; 74 74 ?> 75 <div class="container-fluid ">75 <div class="container-fluid ab"> 76 76 77 77 <form name="abForm" class="abForm" method="post" action=""> -
admin-builder/trunk/inc/abEnqueue.php
r1449741 r1480288 8 8 global $rootURL; 9 9 //plugin_dir_url( __FILE__ ) 10 //bootstrap style11 wp_register_style('aBBootstrap', plugin_dir_url( __FILE__ ) .'../css/bootstrap.min.css');12 wp_enqueue_style('aBBootstrap');13 10 wp_register_style('jQueryUiCore', plugin_dir_url( __FILE__ ) .'../css/jquery-ui.css'); 14 11 wp_enqueue_style('jQueryUiCore'); … … 35 32 wp_enqueue_script('jquery-ui-slider', false, array('jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-mouse')); 36 33 37 wp_register_script('aBbootrap', plugin_dir_url( __FILE__ ).'../js/bootstrap.min.js');38 wp_enqueue_script('aBBootrap');39 34 wp_register_script('aBColor', plugin_dir_url( __FILE__ ).'../js/color.js'); 40 35 wp_enqueue_script('aBColor'); -
admin-builder/trunk/inc/abFields.php
r1467493 r1480288 46 46 } 47 47 if (isset($post->ID)) { 48 49 48 $fieldValue = get_post_meta($post->ID, $fieldName, true); 50 49 } … … 284 283 } 285 284 ?> 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> 292 291 <?php echo $fieldHTML; 293 292 ?> 294 293 <label class="description">* <?php _e($description); 295 294 ?></label> 296 </div>297 </ div>295 </td> 296 </tr> 298 297 <?php 299 298 -
admin-builder/trunk/inc/abMeta.php
r1467493 r1480288 91 91 $context = $box['context'] ? $box['context'] : $context; 92 92 $priority = $box['priority'] ? $box['priority'] : $priority; 93 $id .= $name.$count;93 $id = $name.$count; 94 94 if (isset($box['label'])) { 95 95 $title = $box['label'] ? $box['label'] : $title; … … 108 108 public function save_metaBox_fields($post_id, $post) 109 109 { 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']) { 113 113 //save meta if post, page, cpt 114 114 case 'post': … … 130 130 //field name 131 131 $fieldName = 'abMB_'.$mboxValue['name'].$field['name']; 132 133 132 134 133 // set the new value to a variable … … 170 169 { 171 170 ?> 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> 179 180 <?php 180 181 -
admin-builder/trunk/readme.txt
r1467493 r1480288 5 5 Requires at least: 4.0 6 6 Tested up to: 4.5.3 7 Stable tag: 1.1. 77 Stable tag: 1.1.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 173 173 174 174 = 1.1.6 = 175 Fixed a saving bug, added users functionality for select box. 175 Fixed a saving bug, added users functionality for select box 176 177 = 1.1.8 = 178 Fixed a styling issue that was disabling screen options 176 179 177 180 == Arbitrary section ==
Note: See TracChangeset
for help on using the changeset viewer.