Fix: Bad param 'zone' into printCommon

This commit is contained in:
Laurent Destailleur 2013-06-07 14:52:25 +02:00
parent 693f4f3b8b
commit c78d5aa4a7

View File

@ -1772,10 +1772,11 @@ if (! function_exists("llxFooter"))
* Show HTML footer * Show HTML footer
* Close div /DIV data-role=page + /DIV class=fiche + /DIV /DIV main layout + /BODY + /HTML. * Close div /DIV data-role=page + /DIV class=fiche + /DIV /DIV main layout + /BODY + /HTML.
* *
* @param string $foot A text to add in HTML generated page * @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 * @return void
*/ */
function llxFooter($foot='') function llxFooter($comment='',$zone='pivate')
{ {
global $conf, $langs; global $conf, $langs;
@ -1810,9 +1811,9 @@ if (! function_exists("llxFooter"))
if (empty($conf->dol_hide_leftmenu)) print '</div>'; // End div id-right if (empty($conf->dol_hide_leftmenu)) print '</div>'; // End div id-right
print "\n"; print "\n";
if ($foot) print '<!-- '.$foot.' -->'."\n"; if ($comment) print '<!-- '.$comment.' -->'."\n";
printCommonFooter($foot); printCommonFooter($zone);
if (empty($conf->dol_hide_leftmenu)) print '</div>'; // End div container if (empty($conf->dol_hide_leftmenu)) print '</div>'; // End div container