<?php
/* Smarty version 4.3.2, created on 2024-05-31 18:01:26
  from '/var/www/html/public/legacy/modules/Emails/include/ComposeView/ComposeViewToolbar.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_665a10765b3352_39677949',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '41388720c1577b8f0db92b3be2b159a61d94139f' => 
    array (
      0 => '/var/www/html/public/legacy/modules/Emails/include/ComposeView/ComposeViewToolbar.tpl',
      1 => 1709743135,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_665a10765b3352_39677949 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_button.php','function'=>'smarty_function_sugar_button',),));
?>
<div class="panel panel-default panel-email-compose">
    <div class="panel-body">
        {*<input title="Save" accesskey="a" class="button primary" onclick="" type="submit" name="button" value="Save" id="SAVE">*}
        {*<input title="Cancel [Alt+l]" accesskey="l" class="button" onclick="SUGAR.ajaxUI.loadContent('index.php?action=DetailView&amp;module=FP_events&amp;record=cb676657-b74f-c928-9967-58c146121ee9'); return false;" name="button" value="Cancel" type="button" id="CANCEL">*}
         <?php if (!empty($_smarty_tpl->tpl_vars['form']->value) && !empty($_smarty_tpl->tpl_vars['form']->value['buttons'])) {?>
            <div class="custom-buttons">
                 <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['form']->value['buttons'], 'button', false, 'val');
$_smarty_tpl->tpl_vars['button']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['val']->value => $_smarty_tpl->tpl_vars['button']->value) {
$_smarty_tpl->tpl_vars['button']->do_else = false;
?>
                    <?php echo smarty_function_sugar_button(array('module'=>((string)$_smarty_tpl->tpl_vars['module']->value),'id'=>$_smarty_tpl->tpl_vars['button']->value,'form_id'=>((string)$_smarty_tpl->tpl_vars['form_id']->value),'view'=>((string)$_smarty_tpl->tpl_vars['view']->value)),$_smarty_tpl);?>

                 <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
            </div>
         <?php }?>
    </div>
</div>
<?php }
}
