diff --git a/htdocs/admin/bank.php b/htdocs/admin/bank.php index ed113d54c78..bf05c79c335 100644 --- a/htdocs/admin/bank.php +++ b/htdocs/admin/bank.php @@ -289,7 +289,7 @@ if ($resql) { } print '
'; -print '';"\n"; +print '
'."\n"; print ''."\n"; print ''; print ''; @@ -409,7 +409,7 @@ print '

'; print load_fiche_titre($langs->trans("BankColorizeMovement"), '', ''); print '
'; -print '
'.$langs->trans("Name").''.$langs->trans("Description").'
';"\n"; +print '
'."\n"; print ''."\n"; print ''; print ''."\n"; @@ -464,7 +464,7 @@ print '

'; print load_fiche_titre($langs->trans("Other"), '', ''); print '
'; -print '
'.$langs->trans("Name").''.$langs->trans("Value").'
';"\n"; +print '
'."\n"; print ''."\n"; print ''; print ''; diff --git a/htdocs/cron/class/cronjob.class.php b/htdocs/cron/class/cronjob.class.php index bcc70dd15d2..80402a83d33 100644 --- a/htdocs/cron/class/cronjob.class.php +++ b/htdocs/cron/class/cronjob.class.php @@ -1633,6 +1633,5 @@ class Cronjobline */ public function __construct() { - return 1; } } diff --git a/htdocs/ecm/class/ecmdirectory.class.php b/htdocs/ecm/class/ecmdirectory.class.php index d0c3657ca07..0f14c6d7bc3 100644 --- a/htdocs/ecm/class/ecmdirectory.class.php +++ b/htdocs/ecm/class/ecmdirectory.class.php @@ -125,7 +125,6 @@ class EcmDirectory extends CommonObject public function __construct($db) { $this->db = $db; - return 1; } diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index d93f09e3c9c..fb446df7852 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -5989,7 +5989,7 @@ if ($module == 'initmodule') { print ''; } } else { - print ''; } diff --git a/htdocs/multicurrency/class/multicurrency.class.php b/htdocs/multicurrency/class/multicurrency.class.php index 3f28d9cf1b8..18d364e082a 100644 --- a/htdocs/multicurrency/class/multicurrency.class.php +++ b/htdocs/multicurrency/class/multicurrency.class.php @@ -102,8 +102,6 @@ class MultiCurrency extends CommonObject public function __construct(DoliDB $db) { $this->db = $db; - - return 1; } /** @@ -756,8 +754,6 @@ class CurrencyRate extends CommonObjectLine public function __construct(DoliDB $db) { $this->db = $db; - - return 1; } /** diff --git a/htdocs/partnership/class/partnershiputils.class.php b/htdocs/partnership/class/partnershiputils.class.php index 1e90c3d8336..2ae61731095 100644 --- a/htdocs/partnership/class/partnershiputils.class.php +++ b/htdocs/partnership/class/partnershiputils.class.php @@ -52,7 +52,6 @@ class PartnershipUtils public function __construct($db) { $this->db = $db; - return 1; } /** diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index 02988d1b744..433c653614d 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -39,7 +39,7 @@ class Ticket extends CommonObject { /** - * @var db connector + * @var DoliDb Database handler */ public $db; @@ -268,7 +268,7 @@ class Ticket extends CommonObject public $oldcopy; /** - * @var Tickets[] array of Tickets + * @var Ticket[] array of Tickets */ public $lines; diff --git a/htdocs/website/class/website.class.php b/htdocs/website/class/website.class.php index fe3a811b7ee..648f991e89b 100644 --- a/htdocs/website/class/website.class.php +++ b/htdocs/website/class/website.class.php @@ -153,7 +153,6 @@ class Website extends CommonObject public function __construct(DoliDB $db) { $this->db = $db; - return 1; } /**
'.$langs->trans("Name").''.$langs->trans("Description").'
'.$langs->trans("CLIFile").' : '.$langs->trans("FileNotYetGenerated"); ''; + print '
'.$langs->trans("CLIFile").' : '.$langs->trans("FileNotYetGenerated").''; print ''.img_picto('Generate', 'generate', 'class="paddingleft"').''; print '