PHP Classes

File: view/melis-cms/mini-template-menu-manager/render-menu-manager-tool-body-right.phtml

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

Contents

Class file image Download
<div
    id="<?= $this->zoneconfig['conf']['id'] ?>"
    data-melisKey="<?= $this->zoneconfig['conf']['melisKey'] ?>"
    class="col-xs-12 col-lg-8"
>
    <!-- Languages -->
    <div class="row mtpl-menu-buttons">
        <div class="mini-template-menu-manager-lang filter-dropdown">
            <a
                href="#"
                class="dropdown-toggle category-list-lang-dropdown disabled"
                data-toggle="dropdown"
                data-locale="<?= $this->current_lang['lang_cms_name'] ?>"
                title="<?= $this->translate('tr_meliscms_mini_template_menu_manager_select_site_first_btn_title') ?>"
            >
                <i class="fa fa-language"></i>
                <span class="filter-key"><?= $this->current_lang['lang_cms_name'] ?></span>
                <span class="caret"></span>
            </a>
            <ul class="dropdown-menu mini-template-menu-manager-lang-select" style="padding: 0px;">
                <?php foreach ($this->languages as $lang):?>
<li style="padding-top: 3px; padding-bottom: 3px">
                        <a data-locale="<?= $lang['lang_cms_locale']?>">
                            <span><?= $lang['lang_cms_name']?></span>
                            <span class="float-right">
                                <img src="/MelisCms/images/lang-flags/<?= $lang['lang_cms_locale']?>.png" class="imgDisplay" width="24" height="24">
                            </span>
                        </a>
                    </li>
                <?php endforeach;?>
</ul>
        </div>
        <div class="mtpl-menu-add-category">
            <button
                    class="btn btn-success add-m-tpl-category"
                    title="<?= $this->translate('tr_meliscms_mini_template_menu_manager_select_site_first_btn_title') ?>"
                    style="height: 41px;"
                    disabled="disabled"
            >
                <i class="fa fa-plus"></i>
                <?= $this->translate('tr_meliscms_mini_template_menu_manager_tool_jstree_add_category') ?>
</button>
        </div>
        <div class="mtpl-menu-add-template">
            <button
                    class="btn btn-success add-m-tpl-plugin"
                    title="<?= $this->translate('tr_meliscms_mini_template_menu_manager_select_site_first_btn_title') ?>"
                    style="height: 41px;"
                    disabled="disabled"
            >
                <i class="fa fa-plus"></i>
                <?= $this->translate('tr_meliscms_mini_template_menu_manager_tool_jstree_add_minitemplate') ?>
</button>
        </div>
    </div>
    <!-- Languages End -->
    <div class="cat-div" style="display: inline-block;">
        <div class="alert alert-warning hidden" id="searchNoResult">"<strong></strong>" <?= $this->translate('tr_meliscmscategory_search_not_found')?></div>
        <div class="alert alert-warning " id="mini-template-tree-no-data" style="display: none;"><strong><?= $this->translate('tr_meliscms_mini_template_no_data')?></strong></div>
        <div id="mini-template-category-tree" data-langlocale="<?= $this->current_lang['lang_cms_locale'] ?>"></div>
    </div>
</div>