<?php
/* Smarty version 4.3.2, created on 2024-09-09 07:17:48
  from 'C:\xampp7.4\htdocs\SuiteCRM8\public\legacy\include\get_form_header.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_66de84fc3401a6_24039556',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'c90208b17711d06209b3ab98af9a7c4f2a29d146' => 
    array (
      0 => 'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\get_form_header.tpl',
      1 => 1723455770,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66de84fc3401a6_24039556 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_assignInScope('is_min_max', strpos($_smarty_tpl->tpl_vars['other_text']->value,"_search.gif"));
if ($_smarty_tpl->tpl_vars['is_min_max']->value !== false) {?>
    <?php $_smarty_tpl->_assignInScope('form_title', ((string)$_smarty_tpl->tpl_vars['other_text']->value)." ".((string)$_smarty_tpl->tpl_vars['form_title']->value));
}?>

<table width="100%" cellpadding="0" cellspacing="0" border="0" class="formHeader h3Row document-header">
    <tr>
        <td nowrap>
            <h3><span><?php echo $_smarty_tpl->tpl_vars['form_title']->value;?>
</span></h3>
        </td>

        <?php $_smarty_tpl->_assignInScope('keywords', "array('class=\"button\"', 'class=\"button\"', 'class=button', '</form>')");?>
        <?php $_smarty_tpl->_assignInScope('match', false);?>

        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['keywords']->value, 'left');
$_smarty_tpl->tpl_vars['left']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['left']->value) {
$_smarty_tpl->tpl_vars['left']->do_else = false;
?>
            <?php if ($_smarty_tpl->tpl_vars['other_text']->value) {?>
                <?php $_smarty_tpl->_assignInScope('found_match', strpos($_smarty_tpl->tpl_vars['left']->value,$_smarty_tpl->tpl_vars['other_text']->value));?>
                <?php if ($_smarty_tpl->tpl_vars['found_match']->value !== false) {?>
                    <?php $_smarty_tpl->_assignInScope('match', true);?>
                <?php }?>
            <?php }?>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

        <?php if ($_smarty_tpl->tpl_vars['other_text']->value && $_smarty_tpl->tpl_vars['match']->value == true) {?>
                <td colspan="10" width="100%"><IMG height="1" width="1" src="<?php echo $_smarty_tpl->tpl_vars['blankImageURL']->value;?>
" alt=""></td>
            </tr>
                <tr>
                    <td width="100%" align="left" valign="middle" nowrap style="padding-bottom: 2px;"><?php echo $_smarty_tpl->tpl_vars['other_text']->value;?>
</td>
                    <?php if ($_smarty_tpl->tpl_vars['show_help']->value) {?>
                        <td align="right" nowrap>
                            <?php if ($_smarty_tpl->tpl_vars['REQUEST']->value['action'] != "EditView") {?>
                                <a href="index.php?<?php echo $_smarty_tpl->tpl_vars['GLOBALS']->value['request_string'];?>
" class="utilsLink">
                                    <img src="<?php echo $_smarty_tpl->tpl_vars['printImageURL']->value;?>
" alt="<?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LBL_PRINT'];?>
" border="0" align="absmiddle">
                                </a>&nbsp;
                                <a href="index.php?<?php echo $_smarty_tpl->tpl_vars['GLOBALS']->value['request_string'];?>
" class="utilsLink">
                                    <?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LNK_PRINT'];?>

                                </a>
                            <?php }?>
                            &nbsp;
                            <a href="index.php?module=Administration&action=SupportPortal&view=documentation&version=<?php echo $_smarty_tpl->tpl_vars['sugar_version']->value;?>
&edition=<?php echo $_smarty_tpl->tpl_vars['sugar_flavor']->value;?>
&lang=<?php echo $_smarty_tpl->tpl_vars['current_language']->value;?>
&help_module=<?php echo $_smarty_tpl->tpl_vars['current_module']->value;?>
&help_action=<?php echo $_smarty_tpl->tpl_vars['current_action']->value;?>
&key=<?php echo $_smarty_tpl->tpl_vars['server_unique_key']->value;?>
"
                               class="utilsLink" target="_blank">
                                <img src="<?php echo $_smarty_tpl->tpl_vars['helpImageURL']->value;?>
" alt="Help" border="0" align="absmiddle">
                            </a>&nbsp;
                            <a href="index.php?module=Administration&action=SupportPortal&view=documentation&version=<?php echo $_smarty_tpl->tpl_vars['sugar_version']->value;?>
&edition=<?php echo $_smarty_tpl->tpl_vars['sugar_flavor']->value;?>
&lang=<?php echo $_smarty_tpl->tpl_vars['current_language']->value;?>
&help_module=<?php echo $_smarty_tpl->tpl_vars['current_module']->value;?>
&help_action=<?php echo $_smarty_tpl->tpl_vars['current_action']->value;?>
&key=<?php echo $_smarty_tpl->tpl_vars['server_unique_key']->value;?>
"
                               class="utilsLink" target="_blank">
                                <?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LNK_HELP'];?>

                            </a>
                        </td>
                <?php }?>
        <?php } else { ?>
                <?php if ($_smarty_tpl->tpl_vars['other_text']->value && $_smarty_tpl->tpl_vars['is_min_max']->value == false) {?>
                    <td width="20"><img height="1" width="20" src="<?php echo $_smarty_tpl->tpl_vars['blankImageURL']->value;?>
" alt=""></td>
                    <td valign="middle" nowrap width="100%" class="action-button"><?php echo $_smarty_tpl->tpl_vars['other_text']->value;?>
</td>
                <?php } else { ?>
                    <td width="100%"><img height="1" width="1" src="<?php echo $_smarty_tpl->tpl_vars['blankImageURL']->value;?>
" alt=""></td>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['show_help']->value) {?>
                    <td align="right" nowrap>
                        <?php if ($_smarty_tpl->tpl_vars['REQUEST']->value['action'] != "EditView") {?>
                        <a href="index.php?<?php echo $_smarty_tpl->tpl_vars['GLOBALS']->value['request_string'];?>
" class="utilsLink">
                            <img src="<?php echo $_smarty_tpl->tpl_vars['printImageURL']->value;?>
" alt="<?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LBL_PRINT'];?>
" border="0" align="absmiddle">
                        </a>
                        &nbsp;
                        <a href="index.php?<?php echo $_smarty_tpl->tpl_vars['GLOBALS']->value['request_string'];?>
" class="utilsLink">
                            <?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LNK_PRINT'];?>
</a>
                        <?php }?>
                        &nbsp;
                        <a href="index.php?module=Administration&action=SupportPortal&view=documentation&version=<?php echo $_smarty_tpl->tpl_vars['sugar_version']->value;?>
&edition=<?php echo $_smarty_tpl->tpl_vars['sugar_flavor']->value;?>
&lang=<?php echo $_smarty_tpl->tpl_vars['current_language']->value;?>
&help_module=<?php echo $_smarty_tpl->tpl_vars['current_module']->value;?>
&help_action=<?php echo $_smarty_tpl->tpl_vars['current_action']->value;?>
&key=<?php echo $_smarty_tpl->tpl_vars['server_unique_key']->value;?>
"
                           class="utilsLink" target="_blank">
                            <img src="<?php echo $_smarty_tpl->tpl_vars['helpImageURL']->value;?>
" alt="<?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LBL_HELP'];?>
" border="0" align="absmiddle">
                        </a>&nbsp;
                        <a href="index.php?module=Administration&action=SupportPortal&view=documentation&version=<?php echo $_smarty_tpl->tpl_vars['sugar_version']->value;?>
&edition=<?php echo $_smarty_tpl->tpl_vars['sugar_flavor']->value;?>
&lang=<?php echo $_smarty_tpl->tpl_vars['current_language']->value;?>
&help_module=<?php echo $_smarty_tpl->tpl_vars['current_module']->value;?>
&help_action=<?php echo $_smarty_tpl->tpl_vars['current_action']->value;?>
&key=<?php echo $_smarty_tpl->tpl_vars['server_unique_key']->value;?>
"
                           class="utilsLink" target="_blank"><?php echo $_smarty_tpl->tpl_vars['app_strings']->value['LNK_HELP'];?>
</a>
                    </td>
                <?php }?>
        <?php }?>
    </tr>
</table>

<?php }
}
