PHP Classes

File: view/melis-templating-plugin-creator/templating-plugin-creator/render-tool-content.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Templating Plugin Creator   view/melis-templating-plugin-creator/templating-plugin-creator/render-tool-content.phtml   Download  
File: view/melis-templating-plugin-creator/templating-plugin-creator/render-tool-content.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis Templating Plugin Creator
Create page template plugins for the Melis CMS
Author: By
Last change:
Date: 1 year ago
Size: 2,295 bytes
 

Contents

Class file image Download
<?php
    $id
= $this->zoneconfig['conf']['id'];
   
$melisKey = $this->zoneconfig['conf']['melisKey'];
?>
<div class="innerAll spacing-x2 melis-templating-plugin-creator" id="<?php echo $id ?>" data-melisKey="<?php echo $melisKey; ?>">
    <div class="innerAll spacing-x2">
       <!-- Tool Content-->
       <?php if (empty($this->fPErr)){ ?>
<div class="wizard wizard-design">
                <!-- Wizard heading -->
                <div class="wizard-head melis-templating-plugin-creator-steps">
                    <ul class="bwizard-steps">
                        <?php
                           
if (!empty($this->toolSteps)) {
                               
$ctr = 0;
                                foreach (
$this->toolSteps as $key => $config) {
                                   
$clss = !$ctr++ ? 'class="active"' : '';
                                    echo
'<li '.$clss.' id="tpc_'.$key.'"><span><i class="fa '.$config['icon'].' fa-lg" aria-hidden="true"></i> '.$this->translate($config['name']).'</span></li>';
                                }
                            }
                       
?>
</ul>
                </div>
                <!-- // Wizard heading END -->
                <div class="widget">
                    <div class="widget-body">
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab1">
                                <?php
                                   
echo $this->melistemplatingplugincreator_steps;
                               
?>
</div>
                        </div>
                    </div>
                </div>
            </div>
        <?php } else { ?>
<div class="alert alert-warning">
                <h3><?php echo $this->translate('tr_melistemplatingplugincreator_fp_title') ?></h3>
                <p><?php echo $this->translate('tr_melistemplatingplugincreator_fp_msg') ?></p>
                <br>
                <?php foreach ($this->fPErr as $err) { ?>
<p style="display: list-item;list-style-type: disc;list-style-position: inside;"><?php echo $this->translate($err) ?></p>
                <?php } ?>
</div>
        <?php } ?>
</div>
</div>