PHP Classes

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

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

Contents

Class file image Download
<?php
    $id
= '';
    if (!empty(
$this->zoneconfig['conf']['id']))
       
$id = ' id="' . $this->idPage . '_' . $this->zoneconfig['conf']['id'] . '"';
   
$data_melisKey = $this->melisKey;
?>
<li<?= $id; ?> data-melisKey='<?= $data_melisKey; ?>'>
    <a class="" href="/id/<?= $this->idPage; ?>/preview?melisSite=<?= $this->namespace; ?>" target="_blank">
        <span class="fa fa-eye"></span>
        <span><?php echo $this->translate('tr_meliscms_page_actions_Preview') ?></span>
    </a>
</li>