From c37ded23cf06ebb56afe103ff20bbaade05a1cdf Mon Sep 17 00:00:00 2001
From: Dany De Bontridder
Date: Wed, 5 May 2010 13:00:11 +0000
Subject: [PATCH] Cosmetic ======== add a class button for style-light.css must
done also for theme Change the apperance of submit, button_anchor and button
---
html/ajax_misc.php | 2 +-
html/annulation.php | 2 +-
html/index.php | 23 ++++++++++++++++++++++-
html/jrn_search.php | 2 +-
html/line_update.php | 2 +-
html/modify_op.php | 16 ++++++++--------
html/show_tva.php | 4 ++--
html/style-light.css | 20 ++++++++++++++++++++
html/user_login.php | 2 +-
include/action.common.inc.php | 12 ++++++------
include/adm.inc.php | 2 +-
include/class_acc_ledger.php | 2 +-
include/class_contact.php | 4 ++--
include/class_html_input.php | 8 ++++----
include/class_ibutton.php | 1 +
include/class_itva_popup.php | 2 +-
include/client.inc.php | 2 +-
include/contact.inc.php | 8 ++++----
include/dossier.inc.php | 2 +-
include/jrn.php | 12 ++++++------
include/modele.inc.php | 2 +-
include/param_jrn_detail.inc.php | 6 +++---
include/param_pcmn.inc.php | 2 +-
include/periode.inc.php | 2 +-
include/preod.inc.php | 4 ++--
include/supplier.inc.php | 2 +-
include/template/detail-action.php | 6 +++---
include/tva.inc.php | 10 +++++-----
include/user.inc.php | 2 +-
29 files changed, 103 insertions(+), 61 deletions(-)
diff --git a/html/ajax_misc.php b/html/ajax_misc.php
index 48dfd5b71..ef0681fa5 100644
--- a/html/ajax_misc.php
+++ b/html/ajax_misc.php
@@ -149,7 +149,7 @@ EOF;
}
}
- $set= ' ';
+ $set= ' ';
$r.='';
$r.=td($set);
$r.=td($row['tva_id']);
diff --git a/html/annulation.php b/html/annulation.php
index a617947f0..bb54c474f 100644
--- a/html/annulation.php
+++ b/html/annulation.php
@@ -455,7 +455,7 @@ echo dossier::hidden().
'
-
+
';
html_page_stop();
diff --git a/html/index.php b/html/index.php
index 3dea94e73..8e5d411f0 100644
--- a/html/index.php
+++ b/html/index.php
@@ -139,6 +139,27 @@ BODY {
color:red;
}
+
+.button {
+ font-size:12;
+ color:black;
+ text-decoration:none;
+ font-family: arial,sans-serif;
+ background-color:lightblue;
+ border-color: grey ;
+ border-width:1 1 2 1;
+ padding:2 4 2 4;
+ cursor:pointer;
+ margin:1 2 1 2;
+
+}
+.button:hover{
+ cursor:pointer;
+ background-color:white;
+ font-color:blue;
+ margin:1 2 1 2;
+ }
+
@@ -176,7 +197,7 @@ version 5.0.build SVNINFO - '.$my_domain.'
-
+
diff --git a/html/jrn_search.php b/html/jrn_search.php
index 931479428..7de89065d 100644
--- a/html/jrn_search.php
+++ b/html/jrn_search.php
@@ -150,7 +150,7 @@ echo "";
echo '';
echo HtmlInput::submit('search','cherche');
-echo ' ';
+echo ' ';
echo '';
echo '';
// if a search is asked otherwise don't show all the rows
diff --git a/html/line_update.php b/html/line_update.php
index b26d69259..6e0d1f4fd 100644
--- a/html/line_update.php
+++ b/html/line_update.php
@@ -111,7 +111,7 @@ echo $acc->form(true);
',h($acc->get_parameter('value'))); ?>
-
+
diff --git a/html/modify_op.php b/html/modify_op.php
index 4b9caafbe..27939aae0 100644
--- a/html/modify_op.php
+++ b/html/modify_op.php
@@ -116,7 +116,7 @@ if ( $action == 'update' ) {
$readonly=($p_view=='E')?0:1;
$view.=ShowOperationUser($cn,$p_id,$readonly);
$view.=' ';
- $view.=' ';
+ $view.=' ';
$view.=' ';
$view.=" ";
$view.=" ";
@@ -124,7 +124,7 @@ if ( $action == 'update' ) {
if ( $User->check_jrn($p_jrn) == 'W')
$view.=($p_view == 'S')?HtmlInput::submit('update_record','Enregistre'):'';
$view.=" ";
- $view.=' ';
+ $view.=' ';
$view.='';
$view.='
';
@@ -139,7 +139,7 @@ if ( $action == 'update' ) {
$readonly=($p_view=='S')?0:1;
$view.=ShowOperationExpert($cn,$p_id,$readonly);
$view.=' ';
- $view.=' ';
+ $view.=' ';
$view.=' ';
$view.=" ";
$view.=" ";
@@ -147,7 +147,7 @@ if ( $action == 'update' ) {
if ( $User->check_jrn($p_jrn) == 'W')
$view.=($p_view == 'E') ?HtmlInput::submit('update_record','Enregistre'):'';
$view.=" ";
- $view.=' ';
+ $view.=' ';
$view.='';
@@ -166,8 +166,8 @@ if ( $action=="view_ca") {
$view.='Vue simple ';
$view.=ShowOperationUser($cn,$p_id,0);
$view.=' ';
- $view.=' ';
- $view.=' ';
+ $view.=' ';
+ $view.=' ';
$view.='';
@@ -178,8 +178,8 @@ if ( $action=="view_ca") {
$view.=ShowOperationExpert($cn,$p_id,0);
$view.=' ';
- $view.=' ';
- $view.=' ';
+ $view.=' ';
+ $view.=' ';
$view.='';
echo $view;
exit();
diff --git a/html/show_tva.php b/html/show_tva.php
index b7dd0fd81..f61c1a5bf 100644
--- a/html/show_tva.php
+++ b/html/show_tva.php
@@ -49,7 +49,7 @@ $Max=Database::num_row($Res);
echo "';
?>
-
+
diff --git a/html/style-light.css b/html/style-light.css
index 8a13af639..231f16361 100644
--- a/html/style-light.css
+++ b/html/style-light.css
@@ -749,4 +749,24 @@ color:black;
cursor:inherit;
}
+.button {
+ font-size:12;
+ color:black;
+ text-decoration:none;
+ font-family: arial,sans-serif;
+ background-color:lightblue;
+ border-style: inset ;
+ border-color: blue ;
+ border-width:1;
+ padding:2 4 2 4;
+ cursor:pointer;
+ margin:1 2 1 2;
+
+}
+.button:hover{
+ cursor:pointer;
+ background-color:white;
+ font-color:blue;
+ margin:1 2 1 2;
+ }
/* */
diff --git a/html/user_login.php b/html/user_login.php
index 143d3ee24..3e1a061d7 100644
--- a/html/user_login.php
+++ b/html/user_login.php
@@ -79,7 +79,7 @@ echo ''.$result.' ';
echo '';
?>
';
+ echo ' ';
+ echo ' ';
echo $supl_hidden;
echo '';
echo '';
@@ -206,7 +206,7 @@ if ( $sub_action == "add_action" )
echo ' ';
echo ' ';
echo ' ';
- echo ' ';
+ echo ' ';
echo '';
echo '';
@@ -289,7 +289,7 @@ function ShowActionList($cn,$p_base)
$my_action->selected= (isset($_REQUEST['all_action']))?true:false;
echo _('affecté à d\'autre:').$my_action->input().' ';
?>
-
+
=$supl_hidden?>
@@ -302,11 +302,11 @@ function ShowActionList($cn,$p_base)