From 1e1901dda41a7fde22d1aa67ea9f7b7bf605f340 Mon Sep 17 00:00:00 2001 From: Stan Pinte Date: Sat, 21 Jan 2006 22:38:19 +0000 Subject: [PATCH] Bound Ctrl-Enter to Enregister button --- include/user_action_ach.php | 2 +- include/user_form_ach.php | 2 +- include/user_form_ven.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/user_action_ach.php b/include/user_action_ach.php index 7b9e1850f..b9ab3b3bc 100644 --- a/include/user_action_ach.php +++ b/include/user_action_ach.php @@ -43,7 +43,7 @@ if ( $action == 'new' ) { if ( isset($_GET['blank'] )) { // Submit button in the form $submit=' - '; + '; $r=FormAchInput($cn,$_GET['p_jrn'],$User->GetPeriode(),$HTTP_POST_VARS,$submit,false); echo '
'; echo $r; diff --git a/include/user_form_ach.php b/include/user_form_ach.php index 9ef303592..08947514d 100644 --- a/include/user_form_ach.php +++ b/include/user_form_ach.php @@ -41,7 +41,7 @@ require_once("user_common.php"); function FormAchInput($p_cn,$p_jrn,$p_periode,$p_array=null,$p_submit="",$pview_only=true,$p_article=1) { - if ( $p_array != null ) { + if ( $p_array != null) { // array contains old value extract($p_array); } diff --git a/include/user_form_ven.php b/include/user_form_ven.php index 180540797..afdb528eb 100644 --- a/include/user_form_ven.php +++ b/include/user_form_ven.php @@ -230,7 +230,7 @@ function FormVenInput($p_cn,$p_jrn,$p_periode,$p_array=null,$pview_only=true,$p_ if ($pview_only == false ) { $r.=''; - $r.=''; + $r.=''; $r.="
"; $r.=""; $r.=JS_CALC_LINE;