Skip to content
Snippets Groups Projects
Commit dfe10ab6 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

New: Add info on smtp/port setup to explain why feature not available on Linux.

parent ec0769ea
No related branches found
No related tags found
No related merge requests found
...@@ -279,10 +279,17 @@ else ...@@ -279,10 +279,17 @@ else
// Boutons actions // Boutons actions
print '<div class="tabsAction">'; print '<div class="tabsAction">';
if (! $linuxlike)
{
if (function_exists('fsockopen') && $port && $server) if (function_exists('fsockopen') && $port && $server)
{ {
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=testconnect">'.$langs->trans("DoTestServerAvailability").'</a>'; 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&amp;mode=init">'.$langs->trans("DoTestSend").'</a>'; print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=test&amp;mode=init">'.$langs->trans("DoTestSend").'</a>';
if ($conf->fckeditor->enabled) if ($conf->fckeditor->enabled)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment