";
-print '';
llxFooterSurvey();
diff --git a/htdocs/public/cron/cron_run_jobs.php b/htdocs/public/cron/cron_run_jobs.php
index 79eaf5e7013..8fc1d97d23d 100644
--- a/htdocs/public/cron/cron_run_jobs.php
+++ b/htdocs/public/cron/cron_run_jobs.php
@@ -43,10 +43,10 @@ dol_include_once("/cron/class/cronjob.class.php");
global $langs, $conf;
-// Language Management
-$langs->load("admin");
-$langs->load("cron");
-
+// Language Management
+$langs->load("admin");
+$langs->load("cron");
+
@@ -101,9 +101,9 @@ if (! empty($id))
{
if (! is_numeric($id))
{
- echo "Error: Bad value for parameter job id";
- dol_syslog("cron_run_jobs.php Bad value for parameter job id", LOG_WARNING);
- exit;
+ echo "Error: Bad value for parameter job id";
+ dol_syslog("cron_run_jobs.php Bad value for parameter job id", LOG_WARNING);
+ exit;
}
$filter=array();
$filter['t.rowid']=$id;
diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php
index 08f6198da6b..869c1976ffd 100644
--- a/htdocs/theme/bureau2crea/style.css.php
+++ b/htdocs/theme/bureau2crea/style.css.php
@@ -58,9 +58,9 @@ $fontsize=empty($conf->dol_optimize_smallscreen)?'12':'12';
$fontsizesmaller=empty($conf->dol_optimize_smallscreen)?'11':'11';
-$path=''; // This value may be used in future for external module to overwrite theme
-$theme='bureau2crea'; // Value of theme
-if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme=$conf->global->MAIN_OVERWRITE_THEME_RES; }
+$path=''; // This value may be used in future for external module to overwrite theme
+$theme='bureau2crea'; // Value of theme
+if (! empty($conf->global->MAIN_OVERWRITE_THEME_RES)) { $path='/'.$conf->global->MAIN_OVERWRITE_THEME_RES; $theme=$conf->global->MAIN_OVERWRITE_THEME_RES; }
// Define image path files
$fontlist='arial, sans-serif, verdana, helvetica';
diff --git a/scripts/contracts/email_expire_services_to_customers.php b/scripts/contracts/email_expire_services_to_customers.php
index 63d9c1b8733..96e97e13771 100755
--- a/scripts/contracts/email_expire_services_to_customers.php
+++ b/scripts/contracts/email_expire_services_to_customers.php
@@ -124,12 +124,12 @@ if ($resql)
if (empty($obj->email)) print "Warning: Customer ".$customer." has no email. Notice disabled.\n";
}
- // Define line content
- $outputlangs=new Translate('',$conf);
- $outputlangs->setDefaultLang(empty($obj->default_lang)?$langs->defaultlang:$obj->default_lang); // By default language of customer
- $outputlangs->load("bills");
+ // Define line content
+ $outputlangs=new Translate('',$conf);
+ $outputlangs->setDefaultLang(empty($obj->default_lang)?$langs->defaultlang:$obj->default_lang); // By default language of customer
+ $outputlangs->load("bills");
$outputlangs->load("main");
- $outputlangs->load("contracts");
+ $outputlangs->load("contracts");
if (dol_strlen($oldemail))
{
diff --git a/scripts/contracts/email_expire_services_to_representatives.php b/scripts/contracts/email_expire_services_to_representatives.php
index ace84fa0582..08d068685e3 100755
--- a/scripts/contracts/email_expire_services_to_representatives.php
+++ b/scripts/contracts/email_expire_services_to_representatives.php
@@ -125,11 +125,11 @@ if ($resql)
if (empty($obj->email)) print "Warning: Sale representative ".$salerepresentative." has no email. Notice disabled.\n";
}
- // Define line content
- $outputlangs=new Translate('',$conf);
- $outputlangs->setDefaultLang(empty($obj->lang)?$langs->defaultlang:$obj->lang); // By default language of sale representative
- $outputlangs->load("bills");
- $outputlangs->load("main");
+ // Define line content
+ $outputlangs=new Translate('',$conf);
+ $outputlangs->setDefaultLang(empty($obj->lang)?$langs->defaultlang:$obj->lang); // By default language of sale representative
+ $outputlangs->load("bills");
+ $outputlangs->load("main");
if (dol_strlen($obj->email))
{
diff --git a/scripts/invoices/email_unpaid_invoices_to_customers.php b/scripts/invoices/email_unpaid_invoices_to_customers.php
index 0b2b9413002..c4051728aab 100755
--- a/scripts/invoices/email_unpaid_invoices_to_customers.php
+++ b/scripts/invoices/email_unpaid_invoices_to_customers.php
@@ -69,8 +69,8 @@ $error=0;
print "***** ".$script_file." (".$version.") pid=".getmypid()." *****\n";
$now=dol_now('tzserver');
-$duration_value=isset($argv[3])?$argv[3]:'none';
-$duration_value2=isset($argv[4])?$argv[4]:'none';
+$duration_value=isset($argv[3])?$argv[3]:'none';
+$duration_value2=isset($argv[4])?$argv[4]:'none';
$error = 0;
print $script_file." launched with mode ".$mode." default lang=".$langs->defaultlang.(is_numeric($duration_value)?" delay=".$duration_value:"").(is_numeric($duration_value2)?" after=".$duration_value2:"")."\n";