PHP Classes

File: view/melis-dashboard-plugin-creator/dashboard-plugin-creator/partial/render-step5.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis PHP Dashboard Plugin Creator   view/melis-dashboard-plugin-creator/dashboard-plugin-creator/partial/render-step5.phtml   Download  
File: view/melis-dashboard-plugin-creator/dashboard-plugin-creator/partial/render-step5.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis PHP Dashboard Plugin Creator
Plugin to create dashboards for the Melis platform
Author: By
Last change:
Date: 2 years ago
Size: 1,331 bytes
 

Contents

Class file image Download
<div class="col-xs-12 col-md-9">
    <div class="tab-content">
        <div class="row">
            <div class="col-md-12">
              <?php
                    $form
= $this->stepForm;
                    echo
$this->form()->openTag($form);

                   
//get the activate plugin field
                   
$dpcActivatePluginField = $form->get('dpc_activate_plugin');

                   
$form->prepare();
                    echo
$this->form()->openTag($form);
                   
?>

                    <div class="melis-dpc-final-content">
                        <p>
                            <i class="fa fa-check-square-o text-success fa-lg"></i>
                            <input type="checkbox" name="<?=$dpcActivatePluginField->getAttribute('name')?>" value="1" checked class = "<?=$dpcActivatePluginField->getAttribute('class')?>"> <?=$dpcActivatePluginField->getOption('label')?>
                        </p>
                    </div>
                <?php

               
echo $this->form()->closeTag();
               
?>
            </div>
        </div>
        <p><?=$this->translate('tr_melisdashboardplugincreator_activate_plugin_note')?></p>
    </div>
</div>