update code toward php8 compliance
This commit is contained in:
parent
32b37718c7
commit
7cca9f5c14
@ -211,7 +211,7 @@ for ($i = 1; $i <= 4; $i++) {
|
||||
<td><?php echo $this->control->tpl['select_workforce']; echo $this->control->tpl['info_admin']; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php if (!empty($conf->global->MAIN_MULTILANGS)) { ?>
|
||||
<?php if (getDolGlobalInt('MAIN_MULTILANGS')) { ?>
|
||||
<tr>
|
||||
<td><?php echo $langs->trans("DefaultLang"); ?></td>
|
||||
<td colspan="3"><?php echo $this->control->tpl['select_lang']; ?></td>
|
||||
|
||||
@ -190,7 +190,7 @@ for ($i = 1; $i <= 4; $i++) {
|
||||
<td><?php echo $this->control->tpl['effectif']; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php if (!empty($conf->global->MAIN_MULTILANGS)) { ?>
|
||||
<?php if (getDolGlobalInt('MAIN_MULTILANGS')) { ?>
|
||||
<tr>
|
||||
<td><?php echo $langs->trans("DefaultLang"); ?></td>
|
||||
<td colspan="3"><?php echo $this->control->tpl['default_lang']; ?></td>
|
||||
|
||||
@ -156,7 +156,7 @@ if (isModEnabled('barcode')) { ?>
|
||||
<td><input type="text" name="url" size="32" value="<?php echo $this->control->tpl['url']; ?>"></td>
|
||||
</tr>
|
||||
|
||||
<?php if (!empty($conf->global->MAIN_MULTILANGS)) { ?>
|
||||
<?php if (getDolGlobalInt('MAIN_MULTILANGS')) { ?>
|
||||
<tr>
|
||||
<td><?php echo $langs->trans("DefaultLang"); ?></td>
|
||||
<td colspan="3"><?php echo $this->control->tpl['select_lang']; ?></td>
|
||||
|
||||
@ -160,7 +160,7 @@ if ($this->control->tpl['fournisseur']) {
|
||||
<td><input type="text" name="url" size="32" value="<?php echo $this->control->tpl['url']; ?>"></td>
|
||||
</tr>
|
||||
|
||||
<?php if (!empty($conf->global->MAIN_MULTILANGS)) { ?>
|
||||
<?php if (getDolGlobalInt('MAIN_MULTILANGS')) { ?>
|
||||
<tr>
|
||||
<td><?php echo $langs->trans("DefaultLang"); ?></td>
|
||||
<td colspan="3"><?php echo $this->control->tpl['select_lang']; ?></td>
|
||||
|
||||
@ -131,7 +131,7 @@ if ($this->control->tpl['action_delete']) {
|
||||
<td colspan="3"><?php echo $this->control->tpl['typent']; ?></td>
|
||||
</tr>
|
||||
|
||||
<?php if (!empty($conf->global->MAIN_MULTILANGS)) { ?>
|
||||
<?php if (getDolGlobalInt('MAIN_MULTILANGS')) { ?>
|
||||
<tr>
|
||||
<td><?php echo $langs->trans("DefaultLang"); ?></td>
|
||||
<td colspan="3"><?php echo $this->control->tpl['default_lang']; ?></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user