forked from Wavyzz/dolibarr
Fix css
This commit is contained in:
@@ -993,10 +993,10 @@ if ($mode == 'deploy')
|
||||
{
|
||||
if ($dirins_ok)
|
||||
{
|
||||
if (! is_writable(dol_osencode($dirins)))
|
||||
if (!is_writable(dol_osencode($dirins)))
|
||||
{
|
||||
$langs->load("errors");
|
||||
$message=info_admin($langs->trans("ErrorFailedToWriteInDir", $dirins));
|
||||
$message=info_admin($langs->trans("ErrorFailedToWriteInDir", $dirins), 0, 0, '1', 'warning');
|
||||
$allowfromweb=0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3774,7 +3774,7 @@ function img_searchclear($titlealt = 'default', $other = '')
|
||||
* @param integer $infoonimgalt Info is shown only on alt of star picto, otherwise it is show on output after the star picto
|
||||
* @param int $nodiv No div
|
||||
* @param string $admin '1'=Info for admin users. '0'=Info for standard users (change only the look), 'error','xxx'=Other
|
||||
* @param string $morecss More CSS
|
||||
* @param string $morecss More CSS ('', 'warning', 'error')
|
||||
* @return string String with info text
|
||||
*/
|
||||
function info_admin($text, $infoonimgalt = 0, $nodiv = 0, $admin = '1', $morecss = '')
|
||||
|
||||
Reference in New Issue
Block a user