HTML5 - <font> tag is deprecated, replace by <span>
This commit is contained in:
parent
7c573da4b0
commit
e75d7b2206
@ -91,7 +91,7 @@ $form = new Form($db);
|
|||||||
$formother = new FormOther($db);
|
$formother = new FormOther($db);
|
||||||
$formcompany = new FormCompany($db);
|
$formcompany = new FormCompany($db);
|
||||||
|
|
||||||
$countrynotdefined = '<font class="error">'.$langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("SeeAbove").')</font>';
|
$countrynotdefined = '<span class="error">'.$langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("SeeAbove").')</span>';
|
||||||
|
|
||||||
print '<span class="opacitymedium">'.$langs->trans("AccountantDesc")."</span><br>\n";
|
print '<span class="opacitymedium">'.$langs->trans("AccountantDesc")."</span><br>\n";
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
|||||||
@ -302,7 +302,7 @@ if (!isset($_SERVER['WINDIR'])) {
|
|||||||
print '<input type="text" size="40" name="GENBARCODE_LOCATION" value="'.$conf->global->GENBARCODE_LOCATION.'">';
|
print '<input type="text" size="40" name="GENBARCODE_LOCATION" value="'.$conf->global->GENBARCODE_LOCATION.'">';
|
||||||
if (!empty($conf->global->GENBARCODE_LOCATION) && !@file_exists($conf->global->GENBARCODE_LOCATION)) {
|
if (!empty($conf->global->GENBARCODE_LOCATION) && !@file_exists($conf->global->GENBARCODE_LOCATION)) {
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
print '<br><font class="error">'.$langs->trans("ErrorFileNotFound", $conf->global->GENBARCODE_LOCATION).'</font>';
|
print '<br><span class="error">'.$langs->trans("ErrorFileNotFound", $conf->global->GENBARCODE_LOCATION).'</span>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -369,7 +369,7 @@ $form = new Form($db);
|
|||||||
$formother = new FormOther($db);
|
$formother = new FormOther($db);
|
||||||
$formcompany = new FormCompany($db);
|
$formcompany = new FormCompany($db);
|
||||||
|
|
||||||
$countrynotdefined = '<font class="error">'.$langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("SeeAbove").')</font>';
|
$countrynotdefined = '<span class="error">'.$langs->trans("ErrorSetACountryFirst").' ('.$langs->trans("SeeAbove").')</span>';
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("CompanyFoundation"), '', 'title_setup');
|
print load_fiche_titre($langs->trans("CompanyFoundation"), '', 'title_setup');
|
||||||
|
|
||||||
|
|||||||
@ -275,9 +275,9 @@ if ($resql) {
|
|||||||
print "<td>".$langs->trans("Status")."</td>";
|
print "<td>".$langs->trans("Status")."</td>";
|
||||||
print "<td>";
|
print "<td>";
|
||||||
if ($result > 0 && empty($rss->error)) {
|
if ($result > 0 && empty($rss->error)) {
|
||||||
print '<font class="ok">'.$langs->trans("Online").'</div>';
|
print '<span class="ok">'.$langs->trans("Online").'</div>';
|
||||||
} else {
|
} else {
|
||||||
print '<font class="error">'.$langs->trans("Offline");
|
print '<span class="error">'.$langs->trans("Offline");
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
if ($rssparser->error) {
|
if ($rssparser->error) {
|
||||||
print ' - '.$langs->trans($rssparser->error);
|
print ' - '.$langs->trans($rssparser->error);
|
||||||
|
|||||||
@ -153,7 +153,7 @@ $arraylist['dolibarr2ldap'] = $langs->trans("DolibarrToLDAP");
|
|||||||
print $form->selectarray('activesynchro', $arraylist, $conf->global->LDAP_SYNCHRO_ACTIVE);
|
print $form->selectarray('activesynchro', $arraylist, $conf->global->LDAP_SYNCHRO_ACTIVE);
|
||||||
print '</td><td><span class="opacitymedium">'.$langs->trans("LDAPDnSynchroActiveExample").'</span>';
|
print '</td><td><span class="opacitymedium">'.$langs->trans("LDAPDnSynchroActiveExample").'</span>';
|
||||||
if ($conf->global->LDAP_SYNCHRO_ACTIVE && !$conf->global->LDAP_USER_DN) {
|
if ($conf->global->LDAP_SYNCHRO_ACTIVE && !$conf->global->LDAP_USER_DN) {
|
||||||
print '<br><font class="error">'.$langs->trans("LDAPSetupNotComplete").'</font>';
|
print '<br><span class="error">'.$langs->trans("LDAPSetupNotComplete").'</span>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
@ -297,24 +297,24 @@ if (function_exists("ldap_connect")) {
|
|||||||
if ($result > 0) {
|
if ($result > 0) {
|
||||||
// Test ldap connect and bind
|
// Test ldap connect and bind
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPTCPConnectOK", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT).'</font>';
|
print '<span class="ok">'.$langs->trans("LDAPTCPConnectOK", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT).'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
if ($conf->global->LDAP_ADMIN_DN && !empty($conf->global->LDAP_ADMIN_PASS)) {
|
if ($conf->global->LDAP_ADMIN_DN && !empty($conf->global->LDAP_ADMIN_PASS)) {
|
||||||
if ($result == 2) {
|
if ($result == 2) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPBindOK", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT, $conf->global->LDAP_ADMIN_DN, preg_replace('/./i', '*', $conf->global->LDAP_ADMIN_PASS)).'</font>';
|
print '<span class="ok">'.$langs->trans("LDAPBindOK", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT, $conf->global->LDAP_ADMIN_DN, preg_replace('/./i', '*', $conf->global->LDAP_ADMIN_PASS)).'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPBindKO", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT, $conf->global->LDAP_ADMIN_DN, preg_replace('/./i', '*', $conf->global->LDAP_ADMIN_PASS)).'</font>';
|
print '<span class="error">'.$langs->trans("LDAPBindKO", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT, $conf->global->LDAP_ADMIN_DN, preg_replace('/./i', '*', $conf->global->LDAP_ADMIN_PASS)).'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print $langs->trans("Error").' '.$ldap->error;
|
print $langs->trans("Error").' '.$ldap->error;
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'warning').' ';
|
print img_picto('', 'warning').' ';
|
||||||
print '<font class="warning">'.$langs->trans("LDAPNoUserOrPasswordProvidedAccessIsReadOnly").'</font>';
|
print '<span class="warning">'.$langs->trans("LDAPNoUserOrPasswordProvidedAccessIsReadOnly").'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -322,18 +322,18 @@ if (function_exists("ldap_connect")) {
|
|||||||
// Test ldap_getversion
|
// Test ldap_getversion
|
||||||
if (($ldap->getVersion() == 3)) {
|
if (($ldap->getVersion() == 3)) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSetupForVersion3").'</font>';
|
print '<span class="ok">'.$langs->trans("LDAPSetupForVersion3").'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSetupForVersion2").'</font>';
|
print '<span class="ok">'.$langs->trans("LDAPSetupForVersion2").'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$unbind = $ldap->unbind();
|
$unbind = $ldap->unbind();
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPTCPConnectKO", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT).'</font>';
|
print '<span class="error">'.$langs->trans("LDAPTCPConnectKO", $conf->global->LDAP_SERVER_HOST, $conf->global->LDAP_SERVER_PORT).'</span>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print $langs->trans("Error").' '.$ldap->error;
|
print $langs->trans("Error").' '.$ldap->error;
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|||||||
@ -321,12 +321,12 @@ if (function_exists("ldap_connect")) {
|
|||||||
|
|
||||||
if ($result2 > 0) {
|
if ($result2 > 0) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSynchroOK").'</font><br>';
|
print '<span class="ok">'.$langs->trans("LDAPSynchroOK").'</span><br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -336,9 +336,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -260,12 +260,12 @@ if (function_exists("ldap_connect")) {
|
|||||||
|
|
||||||
if ($result2 > 0) {
|
if ($result2 > 0) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSynchroOK").'</font><br>';
|
print '<span class="ok">'.$langs->trans("LDAPSynchroOK").'</span><br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -275,9 +275,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -331,9 +331,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -472,12 +472,12 @@ if (function_exists("ldap_connect")) {
|
|||||||
|
|
||||||
if ($result2 > 0) {
|
if ($result2 > 0) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSynchroOK").'</font><br>';
|
print '<span class="ok">'.$langs->trans("LDAPSynchroOK").'</span><br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -487,9 +487,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -223,12 +223,12 @@ if (function_exists("ldap_connect")) {
|
|||||||
|
|
||||||
if ($result2 > 0) {
|
if ($result2 > 0) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSynchroOK").'</font><br>';
|
print '<span class="ok">'.$langs->trans("LDAPSynchroOK").'</span><br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -238,9 +238,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -444,12 +444,12 @@ if (function_exists("ldap_connect")) {
|
|||||||
|
|
||||||
if ($result2 > 0) {
|
if ($result2 > 0) {
|
||||||
print img_picto('', 'info').' ';
|
print img_picto('', 'info').' ';
|
||||||
print '<font class="ok">'.$langs->trans("LDAPSynchroOK").'</font><br>';
|
print '<span class="ok">'.$langs->trans("LDAPSynchroOK").'</span><br>';
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKOMayBePermissions");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -459,9 +459,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -530,9 +530,9 @@ if (function_exists("ldap_connect")) {
|
|||||||
print "\n<br>";
|
print "\n<br>";
|
||||||
} else {
|
} else {
|
||||||
print img_picto('', 'error').' ';
|
print img_picto('', 'error').' ';
|
||||||
print '<font class="error">'.$langs->trans("LDAPSynchroKO");
|
print '<span class="error">'.$langs->trans("LDAPSynchroKO");
|
||||||
print ': '.$ldap->error;
|
print ': '.$ldap->error;
|
||||||
print '</font><br>';
|
print '</span><br>';
|
||||||
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
print $langs->trans("ErrorLDAPMakeManualTest", $conf->ldap->dir_temp).'<br>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -307,7 +307,7 @@ for ($i = 1; $i <= 6; $i++) {
|
|||||||
$pid = false;
|
$pid = false;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$pid = img_warning().' <font class="error">'.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'</font>';
|
$pid = img_warning().' <span class="error">'.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'</span>';
|
||||||
}
|
}
|
||||||
if ($pid) {
|
if ($pid) {
|
||||||
print '<tr class="oddeven"><td>'.$langs->trans("ShowProfIdInAddress").' - '.$pid.'</td><td>';
|
print '<tr class="oddeven"><td>'.$langs->trans("ShowProfIdInAddress").' - '.$pid.'</td><td>';
|
||||||
|
|||||||
@ -183,7 +183,7 @@ if ($action == 'edit') {
|
|||||||
if (count($listofmethods)) {
|
if (count($listofmethods)) {
|
||||||
print $form->selectarray('MAIN_SMS_SENDMODE', $listofmethods, $conf->global->MAIN_SMS_SENDMODE, 1);
|
print $form->selectarray('MAIN_SMS_SENDMODE', $listofmethods, $conf->global->MAIN_SMS_SENDMODE, 1);
|
||||||
} else {
|
} else {
|
||||||
print '<font class="error">'.$langs->trans("None").'</font>';
|
print '<span class="error">'.$langs->trans("None").'</span>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
@ -513,7 +513,7 @@ if (!empty($_SESSION["commandbackuplastdone"])) {
|
|||||||
$_SESSION["commandbackupresult"] = '';
|
$_SESSION["commandbackupresult"] = '';
|
||||||
}
|
}
|
||||||
if (!empty($_SESSION["commandbackuptorun"])) {
|
if (!empty($_SESSION["commandbackuptorun"])) {
|
||||||
print '<br><font class="warning">'.$langs->trans("YouMustRunCommandFromCommandLineAfterLoginToUser", $dolibarr_main_db_user, $dolibarr_main_db_user).':</font><br>'."\n";
|
print '<br><span class="warning">'.$langs->trans("YouMustRunCommandFromCommandLineAfterLoginToUser", $dolibarr_main_db_user, $dolibarr_main_db_user).':</span><br>'."\n";
|
||||||
print '<textarea id="commandbackuptoruntext" rows="'.ROWS_2.'" class="centpercent">'.$_SESSION["commandbackuptorun"].'</textarea><br>'."\n";
|
print '<textarea id="commandbackuptoruntext" rows="'.ROWS_2.'" class="centpercent">'.$_SESSION["commandbackuptorun"].'</textarea><br>'."\n";
|
||||||
print ajax_autoselect("commandbackuptoruntext", 0);
|
print ajax_autoselect("commandbackuptoruntext", 0);
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user