PHP Classes

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

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Templating Plugin Creator   view/melis-templating-plugin-creator/templating-plugin-creator/render-form.phtml   Download  
File: view/melis-templating-plugin-creator/templating-plugin-creator/render-form.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,444 bytes
 

Contents

Class file image Download
<div id="<?php echo $this->id; ?>" class="steps-content">
    <h3><?php echo $this->translate('tr_melistemplatingplugincreator_title_step_'.$curStep) ?></h3>
    <p><?= $curStep == 6 ? ($this->data['pluginDestination'] == 'new_module' ? $this->translate('tr_melistemplatingplugincreator_desc_step_6_new_module') : $this->translate('tr_melistemplatingplugincreator_desc_step_6')) : $this->translate('tr_melistemplatingplugincreator_desc_step_'.$curStep) ?></p>
   
    <?php
       
if($curStep != 5){ ?>
<div class="row">
                 <?php
                   
echo $this->partial('melis-templating-plugin-creator/partial/render-step'.$curStep, array(
                       
'stepForm' => $this->stepForm,
                       
'data' => $this->data
                    
));
                
?>
            </div>
    <?php } else { ?>
<?php echo $this->partial('melis-templating-plugin-creator/partial/render-step'.$curStep, array(
                   
'stepForm' => $this->stepForm,
                   
'data' => $this->data,
                 ));
           }
   
?>
   
    <div class='d-flex justify-content-between'>
        <div style="text-align: left;">
            <?php
               
if ($curStep != 1) { ?>
<button class="btn btn-default btn-steps" data-curstep="<?=$this->curStep?>" data-nextstep="<?=$this->curStep-1?>"><?php echo $this->translate('tr_melistemplatingplugincreator_back') ?></button>
            <?php }
           
?>
</div>
      
       <?php
       
if ($this->curStep == 6) { ?>
<div style="text-align: right;">
                <button class="btn btn-default btn-steps tpc-validate" data-curstep="<?=$this->curStep?>" data-nextstep="<?=$this->curStep?>" data-validate="true"><?php echo $this->translate('tr_melistemplatingplugincreator_finish_and_create_the_plugin') ?></button>
            </div>
           
        <?php } else { ?>
            <div style="text-align: right;">
                <button class="btn btn-default btn-steps tpc-validate" data-curstep="<?=$this->curStep?>" data-nextstep="<?=$this->nextStep?>" data-validate="true"><?php echo $this->translate('tr_melistemplatingplugincreator_next') ?></button>
            </div>
       <?php }
      
?>
    </div>
</div>