From 99b6d77a10401089b0eb77c0239078344171ffc1 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 7 Jun 2020 14:29:23 +0200 Subject: [PATCH] Install show choosen password for admin --- html/install.php | 2 +- include/class/fiche.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/install.php b/html/install.php index 51d776865..1536f6650 100644 --- a/html/install.php +++ b/html/install.php @@ -601,7 +601,7 @@ if ($account == 0 ) { if ( ! DEBUG) ob_end_clean(); echo '

'._('Important').'

'; echo '

'._('Utilisateur administrateur'),' ',NOALYSS_ADMINISTRATOR,'

'; -echo '

',_('Mot de passe'),' phpcompta','

'; +echo '

',_('Mot de passe')," ",NOALYSS_ADMIN_PASSWORD,'

'; }// end if // Add a french accountancy model //-- diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php index 73d5bec34..50bb3fb25 100644 --- a/include/class/fiche.class.php +++ b/include/class/fiche.class.php @@ -2282,7 +2282,7 @@ class Fiche echo td($attr->av_text, 'style="padding: 0 10 1 10;white-space:nowrap;" '.$sort); } else { - $value=$cn->make_array($attr->ad_extra); + $value=$this->cn->make_array($attr->ad_extra); $row_content=""; for ($e=0; $eav_text) {