Skip to content
Snippets Groups Projects
Commit 1ce1899a authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: add comment

parent 896c8b4a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment