PHP Classes

File: view/melis-cms/mini-template-menu-manager/render-menu-manager-tool-add-category-header.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   view/melis-cms/mini-template-menu-manager/render-menu-manager-tool-add-category-header.phtml   Download  
File: view/melis-cms/mini-template-menu-manager/render-menu-manager-tool-add-category-header.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: 1,645 bytes
 

Contents

Class file image Download
<div id="<?= $this->zoneconfig['conf']['id'] ?>" class="card-heading" data-melisKey="<?= $this->zoneconfig['conf']['melisKey'] ?>">
    <div class="card-title" style="margin-top: inherit; margin-bottom: 0;">
        <div class="card-heading-buttons float-right" style="margin-right: 25px;">
            <!-- Header - Save button -->
            <div class="d-flex justify-content-end">
                <button class="btn btn-success" id="id_meliscms_mini_template_menu_manager_save_btn">
                    <i class="fa fa-save"></i>
                    <?= $this->translate('tr_meliscms_mini_template_menu_manager_tool_add_category_save') ?>
</button>
            </div>
        </div>
        <a class="accordion-toggle" data-toggle="collapse" data-target="#id_meliscms_mini_template_menu_manager_tool_add_category_body">
            <?php if ($this->formType == 'add') : ?>
<h1 class="content-heading"><?= $this->translate('tr_meliscms_mini_template_menu_manager_tool_add_category_header') ?>
<span class="custom-mtpl-desc"><?= $this->translate('tr_meliscms_mini_template__menu_manager_tool_header_sub_title') ?></span>
                </h1>
            <?php else : ?>
<?php
                    $exploded_id
= explode('-', $this->id, 2);
               
?>
<h1 id="menu-manager-category-id" class="content-heading" data-id="<?= $exploded_id[0] ?>">
                    <?= $this->translate('tr_meliscms_mini_template_header_edit') ?> "<?= htmlspecialchars($exploded_id[1]) ?>"
                </h1>
            <?php endif ?>
</a>
    </div>
</div>