Ejemplo n.º 1
0
<?php 
}
do_action('frm_entry_form', $form, $form_action, $errors);
global $frm_vars;
// close open section div
if (isset($frm_vars['div']) && $frm_vars['div']) {
    echo "</div>\n";
    unset($frm_vars['div']);
}
// close open collapsible toggle div
if (isset($frm_vars['collapse_div']) && $frm_vars['collapse_div']) {
    echo "</div>\n";
    unset($frm_vars['collapse_div']);
}
echo FrmFormsHelper::replace_shortcodes($values['after_html'], $form);
if (has_action('frm_entries_footer_scripts')) {
    ?>
<script type="text/javascript">
<?php 
    do_action('frm_entries_footer_scripts', $values['fields'], $form);
    ?>
</script><?php 
}
if (FrmForm::show_submit($form)) {
    unset($values['fields']);
    FrmFormsHelper::get_custom_submit($values['submit_html'], $form, $submit, $form_action, $values);
}
?>
</fieldset>
</div>