From MAILER-DAEMON Mon Oct 01 13:53:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIkB7-0005bM-5M
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 13:53:13 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 19:43:10 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606635.1349113992.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r427 - trunk/doc
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 17:53:11 -0000

Author: danydb
Date: 2012-10-01 19:43:08 +0200 (Mon, 01 Oct 2012)
New Revision: 427

Modified:
   trunk/doc/Doxyfile
Log:
update file

Modified: trunk/doc/Doxyfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/doc/Doxyfile	2012-09-30 01:43:47 UTC (rev 426)
+++ trunk/doc/Doxyfile	2012-10-01 17:43:08 UTC (rev 427)
@@ -52,7 +52,7 @@
 # If a relative path is entered, it will be relative to the location
 # where doxygen was started. If left blank the current directory will be=
 used.
=20
-OUTPUT_DIRECTORY       =3D html
+OUTPUT_DIRECTORY       =3D developper_doc
=20
 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
 # 4096 sub-directories (in 2 levels) under the output directory of each =
output
@@ -635,7 +635,7 @@
 # wrong or incomplete parameter documentation, but not about the absence=
 of
 # documentation.
=20
-WARN_NO_PARAMDOC       =3D NO
+WARN_NO_PARAMDOC       =3D YES
=20
 # The WARN_FORMAT tag determines the format of the warning messages that
 # doxygen can produce. The string should contain the $file, $line, and $=
text
@@ -650,7 +650,7 @@
 # and error messages should be written. If left blank the output is writ=
ten
 # to stderr.
=20
-WARN_LOGFILE           =3D
+WARN_LOGFILE           =3D plugin_doc.log
=20
 #-----------------------------------------------------------------------=
----
 # configuration options related to the input files
@@ -706,13 +706,13 @@
 # *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *=
.py
 # *.f90 *.f *.for *.vhd *.vhdl
=20
-FILE_PATTERNS          =3D
+FILE_PATTERNS          =3D *.php *.js
=20
 # The RECURSIVE tag can be used to turn specify whether or not subdirect=
ories
 # should be searched for input files as well. Possible values are YES an=
d NO.
 # If left blank NO is used.
=20
-RECURSIVE              =3D NO
+RECURSIVE              =3D YES
=20
 # The EXCLUDE tag can be used to specify files and/or directories that s=
hould be
 # excluded from the INPUT source files. This way you can easily exclude =
a
@@ -815,7 +815,7 @@
 # Note: To get rid of all source code in the generated output, make sure=
 also
 # VERBATIM_HEADERS is set to NO.
=20
-SOURCE_BROWSER         =3D NO
+SOURCE_BROWSER         =3D YES
=20
 # Setting the INLINE_SOURCES tag to YES will include the body
 # of functions and classes directly in the documentation.



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 14:07:30 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIkOw-0002W1-Mu
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 14:07:30 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 19:57:16 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606691.1349114849.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5121 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 18:07:29 -0000

Author: danydb
Date: 2012-10-01 19:57:15 +0200 (Mon, 01 Oct 2012)
New Revision: 5121

Modified:
   phpcompta/tags/rel650/include/class_fiche.php
Log:
0000736: Totaux dans ?\195?\169cran

Modified: phpcompta/tags/rel650/include/class_fiche.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_fiche.php	2012-09-29 22:04:17 UTC=
 (rev 5120)
+++ phpcompta/tags/rel650/include/class_fiche.php	2012-10-01 17:57:15 UTC=
 (rev 5121)
@@ -1535,7 +1535,7 @@
             return $r;
=20
         $i=3D0;
-
+		$deb=3D0;$cred=3D0;
         foreach ($step_tiers as $tiers )
         {
             $i++;
@@ -1559,14 +1559,18 @@
                          " ".$tiers->strAttribut(ATTR_DEF_PAYS)).
                 "</TD>";
=20
-            $r.=3D'<TD align=3D"right"> '.(($amount['debit']=3D=3D0)?0:n=
bm($amount['debit'])).'&euro;</TD>';
-	    $r.=3D'<TD align=3D"right"> '.(($amount['credit']=3D=3D0)?0:nbm($am=
ount['credit'])).'&euro;</TD>';
-	    $r.=3D'<TD align=3D"right"> '.nbm($amount['solde'])."&euro;</TD>";
+            $r.=3D'<TD align=3D"right"> '.(($amount['debit']=3D=3D0)?0:n=
bm($amount['debit'])).'</TD>';
+			$r.=3D'<TD align=3D"right"> '.(($amount['credit']=3D=3D0)?0:nbm($amou=
nt['credit'])).'</TD>';
+			$r.=3D'<TD align=3D"right"> '.nbm($amount['solde'])."</TD>";
+			$deb=3Dbcadd($deb,$amount['debit']);
+			$cred=3Dbcadd($cred,$amount['credit']);
=20
-
             $r.=3D"</TR>";
=20
         }
+		$r.=3D"<tr>";
+		$solde=3Dbcsub($deb,$cred);
+		$r.=3Dtd("").td("").td("Totaux").td(nbm($deb),'class=3D"num"').td(nbm(=
$cred),'class=3D"num"').td(nbm($solde),'class=3D"num"');
         $r.=3D"</TABLE>";
         $r.=3D$bar;
         return $r;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 14:57:29 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIlBJ-0001Hs-Ld
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 14:57:29 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 20:47:27 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606806.1349117848.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5122 - in phpcompta/tags/rel650: html
	include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 18:57:28 -0000

Author: danydb
Date: 2012-10-01 20:47:26 +0200 (Mon, 01 Oct 2012)
New Revision: 5122

Modified:
   phpcompta/tags/rel650/html/style-color.css
   phpcompta/tags/rel650/html/style-epad.css
   phpcompta/tags/rel650/html/style-light.css
   phpcompta/tags/rel650/html/style-print.css
   phpcompta/tags/rel650/html/style.css
   phpcompta/tags/rel650/include/template/ledger_detail_bottom.php
   phpcompta/tags/rel650/include/template/ledger_detail_misc.php
Log:
0000733: Impression op?\195?\169ration depuis POP ME OUT

Modified: phpcompta/tags/rel650/html/style-color.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style-color.css	2012-10-01 17:57:15 UTC (r=
ev 5121)
+++ phpcompta/tags/rel650/html/style-color.css	2012-10-01 18:47:26 UTC (r=
ev 5122)
@@ -1141,4 +1141,11 @@
 	margin-left: 45px;
 	text-decoration: none;
 	font-style: italic;
+}
+div.myfieldset
+{
+	margin-top: 5px;
+	margin-left:5px;
+	margin-right: 5px;
+	border:lightgrey 2px groove;
 }
\ No newline at end of file

Modified: phpcompta/tags/rel650/html/style-epad.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style-epad.css	2012-10-01 17:57:15 UTC (re=
v 5121)
+++ phpcompta/tags/rel650/html/style-epad.css	2012-10-01 18:47:26 UTC (re=
v 5122)
@@ -1128,4 +1128,11 @@
 	margin-left: 45px;
 	text-decoration: none;
 	font-style: italic;
+}
+div.myfieldset
+{
+	margin-top: 5px;
+	margin-left:5px;
+	margin-right: 5px;
+	border:lightgrey 2px groove;
 }
\ No newline at end of file

Modified: phpcompta/tags/rel650/html/style-light.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style-light.css	2012-10-01 17:57:15 UTC (r=
ev 5121)
+++ phpcompta/tags/rel650/html/style-light.css	2012-10-01 18:47:26 UTC (r=
ev 5122)
@@ -1133,4 +1133,11 @@
 	margin-left: 45px;
 	text-decoration: none;
 	font-style: italic;
+}
+div.myfieldset
+{
+	margin-top: 5px;
+	margin-left:5px;
+	margin-right: 5px;
+	border:lightgrey 2px groove;
 }
\ No newline at end of file

Modified: phpcompta/tags/rel650/html/style-print.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style-print.css	2012-10-01 17:57:15 UTC (r=
ev 5121)
+++ phpcompta/tags/rel650/html/style-print.css	2012-10-01 18:47:26 UTC (r=
ev 5122)
@@ -280,3 +280,10 @@
 	font-style: italic;
 }
 /* </style> */
+div.myfieldset
+{
+	margin-top: 5px;
+	margin-left:5px;
+	margin-right: 5px;
+	border:lightgrey 2px groove;
+}
\ No newline at end of file

Modified: phpcompta/tags/rel650/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style.css	2012-10-01 17:57:15 UTC (rev 512=
1)
+++ phpcompta/tags/rel650/html/style.css	2012-10-01 18:47:26 UTC (rev 512=
2)
@@ -546,10 +546,10 @@
 	margin:1px;
 	background-color: orange;
 }
-h1.legend, legend {
+h1.legend, .legend {
 font-weight: bold;
 font-style: italic;
-font-size: 120% ;
+font-size: 110% ;
=20
 }
 fieldset fieldset legend {
@@ -560,8 +560,8 @@
 border: 1px solid blue;
 margin:2px;
 background-color:white;
+border: #0000FF 1px
=20
-
 }
=20
=20
@@ -1106,12 +1106,13 @@
=20
 h1.title {
 	color: blue;
-	font-size:24px;
+	font-size:18px;
 	font-style: italic;
 }
 h2.title {
 	color: blue;
-	font-size:16px;
+	font-size:14px;
+	font-weight:bold;
 	font-style: italic;
 	margin-left: 15px;
 }
@@ -1132,4 +1133,11 @@
 	margin-left: 45px;
 	text-decoration: none;
 	font-style: italic;
-}
\ No newline at end of file
+}
+div.myfieldset
+{
+	margin-top: 5px;
+	margin-left:5px;
+	margin-right: 5px;
+	border:lightgrey 2px groove;
+}

Modified: phpcompta/tags/rel650/include/template/ledger_detail_bottom.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/ledger_detail_bottom.php	2012-=
10-01 17:57:15 UTC (rev 5121)
+++ phpcompta/tags/rel650/include/template/ledger_detail_bottom.php	2012-=
10-01 18:47:26 UTC (rev 5122)
@@ -1,7 +1,8 @@
-<fieldset>
-<legend>
+<div class=3D"myfieldset">
+
+<h1 class=3D"legend">
 <? echo _('Rapprochement');?>
-</legend>
+</h1>
 <?
 $oRap=3Dnew Acc_Reconciliation($cn);
 $oRap->jr_id=3D$jr_id;
@@ -36,17 +37,16 @@
   echo '</table>';
 }
 ?>
-</legend>
 <?
 if ( $access=3D=3D'W') {
      $wConcerned=3Dnew IConcerned("rapt".$div);
      $wConcerned->amount_id=3D$obj->det->jr_montant;
-    echo $wConcerned->input();   =20
-   =20
+    echo $wConcerned->input();
+
 }
=20
 ?>
-</fieldset>
+</div>
 <?
=20
 require_once('template/ledger_detail_file.php');

Modified: phpcompta/tags/rel650/include/template/ledger_detail_misc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/ledger_detail_misc.php	2012-10=
-01 17:57:15 UTC (rev 5121)
+++ phpcompta/tags/rel650/include/template/ledger_detail_misc.php	2012-10=
-01 18:47:26 UTC (rev 5122)
@@ -72,14 +72,12 @@
 </tr>
 </table>
=20
-<fieldset>
-<legend>
-<?=3D_('D=C3=A9tail')?>
+<div class=3D"myfieldset">
+	<h1 class=3D"legend"><?=3D_('D=C3=A9tail')?></h1>
 <?
   require_once('class_own.php');
   $owner=3Dnew Own($cn);
 ?>
-</legend>
 <table class=3D"result">
 <tr>
 <?
@@ -152,7 +150,7 @@
     /* Analytic accountancy */
     if ( $owner->MY_ANALYTIC !=3D "nu" && $div=3D=3D'popup'){
       if ( preg_match('/^(6|7)/',$q[$e]['j_poste'])) {
-=09
+
 	echo HtmlInput::hidden("amount_t".$amount_idx,$q[$e]['j_montant']);
 	$anc_op=3Dnew Anc_Operation($cn);
 	$anc_op->j_id=3D$q[$e]['j_id'];
@@ -168,8 +166,7 @@
   }
 ?>
 </table>
-</fieldset>
-
+</div>
 <?
 require_once('ledger_detail_bottom.php');
 ?>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 14:57:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIlBj-0001Jx-QV
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 14:57:55 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 20:47:56 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606807.1349117875.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5123 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 18:57:54 -0000

Author: danydb
Date: 2012-10-01 20:47:56 +0200 (Mon, 01 Oct 2012)
New Revision: 5123

Modified:
   phpcompta/tags/rel650/include/class_irelated_action.php
Log:
Bug : id inconnu dans irelated_action

Modified: phpcompta/tags/rel650/include/class_irelated_action.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_irelated_action.php	2012-10-01 18=
:47:26 UTC (rev 5122)
+++ phpcompta/tags/rel650/include/class_irelated_action.php	2012-10-01 18=
:47:56 UTC (rev 5123)
@@ -33,6 +33,7 @@
 		$this->value=3D$p_value;
 		$this->amount_id=3Dnull;
 		$this->paid=3D'';
+		$this->id=3D$p_name;
 	}
     /*!\brief show the html  input of the widget*/
     public function input($p_name=3Dnull,$p_value=3Dnull)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 15:06:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIlJj-0003a8-Ab
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 15:06:11 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 20:56:08 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606820.1349118370.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5124 - in phpcompta/tags/rel650: html
	include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 19:06:10 -0000

Author: danydb
Date: 2012-10-01 20:56:07 +0200 (Mon, 01 Oct 2012)
New Revision: 5124

Modified:
   phpcompta/tags/rel650/html/ajax_ledger.php
   phpcompta/tags/rel650/include/template/ledger_detail_ach.php
   phpcompta/tags/rel650/include/template/ledger_detail_fin.php
   phpcompta/tags/rel650/include/template/ledger_detail_ven.php
Log:
0000733: Impression op?\195?\169ration depuis POP ME OUT

Modified: phpcompta/tags/rel650/html/ajax_ledger.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/ajax_ledger.php	2012-10-01 18:47:56 UTC (r=
ev 5123)
+++ phpcompta/tags/rel650/html/ajax_ledger.php	2012-10-01 18:56:07 UTC (r=
ev 5124)
@@ -221,7 +221,7 @@
 			echo "<div>";
=20
 		}
-		echo "<h2>Document</h2>";
+		echo "<h1 class=3D\"legend\">Document</h1>";
         if ( $access=3D=3D'W')
         {
             echo '<FORM METHOD=3D"POST" ENCTYPE=3D"multipart/form-data" =
id=3D"form_file">';
@@ -278,7 +278,7 @@
 			echo "<div>";
=20
 		}
-		echo "<h2>Document</h2>";
+		echo "<h1 class=3D\"legend\">Document</h1>";
         echo '<div class=3D"op_detail_frame">';
         $x=3D'';
         if ($access=3D=3D'W')

Modified: phpcompta/tags/rel650/include/template/ledger_detail_ach.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/ledger_detail_ach.php	2012-10-=
01 18:47:56 UTC (rev 5123)
+++ phpcompta/tags/rel650/include/template/ledger_detail_ach.php	2012-10-=
01 18:56:07 UTC (rev 5124)
@@ -97,8 +97,8 @@
 				</tr>
=20
 </table>
-
-<fieldset><legend><?=3D_('D=C3=A9tail')?></legend>
+<div class=3D"myfieldset">
+	<h1 class=3D"legend"><?=3D_('D=C3=A9tail')?></h1>
 <table class=3D"result">
 <?
   bcscale(2);
@@ -216,12 +216,11 @@
 </table>
=20
=20
-</fieldset>
-<fieldset>
-<legend>
-<?=3D_('Ecritures comptables')?>
-</legend>
+</div>
+	<div class=3D"myfieldset">
+	<h1 class=3D"legend"><?=3D_('Ecritures comptables')?></h1>
=20
+
 <?
   /* if it is not in a popup, the details are hidden */
   if ( $div !=3D 'popup') {
@@ -284,7 +283,7 @@
 ?>
 </table>
 </div>
-</fieldset>
+</div>
=20
 <?
 require_once('ledger_detail_bottom.php');

Modified: phpcompta/tags/rel650/include/template/ledger_detail_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/ledger_detail_fin.php	2012-10-=
01 18:47:56 UTC (rev 5123)
+++ phpcompta/tags/rel650/include/template/ledger_detail_fin.php	2012-10-=
01 18:56:07 UTC (rev 5124)
@@ -88,14 +88,14 @@
 </table>
=20
 </td>
-<fieldset>
-<legend>
+<div class=3D"myfieldset">
+	<h1 class=3D"legend">
 <?=3D_('D=C3=A9tail')?>
 <?
   $detail=3Dnew Acc_Misc($cn,$obj->jr_id);
 $detail->get();
 ?>
-</legend>
+</h1>
 <table class=3D"result">
 <tr>
 <?
@@ -168,7 +168,7 @@
   }
 ?>
 </table>
-</fieldset>
+</div>
 <?
 require_once('ledger_detail_bottom.php');
 ?>

Modified: phpcompta/tags/rel650/include/template/ledger_detail_ven.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/ledger_detail_ven.php	2012-10-=
01 18:47:56 UTC (rev 5123)
+++ phpcompta/tags/rel650/include/template/ledger_detail_ven.php	2012-10-=
01 18:56:07 UTC (rev 5124)
@@ -97,8 +97,10 @@
 </td>
 </tr>
 </table>
-
-<fieldset><legend><?=3D_('D=C3=A9tail')?></legend>
+<div class=3D"myfieldset">
+	<h1 class=3D"legend">
+<?=3D_('D=C3=A9tail')?>
+	</h1>
 <table class=3D"result">
 <?
   bcscale(2);
@@ -212,13 +214,12 @@
 </td>
 </tr>
 </table>
-
-</fieldset>
-<fieldset>
-<legend>
+</div>
+<div class=3D"myfieldset">
+	<h1 class=3D"legend">
 <?=3D_('Ecritures comptables')?>
-</legend>
-<?
+	</h1>
+	<?
   /* if it is not in a popup, the details are hidden */
   if ( $div !=3D 'popup') {
     $ib=3Dnew IButton ("a".$div);
@@ -281,7 +282,7 @@
 ?>
 </table>
 </div>
-</fieldset>
+</div>
 <?
 require_once('ledger_detail_bottom.php');
 ?>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 15:08:56 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIlMO-0004WE-6Z
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 15:08:56 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 20:58:54 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606857.1349118535.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5125 - phpcompta/tags/rel650/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 19:08:54 -0000

Author: danydb
Date: 2012-10-01 20:58:53 +0200 (Mon, 01 Oct 2012)
New Revision: 5125

Modified:
   phpcompta/tags/rel650/html/style.css
Log:
bug css for select

Modified: phpcompta/tags/rel650/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style.css	2012-10-01 18:56:07 UTC (rev 512=
4)
+++ phpcompta/tags/rel650/html/style.css	2012-10-01 18:58:53 UTC (rev 512=
5)
@@ -560,7 +560,6 @@
 border: 1px solid blue;
 margin:2px;
 background-color:white;
-border: #0000FF 1px
=20
 }
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 15:17:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIlUC-0006Ub-NU
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 15:17:00 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 21:07:00 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606873.1349119020.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5126 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 19:16:59 -0000

Author: danydb
Date: 2012-10-01 21:07:00 +0200 (Mon, 01 Oct 2012)
New Revision: 5126

Modified:
   phpcompta/tags/rel650/include/compta_ach.inc.php
   phpcompta/tags/rel650/include/compta_fin.inc.php
   phpcompta/tags/rel650/include/operation_ods_confirm.inc.php
Log:
0000732: Pouvoir imprimer les op?\195?\169rations avant confirmation

Modified: phpcompta/tags/rel650/include/compta_ach.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_ach.inc.php	2012-10-01 18:58:53 =
UTC (rev 5125)
+++ phpcompta/tags/rel650/include/compta_ach.inc.php	2012-10-01 19:07:00 =
UTC (rev 5126)
@@ -62,7 +62,7 @@
 		echo '<div class=3D"content">';
 		echo h2info('Confirmation');
=20
-		echo '<form enctype=3D"multipart/form-data" method=3D"post">';
+		echo '<form enctype=3D"multipart/form-data" method=3D"post" class=3D"p=
rint">';
 		echo dossier::hidden();
=20
 		echo $Ledger->confirm($_POST);

Modified: phpcompta/tags/rel650/include/compta_fin.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_fin.inc.php	2012-10-01 18:58:53 =
UTC (rev 5125)
+++ phpcompta/tags/rel650/include/compta_fin.inc.php	2012-10-01 19:07:00 =
UTC (rev 5126)
@@ -76,7 +76,7 @@
 	{
 		echo '<div class=3D"content">';
 		echo '<h2 class=3D"info">'._('Confirmation').' </h2>';
-		echo '<form name=3D"form_detail" class=3D"print" enctype=3D"multipart/=
form-data"  METHOD=3D"POST">';
+		echo '<form name=3D"form_detail" class=3D"print" enctype=3D"multipart/=
form-data" class=3D"print" METHOD=3D"POST">';
 		echo HtmlInput::hidden('ac',$_REQUEST['ac']);
 		echo $Ledger->confirm($_POST);
 		echo HtmlInput::submit('confirm',_('Confirmer'));
@@ -131,7 +131,7 @@
 echo '<div class=3D"content">';
=20
=20
-echo '<form class=3D"print" name=3D"form_detail" enctype=3D"multipart/fo=
rm-data" METHOD=3D"POST">';
+echo '<form class=3D"print" name=3D"form_detail" enctype=3D"multipart/fo=
rm-data" class=3D"print" METHOD=3D"POST">';
 echo HtmlInput::hidden('ledger_type','fin');
 echo HtmlInput::hidden('ac',$_REQUEST['ac']);
 $array=3D( isset($correct))?$_POST:null;

Modified: phpcompta/tags/rel650/include/operation_ods_confirm.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/operation_ods_confirm.inc.php	2012-10-0=
1 18:58:53 UTC (rev 5125)
+++ phpcompta/tags/rel650/include/operation_ods_confirm.inc.php	2012-10-0=
1 19:07:00 UTC (rev 5126)
@@ -34,7 +34,7 @@
 echo '<h2 id=3D"jrn_name" style=3D"display:inline">' . $ledger->get_name=
() . '</h2>';
 echo '</div>';
=20
-echo '<FORM METHOD=3D"POST">';
+echo '<FORM METHOD=3D"POST" class=3D"print">';
 echo HtmlInput::request_to_hidden(array('ac'));
 echo $ledger->confirm($_POST,false);
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 15:26:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIld2-0008Th-KG
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 15:26:08 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 21:16:05 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606902.1349119568.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5127 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 19:26:08 -0000

Author: danydb
Date: 2012-10-01 21:16:04 +0200 (Mon, 01 Oct 2012)
New Revision: 5127

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
Log:
bug financier le nom de la banque n'est pas mis ?\195?\160 jour

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-01 19:=
07:00 UTC (rev 5126)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-01 19:=
16:04 UTC (rev 5127)
@@ -295,7 +295,7 @@
 		$add_js =3D 'onchange=3D"update_pj();update_bank();get_last_date();aja=
x_saldo(\'first_sold\');update_name();"';
=20
 		if ($g_parameter->MY_DATE_SUGGEST =3D=3D 'Y')
-			$add_js =3D 'onchange=3D"update_pj();update_bank();get_last_date();aj=
ax_saldo(\'first_sold\')";';
+			$add_js =3D 'onchange=3D"update_pj();update_bank();get_last_date();aj=
ax_saldo(\'first_sold\');update_name();"';
=20
 		$wLedger =3D $this->select_ledger('FIN', 2);
 		if ($wLedger =3D=3D null)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 15:33:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIljx-00022O-G3
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 15:33:17 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 21:23:16 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606917.1349119997.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5128 - in phpcompta/tags/rel650/include: . template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 19:33:16 -0000

Author: danydb
Date: 2012-10-01 21:23:16 +0200 (Mon, 01 Oct 2012)
New Revision: 5128

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
   phpcompta/tags/rel650/include/class_acc_ledger_purchase.php
   phpcompta/tags/rel650/include/class_acc_ledger_sold.php
   phpcompta/tags/rel650/include/compta_ods.inc.php
   phpcompta/tags/rel650/include/operation_ods_new.inc.php
   phpcompta/tags/rel650/include/template/form_ledger_detail.php
   phpcompta/tags/rel650/include/template/form_ledger_fin.php
Log:
CSS cosmetic nom de journal en h2.title

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-01 19:=
16:04 UTC (rev 5127)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-01 19:=
23:16 UTC (rev 5128)
@@ -459,7 +459,7 @@
 		$r.=3D'';
 		$r.=3D'<fieldset><legend>Banque, caisse </legend>';
 		$r.=3D '<div id=3D"jrn_name_div">';
-		$r.=3D'<h2 id=3D"jrn_name" style=3D"display:inline">' . $this->get_nam=
e() . '</h2>';
+		$r.=3D'<h2 class=3D"title" id=3D"jrn_name" style=3D"display:inline">' =
. $this->get_name() . '</h2>';
 		$r.=3D '</div>';
 		$r.=3D'<TABLE  width=3D"100%">';
 		//  Date

Modified: phpcompta/tags/rel650/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_purchase.php	2012-10-0=
1 19:16:04 UTC (rev 5127)
+++ phpcompta/tags/rel650/include/class_acc_ledger_purchase.php	2012-10-0=
1 19:23:16 UTC (rev 5128)
@@ -1267,7 +1267,7 @@
         $r.=3D"<fieldset>";
         $r.=3D"<legend>"._('En-t=C3=AAte facture fournisseur')."  </lege=
nd>";
 		$r.=3D'<div id=3D"jrn_name_div">';
-		$r.=3D'<h2 id=3D"jrn_name">'.$this->get_name().'</h2>';
+		$r.=3D'<h2 class=3D"title"  id=3D"jrn_name">'.$this->get_name().'</h2>=
';
 		$r.=3D'</div>';
         $r.=3D'<TABLE  width=3D"100%">';
         $r.=3D'<tr>';

Modified: phpcompta/tags/rel650/include/class_acc_ledger_sold.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_sold.php	2012-10-01 19=
:16:04 UTC (rev 5127)
+++ phpcompta/tags/rel650/include/class_acc_ledger_sold.php	2012-10-01 19=
:23:16 UTC (rev 5128)
@@ -664,7 +664,7 @@
         $r.=3D"<fieldset>";
         $r.=3D"<legend>"._('En-t=C3=AAte facture client')."  </legend>";
 		$r.=3D'<div id=3D"jrn_name_div">';
-		$r.=3D'<h2 id=3D"jrn_name" style=3D"display:inline">' . $this->get_nam=
e() . '</h2>';
+		$r.=3D'<h2 class=3D"title"  id=3D"jrn_name" style=3D"display:inline">'=
 . $this->get_name() . '</h2>';
 		$r.=3D '</div>';
         $r.=3D'<TABLE  width=3D"100%">';
         $r.=3D'<tr>';

Modified: phpcompta/tags/rel650/include/compta_ods.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_ods.inc.php	2012-10-01 19:16:04 =
UTC (rev 5127)
+++ phpcompta/tags/rel650/include/compta_ods.inc.php	2012-10-01 19:23:16 =
UTC (rev 5128)
@@ -96,7 +96,7 @@
 		printf('<a class=3D"detail" style=3D"display:inline" href=3D"javascrip=
t:modifyOperation(%d,%d)">%s</a><hr>', $jr_id, dossier::id(), $ledger->in=
ternal);
=20
 		// show feedback
-		echo '<div id=3D"jrn_name_div">'; echo '<h2 id=3D"jrn_name" style=3D"d=
isplay:inline">' . $ledger->get_name() . '</h2>'; echo '</div>';
+		echo '<div id=3D"jrn_name_div">'; echo '<h2 id=3D"jrn_name" class=3D"t=
itle"  style=3D"display:inline">' . $ledger->get_name() . '</h2>'; echo '=
</div>';
 		echo $ledger->confirm($_POST, true);
 	}
 	catch (Exception $e)

Modified: phpcompta/tags/rel650/include/operation_ods_new.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/operation_ods_new.inc.php	2012-10-01 19=
:16:04 UTC (rev 5127)
+++ phpcompta/tags/rel650/include/operation_ods_new.inc.php	2012-10-01 19=
:23:16 UTC (rev 5128)
@@ -59,7 +59,7 @@
 echo '</form>';
 echo '</div>';
 echo '<div id=3D"jrn_name_div">';
-echo '<h2 id=3D"jrn_name" style=3D"display:inline">' . $ledger->get_name=
() . '</h2>';
+echo '<h2 class=3D"title" id=3D"jrn_name" style=3D"display:inline">' . $=
ledger->get_name() . '</h2>';
 echo '</div>';
=20
 // Show the predef operation

Modified: phpcompta/tags/rel650/include/template/form_ledger_detail.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/form_ledger_detail.php	2012-10=
-01 19:16:04 UTC (rev 5127)
+++ phpcompta/tags/rel650/include/template/form_ledger_detail.php	2012-10=
-01 19:23:16 UTC (rev 5128)
@@ -5,7 +5,7 @@
 <legend><?=3D$f_legend ?>
 </legend>
 	<div id=3D"jrn_name_div">
-	<h2 id=3D"jrn_name"> <?=3D$this->get_name()?></h2>
+	<h2 class=3D"title" id=3D"jrn_name"> <?=3D$this->get_name()?></h2>
 </div>
       <?=3D_('Date').':'?> <?=3D$f_date ?> <?=3D_('Echeance')?> : <?=3D$=
f_echeance?>
 <?=3D$f_periode?><br>

Modified: phpcompta/tags/rel650/include/template/form_ledger_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/template/form_ledger_fin.php	2012-10-01=
 19:16:04 UTC (rev 5127)
+++ phpcompta/tags/rel650/include/template/form_ledger_fin.php	2012-10-01=
 19:23:16 UTC (rev 5128)
@@ -1,6 +1,6 @@
 <fieldset>
 	<div id=3D"jrn_name_div">
-	<h2 id=3D"jrn_name"> <?=3D$this->get_name()?></h2>
+	<h2 class=3D"title" id=3D"jrn_name"> <?=3D$this->get_name()?></h2>
 </div>
 <legend><?=3D$f_legend ?> </legend>
 <?



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 15:40:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TIlqo-0002jV-AC
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 15:40:22 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 21:30:21 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606934.1349120421.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5129 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 19:40:21 -0000

Author: danydb
Date: 2012-10-01 21:30:20 +0200 (Mon, 01 Oct 2012)
New Revision: 5129

Modified:
   phpcompta/tags/rel650/include/impress_gl_comptes.inc.php
Log:
Grand Livre : surlign?\195?\169 ligne paire

Modified: phpcompta/tags/rel650/include/impress_gl_comptes.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/impress_gl_comptes.inc.php	2012-10-01 1=
9:23:16 UTC (rev 5128)
+++ phpcompta/tags/rel650/include/impress_gl_comptes.inc.php	2012-10-01 1=
9:30:20 UTC (rev 5129)
@@ -168,7 +168,8 @@
             continue;
         }
=20
-        echo '<tr>
+
+        echo '<tr >
         <td colspan=3D"8" style=3D"width:auto">
         <h2 class=3D"info">'. $poste_id['pcm_val'].' '.h($Poste->label).=
'</h2>
         </td>
@@ -189,6 +190,7 @@
         $solde_d =3D 0.0;
         $solde_c =3D 0.0;
 	bcscale(2);
+	$i=3D0;
         foreach ($Poste->row as $detail)
         {
 	  if ($a=3D=3D0) {var_dump($detail);$a=3D1;}
@@ -217,7 +219,9 @@
             }
 			$side=3D"&nbsp;".$Poste->get_amount_side($solde);
 	    $letter=3D($detail['letter']!=3D-1)?hi($detail['letter']):'';
-            echo '<tr>
+		$i++;
+		if (($i % 2 ) =3D=3D 0) $class=3D"odd"; else $class=3D"even";
+            echo '<tr class=3D"'.$class.'">
             <td>'.$detail['j_date_fmt'].'</td>
             <td>'.HtmlInput::detail_op($detail['jr_id'],$detail['jr_inte=
rnal']).'</td>
             <td>'.$detail['description'].'</td>
@@ -228,7 +232,7 @@
             <td  style=3D"text-align:right;color:red">'.$letter.'</td>
             </tr>';
         }
-        echo '<tr>
+        echo '<tr >
         <td>'.''.'</td>
         <td>'.''.'</td>
         <td>'.'<b>'.'Total du compte '.$poste_id['pcm_val'].'</b>'.'</td=
>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 16:13:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TImNE-0001Zx-Df
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 16:13:52 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 22:03:43 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606976.1349122432.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5130 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 20:13:51 -0000

Author: danydb
Date: 2012-10-01 22:03:42 +0200 (Mon, 01 Oct 2012)
New Revision: 5130

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
Log:
CSS pr?\195?\169sentation, remplace fieldset

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-01 19:=
30:20 UTC (rev 5129)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-01 20:=
03:42 UTC (rev 5130)
@@ -367,6 +367,7 @@
 			$W1 =3D new ICard();
 			$W1->label =3D "";
 			$W1->name =3D "e_other" . $i;
+			$W1->id =3D "e_other" . $i;
 			$W1->value =3D $tiers;
 			$W1->extra =3D 'deb';  // credits
 			$W1->typecard =3D 'deb';
@@ -396,6 +397,7 @@
 			}
=20
 			$wcard_name =3D new IText("e_other_name" . $i, $card_name);
+			$wcard_name->id=3D$wcard_name->name;
 			$wcard_name->readOnly =3D true;
 			$array[$i]['cname'] =3D $wcard_name->input();
=20
@@ -502,23 +504,22 @@
=20
 		$r.=3D'</fieldset>';
=20
-		$r.=3D'<fieldset><legend>Op=C3=A9rations financi=C3=A8res</legend>';
+		$r.=3D'<div class=3D"myfieldset"><h1 class=3D"legend">Extrait de compt=
e</h1>';
 		//--------------------------------------------------
 		// Saldo begin end
 		//-------------------------------------------------
-		$r.=3D'<fieldset><legend>Extrait de compte</legend>';
 		$r.=3D'<table>';
 		$r.=3D'<tr>';
 		// Extrait
 		//--
-		$r.=3D'<td> Num=C3=A9ro d\'extrait</td>' . h($e_pj);
-		$r.=3D'<td >Solde d=C3=A9but extrait </td>';
-		$r.=3D'<td>' . $first_sold . '</td>';
-		$r.=3D'<td>Solde fin extrait </td>';
-		$r.=3D'<td>' . $last_sold . '</td>';
+		$r.=3Dtr('<td> Num=C3=A9ro d\'extrait</td>' . td(h($e_pj)));
+		$r.=3D'<tr><td >Solde d=C3=A9but extrait </td>';
+		$r.=3D'<td style=3D"num">' . nbm($first_sold) . '</td></tr>';
+		$r.=3D'<tr><td>Solde fin extrait </td>';
+		$r.=3D'<td style=3D"num">' . nbm($last_sold) . '</td></tr>';
 		$r.=3D'</table>';
-		$r.=3D'</fieldset>';
=20
+		$r.=3D'<h1 class=3D"legend">Op=C3=A9rations financi=C3=A8res</h1>';
 		//--------------------------------------------------
 		// financial operation
 		//-------------------------------------------------
@@ -582,9 +583,11 @@
 			if (${"e_concerned" . $i} !=3D '')
 			{
 				$jr_internal =3D $this->db->get_array("select jr_internal from jrn w=
here jr_id in (" . ${"e_concerned" . $i} . ")");
+				$comma=3D"";
 				for ($x =3D 0; $x < count($jr_internal); $x++)
 				{
-					$r.=3DHtmlInput::detail_op(${"e_concerned" . $i}, $jr_internal[$x][=
'jr_internal']);
+					$r.=3D$comma.HtmlInput::detail_op(${"e_concerned" . $i}, $jr_intern=
al[$x]['jr_internal']);
+					$comma=3D" , ";
 				}
 			}
 			$r.=3D'</td>';
@@ -618,7 +621,7 @@
 		$r.=3D"<br>Ajoutez une pi&egrave;ce justificative ";
 		$r.=3D$file->input("pj", "");
=20
-		$r.=3D'</fieldset>';
+		$r.=3D'</div>';
 		//--------------------------------------------------
 		// Hidden variables
 		//--------------------------------------------------



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 16:14:02 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TImNO-0001am-Hc
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 16:14:02 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 22:04:04 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606977.1349122442.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5131 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 20:14:02 -0000

Author: danydb
Date: 2012-10-01 22:04:03 +0200 (Mon, 01 Oct 2012)
New Revision: 5131

Modified:
   phpcompta/tags/rel650/include/class_follow_up.php
Log:
Ne surligne pas les actions clotur?\195?\169es

Modified: phpcompta/tags/rel650/include/class_follow_up.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_follow_up.php	2012-10-01 20:03:42=
 UTC (rev 5130)
+++ phpcompta/tags/rel650/include/class_follow_up.php	2012-10-01 20:04:03=
 UTC (rev 5131)
@@ -751,9 +751,9 @@
 				$st =3D ' style=3D"font-weight:bold; border:2px solid orange;"';
 			$date_remind =3D format_date($row['my_remind'], 'DD.MM.YYYY', 'YYYYMM=
DD');
 			$date_today =3D date('Ymd');
-			if ($date_remind !=3D "" && $date_remind =3D=3D $date_today)
+			if ($date_remind !=3D "" && $date_remind =3D=3D $date_today && $row['=
ag_state']!=3D1 && $row['ag_state']!=3D3)
 				$st =3D ' style=3D"font-weight:bold;background:orange"';
-			if ($date_remind !=3D "" && $date_remind < $date_today)
+			if ($date_remind !=3D "" && $date_remind < $date_today && $row['ag_st=
ate']!=3D1 && $row['ag_state']!=3D3)
 				$st =3D ' style=3D"font-weight:bold;background:#FF0000"';
 			$r.=3D"<tr class=3D\"$tr\" $st>";
 			$r.=3D"<td>" . $href . smaller_date($row['my_date']) . '</a>' . "</td=
>";



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 16:14:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TImNe-0001bc-M1
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 16:14:18 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 22:04:19 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606978.1349122458.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5132 - phpcompta/tags/rel650/html
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 20:14:18 -0000

Author: danydb
Date: 2012-10-01 22:04:19 +0200 (Mon, 01 Oct 2012)
New Revision: 5132

Modified:
   phpcompta/tags/rel650/html/style.css
Log:
Les readonly sont en bleus

Modified: phpcompta/tags/rel650/html/style.css
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/style.css	2012-10-01 20:04:03 UTC (rev 513=
1)
+++ phpcompta/tags/rel650/html/style.css	2012-10-01 20:04:19 UTC (rev 513=
2)
@@ -535,6 +535,7 @@
 .input_text_ro {
 	   border:solid 1px blue;
 	   background:#EDEDED;
+	   color:blue;
 	margin:1px;
 }
 .input_text {



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 16:26:56 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TImZs-0003yM-QC
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 16:26:56 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 22:16:56 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.606999.1349123215.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5133 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 20:26:55 -0000

Author: danydb
Date: 2012-10-01 22:16:55 +0200 (Mon, 01 Oct 2012)
New Revision: 5133

Modified:
   phpcompta/tags/rel650/include/class_icard.php
Log:
Bug in the search button if id was  not set

Modified: phpcompta/tags/rel650/include/class_icard.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_icard.php	2012-10-01 20:04:19 UTC=
 (rev 5132)
+++ phpcompta/tags/rel650/include/class_icard.php	2012-10-01 20:16:55 UTC=
 (rev 5133)
@@ -128,7 +128,7 @@
         $this->callback=3D'null';
         $this->javascript=3D'';
 		$this->autocomplete=3D1;
-		$this->id=3D$p_id;
+		$this->id=3D($p_id !=3D "")?$p_id:$name;
     }
     /*!\brief set the javascript callback function
      * by default it is update_value called BEFORE the querystring is se=
nd
@@ -294,8 +294,10 @@
             if (isset($this->$att) )
                 $a.=3D"this.".$att."=3D'".$this->$att."';";
         }
-        if (isset($this->id))
+        if (isset($this->id) && $this->id !=3D "")
             $a.=3D"this.inp=3D'".$this->id."';";
+		else
+            $a.=3D"this.inp=3D'".$this->name."';";
         $a.=3D"this.popup=3D'ipop_card';";
=20
         $button->javascript=3D$a.' search_card(this)';



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 17:09:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TInFW-0003bI-Au
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 17:09:58 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 22:59:57 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.607067.1349125797.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r428 - trunk/tools/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 21:09:57 -0000

Author: danydb
Date: 2012-10-01 22:59:56 +0200 (Mon, 01 Oct 2012)
New Revision: 428

Modified:
   trunk/tools/include/template/search_box.php
Log:
Check date with javascript

Modified: trunk/tools/include/template/search_box.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tools/include/template/search_box.php	2012-10-01 17:43:08 UTC (=
rev 427)
+++ trunk/tools/include/template/search_box.php	2012-10-01 20:59:56 UTC (=
rev 428)
@@ -1,4 +1,4 @@
-<FORM METHOD=3D"GET">
+<FORM METHOD=3D"GET" onsubmit=3D"return validate();">
 <?=3D$hidden?>
 <table>
 	<TR>
@@ -16,4 +16,10 @@
 </table>
 	<?=3DHtmlInput::request_to_hidden(array('ac','plugin_code'));?>
 <?=3D$submit?>
-</FORM>
\ No newline at end of file
+</FORM>
+<script charset=3D"UTF8" lang=3D"javascript">
+	function validate() {
+		if ( check_date_id('<?=3D$idate_start->id?>') =3D=3D false ) {alert('D=
ate de d=C3=A9but incorrecte');return false;}
+		if ( check_date_id('<?=3D$idate_end->id?>') =3D=3D false ) {alert('Dat=
e de fin incorrecte');return false;}
+	}
+</script>
\ No newline at end of file



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 17:19:46 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TInP0-0007nS-Fk
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 17:19:46 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 23:09:46 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.607080.1349126385.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r429 - trunk/tools/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 21:19:45 -0000

Author: danydb
Date: 2012-10-01 23:09:46 +0200 (Mon, 01 Oct 2012)
New Revision: 429

Modified:
   trunk/tools/include/template/tool_exercice_input.php
Log:
Check data with javascript

Modified: trunk/tools/include/template/tool_exercice_input.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tools/include/template/tool_exercice_input.php	2012-10-01 20:59=
:56 UTC (rev 428)
+++ trunk/tools/include/template/tool_exercice_input.php	2012-10-01 21:09=
:46 UTC (rev 429)
@@ -27,7 +27,7 @@
  *
  */
 ?>
-<form method=3D"POST">
+<form method=3D"POST" onsubmit=3D"return validate()">
 	<table>
 		<tr>
 			<td>
@@ -66,4 +66,24 @@
 echo HtmlInput::submit('save','Valider');
 echo HtmlInput::request_to_hidden(array('sa','ac','plugin_code','gDossie=
r'));
 ?>
-</form>
\ No newline at end of file
+</form>
+<script charset=3D"UTF8" lang=3D"javascript">
+	function validate()
+	{
+		if (trim($('<?=3D$exercice->id?>').value)=3D=3D'') {
+						$('<?=3D$exercice->id?>').style.borderColor=3D'red';
+						alert('Exercice invalide');
+						return false;
+					}
+		if (trim($('<?=3D$nb_month->id?>').value)=3D=3D'') {
+						$('<?=3D$nb_month->id?>').style.borderColor=3D'red';
+						alert('Nombre de mois invalide');
+						return false;
+					}
+		if (trim($('<?=3D$year->id?>').value)=3D=3D'') {
+						$('<?=3D$year->id?>').style.borderColor=3D'red';
+						alert('Ann=C3=A9e invalide');
+						return false;
+					}
+	}
+</script>
\ No newline at end of file



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 17:20:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TInPQ-0007tt-K9
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 17:20:12 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 23:10:09 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.607083.1349126412.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r430 - trunk/tools/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 21:20:11 -0000

Author: danydb
Date: 2012-10-01 23:10:09 +0200 (Mon, 01 Oct 2012)
New Revision: 430

Modified:
   trunk/tools/include/class_tool_exercice.php
Log:
throw an exception instead of a negative return

Modified: trunk/tools/include/class_tool_exercice.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tools/include/class_tool_exercice.php	2012-10-01 21:09:46 UTC (=
rev 429)
+++ trunk/tools/include/class_tool_exercice.php	2012-10-01 21:10:09 UTC (=
rev 430)
@@ -86,8 +86,7 @@
 		}
 		catch (Exception $e)
 		{
-			alert($e->getMessage());
-			return -1;
+			throw new Exception($e->getMessage());
 		}
 		$this->cn->start();
 		try



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 17:22:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TInRN-0008VP-7A
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 17:22:13 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 23:12:14 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.607088.1349126532.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r431 - trunk/tools/include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 21:22:12 -0000

Author: danydb
Date: 2012-10-01 23:12:11 +0200 (Mon, 01 Oct 2012)
New Revision: 431

Modified:
   trunk/tools/include/template/search_box.php
Log:
throw an exception instead of a negative return

Modified: trunk/tools/include/template/search_box.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tools/include/template/search_box.php	2012-10-01 21:10:09 UTC (=
rev 430)
+++ trunk/tools/include/template/search_box.php	2012-10-01 21:12:11 UTC (=
rev 431)
@@ -19,7 +19,13 @@
 </FORM>
 <script charset=3D"UTF8" lang=3D"javascript">
 	function validate() {
-		if ( check_date_id('<?=3D$idate_start->id?>') =3D=3D false ) {alert('D=
ate de d=C3=A9but incorrecte');return false;}
-		if ( check_date_id('<?=3D$idate_end->id?>') =3D=3D false ) {alert('Dat=
e de fin incorrecte');return false;}
+		if ( check_date_id('<?=3D$idate_start->id?>') =3D=3D false ) {
+			alert('Date de d=C3=A9but incorrecte');
+			$('<?=3D$idate_start->id?>').style.borderColor=3D'red';
+			return false;}
+		if ( check_date_id('<?=3D$idate_end->id?>') =3D=3D false ) {
+			alert('Date de fin incorrecte');
+			$('<?=3D$idate_end->id?>').style.borderColor=3D'red';
+			return false;}
 	}
 </script>
\ No newline at end of file



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 17:41:42 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TInkD-0004MR-Dx
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 17:41:41 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 23:31:40 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.607121.1349127700.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r432 - in trunk/coprop: . sql
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 21:41:40 -0000

Author: danydb
Date: 2012-10-01 23:31:39 +0200 (Mon, 01 Oct 2012)
New Revision: 432

Modified:
   trunk/coprop/index.php
   trunk/coprop/sql/upgrade1.sql
Log:
Adapt to the last version of phpcompta

Modified: trunk/coprop/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/index.php	2012-10-01 21:12:11 UTC (rev 431)
+++ trunk/coprop/index.php	2012-10-01 21:31:39 UTC (rev 432)
@@ -31,7 +31,7 @@
 require_once 'class_acc_ledger.php';
 global $version_plugin;
 $version_plugin=3DSVNINFO;
-Extension::check_version(4600);
+Extension::check_version(5100);
 ob_start();
 require_once('coprop-javascript.js');
 $j=3Dob_get_contents();

Modified: trunk/coprop/sql/upgrade1.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/sql/upgrade1.sql	2012-10-01 21:12:11 UTC (rev 431)
+++ trunk/coprop/sql/upgrade1.sql	2012-10-01 21:31:39 UTC (rev 432)
@@ -13,9 +13,9 @@
 alter table coprop.budget drop column b_start;
 alter table coprop.budget add column b_exercice bigint;
 alter table coprop.budget add column b_type varchar(8);
+insert into coprop.parameter values ('categorie_charge','0');
=20
=20
-
 commit;
=20
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 01 17:42:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TInkX-0004O2-3a
	for mharc-phpcompta-dev@gnu.org; Mon, 01 Oct 2012 17:42:01 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Mon,  1 Oct 2012 23:32:01 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.607122.1349127720.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r433 - trunk/rapport_avance
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 01 Oct 2012 21:41:59 -0000

Author: danydb
Date: 2012-10-01 23:32:01 +0200 (Mon, 01 Oct 2012)
New Revision: 433

Modified:
   trunk/rapport_avance/index.php
Log:
Adapt to the last version of phpcompta

Modified: trunk/rapport_avance/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/rapport_avance/index.php	2012-10-01 21:31:39 UTC (rev 432)
+++ trunk/rapport_avance/index.php	2012-10-01 21:32:01 UTC (rev 433)
@@ -27,7 +27,7 @@
=20
 global $version_plugin;
 $version_plugin =3D SVNINFO;
-Extension::check_version(5082);
+Extension::check_version(5100);
 require_once 'class_phpcompta_sql.php';
 require_once 'rapav_constant.php';
 require_once 'class_impress.php';



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 12:59:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ5p2-0003Gw-4l
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 12:59:52 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 18:49:42 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609554.1349197191.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5134 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 16:59:50 -0000

Author: danydb
Date: 2012-10-02 18:49:40 +0200 (Tue, 02 Oct 2012)
New Revision: 5134

Modified:
   phpcompta/tags/rel650/include/class_acc_operation.php
Log:
underline properly=20

Modified: phpcompta/tags/rel650/include/class_acc_operation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_operation.php	2012-10-01 20:1=
6:55 UTC (rev 5133)
+++ phpcompta/tags/rel650/include/class_acc_operation.php	2012-10-02 16:4=
9:40 UTC (rev 5134)
@@ -306,7 +306,7 @@
         $csv=3D"";
         foreach ($show as $l)
         {
-            if ( $l['j_poste'] =3D=3D $this->poste || $l['j_qcode']=3D=3D=
$this->qcode)
+            if ( $l['j_poste'] =3D=3D $this->poste || ($l['j_qcode']=3D=3D=
$this->qcode && trim($this->qcode) !=3D ''))
                 $border=3D' style=3D"border-bottom:1px solid red;"';
             else
                 $border=3D'';
@@ -468,7 +468,7 @@
     }
     /**
     *@brief retrieve data from jrnx and jrn
-    *@return return an object=20
+    *@return return an object
     *@note
     *@see
     @code
@@ -562,7 +562,7 @@
 /**
  *@brief this class manage data from the JRNX and JRN
  * table
- *@note Data member are the column of the table=20
+ *@note Data member are the column of the table
  */
 class Acc_Misc extends Acc_Detail
 {
@@ -588,7 +588,7 @@
 /**
  *@brief this class manage data from the QUANT_SOLD
  * table
- *@note Data member are the column of the table=20
+ *@note Data member are the column of the table
  */
 class Acc_Sold extends Acc_Detail
 {
@@ -611,8 +611,8 @@
 /**
  *@brief this class manage data from the QUANT_PURCHASE
  * table
- *@note Data member are the column of the table=20
-=20
+ *@note Data member are the column of the table
+
  */
 class Acc_Purchase extends Acc_Detail
 {
@@ -636,7 +636,7 @@
 /**
  *@brief this class manage data from the QUANT_FIN
  * table
- *@note Data member are the column of the table=20
+ *@note Data member are the column of the table
  */
 class Acc_Fin extends Acc_Detail
 {



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:08:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ5x2-00027N-AN
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:08:08 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 18:58:09 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609574.1349197688.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5135 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:08:07 -0000

Author: danydb
Date: 2012-10-02 18:58:09 +0200 (Tue, 02 Oct 2012)
New Revision: 5135

Modified:
   phpcompta/tags/rel650/include/class_print_ledger_simple_without_vat.ph=
p
   phpcompta/tags/rel650/include/export_poste_detail_csv.php
   phpcompta/tags/rel650/include/impress_poste.inc.php
Log:
Fix several some bugs :=20
* PRINTJRN column name for ledget ACH, simple without VAT
* PRINTPOSTE show everything even when unlettered is choosen

Modified: phpcompta/tags/rel650/include/class_print_ledger_simple_without=
_vat.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_print_ledger_simple_without_vat.p=
hp	2012-10-02 16:49:40 UTC (rev 5134)
+++ phpcompta/tags/rel650/include/class_print_ledger_simple_without_vat.p=
hp	2012-10-02 16:58:09 UTC (rev 5135)
@@ -78,11 +78,11 @@
         else
             $this->Cell(60,6,'Fournisseur');
         $this->Cell(105,6,'Commentaire');
-        $this->Cell(15,6,'Prix',0,0,'R');
         if ( $this->jrn_type=3D=3D'ACH')
         {
             $this->Cell(15,6,'Priv=C3=A9',0,0,'R');
         }
+        $this->Cell(15,6,'Prix',0,0,'R');
=20
         $this->Ln(5);
=20

Modified: phpcompta/tags/rel650/include/export_poste_detail_csv.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/export_poste_detail_csv.php	2012-10-02 =
16:49:40 UTC (rev 5134)
+++ phpcompta/tags/rel650/include/export_poste_detail_csv.php	2012-10-02 =
16:58:09 UTC (rev 5135)
@@ -111,7 +111,8 @@
         $Poste=3Dnew Acc_Account_Ledger($cn,$pos['pcm_val']);
         $Poste->get_name();
         list($array,$tot_deb,$tot_cred)=3D$Poste->get_row_date( $_REQUES=
T['from_periode'],
-                                        $_REQUEST['to_periode']
+                                        $_REQUEST['to_periode'],
+									      $_GET['ople']
                                                             );
         if ( count($Poste->row ) =3D=3D 0 )
             continue;

Modified: phpcompta/tags/rel650/include/impress_poste.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/impress_poste.inc.php	2012-10-02 16:49:=
40 UTC (rev 5134)
+++ phpcompta/tags/rel650/include/impress_poste.inc.php	2012-10-02 16:58:=
09 UTC (rev 5135)
@@ -280,7 +280,7 @@
             {
                 $Poste=3Dnew Acc_Account_Ledger ($cn,$poste_id['pcm_val'=
]);
                 $Poste->load();
-                $Poste->get_row_date( $_GET['from_periode'], $_GET['to_p=
eriode']);
+                $Poste->get_row_date( $_GET['from_periode'], $_GET['to_p=
eriode'],$_GET['ople']);
                 if ( empty($Poste->row)) continue;
                 echo '<tr><td  class=3D"mtitle" style=3D"width:auto" col=
span=3D"6"><h2 class=3D"info">'. $poste_id['pcm_val'].' '.h($Poste->label=
).'</h2></td></tr>';
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:08:37 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ5xV-00028K-FX
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:08:37 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 18:58:34 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609575.1349197717.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5136 - phpcompta/tags/rel650/doc/developper
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:08:36 -0000

Author: danydb
Date: 2012-10-02 18:58:34 +0200 (Tue, 02 Oct 2012)
New Revision: 5136

Modified:
   phpcompta/tags/rel650/doc/developper/Doxyfile
Log:
Improve documentation

Modified: phpcompta/tags/rel650/doc/developper/Doxyfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/doc/developper/Doxyfile	2012-10-02 16:58:09 UTC=
 (rev 5135)
+++ phpcompta/tags/rel650/doc/developper/Doxyfile	2012-10-02 16:58:34 UTC=
 (rev 5136)
@@ -585,8 +585,9 @@
 # with spaces.
=20
 INPUT                  =3D ../../include \
-                         ../../html
+                         ../../html=20
=20
+
 # This tag can be used to specify the character encoding of the source f=
iles
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which=
 is
 # also the default input encoding. Doxygen uses libiconv (or the iconv b=
uilt
@@ -660,7 +661,7 @@
 # directories that are symbolic links (a Unix filesystem feature) are ex=
cluded
 # from the input.
=20
-EXCLUDE_SYMLINKS       =3D YES
+EXCLUDE_SYMLINKS       =3D NO
=20
 # If the value of the INPUT tag contains directories, you can use the
 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclu=
de



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:09:14 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ5y6-0002aw-P2
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:09:14 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 18:59:20 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609578.1349197754.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r434 - trunk/import_doli/doc
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:09:13 -0000

Author: danydb
Date: 2012-10-02 18:59:19 +0200 (Tue, 02 Oct 2012)
New Revision: 434

Modified:
   trunk/import_doli/doc/import-donnee-dolibarr test.csv
   trunk/import_doli/doc/import-donnee-dolibarr test.ods
Log:
Improve documentation

Modified: trunk/import_doli/doc/import-donnee-dolibarr test.csv
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/import_doli/doc/import-donnee-dolibarr test.csv	2012-10-01 21:3=
2:01 UTC (rev 433)
+++ trunk/import_doli/doc/import-donnee-dolibarr test.csv	2012-10-02 16:5=
9:19 UTC (rev 434)
@@ -1,5 +1,5 @@
-3;"13.03.2012";"T";"WOOHA";"achat de marchandises";"A1";;;;;
+3;"13.03.2012";"T";"CLIENT1";"achat de marchandises";"A1";;;;;
 3;"13.03.2012";"S";"M1";"Marchandise 1";"A1";3;1,62;9;0,06;28,62
 3;"13.03.2012";"S";"M2";"Marchandise 2";"A1";12;0,72;1;0,06;12,72
-2;"14.03.2012";"T";"TANGRAM";"Facture n=C2=B0121212121 : Electrict=C3=A9=
";"B1";;;;;
+2;"14.03.2012";"T";"FOURNISSEUR1";"Facture n=C2=B0121212121 : Electrict=C3=
=A9";"B1";;;;;
 2;"14.03.2012";"S";"FID1070";"=C3=89lectrict=C3=A9";"B1";125;7,5;1;0,06;=
132,5

Modified: trunk/import_doli/doc/import-donnee-dolibarr test.ods
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:09:39 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ5yV-0002nN-TV
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:09:39 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 18:59:45 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609581.1349197779.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r435 - trunk/tools/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:09:38 -0000

Author: danydb
Date: 2012-10-02 18:59:44 +0200 (Tue, 02 Oct 2012)
New Revision: 435

Modified:
   trunk/tools/include/tools_exercice.inc.php
Log:
Improve errror message

Modified: trunk/tools/include/tools_exercice.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/tools/include/tools_exercice.inc.php	2012-10-02 16:59:19 UTC (r=
ev 434)
+++ trunk/tools/include/tools_exercice.inc.php	2012-10-02 16:59:44 UTC (r=
ev 435)
@@ -40,7 +40,7 @@
 	}
 	catch (Exception $e)
 	{
-		var_dump($e->getTraceAsString());
+		alert($e->getMessage());
 	}
=20
 }



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:10:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ5ze-0003Te-8P
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:10:50 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:00:50 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609582.1349197850.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r436 - in trunk/coprop: . include include/template
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:10:49 -0000

Author: danydb
Date: 2012-10-02 19:00:49 +0200 (Tue, 02 Oct 2012)
New Revision: 436

Modified:
   trunk/coprop/coprop-constant.php
   trunk/coprop/include/ajax_mod_key.php
   trunk/coprop/include/class_install_plugin.php
   trunk/coprop/include/key.inc.php
   trunk/coprop/include/template/coprop_lot_list.php
   trunk/coprop/include/template/key_detail.php
   trunk/coprop/index.php
Log:
Add mechanisme for DB patching

Modified: trunk/coprop/coprop-constant.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/coprop-constant.php	2012-10-02 16:59:44 UTC (rev 435)
+++ trunk/coprop/coprop-constant.php	2012-10-02 17:00:49 UTC (rev 436)
@@ -17,4 +17,5 @@
 $g_copro_parameter=3Dnew Copro_Parameter();
 define ("COPRO_MAX_LOT",19);
 define("MAXROWBUD",15);
+define ('COPROP_VERSION',1);
 ?>
\ No newline at end of file

Modified: trunk/coprop/include/ajax_mod_key.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/include/ajax_mod_key.php	2012-10-02 16:59:44 UTC (rev 43=
5)
+++ trunk/coprop/include/ajax_mod_key.php	2012-10-02 17:00:49 UTC (rev 43=
6)
@@ -68,5 +68,6 @@
 echo HtmlInput::hidden('cr_id',$key_id);
 require_once 'template/key_detail.php';
 echo HtmlInput::submit("mod_key","Modifier",' onclick=3D"return confirm =
(\'Vous confirmez?\')"');
+echo HtmlInput::button('rlist','Retour liste',' onclick=3D"$(\'key_list\=
').show();$(\'keydetail_div\').hide()"');
 echo '</form>';
 ?>

Modified: trunk/coprop/include/class_install_plugin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/include/class_install_plugin.php	2012-10-02 16:59:44 UTC=
 (rev 435)
+++ trunk/coprop/include/class_install_plugin.php	2012-10-02 17:00:49 UTC=
 (rev 436)
@@ -155,10 +155,20 @@
 	}
 	function create_table()
 	{
-	 =20
+
 	       $file=3Ddirname(__FILE__)."/../sql/create_table.sql";
 		$this->cn->execute_script($file);
=20
 	}
+	function upgrade()
+	{
+		global $cn;
+		$version=3D$cn->get_value('select max(v_id) from coprop.version');
+		for ($i=3D$version+1;$i<=3DCOPROP_VERSION;$i++)
+		{
+			$file=3Ddirname(__FILE__)."/../sql/upgrade$i.sql";
+			$this->cn->execute_script($file);
+		}
+	}
=20
 }

Modified: trunk/coprop/include/key.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/include/key.inc.php	2012-10-02 16:59:44 UTC (rev 435)
+++ trunk/coprop/include/key.inc.php	2012-10-02 17:00:49 UTC (rev 436)
@@ -107,9 +107,10 @@
 endfor;
 ?>
 </table>
- </div>
-<? $js=3Dsprintf("add_key('%s','%s','%s')",$gDossier,$_REQUEST['plugin_c=
ode'],$_REQUEST['ac']);
+	<? $js=3Dsprintf("add_key('%s','%s','%s')",$gDossier,$_REQUEST['plugin_=
code'],$_REQUEST['ac']);
  echo HtmlInput::button("add_key","Ajout clef","onclick=3D\"$js\"");
 	?>
+ </div>
=20
+
 <div id=3D"keydetail_div"></div>

Modified: trunk/coprop/include/template/coprop_lot_list.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/include/template/coprop_lot_list.php	2012-10-02 16:59:44=
 UTC (rev 435)
+++ trunk/coprop/include/template/coprop_lot_list.php	2012-10-02 17:00:49=
 UTC (rev 436)
@@ -28,16 +28,16 @@
  */
 $gDossier=3DDossier::id();
 ?>
-<h1>Lots affect=C3=A9s</h1>
+<h1 class=3D"title">Lots affect=C3=A9s</h1>
 <? for ( $i=3D0;$i<count($a_immeuble);$i++):?>
-<h2>Immeuble : <?=3DHtmlInput::card_detail($a_immeuble[$i]['quick_code']=
,$a_immeuble[$i]['vw_name'],' style=3D"display:inline;text-decoration:und=
erline"')?></h2>
+<h2 class=3D"title">Immeuble : <?=3DHtmlInput::card_detail($a_immeuble[$=
i]['quick_code'],$a_immeuble[$i]['vw_name'],' style=3D"display:inline;tex=
t-decoration:underline"')?></h2>
=20
 <?
 $ret_coprop=3D$cn->execute("coprop",array($a_immeuble[$i]['f_id']));
 $max_coprop=3DDatabase::num_row($ret_coprop);
 if ($max_coprop=3D=3D0)
 {
-    echo "Pas de copropri=C3=A9taires pour cet immeuble";
+    echo '<p class=3D"notice">Pas de copropri=C3=A9taires pour cet immeu=
ble</p>';
     continue;
 }
 ?>
@@ -53,7 +53,7 @@
    $max_lot=3DDatabase::num_row($ret_lot);
     if ($max_lot=3D=3D0)
     {
-        echo "Pas de lot pour ce copropri=C3=A9taires ";
+        echo '<p class=3D"notice">Pas de lot pour ce copropri=C3=A9taire=
s </p>';
         continue;
     }
     ?>
@@ -69,7 +69,7 @@
=20
 <? endfor; ?>
=20
-<h1>Lot sans immeuble ou sans copropri=C3=A9taires</h1>
+<h1 class=3D"title">Lot sans immeuble ou sans copropri=C3=A9taires</h1>
 <ul>
 <? for($e=3D0;$e<count($a_undef_lot);$e++):?>
       <li><?=3DHtmlInput::card_detail($a_undef_lot[$e]['lot_qcode'],'','=
 style=3D"display:inline;text-decoration:underline"')." ".h($a_undef_lot[=
$e]['lot_name']." ".$a_undef_lot[$e]['lot_desc'])?></li>

Modified: trunk/coprop/include/template/key_detail.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/include/template/key_detail.php	2012-10-02 16:59:44 UTC =
(rev 435)
+++ trunk/coprop/include/template/key_detail.php	2012-10-02 17:00:49 UTC =
(rev 436)
@@ -28,9 +28,10 @@
  */
 ?>
 <div class=3D"content" style=3D"margin-left: 20px">
+	<?=3DHtmlInput::button('rlist','Retour liste',' onclick=3D"$(\'key_list=
\').show();$(\'keydetail_div\').hide()"')?>
 <h1><?=3D$str_message?></h1>
-<?=3DHtmlInput::button('rlist','Retour liste',' onclick=3D"$(\'key_list\=
').show();$(\'keydetail_div\').hide()"')?>
=20
+
 <h2> Caract=C3=A9ristique</h2>
 <table>
 	<tr>
@@ -131,4 +132,5 @@
 ?>
=20
 </p>
+
 </div>
\ No newline at end of file

Modified: trunk/coprop/index.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/index.php	2012-10-02 16:59:44 UTC (rev 435)
+++ trunk/coprop/index.php	2012-10-02 17:00:49 UTC (rev 436)
@@ -85,7 +85,15 @@
 	// Affiche param=C3=A8tre
     $def=3D4;
   }
-require_once('coprop-constant.php');
+  require_once('coprop-constant.php');
+  $version=3D$cn->get_value('select max(v_id) from coprop.version');
+ if ( $version < COPROP_VERSION)
+ {
+	   require_once('include/class_install_plugin.php');
+	  $iplugin=3Dnew Install_Plugin($cn);
+	  $iplugin->upgrade();
+ }
+
 // show menu
 echo '<div style=3D"float:right"><a class=3D"mtitle" style=3D"font-size:=
140%" href=3D"http://wiki.phpcompta.eu/doku.php?id=3Dplugin:copropri=C3=A9=
t=C3=A9" target=3D"_blank">Aide</a>'.
 '<span style=3D"font-size:0.8em;color:red;display:inline">vers:SVNINFO</=
span>'.



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:39:32 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6RQ-0002uH-5h
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:39:32 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:29:37 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609624.1349199571.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r437 - /
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:39:31 -0000

Author: danydb
Date: 2012-10-02 19:29:36 +0200 (Tue, 02 Oct 2012)
New Revision: 437

Added:
   rel651/
Log:
Copy to new tag


Copied: rel651 (from rev 436, trunk)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:40:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6SP-0003IN-BU
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:40:33 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:30:30 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609634.1349199632.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r438 - in trunk: coprop/sql rapport_avance/doc
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:40:31 -0000

Author: danydb
Date: 2012-10-02 19:30:29 +0200 (Tue, 02 Oct 2012)
New Revision: 438

Added:
   trunk/coprop/sql/upgrade2.sql
Removed:
   trunk/coprop/sql/upgrade1.sql
Modified:
   trunk/rapport_avance/doc/
Log:
Upgrade SQL for next version

Deleted: trunk/coprop/sql/upgrade1.sql
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/sql/upgrade1.sql	2012-10-02 17:29:36 UTC (rev 437)
+++ trunk/coprop/sql/upgrade1.sql	2012-10-02 17:30:29 UTC (rev 438)
@@ -1,22 +0,0 @@
-begin;
-
-create table coprop.version
-(
-    v_id  bigint,
-    v_note text,
-    v_date date default now(),
-	CONSTRAINT version_pkey PRIMARY KEY (v_id )
-);
-
--- alter table budget
-alter table coprop.budget drop column b_end;
-alter table coprop.budget drop column b_start;
-alter table coprop.budget add column b_exercice bigint;
-alter table coprop.budget add column b_type varchar(8);
-insert into coprop.parameter values ('categorie_charge','0');
-
-
-commit;
-
-
-

Copied: trunk/coprop/sql/upgrade2.sql (from rev 432, trunk/coprop/sql/upg=
rade1.sql)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coprop/sql/upgrade2.sql	                        (rev 0)
+++ trunk/coprop/sql/upgrade2.sql	2012-10-02 17:30:29 UTC (rev 438)
@@ -0,0 +1,8 @@
+begin;
+
+insert into coprop.version (v_id,v_note) values (2,'Ajout cat=C3=A9gorie=
 de charges');
+
+commit;
+
+
+


Property changes on: trunk/rapport_avance/doc
___________________________________________________________________
Name: svn:ignore
   + .~lock.rapav.odt#




---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:40:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6So-0003LL-GK
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:40:58 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:31:03 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609635.1349199657.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r439 - /
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:40:56 -0000

Author: danydb
Date: 2012-10-02 19:31:03 +0200 (Tue, 02 Oct 2012)
New Revision: 439

Removed:
   rel651/
Log:
Missing files




---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:41:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6T6-0003Li-Jg
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:41:16 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:31:20 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609636.1349199675.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r440 - /
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:41:14 -0000

Author: danydb
Date: 2012-10-02 19:31:19 +0200 (Tue, 02 Oct 2012)
New Revision: 440

Added:
   rel651/
Log:
Correct tag


Copied: rel651 (from rev 439, trunk)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:41:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6Tc-0003NM-O5
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:41:48 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:31:53 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609639.1349199707.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r441 - trunk
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:41:46 -0000

Author: danydb
Date: 2012-10-02 19:31:53 +0200 (Tue, 02 Oct 2012)
New Revision: 441

Modified:
   trunk/
Log:
Removed merge tracking for "svnmerge" for=20
svn+ssh://danydb@ns352270.ovh.net/svn_extension/tag/rel650



Property changes on: trunk
___________________________________________________________________
Name: svnmerge-integrated
   - /tag/rel650:1-401



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:43:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6Um-0003Qz-UU
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:43:00 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:32:59 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609640.1349199780.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r442 - /
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:43:00 -0000

Author: danydb
Date: 2012-10-02 19:32:59 +0200 (Tue, 02 Oct 2012)
New Revision: 442

Removed:
   rel651/
Log:
misplaced version




---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:43:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6Uw-0003Rp-1n
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:43:10 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:33:11 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609641.1349199789.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r443 - tag
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:43:09 -0000

Author: danydb
Date: 2012-10-02 19:33:11 +0200 (Tue, 02 Oct 2012)
New Revision: 443

Added:
   tag/rel651/
Log:
relocate version


Copied: tag/rel651 (from rev 442, trunk)



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 13:43:51 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ6Vb-0003YT-Dx
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 13:43:51 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 19:33:53 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.609642.1349199831.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r444 - trunk
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 17:43:50 -0000

Author: danydb
Date: 2012-10-02 19:33:52 +0200 (Tue, 02 Oct 2012)
New Revision: 444

Modified:
   trunk/
Log:
Initialized merge tracking via "svnmerge" with revisions "1-443" from=20
svn+ssh://danydb@ns352270.ovh.net/svn_extension/tag/rel651



Property changes on: trunk
___________________________________________________________________
Name: svnmerge-integrated
   + /tag/rel651:1-443



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 02 17:11:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJ9kT-0005e5-6Q
	for mharc-phpcompta-dev@gnu.org; Tue, 02 Oct 2012 17:11:25 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue,  2 Oct 2012 23:01:28 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.610214.1349212284.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5137 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2012 21:11:24 -0000

Author: danydb
Date: 2012-10-02 23:01:27 +0200 (Tue, 02 Oct 2012)
New Revision: 5137

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger.php
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
   phpcompta/tags/rel650/include/class_acc_ledger_purchase.php
   phpcompta/tags/rel650/include/class_acc_ledger_sold.php
   phpcompta/tags/rel650/include/compta_ach.inc.php
   phpcompta/tags/rel650/include/compta_fin.inc.php
   phpcompta/tags/rel650/include/operation_ods_new.inc.php
Log:
Fix problem with date suggest

Modified: phpcompta/tags/rel650/include/class_acc_ledger.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger.php	2012-10-02 16:58:3=
4 UTC (rev 5136)
+++ phpcompta/tags/rel650/include/class_acc_ledger.php	2012-10-02 21:01:2=
7 UTC (rev 5137)
@@ -1536,8 +1536,10 @@
 		{
 			$add_js =3D "update_pj();";
 		}
-		$add_js.=3D'get_last_date();';
-
+		if ($g_parameter->MY_DATE_SUGGEST=3D=3D'Y')
+		{
+			$add_js.=3D'get_last_date();';
+		}
 		$ret =3D "";
 		if ($g_user->check_action(FICADD) =3D=3D 1)
 		{

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-02 16:=
58:34 UTC (rev 5136)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-02 21:=
01:27 UTC (rev 5137)
@@ -292,7 +292,7 @@
 		// Ledger (p_jrn)
 		//--
=20
-		$add_js =3D 'onchange=3D"update_pj();update_bank();get_last_date();aja=
x_saldo(\'first_sold\');update_name();"';
+		$add_js =3D 'onchange=3D"update_pj();update_bank();ajax_saldo(\'first_=
sold\');update_name();"';
=20
 		if ($g_parameter->MY_DATE_SUGGEST =3D=3D 'Y')
 			$add_js =3D 'onchange=3D"update_pj();update_bank();get_last_date();aj=
ax_saldo(\'first_sold\');update_name();"';

Modified: phpcompta/tags/rel650/include/class_acc_ledger_purchase.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_purchase.php	2012-10-0=
2 16:58:34 UTC (rev 5136)
+++ phpcompta/tags/rel650/include/class_acc_ledger_purchase.php	2012-10-0=
2 21:01:27 UTC (rev 5137)
@@ -972,7 +972,10 @@
         {
             $add_js=3D"update_pj();";
         }
-        $add_js.=3D'get_last_date();';
+		if ($g_parameter->MY_DATE_SUGGEST =3D=3D 'Y')
+		{
+			$add_js.=3D'get_last_date();';
+		}
 		$add_js.=3D'update_name();';
 		$add_js.=3D'update_pay_method()';
=20

Modified: phpcompta/tags/rel650/include/class_acc_ledger_sold.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_sold.php	2012-10-02 16=
:58:34 UTC (rev 5136)
+++ phpcompta/tags/rel650/include/class_acc_ledger_sold.php	2012-10-02 21=
:01:27 UTC (rev 5137)
@@ -1104,7 +1104,10 @@
         {
             $add_js=3D"update_pj();";
         }
-        $add_js.=3D'get_last_date();';
+		if ($g_parameter->MY_DATE_SUGGEST =3D=3D 'Y')
+		{
+			$add_js.=3D'get_last_date();';
+		}
 		$add_js.=3D'update_name();';
 		$add_js.=3D'update_pay_method()';
=20

Modified: phpcompta/tags/rel650/include/compta_ach.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_ach.inc.php	2012-10-02 16:58:34 =
UTC (rev 5136)
+++ phpcompta/tags/rel650/include/compta_ach.inc.php	2012-10-02 21:01:27 =
UTC (rev 5137)
@@ -232,7 +232,7 @@
 echo '</div>';
 echo "</FORM>";
=20
-if (!isset($_POST['e_date']))
+if (!isset($_POST['e_date']) && $g_parameter->MY_DATE_SUGGEST=3D=3D'Y')
 	echo create_script(" get_last_date()");
=20
 echo '</div>';

Modified: phpcompta/tags/rel650/include/compta_fin.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_fin.inc.php	2012-10-02 16:58:34 =
UTC (rev 5136)
+++ phpcompta/tags/rel650/include/compta_fin.inc.php	2012-10-02 21:01:27 =
UTC (rev 5137)
@@ -25,7 +25,7 @@
  */
 require_once ('class_acc_ledger_fin.php');
 require_once('class_ipopup.php');
-global $g_user;
+global $g_user,$g_parameter;
=20
 $gDossier=3Ddossier::id();
=20
@@ -142,9 +142,11 @@
 echo HtmlInput::submit('save',_('Sauve'));
 echo HtmlInput::reset(_('Effacer'));
=20
-if ( ! isset ($_POST['e_date']) )
+if ( ! isset ($_POST['e_date'])&& $g_parameter->MY_DATE_SUGGEST=3D=3D'Y'=
)
 {
 	echo create_script(" get_last_date();ajax_saldo('first_sold');");
+}else {
+	echo create_script(" ajax_saldo('first_sold');");
 }
=20
 exit();
\ No newline at end of file

Modified: phpcompta/tags/rel650/include/operation_ods_new.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/operation_ods_new.inc.php	2012-10-02 16=
:58:34 UTC (rev 5136)
+++ phpcompta/tags/rel650/include/operation_ods_new.inc.php	2012-10-02 21=
:01:27 UTC (rev 5137)
@@ -28,7 +28,7 @@
 require_once 'class_pre_op_ods.php';
 require_once 'class_iconcerned.php';
=20
-global $g_user;
+global $g_user,$g_parameter;
 $cn=3Dnew Database(dossier::id());
=20
 $id =3D (isset($_REQUEST['p_jrn'])) ? $_REQUEST['p_jrn'] : -1;
@@ -107,8 +107,10 @@
=20
 echo "<script>checkTotalDirect();</script>";
=20
-echo create_script(" get_last_date()");
-
+if ($g_parameter->MY_DATE_SUGGEST=3D=3D'Y')
+{
+	echo create_script(" get_last_date()");
+}
 echo '</div>';
=20
 ?>



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Oct 03 05:37:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJLOt-0005bw-JQ
	for mharc-phpcompta-dev@gnu.org; Wed, 03 Oct 2012 05:37:55 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed,  3 Oct 2012 11:27:53 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.611459.1349257075.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5138 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Oct 2012 09:37:54 -0000

Author: danydb
Date: 2012-10-03 11:27:52 +0200 (Wed, 03 Oct 2012)
New Revision: 5138

Modified:
   phpcompta/tags/rel650/include/class_follow_up.php
Log:
Bug auto compute for action

Modified: phpcompta/tags/rel650/include/class_follow_up.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_follow_up.php	2012-10-02 21:01:27=
 UTC (rev 5137)
+++ phpcompta/tags/rel650/include/class_follow_up.php	2012-10-03 09:27:52=
 UTC (rev 5138)
@@ -451,6 +451,7 @@
=20
 			$text->javascript =3D ' onchange=3D"clean_tva(' . $i . ');compute_led=
ger(' . $i . ')"';
 			$text->name =3D "e_march" . $i . "_label";
+			$text->id =3D "e_march" . $i . "_label";
 			$text->size =3D 40;
 			$text->value =3D ($tmp_ad) ? $tmp_ad->get_parameter('text') : "";
 			$text->readOnly=3D$readonly;
@@ -458,17 +459,20 @@
=20
 			$num->javascript =3D ' onchange=3D"format_number(this);clean_tva(' . =
$i . ');compute_ledger(' . $i . ')"';
 			$num->name =3D "e_march" . $i . "_price";
+			$num->id =3D "e_march" . $i . "_price";
 			$num->size =3D 8;
 			$num->readOnly=3D$readonly;
 			$num->value =3D ($tmp_ad) ? $tmp_ad->get_parameter('price_unit') : 0;
 			$aArticle[$i]['pu'] =3D $num->input();
=20
 			$num->name =3D "e_quant" . $i;
+			$num->id =3D "e_quant" . $i;
 			$num->size =3D 8;
 			$num->value =3D ($tmp_ad) ? $tmp_ad->get_parameter('quantity') : 0;
 			$aArticle[$i]['quant'] =3D $num->input();
=20
 			$itva->name =3D 'e_march' . $i . '_tva_id';
+			$itva->id =3D 'e_march' . $i . '_tva_id';
 			$itva->value =3D ($tmp_ad) ? $tmp_ad->get_parameter('tva_id') : 0;
 			$itva->readOnly=3D$readonly;
 			$itva->js =3D ' onchange=3D"format_number(this);clean_tva(' . $i . ')=
;compute_ledger(' . $i . ')"';
@@ -477,12 +481,14 @@
 			$aArticle[$i]['tvaid'] =3D $itva->input();
=20
 			$num->name =3D "e_march" . $i . "_tva_amount";
+			$num->id =3D "e_march" . $i . "_tva_amount";
 			$num->value =3D ($tmp_ad) ? $tmp_ad->get_parameter('tva_amount') : 0;
 			$num->javascript =3D " onchange=3D\"compute_ledger(' . $i . ')\"";
 			$num->size =3D 8;
 			$aArticle[$i]['tva'] =3D $num->input();
=20
 			$num->name =3D "tvac_march" . $i;
+			$num->id =3D "tvac_march" . $i;
 			$num->value =3D ($tmp_ad) ? $tmp_ad->get_parameter('total') : 0;
 			$num->size =3D 8;
 			$aArticle[$i]['tvac'] =3D $num->input();



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 15 19:07:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TNtl6-0005Te-5b
	for mharc-phpcompta-dev@gnu.org; Mon, 15 Oct 2012 19:07:40 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 16 Oct 2012 00:58:53 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.661140.1350342459.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5139 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Oct 2012 23:07:38 -0000

Author: danydb
Date: 2012-10-16 00:58:52 +0200 (Tue, 16 Oct 2012)
New Revision: 5139

Modified:
   phpcompta/tags/rel650/include/compta_ach.inc.php
Log:
 Sugg?\195?\169rer la date =3D oui ne met plus la date ?\195?\160 jour da=
ns les achats=20

Modified: phpcompta/tags/rel650/include/compta_ach.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_ach.inc.php	2012-10-03 09:27:52 =
UTC (rev 5138)
+++ phpcompta/tags/rel650/include/compta_ach.inc.php	2012-10-15 22:58:52 =
UTC (rev 5139)
@@ -29,7 +29,7 @@
 require_once ('class_pre_op_ach.php');
 require_once('class_ipopup.php');
 $gDossier =3D dossier::id();
-
+global $g_parameter;
 $cn =3D new Database(dossier::id());
 //menu =3D show a list of ledger
 $str_dossier =3D dossier::get();



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 15 19:22:17 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TNtzF-00078h-5R
	for mharc-phpcompta-dev@gnu.org; Mon, 15 Oct 2012 19:22:17 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 16 Oct 2012 01:13:31 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.661151.1350343336.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5140 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Oct 2012 23:22:16 -0000

Author: danydb
Date: 2012-10-16 01:13:30 +0200 (Tue, 16 Oct 2012)
New Revision: 5140

Modified:
   phpcompta/tags/rel650/include/compta_ven.inc.php
Log:
Sugg?\195?\169rer la date =3D oui ne met plus la date ?\195?\160 jour dan=
s les achats

Modified: phpcompta/tags/rel650/include/compta_ven.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/compta_ven.inc.php	2012-10-15 22:58:52 =
UTC (rev 5139)
+++ phpcompta/tags/rel650/include/compta_ven.inc.php	2012-10-15 23:13:30 =
UTC (rev 5140)
@@ -251,8 +251,12 @@
     /* if we suggest the pj n# the run the script */
     if ( $g_parameter->MY_PJ_SUGGEST=3D=3D'Y')
     {
-		if ( ! isset($_POST['e_date'])) echo '<script> update_pj();get_last_da=
te()</script>';
+		echo '<script> update_pj()</script>';
     }
+	if (!isset($_POST['e_date']) && $g_parameter->MY_DATE_SUGGEST=3D=3D'Y')
+	{
+		echo create_script(" get_last_date()");
+	}
     exit();
=20
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Mon Oct 15 19:22:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TNtzk-0007sQ-MS
	for mharc-phpcompta-dev@gnu.org; Mon, 15 Oct 2012 19:22:48 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 16 Oct 2012 01:14:01 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.661152.1350343367.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5141 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Oct 2012 23:22:46 -0000

Author: danydb
Date: 2012-10-16 01:14:01 +0200 (Tue, 16 Oct 2012)
New Revision: 5141

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
Log:
Sugg?\195?\169rer la date =3D oui ne met plus la date ?\195?\160 jour dan=
s les achats

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-15 23:=
13:30 UTC (rev 5140)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php	2012-10-15 23:=
14:01 UTC (rev 5141)
@@ -291,12 +291,14 @@
=20
 		// Ledger (p_jrn)
 		//--
+		$onchange=3D"update_bank();ajax_saldo('first_sold');update_name();";
=20
-		$add_js =3D 'onchange=3D"update_pj();update_bank();ajax_saldo(\'first_=
sold\');update_name();"';
-
 		if ($g_parameter->MY_DATE_SUGGEST =3D=3D 'Y')
-			$add_js =3D 'onchange=3D"update_pj();update_bank();get_last_date();aj=
ax_saldo(\'first_sold\');update_name();"';
+			$onchange .=3D 'get_last_date();';
+		if ($g_parameter->MY_PJ_SUGGEST=3D=3D'Y')
+			$onchange .=3D 'update_pj();';
=20
+		$add_js =3D 'onchange=3D"'.$onchange.'"';
 		$wLedger =3D $this->select_ledger('FIN', 2);
 		if ($wLedger =3D=3D null)
 			exit('Pas de journal disponible');



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Wed Oct 17 12:03:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TOW5K-00058F-74
	for mharc-phpcompta-dev@gnu.org; Wed, 17 Oct 2012 12:03:06 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Wed, 17 Oct 2012 17:54:24 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.669393.1350489785.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5142 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Oct 2012 16:03:05 -0000

Author: danydb
Date: 2012-10-17 17:54:22 +0200 (Wed, 17 Oct 2012)
New Revision: 5142

Modified:
   phpcompta/tags/rel650/include/class_fiche.php
Log:
0000749: poste alphanum?\195?\169rique (fournisseur 44xxx)

Modified: phpcompta/tags/rel650/include/class_fiche.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_fiche.php	2012-10-15 23:14:01 UTC=
 (rev 5141)
+++ phpcompta/tags/rel650/include/class_fiche.php	2012-10-17 15:54:22 UTC=
 (rev 5142)
@@ -774,6 +774,7 @@
=20
                         if ( strlen(trim($v)) !=3D 0)
                         {
+							$v=3D$this->cn->get_value("select format_account($1)",array($valu=
e));
                             $parameter=3Darray($this->id,$v);
                         }
                         else
@@ -895,6 +896,10 @@
 							$part2 =3D $this->cn->get_value('select format_account($1)', arra=
y($part2));
 							$v =3D $part1 . ',' . $part2;
 						}
+						else
+						{
+							$v=3D$this->cn->get_value('select format_account($1)',array($valu=
e));
+						}
 						$sql =3D sprintf("select account_update(%d,'%s')", $this->id, $v);
 						try
 						{



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Sat Oct 20 13:21:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TPcjo-0004DC-2l
	for mharc-phpcompta-dev@gnu.org; Sat, 20 Oct 2012 13:21:28 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Sat, 20 Oct 2012 19:13:05 +0200 (CEST)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.681069.1350753687.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5143 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Oct 2012 17:21:26 -0000

Author: danydb
Date: 2012-10-20 19:13:04 +0200 (Sat, 20 Oct 2012)
New Revision: 5143

Modified:
   phpcompta/tags/rel650/include/class_anticipation.php
   phpcompta/tags/rel650/include/class_fiche.php
Log:
#754  Les totaux dans Pr?\195?\169visions=20
#753  Les totaux dans FOURNISSEUR, CLIENT et ADMINISTRATION incorrectes=20

Modified: phpcompta/tags/rel650/include/class_anticipation.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_anticipation.php	2012-10-17 15:54=
:22 UTC (rev 5142)
+++ phpcompta/tags/rel650/include/class_anticipation.php	2012-10-20 17:13=
:04 UTC (rev 5143)
@@ -112,6 +112,7 @@
      */
     public function display()
     {
+		bcscale(4);
         $forecast=3Dnew Forecast($this->cn,$this->f_id);
         $forecast->load();
         $str_name=3Dh($forecast->get_parameter('name'));
@@ -342,7 +343,7 @@
         $cat=3Dnew Forecast_Cat($this->cn);
         $array=3D$cat->make_array($this->f_id);
         $periode=3Dnew Periode($this->cn);
-        $aPeriode=3D$this->cn->make_array("select p_id,to_char(p_start,'=
MM.YYYY') as label from parm_periode=20
+        $aPeriode=3D$this->cn->make_array("select p_id,to_char(p_start,'=
MM.YYYY') as label from parm_periode
                                   where p_start >=3D (select p_start fro=
m parm_periode where p_id=3D$str_start)
                                    and p_end <=3D (select p_end from par=
m_periode where p_id=3D$str_end)
 				   order by p_start");

Modified: phpcompta/tags/rel650/include/class_fiche.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_fiche.php	2012-10-17 15:54:22 UTC=
 (rev 5142)
+++ phpcompta/tags/rel650/include/class_fiche.php	2012-10-20 17:13:04 UTC=
 (rev 5143)
@@ -1488,6 +1488,7 @@
     function Summary($p_search=3D"",$p_action=3D"",$p_sql=3D"",$p_amount=
=3Dfalse)
     {
         global $g_user;
+		bcscale(4);
         $str_dossier=3Ddossier::get();
         $p_search=3Dsql_string($p_search);
         $script=3D$_SERVER['PHP_SELF'];



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 15:49:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTHoH-0002HL-Kc
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 15:49:13 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 20:41:29 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714162.1351626553.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5144 - phpcompta/tags/rel650/html/js
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 19:49:12 -0000

Author: danydb
Date: 2012-10-30 20:41:29 +0100 (Tue, 30 Oct 2012)
New Revision: 5144

Added:
   phpcompta/tags/rel650/html/js/nicEdit.js
   phpcompta/tags/rel650/html/js/nicEditorIcons.gif
Log:
#372 syst?\195?\168me de nouvelles

Added: phpcompta/tags/rel650/html/js/nicEdit.js
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/html/js/nicEdit.js	                        (rev=
 0)
+++ phpcompta/tags/rel650/html/js/nicEdit.js	2012-10-30 19:41:29 UTC (rev=
 5144)
@@ -0,0 +1,112 @@
+/* NicEdit - Micro Inline WYSIWYG
+ * Copyright 2007-2008 Brian Kirchoff
+ *
+ * NicEdit is distributed under the terms of the MIT license
+ * For more information visit http://nicedit.com/
+ * Do not remove this copyright message
+ */
+var bkExtend=3Dfunction(){var A=3Darguments;if(A.length=3D=3D1){A=3D[thi=
s,A[0]]}for(var B in A[1]){A[0][B]=3DA[1][B]}return A[0]};function bkClas=
s(){}bkClass.prototype.construct=3Dfunction(){};bkClass.extend=3Dfunction=
(C){var A=3Dfunction(){if(arguments[0]!=3D=3DbkClass){return this.constru=
ct.apply(this,arguments)}};var B=3Dnew this(bkClass);bkExtend(B,C);A.prot=
otype=3DB;A.extend=3Dthis.extend;return A};var bkElement=3DbkClass.extend=
({construct:function(B,A){if(typeof (B)=3D=3D"string"){B=3D(A||document).=
createElement(B)}B=3D$BK(B);return B},appendTo:function(A){A.appendChild(=
this);return this},appendBefore:function(A){A.parentNode.insertBefore(thi=
s,A);return this},addEvent:function(B,A){bkLib.addEvent(this,B,A);return =
this},setContent:function(A){this.innerHTML=3DA;return this},pos:function=
(){var C=3Dcurtop=3D0;var B=3Dobj=3Dthis;if(obj.offsetParent){do{C+=3Dobj=
.offsetLeft;curtop+=3Dobj.offsetTop}while(obj=3Dobj.offsetParent)}var A=3D=
(!window.opera)?parseInt(this.getStyle("border-width")||this.style.border=
)||0:0;return[C+A,curtop+A+this.offsetHeight]},noSelect:function(){bkLib.=
noSelect(this);return this},parentTag:function(A){var B=3Dthis;do{if(B&&B=
.nodeName&&B.nodeName.toUpperCase()=3D=3DA){return B}B=3DB.parentNode}whi=
le(B);return false},hasClass:function(A){return this.className.match(new =
RegExp("(\\s|^)nicEdit-"+A+"(\\s|$)"))},addClass:function(A){if(!this.has=
Class(A)){this.className+=3D" nicEdit-"+A}return this},removeClass:functi=
on(A){if(this.hasClass(A)){this.className=3Dthis.className.replace(new Re=
gExp("(\\s|^)nicEdit-"+A+"(\\s|$)")," ")}return this},setStyle:function(A=
){var B=3Dthis.style;for(var C in A){switch(C){case"float":B.cssFloat=3DB=
.styleFloat=3DA[C];break;case"opacity":B.opacity=3DA[C];B.filter=3D"alpha=
(opacity=3D"+Math.round(A[C]*100)+")";break;case"className":this.classNam=
e=3DA[C];break;default:B[C]=3DA[C]}}return this},getStyle:function(A,C){v=
ar B=3D(!C)?document.defaultView:C;if(this.nodeType=3D=3D1){return(B&&B.g=
etComputedStyle)?B.getComputedStyle(this,null).getPropertyValue(A):this.c=
urrentStyle[bkLib.camelize(A)]}},remove:function(){this.parentNode.remove=
Child(this);return this},setAttributes:function(A){for(var B in A){this[B=
]=3DA[B]}return this}});var bkLib=3D{isMSIE:(navigator.appVersion.indexOf=
("MSIE")!=3D-1),addEvent:function(C,B,A){(C.addEventListener)?C.addEventL=
istener(B,A,false):C.attachEvent("on"+B,A)},toArray:function(C){var B=3DC=
.length,A=3Dnew Array(B);while(B--){A[B]=3DC[B]}return A},noSelect:functi=
on(B){if(B.setAttribute&&B.nodeName.toLowerCase()!=3D"input"&&B.nodeName.=
toLowerCase()!=3D"textarea"){B.setAttribute("unselectable","on")}for(var =
A=3D0;A<B.childNodes.length;A++){bkLib.noSelect(B.childNodes[A])}},cameli=
ze:function(A){return A.replace(/\-(.)/g,function(B,C){return C.toUpperCa=
se()})},inArray:function(A,B){return(bkLib.search(A,B)!=3Dnull)},search:f=
unction(A,C){for(var B=3D0;B<A.length;B++){if(A[B]=3D=3DC){return B}}retu=
rn null},cancelEvent:function(A){A=3DA||window.event;if(A.preventDefault&=
&A.stopPropagation){A.preventDefault();A.stopPropagation()}return false},=
domLoad:[],domLoaded:function(){if(arguments.callee.done){return }argumen=
ts.callee.done=3Dtrue;for(i=3D0;i<bkLib.domLoad.length;i++){bkLib.domLoad=
[i]()}},onDomLoaded:function(A){this.domLoad.push(A);if(document.addEvent=
Listener){document.addEventListener("DOMContentLoaded",bkLib.domLoaded,nu=
ll)}else{if(bkLib.isMSIE){document.write("<style>.nicEdit-main p { margin=
: 0; }</style><script id=3D__ie_onload defer "+((location.protocol=3D=3D"=
https:")?"src=3D'javascript:void(0)'":"src=3D//0")+"><\/script>");$BK("__=
ie_onload").onreadystatechange=3Dfunction(){if(this.readyState=3D=3D"comp=
lete"){bkLib.domLoaded()}}}}window.onload=3DbkLib.domLoaded}};function $B=
K(A){if(typeof (A)=3D=3D"string"){A=3Ddocument.getElementById(A)}return(A=
&&!A.appendTo)?bkExtend(A,bkElement.prototype):A}var bkEvent=3D{addEvent:=
function(A,B){if(B){this.eventList=3Dthis.eventList||{};this.eventList[A]=
=3Dthis.eventList[A]||[];this.eventList[A].push(B)}return this},fireEvent=
:function(){var A=3DbkLib.toArray(arguments),C=3DA.shift();if(this.eventL=
ist&&this.eventList[C]){for(var B=3D0;B<this.eventList[C].length;B++){thi=
s.eventList[C][B].apply(this,A)}}}};function __(A){return A}Function.prot=
otype.closure=3Dfunction(){var A=3Dthis,B=3DbkLib.toArray(arguments),C=3D=
B.shift();return function(){if(typeof (bkLib)!=3D"undefined"){return A.ap=
ply(C,B.concat(bkLib.toArray(arguments)))}}};Function.prototype.closureLi=
stener=3Dfunction(){var A=3Dthis,C=3DbkLib.toArray(arguments),B=3DC.shift=
();return function(E){E=3DE||window.event;if(E.target){var D=3DE.target}e=
lse{var D=3DE.srcElement}return A.apply(B,[E,D].concat(C))}};
+
+
+
+var nicEditorConfig =3D bkClass.extend({
+	buttons : {
+		'bold' : {name : __('Click to Bold'), command : 'Bold', tags : ['B','S=
TRONG'], css : {'font-weight' : 'bold'}, key : 'b'},
+		'italic' : {name : __('Click to Italic'), command : 'Italic', tags : [=
'EM','I'], css : {'font-style' : 'italic'}, key : 'i'},
+		'underline' : {name : __('Click to Underline'), command : 'Underline',=
 tags : ['U'], css : {'text-decoration' : 'underline'}, key : 'u'},
+		'left' : {name : __('Left Align'), command : 'justifyleft', noActive :=
 true},
+		'center' : {name : __('Center Align'), command : 'justifycenter', noAc=
tive : true},
+		'right' : {name : __('Right Align'), command : 'justifyright', noActiv=
e : true},
+		'justify' : {name : __('Justify Align'), command : 'justifyfull', noAc=
tive : true},
+		'ol' : {name : __('Insert Ordered List'), command : 'insertorderedlist=
', tags : ['OL']},
+		'ul' : 	{name : __('Insert Unordered List'), command : 'insertunordere=
dlist', tags : ['UL']},
+		'subscript' : {name : __('Click to Subscript'), command : 'subscript',=
 tags : ['SUB']},
+		'superscript' : {name : __('Click to Superscript'), command : 'supersc=
ript', tags : ['SUP']},
+		'strikethrough' : {name : __('Click to Strike Through'), command : 'st=
rikeThrough', css : {'text-decoration' : 'line-through'}},
+		'removeformat' : {name : __('Remove Formatting'), command : 'removefor=
mat', noActive : true},
+		'indent' : {name : __('Indent Text'), command : 'indent', noActive : t=
rue},
+		'outdent' : {name : __('Remove Indent'), command : 'outdent', noActive=
 : true},
+		'hr' : {name : __('Horizontal Rule'), command : 'insertHorizontalRule'=
, noActive : true}
+	},
+	iconsPath : '../nicEditorIcons.gif',
+	buttonList : ['save','bold','italic','underline','left','center','right=
','justify','ol','ul','fontSize','fontFamily','fontFormat','indent','outd=
ent','image','upload','link','unlink','forecolor','bgcolor'],
+	iconList : {"bgcolor":1,"forecolor":2,"bold":3,"center":4,"hr":5,"inden=
t":6,"italic":7,"justify":8,"left":9,"ol":10,"outdent":11,"removeformat":=
12,"right":13,"save":24,"strikethrough":15,"subscript":16,"superscript":1=
7,"ul":18,"underline":19,"image":20,"link":21,"unlink":22,"close":23,"arr=
ow":25,"upload":26}
+=09
+});
+;
+var nicEditors=3D{nicPlugins:[],editors:[],registerPlugin:function(B,A){=
this.nicPlugins.push({p:B,o:A})},allTextAreas:function(C){var A=3Ddocumen=
t.getElementsByTagName("textarea");for(var B=3D0;B<A.length;B++){nicEdito=
rs.editors.push(new nicEditor(C).panelInstance(A[B]))}return nicEditors.e=
ditors},findEditor:function(C){var B=3DnicEditors.editors;for(var A=3D0;A=
<B.length;A++){if(B[A].instanceById(C)){return B[A].instanceById(C)}}}};v=
ar nicEditor=3DbkClass.extend({construct:function(C){this.options=3Dnew n=
icEditorConfig();bkExtend(this.options,C);this.nicInstances=3Dnew Array()=
;this.loadedPlugins=3Dnew Array();var A=3DnicEditors.nicPlugins;for(var B=
=3D0;B<A.length;B++){this.loadedPlugins.push(new A[B].p(this,A[B].o))}nic=
Editors.editors.push(this);bkLib.addEvent(document.body,"mousedown",this.=
selectCheck.closureListener(this))},panelInstance:function(B,C){B=3Dthis.=
checkReplace($BK(B));var A=3Dnew bkElement("DIV").setStyle({width:(parseI=
nt(B.getStyle("width"))||B.clientWidth)+"px"}).appendBefore(B);this.setPa=
nel(A);return this.addInstance(B,C)},checkReplace:function(B){var A=3Dnic=
Editors.findEditor(B);if(A){A.removeInstance(B);A.removePanel()}return B}=
,addInstance:function(B,C){B=3Dthis.checkReplace($BK(B));if(B.contentEdit=
able||!!window.opera){var A=3Dnew nicEditorInstance(B,C,this)}else{var A=3D=
new nicEditorIFrameInstance(B,C,this)}this.nicInstances.push(A);return th=
is},removeInstance:function(C){C=3D$BK(C);var B=3Dthis.nicInstances;for(v=
ar A=3D0;A<B.length;A++){if(B[A].e=3D=3DC){B[A].remove();this.nicInstance=
s.splice(A,1)}}},removePanel:function(A){if(this.nicPanel){this.nicPanel.=
remove();this.nicPanel=3Dnull}},instanceById:function(C){C=3D$BK(C);var B=
=3Dthis.nicInstances;for(var A=3D0;A<B.length;A++){if(B[A].e=3D=3DC){retu=
rn B[A]}}},setPanel:function(A){this.nicPanel=3Dnew nicEditorPanel($BK(A)=
,this.options,this);this.fireEvent("panel",this.nicPanel);return this},ni=
cCommand:function(B,A){if(this.selectedInstance){this.selectedInstance.ni=
cCommand(B,A)}},getIcon:function(D,A){var C=3Dthis.options.iconList[D];va=
r B=3D(A.iconFiles)?A.iconFiles[D]:"";return{backgroundImage:"url('"+((C)=
?this.options.iconsPath:B)+"')",backgroundPosition:((C)?((C-1)*-18):0)+"p=
x 0px"}},selectCheck:function(C,A){var B=3Dfalse;do{if(A.className&&A.cla=
ssName.indexOf("nicEdit")!=3D-1){return false}}while(A=3DA.parentNode);th=
is.fireEvent("blur",this.selectedInstance,A);this.lastSelectedInstance=3D=
this.selectedInstance;this.selectedInstance=3Dnull;return false}});nicEdi=
tor=3DnicEditor.extend(bkEvent);
+var nicEditorInstance=3DbkClass.extend({isSelected:false,construct:funct=
ion(G,D,C){this.ne=3DC;this.elm=3Dthis.e=3DG;this.options=3DD||{};newX=3D=
parseInt(G.getStyle("width"))||G.clientWidth;newY=3DparseInt(G.getStyle("=
height"))||G.clientHeight;this.initialHeight=3DnewY-8;var H=3D(G.nodeName=
.toLowerCase()=3D=3D"textarea");if(H||this.options.hasPanel){var B=3D(bkL=
ib.isMSIE&&!((typeof document.body.style.maxHeight!=3D"undefined")&&docum=
ent.compatMode=3D=3D"CSS1Compat"));var E=3D{width:newX+"px",border:"1px s=
olid #ccc",borderTop:0,overflowY:"auto",overflowX:"hidden"};E[(B)?"height=
":"maxHeight"]=3D(this.ne.options.maxHeight)?this.ne.options.maxHeight+"p=
x":null;this.editorContain=3Dnew bkElement("DIV").setStyle(E).appendBefor=
e(G);var A=3Dnew bkElement("DIV").setStyle({width:(newX-8)+"px",margin:"4=
px",minHeight:newY+"px"}).addClass("main").appendTo(this.editorContain);G=
.setStyle({display:"none"});A.innerHTML=3DG.innerHTML;if(H){A.setContent(=
G.value);this.copyElm=3DG;var F=3DG.parentTag("FORM");if(F){bkLib.addEven=
t(F,"submit",this.saveContent.closure(this))}}A.setStyle((B)?{height:newY=
+"px"}:{overflow:"hidden"});this.elm=3DA}this.ne.addEvent("blur",this.blu=
r.closure(this));this.init();this.blur()},init:function(){this.elm.setAtt=
ribute("contentEditable","true");if(this.getContent()=3D=3D""){this.setCo=
ntent("<br />")}this.instanceDoc=3Ddocument.defaultView;this.elm.addEvent=
("mousedown",this.selected.closureListener(this)).addEvent("keypress",thi=
s.keyDown.closureListener(this)).addEvent("focus",this.selected.closure(t=
his)).addEvent("blur",this.blur.closure(this)).addEvent("keyup",this.sele=
cted.closure(this));this.ne.fireEvent("add",this)},remove:function(){this=
.saveContent();if(this.copyElm||this.options.hasPanel){this.editorContain=
.remove();this.e.setStyle({display:"block"});this.ne.removePanel()}this.d=
isable();this.ne.fireEvent("remove",this)},disable:function(){this.elm.se=
tAttribute("contentEditable","false")},getSel:function(){return(window.ge=
tSelection)?window.getSelection():document.selection},getRng:function(){v=
ar A=3Dthis.getSel();if(!A||A.rangeCount=3D=3D=3D0){return }return(A.rang=
eCount>0)?A.getRangeAt(0):A.createRange()},selRng:function(A,B){if(window=
.getSelection){B.removeAllRanges();B.addRange(A)}else{A.select()}},selElm=
:function(){var C=3Dthis.getRng();if(!C){return }if(C.startContainer){var=
 D=3DC.startContainer;if(C.cloneContents().childNodes.length=3D=3D1){for(=
var B=3D0;B<D.childNodes.length;B++){var A=3DD.childNodes[B].ownerDocumen=
t.createRange();A.selectNode(D.childNodes[B]);if(C.compareBoundaryPoints(=
Range.START_TO_START,A)!=3D1&&C.compareBoundaryPoints(Range.END_TO_END,A)=
!=3D-1){return $BK(D.childNodes[B])}}}return $BK(D)}else{return $BK((this=
.getSel().type=3D=3D"Control")?C.item(0):C.parentElement())}},saveRng:fun=
ction(){this.savedRange=3Dthis.getRng();this.savedSel=3Dthis.getSel()},re=
storeRng:function(){if(this.savedRange){this.selRng(this.savedRange,this.=
savedSel)}},keyDown:function(B,A){if(B.ctrlKey){this.ne.fireEvent("key",t=
his,B)}},selected:function(C,A){if(!A&&!(A=3Dthis.selElm)){A=3Dthis.selEl=
m()}if(!C.ctrlKey){var B=3Dthis.ne.selectedInstance;if(B!=3Dthis){if(B){t=
his.ne.fireEvent("blur",B,A)}this.ne.selectedInstance=3Dthis;this.ne.fire=
Event("focus",B,A)}this.ne.fireEvent("selected",B,A);this.isFocused=3Dtru=
e;this.elm.addClass("selected")}return false},blur:function(){this.isFocu=
sed=3Dfalse;this.elm.removeClass("selected")},saveContent:function(){if(t=
his.copyElm||this.options.hasPanel){this.ne.fireEvent("save",this);(this.=
copyElm)?this.copyElm.value=3Dthis.getContent():this.e.innerHTML=3Dthis.g=
etContent()}},getElm:function(){return this.elm},getContent:function(){th=
is.content=3Dthis.getElm().innerHTML;this.ne.fireEvent("get",this);return=
 this.content},setContent:function(A){this.content=3DA;this.ne.fireEvent(=
"set",this);this.elm.innerHTML=3Dthis.content},nicCommand:function(B,A){d=
ocument.execCommand(B,false,A)}});
+var nicEditorIFrameInstance=3DnicEditorInstance.extend({savedStyles:[],i=
nit:function(){var B=3Dthis.elm.innerHTML.replace(/^\s+|\s+$/g,"");this.e=
lm.innerHTML=3D"";(!B)?B=3D"<br />":B;this.initialContent=3DB;this.elmFra=
me=3Dnew bkElement("iframe").setAttributes({src:"javascript:;",frameBorde=
r:0,allowTransparency:"true",scrolling:"no"}).setStyle({height:"100px",wi=
dth:"100%"}).addClass("frame").appendTo(this.elm);if(this.copyElm){this.e=
lmFrame.setStyle({width:(this.elm.offsetWidth-4)+"px"})}var A=3D["font-si=
ze","font-family","font-weight","color"];for(itm in A){this.savedStyles[b=
kLib.camelize(itm)]=3Dthis.elm.getStyle(itm)}setTimeout(this.initFrame.cl=
osure(this),50)},disable:function(){this.elm.innerHTML=3Dthis.getContent(=
)},initFrame:function(){var B=3D$BK(this.elmFrame.contentWindow.document)=
;B.designMode=3D"on";B.open();var A=3Dthis.ne.options.externalCSS;B.write=
("<html><head>"+((A)?'<link href=3D"'+A+'" rel=3D"stylesheet" type=3D"tex=
t/css" />':"")+'</head><body id=3D"nicEditContent" style=3D"margin: 0 !im=
portant; background-color: transparent !important;">'+this.initialContent=
+"</body></html>");B.close();this.frameDoc=3DB;this.frameWin=3D$BK(this.e=
lmFrame.contentWindow);this.frameContent=3D$BK(this.frameWin.document.bod=
y).setStyle(this.savedStyles);this.instanceDoc=3Dthis.frameWin.document.d=
efaultView;this.heightUpdate();this.frameDoc.addEvent("mousedown",this.se=
lected.closureListener(this)).addEvent("keyup",this.heightUpdate.closureL=
istener(this)).addEvent("keydown",this.keyDown.closureListener(this)).add=
Event("keyup",this.selected.closure(this));this.ne.fireEvent("add",this)}=
,getElm:function(){return this.frameContent},setContent:function(A){this.=
content=3DA;this.ne.fireEvent("set",this);this.frameContent.innerHTML=3Dt=
his.content;this.heightUpdate()},getSel:function(){return(this.frameWin)?=
this.frameWin.getSelection():this.frameDoc.selection},heightUpdate:functi=
on(){this.elmFrame.style.height=3DMath.max(this.frameContent.offsetHeight=
,this.initialHeight)+"px"},nicCommand:function(B,A){this.frameDoc.execCom=
mand(B,false,A);setTimeout(this.heightUpdate.closure(this),100)}});
+var nicEditorPanel=3DbkClass.extend({construct:function(E,B,A){this.elm=3D=
E;this.options=3DB;this.ne=3DA;this.panelButtons=3Dnew Array();this.butto=
nList=3DbkExtend([],this.ne.options.buttonList);this.panelContain=3Dnew b=
kElement("DIV").setStyle({overflow:"hidden",width:"100%",border:"1px soli=
d #cccccc",backgroundColor:"#efefef"}).addClass("panelContain");this.pane=
lElm=3Dnew bkElement("DIV").setStyle({margin:"2px",marginTop:"0px",zoom:1=
,overflow:"hidden"}).addClass("panel").appendTo(this.panelContain);this.p=
anelContain.appendTo(E);var C=3Dthis.ne.options;var D=3DC.buttons;for(but=
ton in D){this.addButton(button,C,true)}this.reorder();E.noSelect()},addB=
utton:function(buttonName,options,noOrder){var button=3Doptions.buttons[b=
uttonName];var type=3D(button.type)?eval("(typeof("+button.type+') =3D=3D=
 "undefined") ? null : '+button.type+";"):nicEditorButton;var hasButton=3D=
bkLib.inArray(this.buttonList,buttonName);if(type&&(hasButton||this.ne.op=
tions.fullPanel)){this.panelButtons.push(new type(this.panelElm,buttonNam=
e,options,this.ne));if(!hasButton){this.buttonList.push(buttonName)}}},fi=
ndButton:function(B){for(var A=3D0;A<this.panelButtons.length;A++){if(thi=
s.panelButtons[A].name=3D=3DB){return this.panelButtons[A]}}},reorder:fun=
ction(){var C=3Dthis.buttonList;for(var B=3D0;B<C.length;B++){var A=3Dthi=
s.findButton(C[B]);if(A){this.panelElm.appendChild(A.margin)}}},remove:fu=
nction(){this.elm.remove()}});
+var nicEditorButton=3DbkClass.extend({construct:function(D,A,C,B){this.o=
ptions=3DC.buttons[A];this.name=3DA;this.ne=3DB;this.elm=3DD;this.margin=3D=
new bkElement("DIV").setStyle({"float":"left",marginTop:"2px"}).appendTo(=
D);this.contain=3Dnew bkElement("DIV").setStyle({width:"20px",height:"20p=
x"}).addClass("buttonContain").appendTo(this.margin);this.border=3Dnew bk=
Element("DIV").setStyle({backgroundColor:"#efefef",border:"1px solid #efe=
fef"}).appendTo(this.contain);this.button=3Dnew bkElement("DIV").setStyle=
({width:"18px",height:"18px",overflow:"hidden",zoom:1,cursor:"pointer"}).=
addClass("button").setStyle(this.ne.getIcon(A,C)).appendTo(this.border);t=
his.button.addEvent("mouseover",this.hoverOn.closure(this)).addEvent("mou=
seout",this.hoverOff.closure(this)).addEvent("mousedown",this.mouseClick.=
closure(this)).noSelect();if(!window.opera){this.button.onmousedown=3Dthi=
s.button.onclick=3DbkLib.cancelEvent}B.addEvent("selected",this.enable.cl=
osure(this)).addEvent("blur",this.disable.closure(this)).addEvent("key",t=
his.key.closure(this));this.disable();this.init()},init:function(){},hide=
:function(){this.contain.setStyle({display:"none"})},updateState:function=
(){if(this.isDisabled){this.setBg()}else{if(this.isHover){this.setBg("hov=
er")}else{if(this.isActive){this.setBg("active")}else{this.setBg()}}}},se=
tBg:function(A){switch(A){case"hover":var B=3D{border:"1px solid #666",ba=
ckgroundColor:"#ddd"};break;case"active":var B=3D{border:"1px solid #666"=
,backgroundColor:"#ccc"};break;default:var B=3D{border:"1px solid #efefef=
",backgroundColor:"#efefef"}}this.border.setStyle(B).addClass("button-"+A=
)},checkNodes:function(A){var B=3DA;do{if(this.options.tags&&bkLib.inArra=
y(this.options.tags,B.nodeName)){this.activate();return true}}while(B=3DB=
.parentNode&&B.className!=3D"nicEdit");B=3D$BK(A);while(B.nodeType=3D=3D3=
){B=3D$BK(B.parentNode)}if(this.options.css){for(itm in this.options.css)=
{if(B.getStyle(itm,this.ne.selectedInstance.instanceDoc)=3D=3Dthis.option=
s.css[itm]){this.activate();return true}}}this.deactivate();return false}=
,activate:function(){if(!this.isDisabled){this.isActive=3Dtrue;this.updat=
eState();this.ne.fireEvent("buttonActivate",this)}},deactivate:function()=
{this.isActive=3Dfalse;this.updateState();if(!this.isDisabled){this.ne.fi=
reEvent("buttonDeactivate",this)}},enable:function(A,B){this.isDisabled=3D=
false;this.contain.setStyle({opacity:1}).addClass("buttonEnabled");this.u=
pdateState();this.checkNodes(B)},disable:function(A,B){this.isDisabled=3D=
true;this.contain.setStyle({opacity:0.6}).removeClass("buttonEnabled");th=
is.updateState()},toggleActive:function(){(this.isActive)?this.deactivate=
():this.activate()},hoverOn:function(){if(!this.isDisabled){this.isHover=3D=
true;this.updateState();this.ne.fireEvent("buttonOver",this)}},hoverOff:f=
unction(){this.isHover=3Dfalse;this.updateState();this.ne.fireEvent("butt=
onOut",this)},mouseClick:function(){if(this.options.command){this.ne.nicC=
ommand(this.options.command,this.options.commandArgs);if(!this.options.no=
Active){this.toggleActive()}}this.ne.fireEvent("buttonClick",this)},key:f=
unction(A,B){if(this.options.key&&B.ctrlKey&&String.fromCharCode(B.keyCod=
e||B.charCode).toLowerCase()=3D=3Dthis.options.key){this.mouseClick();if(=
B.preventDefault){B.preventDefault()}}}});
+var nicPlugin=3DbkClass.extend({construct:function(B,A){this.options=3DA=
;this.ne=3DB;this.ne.addEvent("panel",this.loadPanel.closure(this));this.=
init()},loadPanel:function(C){var B=3Dthis.options.buttons;for(var A in B=
){C.addButton(A,this.options)}C.reorder()},init:function(){}});
+
+
+var nicPaneOptions =3D { };
+
+var nicEditorPane=3DbkClass.extend({construct:function(D,C,B,A){this.ne=3D=
C;this.elm=3DD;this.pos=3DD.pos();this.contain=3Dnew bkElement("div").set=
Style({zIndex:"99999",overflow:"hidden",position:"absolute",left:this.pos=
[0]+"px",top:this.pos[1]+"px"});this.pane=3Dnew bkElement("div").setStyle=
({fontSize:"12px",border:"1px solid #ccc",overflow:"hidden",padding:"4px"=
,textAlign:"left",backgroundColor:"#ffffc9"}).addClass("pane").setStyle(B=
).appendTo(this.contain);if(A&&!A.options.noClose){this.close=3Dnew bkEle=
ment("div").setStyle({"float":"right",height:"16px",width:"16px",cursor:"=
pointer"}).setStyle(this.ne.getIcon("close",nicPaneOptions)).addEvent("mo=
usedown",A.removePane.closure(this)).appendTo(this.pane)}this.contain.noS=
elect().appendTo(document.body);this.position();this.init()},init:functio=
n(){},position:function(){if(this.ne.nicPanel){var B=3Dthis.ne.nicPanel.e=
lm;var A=3DB.pos();var C=3DA[0]+parseInt(B.getStyle("width"))-(parseInt(t=
his.pane.getStyle("width"))+8);if(C<this.pos[0]){this.contain.setStyle({l=
eft:C+"px"})}}},toggle:function(){this.isVisible=3D!this.isVisible;this.c=
ontain.setStyle({display:((this.isVisible)?"block":"none")})},remove:func=
tion(){if(this.contain){this.contain.remove();this.contain=3Dnull}},appen=
d:function(A){A.appendTo(this.pane)},setContent:function(A){this.pane.set=
Content(A)}});
+
+var nicEditorAdvancedButton=3DnicEditorButton.extend({init:function(){th=
is.ne.addEvent("selected",this.removePane.closure(this)).addEvent("blur",=
this.removePane.closure(this))},mouseClick:function(){if(!this.isDisabled=
){if(this.pane&&this.pane.pane){this.removePane()}else{this.pane=3Dnew ni=
cEditorPane(this.contain,this.ne,{width:(this.width||"270px"),backgroundC=
olor:"#fff"},this);this.addPane();this.ne.selectedInstance.saveRng()}}},a=
ddForm:function(C,G){this.form=3Dnew bkElement("form").addEvent("submit",=
this.submit.closureListener(this));this.pane.append(this.form);this.input=
s=3D{};for(itm in C){var D=3DC[itm];var F=3D"";if(G){F=3DG.getAttribute(i=
tm)}if(!F){F=3DD.value||""}var A=3DC[itm].type;if(A=3D=3D"title"){new bkE=
lement("div").setContent(D.txt).setStyle({fontSize:"14px",fontWeight:"bol=
d",padding:"0px",margin:"2px 0"}).appendTo(this.form)}else{var B=3Dnew bk=
Element("div").setStyle({overflow:"hidden",clear:"both"}).appendTo(this.f=
orm);if(D.txt){new bkElement("label").setAttributes({"for":itm}).setConte=
nt(D.txt).setStyle({margin:"2px 4px",fontSize:"13px",width:"50px",lineHei=
ght:"20px",textAlign:"right","float":"left"}).appendTo(B)}switch(A){case"=
text":this.inputs[itm]=3Dnew bkElement("input").setAttributes({id:itm,val=
ue:F,type:"text"}).setStyle({margin:"2px 0",fontSize:"13px","float":"left=
",height:"20px",border:"1px solid #ccc",overflow:"hidden"}).setStyle(D.st=
yle).appendTo(B);break;case"select":this.inputs[itm]=3Dnew bkElement("sel=
ect").setAttributes({id:itm}).setStyle({border:"1px solid #ccc","float":"=
left",margin:"2px 0"}).appendTo(B);for(opt in D.options){var E=3Dnew bkEl=
ement("option").setAttributes({value:opt,selected:(opt=3D=3DF)?"selected"=
:""}).setContent(D.options[opt]).appendTo(this.inputs[itm])}break;case"co=
ntent":this.inputs[itm]=3Dnew bkElement("textarea").setAttributes({id:itm=
}).setStyle({border:"1px solid #ccc","float":"left"}).setStyle(D.style).a=
ppendTo(B);this.inputs[itm].value=3DF}}}new bkElement("input").setAttribu=
tes({type:"submit"}).setStyle({backgroundColor:"#efefef",border:"1px soli=
d #ccc",margin:"3px 0","float":"left",clear:"both"}).appendTo(this.form);=
this.form.onsubmit=3DbkLib.cancelEvent},submit:function(){},findElm:funct=
ion(B,A,E){var D=3Dthis.ne.selectedInstance.getElm().getElementsByTagName=
(B);for(var C=3D0;C<D.length;C++){if(D[C].getAttribute(A)=3D=3DE){return =
$BK(D[C])}}},removePane:function(){if(this.pane){this.pane.remove();this.=
pane=3Dnull;this.ne.selectedInstance.restoreRng()}}});
+
+var nicButtonTips=3DbkClass.extend({construct:function(A){this.ne=3DA;A.=
addEvent("buttonOver",this.show.closure(this)).addEvent("buttonOut",this.=
hide.closure(this))},show:function(A){this.timer=3DsetTimeout(this.create=
.closure(this,A),400)},create:function(A){this.timer=3Dnull;if(!this.pane=
){this.pane=3Dnew nicEditorPane(A.button,this.ne,{fontSize:"12px",marginT=
op:"5px"});this.pane.setContent(A.options.name)}},hide:function(A){if(thi=
s.timer){clearTimeout(this.timer)}if(this.pane){this.pane=3Dthis.pane.rem=
ove()}}});nicEditors.registerPlugin(nicButtonTips);
+
+
+var nicSelectOptions =3D {
+	buttons : {
+		'fontSize' : {name : __('Select Font Size'), type : 'nicEditorFontSize=
Select', command : 'fontsize'},
+		'fontFamily' : {name : __('Select Font Family'), type : 'nicEditorFont=
FamilySelect', command : 'fontname'},
+		'fontFormat' : {name : __('Select Font Format'), type : 'nicEditorFont=
FormatSelect', command : 'formatBlock'}
+	}
+};
+
+var nicEditorSelect=3DbkClass.extend({construct:function(D,A,C,B){this.o=
ptions=3DC.buttons[A];this.elm=3DD;this.ne=3DB;this.name=3DA;this.selOpti=
ons=3Dnew Array();this.margin=3Dnew bkElement("div").setStyle({"float":"l=
eft",margin:"2px 1px 0 1px"}).appendTo(this.elm);this.contain=3Dnew bkEle=
ment("div").setStyle({width:"90px",height:"20px",cursor:"pointer",overflo=
w:"hidden"}).addClass("selectContain").addEvent("click",this.toggle.closu=
re(this)).appendTo(this.margin);this.items=3Dnew bkElement("div").setStyl=
e({overflow:"hidden",zoom:1,border:"1px solid #ccc",paddingLeft:"3px",bac=
kgroundColor:"#fff"}).appendTo(this.contain);this.control=3Dnew bkElement=
("div").setStyle({overflow:"hidden","float":"right",height:"18px",width:"=
16px"}).addClass("selectControl").setStyle(this.ne.getIcon("arrow",C)).ap=
pendTo(this.items);this.txt=3Dnew bkElement("div").setStyle({overflow:"hi=
dden","float":"left",width:"66px",height:"14px",marginTop:"1px",fontFamil=
y:"sans-serif",textAlign:"center",fontSize:"12px"}).addClass("selectTxt")=
.appendTo(this.items);if(!window.opera){this.contain.onmousedown=3Dthis.c=
ontrol.onmousedown=3Dthis.txt.onmousedown=3DbkLib.cancelEvent}this.margin=
.noSelect();this.ne.addEvent("selected",this.enable.closure(this)).addEve=
nt("blur",this.disable.closure(this));this.disable();this.init()},disable=
:function(){this.isDisabled=3Dtrue;this.close();this.contain.setStyle({op=
acity:0.6})},enable:function(A){this.isDisabled=3Dfalse;this.close();this=
.contain.setStyle({opacity:1})},setDisplay:function(A){this.txt.setConten=
t(A)},toggle:function(){if(!this.isDisabled){(this.pane)?this.close():thi=
s.open()}},open:function(){this.pane=3Dnew nicEditorPane(this.items,this.=
ne,{width:"88px",padding:"0px",borderTop:0,borderLeft:"1px solid #ccc",bo=
rderRight:"1px solid #ccc",borderBottom:"0px",backgroundColor:"#fff"});fo=
r(var C=3D0;C<this.selOptions.length;C++){var B=3Dthis.selOptions[C];var =
A=3Dnew bkElement("div").setStyle({overflow:"hidden",borderBottom:"1px so=
lid #ccc",width:"88px",textAlign:"left",overflow:"hidden",cursor:"pointer=
"});var D=3Dnew bkElement("div").setStyle({padding:"0px 4px"}).setContent=
(B[1]).appendTo(A).noSelect();D.addEvent("click",this.update.closure(this=
,B[0])).addEvent("mouseover",this.over.closure(this,D)).addEvent("mouseou=
t",this.out.closure(this,D)).setAttributes("id",B[0]);this.pane.append(A)=
;if(!window.opera){D.onmousedown=3DbkLib.cancelEvent}}},close:function(){=
if(this.pane){this.pane=3Dthis.pane.remove()}},over:function(A){A.setStyl=
e({backgroundColor:"#ccc"})},out:function(A){A.setStyle({backgroundColor:=
"#fff"})},add:function(B,A){this.selOptions.push(new Array(B,A))},update:=
function(A){this.ne.nicCommand(this.options.command,A);this.close()}});va=
r nicEditorFontSizeSelect=3DnicEditorSelect.extend({sel:{1:"1&nbsp;(8pt)"=
,2:"2&nbsp;(10pt)",3:"3&nbsp;(12pt)",4:"4&nbsp;(14pt)",5:"5&nbsp;(18pt)",=
6:"6&nbsp;(24pt)"},init:function(){this.setDisplay("Font&nbsp;Size...");f=
or(itm in this.sel){this.add(itm,'<font size=3D"'+itm+'">'+this.sel[itm]+=
"</font>")}}});var nicEditorFontFamilySelect=3DnicEditorSelect.extend({se=
l:{arial:"Arial","comic sans ms":"Comic Sans","courier new":"Courier New"=
,georgia:"Georgia",helvetica:"Helvetica",impact:"Impact","times new roman=
":"Times","trebuchet ms":"Trebuchet",verdana:"Verdana"},init:function(){t=
his.setDisplay("Font&nbsp;Family...");for(itm in this.sel){this.add(itm,'=
<font face=3D"'+itm+'">'+this.sel[itm]+"</font>")}}});var nicEditorFontFo=
rmatSelect=3DnicEditorSelect.extend({sel:{p:"Paragraph",pre:"Pre",h6:"Hea=
ding&nbsp;6",h5:"Heading&nbsp;5",h4:"Heading&nbsp;4",h3:"Heading&nbsp;3",=
h2:"Heading&nbsp;2",h1:"Heading&nbsp;1"},init:function(){this.setDisplay(=
"Font&nbsp;Format...");for(itm in this.sel){var A=3Ditm.toUpperCase();thi=
s.add("<"+A+">","<"+itm+' style=3D"padding: 0px; margin: 0px;">'+this.sel=
[itm]+"</"+A+">")}}});nicEditors.registerPlugin(nicPlugin,nicSelectOption=
s);
+
+
+var nicLinkOptions =3D {
+	buttons : {
+		'link' : {name : 'Add Link', type : 'nicLinkButton', tags : ['A']},
+		'unlink' : {name : 'Remove Link',  command : 'unlink', noActive : true=
}
+	}
+};
+
+var nicLinkButton=3DnicEditorAdvancedButton.extend({addPane:function(){t=
his.ln=3Dthis.ne.selectedInstance.selElm().parentTag("A");this.addForm({"=
":{type:"title",txt:"Add/Edit Link"},href:{type:"text",txt:"URL",value:"h=
ttp://",style:{width:"150px"}},title:{type:"text",txt:"Title"},target:{ty=
pe:"select",txt:"Open In",options:{"":"Current Window",_blank:"New Window=
"},style:{width:"100px"}}},this.ln)},submit:function(C){var A=3Dthis.inpu=
ts.href.value;if(A=3D=3D"http://"||A=3D=3D""){alert("You must enter a URL=
 to Create a Link");return false}this.removePane();if(!this.ln){var B=3D"=
javascript:nicTemp();";this.ne.nicCommand("createlink",B);this.ln=3Dthis.=
findElm("A","href",B)}if(this.ln){this.ln.setAttributes({href:this.inputs=
.href.value,title:this.inputs.title.value,target:this.inputs.target.optio=
ns[this.inputs.target.selectedIndex].value})}}});nicEditors.registerPlugi=
n(nicPlugin,nicLinkOptions);
+
+
+var nicColorOptions =3D {
+	buttons : {
+		'forecolor' : {name : __('Change Text Color'), type : 'nicEditorColorB=
utton', noClose : true},
+		'bgcolor' : {name : __('Change Background Color'), type : 'nicEditorBg=
ColorButton', noClose : true}
+	}
+};
+
+var nicEditorColorButton=3DnicEditorAdvancedButton.extend({addPane:funct=
ion(){var D=3D{0:"00",1:"33",2:"66",3:"99",4:"CC",5:"FF"};var H=3Dnew bkE=
lement("DIV").setStyle({width:"270px"});for(var A in D){for(var F in D){f=
or(var E in D){var I=3D"#"+D[A]+D[E]+D[F];var C=3Dnew bkElement("DIV").se=
tStyle({cursor:"pointer",height:"15px","float":"left"}).appendTo(H);var G=
=3Dnew bkElement("DIV").setStyle({border:"2px solid "+I}).appendTo(C);var=
 B=3Dnew bkElement("DIV").setStyle({backgroundColor:I,overflow:"hidden",w=
idth:"11px",height:"11px"}).addEvent("click",this.colorSelect.closure(thi=
s,I)).addEvent("mouseover",this.on.closure(this,G)).addEvent("mouseout",t=
his.off.closure(this,G,I)).appendTo(G);if(!window.opera){C.onmousedown=3D=
B.onmousedown=3DbkLib.cancelEvent}}}}this.pane.append(H.noSelect())},colo=
rSelect:function(A){this.ne.nicCommand("foreColor",A);this.removePane()},=
on:function(A){A.setStyle({border:"2px solid #000"})},off:function(A,B){A=
.setStyle({border:"2px solid "+B})}});var nicEditorBgColorButton=3DnicEdi=
torColorButton.extend({colorSelect:function(A){this.ne.nicCommand("hilite=
Color",A);this.removePane()}});nicEditors.registerPlugin(nicPlugin,nicCol=
orOptions);
+
+
+var nicImageOptions =3D {
+	buttons : {
+		'image' : {name : 'Add Image', type : 'nicImageButton', tags : ['IMG']=
}
+	}
+=09
+};
+
+var nicImageButton=3DnicEditorAdvancedButton.extend({addPane:function(){=
this.im=3Dthis.ne.selectedInstance.selElm().parentTag("IMG");this.addForm=
({"":{type:"title",txt:"Add/Edit Image"},src:{type:"text",txt:"URL",value=
:"http://",style:{width:"150px"}},alt:{type:"text",txt:"Alt Text",style:{=
width:"100px"}},align:{type:"select",txt:"Align",options:{none:"Default",=
left:"Left",right:"Right"}}},this.im)},submit:function(B){var C=3Dthis.in=
puts.src.value;if(C=3D=3D""||C=3D=3D"http://"){alert("You must enter a Im=
age URL to insert");return false}this.removePane();if(!this.im){var A=3D"=
javascript:nicImTemp();";this.ne.nicCommand("insertImage",A);this.im=3Dth=
is.findElm("IMG","src",A)}if(this.im){this.im.setAttributes({src:this.inp=
uts.src.value,alt:this.inputs.alt.value,align:this.inputs.align.value})}}=
});nicEditors.registerPlugin(nicPlugin,nicImageOptions);
+
+
+var nicSaveOptions =3D {
+	buttons : {
+		'save' : {name : __('Save this content'), type : 'nicEditorSaveButton'=
}
+	}
+};
+
+var nicEditorSaveButton=3DnicEditorButton.extend({init:function(){if(!th=
is.ne.options.onSave){this.margin.setStyle({display:"none"})}},mouseClick=
:function(){var B=3Dthis.ne.options.onSave;var A=3Dthis.ne.selectedInstan=
ce;B(A.getContent(),A.elm.id,A)}});nicEditors.registerPlugin(nicPlugin,ni=
cSaveOptions);
+
+
+var nicUploadOptions =3D {
+	buttons : {
+		'upload' : {name : 'Upload Image', type : 'nicUploadButton'}
+	}
+=09
+};
+
+var nicUploadButton=3DnicEditorAdvancedButton.extend({nicURI:"http://api=
.imgur.com/2/upload.json",errorText:"Failed to upload image",addPane:func=
tion(){if(typeof window.FormData=3D=3D=3D"undefined"){return this.onError=
("Image uploads are not supported in this browser, use Chrome, Firefox, o=
r Safari instead.")}this.im=3Dthis.ne.selectedInstance.selElm().parentTag=
("IMG");var A=3Dnew bkElement("div").setStyle({padding:"10px"}).appendTo(=
this.pane.pane);new bkElement("div").setStyle({fontSize:"14px",fontWeight=
:"bold",paddingBottom:"5px"}).setContent("Insert an Image").appendTo(A);t=
his.fileInput=3Dnew bkElement("input").setAttributes({type:"file"}).appen=
dTo(A);this.progress=3Dnew bkElement("progress").setStyle({width:"100%",d=
isplay:"none"}).setAttributes("max",100).appendTo(A);this.fileInput.oncha=
nge=3Dthis.uploadFile.closure(this)},onError:function(A){this.removePane(=
);alert(A||"Failed to upload image")},uploadFile:function(){var B=3Dthis.=
fileInput.files[0];if(!B||!B.type.match(/image.*/)){this.onError("Only im=
age files can be uploaded");return }this.fileInput.setStyle({display:"non=
e"});this.setProgress(0);var A=3Dnew FormData();A.append("image",B);A.app=
end("key","b7ea18a4ecbda8e92203fa4968d10660");var C=3Dnew XMLHttpRequest(=
);C.open("POST",this.ne.options.uploadURI||this.nicURI);C.onload=3Dfuncti=
on(){try{var D=3DJSON.parse(C.responseText)}catch(E){return this.onError(=
)}this.onUploaded(D.upload)}.closure(this);C.onerror=3Dthis.onError.closu=
re(this);C.upload.onprogress=3Dfunction(D){this.setProgress(D.loaded/D.to=
tal)}.closure(this);C.send(A)},setProgress:function(A){this.progress.setS=
tyle({display:"block"});if(A<0.98){this.progress.value=3DA}else{this.prog=
ress.removeAttribute("value")}},onUploaded:function(B){this.removePane();=
var D=3DB.links.original;if(!this.im){this.ne.selectedInstance.restoreRng=
();var C=3D"javascript:nicImTemp();";this.ne.nicCommand("insertImage",D);=
this.im=3Dthis.findElm("IMG","src",D)}var A=3DparseInt(this.ne.selectedIn=
stance.elm.getStyle("width"));if(this.im){this.im.setAttributes({src:D,wi=
dth:(A&&B.image.width)?Math.min(A,B.image.width):""})}}});nicEditors.regi=
sterPlugin(nicPlugin,nicUploadOptions);
+

Added: phpcompta/tags/rel650/html/js/nicEditorIcons.gif
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(Binary files differ)


Property changes on: phpcompta/tags/rel650/html/js/nicEditorIcons.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 15:50:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTHpc-0002VO-Pr
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 15:50:36 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 20:43:04 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714169.1351626635.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5146 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 19:50:35 -0000

Author: danydb
Date: 2012-10-30 20:43:04 +0100 (Tue, 30 Oct 2012)
New Revision: 5146

Modified:
   phpcompta/tags/rel650/include/class_ibutton.php
Log:
add a label to ibutton

Modified: phpcompta/tags/rel650/include/class_ibutton.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_ibutton.php	2012-10-30 19:42:45 U=
TC (rev 5145)
+++ phpcompta/tags/rel650/include/class_ibutton.php	2012-10-30 19:43:04 U=
TC (rev 5146)
@@ -32,6 +32,7 @@
     {
         $this->name=3D($p_name=3D=3Dnull)?$this->name:$p_name;
         $this->value=3D($p_value=3D=3Dnull)?$this->value:$p_value;
+		$this->label=3D(trim($this->label) !=3D '')?$this->label:$this->value;
         if ( $this->readOnly=3D=3Dtrue) return $this->display();
         $extra=3D ( isset($this->extra))?$this->extra:"";
         $this->id=3D($this->id=3D=3D"")?$this->name:$this->id;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 15:51:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTHqP-0002vE-Vf
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 15:51:25 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 20:43:43 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714171.1351626684.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5147 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 19:51:24 -0000

Author: danydb
Date: 2012-10-30 20:43:43 +0100 (Tue, 30 Oct 2012)
New Revision: 5147

Modified:
   phpcompta/tags/rel650/include/function_javascript.php
Log:
add niceEdit.js

Modified: phpcompta/tags/rel650/include/function_javascript.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/function_javascript.php	2012-10-30 19:4=
3:04 UTC (rev 5146)
+++ phpcompta/tags/rel650/include/function_javascript.php	2012-10-30 19:4=
3:43 UTC (rev 5147)
@@ -2756,6 +2756,7 @@
     echo js_include('todo_list.js');
     echo js_include('anc_script.js');
     echo js_include('sorttable.js');
+    echo js_include('nicEdit.js');
=20
=20
 }



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 15:51:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTHqw-0002wj-4J
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 15:51:58 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 20:44:20 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714172.1351626717.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5148 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 19:51:56 -0000

Author: danydb
Date: 2012-10-30 20:44:20 +0100 (Tue, 30 Oct 2012)
New Revision: 5148

Modified:
   phpcompta/tags/rel650/include/class_user.php
Log:
get_folder_access must also test global admin

Modified: phpcompta/tags/rel650/include/class_user.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_user.php	2012-10-30 19:43:43 UTC =
(rev 5147)
+++ phpcompta/tags/rel650/include/class_user.php	2012-10-30 19:44:20 UTC =
(rev 5148)
@@ -204,7 +204,7 @@
=20
 		if ($p_dossier =3D=3D 0)
 			$p_dossier =3D dossier::id();
-		if ($this->is_local_admin($p_dossier) =3D=3D 1)
+		if ($this->is_local_admin($p_dossier) =3D=3D 1 || $this->admin =3D=3D =
1)
 			return 'L';
 		$cn =3D new Database();
=20



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 15:58:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTHxO-0003uj-1v
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 15:58:38 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 20:42:46 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714222.1351627117.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5145 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 19:58:37 -0000

Author: danydb
Date: 2012-10-30 20:42:45 +0100 (Tue, 30 Oct 2012)
New Revision: 5145

Modified:
   phpcompta/tags/rel650/include/class_html_input.php
Log:
add id to submit button

Modified: phpcompta/tags/rel650/include/class_html_input.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_html_input.php	2012-10-30 19:41:2=
9 UTC (rev 5144)
+++ phpcompta/tags/rel650/include/class_html_input.php	2012-10-30 19:42:4=
5 UTC (rev 5145)
@@ -178,7 +178,7 @@
     static   function submit ($p_name,$p_value,$p_javascript=3D"")
     {
=20
-        return '<INPUT TYPE=3D"SUBMIT" class=3D"button" NAME=3D"'.$p_nam=
e.'" VALUE=3D"'.$p_value.'" '.$p_javascript.'>';
+        return '<INPUT TYPE=3D"SUBMIT" class=3D"button" NAME=3D"'.$p_nam=
e.'" ID=3D"'.$p_name.'_submit_id"  VALUE=3D"'.$p_value.'" '.$p_javascript=
.'>';
     }
     static   function button ($p_name,$p_value,$p_javascript=3D"")
     {



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 17:21:59 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTJG3-0002gV-IB
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 17:21:59 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 22:14:27 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714755.1351632118.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5149 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 21:21:58 -0000

Author: danydb
Date: 2012-10-30 22:14:26 +0100 (Tue, 30 Oct 2012)
New Revision: 5149

Modified:
   phpcompta/tags/rel650/include/class_fiche_def.php
Log:
0000755: Erreur en cr?\195?\169ation de fiche avec un compte (455) d?\195=
?\169j?\195?\160 utilis?\195?\169.

Modified: phpcompta/tags/rel650/include/class_fiche_def.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/class_fiche_def.php	2012-10-30 19:44:20=
 UTC (rev 5148)
+++ phpcompta/tags/rel650/include/class_fiche_def.php	2012-10-30 21:14:26=
 UTC (rev 5149)
@@ -254,15 +254,13 @@
                 $sql=3D"select account_add($1,$2)";
                 $Res=3D$this->cn->exec_sql($sql,array($p_class_base,$p_n=
om_mod));
             }
+			// Get the fd_id
+			$fd_id=3D$this->cn->get_current_seq('s_fdef');
=20
-            // Get the fd_id
-            $fd_id=3D$this->cn->get_current_seq('s_fdef');
-
-            // update jnt_fic_attr
-            $sql=3Dsprintf("insert into jnt_fic_attr(fd_id,ad_id,jnt_ord=
er)
-                         values (%d,%d,10)",$fd_id,ATTR_DEF_ACCOUNT);
-            $Res=3D$this->cn->exec_sql($sql);
-
+			// update jnt_fic_attr
+			$sql=3Dsprintf("insert into jnt_fic_attr(fd_id,ad_id,jnt_order)
+					 values (%d,%d,10)",$fd_id,ATTR_DEF_ACCOUNT);
+			$Res=3D$this->cn->exec_sql($sql);
         }
         else
         {
@@ -291,11 +289,15 @@
 				$order=3D$jnt_order;
                 if ( $v['ad_id'] =3D=3D ATTR_DEF_NAME )
                     $order=3D0;
-                $sql=3Dsprintf("insert into jnt_fic_Attr(fd_id,ad_id,jnt=
_order)
+				$count=3D$this->cn->get_value("select count(*) from jnt_fic_attr whe=
re fd_id=3D$1 and ad_id=3D$2",array($fd_id,$v['ad_id']));
+				if ($count =3D=3D 0)
+				{
+					$sql=3Dsprintf("insert into jnt_fic_Attr(fd_id,ad_id,jnt_order)
                              values (%d,%s,%d)",
                              $fd_id,$v['ad_id'],$order);
-                $this->cn->exec_sql($sql);
-				$jnt_order+=3D10;
+					$this->cn->exec_sql($sql);
+					$jnt_order+=3D10;
+				}
             }
         }
         $this->id=3D$fd_id;



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 17:27:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTJLW-0003hG-TY
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 17:27:38 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 22:20:07 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714765.1351632458.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5150 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 21:27:37 -0000

Author: danydb
Date: 2012-10-30 22:20:07 +0100 (Tue, 30 Oct 2012)
New Revision: 5150

Modified:
   phpcompta/tags/rel650/include/user_menu.php
Log:
0000744: (classe) 5Actif
0000746: ajouter un espace l?\195?\160 o?\195?\185 il faut

Modified: phpcompta/tags/rel650/include/user_menu.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/user_menu.php	2012-10-30 21:14:26 UTC (=
rev 5149)
+++ phpcompta/tags/rel650/include/user_menu.php	2012-10-30 21:20:07 UTC (=
rev 5150)
@@ -135,15 +135,15 @@
     $base=3D"?ac=3D".$_REQUEST['ac'];
     $str_dossier=3D"&".dossier::get();
     echo '<TABLE>';
-    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D0'.$str_dossier.'">0'._(' Hors Bilan').' </A></TD></TR>';
-    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D1'.$str_dossier.'">1'._(' Immobilis=C3=A9').' </A></TD></TR>'=
;
+    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D0'.$str_dossier.'">0 '._(' Hors Bilan').' </A></TD></TR>';
+    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D1'.$str_dossier.'">1 '._(' Immobilis=C3=A9').' </A></TD></TR>=
';
     echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D2'.$str_dossier.'">2 '._('Actif a un an au plus').'</A></TD><=
/TR>';
     echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D3'.$str_dossier.'">3 '._('Stock et commande').'</A></TD></TR>=
';
     echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D4'.$str_dossier.'">4 '._('Compte tiers').'</A></TD></TR>';
-    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D5'.$str_dossier.'">5'._('Actif').'</A></TD></TR>';
-    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D6'.$str_dossier.'">6'._('Charges').'</A></TD></TR>';
-    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D7'.$str_dossier.'">7'._('Produits').'</A></TD></TR>';
-    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D8'.$str_dossier.'">8'._('Hors Comptabilit=C3=A9').'</A></TD></=
TR>';
+    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D5'.$str_dossier.'">5 '._('Financier').'</A></TD></TR>';
+    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle"  HREF=3D"'.$base.=
'&p_start=3D6'.$str_dossier.'">6 '._('Charges').'</A></TD></TR>';
+    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D7'.$str_dossier.'">7 '._('Produits').'</A></TD></TR>';
+    echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D8'.$str_dossier.'">8 '._('Hors Comptabilit=C3=A9').'</A></TD><=
/TR>';
     echo '<TR><TD class=3D"mtitle"><A class=3D"mtitle" HREF=3D"'.$base.'=
&p_start=3D9'.$str_dossier.'">9 '._('Hors Comptabilit=C3=A9').'</A></TD><=
/TR>';
     echo "</TABLE>";
 }



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


From MAILER-DAEMON Tue Oct 30 17:32:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTJQg-0004XV-PG
	for mharc-phpcompta-dev@gnu.org; Tue, 30 Oct 2012 17:32:58 -0400
To: phpcompta-dev@nongnu.org
Content-Type: text/plain; charset=UTF-8
Date: Tue, 30 Oct 2012 22:25:21 +0100 (CET)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 91.121.80.190
Message-ID: <mailman.714780.1351632777.854.phpcompta-dev@nongnu.org>
From: phpcompta-dev@nongnu.org
Subject: [Phpcompta-dev] r5151 - phpcompta/tags/rel650/include
X-BeenThere: phpcompta-dev@nongnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: phpcompta-dev@nongnu.org
List-Id: <phpcompta-dev.nongnu.org>
List-Unsubscribe: <https://lists.nongnu.org/mailman/options/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.nongnu.org/archive/html/phpcompta-dev>
List-Post: <mailto:phpcompta-dev@nongnu.org>
List-Help: <mailto:phpcompta-dev-request@nongnu.org?subject=help>
List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/phpcompta-dev>,
	<mailto:phpcompta-dev-request@nongnu.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Oct 2012 21:32:57 -0000

Author: danydb
Date: 2012-10-30 22:25:19 +0100 (Tue, 30 Oct 2012)
New Revision: 5151

Modified:
   phpcompta/tags/rel650/include/param_pcmn.inc.php
Log:
0000743: le pointeur se trouve sur 'effacer'

Modified: phpcompta/tags/rel650/include/param_pcmn.inc.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- phpcompta/tags/rel650/include/param_pcmn.inc.php	2012-10-30 21:20:07 =
UTC (rev 5150)
+++ phpcompta/tags/rel650/include/param_pcmn.inc.php	2012-10-30 21:25:19 =
UTC (rev 5151)
@@ -249,7 +249,7 @@
 //echo HtmlInput::hidden('sa','detail');
 echo dossier::hidden();
 ?>
-<TABLE ALIGN=3D"center" BORDER=3D0 CELLPADDING=3D0 CELLSPACING=3D0>
+<TABLE class=3D"result">
                              <TR>
                              <TH> Classe </TH>
                              <TH> Libell=C3=A9 </TH>
@@ -273,12 +273,14 @@
     if ( $i%2 =3D=3D 0 )
     {
         $td =3D'<TD class=3D"odd">';
+        $tr =3D'<TR class=3D"odd">';
     }
     else
     {
         $td=3D'<TD class=3D"even">';
+        $tr=3D'<TR class=3D"even">';
     }
-    echo "<TR> ";
+    echo $tr;
     echo "$td";
     echo $A['pcm_val'];
     echo '</td>';



---
PhpCompta est un logiciel de comptabilit=C3=A9 libre en ligne (full web)
Projet opensource http://www.phpcompta.eu


