From af4ad473365c261a12422dc4c29069529af24e54 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 12 Dec 2004 18:21:41 +0000 Subject: [PATCH] Improve appearance --- html/jrn_op_detail.php | 16 ++++++++++------ html/modify_op.php | 5 ++++- html/style-light.css | 15 ++++++++++----- include/jrn.php | 2 +- 4 files changed, 25 insertions(+), 13 deletions(-) diff --git a/html/jrn_op_detail.php b/html/jrn_op_detail.php index 30a23d939..420325f46 100644 --- a/html/jrn_op_detail.php +++ b/html/jrn_op_detail.php @@ -55,18 +55,22 @@ echo ''; if ( isset ($e_ech) ) { echo "
Echeance $e_ech
"; } +echo '
'; + for ( $i = 0; $i < $max_deb;$i++) { $lib=GetPosteLibelle($g_dossier,${"e_class_deb$i"}); - echo '
'; - echo ${"e_class_deb$i"}." $lib "."".${"e_mont_deb$i"}.""; - echo "
"; + echo ${"e_class_deb$i"}." $lib "."".${"e_mont_deb$i"}.".
"; + } + echo "
"; + echo '
'; for ( $i = 0; $i < $max_cred;$i++) { $lib=GetPosteLibelle($g_dossier,${"e_class_cred$i"}); - echo '
'; - echo ${"e_class_cred$i"}." $lib "."".${"e_mont_cred$i"}.""; - echo '
'; + + echo ${"e_class_cred$i"}." $lib "."".${"e_mont_cred$i"}."
"; } + echo '
'; + $a=GetConcerned($cn,$e_jr_id); if ( $a != null ) { diff --git a/html/modify_op.php b/html/modify_op.php index d7a87d17a..711d16fd3 100644 --- a/html/modify_op.php +++ b/html/modify_op.php @@ -41,7 +41,10 @@ $cn=DbConnect($dossier); if ( isset( $p_jrn )) { session_register("g_jrn"); $g_jrn=$p_jrn; -} + } else { + if ( ! isset ( $g_jrn)) + $g_jrn=0; + } if ( isset ( $_GET['action'] ) ) { $action=$_GET['action']; } diff --git a/html/style-light.css b/html/style-light.css index 8a4db0192..8a3be22c5 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -1,11 +1,11 @@ /*