PHP Classes

File: view/melis-cms-prospects/melis-cms-prospects-themes/tool-modal-content.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS Prospects   view/melis-cms-prospects/melis-cms-prospects-themes/tool-modal-content.phtml   Download  
File: view/melis-cms-prospects/melis-cms-prospects-themes/tool-modal-content.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis CMS Prospects
Melis CMS module to track business prospects
Author: By
Last change:
Date: 1 year ago
Size: 2,189 bytes
 

Contents

Class file image Download
<?php
$name
= '';
$id = '';
if (!empty(
$this->zoneconfig['conf']['name']))
   
$name = $this->zoneconfig['conf']['name'];
if (!empty(
$this->zoneconfig['conf']['id']))
   
$id = $this->zoneconfig['conf']['id'];


?>
<div class="modal-content" id="<?= $id; ?>" data-melisKey="<?= $this->melisKey; ?>">
    <div class="modal-body padding-none">
        <div class="wizard">
            <div class="widget widget-tabs widget-tabs-double widget-tabs-responsive margin-none border-none">
                <div class="widget-head">
                    <ul class="nav nav-tabs">
                        <li class="active"><a href="#<?php echo $this->zoneconfig['conf']['id'] ?>" class="glyphicons <?php echo ($this->id) ? 'pencil' : 'plus'?>" data-toggle="tab" aria-expanded="true"><i></i> <?php echo $this->title ?></a></li>
                    </ul>
                </div>
                <div class="widget-body innerAll inner-2x">
                    <div class="tab-content">
                        <div class="tab-pane active" id="<?php echo $id ?>">
                            <?php
                                $form
= clone $this->form;
                               
$form->prepare();
                                echo
$this->form()->openTag($form);
                                echo
$this->melisFieldCollection($form);
                           
?>
<div class="footer-modal d-flex flex-row justify-content-between">
                                <button data-dismiss="modal" class="btn btn-danger"><i class="fa fa-times"></i> <?php echo $this->translate('tr_meliscore_common_close')?></button>
                                <button type="submit" class="btn btn-success" id="btn-save-theme"><i class="fa fa-save"></i> <?php echo $this->translate('tr_meliscore_tool_gen_save') ?></button>
                            </div>
                            <div class="clearfix"></div>
                            <?php
                               
echo $this->form()->closeTag();
                           
?>
</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>