PHP Classes

File: view/melis-cms/tool-template/render-tool-template-header-refresh.phtml

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

Contents

Class file image Download
<?php
$id
= $this->zoneconfig['conf']['id'];
$refreshTable = $this->melisModalInvoker()->render(array(
   
'id' => $id,
   
'class' => 'btn btn-info btn-sm float-right visible-lg hidden-md hidden-xs hidden-sm',
   
'text' => '<i class="fa fa-fw fa-refresh"></i> ',
   
'style' => 'margin-bottom:15px',
   
'onclick' => "toolTemplate.refreshTable()",
   
'title' => $this->translate('tr_meliscore_common_refresh'),
   
'data-melisKey' => $this->melisKey,
),
'non-modal');

$refreshTableDesktop = $this->melisModalInvoker()->render(array(
   
'id' => $id,
   
'class' => 'btn btn-info btn-sm float-right hidden-lg visible-md visible-xs visible-sm col-xs-12',
   
'text' => '<i class="fa fa-fw fa-refresh"></i> '.$this->translate('tr_meliscore_common_refresh'),
   
'style' => 'margin-bottom:15px',
   
'onclick' => "toolTemplate.refreshTable()",
   
'title' => $this->translate('tr_meliscore_common_refresh'),
   
'data-melisKey' => $this->melisKey,
),
'non-modal');

echo
$refreshTableDesktop.$refreshTable;
?>