From 7e4c7d41cca39946a590873d950e05a723aa9a50 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Thu, 20 Nov 2003 18:51:38 +0000 Subject: [PATCH] Change the name webcompta to phpcompta --- Faq | 2 +- INSTALL | 2 +- html/admin_repo.php | 39 ++++++++++++++++++++++++--------------- html/calculator.js | 8 ++++---- html/calendar.js | 8 ++++---- html/central.php | 10 +++++----- html/compta.php | 10 +++++----- html/compta_login.php | 12 ++++++------ html/compute.js | 8 ++++---- html/dossier_prefs.php | 10 +++++----- html/enc_jrn.php | 10 +++++----- html/facturation.php | 10 +++++----- html/fiche.php | 10 +++++----- html/form.php | 10 +++++----- html/jrn_add.php | 10 +++++----- html/jrn_detail.php | 10 +++++----- html/jrn_op_detail.php | 10 +++++----- html/jrn_search.php | 10 +++++----- html/jrn_update.php | 10 +++++----- html/line_update.php | 10 +++++----- html/login.php | 12 ++++++------ html/logout.php | 10 +++++----- html/not_implemented.php | 10 +++++----- html/pcmn_update.php | 10 +++++----- html/poste_search.php | 10 +++++----- html/priv_user.php | 14 +++++++------- html/rate_chg.php | 10 +++++----- html/send.php | 10 +++++----- html/send_jrn_pdf.php | 10 +++++----- html/send_poste_pdf.php | 10 +++++----- install.sh | 16 +++++++++------- 31 files changed, 171 insertions(+), 160 deletions(-) diff --git a/Faq b/Faq index c2b84dea8..e094d0c14 100644 --- a/Faq +++ b/Faq @@ -16,5 +16,5 @@ session.cookie_lifetime = 0 ; lifetime in seconds of cookie session.cookie_path = /tmp ; the path the cookie is valid for 2. Quand on réinitialise le mot de passe, que vaut-il ? -Le mot de passe par défaut est webcompta +Le mot de passe par défaut est phpcompta diff --git a/INSTALL b/INSTALL index c99556fab..7b2ff60b9 100644 --- a/INSTALL +++ b/INSTALL @@ -48,7 +48,7 @@ vous permettra de r Ce fichier doit au moins contenir la ligne: # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD -host all webcompta 172.16.30.0 255.255.255.0 trust +host all phpcompta 172.16.30.0 255.255.255.0 trust Il vaut mieux remplacer 172.16.30.0 par l'adresse du server HTTP, dans le cas où vous utilisez un VirtualHost avec une adresse IP, c'est diff --git a/html/admin_repo.php b/html/admin_repo.php index 8f16e7658..48daa5658 100644 --- a/html/admin_repo.php +++ b/html/admin_repo.php @@ -1,23 +1,23 @@ "; foreach ( $Res as $Dossier) { @@ -132,27 +139,28 @@ if ( $Res != null ) { } echo ""; - // Load the available Templates - $Res=ExecSql($cn,"select mod_id,mod_name,mod_desc from +} + + // Load the available Templates +$Res=ExecSql($cn,"select mod_id,mod_name,mod_desc from modeledef order by mod_name"); - $count=pg_NumRows($Res); - $template=""; - if ( $count == 0 ) { +$count=pg_NumRows($Res); + +if ( $count == 0 ) { echo "No template available"; } else { - $template.=''; for ($i=0;$i<$count;$i++) { $mod=pg_fetch_array($Res,0); $template.='