Fix: add comment
This commit is contained in:
parent
896c8b4a78
commit
1ce1899a46
@ -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)
|
||||
|
||||
@ -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;
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user