示例#1
0
<?php

/** no direct access **/
defined('_WPLEXEC') or die('Restricted access');
?>
<div class="pwizard-section">
        <?php 
$wpl_flex = new wpl_flex();
$wpl_flex->kind = $this->kind;
$wpl_flex->generate_wizard_form($this->fields, $this->values, $this->property_id, $this->finds);
?>
    <?php 
/** including a custom file **/
$this->_wpl_import($this->tpl_path . '.custom.listing' . $this->field_category->id);
?>
</div>
示例#2
0
    <?php 
}
?>
    
    <div class="panel-wp margin-top-1p">
        <h3><?php 
echo __('Profile', WPL_TEXTDOMAIN);
?>
</h3>
        <div class="panel-body">
            <div class="pwizard-panel">
                <div class="pwizard-section">
                    <?php 
$wpl_flex = new wpl_flex();
$wpl_flex->kind = $this->kind;
$wpl_flex->generate_wizard_form($this->user_fields, $this->user_data, $this->user_data['id']);
?>
                </div>
                <div class="text-left finilize-btn">
                    <button class="wpl-button button-1" onclick="wpl_profile_finalize(<?php 
echo $this->user_data['id'];
?>
);" id="wpl_profile_finalize_button" type="button" class="button button-primary"><?php 
echo __('Finalize', WPL_TEXTDOMAIN);
?>
</button>
                    <span id="wpl_profile_wizard_ajax_loader"></span>
                </div>
            </div>
        </div>
    </div>