diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php index dd46030985f..296323ca8e4 100644 --- a/htdocs/adherents/stats/geo.php +++ b/htdocs/adherents/stats/geo.php @@ -226,7 +226,7 @@ print dol_get_fiche_head($head, (string) $tab, '', -1, ''); // Print title if ($mode && !count($data)) { - print $langs->trans("NoValidatedMemberYet").'
'; + print ''.$langs->trans("NoValidatedMemberYet").'
'; print '
'; } else { if (empty($mode) || $mode == 'memberbycountry') { diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index c5f11806f63..40018d81336 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -32,6 +32,14 @@ // Load Dolibarr environment require '../main.inc.php'; +/** + * @var Conf $conf + * @var DoliDB $db + * @var HookManager $hookmanager + * @var Societe $mysoc + * @var Translate $langs + * @var User $user + */ require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; @@ -46,15 +54,6 @@ $action = GETPOST('action', 'aZ09'); $contextpage = GETPOST('contextpage', 'aZ') ? GETPOST('contextpage', 'aZ') : 'admincompany'; // To manage different context of search $page_y = GETPOSTINT('page_y'); -/** - * @var Conf $conf - * @var DoliDB $db - * @var HookManager $hookmanager - * @var Societe $mysoc - * @var Translate $langs - * @var User $user - */ - // Load translation files required by the page $langs->loadLangs(array('admin', 'companies', 'bills')); @@ -604,15 +603,6 @@ print ''; print ''; -// Juridical Status -print ''; -if ($mysoc->country_code) { - print $formcompany->select_juridicalstatus(getDolGlobalInt('MAIN_INFO_SOCIETE_FORME_JURIDIQUE'), $mysoc->country_code, '', 'forme_juridique_code'); -} else { - print $countrynotdefined; -} -print ''; - // Object of the company print ''; print ''; @@ -623,6 +613,15 @@ print '