PHP Classes

File: view/melis-cms/page/render-page.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   view/melis-cms/page/render-page.phtml   Download  
File: view/melis-cms/page/render-page.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: 696 bytes
 

Contents

Class file image Download
<?php

    $id
= '';
    if (!empty(
$this->zoneconfig['conf']['id']) && !$this->prefixId)
       
$id = ' id="' . $this->zoneconfig['conf']['id'] . '"';
    else
       
$id = ' id="' . $this->idPage . '_' . $this->zoneconfig['conf']['id'] . '"';
   
$data_melisKey = $this->melisKey;
   
?>
<div data-melisKey='<?= $data_melisKey; ?>'<?= $id; ?> class="tab-pane container-level-a">
    <?php
       
if ($this->isAccessible && !empty($this->zoneconfig['interface']))
        {
            foreach (
$this->zoneconfig['interface'] as $keyConfig => $menuConfig)
            {
                echo
$this->$keyConfig;
            }
        }
       
        if (!
$this->isAccessible)
            echo
$this->translate('tr_meliscms_page_error_Your rights don\'t allow you to see this page');
       
   
?>
</div>