PHP Classes

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

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   view/melis-cms/page/render-pageaction-clear.phtml   Download  
File: view/melis-cms/page/render-pageaction-clear.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: 792 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<?php echo $id; ?> data-melisKey='<?php echo $data_melisKey; ?>'>
    <?php if ($this->hasSavedVersion):?>
<a class="btn btn-default melis-clearpage" data-pagenumber="<?php echo $this->idPage; ?>" data-confirmmsg="<?php echo $this->confirmMsg ?>">
            <i class="fa fa-eraser"></i>
            <span><?php echo $this->translate($this->zoneconfig['conf']['name']) ?></span>
        </a>
    <?php else:?>
<a class="btn btn-default" disabled>
            <i class="fa fa-eraser"></i>
            <span><?php echo $this->translate($this->zoneconfig['conf']['name']) ?></span>
        </a>
    <?php endif;?>
</li>