PHP Classes

File: view/melis-cms/tool-template/modal-tab-tool-template-add.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis CMS   view/melis-cms/tool-template/modal-tab-tool-template-add.phtml   Download  
File: view/melis-cms/tool-template/modal-tab-tool-template-add.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: 709 bytes
 

Contents

Class file image Download
<div id="templateaddformalert"></div>
<p class="modal-text-info"><?= $this->translate('tr_meliscms_tool_template_info')?> </p>
<?php
$form
= $this->meliscms_tool_template_add;
echo
$this->form()->openTag($form);
echo
$this->melisFieldCollection($form);
echo
$this->form()->closeTag();
?>


<?php
echo $this->melisModalInvoker()->render(
    array(
       
'text' => '<i class="fa fa-times"></i> '.$this->translate('tr_meliscms_common_close'),
       
'class' => 'btn btn-danger float-left'
   
), 'dismiss');

?>

<button class="btn btn-success float-right" onclick="toolTemplate.addNewTemplate()" id="btnTemplateAdd"><i class="fa fa-plus"></i> <?= $this->translate('tr_meliscms_template_add'); ?></button>