/** * Show footer for new member * * @return void */ function llxFooterSurvey() { print '</div>'; printCommonFooter('public'); dol_htmloutput_events(); print "</body>\n"; print "</html>\n"; }
setEventMessage($accountfrom->error . ' ' . $accountto->error, "errors"); $db->rollback(); } } else { setEventMessage($langs->trans("ErrorFromToAccountsMustDiffers"), "errors"); } } } /* * Affichage */ $helpurl = 'EN:Module_DoliPos|FR:Module_DoliPos_FR|ES:Módulo_DoliPos'; llxHeader('', '', $helpurl); $html = new Form($db); print_fiche_titre($langs->trans("BankTransfer")); dol_htmloutput_events(); print $langs->trans("TransferDesc"); print "<br><br>"; print "<form name='add' method=\"post\" action=\"transfers.php\">"; print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">'; print '<input type="hidden" name="action" value="add">'; print '<table class="noborder" width="100%">'; print '<tr class="liste_titre">'; print '<td>' . $langs->trans("TransferFrom") . '</td><td>' . $langs->trans("TransferTo") . '</td><td>' . $langs->trans("Date") . '</td><td>' . $langs->trans("Description") . '</td><td>' . $langs->trans("Amount") . '</td>'; print '</tr>'; $var = false; print '<tr ' . $bc[$var] . '><td>'; print $html->select_comptes('', 'account_from', 0, '', 1); print "</td>"; print "<td>\n"; print $html->select_comptes('', 'account_to', 0, '', 1);
/** * Show HTML footer * Close div /DIV data-role=page + /DIV class=fiche + /DIV /DIV main layout + /BODY + /HTML. * * @param string $comment A text to add as HTML comment into HTML generated page * @param string $zone 'private' (for private pages) or 'public' (for public pages) * @return void */ function llxFooter($comment = '', $zone = 'private') { global $conf, $langs; // Global html output events ($mesgs, $errors, $warnings) dol_htmloutput_events(); // Core error message if (defined("MAIN_CORE_ERROR") && constant("MAIN_CORE_ERROR") == 1) { // Ajax version if ($conf->use_javascript_ajax) { $title = img_warning() . ' ' . $langs->trans('CoreErrorTitle'); print ajax_dialog($title, $langs->trans('CoreErrorMessage')); } else { $msg = img_warning() . ' ' . $langs->trans('CoreErrorMessage'); print '<div class="error">' . $msg . '</div>'; } define("MAIN_CORE_ERROR", 0); } print "\n\n"; print '</div> <!-- End div class="fiche" -->' . "\n"; if (!empty($conf->dol_use_jmobile)) { print '</div>'; } // end data-role="page" if (empty($conf->dol_use_jmobile) && !empty($conf->use_javascript_ajax) && !empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) { print '</div></div> <!-- end main layout -->' . "\n"; } if (empty($conf->dol_hide_leftmenu)) { print '</div> <!-- End div id-right -->'; } // End div id-right print "\n"; if ($comment) { print '<!-- ' . $comment . ' -->' . "\n"; } printCommonFooter($zone); //var_dump($langs); // Uncommment to see the property _tab_loaded to see which language file were loaded if (empty($conf->dol_hide_leftmenu) && empty($conf->dol_use_jmobile) && empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) { print '</div> <!-- End div id-container -->' . "\n"; } // End div container print "</body>\n"; print "</html>\n"; }
/** * Show HTML footer * Close div /DIV data-role=page + /DIV class=fiche + /DIV /DIV main layout + /BODY + /HTML. * If global var $delayedhtmlcontent was filled, we output it just before closing the body. * * @param string $comment A text to add as HTML comment into HTML generated page * @param string $zone 'private' (for private pages) or 'public' (for public pages) * @return void */ function llxFooter($comment = '', $zone = 'private') { global $conf, $langs; global $delayedhtmlcontent; // Global html output events ($mesgs, $errors, $warnings) dol_htmloutput_events(); // Core error message if (defined("MAIN_CORE_ERROR") && constant("MAIN_CORE_ERROR") == 1) { // Ajax version if ($conf->use_javascript_ajax) { $title = img_warning() . ' ' . $langs->trans('CoreErrorTitle'); print ajax_dialog($title, $langs->trans('CoreErrorMessage')); } else { $msg = img_warning() . ' ' . $langs->trans('CoreErrorMessage'); print '<div class="error">' . $msg . '</div>'; } define("MAIN_CORE_ERROR", 0); } print "\n\n"; print '</div> <!-- End div class="fiche" -->' . "\n"; if (!empty($conf->dol_use_jmobile)) { print '</div>'; } // end data-role="page" if (empty($conf->dol_use_jmobile) && !empty($conf->use_javascript_ajax) && !empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) { print '</div></div> <!-- end main layout -->' . "\n"; } if (empty($conf->dol_hide_leftmenu)) { print '</div> <!-- End div id-right -->'; } // End div id-right print "\n"; if ($comment) { print '<!-- ' . $comment . ' -->' . "\n"; } printCommonFooter($zone); //var_dump($langs); // Uncommment to see the property _tab_loaded to see which language file were loaded if (empty($conf->dol_hide_leftmenu) && empty($conf->dol_use_jmobile) && empty($conf->global->MAIN_MENU_USE_JQUERY_LAYOUT)) { print '</div> <!-- End div id-container -->' . "\n"; } // End div container if (!empty($delayedhtmlcontent)) { print $delayedhtmlcontent; } // Wrapper to show tooltips print "\n<!-- JS CODE TO ENABLE tipTip on all object with class classfortooltip -->\n"; print '<script type="text/javascript"> jQuery(document).ready(function () { jQuery(".classfortooltip").tipTip({maxWidth: "' . dol_size(600, 'width') . 'px", edgeOffset: 10, delay: 50, fadeIn: 50, fadeOut: 50}); }); </script>' . "\n"; print "</body>\n"; print "</html>\n"; }