diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php index f72b8187ec9..a727e812f8a 100644 --- a/htdocs/contact/class/contact.class.php +++ b/htdocs/contact/class/contact.class.php @@ -99,7 +99,7 @@ class Contact extends CommonObject 'firstname' => array('type' => 'varchar(50)', 'label' => 'Firstname', 'enabled' => 1, 'visible' => 1, 'position' => 50, 'showoncombobox' => 1, 'searchall' => 1), 'poste' => array('type' => 'varchar(80)', 'label' => 'PostOrFunction', 'enabled' => 1, 'visible' => -1, 'position' => 52), 'address' => array('type' => 'varchar(255)', 'label' => 'Address', 'enabled' => 1, 'visible' => -1, 'position' => 55), - 'zip' => array('type' => 'varchar(25)', 'label' => 'Zip', 'enabled' => 1, 'visible' => 1, 'position' => 60), + 'zip' => array('type' => 'varchar(25)', 'label' => 'Zip', 'enabled' => 1, 'visible' => -1, 'position' => 60), 'town' => array('type' => 'varchar(50)', 'label' => 'Town', 'enabled' => 1, 'visible' => -1, 'position' => 65), 'fk_departement' => array('type' => 'integer', 'label' => 'Fk departement', 'enabled' => 1, 'visible' => 3, 'position' => 70), 'fk_pays' => array('type' => 'integer', 'label' => 'Fk pays', 'enabled' => 1, 'visible' => 3, 'position' => 75), diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php index a891a27d050..33b6d588ebc 100644 --- a/htdocs/contact/list.php +++ b/htdocs/contact/list.php @@ -1631,7 +1631,7 @@ while ($i < $imaxinloop) { // Company / Third Party if (!empty($arrayfields['p.fk_soc']['checked']) || !empty($arrayfields['s.nom']['checked'])) { - print ''; + print ''; if ($obj->socid) { $objsoc = new Societe($db); $objsoc->fetch($obj->socid); diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 300e659b53b..83089a617ff 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -336,7 +336,7 @@ if ($result) { $lastmodified .= ''; //$lastmodified .= img_picto('', 'company', 'class="pictofixedwidth"'); $lastmodified .= ''.$transRecordedType.''; - $lastmodified .= ''; + $lastmodified .= ''; $lastmodified .= '...'; $lastmodified .= ''; $lastmodified .= ''; @@ -459,7 +459,7 @@ if ($result) { $lastmodifiedcontact .= ''; //$lastmodifiedcontact .= img_picto('', 'contact', 'class="pictofixedwidth"'); $lastmodifiedcontact .= ''.$transRecordedType.''; - $lastmodifiedcontact .= ''; + $lastmodifiedcontact .= ''; //$lastmodifiedcontact .= img_picto($langs->trans("FullList"), 'contact'); $lastmodifiedcontact .= '...'; $lastmodifiedcontact .= ''; diff --git a/htdocs/user/home.php b/htdocs/user/home.php index 1ae9048f9ec..be36fb97994 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -147,7 +147,7 @@ if ($resql) { $lastcreatedbox .= ''; $lastcreatedbox .= ''; @@ -162,6 +162,7 @@ if ($resql) { $fuserstatic->id = $obj->rowid; $fuserstatic->statut = $obj->statut; + $fuserstatic->status = $obj->statut; $fuserstatic->lastname = $obj->lastname; $fuserstatic->firstname = $obj->firstname; $fuserstatic->login = $obj->login; @@ -253,7 +254,7 @@ if ($canreadperms) { $lastgroupbox .= '
'; $lastcreatedbox .= ''.$langs->trans("LastUsersCreated", min($num, $max)).''; - $lastcreatedbox .= ''; + $lastcreatedbox .= ''; $lastcreatedbox .= '...'; $lastcreatedbox .= ''; $lastcreatedbox .= '
'; $lastgroupbox .= '
'; $lastgroupbox .= ''.$langs->trans("LastGroupsCreated", ($num ? $num : $max)).''; - $lastgroupbox .= ''; + $lastgroupbox .= ''; $lastgroupbox .= '...'; $lastgroupbox .= '';