function Comment Missing

This commit is contained in:
Frédéric FRANCE 2018-08-31 22:03:12 +02:00
parent df6eccc5dd
commit 5d27318e3b
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
2 changed files with 8 additions and 3 deletions

View File

@ -24,7 +24,7 @@
/**
* Prepare admin pages header
*
* @return array
* @return array head array with tabs
*/
function AssetsAdminPrepareHead()
{
@ -65,6 +65,11 @@ function AssetsAdminPrepareHead()
return $head;
}
/**
* Prepare admin pages header
*
* @return array head array with tabs
*/
function AssetsPrepareHead()
{
global $langs, $conf;

View File

@ -103,12 +103,12 @@ function checkLoginPassEntity($usertotest,$passwordtotest,$entitytotest,$authmod
}
else
{
dol_syslog("Authentification ko - failed to load file '".$authfile."'",LOG_ERR);
dol_syslog("Authentification ko - failed to load file '".$authfile."'", LOG_ERR);
sleep(1);
$langs->load('main');
$langs->load('other');
$langs->load('errors');
$_SESSION["dol_loginmesg"]=$langs->trans("ErrorFailedToLoadLoginFileForMode",$mode);
$_SESSION["dol_loginmesg"]=$langs->trans("ErrorFailedToLoadLoginFileForMode", $mode);
}
}
}