本文整理汇总了PHP中dol_htmloutput_events函数的典型用法代码示例。如果您正苦于以下问题:PHP dol_htmloutput_events函数的具体用法?PHP dol_htmloutput_events怎么用?PHP dol_htmloutput_events使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了dol_htmloutput_events函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: llxFooterSurvey
/**
* Show footer for new member
*
* @return void
*/
function llxFooterSurvey()
{
print '</div>';
printCommonFooter('public');
dol_htmloutput_events();
print "</body>\n";
print "</html>\n";
}
示例2: setEventMessage
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);
示例3: llxFooter
/**
* 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";
}
示例4: llxFooter
/**
* 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";
}