phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r4430 - in phpcompta/trunk: . html html/image include


From: phpcompta-dev
Subject: [Phpcompta-dev] r4430 - in phpcompta/trunk: . html html/image include
Date: Mon, 21 Nov 2011 21:21:01 +0100 (CET)

Author: danydb
Date: 2011-11-21 21:20:59 +0100 (Mon, 21 Nov 2011)
New Revision: 4430

Removed:
   phpcompta/trunk/html/caisse.php
Modified:
   phpcompta/trunk/
   phpcompta/trunk/html/
   phpcompta/trunk/html/image/loading.gif
   phpcompta/trunk/html/index.php
   phpcompta/trunk/html/style-color.css
   phpcompta/trunk/html/style-light.css
   phpcompta/trunk/include/class_acc_ledger_fin.php
   phpcompta/trunk/include/class_acc_ledger_purchase.php
   phpcompta/trunk/include/class_acc_ledger_sold.php
   phpcompta/trunk/include/class_html_input.php
   phpcompta/trunk/include/class_jrn_def_sql.php
Log:
fichier obsolete, enl?\195?\168ve erreur en mode strict, fichiers css


Property changes on: phpcompta/trunk
___________________________________________________________________
Name: svn:ignore
   - cache
compile
tmp

   + cache
compile
tmp
.setenv.sh.swp



Property changes on: phpcompta/trunk/html
___________________________________________________________________
Name: svn:ignore
   - *.log
ajax
.user_login.php.swp
.~lock.a.csv#
.~lock.a.ods#
.a.csv.swp
.direct.php.swp

   + *.log
ajax
.user_login.php.swp
.~lock.a.csv#
.~lock.a.ods#
.a.csv.swp
.direct.php.swp
.style-light.css.swp
.a.swp


Deleted: phpcompta/trunk/html/caisse.php
===================================================================
--- phpcompta/trunk/html/caisse.php     2011-11-21 15:49:26 UTC (rev 4429)
+++ phpcompta/trunk/html/caisse.php     2011-11-21 20:20:59 UTC (rev 4430)
@@ -1,69 +0,0 @@
-<script language="javascript">
-                 function set_code(p_code)
-                 {
-
-                     for (i=0;i<10;i++)
-                     {
-                         if ( document.getElementById("id_"+i).value == "")
-                         {
-                             document.getElementById("id_"+i).value=p_code;
-                             break;
-                         }
-                     }
-                 }
-                 function f_reset(p_code)
-                 {
-                     document.getElementById("id_"+p_code).value="";
-                 }
-                 </script>
-                 <style type="text/css">
-                             /* CSS goes here */
-                             body {
-                                 font-size:
-                                 14px;
-                                 font-color:
-                                 green;
-                             }
-
-                             .btn {
-                                 border-size:
-                                 4px;
-                                 border-color:
-                                 blue;
-                                 border-style:
-                                 sunken;
-                                 background:
-                                 inherit;
-                                 font:
-                                 inherit;
-                                 color:
-                                 blue;
-                                 padding:
-                                 2px;
-                                 width:
-                                 150px;
-                                 height:
-                                 60px;
-                             }
-
-                             </style>
-                             <?php
-                             echo '<form method="post" action="result.php">';
-
-for ($i=0;$i<10;$i++)
-{
-    echo 'montant <input type="TEXT" name="in'.$i.'" id="id_'.$i.'">';
-    echo '<input type="BUTTON" value="Efface" onClick="f_reset('.$i.')">';
-    echo '<BR>';
-}
-
-
-
-for ($i=0; $i < 5;$i++)
-{
-    echo '<INPUT TYPE="BUTTON" class="btn" name="button" value="code '.$i.'" 
onClick="set_code('.$i.')">';
-}
-?>
-<input type="submit">
-            <input type="reset">
-                        </form>

Modified: phpcompta/trunk/html/image/loading.gif
===================================================================
(Binary files differ)

Modified: phpcompta/trunk/html/index.php
===================================================================
--- phpcompta/trunk/html/index.php      2011-11-21 15:49:26 UTC (rev 4429)
+++ phpcompta/trunk/html/index.php      2011-11-21 20:20:59 UTC (rev 4430)
@@ -30,7 +30,7 @@
  *  ce fichier deviendra l'un des patch </li>
  * <li>Faire de la doc </li>
  * </ol>
- * 
+ *
  * </p>
  * \section conseil Conseils
  * <p>
@@ -63,7 +63,7 @@
  *
  * \section convention_code Coding convention
  * <p>
- * Some coding conventions to have a homogene code 
+ * Some coding conventions to have a homogene code
  * <ol>
  * <li>Reuse the existing code , </li>
  * <li>Improve and check that the function is still working</li>
@@ -71,7 +71,7 @@
  * <li>In the folder include: filenames ending by  *.inc.php will be executer 
after being included</li>
  * <li>Dans le répertoire include: Les noms de fichiers sont *.php pour les 
fichiers contenant des fonctions uniquement</li>
  * <li>In the folder include: filenames end by  *.php if they contains only 
function</li>
- * <li>In the folder include: filenames starting with 
+ * <li>In the folder include: filenames starting with
  * class_*.php if it is related to a class.</li>
  * <li>In the folder include/template: files for the HTML presentation
  * </li>
@@ -79,7 +79,7 @@
  *  </li>
  * <li>Write documentation </li>
  * </ol>
- * 
+ *
  * </p>
  * \section advice Advices
  * <p>
@@ -122,8 +122,8 @@
 <style>
 BODY {
 background-color:white;
-font-size:12px;
-font-family:sans-serif;
+font-size:14px;
+font-family:sans-serif,arial;
 color:blue;
 }
 .remark {
@@ -136,7 +136,7 @@
 }
 .gras {
 font-size:12px;
-font-family:sans-serif;
+font-family:sans-serif,arial;
 color:red;
 
 }
@@ -186,7 +186,7 @@
 
 echo '
 <span 
style="background-color:#879ed4;color:white;padding-left:4px;padding-right:4px;">
-version  5.6.SVNINFO - '.$my_domain.'
+version  6.0.SVNINFO - '.$my_domain.'
 </span>
 <BR>
 <BR>
@@ -238,9 +238,9 @@
     echo '<tr>';
   }
 echo '
-<TR>
-<TD COLSPAN=2 ALIGN=CENTER>
-<INPUT TYPE="SUBMIT"  class="button" NAME="login" value="Se connecter">
+<TR style="height:50px;vertical-align:bottom">
+<TD style="width:auto;text-align:center" colspan="2">
+<INPUT TYPE="SUBMIT"  
style="width:60%;height:32px;-moz-border-radius:10px;border-radius:10px" 
class="button" NAME="login" value="Se connecter">
 </TD>
 </TR>
 </table>

Modified: phpcompta/trunk/html/style-color.css
===================================================================
--- phpcompta/trunk/html/style-color.css        2011-11-21 15:49:26 UTC (rev 
4429)
+++ phpcompta/trunk/html/style-color.css        2011-11-21 20:20:59 UTC (rev 
4430)
@@ -1,390 +1,402 @@
 /* <style type="text/css"> */
 
 BODY {
-    background-color:#E3FFE0;
-    font-size:10;
-    font-family:helvetica,arial,sans-serif;
-    padding:0;
-    margin:0;
-    color:#0E7E0E;
-
+  background-color:#EDF3FF;
+ font-size:10;
+  font-family:helvetica,sans-serif;
+  padding: 0px 10px 0px 10px ;
+  margin:0;
+  color:blue;
 }
 .notice {
-    color:red;
-    font-style: italic;
-    font-family: Arial,Helvetica,sans-serif;
-    font-weight: bold;
-}
+               color:red;
+        font-style: italic;
+        }
 
-table.result,table.document ,table.resultfooter{
-    color:blue;
-    border:1px solid blue ;
-    width:100%;
-    border-spacing:  0px;
-    border-collapse:collapse;
+table.table_large, table.result  ,table.resultfooter {
+  color:blue;
+  /* border:blue solid 1px; */
+  width:100%;
+   border-spacing:  0px;
+   border-collapse:collapse;
+
 }
 table.resultfooter tfoot {
-    font-size:110%;
-    font-weight: bold;
+       font-size:110%;
+       font-weight: bold;
 
 
 }
-table.result th, table.document th {
-    font-weight:bold;
-    font-family:helvetica,arial,sans-serif;
-    border-bottom:1px solid blue;
-    padding-left:10px;
-    padding-right:10px;
-    padding-top:0;padding-bottom:0;
-    margin:0 0 0 0;
-    text-align: left;
-    background-color:lightgrey;
-    color:darkblue;
+table.table_large th,table.result th {
+  font-weight:bold;
+  font-family:helvetica,sans-serif;
+ border-bottom:1px solid blue;
+ border-top:0;
 
+  color:#25238F;
+  text-align: left;
+  font-style: italic;
+
 }
 
 h2 {
-    font-family:Helvetica,arial,sans-serif;
-    font-size:14px;
-    color:grey;
+  font-family:helvetica,sans-serif;
+  font-size:14px;
+  color:grey;
 }
 div.info {
-    background:#879ed4;
-    color:white;
-    font-size:120%;
-    text-align:center;
+       background:#879ed4;
+       color:white;
+       font-size:120%;
+  text-align:center;
 }
 
 content h2.info {
-    background:#879ed4;
-    color:black;
-    font-size:14pt;
-    text-align:center;
-    padding:0px;
-    margin:0px;
+       background:#879ed4;
+  color:black;
+  font-size:14pt;
+  text-align:center;
+  padding:0px;
+  margin:0px;
 }
 redcontent h2.info {
-    background:#879ed4;
-    color:white;
-    font-size:14pt;
-    text-align:center;
-    padding:0px;
-    margin:0px;
+  background:#879ed4;
+  color:white;
+  font-size:14pt;
+  text-align:center;
+  padding:0px;
+  margin:0px;
 }
 h2.info {
-    background-color:#0E7E0E;
-    color:white;
-    font-size:14px;
-    text-align:center;
-    padding:0px;
-    margin:0px;
+  background-color:#879ED4;
+       color:white;
+       font-size:14px;
+  text-align:center;
+  padding:0px;
+  margin:0px;
+  border:1px solid grey;
+
 }
 
 h3.info {
-    background:#879ed4;
-    color:white;
-    font-size:14px;
-    text-align:center;
+  background:#879ed4;
+  color:white;
+  font-size:14px;
+  text-align:center;
 }
 
 h2.info2 {
-    color:blue;
-    font-size:14px;
-    text-align:center;
+  color:blue;
+  font-size:14px;
+  text-align:center;
 
 }
 
 
 h2.error {
-    background:red;
-    color:white;
-    font-size:14px;
+       background:red;
+       color:white;
+       font-size:14px;
 }
 
 h1.title {
-    color: blue;
-    font-size:25px;
+       color: blue;
+       font-size:25px;
 }
 
 div.u_tmenu {
+  margin-top:0px;
+  width:100%;
+ /* background-color:#879ED4; */
 
-    margin-top:1px;
-    width:100%;
-    background-color:#879ED4;
 
-
 }
 div.u_subtmenu {
-    background-color:white     ;
-    float:left;
-    clear:both;
-    left:10px;
+  background-color:white       ;
+  float:left;
+  clear:both;
+  left:10px;
 
 }
 div.u_tmenu div.u_tool {
-    background-color:#879ED4;
-    float:left;
+          float:left;
 
 }
 div.u_tool {
-    float:left;
-    width:  100%;
-
-
-}
+       float:left;
+       width:  100%;
+       }
 div.u_tool div.name {
-    float:left;
-    margin-left:10px;
+       float:left;
+       margin-left:10px;
 }
 div.u_tool div.acces_direct{
-    float:right;
-    margin-right:10px;
-    text-align:right;
+       float:right;
+       margin-right:10px;
+       text-align:right;
 
 }
 
 div.u_subt2menu {
-    background-color:lightgrey;
-    left:1%;
+background-color:lightgrey;
+  left:1%;
 
 }
 div.lmenu {
-    float:left;
-    clear:left;
-    font-size:9px;
+        float:left;
+        clear:left;
+       font-size:9px;
 
 }
 div.lextmenu {
 
-    float:left;
-    font-family:helvetica,arial,sans-serif;
-    font-size:9px;
+       float:left;
+       font-family:helvetica,sans-serif;
+       font-size:9px;
 
 }
 div.searchmenu {
-    left:30px;
-    width:95px;
-    top:100px;
-    position:absolute;
+  left:30px;
+  width:95px;
+  top:100px;
+  position:absolute;
 
 }
 
 div.recherche_form{
-    width:700px;
-    font-size:9px;
-    font-family:Helvetica,arial,sans-serif;
-    border-style:outset;
-    border-width:1px;
+       width:700px;
+       font-size:9px;
+       font-family:helvetica,sans-serif;
+  border-style:outset;
+  border-width:1px;
 
 }
 div.redcontent{
 
-    float:left;
-    padding-top:7px;
-    padding-left:8px;
-    font-size:9px;
-    font-family:helvetica,arial,sans-serif;
-    width:75%;
+         float:left;
+        padding-top:7px;
+        padding-left:8px;
+         font-size:9px;
+         font-family:helvetica,sans-serif;
+        width:75%;
 
 }
 div.content{
 
-    float:left;
-    padding-top:7px;
-    width:100%;
-    font-family:helvetica,arial,sans-serif;
-    clear:both;
+         float:left;
+               padding-top:7px;
+         width:100%;
+         font-family:helvetica,sans-serif;
+         clear:both;
 
 
 }
 div.content30{
 
-    float:left;
-    padding-top:7px;
-    width:35%;
-    font-family:helvetica,arial,sans-serif;
+         float:left;
+        padding-top:7px;
+         width:35%;
+         font-family:helvetica,sans-serif;
 
 }
 div.no span{
-    position:static;
-    font-family:helvetica,arial,sans-serif;
-    font-weight:bold;
-    color:red;
+       position:static;
+       font-family:helvetica,sans-serif;
+       font-weight:bold;
+       color:red;
 
 }
+
+table.document {
+   color:blue;
+   width:100%;
+   border-spacing:  0px;
+   border-collapse:collapse;
+
+}
+table.document th{
+  font-weight:bold;
+  font-family:helvetica,sans-serif;
+  border-bottom:2px solid blue;
+  border-top:0;
+  color:#25238F;
+  text-align: left;
+  background-color:#EDF3FF;
+  font-style: italic;
+}
 .error {
-    width:60%;
-    margin-left:20%;
-    text-align: center;
+width:60%;
+margin-left:20%;
+text-align: center;
 
-    color:white;
-    background-color:red;
-    font-weight: bolder;
-    font-size:120%;
+color:white;
+background-color:red;
+font-weight: bolder;
+font-size:120%;
 }
 
 table.mtitle {
-    border:0;
-    text-align:center
+       border:0;
+       text-align:center
 }
 td.mshort {
-    height:15px;
-    width:60px;
-    text-align:center;
-    border:  1px solid;
-    color:#5D90CD ;
-    background-color:#DDE6FF;
+  height:15px;
+  width:60px;
+  text-align:center;
+  border:  1px solid;
+  color:#5D90CD ;
+  background-color:#DDE6FF;
 }
 td.mtitle {
-    text-align:center;
-    width:95px;
-    height :30px;
-    font-size:10px;
+       text-align:center;
+       width:95px;
+        height :30px;
+       font-size:10px;
     background-color:#DDE6FF;
+    border:1px solid #99B1DF;
 }
 td.msubtitle {
-    text-align:center;
-    height:20px;
-    font-size:10px;
+       text-align:center;
+       height:20px;
+       font-size:10px;
     background-color:#DDE6FF;
 }
 span.mtitle {
-    color:gray;
-    background-color:blue;
-    font-size:10px;
-    border-style:groove
+       color:gray;
+       background-color:blue;
+       font-size:10px;
+       border-style:groove
 }
 span.odd {
-    background-color:#ECF3FF;
-    display:block;
-}
+  background-color:#ECF3FF;
+  display:block;
+ }
 span.even {
-    background-color:#DDE6FF;
-    display:block;
-}
+  background-color:#DDE6FF;
+  display:block;
+ }
 
 tr.odd {
-    background-color:#DDE6FF;
-    font-size:10px;
-    border-size:0px;
+       background-color:#DDE6FF;
+       font-size:10px;
 }
 tr {
-    font-size:10px;
+       font-size:10px;
 }
 td.odd{
-    background-color:#DDE6FF ;
-    border-size:0px;
-    font-size:10px;
+       background-color:#DDE6FF ;
+       font-size:10px;
 }
 td.even{
-    border:0px;
-    font-size:10px;
+       border:0px;
+       font-size:10px;
 }
 td.cell{
-    height:32px;
-    padding: 1px;
+           height:32px;
+            padding: 1px;
 }
 td.selectedcell{
-    border-style:inset;
-    border-color:blue;
-    border-width:1pt ;
-    font-size:10px;
-    background:#5D90CD ;
-    color:white;
-    text-align:center;
-    width:120px;
+       border-style:inset;
+        border-color:blue;
+       border-width:1pt ;
+       font-size:10px;
+        background:#5D90CD ;
+        color:white;
+        text-align:center;
+            width:120px;
 }
 a.mtitle {
-    font-size:10px;
-    text-decoration:none;
-    display:inline;
-    color: blue;
+  font-size:10px;
+  text-decoration:none;
+  display:inline;
+ color: blue;
 
 }
 a.mtitle:hover {
-    font-size:10px;
-    text-decoration:none;
-    display:inline;
-    color: darkblue;
-    background-color:#5D90CD;
+  font-size:10px;
+  text-decoration:none;
+  display:inline;
 
+ color: yellow;
+background-color:#5D90CD;
+
 }
 td.selectedcell a.mtitle {
-    font-size:1em;
-    text-decoration:none;
-    display:block;
-    color:white;
+ font-size:1em;
+ text-decoration:none;
+ display:block;
+ color:white;
 }
 a.dossier {
-    font-size:10px;
-    text-decoration:none;
-    display:block;
-    color: #202267;
+  font-size:10px;
+  text-decoration:none;
+  display:block;
+   color: #202267;
 
 }
 tr.odd:hover td
 {
-    text-decoration:none;
-    background-color: #a9d6e4;
-    color:white;
+  text-decoration:none;
+  background-color: #a9d6e4;
+  color:yellow;
 }
 tr.even:hover td
 {
-    text-decoration:none;
-    background-color: #a9d6e4;
-    color:white;
+  text-decoration:none;
+  background-color: #a9d6e4;
+  color:yellow;
 }
 td.mtitle:hover,td.mtitle:hover a
 {
-    background-color:#a9d6e4;
-    color:white;
+  background-color:#a9d6e4;
+  color:yellow;
 }
 td.msubtitle:hover,td.msubtitle:hover a
 {
-    background-color:#a9d6e4;
-    color:white;
+  background-color:#a9d6e4;
+  color:yellow;
 }
 a.cell {
-    text-decoration:none;
-    display:block;
-    color:blue;
-    background-color:white;
-    font-size:9px;
+  text-decoration:none;
+  display:block;
+  color:blue;
+  background-color:white;
+  font-size:9px;
 }
 
 a.cell:hover {
-    font-size:9px;
-    color:white;
-    background-color:#5D90CD;
-    text-decoration:none;
-    display:block;
-}
+  font-size:9px;
+  color:yellow;
+  background-color:#5D90CD;
+  text-decoration:none;
+  display:block;
+       }
 
 
 a.one:link {
-    text-decoration:none;
-    color:#3010FF
+       text-decoration:none;
+       color:#3010FF
 }
 a.one:visited {
-    text-decoration:none;
-    color:#3010FF
-}
+       text-decoration:none;
+       color:#3010FF
+       }
 
 a.one:active {
-    background: #0000FF;
-}
+       background: #0000FF;
+       }
 
 a.one:hover {
-    text-decoration:underline;
-    background:#3010FF;
-    color:#FFFFFF;
-}
+           text-decoration:underline;
+       background:#3010FF;
+       color:#FFFFFF;
+       }
 
 
 a.detail
 {
-    font-size:9px;
-    font-family:helvetica,arial,sans-serif;
+  font-size:9px;
+  font-family:helvetica,sans-serif;
     text-decoration: none;
     display: block;
     color: blue;
@@ -392,8 +404,8 @@
 
 a.detail:hover
 {
-    font-size:9px;
-    font-family:helvetica,arial,sans-serif;
+  font-size:9px;
+  font-family:helvetica,sans-serif;
     color: white;
     background-color: rgb(93, 144, 205);
     text-decoration: none;
@@ -401,19 +413,19 @@
 }
 
 li.menuv,ol.menuv {
-    display:inline;
-    padding:1em 1em;
+        display:inline;
+        padding:1em 1em;
 }
 div.redcontent a {
-    font-family:helvetica,arial,sans-serif;
-    text-decoration: none;
-    display: block;
-    color: blue;
+  font-family:helvetica,sans-serif;
+  text-decoration: none;
+  display: block;
+  color: blue;
 
 }
 
 div.redcontent a:hover {
-    font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
     color: white;
     background-color: rgb(93, 144, 205);
     text-decoration: none;
@@ -421,17 +433,17 @@
 
 }
 div.content a {
-    font-family:helvetica,arial,sans-serif;
-    text-decoration: none;
-    display: block;
-    color: #0E7E0E;
-    padding: 1px ;
+  font-family:helvetica,sans-serif;
+  text-decoration: none;
+  display: block;
+  color: blue;
+padding: 0;
 
 }
 
 
 div.content a:hover {
-    font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
     color: white;
     background-color: rgb(93, 144, 205);
     text-decoration: none;
@@ -440,493 +452,493 @@
 }
 
 div.redcontent a.mtitle {
-    text-decoration:none;
-    display:inline;
+  text-decoration:none;
+  display:inline;
 
 
-    color:black;
+  color:black;
 
 }
 
 div.redcontent a.mtitle:hover {
-    text-decoration:none;
-    display:inline;
-    color:white;
-    background-color:darkblue;
+  text-decoration:none;
+  display:inline;
+  color:white;
+  background-color:darkblue;
 
 
 }
 div.content a.mtitle {
-    font-size:10px;
-    text-decoration:none;
-    display:inline;
-    color:blue;
+  font-size:10px;
+  text-decoration:none;
+  display:inline;
+  color:blue;
 
 
 
 }
 
 div.content a.mtitle:hover {
-    text-decoration:none;
-    display:inline;
-    background-color:darkblue;
-    color:white;
+  text-decoration:none;
+  display:inline;
+  background-color:darkblue;
+  color:white;
 
 
 }
 div.redcontent input.text {
-    font-family:helvetica,arial,sans-serif;
-    font-weight:normal;
-    border-color:336699;
-    border-style:solid;
-    background-color:orange;
-    border-width:1px;
-    color:blue;
+   font-family:helvetica,sans-serif;
+  font-weight:normal;
+  border-color:336699;
+  border-style:solid;
+  background-color:greenyellow;
+  border-width:1px;
+  color:blue;
 }
 div.content input.text {
-    font-family:helvetica,arial,sans-serif;
-    font-weight:normal;
-    border-color:336699;
-    border-style:solid;
-    border-width:1px;
-    background-color:orange;
-    color:blue;
+   font-family:helvetica,sans-serif;
+  font-weight:normal;
+  border-color:336699;
+  border-style:solid;
+  border-width:1px;
+  background-color:greenyellow;
+  color:blue;
 }
 
 
 
 div.redcontent input:focus {
-    background-color:orange;
+  background-color:greenyellow;
 }
 div.content input:focus {
-    background-color:orange;
+  background-color:greenyellow;
 }
 div.redcontent textarea:focus {
-    background-color: orange;
+background-color: greenyellow;
 }
 .document {
-    color: #1a207d;
-    border-collapse:collapse;
+color: #1a207d;
+border-collapse:collapse;
 }
 a.document{
-    font-size:12px;
-    text-decoration:none;
-    display:block;
+  font-size:12px;
+  text-decoration:none;
+  display:block;
 }
 a.document:hover {
-    text-decoration:none;
-    display:block;
+  text-decoration:none;
+  display:block;
 
 
 }
 .input_text {
-    border:groove 1px blue;
-    margin:1px;
+          border:groove 1px blue;
+       margin:1px;
 }
+.input_text:hover {
+       border:groove 1px blue;
+       margin:1px;
+       background-color: greenyellow;
+}
 legend {
-    font-weight: bold;
-    font-style: italic;
-    font-size: 120% ;
+font-weight: bold;
+font-style: italic;
+font-size: 120% ;
 
 }
 fieldset fieldset legend {
-    font-size:110%;
-    color:grey;
-}
+        font-size:110%;
+        color:grey;
+        }
 select {
-    border: 1px solid blue;
-    margin:2px;
-    background-color:white;
+border: 1px solid blue;
+margin:2px;
+background-color:white;
 
+
 }
 
 
 
 .infobulle {
-    position:absolute;
-    border:1px solid black;
-    background-color:yellow;
-    top:0;left:0;
-    visibility:hidden;
-    z-index:20;
-    width:25em;
-
+          position:absolute;
+          border:1px solid black;
+          background-color:yellow;
+          padding-bottom: 10;
+          padding-top: 10;
+          padding-left: 10;
+          padding-right: 10;
+          color:black;
+          top:0;left:0;
+          visibility:hidden;
+          width:25em;
+               z-index:20;
 }
 
 span.action {
-    height:3em;
+       height:3em;
 
 }
 td.num {
-    text-align:right;
+       text-align:right;
 }
 tr.priority1 {
-    background-color:red;
-}
+       background-color:red;
+       }
 span.action a.action {
-    border:2px outset ;
-    padding-left: 3px;
-    padding-right:3px;
-    text-decoration:none;
-    font-size:14px;
+  border:2px outset ;
+  padding-left: 3px;
+  padding-right:3px;
+  text-decoration:none;
+  font-size:14px;
 
-    display:inline;
-    color:black;
-    background-color:lightgrey;
+  display:inline;
+  color:black;
+  background-color:lightgrey;
 }
 
 span.action a.action:hover {
-    text-decoration:none;
-    display:inline;
-    background-color:lightblue;
-    color:black;
+  text-decoration:none;
+  display:inline;
+  background-color:lightblue;
+  color:black;
 }
 div.popup_back{
-    position:absolute;
-    top:0px;
-    left:0px;
-    width:100%;
-    height:100%;
-    z-index:1;
-    /*background-color:lightgrey;*/
-    background-color: rgba(203, 203,203, 0.2);
-    display:none;
+       position:absolute;
+       top:0px;
+       left:0px;
+       opacity:0.6;
+       width:100%;
+       height:100%;
+       z-index:1;
+       /*background-color:lightgrey;*/
+
+       display:none;
 }
 
 div.popup_border_title {
-    position:absolute;
-    top:20%;
-    left:10%;
-    width:60%;
-    height:80%;
-    /*background:lightgrey;*/
-    z-index:10;
-    /*border:dotted 1px black;*/
-    border: 2px outset #201e87;
-    background-color:#879ED4;
-    font-size: 110% ;
-    font-family: helvetica,arial,sans-serif;
-    font-style: italic;
-    font-weight: bolder;
-    text-align:center;
-    /*border-bottom: 2px solid #201e87;*/
-    color: white;
-    display:none;
-    /*opacity:1;
-    filter:alpha(opacity=100);*/
+       position:absolute;
+       top:20%;
+       left:10%;
+       width:60%;
+       height:80%;
+       /*background:lightgrey;*/
+       z-index:10;
+       /*border:dotted 1px black;*/
+       border: 2px outset #201e87;
+       background-color:#879ED4;
+       font-size: 110% ;
+       font-family: helvetica,sans-serif;
+       font-style: italic;
+       font-weight: bolder;
+       text-align:center;
+       /*border-bottom: 2px solid #201e87;*/
+       color: white;
+       display:none;
+       /*opacity:1;
+       filter:alpha(opacity=100);*/
 
-}
+       }
 div.popup_border_notitle {
-    position:absolute;
-    top:20%;
-    left:20%;
-    width:60%;
-    height:80% ;
-    /*background:lightgrey;*/
-    z-index:10;
-    /*border:dotted 1px black;*/
-    border: 3px outset #201e87;
-    background-color:lightblue;
-    font-family: helvetica,arial,sans-serif;
-    font-style: italic;
-    font-weight: bolder;
-    text-align:center;
-    display:none;
-    color: white;
-    /*opacity:0.7;
-    filter:alpha(opacity=70);
-    */
-}
+       position:absolute;
+       top:20%;
+       left:20%;
+       width:60%;
+       height:80% ;
+       /*background:lightgrey;*/
+       z-index:10;
+       /*border:dotted 1px black;*/
+       border: 3px outset #201e87;
+       background-color: #879ED4;
+       font-family: helvetica,sans-serif;
+       font-style: italic;
+       font-weight: bolder;
+       text-align:center;
+       display:none;
+       color: white;
+       /*opacity:0.7;
+       filter:alpha(opacity=70);
+       */
+       }
 
 div.popup_content {
-    position:absolute;
-    top:4%;
-    bottom:0;
-    left:0;
-    right:0;
-    width:100%;
-    height:96%;
-    overflow: auto;
-    background-color:#DFE7FF;
-    font-size:10px ;
-    font-family: helvetica,arial,sans-serif;
-    font-style: normal;
-    font-weight: normal;
-    color: black;
-    text-align: left;
-    display:none;
-    z-index:10;
-    /*opacity:1;
-    filter:alpha(opacity=100);*/
+       position:absolute;
+       top:16;
+       bottom:0;
+       left:0;
+       right:0;
+       width:100%;
+       height:96%;
+       overflow: auto;
+       background-color:#DFE7FF;
+       font-size:10px ;
+       font-family: helvetica,sans-serif;
+       font-style: normal;
+       font-weight: normal;
+       color: black;
+       text-align: left;
+       display:none;
+       z-index:10;
+       /*opacity:1;
+       filter:alpha(opacity=100);*/
 }
 div.autocomplete {
-    position:relative;
-    background-color:white;
-    border:1px solid #888;
-    margin:0;
-    padding:0;
-    text-align:left;
-    font-size:12px;
+  position:relative;
+  background-color:white;
+  border:1px solid #888;
+  margin:0;
+  padding:0;
+  text-align:left;
+  font-size:12px;
 
 }
 div.autocomplete em {
-    color:blue;
-    font-weight:bold;
+       color:blue;
+       font-weight:bold;
 }
 div.autocomplete ul {
-    list-style-type:none;
-    background-color:white;
-    border:1px solid #888;
-    width:375;
-    margin:0;
-    padding:0;
+  list-style-type:none;
+  background-color:white;
+  border:1px solid #888;
+  width:375px;
+  margin:0;
+  padding:0;
 }
 div.autocomplete ul li.selected { background-color: lightblue;}
 
 div.autocomplete ul li {
-    list-style-type:none;
-    display:block;
-    margin:0;
-    padding:0px;
-    /*height:32px;*/
-    cursor:pointer;
+  list-style-type:none;
+  display:block;
+  margin:0;
+  padding:0px;
+  /*height:32px;*/
+  cursor:pointer;
 }
-span.informal{ font-size:10; }
+span.informal{ font-size:95%; color:black;}
+
 ul.select_table  {
-    /*padding:5px;*/
-    overflow:hidden;
-}
+       /*padding:5px;*/
+       overflow:hidden;
+       }
 ul.select_table a{
-    width:100%;
-    display:block;
-    background-color:inherit;
-    color: black;
-    text-decoration:none;
-}
+       width:100%;
+       display:block;
+       background-color:inherit;
+       color: black;
+       text-decoration:none;
+       }
 ul.select_table a:hover{
-    background-color:white;
-    color:black;
-    /*text-decoration:underline;*/
-}
+       background-color:white;
+       color:black;
+       /*text-decoration:underline;*/
+       }
 ul.select_table li {
-    display:table-row;
-    list-style-type: none;
-}
+       display:table-row;
+       list-style-type: none;
+       }
 ul.select_table li span {
-    display:table-cell;
-    width:25em;
-    margin: 0px;
-    padding:  0px;
+       display:table-cell;
+       width:25em;
+       margin: 0px;
+       padding:  0px;
 }
 
 div.pc_calendar{
-    border:1px groove grey;
-    float:left;
+               border:1px groove grey;
+               float:left;
 
-}
+               }
 div.pc_calendar table {
-    text-align:center;
+       text-align:center;
 
 }
 div.pc_calendar tr{
-    height:40;
+       height:40;
 
 
 }
 div.pc_calendar td{
-    width:10em;
+       width:10em;
 }
 
 div.pc_calendar td.weekend {
-    background-color:#cce0e6;
+       background-color:#cce0e6;
 
 }
 div.pc_calendar td.workday{
-    background-color:inherit;
+       background-color:inherit;
 
 
 }
 div.pc_calendar span.day{
-    font-weight: bold;
-    display:block;
+       font-weight: bold;
+       display:block;
 
 }
 div.pc_calendar span.event{
-    font-weight: bolder;
+       font-weight: bolder;
 
 }
 span.todo  {
-    text-align: left;
-    background-color:yellow;
+       text-align: left;
+       background-color:yellow;
 
 }
 input[disabled], textarea[disabled], option[disabled], optgroup[disabled], 
select[disabled] {
-    -moz-user-focus:ignore;
-    -moz-user-input:disabled;
-    background-color:lightgrey;
-    color:black;
-    cursor:inherit;
+-moz-user-focus:ignore;
+-moz-user-input:disabled;
+background-color:lightgrey;
+color:black;
+cursor:inherit;
 }
 
-.button {
-    font-size:10;
-    color:black;
-    text-decoration:none;
-    font-family: helvetica,arial,sans-serif;
-    background-color:#DFDFDF;
-    border-style:  outset ;
-    border-color:  blue ;
-    border-width:1;
-    padding:2 4 2 4;
-    cursor:pointer;
-    margin:1 2 1 2;
-    -moz-border-radius:2 2;
+a#anchorbutton, .button, a.button,div.content a.button {
+       font-size:10;
+       color:white;
+       font-weight: bold;
 
+       text-decoration:none;
+       font-family: helvetica,sans-serif,arial;
+       background-image: url("image/bg-submit3.gif");
+       background-repeat: repeat-x;
+       background-position: left;
+       height:24px;
+       border-color:  blue ;
+       border-width:0;
+       padding-bottom: 4;
+       padding-top: 4;
+       padding-right: 6;
+       padding-left:  6;
+       margin-top:3px;
+       cursor:pointer;
+       margin:1 2 1 2;
+       -moz-border-radius:6;
+       border-radius:6;
+
 }
-.button:hover {
-    cursor:pointer;
-    background-color:white;
-    border-style:  inset ;
-    color:blue;
-    margin:1 2 1 2;
-}
-td.tool {
-    border: 0;
+a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover  
{
+       cursor:pointer;
+       background-color:white;
+       color:yellow;
+       margin:1 2 1 2;
+       }
+       td.tool {
+       border: solid 1px gray;
 
-}
+       }
 div.topmenu {
-    float:left;
-    width:100%;
+       float:left;
+       width:100%;
 
 }
 
 h2.dossier {
-    color:white;
-    font-style: oblique;
+       color:darkblue;
+       font-style: italic;
 
-    font-size:15px;
-    margin:0;
-    padding:0;
-    text-align:center;
+font-size:20px;
+margin:0;
+padding:0;
+text-align:center;
 }
-a#anchorbutton {
-    font-size:10;
-    color:black;
-    text-decoration:none;
-    font-family: helvetica,arial,sans-serif;
-    background-color:#DFDFDF;
-    border-style:  outset ;
-    border-color:  blue ;
-    border-width:1;
-    padding:2 4 2 4;
-    cursor:pointer;
-    margin:1 2 1 2;
-    -moz-border-radius:2 2;
+/* </style> */
+div.add_todo_list {
+                    border:1px solid blue;
+                    display:none;
+                    background-color:#BFD0FF;
+                    padding:3;
+                    position:absolute;
+                    text-align:left;
+                    line-height:3em;
+                    z-index:1}
+div.welcome {
 
 }
-a#anchorbutton :hover {
-    cursor:pointer;
-    background-color:white;
-    border-style:  inset ;
-    color:blue;
-    margin:1 2 1 2;
-}
-/* </style> */
-div.add_todo_list {
-    border:1px solid blue;
-    display:none;
-    background-color:#CFCDFF;
-    padding:3;
-    position:absolute;
-    text-align:left;
-    line-height:3em;
-    z-index:1}
 div.gest_name {
-    float:right;
-    margin-right:150;
-    margin-top:15
+       float:right;
+       margin-right:150;
+       margin-top:15
 }
 h2.gest_name {
-    border-left: 1px solid  #403a8d;
-    border-bottom:1px solid  #403a8d;
-    border-top:1px solid  #403a8d;
-    border-right:1px solid  #403a8d;
-    padding: 5px;
-    font-size:140%;
-    color:#403a8d;
-
+       border-left: 5px solid  #403a8d;
+       border-bottom:1px solid  #b4bbc2;
+               border-top:1px solid  #b4bbc2;
+               border-right:1px solid  #b4bbc2;
+       padding: 5px;
 }
 div.op_detail_frame  {
-    background-color:#e4e7ed;
-    height:100%; width:100%;
+  background-color:#e4e7ed;
+  height:100%; width:100%;
 
 
 }
 div.inner_box  {
-    background-color:#ccffcc;
-    font-size:10;
-    font-family:helvetica,arial,sans-serif;
-    padding:0;
-    margin:0;
-    overflow:hidden;
-    z-index:3;
+  background-color:#e4e7ed;
+ font-size:10;
+  font-family:helvetica,sans-serif;
+  padding:0;
+  margin:0;
+  overflow:hidden;
+  z-index:3;
 
-    position:absolute;
-    left:10%;
+position:absolute;
+left:10%;
 
 
-    border:1px solid darkblue;
+border:1px solid darkblue;
 
 }
 div.op_detail_title {
-    background-color:grey;
-    /* width:500;*/
+       background-color:grey;
+/*     width:500;*/
 
 
 }
 div#div_jrn{
-    position:absolute;
-    border:1px solid black;
-    top:15%;left:100;
-    visibility:hidden;
-    z-index:2;
-    width:50em;
-    background-color:#EDF3FF;
+              position:absolute;
+              border:1px solid black;
+               top:15%;left:100;
+              visibility:hidden;
+              z-index:2;
+              width:50em;
+                     background-color:#EDF3FF;
 
 }
-div#div_cat{
-    position:absolute;
-    border:1px solid black;
-    top:15%;left:100;
-    visibility:hidden;
-    z-index:2;
-    width:50em;
-    background-color:#EDF3FF;
+ div#div_cat{
+              position:absolute;
+              border:1px solid black;
+               top:15%;left:100;
+              visibility:hidden;
+              z-index:2;
+              width:50em;
+             background-color:#EDF3FF;
 
 }
+
 div.divinfo
-{  color:red;text-align:right;display:block;width:30em;height:13;}
+{  
color:red;text-align:right;display:block;width:30em;height:13;font-weight:bold}
 
 div#search_form
 {
-    position:absolute;
-    border:1px solid black;
-    top:15%;left:100;
-    margin-left:25%
-        z-index:2;
-    width:50%;
-    display:none;
-    background-color:#e4e7ed;
+              position:absolute;
+              border:1px solid black;
+              top:15%;left:100;
+              margin-left:25%
+              z-index:2;
+              width:50%;
+              display:none;
+             background-color:#e4e7ed;
 }
-table.result td
+
+table.table_large td, table.result td
 {
-    padding-left:5px;
-    padding-right:5px;
+       padding-left:5px;
+       padding-right:5px;
 }
 table.info_op
 {
-       margin-left: 30%;
-       margin-right: 30%;
+       font-size:18;
+       margin-right:30%;
        width:20%;
 
 }
@@ -934,11 +946,11 @@
 {
 font-size:14;
 background:white;
-width:5%
 }
 h2#jrn_name
 {
        margin-right:30%;
+       float: right;
 
 }
 tr.footer{
@@ -951,6 +963,7 @@
        font-weight: bold;
        color:black;
        }
+
 div#jrn_name_div
 {
        float: right;
@@ -966,14 +979,14 @@
 #direct
 {
        display:inline;
-       float:right;
+       float:left;
+       width:400px;
 
-
 }
-.direct
+#calc
 {
-               font-size:6px;
-          border:groove 1px #00ff00;
+       display:inline;
+       float:left;
 }
 div#wait_box
 {
@@ -1005,4 +1018,57 @@
               width:50em;
                      background-color:#EDF3FF;
 
+}
+ul {
+       padding-left: 110px;
+}
+a.line,div.content a.line
+{
+font-size:110%;
+  text-decoration:underline;
+  display:inline;
+ color: #0000ff;
+}
+a.line:hover,div_content a.line
+{
+font-size:110%;
+  text-decoration:underline;
+  display:inline;
+  color: #0000ff;
+     background-color: rgb(93, 144, 205);
+}
+#close_div
+{
+ background-color:white;
+ color:blue;
+ text-decoration:none;
+ border:1px solid blue;
+ margin-left: 2px;
+ margin-right:2px;
+ margin-top:0px;
+ font-size:10px;
+}
+table.table_large tr.odd ,table.table_large tr.even {
+
+       height:32px;
+}
+#calc1
+{
+       position:absolute;
+       display:block;
+       top:30px;
+       left:150px;
+       width:300px;
+       border:1px solid black;
+       background-color:#aec3e8;
+       font-size:16px;
+       padding: 20px 20px;
+}
+span.invoice
+{
+    font-size: 120%;
+    font-style: italic;
+    display:block;
+    margin: 20px;
+    font-weight: bold;
 }
\ No newline at end of file

Modified: phpcompta/trunk/html/style-light.css
===================================================================
--- phpcompta/trunk/html/style-light.css        2011-11-21 15:49:26 UTC (rev 
4429)
+++ phpcompta/trunk/html/style-light.css        2011-11-21 20:20:59 UTC (rev 
4430)
@@ -3,18 +3,18 @@
 BODY {
   background-color:#EDF3FF;
  font-size:10;
- color:blue;
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
   padding: 0px 10px 0px 10px ;
   margin:0;
+  color:blue;
 }
 .notice {
                color:red;
         font-style: italic;
         }
 
-table.result  ,table.resultfooter {
-  color:#0000ff;
+table.table_large, table.result  ,table.resultfooter {
+  color:blue;
   /* border:blue solid 1px; */
   width:100%;
    border-spacing:  0px;
@@ -27,10 +27,10 @@
 
 
 }
-table.result th {
+table.table_large th,table.result th {
   font-weight:bold;
-  font-family:helvetica,arial,sans-serif;
- border-bottom:1px solid black;
+  font-family:helvetica,sans-serif;
+ border-bottom:1px solid blue;
  border-top:0;
 
   color:#25238F;
@@ -40,7 +40,7 @@
 }
 
 h2 {
-  font-family:Helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
   font-size:14px;
   color:grey;
 }
@@ -86,7 +86,7 @@
 }
 
 h2.info2 {
-  color:#0000ff;
+  color:blue;
   font-size:14px;
   text-align:center;
 
@@ -100,7 +100,7 @@
 }
 
 h1.title {
-       color: #0000ff;
+       color: blue;
        font-size:25px;
 }
 
@@ -125,7 +125,6 @@
 div.u_tool {
        float:left;
        width:  100%;
-
        }
 div.u_tool div.name {
        float:left;
@@ -150,8 +149,9 @@
 
 }
 div.lextmenu {
+
        float:left;
-       font-family:helvetica,arial,sans-serif;
+       font-family:helvetica,sans-serif;
        font-size:9px;
 
 }
@@ -166,47 +166,49 @@
 div.recherche_form{
        width:700px;
        font-size:9px;
-       font-family:Helvetica,arial,sans-serif;
+       font-family:helvetica,sans-serif;
   border-style:outset;
   border-width:1px;
 
 }
 div.redcontent{
+
          float:left;
         padding-top:7px;
         padding-left:8px;
          font-size:9px;
-         font-family:helvetica,arial,sans-serif;
+         font-family:helvetica,sans-serif;
         width:75%;
 
 }
 div.content{
+
          float:left;
                padding-top:7px;
-         width:96%;
-         font-family:helvetica,arial,sans-serif;
+         width:100%;
+         font-family:helvetica,sans-serif;
          clear:both;
-         margin-left:2%;
 
 
 }
 div.content30{
+
          float:left;
         padding-top:7px;
          width:35%;
-         font-family:helvetica,arial,sans-serif;
+         font-family:helvetica,sans-serif;
 
 }
 div.no span{
        position:static;
-       font-family:helvetica,arial,sans-serif;
+       font-family:helvetica,sans-serif;
        font-weight:bold;
        color:red;
 
 }
 
 table.document {
-   color:#0000ff;
+   color:blue;
    width:100%;
    border-spacing:  0px;
    border-collapse:collapse;
@@ -214,8 +216,8 @@
 }
 table.document th{
   font-weight:bold;
-  font-family:helvetica,arial,sans-serif;
-  border-bottom:2px solid #0000ff;
+  font-family:helvetica,sans-serif;
+  border-bottom:2px solid blue;
   border-top:0;
   color:#25238F;
   text-align: left;
@@ -225,9 +227,10 @@
 .error {
 width:60%;
 margin-left:20%;
+text-align: center;
+
 color:white;
 background-color:red;
-text-align: center;
 font-weight: bolder;
 font-size:120%;
 }
@@ -260,7 +263,7 @@
 }
 span.mtitle {
        color:gray;
-       background-color:#0000ff;
+       background-color:blue;
        font-size:10px;
        border-style:groove
 }
@@ -276,14 +279,12 @@
 tr.odd {
        background-color:#DDE6FF;
        font-size:10px;
-  border-width:0px;
 }
 tr {
        font-size:10px;
 }
 td.odd{
        background-color:#DDE6FF ;
-       border-width:0px;
        font-size:10px;
 }
 td.even{
@@ -296,7 +297,7 @@
 }
 td.selectedcell{
        border-style:inset;
-        border-color:#0000ff;
+        border-color:blue;
        border-width:1pt ;
        font-size:10px;
         background:#5D90CD ;
@@ -308,7 +309,7 @@
   font-size:10px;
   text-decoration:none;
   display:inline;
- color: #0000ff;
+ color: blue;
 
 }
 a.mtitle:hover {
@@ -316,7 +317,7 @@
   text-decoration:none;
   display:inline;
 
- color: darkblue;
+ color: yellow;
 background-color:#5D90CD;
 
 }
@@ -337,35 +338,35 @@
 {
   text-decoration:none;
   background-color: #a9d6e4;
-  color:white;
+  color:yellow;
 }
 tr.even:hover td
 {
   text-decoration:none;
   background-color: #a9d6e4;
-  color:white;
+  color:yellow;
 }
 td.mtitle:hover,td.mtitle:hover a
 {
   background-color:#a9d6e4;
-  color:white;
+  color:yellow;
 }
 td.msubtitle:hover,td.msubtitle:hover a
 {
   background-color:#a9d6e4;
-  color:white;
+  color:yellow;
 }
 a.cell {
   text-decoration:none;
   display:block;
-  color:#0000ff;
+  color:blue;
   background-color:white;
   font-size:9px;
 }
 
 a.cell:hover {
   font-size:9px;
-  color:white;
+  color:yellow;
   background-color:#5D90CD;
   text-decoration:none;
   display:block;
@@ -395,16 +396,16 @@
 a.detail
 {
   font-size:9px;
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
     text-decoration: none;
     display: block;
-    color: #0000ff;
+    color: blue;
 }
 
 a.detail:hover
 {
   font-size:9px;
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
     color: white;
     background-color: rgb(93, 144, 205);
     text-decoration: none;
@@ -416,15 +417,15 @@
         padding:1em 1em;
 }
 div.redcontent a {
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
   text-decoration: none;
   display: block;
-  color: #0000ff;
+  color: blue;
 
 }
 
 div.redcontent a:hover {
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
     color: white;
     background-color: rgb(93, 144, 205);
     text-decoration: none;
@@ -432,17 +433,17 @@
 
 }
 div.content a {
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
   text-decoration: none;
   display: block;
   color: blue;
-padding: 1px ;
+padding: 0;
 
 }
 
 
 div.content a:hover {
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
     color: white;
     background-color: rgb(93, 144, 205);
     text-decoration: none;
@@ -471,7 +472,7 @@
   font-size:10px;
   text-decoration:none;
   display:inline;
-  color:#0000ff;
+  color:blue;
 
 
 
@@ -486,34 +487,34 @@
 
 }
 div.redcontent input.text {
-   font-family:helvetica,arial,sans-serif;
+   font-family:helvetica,sans-serif;
   font-weight:normal;
   border-color:336699;
   border-style:solid;
-  background-color:orange;
+  background-color:greenyellow;
   border-width:1px;
-  color:#0000ff;
+  color:blue;
 }
 div.content input.text {
-   font-family:helvetica,arial,sans-serif;
+   font-family:helvetica,sans-serif;
   font-weight:normal;
   border-color:336699;
   border-style:solid;
   border-width:1px;
-  background-color:orange;
-  color:#0000ff;
+  background-color:greenyellow;
+  color:blue;
 }
 
 
 
 div.redcontent input:focus {
-  background-color:orange;
+  background-color:greenyellow;
 }
 div.content input:focus {
-  background-color:orange;
+  background-color:greenyellow;
 }
 div.redcontent textarea:focus {
-background-color: orange;
+background-color: greenyellow;
 }
 .document {
 color: #1a207d;
@@ -531,11 +532,13 @@
 
 }
 .input_text {
-          border:groove 1px #0000ff;
+          border:groove 1px blue;
        margin:1px;
 }
 .input_text:hover {
-       background-color: yellow;
+       border:groove 1px blue;
+       margin:1px;
+       background-color: greenyellow;
 }
 legend {
 font-weight: bold;
@@ -548,7 +551,7 @@
         color:grey;
         }
 select {
-border: 1px solid #0000ff;
+border: 1px solid blue;
 margin:2px;
 background-color:white;
 
@@ -561,15 +564,15 @@
           position:absolute;
           border:1px solid black;
           background-color:yellow;
-          top:0;left:0;
-          visibility:hidden;
-          z-index:2;
-          width:25em;
           padding-bottom: 10;
           padding-top: 10;
           padding-left: 10;
           padding-right: 10;
-
+          color:black;
+          top:0;left:0;
+          visibility:hidden;
+          width:25em;
+               z-index:20;
 }
 
 span.action {
@@ -604,12 +607,12 @@
        position:absolute;
        top:0px;
        left:0px;
+       opacity:0.6;
        width:100%;
-height: 150%;
-
+       height:100%;
        z-index:1;
        /*background-color:lightgrey;*/
-       /*background-color: rgba(203, 203,203, 0.2);*/
+
        display:none;
 }
 
@@ -625,7 +628,7 @@
        border: 2px outset #201e87;
        background-color:#879ED4;
        font-size: 110% ;
-       font-family: helvetica,arial,sans-serif;
+       font-family: helvetica,sans-serif;
        font-style: italic;
        font-weight: bolder;
        text-align:center;
@@ -647,7 +650,7 @@
        /*border:dotted 1px black;*/
        border: 3px outset #201e87;
        background-color: #879ED4;
-       font-family: helvetica,arial,sans-serif;
+       font-family: helvetica,sans-serif;
        font-style: italic;
        font-weight: bolder;
        text-align:center;
@@ -667,9 +670,9 @@
        width:100%;
        height:96%;
        overflow: auto;
-  background-color:#e4e7ed;
+       background-color:#DFE7FF;
        font-size:10px ;
-       font-family: helvetica,arial,sans-serif;
+       font-family: helvetica,sans-serif;
        font-style: normal;
        font-weight: normal;
        color: black;
@@ -682,41 +685,36 @@
 div.autocomplete {
   position:relative;
   background-color:white;
+  border:1px solid #888;
   margin:0;
   padding:0;
   text-align:left;
   font-size:12px;
 
 }
-span.informal {
-    font-size:12px;
-
- }
 div.autocomplete em {
-       color:#0000ff;
+       color:blue;
        font-weight:bold;
 }
 div.autocomplete ul {
   list-style-type:none;
-  width: 350px;
   background-color:white;
+  border:1px solid #888;
+  width:375px;
   margin:0;
   padding:0;
-  border:1px solid #888;
 }
 div.autocomplete ul li.selected { background-color: lightblue;}
 
 div.autocomplete ul li {
   list-style-type:none;
-  width: auto;
   display:block;
   margin:0;
   padding:0px;
   /*height:32px;*/
-  border:1px dotted  #e6e6fa;
-
   cursor:pointer;
 }
+span.informal{ font-size:95%; color:black;}
 
 ul.select_table  {
        /*padding:5px;*/
@@ -794,32 +792,37 @@
 cursor:inherit;
 }
 
-.button , a.button,div.content a.button {
+a#anchorbutton, .button, a.button,div.content a.button {
        font-size:10;
-       color:white;
+       color:black;
        font-weight: bold;
 
        text-decoration:none;
-       font-family: helvetica,arial,sans-serif;
-       background-image: url("image/bg-submit3.gif");
+       font-family: helvetica,sans-serif,arial;
+       background-color: #DFDFDF;
        background-repeat: repeat-x;
        background-position: left;
-
-       border-style:  outset ;
-       border-color:  #0000ff ;
-       border-width:0;
-       padding:2 4 2 4;
+       height:32px;
+       border-color:  gray;
+       border-style: outset;
+       border-width:2;
+       padding-bottom: 4;
+       padding-top: 4;
+       padding-right: 6;
+       padding-left:  6;
+       margin-top:3px;
        cursor:pointer;
        margin:1 2 1 2;
-       -moz-border-radius:2 2;
+       -moz-border-radius:6;
+       border-radius:6;
 
 }
-.button:hover, a.button:hover,div.content a.button:hover  {
+a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover  
{
        cursor:pointer;
        background-color:white;
-       border-style:  inset ;
-       color:#0000ff;
+       color:black;
        margin:1 2 1 2;
+       border-style: inset;
        }
        td.tool {
        border: solid 1px gray;
@@ -840,37 +843,9 @@
 padding:0;
 text-align:center;
 }
-a#anchorbutton {
-       font-size:10;
-       color:white;
-       font-weight: bold;
-
-       text-decoration:none;
-       font-family: helvetica,arial,sans-serif;
-       background-image: url("image/bg-submit3.gif");
-       background-repeat: repeat-x;
-       background-position: left;
-
-       border-style:  outset ;
-       border-color:  #0000ff ;
-       border-width:1;
-       padding:2 4 2 4;
-       cursor:pointer;
-       margin:1 2 1 2;
-       -moz-border-radius:2 2;
-
-}
-a#anchorbutton:hover {
-       cursor:pointer;
-       background-color:white;
-       border-style:  inset ;
-       color:#0000ff;
-
-       margin:1 2 1 2;
-       }
 /* </style> */
 div.add_todo_list {
-                    border:1px solid #0000ff;
+                    border:1px solid blue;
                     display:none;
                     background-color:#BFD0FF;
                     padding:3;
@@ -900,9 +875,9 @@
 
 }
 div.inner_box  {
-  background-color:#e4e7ed;
+  background-color:whitesmoke;
  font-size:10;
-  font-family:helvetica,arial,sans-serif;
+  font-family:helvetica,sans-serif;
   padding:0;
   margin:0;
   overflow:hidden;
@@ -945,27 +920,27 @@
 div.divinfo
 {  
color:red;text-align:right;display:block;width:30em;height:13;font-weight:bold}
 
-
 div#search_form
 {
               position:absolute;
               border:1px solid black;
               top:15%;left:100;
-              margin-left:25%;
+              margin-left:25%
               z-index:2;
               width:50%;
               display:none;
              background-color:#e4e7ed;
 }
-table.result td
+
+table.table_large td, table.result td
 {
        padding-left:5px;
        padding-right:5px;
 }
 table.info_op
 {
-       margin-left: 30%;
-       margin-right: 30%;
+       font-size:18;
+       margin-right:30%;
        width:20%;
 
 }
@@ -973,17 +948,12 @@
 {
 font-size:14;
 background:white;
-width:5%
 }
 h2#jrn_name
 {
-       padding:0 ;
-       margin:0;
+       margin-right:30%;
+       float: right;
 
-       float:right;
-       font-size:18;
-       display: inline;
-       color:#15158e;
 }
 tr.footer{
        font-size:14;
@@ -995,6 +965,7 @@
        font-weight: bold;
        color:black;
        }
+
 div#jrn_name_div
 {
        float: right;
@@ -1010,17 +981,15 @@
 #direct
 {
        display:inline;
-       float:right;
+       float:left;
+       width:400px;
 
-
 }
-.direct
+#calc
 {
-               font-size:6px;
-          border:groove 1px #33378d;
-       margin:1px;
+       display:inline;
+       float:left;
 }
-
 div#wait_box
 {
   background-color:#F1E6E6;
@@ -1053,5 +1022,55 @@
 
 }
 ul {
-       padding-left: 100px;
+       padding-left: 110px;
 }
+a.line,div.content a.line
+{
+font-size:110%;
+  text-decoration:underline;
+  display:inline;
+ color: #0000ff;
+}
+a.line:hover,div_content a.line
+{
+font-size:110%;
+  text-decoration:underline;
+  display:inline;
+  color: #0000ff;
+     background-color: rgb(93, 144, 205);
+}
+#close_div
+{
+ background-color:white;
+ color:blue;
+ text-decoration:none;
+ border:1px solid blue;
+ margin-left: 2px;
+ margin-right:2px;
+ margin-top:0px;
+ font-size:10px;
+}
+table.table_large tr.odd ,table.table_large tr.even {
+
+       height:32px;
+}
+#calc1
+{
+       position:absolute;
+       display:block;
+       top:30px;
+       left:150px;
+       width:300px;
+       border:1px solid black;
+       background-color:#aec3e8;
+       font-size:16px;
+       padding: 20px 20px;
+}
+span.invoice
+{
+    font-size: 120%;
+    font-style: italic;
+    display:block;
+    margin: 20px;
+    font-weight: bold;
+}
\ No newline at end of file

Modified: phpcompta/trunk/include/class_acc_ledger_fin.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_fin.php    2011-11-21 15:49:26 UTC 
(rev 4429)
+++ phpcompta/trunk/include/class_acc_ledger_fin.php    2011-11-21 20:20:59 UTC 
(rev 4430)
@@ -185,7 +185,7 @@
      *\return string with html code
      *\note the form tag are not  set here
      */
-    function input($p_array=null)
+    function input($p_array=null,$notused=0)
     {
         global $g_parameter;
         if ( $p_array != null)
@@ -384,7 +384,7 @@
      *\param $p_array an array usually is $_POST
      *\return string with code html
      */
-    public function confirm($p_array)
+    public function confirm($p_array,$p_nothing=0)
     {
         global $g_parameter;
         $r="";
@@ -589,7 +589,7 @@
      *\param $p_array usually $_POST
      *\return string with HTML code
      */
-    public function insert($p_array)
+    public function insert($p_array=null)
     {
         global $g_parameter;
                bcscale(2);

Modified: phpcompta/trunk/include/class_acc_ledger_purchase.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_purchase.php       2011-11-21 
15:49:26 UTC (rev 4429)
+++ phpcompta/trunk/include/class_acc_ledger_purchase.php       2011-11-21 
20:20:59 UTC (rev 4430)
@@ -179,7 +179,7 @@
                /*
                 * check if the accounting for VAT are valid
                 */
-               $a_poste=split(',',$tva_rate->tva_poste);
+               $a_poste=explode(',',$tva_rate->tva_poste);
 
                if (
                    $this->db->get_value('select count(*) from tmp_pcmn where 
pcm_val=$1',array($a_poste[0])) == 0 ||
@@ -259,10 +259,6 @@
 
     }
 
-    public function save($p_array)
-    {
-        echo "<h2> Acc_Ledger_Purchase::save Not implemented</h2>";
-    }
 
     /*!\brief insert into the database, it calls first the verify function
      * change the value of this->jr_id and this->jr_internal.
@@ -299,7 +295,7 @@
      *\return string
      *\note throw an Exception
      */
-    public function insert($p_array)
+    public function insert($p_array=null)
     {
         global $g_parameter;
         extract ($p_array);
@@ -467,10 +463,7 @@
                 /* if the quantity is < 0 then the stock increase (return of
                  *  material)
                  */
-                $nNeg=($
-                       {"e_quant".$i
-                       }
-                       <0)?-1:1;
+                $nNeg=(${"e_quant" . $i}< 0) ? -1 : 1;
 
                 // always save quantity but in withStock we can find
                 // what card need a stock management
@@ -680,6 +673,7 @@
                         $acc_operation->jrn=$p_jrn;
                         $acc_operation->type='c';
                         $acc_operation->periode=$tperiode;
+                                               $acc_operation->insert_jrnx();
                     }
 
                 }
@@ -842,21 +836,6 @@
         return $internal;
     }
 
-    public function update()
-    {
-        echo "<h2> Acc_Ledger_Purchase::update Not implemented</h2>";
-    }
-
-    public function load()
-    {
-        echo "<h2> Acc_Ledger_Purchase::load Not implemented</h2>";
-
-    }
-
-    public function delete()
-    {
-        echo "<h2> Acc_Ledger_Purchase::delete Not implemented</h2>";
-    }
     /*!\brief display the form for entering data for invoice
      *\param $p_array is null or you can put the predef operation or the $_POST
     \code
@@ -889,7 +868,7 @@
     \endcode
      *\return HTML string
      */
-    public function input($p_array=null)
+    public function input($p_array=null,$p_readonly=0)
     {
         global $g_parameter;
         if ( $p_array != null ) extract($p_array);

Modified: phpcompta/trunk/include/class_acc_ledger_sold.php
===================================================================
--- phpcompta/trunk/include/class_acc_ledger_sold.php   2011-11-21 15:49:26 UTC 
(rev 4429)
+++ phpcompta/trunk/include/class_acc_ledger_sold.php   2011-11-21 20:20:59 UTC 
(rev 4430)
@@ -180,7 +180,7 @@
                /*
                 * check if the accounting for VAT are valid
                 */
-               $a_poste=split(',',$tva_rate->tva_poste);
+               $a_poste=explode(',',$tva_rate->tva_poste);
 
                if (
                    $this->db->get_value('select count(*) from tmp_pcmn where 
pcm_val=$1',array($a_poste[0])) == 0 ||
@@ -221,10 +221,6 @@
 
     }
 
-    public function save($p_array)
-    {
-        echo "<h2> Acc_Ledger_Sold::save Not implemented</h2>";
-    }
 
     /*!\brief insert into the database, it calls first the verify function,
      * change the value of this->jr_id and this->jr_internal
@@ -234,7 +230,7 @@
      *\return string
      *\note throw an Exception
      */
-    public function insert($p_array)
+    public function insert($p_array=null)
     {
         global $g_parameter;
         extract ($p_array);
@@ -432,7 +428,7 @@
                     $acc_operation->periode=$tperiode;
                     if ($value < 0 ) $tot_debit=bcadd($tot_debit,abs($value));
                     $acc_operation->insert_jrnx();
-                    
+
                     // if TVA is on both side, we deduce it immediately
                     if ( $oTva->get_parameter("both_side")==1)
                     {
@@ -613,22 +609,7 @@
         return $internal;
     }
 
-    public function update()
-    {
-        echo "<h2> Acc_Ledger_Sold::update Not implemented</h2>";
-    }
 
-    public function load()
-    {
-        echo "<h2> Acc_Ledger_Sold::load Not implemented</h2>";
-
-    }
-
-    public function delete()
-    {
-        echo "<h2> Acc_Ledger_Sold::delete Not implemented</h2>";
-    }
-
     /address@hidden show the summary of the operation and propose to save it
      address@hidden array contains normally $_POST. It proposes also to save
      * the Analytic accountancy
@@ -983,7 +964,7 @@
     *
     *\return HTML string
     */
-    function input($p_array=null)
+    function input($p_array=null,$p_readonly=0)
     {
         global $g_parameter;
         if ( $p_array != null ) extract($p_array);

Modified: phpcompta/trunk/include/class_html_input.php
===================================================================
--- phpcompta/trunk/include/class_html_input.php        2011-11-21 15:49:26 UTC 
(rev 4429)
+++ phpcompta/trunk/include/class_html_input.php        2011-11-21 20:20:59 UTC 
(rev 4430)
@@ -222,7 +222,7 @@
     }
     static function warnbulle($p_comment)
     {
-        $r='<A HREF="#" 
style="display:inline;color:black;background-color:red;padding-left:4px;padding-right:4px;text-decoration:none;"
 onmouseover="showBulle(\''.$p_comment.'\')"  
onclick="showBulle(\''.$p_comment.'\')" onmouseout="hideBulle(0)">XX</A>';
+        $r='<A HREF="#" 
style="display:inline;color:red;background-color:white;padding-left:4px;padding-right:4px;text-decoration:none;"
 onmouseover="showBulle(\''.$p_comment.'\')"  
onclick="showBulle(\''.$p_comment.'\')" onmouseout="hideBulle(0)">&Delta;</A>';
         return $r;
     }
     /**

Modified: phpcompta/trunk/include/class_jrn_def_sql.php
===================================================================
--- phpcompta/trunk/include/class_jrn_def_sql.php       2011-11-21 15:49:26 UTC 
(rev 4429)
+++ phpcompta/trunk/include/class_jrn_def_sql.php       2011-11-21 20:20:59 UTC 
(rev 4430)
@@ -172,7 +172,7 @@
                return $oobj;
        }
 
-       public function insert()
+       public function insert($p_array=null)
        {
                if ($this->verify_sql() != 0)
                        return;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]