<?php /** no direct access * */ defined('_WPLEXEC') or die('Restricted access'); if ($type == 'parent' and !$done_this) { $kinds = wpl_flex::get_kinds('wpl_properties'); ?> <div class="fanc-body"> <div class="fanc-row fanc-button-row-2"> <span class="ajax-inline-save" id="wpl_dbst_modify_ajax_loader"></span> <input class="wpl-button button-1" type="button" onclick="save_dbst('<?php echo $__prefix; ?> ', <?php echo $dbst_id; ?> );" value="<?php echo __('Save', WPL_TEXTDOMAIN); ?> " id="wpl_dbst_submit_button" /> </div> <div class="col-wp"> <div class="col-fanc-left" id="wpl_flex_general_options"> <div class="fanc-row fanc-inline-title"> <?php echo __('General Options', WPL_TEXTDOMAIN); ?> </div> <?php /** include main file **/ include _wpl_import('libraries.dbst_modify.main.main', true, true);
protected function include_tabs() { $this->kinds = wpl_flex::get_kinds(NULL); /** include the layout **/ parent::render($this->tpl_path, 'internal_tabs'); }
" name="<?php echo $this->get_field_name('title'); ?> " value="<?php echo $instance['title']; ?> " onblur="wplSearchWidget<?php echo $this->number; ?> .saveChange(this);" /> </div> <div class="wpl-widget-row"> <?php $kinds = wpl_flex::get_kinds(''); ?> <label for="<?php echo $this->get_field_id('kind'); ?> "><?php echo __('Kind', WPL_TEXTDOMAIN); ?> </label> <select id="<?php echo $this->get_field_id('kind'); ?> " name="<?php echo $this->get_field_name('kind'); ?> "