diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index 03b36d9472d..edf3e4dbe86 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -408,7 +408,13 @@ if (1 == 1) // Edit // Background print ''; print '
'; - print ''; + $disabled = ''; + if (! empty($conf->global->ADD_UNSPLASH_LOGIN_BACKGROUND)) $disabled = ' disabled="disabled"'; + print ''; + if ($disabled) + { + print '('.$langs->trans("DisabledByOptionADD_UNSPLASH_LOGIN_BACKGROUND").') '; + } if (! empty($conf->global->MAIN_LOGIN_BACKGROUND)) { print ''.img_delete($langs->trans("Delete")).''; if (file_exists($conf->mycompany->dir_output.'/logos/'.$conf->global->MAIN_LOGIN_BACKGROUND)) {