// SYSTEM PANEL //
[ROOT]
/
home
/
salvufkx
/
homedir
/
public_html
/
wp-content
/
plugins
/
gallery-images-ape
/
libs
/
metabox
[ PARENT ]
EDIT :: polaroid.php
<?php /* * Ape Gallery http://wpape.net * Version: 1.2.4 - 61253 * Author: Wp Ape (c) * Author URI: http://wpape.net * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Date: Thu, 08 Dec 2016 16:31:35 GMT */ $polaroid_metabox = new_cmb2_box( array( 'id' => WPAPE_GALLERY_NAMESPACE . 'polaroid_metabox', 'title' => __( 'Polaroid', 'wpape_gallery' ), 'object_types' => array( WPAPE_GALLERY_POST ), 'show_names' => false, 'context' => 'normal', )); $polaroid_metabox->add_field( array( 'name' => __('Polaroid', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE . 'polaroidOn', 'type' => 'switch', 'default' => wpApeGalleryHelperClass::defaultValue(0), 'depends' => '.wpape_polaroid_block', 'before_row' => ' <div class="wpape_block"><br/>', 'after_row' => ' <div class="wpape_polaroid_block">', )); $polaroid_metabox->add_field(array( 'name' => __('Source', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE . 'polaroidSource', 'type' => 'ape_select', 'show_option_none' => false, 'default' => 'desc', 'options' => array( 'title' => __( 'Title' , 'wpape_gallery' ), 'desc' => __( 'Description' , 'wpape_gallery' ), 'caption' => __( 'Caption' , 'wpape_gallery' ) ), )); $polaroid_metabox->add_field( array( 'name' => __( 'Color', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE.'polaroidBackground', 'type' => 'wpapetext', 'class' => 'form-control wpape_color', 'data-default' => '#ffffff', 'data-alpha' => 'true', 'small' => 1, 'default' => '#ffffff', )); $polaroid_metabox->add_field( array( 'name' => __('Alignment', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE . 'polaroidAlign', 'type' => 'ape_select', 'show_option_none' => false, 'default' => 'center', 'options' => array( 'left' => __( 'left' , 'wpape_gallery' ), 'right' => __( 'right' , 'wpape_gallery' ), 'center' => __( 'center' , 'wpape_gallery' ), ), 'after_row' => ' </div> </div>' ));
SAVE
CANCEL