PHP Classes

File: view/melis-cms/sites/render-tool-sites-modal-add.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   view/melis-cms/sites/render-tool-sites-modal-add.phtml   Download  
File: view/melis-cms/sites/render-tool-sites-modal-add.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis CMS
Content management system that provides its tools
Author: By
Last change:
Date: 1 year ago
Size: 4,066 bytes
 

Contents

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

?>

<div class="modal-content" <?= $id; ?> data-melisKey="<?= $this->melisKey; ?>">
    <div class="modal-body padding-none" id="modal-site-creation">
        <div class="wizard">
            <div class="widget widget-tabs widget-wizard-pills widget-tabs-gray">
<!-- <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->translate('tr_melis_cms_sites_tool_create'); ?><!--</a></li>-->
<!-- </ul>-->
<!-- </div>-->
                <!-- Widget heading -->
                <div class="widget-head bg-gray">
                    <ul class="create-site-step">
                        <li class="status">
                            <span class="r">Step <span class="step-current">1</span> of <span class="steps-total">5</span></span><span class="r text-primary step-name"><?= $this->translate('tr_melis_cms_sites_tool_add_header_title_multi_lingual');?></span>
                        </li>
                        <li class="step_1 active steps_number_indicator" data-stepName="<?= $this->translate('tr_melis_cms_sites_tool_add_header_title_multi_lingual');?>"><a>1</a></li>
                        <li class="step_2 steps_number_indicator" data-stepName="<?= $this->translate('tr_melis_cms_sites_tool_add_header_title_lang');?>"><a>2</a></li>
                        <li class="step_3 steps_number_indicator" data-stepName="<?= $this->translate('tr_melis_cms_sites_tool_add_header_title_domains');?>"><a>3</a></li>
                        <li class="step_4 steps_number_indicator" data-stepName="Modules"><a>4</a></li>
                        <li class="step_5 steps_number_indicator" data-stepName="<?= $this->translate('tr_melis_cms_sites_tool_add_header_title_site_summary');?>"><a>5</a></li>
                    </ul>
                </div>
                <!-- // Widget heading END -->
                <div class="widget-body innerAll inner-2x">
                    <div id="siteAddAlert" class="alert alert-danger hidden">
                        <?= $this->translate('tr_melis_cms_sites_tool_add_create_site_required_field'); ?>
</div>
                    <div class="owl-carousel owl-theme owl-loaded sites-steps-owl">
                        <?php
                           
if (!empty($this->zoneconfig['interface'])) {
                               
$step = 1;
                                foreach (
$this->zoneconfig['interface'] as $keyConfig => $menuConfig) {
                                    echo
'<div data-step="step_'.$step.'" class="item">' . $this->$keyConfig . '</div>';
                                   
$step++;
                                }
                            }
                       
?>
</div>
                    <div class="footer-modal d-flex flex-row justify-content-between">
                        <button type="button" data-dismiss="modal" class="btn btn-danger"><?php echo $this->translate('tr_meliscms_tool_sites_cancel')?></button>
                        <div class="prev-next-finish">
                            <button type="button" class="btn btn-success" id="btn-prev-step"><?php echo $this->translate('tr_meliscms_tool_sites_prev') ?></button>
                            <button type="button" class="btn btn-success" id="btn-next-step"><?php echo $this->translate('tr_meliscms_tool_sites_next') ?></button>
                            <button type="button" class="btn btn-success" id="btn-finish-step"><?php echo $this->translate('tr_meliscms_tool_sites_finish') ?></button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>