phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5414 - in phpcompta/trunk/include: . template


From: phpcompta-dev
Subject: [Phpcompta-dev] r5414 - in phpcompta/trunk/include: . template
Date: Mon, 23 Sep 2013 18:44:10 +0200 (CEST)

Author: danydb
Date: 2013-09-23 18:44:09 +0200 (Mon, 23 Sep 2013)
New Revision: 5414

Modified:
   phpcompta/trunk/include/class_follow_up.php
   phpcompta/trunk/include/class_itextarea.php
   phpcompta/trunk/include/template/detail-action.php
Log:
Am?\195?\169liore apparence

Modified: phpcompta/trunk/include/class_follow_up.php
===================================================================
--- phpcompta/trunk/include/class_follow_up.php 2013-09-23 16:25:46 UTC (rev 
5413)
+++ phpcompta/trunk/include/class_follow_up.php 2013-09-23 16:44:09 UTC (rev 
5414)
@@ -171,15 +171,9 @@
 
                // Description
                $desc = new ITextArea();
-               $desc->width = 70;
-               $desc->heigh = 5;
+                $desc->style=' class="itextarea" 
style="width:80%;margin-left:0px"';
                $desc->name = "ag_comment";
                $desc->readOnly = $readonly;
-               if (strlen($desc->value) > 300)
-               {
-                       $desc->width = 120;
-                       $desc->heigh = 40;
-               }
                $acomment = $this->db->get_array("SELECT agc_id, ag_id, 
to_char(agc_date,'DD.MM.YYYY HH24:MI') as str_agc_date, agc_comment, tech_user
                                 FROM action_gestion_comment where ag_id=$1 
order by agc_id;", array($this->ag_id)
                );

Modified: phpcompta/trunk/include/class_itextarea.php
===================================================================
--- phpcompta/trunk/include/class_itextarea.php 2013-09-23 16:25:46 UTC (rev 
5413)
+++ phpcompta/trunk/include/class_itextarea.php 2013-09-23 16:44:09 UTC (rev 
5414)
@@ -38,8 +38,6 @@
 
         $r="";
         $r.='<TEXTAREA '.$this->style.'  name="'.$this->name.'" 
id="'.$this->id.'"';
-        /*$r.=" rows=\"$this->heigh\" ";
-        $r.=" cols=\"$this->width\" "; */
         $r.='>';
         $r.=$this->value;
 

Modified: phpcompta/trunk/include/template/detail-action.php
===================================================================
--- phpcompta/trunk/include/template/detail-action.php  2013-09-23 16:25:46 UTC 
(rev 5413)
+++ phpcompta/trunk/include/template/detail-action.php  2013-09-23 16:44:09 UTC 
(rev 5414)
@@ -236,16 +236,16 @@
                $rmComment=sprintf("javascript:if ( confirm('"._('Voulez-vous 
effacer ce commentaire ')."')==true ) {remove_comment('%s','%s');}",
                                                dossier::id(),
                                                $acomment[$c]['agc_id']);
-                               $js= '<a class="mtitle" style="color:orange" 
id="accom'.$acomment[$c]['agc_id'].'" href="'.$rmComment.'">Effacer</a>';
-               echo 
'n°'.$acomment[$c]['agc_id'].'('.h($acomment[$c]['tech_user'])." 
".$acomment[$c]['str_agc_date'].')'.$js.
-                               '<pre style="white-space: 
-moz-pre-wrap;white-space: pre-wrap;border:1px solid blue;width:70%;" 
id="com'.$acomment[$c]['agc_id'].'"> '.
+                               $js= '<a class="mtitle" style="color:red" 
id="accom'.$acomment[$c]['agc_id'].'" href="'.$rmComment.'">Effacer</a>';
+               echo 
hb('n°'.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']." 
".$acomment[$c]['str_agc_date'].')').$js.
+                               '<pre style="white-space: 
-moz-pre-wrap;white-space: pre-wrap;border:1px solid blue;width:80%;" 
id="com'.$acomment[$c]['agc_id'].'"> '.
                                " ".h($acomment[$c]['agc_comment']).'</pre>'
                                ;
        }
        else
        {
-               echo 
'n°'.$acomment[$c]['agc_id'].'('.h($acomment[$c]['tech_user'])." 
".$acomment[$c]['str_agc_date'].')'.
-                               '<pre style="white-space: 
-moz-pre-wrap;white-space: pre-wrap;border:1px solid blue;width:70%;" 
id="com'.$acomment[$c]['agc_id'].'"> '.
+               echo 
hb('n°'.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']." 
".$acomment[$c]['str_agc_date'].')').
+                               '<pre style="white-space: 
-moz-pre-wrap;white-space: pre-wrap;border:1px solid blue;width:80%;" 
id="com'.$acomment[$c]['agc_id'].'"> '.
                                " ".h($acomment[$c]['agc_comment']).'</pre>'
                                ;
 



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



reply via email to

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