PHP Classes

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

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

Contents

Class file image Download
<div id="templateupdateformalert"></div>
<span id="tplid" class="hidden"></span>
<p class="modal-text-info"><?= $this->translate('tr_meliscms_tool_template_info')?> </p>
<?php
$form
= $this->meliscms_tool_template_edit;

/** Adding appropriate error message for disabled/uninstalled templating engine */
$tplType = $form->get('tpl_type');
$tplType->setLabel($tplType->getLabel() . "<span id='tpl-type-error' style='display: none;'> (" . $this->translate('tr_meliscms_tool_templates_tpl_typ_module_ko') . ")</span>");

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');

?>

<a class="btn btn-success float-right" id="btnTemplateUpdate"><i class="fa fa-save"></i> <?= $this->translate('tr_meliscms_template_save'); ?></a>