diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php
index 80b71d1d919..ac36247fdba 100644
--- a/htdocs/compta/bank/account.php
+++ b/htdocs/compta/bank/account.php
@@ -762,7 +762,7 @@ if ($id > 0 || ! empty($ref))
print "";
- print "\n";
+ print "\n";
dol_fiche_end();
diff --git a/htdocs/core/lib/cron.lib.php b/htdocs/core/lib/cron.lib.php
index b66060e3607..4a81457afe1 100644
--- a/htdocs/core/lib/cron.lib.php
+++ b/htdocs/core/lib/cron.lib.php
@@ -75,53 +75,53 @@ function cron_prepare_head($object)
return $head;
}
-
-/**
- * Show information with URLs to launch jobs
- *
- * @return int 0
- */
-function dol_print_cron_urls()
-{
- global $conf, $langs, $user;
- global $dolibarr_main_url_root;
-
- // Define $urlwithroot
- $urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT,'/').'$/i','',trim($dolibarr_main_url_root));
- $urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
- //$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
-
- // Cron launch
- print ''.$langs->trans("URLToLaunchCronJobs").':
';
- $url=$urlwithroot.'/public/cron/cron_run_jobs.php'.(empty($conf->global->CRON_KEY)?'':'?securitykey='.$conf->global->CRON_KEY.'&').'userlogin='.$user->login;
- print img_picto('','object_globe.png').' '.$url."
\n";
- print ' '.$langs->trans("OrToLaunchASpecificJob").'
';
- $url=$urlwithroot.'/public/cron/cron_run_jobs.php'.(empty($conf->global->CRON_KEY)?'':'?securitykey='.$conf->global->CRON_KEY.'&').'userlogin='.$user->login.'&id=cronjobid';
- print img_picto('','object_globe.png').' '.$url."
\n";
- print '
';
-
-
- print ''.$langs->trans("FileToLaunchCronJobs").':
';
-
- $file='/scripts/cron/cron_run_jobs.php'.' '.(empty($conf->global->CRON_KEY)?'securitykey':''.$conf->global->CRON_KEY.'').' '.$user->login.' [cronjobid]';
- print '
\n";
- print '
';
+
+/**
+ * Show information with URLs to launch jobs
+ *
+ * @return int 0
+ */
+function dol_print_cron_urls()
+{
+ global $conf, $langs, $user;
+ global $dolibarr_main_url_root;
+
+ // Define $urlwithroot
+ $urlwithouturlroot=preg_replace('/'.preg_quote(DOL_URL_ROOT,'/').'$/i','',trim($dolibarr_main_url_root));
+ $urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
+ //$urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current
+
+ // Cron launch
+ print ''.$langs->trans("URLToLaunchCronJobs").':
';
+ $url=$urlwithroot.'/public/cron/cron_run_jobs.php'.(empty($conf->global->CRON_KEY)?'':'?securitykey='.$conf->global->CRON_KEY.'&').'userlogin='.$user->login;
+ print img_picto('','object_globe.png').' '.$url."
\n";
+ print ' '.$langs->trans("OrToLaunchASpecificJob").'
';
+ $url=$urlwithroot.'/public/cron/cron_run_jobs.php'.(empty($conf->global->CRON_KEY)?'':'?securitykey='.$conf->global->CRON_KEY.'&').'userlogin='.$user->login.'&id=cronjobid';
+ print img_picto('','object_globe.png').' '.$url."
\n";
+ print '
';
+
+
+ print ''.$langs->trans("FileToLaunchCronJobs").':
';
+
+ $file='/scripts/cron/cron_run_jobs.php'.' '.(empty($conf->global->CRON_KEY)?'securitykey':''.$conf->global->CRON_KEY.'').' '.$user->login.' [cronjobid]';
+ print '
\n";
+ print '
';
// Add note
- $linuxlike=1;
- if (preg_match('/^win/i',PHP_OS)) $linuxlike=0;
- if (preg_match('/^mac/i',PHP_OS)) $linuxlike=0;
- print $langs->trans("Note").': ';
- if ($linuxlike)
- {
- print $langs->trans("CronExplainHowToRunUnix");
- }
- else
- {
- print $langs->trans("CronExplainHowToRunWin");
- }
-
- return 0;
-}
+ $linuxlike=1;
+ if (preg_match('/^win/i',PHP_OS)) $linuxlike=0;
+ if (preg_match('/^mac/i',PHP_OS)) $linuxlike=0;
+ print $langs->trans("Note").': ';
+ if ($linuxlike)
+ {
+ print $langs->trans("CronExplainHowToRunUnix");
+ }
+ else
+ {
+ print $langs->trans("CronExplainHowToRunWin");
+ }
+
+ return 0;
+}
diff --git a/htdocs/cron/card.php b/htdocs/cron/card.php
index 2cdd27862b3..bad9171d5d4 100644
--- a/htdocs/cron/card.php
+++ b/htdocs/cron/card.php
@@ -456,7 +456,7 @@ if (($action=="create") || ($action=="edit"))
print "";
print "\n";
- print '';
+ print '';
print '