diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index 2b5a507c7bf..4e2f7ce67aa 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -1,6 +1,6 @@ - * Copyright (C) 2009 Regis Houssin + * Copyright (C) 2009-2011 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -462,11 +462,14 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') print ''; // Inline images -/* $var=!$var; - print ''.$langs->trans("MAIN_MAIL_EMAIL_INLINE_IMAGES").''; - print $html->selectyesno('MAIN_MAIL_EMAIL_INLINE_IMAGES',$conf->global->MAIN_MAIL_EMAIL_INLINE_IMAGES,1); - print ''; -*/ + if ($conf->global->MAIN_FEATURES_LEVEL > 0) + { + $var=!$var; + print ''.$langs->trans("MAIN_MAIL_EMAIL_INLINE_IMAGES").''; + print $html->selectyesno('MAIN_MAIL_EMAIL_INLINE_IMAGES',$conf->global->MAIN_MAIL_EMAIL_INLINE_IMAGES,1); + print ''; + } + // Separator $var=!$var; print ' ';