// SYSTEM PANEL //
[ROOT]
/
home
/
salvufkx
/
homedir
/
public_html
/
wp-content
/
plugins
/
gallery-images-ape
/
libs
/
metabox
[ PARENT ]
EDIT :: lightbox.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 */ $lightbox_metabox = new_cmb2_box( array( 'id' => WPAPE_GALLERY_NAMESPACE . 'lightbox_metabox', 'title' => __( 'Lightbox', 'wpape_gallery' ), 'object_types' => array( WPAPE_GALLERY_POST ), 'show_names' => false, 'context' => 'normal', )); $lightbox_metabox->add_field( array( 'name' => __( 'Text', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE.'lightboxColor', 'type' => 'wpapetext', 'class' => 'form-control wpape_color', 'data-default' => '#F3F3F3', 'data-alpha' => 'true', 'small' => 1, 'default' => '#F3F3F3', 'before_row' => ' <div class="wpape_block"><br/>', )); $lightbox_metabox->add_field( array( 'name' => __( 'Background', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE.'lightboxBackground', 'type' => 'wpapetext', 'class' => 'form-control wpape_color', 'data-default' => 'rgba(11, 11, 11, 0.8)', 'data-alpha' => 'true', 'level' => !WPAPE_GALLERY_PREMIUM, 'small' => 1, 'default' => 'rgba(11, 11, 11, 0.8)', )); $lightbox_metabox->add_field( array( 'name' => __('Swipe', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE . 'lightboxSwipe', 'type' => 'switch', 'default' => wpApeGalleryHelperClass::defaultValue(1), 'level' => !WPAPE_GALLERY_PREMIUM, )); $lightbox_metabox->add_field( array( 'name' => __('Social Button', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE . 'social', 'type' => 'social', 'default' => array('twitter' => 0, 'facebook'=>0), )); $lightbox_metabox->add_field( array( 'name' => __('Arrows', 'wpape_gallery' ), 'id' => WPAPE_GALLERY_NAMESPACE . 'arrows', 'type' => 'switch', 'showhide' => 1, 'invert' => 1, 'onText' => __('Hide', 'wpape_gallery' ), 'offText' => __('Show', 'wpape_gallery' ), 'default' => wpApeGalleryHelperClass::defaultValue(1), 'after_row' => ' </div> ' ));
SAVE
CANCEL