Fix: add comment

This commit is contained in:
Regis Houssin 2017-08-27 13:42:46 +02:00
parent 896c8b4a78
commit 1ce1899a46
2 changed files with 2 additions and 1 deletions

View File

@ -204,7 +204,6 @@ function dol_loginfunction($langs,$conf,$mysoc)
// Execute hook getLoginPageOptions (for table)
$parameters=array('entity' => GETPOST('entity','int'));
$reshook = $hookmanager->executeHooks('getLoginPageOptions',$parameters); // Note that $action and $object may have been modified by some hooks.
//$morelogincontent = $hookmanager->resArray['options']; // TODO Use here a resprints
$morelogincontent = $hookmanager->resPrint;
// Execute hook getLoginPageExtraOptions (eg for js)

View File

@ -133,6 +133,7 @@ if ($disablenofollow) echo '</a>';
}
}*/
if (! empty($morelogincontent)) {
echo '<!-- Option by hook -->';
echo $morelogincontent;
}
?>
@ -291,6 +292,7 @@ if (!empty($conf->global->MAIN_EASTER_EGG_COMMITSTRIP)) {
}
}*/
if (! empty($moreloginextracontent)) {
echo '<!-- Extra option by hook -->';
echo $moreloginextracontent;
}
?>