forked from Wavyzz/dolibarr
New: Add info on smtp/port setup to explain why feature not available on Linux.
This commit is contained in:
@@ -279,9 +279,16 @@ else
|
||||
|
||||
// Boutons actions
|
||||
print '<div class="tabsAction">';
|
||||
if (function_exists('fsockopen') && $port && $server)
|
||||
if (! $linuxlike)
|
||||
{
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testconnect">'.$langs->trans("DoTestServerAvailability").'</a>';
|
||||
if (function_exists('fsockopen') && $port && $server)
|
||||
{
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testconnect">'.$langs->trans("DoTestServerAvailability").'</a>';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<a class="butActionRefused" href="#" title="'.$langs->trans("FeatureNotAvailableOnLinux").'">'.$langs->trans("DoTestSend").'</a>';
|
||||
}
|
||||
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=test&mode=init">'.$langs->trans("DoTestSend").'</a>';
|
||||
if ($conf->fckeditor->enabled)
|
||||
|
||||
Reference in New Issue
Block a user