diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php index 613c040b74c..14aea7c89c7 100644 --- a/htdocs/comm/mailing/cibles.php +++ b/htdocs/comm/mailing/cibles.php @@ -457,7 +457,7 @@ if ($object->fetch($id) >= 0) print ''; //Statut print ''; - print $formmailing->select_destinaries_status($search_dest_status,'search_dest_status',1); + print $formmailing->selectDestinariesStatus($search_dest_status,'search_dest_status',1); print ''; //Search Icon print ''; @@ -531,7 +531,7 @@ if ($object->fetch($id) >= 0) { print ''.$obj->date_envoi.''; print ''; - print $object::LibStatutDest($obj->statut,2); + print $object::libStatutDest($obj->statut,2); print ''; } diff --git a/htdocs/comm/mailing/class/mailing.class.php b/htdocs/comm/mailing/class/mailing.class.php index ac53567c3ca..1b2b26d7fd0 100644 --- a/htdocs/comm/mailing/class/mailing.class.php +++ b/htdocs/comm/mailing/class/mailing.class.php @@ -529,7 +529,7 @@ class Mailing extends CommonObject * @param int $mode 0=libelle long, 1=libelle court, 2=Picto + Libelle court, 3=Picto, 4=Picto + Libelle long, 5=Libelle court + Picto * @return string Label */ - static public function LibStatutDest($statut,$mode=0) + static public function libStatutDest($statut,$mode=0) { global $langs; $langs->load('mails'); diff --git a/htdocs/core/class/html.formmailing.class.php b/htdocs/core/class/html.formmailing.class.php index 14fbea3b0f9..98a76c84686 100644 --- a/htdocs/core/class/html.formmailing.class.php +++ b/htdocs/core/class/html.formmailing.class.php @@ -51,7 +51,7 @@ class FormMailing extends Form * @param number $show_empty show empty option * @return string HTML select */ - public function select_destinaries_status($selectedid='',$htmlname='dest_status', $show_empty=0) { + public function selectDestinariesStatus($selectedid='',$htmlname='dest_status', $show_empty=0) { global $langs; $langs->load("mails");