From b9971792ff1cf5575a929b040ef5a4194ee34d16 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Mon, 15 Jun 2009 14:26:34 +0000
Subject: [PATCH] Perf: Several speed optimizing after using the Google Page
 Speed plugin for firebug

---
 ChangeLog                                     |   2 +
 .../includes/modules/modTelephonie.class.php  |   3 +
 htdocs/lib/lib_head.js                        |  16 +-
 htdocs/main.inc.php                           |  10 +-
 htdocs/telephonie/telephonie.css              |  20 ++
 htdocs/theme/auguria/alert.css                | 143 --------------
 htdocs/theme/auguria/auguria.css.php          | 180 +++++++++++++----
 htdocs/theme/bluelagoon/alert.css             | 143 --------------
 htdocs/theme/bluelagoon/bluelagoon.css        | 163 +++++++++++++++-
 htdocs/theme/eldy/alert.css                   | 145 --------------
 htdocs/theme/eldy/eldy.css.php                | 183 ++++++++++++++----
 htdocs/theme/freelug/alert.css                | 143 --------------
 htdocs/theme/freelug/freelug.css.php          | 158 +++++++++++++--
 htdocs/theme/rodolphe/alert.css               | 145 --------------
 htdocs/theme/rodolphe/alert/.cvsignore        |   1 +
 htdocs/theme/rodolphe/alert/bottom.gif        | Bin 0 -> 70 bytes
 htdocs/theme/rodolphe/alert/bottom_left.gif   | Bin 0 -> 49 bytes
 htdocs/theme/rodolphe/alert/bottom_right.gif  | Bin 0 -> 49 bytes
 htdocs/theme/rodolphe/alert/left.gif          | Bin 0 -> 84 bytes
 htdocs/theme/rodolphe/alert/overlay.png       | Bin 0 -> 2829 bytes
 htdocs/theme/rodolphe/alert/progress.gif      | Bin 0 -> 1542 bytes
 htdocs/theme/rodolphe/alert/right.gif         | Bin 0 -> 84 bytes
 htdocs/theme/rodolphe/alert/top.gif           | Bin 0 -> 70 bytes
 htdocs/theme/rodolphe/alert/top_left.gif      | Bin 0 -> 49 bytes
 htdocs/theme/rodolphe/alert/top_right.gif     | Bin 0 -> 49 bytes
 htdocs/theme/rodolphe/rodolphe.css            | 174 ++++++++++++++++-
 htdocs/theme/yellow/alert.css                 | 143 --------------
 htdocs/theme/yellow/yellow.css.php            | 154 ++++++++++++++-
 28 files changed, 943 insertions(+), 983 deletions(-)
 create mode 100644 htdocs/telephonie/telephonie.css
 delete mode 100644 htdocs/theme/auguria/alert.css
 delete mode 100644 htdocs/theme/bluelagoon/alert.css
 delete mode 100644 htdocs/theme/eldy/alert.css
 delete mode 100644 htdocs/theme/freelug/alert.css
 delete mode 100644 htdocs/theme/rodolphe/alert.css
 create mode 100644 htdocs/theme/rodolphe/alert/.cvsignore
 create mode 100644 htdocs/theme/rodolphe/alert/bottom.gif
 create mode 100644 htdocs/theme/rodolphe/alert/bottom_left.gif
 create mode 100644 htdocs/theme/rodolphe/alert/bottom_right.gif
 create mode 100644 htdocs/theme/rodolphe/alert/left.gif
 create mode 100644 htdocs/theme/rodolphe/alert/overlay.png
 create mode 100644 htdocs/theme/rodolphe/alert/progress.gif
 create mode 100644 htdocs/theme/rodolphe/alert/right.gif
 create mode 100644 htdocs/theme/rodolphe/alert/top.gif
 create mode 100644 htdocs/theme/rodolphe/alert/top_left.gif
 create mode 100644 htdocs/theme/rodolphe/alert/top_right.gif
 delete mode 100644 htdocs/theme/yellow/alert.css

diff --git a/ChangeLog b/ChangeLog
index eb2370ddb7e..8f039fa5444 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,8 @@ For users:
 - New: Add stock in product lists.
 - New: Can filter list of stock movement on date or product.
 - New: Added a link from product list to their stock movements.
+- New: Several speed enhancements after using the Google Page speed 
+  plugin for FireBug.
 - Fix: Nb of orders to process was wrong.
 - Fix: Customer code was not correct on PDF it if contains special 
        characters.
diff --git a/htdocs/includes/modules/modTelephonie.class.php b/htdocs/includes/modules/modTelephonie.class.php
index 4bff8b90f0a..c20b352f909 100644
--- a/htdocs/includes/modules/modTelephonie.class.php
+++ b/htdocs/includes/modules/modTelephonie.class.php
@@ -62,6 +62,9 @@ class modTelephonie extends DolibarrModules
 		$this->special = 3;
 		$this->picto='phoning';
 
+		// Relative path to module style sheet if exists
+		$this->style_sheet = '/telephonie/telephonie.css';
+
 		// Data directories to create when module is enabled
 		$this->dirs = array("/telephonie/temp",
 							"/telephonie/graph",
diff --git a/htdocs/lib/lib_head.js b/htdocs/lib/lib_head.js
index c93fc900088..1b64ef4badf 100644
--- a/htdocs/lib/lib_head.js
+++ b/htdocs/lib/lib_head.js
@@ -411,6 +411,7 @@ function formDisplayHideId(baliseId,numField)
 				 Minute       | mm (2 digits)
 				 Second       | ss (2 digits)
 	Author:   Laurent Destailleur
+	Author:   Matelli (see http://matelli.fr/showcases/patchs-dolibarr/update-date-input-in-action-form.html)
 	Licence:  GPL
 ==================================================================*/
 function formatDate(date,format)
@@ -426,8 +427,6 @@ function formatDate(date,format)
 	var month=date.getMonth()+1;
 	var day=date.getDate();
 	var hour=date.getHours();
-	// Fixed by Matelli (see http://matelli.fr/showcases/patchs-dolibarr/update-date-input-in-action-form.html)
-	// The variable is later called "minute", not "min"
 	var minute=date.getMinutes();
 	var seconde=date.getSeconds();
 
@@ -448,9 +447,6 @@ function formatDate(date,format)
 		else if (substr == 'MM')   { result=result+(month<1||month>9?"":"0")+month; }
 		else if (substr == 'd')    { result=result+day; }
 		else if (substr == 'dd')   { result=result+(day<1||day>9?"":"0")+day; }
-		// Fixed by Matelli (see http://matelli.fr/showcases/patchs-dolibarr/update-date-input-in-action-form.html)
-		// An hour, minute, or second of "0" is valid, so we must also add a "0" in this case
-		// So, the condition should begin with "hour/minute/seconde<0", not "<1"
 		else if (substr == 'hh')   { if (hour > 12) hour-=12; result=result+(hour<0||hour>9?"":"0")+hour; }
 		else if (substr == 'HH')   { result=result+(hour<0||hour>9?"":"0")+hour; }
 		else if (substr == 'mm')   { result=result+(minute<0||minute>9?"":"0")+minute; }
@@ -514,16 +510,6 @@ function getDateFromFormat(val,format)
 		}
 
 		//alert('substr='+substr);
-/*		if (substr == "yyyy") year=getIntegerInString(val,i,4,4);
-		if (substr == "yy")   year=""+(getIntegerInString(val,i,2,2)-0+1900);
-		if (substr == "MM")   month=getIntegerInString(val,i,2,2);
-		if (substr == "M")    month=getIntegerInString(val,i,1,2);
-		if (substr == "dd")   day=getIntegerInString(val,i,1,2);
-		if (substr == "hh")   hour=getIntegerInString(val,i,1,2);
-		if (substr == "HH")   hour=getIntegerInString(val,i,1,2);
-		if (substr == "mm")   minute=getIntegerInString(val,i,1,2);
-		if (substr == "ss")   seconde=getIntegerInString(val,i,1,2);
-*/
         if (substr == "yyyy") year=getIntegerInString(val,d,4,4); 
         if (substr == "yy")   year=""+(getIntegerInString(val,d,2,2)-0+1900); 
         if (substr == "MM" ||substr == "M") 
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index c52b8e7f680..3cd434c4f96 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -756,15 +756,15 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
 			if (! defined('DISABLE_SCRIPTACULOUS'))
 			{
 				print '<!-- Includes for Scriptaculous (Used by Drag and drop and PWC) -->'."\n";
-				print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/scriptaculous/src/scriptaculous.js"></script>'."\n";
+				//print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/scriptaculous/src/scriptaculous.js"></script>'."\n";
+				//print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/scriptaculous/src/scriptaculous.js?load=builder,effects,dragdrop,controls,slider,sound"></script>'."\n";
+				print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/scriptaculous/src/scriptaculous.js?load=effects,dragdrop"></script>'."\n";
 			}
 
 			// Those ones are required only with option "confirm by ajax popup"
 			if (! defined('DISABLE_PWC') && $conf->global->MAIN_CONFIRM_AJAX)
 			{
 				print '<!-- Includes for PWC (Used for confirm popup) -->'."\n";
-				// PWC css
-				print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/alert.css">'."\n";
 				// PWC js
 				print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/pwc/window.js"></script>'."\n";
 			}
@@ -850,14 +850,14 @@ function top_menu($head, $title='', $target='')
 		$text.='<a href="'.DOL_URL_ROOT.'/user/logout.php"';
 		$text.=$menutop->atarget?(' target="'.$menutop->atarget.'"'):'';
 		$text.='>';
-		$text.='<img class="login" border="0" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png"';
+		$text.='<img class="login" border="0" width="14" height="14" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png"';
 		$text.=' alt="'.$langs->trans("Logout").'" title=""';
 		$text.='>';
 		$text.='</a>';
 	}
 	else
 	{
-		$text.='<img class="login" border="0" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png"';
+		$text.='<img class="login" border="0" width="14" height="14" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/logout.png"';
 		$text.=' alt="'.$langs->trans("Logout").'" title=""';
 		$text.='>';
 	}
diff --git a/htdocs/telephonie/telephonie.css b/htdocs/telephonie/telephonie.css
new file mode 100644
index 00000000000..5c3f0cfca8e
--- /dev/null
+++ b/htdocs/telephonie/telephonie.css
@@ -0,0 +1,20 @@
+
+/* ============================================================================== */
+/*  CSS module telephonie                                                         */
+/* ============================================================================== */
+
+#corpForm fieldset {	/*** Mise en forme des cadres ***/
+	margin: 0;
+	font-style: normal;
+	padding: 0 1em 1em;
+	font-size: 12px;
+}
+
+#corpForm .focus {	/*** Mise en avant des champs en cours d'utilisation ***/
+	background: #FFF0F0;
+	color: black;
+}
+#corpForm .normal {	/*** Retour � l'�tat normal apr�s l'utilisation ***/
+	background: white;
+	color: black;
+}
diff --git a/htdocs/theme/auguria/alert.css b/htdocs/theme/auguria/alert.css
deleted file mode 100644
index dd160c71382..00000000000
--- a/htdocs/theme/auguria/alert.css
+++ /dev/null
@@ -1,143 +0,0 @@
-.overlay_alert {
-	background-color: #DDDDDD;
-	filter: alpha(opacity=50); /* Does not respect CSS standard, but required to avoid IE bug */
-	-moz-opacity: 0.5;
-	opacity: 0.5;
-}
-
-.alert_nw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
-}
-
-.alert_n {
-	height: 5px;
-	background: transparent url(alert/top.gif) repeat-x bottom left;			
-}
-
-.alert_ne {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_right.gif) no-repeat bottom left			
-}
-
-.alert_e {
-	width: 5px;
-	background: transparent url(alert/right.gif) repeat-y 0 0;			
-}
-
-.alert_w {
-	width: 5px;
-	background: transparent url(alert/left.gif) repeat-y 0 0;			
-}
-
-.alert_sw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
-}
-
-.alert_s {
-	height: 5px;
-	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
-}
-
-.alert_se, .alert_sizer {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
-}
-
-.alert_close {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_minimize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_maximize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_title {
-	float:left;
-	height:1px;
-	width:100%;
-}
-
-.alert_content {
-	overflow:visible;
-	color: #000;
-	font-family: Tahoma, Arial, sans-serif;
-  	font: 12px arial;
-	background: #FFF;
-}
-
-/* For alert/confirm dialog */
-.alert_window {
-	background: #FFF;
-	padding:30px;
-	margin-left:auto;
-	margin-right:auto;
-	width:400px;
-}
-
-.alert_message {
-  font: 12px arial;
-  text-align:left;
-	width:100%;
-	color:#012;
-	padding-top:5px;
-	padding-left:5px;
-	padding-bottom:5px;
-}
-
-.alert_buttons {
-	text-align:center;
-	width:100%;
-}
-
-.alert_buttons input {
-	width:20%;
-	margin:5px;
-}
-
-.alert_progress {
-	float:left;
-	margin:auto;
-	text-align:center;
-	width:100%;
-	height:16px;
-	background: #FFF url('alert/progress.gif') no-repeat center center
-}
-
-
-/* DO NOT CHANGE THESE VALUES*/
-.dialog {
-	display: block;
-	position: absolute;
-}
-
-.dialog table.table_window  { 
-  border-collapse: collapse; 
-  border-spacing: 0; 
-  width: 100%;
-	margin: 0px;
-	padding:0px;
-}
-
-.dialog table.table_window td , .dialog table.table_window th { 
-  padding: 0; 
-}
-
-.dialog .title_window {
-  -moz-user-select:none;
-}
diff --git a/htdocs/theme/auguria/auguria.css.php b/htdocs/theme/auguria/auguria.css.php
index bdc8ae9fffd..78a0a0dcae7 100644
--- a/htdocs/theme/auguria/auguria.css.php
+++ b/htdocs/theme/auguria/auguria.css.php
@@ -882,6 +882,9 @@ a.impayee:active { font-weight: bold; color: #550000; }
 a.impayee:hover { font-weight: bold; color: #550000; }
 
 
+td.small {
+           font-size: 10px;
+           }
 
 
 /*
@@ -894,7 +897,7 @@ div.titre {
 
 
 /* ============================================================================== */
-/* Formulaire confirmation                                                        */
+/* Formulaire confirmation (HTML)                                                 */
 /* ============================================================================== */
 
 td.validtitle {
@@ -905,24 +908,153 @@ td.valid {
            background: #EECC55;
            }
 
+/* ============================================================================== */
+/* Formulaire confirmation (AJAX)                                                 */
+/* ============================================================================== */
 
-td.small {
-           font-size: 10px;
-           }
+.overlay_alert {
+	background-color: #DDDDDD;
+	filter: alpha(opacity=50); /* Does not respect CSS standard, but required to avoid IE bug */
+	-moz-opacity: 0.5;
+	opacity: 0.5;
+}
 
-tr.nonpayed {
-           font-weight: bold;
-           }
+.alert_nw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_left.gif) no-repeat bottom left;
+}
 
+.alert_n {
+	height: 5px;
+	background: transparent url(alert/top.gif) repeat-x bottom left;
+}
 
-div.version {
-background: #F4F4F4;
-text-align: right;
-font-size: 9px;
-margin: 1px 0em 0em 0em;
-padding: 2px;
+.alert_ne {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_right.gif) no-repeat bottom left
 }
 
+.alert_e {
+	width: 5px;
+	background: transparent url(alert/right.gif) repeat-y 0 0;
+}
+
+.alert_w {
+	width: 5px;
+	background: transparent url(alert/left.gif) repeat-y 0 0;
+}
+
+.alert_sw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;
+}
+
+.alert_s {
+	height: 5px;
+	background: transparent url(alert/bottom.gif) repeat-x 0 0;
+}
+
+.alert_se, .alert_sizer {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;
+}
+
+.alert_close {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_minimize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_maximize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_title {
+	float:left;
+	height:1px;
+	width:100%;
+}
+
+.alert_content {
+	overflow:visible;
+	color: #000;
+	font-family: Tahoma, Arial, sans-serif;
+  	font: 12px arial;
+	background: #FFF;
+}
+
+/* For alert/confirm dialog */
+.alert_window {
+	background: #FFF;
+	padding:30px;
+	margin-left:auto;
+	margin-right:auto;
+	width:400px;
+}
+
+.alert_message {
+  font: 12px arial;
+  text-align:left;
+	width:100%;
+	color:#012;
+	padding-top:5px;
+	padding-left:5px;
+	padding-bottom:5px;
+}
+
+.alert_buttons {
+	text-align:center;
+	width:100%;
+}
+
+.alert_buttons input {
+	width:20%;
+	margin:5px;
+}
+
+.alert_progress {
+	float:left;
+	margin:auto;
+	text-align:center;
+	width:100%;
+	height:16px;
+	background: #FFF url('alert/progress.gif') no-repeat center center
+}
+
+.dialog {
+	display: block;
+	position: absolute;
+}
+
+.dialog table.table_window  {
+  border-collapse: collapse;
+  border-spacing: 0;
+  width: 100%;
+	margin: 0px;
+	padding:0px;
+}
+
+.dialog table.table_window td , .dialog table.table_window th {
+  padding: 0;
+}
+
+.dialog .title_window {
+  -moz-user-select:none;
+}
+
+
 
 
 /* ============================================================================== */
@@ -1120,28 +1252,6 @@ cursor: pointer;
 }
 
 
-/* ============================================================================== */
-/*  Autre (telephonie)                                                            */
-/* ============================================================================== */
-
-#corpForm fieldset {	/*** Mise en forme des cadres ***/
-	margin: 0;
-	font-style: normal;
-	padding: 0 1em 1em;
-	font-size: 12px;
-}
-
-#corpForm .focus {	/*** Mise en avant des champs en cours d'utilisation ***/
-	background: #FFF0F0;
-	color: black;
-}
-#corpForm .normal {	/*** Retour � l'�tat normal apr�s l'utilisation ***/
-	background: white;
-	color: black;
-}
-
-
-
 /* ============================================================================== */
 /*  Module agenda                                                                 */
 /* ============================================================================== */
diff --git a/htdocs/theme/bluelagoon/alert.css b/htdocs/theme/bluelagoon/alert.css
deleted file mode 100644
index a94bea9e2cd..00000000000
--- a/htdocs/theme/bluelagoon/alert.css
+++ /dev/null
@@ -1,143 +0,0 @@
-.overlay_alert {
-	background-color: #DDDDDD;
-	filter: alpha(opacity=50); /*Does not respect CSS standard */
-	-moz-opacity: 0.5;
-	opacity: 0.5;
-}
-
-.alert_nw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
-}
-
-.alert_n {
-	height: 5px;
-	background: transparent url(alert/top.gif) repeat-x bottom left;			
-}
-
-.alert_ne {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_right.gif) no-repeat bottom left			
-}
-
-.alert_e {
-	width: 5px;
-	background: transparent url(alert/right.gif) repeat-y 0 0;			
-}
-
-.alert_w {
-	width: 5px;
-	background: transparent url(alert/left.gif) repeat-y 0 0;			
-}
-
-.alert_sw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
-}
-
-.alert_s {
-	height: 5px;
-	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
-}
-
-.alert_se, .alert_sizer {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
-}
-
-.alert_close {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_minimize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_maximize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_title {
-	float:left;
-	height:1px;
-	width:100%;
-}
-
-.alert_content {
-	overflow:visible;
-	color: #000;
-	font-family: Tahoma, Arial, sans-serif;
-  	font: 12px arial;
-	background: #FFF;
-}
-
-/* For alert/confirm dialog */
-.alert_window {
-	background: #FFF;
-	padding:30px;
-	margin-left:auto;
-	margin-right:auto;
-	width:400px;
-}
-
-.alert_message {
-  font: 12px arial;
-  text-align:left;
-	width:100%;
-	color:#012;
-	padding-top:5px;
-	padding-left:5px;
-	padding-bottom:5px;
-}
-
-.alert_buttons {
-	text-align:center;
-	width:100%;
-}
-
-.alert_buttons input {
-	width:20%;
-	margin:5px;
-}
-
-.alert_progress {
-	float:left;
-	margin:auto;
-	text-align:center;
-	width:100%;
-	height:16px;
-	background: #FFF url('alert/progress.gif') no-repeat center center
-}
-
-
-/* DO NOT CHANGE THESE VALUES*/
-.dialog {
-	display: block;
-	position: absolute;
-}
-
-.dialog table.table_window  { 
-  border-collapse: collapse; 
-  border-spacing: 0; 
-  width: 100%;
-	margin: 0px;
-	padding:0px;
-}
-
-.dialog table.table_window td , .dialog table.table_window th { 
-  padding: 0; 
-}
-
-.dialog .title_window {
-  -moz-user-select:none;
-}
diff --git a/htdocs/theme/bluelagoon/bluelagoon.css b/htdocs/theme/bluelagoon/bluelagoon.css
index fe3c6b6ff2f..337462884a3 100644
--- a/htdocs/theme/bluelagoon/bluelagoon.css
+++ b/htdocs/theme/bluelagoon/bluelagoon.css
@@ -17,10 +17,10 @@
  */
 
 /**
-		\file       htdocs/theme/bluelagoon/bluelagoon.css.php
-		\brief      Fichier de style CSS du theme Blue lagoon
-		\version    $Id$
-*/
+ *	 	\file       htdocs/theme/bluelagoon/bluelagoon.css.php
+ *		\brief      Fichier de style CSS du theme Blue lagoon
+ *		\version    $Id$
+ */
 
 
 /***** Style du fond *****/
@@ -356,7 +356,7 @@ a.tab {
 
 
 
-a.tab#active {
+a.tab:active {
   background: #dee7ec;
   border-bottom: #dee7ec 1px solid;
 }
@@ -369,7 +369,7 @@ a.tab:hover {
 
 /*
  *   Boutons actions
- *   Nouvelle syntaxe � utiliser
+ *   Nouvelle syntaxe a utiliser
  */
 
 a.butAction:link { font-weight: normal; font: verdana,arial,helvetica; font-size: 12px; background: white; border: 1px solid #8CACBB; color: #436976; padding: 0em 1em; margin: 0em 0.2em; text-decoration: none; white-space: nowrap; }
@@ -646,11 +646,154 @@ td.small {
            font-size: 0.8em;
            }
 
-tr.nonpayed { 
-              font-size: 0.9em; font-weight: bold;
-              }
-              
               
+/* ============================================================================== */
+/* Formulaire confirmation (AJAX)                                                 */
+/* ============================================================================== */
+
+.overlay_alert {
+	background-color: #DDDDDD;
+	filter: alpha(opacity=50); /*Does not respect CSS standard */
+	-moz-opacity: 0.5;
+	opacity: 0.5;
+}
+
+.alert_nw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
+}
+
+.alert_n {
+	height: 5px;
+	background: transparent url(alert/top.gif) repeat-x bottom left;			
+}
+
+.alert_ne {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_right.gif) no-repeat bottom left			
+}
+
+.alert_e {
+	width: 5px;
+	background: transparent url(alert/right.gif) repeat-y 0 0;			
+}
+
+.alert_w {
+	width: 5px;
+	background: transparent url(alert/left.gif) repeat-y 0 0;			
+}
+
+.alert_sw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
+}
+
+.alert_s {
+	height: 5px;
+	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
+}
+
+.alert_se, .alert_sizer {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
+}
+
+.alert_close {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_minimize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_maximize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_title {
+	float:left;
+	height:1px;
+	width:100%;
+}
+
+.alert_content {
+	overflow:visible;
+	color: #000;
+	font-family: Tahoma, Arial, sans-serif;
+  	font: 12px arial;
+	background: #FFF;
+}
+
+/* For alert/confirm dialog */
+.alert_window {
+	background: #FFF;
+	padding:30px;
+	margin-left:auto;
+	margin-right:auto;
+	width:400px;
+}
+
+.alert_message {
+  font: 12px arial;
+  text-align:left;
+	width:100%;
+	color:#012;
+	padding-top:5px;
+	padding-left:5px;
+	padding-bottom:5px;
+}
+
+.alert_buttons {
+	text-align:center;
+	width:100%;
+}
+
+.alert_buttons input {
+	width:20%;
+	margin:5px;
+}
+
+.alert_progress {
+	float:left;
+	margin:auto;
+	text-align:center;
+	width:100%;
+	height:16px;
+	background: #FFF url('alert/progress.gif') no-repeat center center
+}
+
+.dialog {
+	display: block;
+	position: absolute;
+}
+
+.dialog table.table_window  { 
+  border-collapse: collapse; 
+  border-spacing: 0; 
+  width: 100%;
+	margin: 0px;
+	padding:0px;
+}
+
+.dialog table.table_window td , .dialog table.table_window th { 
+  padding: 0; 
+}
+
+.dialog .title_window {
+  -moz-user-select:none;
+}
+
+
 
 /* ============================================================================== */
 /* Tooltips                                                                       */
diff --git a/htdocs/theme/eldy/alert.css b/htdocs/theme/eldy/alert.css
deleted file mode 100644
index 7a35c6af208..00000000000
--- a/htdocs/theme/eldy/alert.css
+++ /dev/null
@@ -1,145 +0,0 @@
-.overlay_alert {
-	background-color: #DDDDDD;
-	filter: alpha(opacity=50); /* Does not respect CSS standard, but required to avoid IE bug */
-	-moz-opacity: 0.5;
-	opacity: 0.5;
-}
-
-.alert_nw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
-}
-
-.alert_n {
-	height: 5px;
-	background: transparent url(alert/top.gif) repeat-x bottom left;			
-}
-
-.alert_ne {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_right.gif) no-repeat bottom left			
-}
-
-.alert_e {
-	width: 5px;
-	background: transparent url(alert/right.gif) repeat-y 0 0;			
-}
-
-.alert_w {
-	width: 5px;
-	background: transparent url(alert/left.gif) repeat-y 0 0;			
-}
-
-.alert_sw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
-}
-
-.alert_s {
-	height: 5px;
-	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
-}
-
-.alert_se, .alert_sizer {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
-}
-
-.alert_close {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_minimize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_maximize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_title {
-	float:left;
-	height:1px;
-	width:100%;
-}
-
-.alert_content {
-	overflow:visible;
-	color: #000;
-	font-family: Tahoma, Arial, sans-serif;
-  	font: 12px arial;
-	background: #FFF;
-}
-
-/* For alert/confirm dialog */
-.alert_window {
-	background: #FFF;
-	padding:30px;
-	margin-left:auto;
-	margin-right:auto;
-	width:400px;
-}
-
-.alert_message {
-  font: 12px arial;
-  text-align:left;
-	width:100%;
-	color:#012;
-	padding-top:5px;
-	padding-left:5px;
-	padding-bottom:5px;
-}
-
-.alert_buttons {
-	text-align:center;
-	width:100%;
-}
-
-.alert_buttons input {
-	width:20%;
-	margin:5px;
-}
-
-.alert_progress {
-	float:left;
-	margin:auto;
-	text-align:center;
-	width:100%;
-	height:16px;
-	background: #FFF url('alert/progress.gif') no-repeat center center
-}
-
-
-/* DO NOT CHANGE THESE VALUES*/
-.dialog {
-	display: block;
-	position: absolute;
-}
-
-.dialog table.table_window  { 
-  border-collapse: collapse; 
-  border-spacing: 0; 
-  width: 100%;
-	margin: 0px;
-	padding:0px;
-}
-
-.dialog table.table_window td , .dialog table.table_window th { 
-  padding: 0; 
-}
-
-.dialog .title_window {
-  -moz-user-select:none;
-}
-
-
diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php
index afeffb9b1b3..c028f3aaee7 100644
--- a/htdocs/theme/eldy/eldy.css.php
+++ b/htdocs/theme/eldy/eldy.css.php
@@ -583,7 +583,7 @@ a.tab:visited {
     border-left: 1px solid #D8D8D8;
     border-top: 1px solid #D8D8D8;
 }
-a.tab#active {
+a.tab:active {
     background: #dee7ec;
     border-bottom: #dee7ec 1px solid;
 	font-family: helvetica, verdana, arial, sans-serif;
@@ -941,6 +941,10 @@ a.impayee:hover { font-weight: bold; color: #550000; }
 
 
 
+td.small {
+           font-size: 10px;
+           }
+
 
 /*
  *  Lignes titre espace
@@ -953,7 +957,7 @@ div.titre {
 
 
 /* ============================================================================== */
-/* Formulaire confirmation                                                        */
+/* Formulaire confirmation (HTML)                                                 */
 /* ============================================================================== */
 
 table.valid {
@@ -974,24 +978,154 @@ table.valid {
 	font-weight: bold;
 }
 
+/* ============================================================================== */
+/* Formulaire confirmation (AJAX)                                                 */
+/* ============================================================================== */
 
-td.small {
-           font-size: 10px;
-           }
+.overlay_alert {
+	background-color: #DDDDDD;
+	filter: alpha(opacity=50); /* Does not respect CSS standard, but required to avoid IE bug */
+	-moz-opacity: 0.5;
+	opacity: 0.5;
+}
 
-tr.nonpayed {
-           font-weight: bold;
-           }
+.alert_nw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_left.gif) no-repeat bottom left;
+}
 
+.alert_n {
+	height: 5px;
+	background: transparent url(alert/top.gif) repeat-x bottom left;
+}
 
-div.version {
-background: #F4F4F4;
-text-align: right;
-font-size: 9px;
-margin: 1px 0em 0em 0em;
-padding: 2px;
+.alert_ne {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_right.gif) no-repeat bottom left
+}
+
+.alert_e {
+	width: 5px;
+	background: transparent url(alert/right.gif) repeat-y 0 0;
+}
+
+.alert_w {
+	width: 5px;
+	background: transparent url(alert/left.gif) repeat-y 0 0;
 }
 
+.alert_sw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;
+}
+
+.alert_s {
+	height: 5px;
+	background: transparent url(alert/bottom.gif) repeat-x 0 0;
+}
+
+.alert_se, .alert_sizer {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;
+}
+
+.alert_close {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_minimize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_maximize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_title {
+	float:left;
+	height:1px;
+	width:100%;
+}
+
+.alert_content {
+	overflow:visible;
+	color: #000;
+	font-family: Tahoma, Arial, sans-serif;
+  	font: 12px arial;
+	background: #FFF;
+}
+
+/* For alert/confirm dialog */
+.alert_window {
+	background: #FFF;
+	padding:30px;
+	margin-left:auto;
+	margin-right:auto;
+	width:400px;
+}
+
+.alert_message {
+  font: 12px arial;
+  text-align:left;
+	width:100%;
+	color:#012;
+	padding-top:5px;
+	padding-left:5px;
+	padding-bottom:5px;
+}
+
+.alert_buttons {
+	text-align:center;
+	width:100%;
+}
+
+.alert_buttons input {
+	width:20%;
+	margin:5px;
+}
+
+.alert_progress {
+	float:left;
+	margin:auto;
+	text-align:center;
+	width:100%;
+	height:16px;
+	background: #FFF url('alert/progress.gif') no-repeat center center
+}
+
+.dialog {
+	display: block;
+	position: absolute;
+}
+
+.dialog table.table_window  {
+  border-collapse: collapse;
+  border-spacing: 0;
+  width: 100%;
+	margin: 0px;
+	padding:0px;
+}
+
+.dialog table.table_window td , .dialog table.table_window th {
+  padding: 0;
+}
+
+.dialog .title_window {
+  -moz-user-select:none;
+}
+
+
+
 
 /* ============================================================================== */
 /* Tooltips                                                                       */
@@ -1083,27 +1217,6 @@ cursor: pointer;
 }
 
 
-
-/* ============================================================================== */
-/*  Autre (telephonie)                                                            */
-/* ============================================================================== */
-
-#corpForm fieldset {	/*** Mise en forme des cadres ***/
-	margin: 0;
-	font-style: normal;
-	padding: 0 1em 1em;
-	font-size: 12px;
-}
-
-#corpForm .focus {	/*** Mise en avant des champs en cours d'utilisation ***/
-	background: #FFF0F0;
-	color: black;
-}
-#corpForm .normal {	/*** Retour e l'etat normal apres l'utilisation ***/
-	background: white;
-	color: black;
-}
-
 /* ============================================================================== */
 /*  Afficher/cacher                                                               */
 /* ============================================================================== */
diff --git a/htdocs/theme/freelug/alert.css b/htdocs/theme/freelug/alert.css
deleted file mode 100644
index d1d62cf3c84..00000000000
--- a/htdocs/theme/freelug/alert.css
+++ /dev/null
@@ -1,143 +0,0 @@
-.overlay_alert {
-	background-color: #DDDDDD;
-	filter: alpha(opacity=50); /*Does not respect CSS standard */
-	-moz-opacity: 0.5;
-	opacity: 0.5;
-}
-
-.alert_nw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
-}
-
-.alert_n {
-	height: 5px;
-	background: transparent url(alert/top.gif) repeat-x bottom left;			
-}
-
-.alert_ne {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_right.gif) no-repeat bottom left			
-}
-
-.alert_e {
-	width: 5px;
-	background: transparent url(alert/right.gif) repeat-y 0 0;			
-}
-
-.alert_w {
-	width: 5px;
-	background: transparent url(alert/left.gif) repeat-y 0 0;			
-}
-
-.alert_sw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
-}
-
-.alert_s {
-	height: 5px;
-	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
-}
-
-.alert_se, .alert_sizer {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
-}
-
-.alert_close {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_minimize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_maximize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_title {
-	float:left;
-	height:1px;
-	width:100%;
-}
-
-.alert_content {
-	overflow:visible;
-	color: #000;
-	font-family: Tahoma, Arial, sans-serif;
-  	font: 12px arial;
-	background: #FFF;
-}
-
-/* For alert/confirm dialog */
-.alert_window {
-	background: #FFF;
-	padding:30px;
-	margin-left:auto;
-	margin-right:auto;
-	width:400px;
-}
-
-.alert_message {
-  font: 12px arial;
-  text-align:left;
-	width:100%;
-	color:#012;
-	padding-top:5px;
-	padding-left:5px;
-	padding-bottom:5px;
-}
-
-.alert_buttons {
-	text-align:center;
-	width:100%;
-}
-
-.alert_buttons input {
-	width:20%;
-	margin:5px;
-}
-
-.alert_progress {
-	float:left;
-	margin:auto;
-	text-align:center;
-	width:100%;
-	height:16px;
-	background: #FFF url('alert/progress.gif') no-repeat center center
-}
-
-/* DO NOT CHANGE THESE VALUES*/
-.dialog {
-	display: block;
-	position: absolute;
-}
-
-.dialog table.table_window  { 
-  border-collapse: collapse; 
-  border-spacing: 0; 
-  width: 100%;
-	margin: 0px;
-	padding:0px;
-}
-
-.dialog table.table_window td , .dialog table.table_window th { 
-  padding: 0; 
-}
-
-.dialog .title_window {
-  -moz-user-select:none;
-}
-
diff --git a/htdocs/theme/freelug/freelug.css.php b/htdocs/theme/freelug/freelug.css.php
index 55a561c9b42..f456414a6c9 100644
--- a/htdocs/theme/freelug/freelug.css.php
+++ b/htdocs/theme/freelug/freelug.css.php
@@ -799,9 +799,13 @@ td.delete {
   font-weight: bold;
   }
 
+td.small {
+           font-size: 10px;
+           }
+
 
 /* ============================================================================== */
-/* Formulaire confirmation                                                        */
+/* Formulaire confirmation (HTML)                                                 */
 /* ============================================================================== */
 
 table.valid {
@@ -825,25 +829,153 @@ table.valid {
 .valid {
 }
 
+/* ============================================================================== */
+/* Formulaire confirmation (AJAX)                                                 */
+/* ============================================================================== */
 
+.overlay_alert {
+	background-color: #DDDDDD;
+	filter: alpha(opacity=50); /*Does not respect CSS standard */
+	-moz-opacity: 0.5;
+	opacity: 0.5;
+}
 
-td.small {
-           font-size: 10px;
-           }
+.alert_nw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_left.gif) no-repeat bottom left;
+}
 
-tr.nonpayed {
-           font-weight: bold;
-           }
+.alert_n {
+	height: 5px;
+	background: transparent url(alert/top.gif) repeat-x bottom left;
+}
 
+.alert_ne {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_right.gif) no-repeat bottom left
+}
 
-div.version {
-background: #F4F4F4;
-text-align: right;
-font-size: 9px;
-margin: 1px 0em 0em 0em;
-padding: 2px;
+.alert_e {
+	width: 5px;
+	background: transparent url(alert/right.gif) repeat-y 0 0;
 }
 
+.alert_w {
+	width: 5px;
+	background: transparent url(alert/left.gif) repeat-y 0 0;
+}
+
+.alert_sw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;
+}
+
+.alert_s {
+	height: 5px;
+	background: transparent url(alert/bottom.gif) repeat-x 0 0;
+}
+
+.alert_se, .alert_sizer {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;
+}
+
+.alert_close {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_minimize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_maximize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_title {
+	float:left;
+	height:1px;
+	width:100%;
+}
+
+.alert_content {
+	overflow:visible;
+	color: #000;
+	font-family: Tahoma, Arial, sans-serif;
+  	font: 12px arial;
+	background: #FFF;
+}
+
+/* For alert/confirm dialog */
+.alert_window {
+	background: #FFF;
+	padding:30px;
+	margin-left:auto;
+	margin-right:auto;
+	width:400px;
+}
+
+.alert_message {
+  font: 12px arial;
+  text-align:left;
+	width:100%;
+	color:#012;
+	padding-top:5px;
+	padding-left:5px;
+	padding-bottom:5px;
+}
+
+.alert_buttons {
+	text-align:center;
+	width:100%;
+}
+
+.alert_buttons input {
+	width:20%;
+	margin:5px;
+}
+
+.alert_progress {
+	float:left;
+	margin:auto;
+	text-align:center;
+	width:100%;
+	height:16px;
+	background: #FFF url('alert/progress.gif') no-repeat center center
+}
+
+.dialog {
+	display: block;
+	position: absolute;
+}
+
+.dialog table.table_window  {
+  border-collapse: collapse;
+  border-spacing: 0;
+  width: 100%;
+	margin: 0px;
+	padding:0px;
+}
+
+.dialog table.table_window td , .dialog table.table_window th {
+  padding: 0;
+}
+
+.dialog .title_window {
+  -moz-user-select:none;
+}
+
+
 
 /* ============================================================================== */
 /* Tooltips                                                                       */
diff --git a/htdocs/theme/rodolphe/alert.css b/htdocs/theme/rodolphe/alert.css
deleted file mode 100644
index 7a35c6af208..00000000000
--- a/htdocs/theme/rodolphe/alert.css
+++ /dev/null
@@ -1,145 +0,0 @@
-.overlay_alert {
-	background-color: #DDDDDD;
-	filter: alpha(opacity=50); /* Does not respect CSS standard, but required to avoid IE bug */
-	-moz-opacity: 0.5;
-	opacity: 0.5;
-}
-
-.alert_nw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
-}
-
-.alert_n {
-	height: 5px;
-	background: transparent url(alert/top.gif) repeat-x bottom left;			
-}
-
-.alert_ne {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_right.gif) no-repeat bottom left			
-}
-
-.alert_e {
-	width: 5px;
-	background: transparent url(alert/right.gif) repeat-y 0 0;			
-}
-
-.alert_w {
-	width: 5px;
-	background: transparent url(alert/left.gif) repeat-y 0 0;			
-}
-
-.alert_sw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
-}
-
-.alert_s {
-	height: 5px;
-	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
-}
-
-.alert_se, .alert_sizer {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
-}
-
-.alert_close {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_minimize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_maximize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_title {
-	float:left;
-	height:1px;
-	width:100%;
-}
-
-.alert_content {
-	overflow:visible;
-	color: #000;
-	font-family: Tahoma, Arial, sans-serif;
-  	font: 12px arial;
-	background: #FFF;
-}
-
-/* For alert/confirm dialog */
-.alert_window {
-	background: #FFF;
-	padding:30px;
-	margin-left:auto;
-	margin-right:auto;
-	width:400px;
-}
-
-.alert_message {
-  font: 12px arial;
-  text-align:left;
-	width:100%;
-	color:#012;
-	padding-top:5px;
-	padding-left:5px;
-	padding-bottom:5px;
-}
-
-.alert_buttons {
-	text-align:center;
-	width:100%;
-}
-
-.alert_buttons input {
-	width:20%;
-	margin:5px;
-}
-
-.alert_progress {
-	float:left;
-	margin:auto;
-	text-align:center;
-	width:100%;
-	height:16px;
-	background: #FFF url('alert/progress.gif') no-repeat center center
-}
-
-
-/* DO NOT CHANGE THESE VALUES*/
-.dialog {
-	display: block;
-	position: absolute;
-}
-
-.dialog table.table_window  { 
-  border-collapse: collapse; 
-  border-spacing: 0; 
-  width: 100%;
-	margin: 0px;
-	padding:0px;
-}
-
-.dialog table.table_window td , .dialog table.table_window th { 
-  padding: 0; 
-}
-
-.dialog .title_window {
-  -moz-user-select:none;
-}
-
-
diff --git a/htdocs/theme/rodolphe/alert/.cvsignore b/htdocs/theme/rodolphe/alert/.cvsignore
new file mode 100644
index 00000000000..98e6ef67fad
--- /dev/null
+++ b/htdocs/theme/rodolphe/alert/.cvsignore
@@ -0,0 +1 @@
+*.db
diff --git a/htdocs/theme/rodolphe/alert/bottom.gif b/htdocs/theme/rodolphe/alert/bottom.gif
new file mode 100644
index 0000000000000000000000000000000000000000..9870f5224ab4a6c73dd6047a53b59b3fc02d4768
GIT binary patch
literal 70
zcmZ?wbhEHbjACGAXkcKlWMKIJ|G(l-76uT|0TCb>1}52_{*|ZS@-LpV<rdqfdwYKK
Uw>`3md)8_6<kU93Xa)vr0LID~0RR91

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/bottom_left.gif b/htdocs/theme/rodolphe/alert/bottom_left.gif
new file mode 100644
index 0000000000000000000000000000000000000000..583f113faf44672d7e50e064c54d39804a8a0241
GIT binary patch
literal 49
ycmZ?wbhEHbWMyDwXkcLY|Np-w1B2pE76uT|0TCb>1||-knwbYVt~)U@SOWkI9SQ~j

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/bottom_right.gif b/htdocs/theme/rodolphe/alert/bottom_right.gif
new file mode 100644
index 0000000000000000000000000000000000000000..230ba12bedb5e82cbe13af02c4ea60fac1c7187c
GIT binary patch
literal 49
xcmZ?wbhEHbWMyDwXkcLY|Np-w1B2pE76uT|0TCb>1||-cqPBzCw;~uBtN{&_3S9sI

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/left.gif b/htdocs/theme/rodolphe/alert/left.gif
new file mode 100644
index 0000000000000000000000000000000000000000..4a3fab520239d0d923d95d3128e1b035dbb89381
GIT binary patch
literal 84
zcmZ?wbhEHbWMznAXkcKlWMKIJ|G(l-76uT|0TCb>1}1Hnnwc4EWW!oEUHZN0c5r!K
jrDDg#q@PO{cdg6gp1;X+^XAz7+vgqs`|j{cE(U7=I!+)L

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/overlay.png b/htdocs/theme/rodolphe/alert/overlay.png
new file mode 100644
index 0000000000000000000000000000000000000000..2f3344e5cbba86538a03e06e171d119ac2da0139
GIT binary patch
literal 2829
zcmeAS@N?(olHy`uVBq!ia0y~yU=Rgi4mJh`hLz$=r!g=va29w(7Bet#3xhBt!>l<H
z3=CYpna<7u0U7xv`NbLe1qz<d&I$!Z`DvLssSFGix8??yM@;@MW_SO4Du0;MjSm~A
z=QJ`XDX-x;ArQGpU=l-Oi-3^B(bf*GFcDF~IUb=$nyzwr%<XuzKx0R`V^>F1cW8{o
zJNY}yx7Jp@fBW|L_1}A*&w2jmT;+NG20<aUiO&{gF<1t*+F0F?@AvmOa&m72lc>i7
z76pN4rw^sG9%W$oz+72TSF*wW599iL1}27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!)?};eDQs4eewO}`d?WGt`=Ya
zaa}KVe&ycx$KFV9&r`cAvqN>)*B@oy-inuVz4N&fTh(8&{?EQ!e_yfx;(t}Y<=@8C
z1Gx`=BpgUMe>jr=Js)TLynj>vUv7VR$^DG`Rb@Bj-u}7r^3uFgdq1U|oBVM3rscxt
zPt}F}uY6s+`uY98kA8cfkN9)r1NYDF^ZVCTuKZl|e)Y=rR>zf(%kMc?Y5Q^6pS9<1
z*S_EJe%Jlud*x?p{Bigf@cH7e<m1aP_<y&1Ui0sd{`Z#8zf~{IH)dd9U`coMb!1@J
z*jMvAa54h}gF>=LkS_y6l_~>6Lo)-z&;JYz4KEoON(~qoUL`OvSj}Ky5YL|!f7FeE
zfkDgD#WAGfR?^IZfAP%BQyGPsc@L~uxVWuP$|~yxh!Modz`(%p|35Rsd@p9MSvR%L
Of%u-TelF{r5}E+dxm$Mt

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/progress.gif b/htdocs/theme/rodolphe/alert/progress.gif
new file mode 100644
index 0000000000000000000000000000000000000000..529e72f45a2395e2eddb0487edbe79b306c92c3a
GIT binary patch
literal 1542
zcmZ?wbhEHb6krfwIKsg2|NsB@@893Mckk%YqkH%6U9)D*oH=uPdU}eAijtF)gMxyb
zoSX~|4HXp?1q1{b!0H)D0gC^*{aizWogD*Qjr0td85tND6o0a?vNH%U=zz=tIfH?<
zOhLtoai+%86;4jdEa#Octk$sceQ@I78m`TUA8%k@=F)gn;8}o1+_otWFBN`F2uN9Q
zV24s@d+X%@W!7^Kk2b|v&p*p@#BddtfcU+6r7al}Z`d7}SXHWZjG1^?SlO5w<CPh?
zI0V>InCeZLIE<$$u@sxKu%s%YI)$G>fPsNENkOGgU{VL8rCyRUm*2uJo+}pLoX;#O
zl;*$Y@zB6QhUfC*iC&!|0&NK{Gd{K0cqleHyxAnstTgdQQ@q>M;*bc3t4z-m6^&2C
zt>3Dls35|Wrp4h_r_`vyrr9bG7Rl7BjApF>13v=;YrKL=--N;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zr&Iy%0GCJuc6I}t7OIF$c_G2E^uVG+o_6O0PceQJ`trGtDVFo2#+H;tZAPq$7OY(D
zA`^?m;u;SzrRr$9*k4q<*lM6~rS(vzM~490M1wd76_)g6$=U4^+YA~w;~7JIl-LR(
z`GXU!EKE^Q=}Ykx>PuL6<no%;pF}qNa60sPhLZx9IdiVai>W+(PAAQ+48*#dS84<(
zN=3Zfw5sU`2iN3DA`T8gOAjUTaC!@OWF2e}{^z1`=-`|eMy`xJoC4JXtQ_?!%`IsH
MC8ll8s)`KO03ki!(f|Me

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/right.gif b/htdocs/theme/rodolphe/alert/right.gif
new file mode 100644
index 0000000000000000000000000000000000000000..85ba9e2a56a93527dde4f14eccfe386e6af2e2b7
GIT binary patch
literal 84
zcmZ?wbhEHbWMznAXkcKlWMKIJ|G(l-76uT|0TCb>1}1Hvg0>lZW=WNNJegg5cgy+y
j!UfM-RV};Hs#d+=+P}$ryIJ?~QoH-R?mxcD#b6BpMUEfb

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/top.gif b/htdocs/theme/rodolphe/alert/top.gif
new file mode 100644
index 0000000000000000000000000000000000000000..8f6193664b77e0b385df5400b8fe25ef43a24201
GIT binary patch
literal 70
zcmZ?wbhEHbjACGAXkcKlWMKIJ|G(l-76uT|0TCb>1}52-{*|ZS@+Z#Na;tmuy*=MK
U+8#+%J?mWd>eRM%p$rVx0MDfv9smFU

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/top_left.gif b/htdocs/theme/rodolphe/alert/top_left.gif
new file mode 100644
index 0000000000000000000000000000000000000000..fabb33a189bcf331976100f954a125f1a3a10e8c
GIT binary patch
literal 49
xcmZ?wbhEHbWMyDwXkcLY|Np-w1B2pE76uT|0TCb>1}2Uke$I_2xE&c8tN{qv32XoW

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/alert/top_right.gif b/htdocs/theme/rodolphe/alert/top_right.gif
new file mode 100644
index 0000000000000000000000000000000000000000..9fec6fa2b34647940d7aa1143ea58f448667f128
GIT binary patch
literal 49
xcmZ?wbhEHbWMyDwXkcLY|Np-w1B2pE76uT|0TCb>1}2UkUQY4ZcVjddtN{pp3AX?M

literal 0
HcmV?d00001

diff --git a/htdocs/theme/rodolphe/rodolphe.css b/htdocs/theme/rodolphe/rodolphe.css
index bf5b5b9e11c..d437f0ed196 100644
--- a/htdocs/theme/rodolphe/rodolphe.css
+++ b/htdocs/theme/rodolphe/rodolphe.css
@@ -717,9 +717,177 @@ td.small {
            font-size: 10px;
            }
 
-tr.nonpayed { 
-           font-weight: bold;
-           }
+
+/* ============================================================================== */
+/* Formulaire confirmation (HTML)                                                 */
+/* ============================================================================== */
+
+table.valid {
+    border-top: solid 1px #E6E6E6;
+    border-left: solid 1px #E6E6E6;
+    border-right: solid 1px #444444;
+    border-bottom: solid 1px #555555;
+	padding-top: 0px;
+	padding-left: 0px;
+	padding-right: 0px;
+	padding-bottom: 0px;
+	margin: 0px 0px;
+    background: #DC9999;
+}
+
+.validtitre {
+    background: #DC9999;
+	font-weight: bold;
+}
+
+.valid {
+}
+
+/* ============================================================================== */
+/* Formulaire confirmation (AJAX)                                                 */
+/* ============================================================================== */
+
+.overlay_alert {
+	background-color: #DDDDDD;
+	filter: alpha(opacity=50); /* Does not respect CSS standard, but required to avoid IE bug */
+	-moz-opacity: 0.5;
+	opacity: 0.5;
+}
+
+.alert_nw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
+}
+
+.alert_n {
+	height: 5px;
+	background: transparent url(alert/top.gif) repeat-x bottom left;			
+}
+
+.alert_ne {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_right.gif) no-repeat bottom left			
+}
+
+.alert_e {
+	width: 5px;
+	background: transparent url(alert/right.gif) repeat-y 0 0;			
+}
+
+.alert_w {
+	width: 5px;
+	background: transparent url(alert/left.gif) repeat-y 0 0;			
+}
+
+.alert_sw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
+}
+
+.alert_s {
+	height: 5px;
+	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
+}
+
+.alert_se, .alert_sizer {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
+}
+
+.alert_close {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_minimize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_maximize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_title {
+	float:left;
+	height:1px;
+	width:100%;
+}
+
+.alert_content {
+	overflow:visible;
+	color: #000;
+	font-family: Tahoma, Arial, sans-serif;
+  	font: 12px arial;
+	background: #FFF;
+}
+
+/* For alert/confirm dialog */
+.alert_window {
+	background: #FFF;
+	padding:30px;
+	margin-left:auto;
+	margin-right:auto;
+	width:400px;
+}
+
+.alert_message {
+  font: 12px arial;
+  text-align:left;
+	width:100%;
+	color:#012;
+	padding-top:5px;
+	padding-left:5px;
+	padding-bottom:5px;
+}
+
+.alert_buttons {
+	text-align:center;
+	width:100%;
+}
+
+.alert_buttons input {
+	width:20%;
+	margin:5px;
+}
+
+.alert_progress {
+	float:left;
+	margin:auto;
+	text-align:center;
+	width:100%;
+	height:16px;
+	background: #FFF url('alert/progress.gif') no-repeat center center
+}
+
+.dialog {
+	display: block;
+	position: absolute;
+}
+
+.dialog table.table_window  { 
+  border-collapse: collapse; 
+  border-spacing: 0; 
+  width: 100%;
+	margin: 0px;
+	padding:0px;
+}
+
+.dialog table.table_window td , .dialog table.table_window th { 
+  padding: 0; 
+}
+
+.dialog .title_window {
+  -moz-user-select:none;
+}
 
 
 
diff --git a/htdocs/theme/yellow/alert.css b/htdocs/theme/yellow/alert.css
deleted file mode 100644
index d1d62cf3c84..00000000000
--- a/htdocs/theme/yellow/alert.css
+++ /dev/null
@@ -1,143 +0,0 @@
-.overlay_alert {
-	background-color: #DDDDDD;
-	filter: alpha(opacity=50); /*Does not respect CSS standard */
-	-moz-opacity: 0.5;
-	opacity: 0.5;
-}
-
-.alert_nw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_left.gif) no-repeat bottom left;			
-}
-
-.alert_n {
-	height: 5px;
-	background: transparent url(alert/top.gif) repeat-x bottom left;			
-}
-
-.alert_ne {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/top_right.gif) no-repeat bottom left			
-}
-
-.alert_e {
-	width: 5px;
-	background: transparent url(alert/right.gif) repeat-y 0 0;			
-}
-
-.alert_w {
-	width: 5px;
-	background: transparent url(alert/left.gif) repeat-y 0 0;			
-}
-
-.alert_sw {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;			
-}
-
-.alert_s {
-	height: 5px;
-	background: transparent url(alert/bottom.gif) repeat-x 0 0;			
-}
-
-.alert_se, .alert_sizer {
-	width: 5px;
-	height: 5px;
-	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;			
-}
-
-.alert_close {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_minimize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_maximize {
-	width:0px;
-	height:0px;
-	display:none;
-}
-
-.alert_title {
-	float:left;
-	height:1px;
-	width:100%;
-}
-
-.alert_content {
-	overflow:visible;
-	color: #000;
-	font-family: Tahoma, Arial, sans-serif;
-  	font: 12px arial;
-	background: #FFF;
-}
-
-/* For alert/confirm dialog */
-.alert_window {
-	background: #FFF;
-	padding:30px;
-	margin-left:auto;
-	margin-right:auto;
-	width:400px;
-}
-
-.alert_message {
-  font: 12px arial;
-  text-align:left;
-	width:100%;
-	color:#012;
-	padding-top:5px;
-	padding-left:5px;
-	padding-bottom:5px;
-}
-
-.alert_buttons {
-	text-align:center;
-	width:100%;
-}
-
-.alert_buttons input {
-	width:20%;
-	margin:5px;
-}
-
-.alert_progress {
-	float:left;
-	margin:auto;
-	text-align:center;
-	width:100%;
-	height:16px;
-	background: #FFF url('alert/progress.gif') no-repeat center center
-}
-
-/* DO NOT CHANGE THESE VALUES*/
-.dialog {
-	display: block;
-	position: absolute;
-}
-
-.dialog table.table_window  { 
-  border-collapse: collapse; 
-  border-spacing: 0; 
-  width: 100%;
-	margin: 0px;
-	padding:0px;
-}
-
-.dialog table.table_window td , .dialog table.table_window th { 
-  padding: 0; 
-}
-
-.dialog .title_window {
-  -moz-user-select:none;
-}
-
diff --git a/htdocs/theme/yellow/yellow.css.php b/htdocs/theme/yellow/yellow.css.php
index e9b43a95ab5..ec8da41ed56 100644
--- a/htdocs/theme/yellow/yellow.css.php
+++ b/htdocs/theme/yellow/yellow.css.php
@@ -779,13 +779,9 @@ td.small {
            font-size: 10px;
            }
 
-tr.nonpayed {
-           font-weight: bold;
-           }
-
 
 /* ============================================================================== */
-/* Formulaire confirmation                                                        */
+/* Formulaire confirmation (HTML)                                                 */
 /* ============================================================================== */
 
 table.valid {
@@ -806,6 +802,154 @@ table.valid {
 	font-weight: bold;
 }
 
+/* ============================================================================== */
+/* Formulaire confirmation (AJAX)                                                 */
+/* ============================================================================== */
+
+.overlay_alert {
+	background-color: #DDDDDD;
+	filter: alpha(opacity=50); /*Does not respect CSS standard */
+	-moz-opacity: 0.5;
+	opacity: 0.5;
+}
+
+.alert_nw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_left.gif) no-repeat bottom left;
+}
+
+.alert_n {
+	height: 5px;
+	background: transparent url(alert/top.gif) repeat-x bottom left;
+}
+
+.alert_ne {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/top_right.gif) no-repeat bottom left
+}
+
+.alert_e {
+	width: 5px;
+	background: transparent url(alert/right.gif) repeat-y 0 0;
+}
+
+.alert_w {
+	width: 5px;
+	background: transparent url(alert/left.gif) repeat-y 0 0;
+}
+
+.alert_sw {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_left.gif) no-repeat 0 0;
+}
+
+.alert_s {
+	height: 5px;
+	background: transparent url(alert/bottom.gif) repeat-x 0 0;
+}
+
+.alert_se, .alert_sizer {
+	width: 5px;
+	height: 5px;
+	background: transparent url(alert/bottom_right.gif) no-repeat 0 0;
+}
+
+.alert_close {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_minimize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_maximize {
+	width:0px;
+	height:0px;
+	display:none;
+}
+
+.alert_title {
+	float:left;
+	height:1px;
+	width:100%;
+}
+
+.alert_content {
+	overflow:visible;
+	color: #000;
+	font-family: Tahoma, Arial, sans-serif;
+  	font: 12px arial;
+	background: #FFF;
+}
+
+/* For alert/confirm dialog */
+.alert_window {
+	background: #FFF;
+	padding:30px;
+	margin-left:auto;
+	margin-right:auto;
+	width:400px;
+}
+
+.alert_message {
+  font: 12px arial;
+  text-align:left;
+	width:100%;
+	color:#012;
+	padding-top:5px;
+	padding-left:5px;
+	padding-bottom:5px;
+}
+
+.alert_buttons {
+	text-align:center;
+	width:100%;
+}
+
+.alert_buttons input {
+	width:20%;
+	margin:5px;
+}
+
+.alert_progress {
+	float:left;
+	margin:auto;
+	text-align:center;
+	width:100%;
+	height:16px;
+	background: #FFF url('alert/progress.gif') no-repeat center center
+}
+
+.dialog {
+	display: block;
+	position: absolute;
+}
+
+.dialog table.table_window  {
+  border-collapse: collapse;
+  border-spacing: 0;
+  width: 100%;
+	margin: 0px;
+	padding:0px;
+}
+
+.dialog table.table_window td , .dialog table.table_window th {
+  padding: 0;
+}
+
+.dialog .title_window {
+  -moz-user-select:none;
+}
+
+
+
 
 /* ============================================================================== */
 /* Tooltips                                                                       */
-- 
GitLab