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)
|
// Execute hook getLoginPageOptions (for table)
|
||||||
$parameters=array('entity' => GETPOST('entity','int'));
|
$parameters=array('entity' => GETPOST('entity','int'));
|
||||||
$reshook = $hookmanager->executeHooks('getLoginPageOptions',$parameters); // Note that $action and $object may have been modified by some hooks.
|
$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;
|
$morelogincontent = $hookmanager->resPrint;
|
||||||
|
|
||||||
// Execute hook getLoginPageExtraOptions (eg for js)
|
// Execute hook getLoginPageExtraOptions (eg for js)
|
||||||
|
|||||||
@ -133,6 +133,7 @@ if ($disablenofollow) echo '</a>';
|
|||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
if (! empty($morelogincontent)) {
|
if (! empty($morelogincontent)) {
|
||||||
|
echo '<!-- Option by hook -->';
|
||||||
echo $morelogincontent;
|
echo $morelogincontent;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -291,6 +292,7 @@ if (!empty($conf->global->MAIN_EASTER_EGG_COMMITSTRIP)) {
|
|||||||
}
|
}
|
||||||
}*/
|
}*/
|
||||||
if (! empty($moreloginextracontent)) {
|
if (! empty($moreloginextracontent)) {
|
||||||
|
echo '<!-- Extra option by hook -->';
|
||||||
echo $moreloginextracontent;
|
echo $moreloginextracontent;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user