PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
yith-woocommerce-wishlist
/
plugin-fw
/
templates
/
fields
<?php /** * This file belongs to the YIT Plugin Framework. * * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.gnu.org/licenses/gpl-3.0.txt * * @var array $field */ extract( $field ); $layout = !isset( $value[ 'layout' ] ) ? 'sidebar-no' : $value[ 'layout' ]; $sidebar_left = !isset( $value[ 'sidebar-left' ] ) ? '-1' : $value[ 'sidebar-left' ]; $sidebar_right = !isset( $value[ 'sidebar-right' ] ) ? '-1' : $value[ 'sidebar-right' ]; ?> <div class="yith-plugin-fw-sidebar-layout"> <div class="option"> <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-left' ?>" value="sidebar-left" <?php checked( $layout, 'sidebar-left' ) ?> /> <img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/sidebar-left.png" title="<?php _e( 'Left sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'Left sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-left' ?>" data-type="left"/> <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> /> <img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/sidebar-right.png" title="<?php _e( 'Right sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'Right sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-right' ?>" data-type="right"/> <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-double' ?>" value="sidebar-double" <?php checked( $layout, 'sidebar-double' ) ?> /> <img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/double-sidebar.png" title="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-double' ?>" data-type="double"/> <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> /> <img src="<?php echo YIT_CORE_PLUGIN_URL ?>/assets/images/no-sidebar.png" title="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" alt="<?php _e( 'No sidebar', 'yith-plugin-fw' ) ?>" class="<?php echo $id . '-no' ?>" data-type="none"/> </div> <div class="clearfix"></div> <div class="option" id="choose-sidebars"> <div class="side"> <div <?php if ( $layout != 'sidebar-double' && $layout != 'sidebar-left' ) { echo 'style="display:none"'; } ?> class="yith-plugin-fw-sidebar-layout-sidebar-left-container select-mask"> <label for="<?php echo $id ?>-sidebar-left"><?php _e( 'Left Sidebar', 'yith-plugin-fw' ) ?></label> <select class="yith-plugin-fw-select" name="<?php echo $name ?>[sidebar-left]" id="<?php echo $id ?>-sidebar-left"> <option value="-1"><?php _e( 'Choose a sidebar', 'yith-plugin-fw' ) ?></option> <?php foreach ( yit_registered_sidebars() as $val => $option ) { ?> <option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar_left, $val ) ?>><?php echo $option; ?></option> <?php } ?> </select> </div> </div> <div class="side" style="clear: both"> <div <?php if ( $layout != 'sidebar-double' && $layout != 'sidebar-right' ) { echo 'style="display:none"'; } ?> class="yith-plugin-fw-sidebar-layout-sidebar-right-container select-mask"> <label for="<?php echo $id ?>-sidebar-right"><?php _e( 'Right Sidebar', 'yith-plugin-fw' ) ?></label> <select class="yith-plugin-fw-select" name="<?php echo $name ?>[sidebar-right]" id="<?php echo $id ?>-sidebar-right"> <option value="-1"><?php _e( 'Choose a sidebar', 'yith-plugin-fw' ) ?></option> <?php foreach ( yit_registered_sidebars() as $val => $option ) { ?> <option value="<?php echo esc_attr( $val ) ?>" <?php selected( $sidebar_right, $val ) ?>><?php echo $option; ?></option> <?php } ?> </select> </div> </div> </div> </div>
[+]
..
[-] textarea-codemirror.php
[edit]
[-] onoff.php
[edit]
[-] checkbox-array.php
[edit]
[-] simple-text.php
[edit]
[-] password.php
[edit]
[-] html.php
[edit]
[-] custom.php
[edit]
[-] select-images.php
[edit]
[-] radio.php
[edit]
[-] text-button.php
[edit]
[-] colorpicker.php
[edit]
[-] text.php
[edit]
[-] toggle-element-fixed.php
[edit]
[-] checkbox.php
[edit]
[-] multi-colorpicker.php
[edit]
[-] toggle-element.php
[edit]
[-] hidden.php
[edit]
[-] ajax-products.php
[edit]
[-] text-array.php
[edit]
[-] title.php
[edit]
[-] ajax-posts.php
[edit]
[-] upload.php
[edit]
[-] country-select.php
[edit]
[-] .fields.php
[edit]
[-] sidebarlist.php
[edit]
[-] number.php
[edit]
[-] slider.php
[edit]
[-] datepicker.php
[edit]
[-] select-buttons.php
[edit]
[-] image-gallery.php
[edit]
[-] ajax-customers.php
[edit]
[-] dimensions.php
[edit]
[-] sidebars.php
[edit]
[-] sep.php
[edit]
[-] preview.php
[edit]
[-] date-format.php
[edit]
[+]
resources
[-] select-mailchimp.php
[edit]
[-] textarea.php
[edit]
[-] select.php
[edit]
[-] list-table.php
[edit]
[-] textarea-editor.php
[edit]
[-] multi-select.php
[edit]
[-] ajax-terms.php
[edit]
[-] icons.php
[edit]
[-] buttons.php
[edit]
[-] customtabs.php
[edit]