|
@@ -192,7 +192,7 @@ $h++;
|
|
|
if (! empty($conf->global->MAIN_SUBMODULE_EXPEDITION))
|
|
|
{
|
|
|
$head[$h][0] = DOL_URL_ROOT."/admin/expedition.php";
|
|
|
- $head[$h][1] = $langs->trans("Sending");
|
|
|
+ $head[$h][1] = $langs->trans("Shipment");
|
|
|
$h++;
|
|
|
}
|
|
|
|
|
@@ -207,7 +207,7 @@ dol_fiche_head($head, $hselected, $langs->trans("ModuleSetup"));
|
|
|
/*
|
|
|
* Livraison numbering model
|
|
|
*/
|
|
|
-
|
|
|
+
|
|
|
print_titre($langs->trans("DeliveryOrderNumberingModules"));
|
|
|
|
|
|
print '<table class="noborder" width="100%">';
|
|
@@ -240,13 +240,13 @@ foreach ($dirmodels as $reldir)
|
|
|
require_once $dir.$file.'.php';
|
|
|
|
|
|
$module = new $file;
|
|
|
-
|
|
|
+
|
|
|
if ($module->isEnabled())
|
|
|
{
|
|
|
// Show modules according to features level
|
|
|
if ($module->version == 'development' && $conf->global->MAIN_FEATURES_LEVEL < 2) continue;
|
|
|
if ($module->version == 'experimental' && $conf->global->MAIN_FEATURES_LEVEL < 1) continue;
|
|
|
-
|
|
|
+
|
|
|
$var=!$var;
|
|
|
print '<tr '.$bc[$var].'><td>'.$module->nom."</td><td>\n";
|
|
|
print $module->info();
|
|
@@ -255,8 +255,8 @@ foreach ($dirmodels as $reldir)
|
|
|
// Show example of numbering module
|
|
|
print '<td class="nowrap">';
|
|
|
$tmp=$module->getExample();
|
|
|
- if (preg_match('/^Error/',$tmp)) {
|
|
|
- $langs->load("errors"); print '<div class="error">'.$langs->trans($tmp).'</div>';
|
|
|
+ if (preg_match('/^Error/',$tmp)) {
|
|
|
+ $langs->load("errors"); print '<div class="error">'.$langs->trans($tmp).'</div>';
|
|
|
}
|
|
|
elseif ($tmp=='NotConfigured') print $langs->trans($tmp);
|
|
|
else print $tmp;
|
|
@@ -315,7 +315,7 @@ print '</table>';
|
|
|
print '<br>';
|
|
|
print_titre($langs->trans("DeliveryOrderModel"));
|
|
|
|
|
|
-// Defini tableau def de modele
|
|
|
+// Defini tableau def de modele
|
|
|
$type="delivery";
|
|
|
$def = array();
|
|
|
|