phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4847 - phpcompta/trunk/include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r4847 - phpcompta/trunk/include/template
Date: Mon, 28 May 2012 02:54:43 +0200 (CEST)

Author: danydb
Date: 2012-05-28 02:54:43 +0200 (Mon, 28 May 2012)
New Revision: 4847

Modified:
   phpcompta/trunk/include/template/detail-action.php
Log:
cosmetic : action remove is in orange

Modified: phpcompta/trunk/include/template/detail-action.php
===================================================================
--- phpcompta/trunk/include/template/detail-action.php  2012-05-28 00:44:49 UTC 
(rev 4846)
+++ phpcompta/trunk/include/template/detail-action.php  2012-05-28 00:54:43 UTC 
(rev 4847)
@@ -6,10 +6,28 @@
     <?echo $retour;
     ?>
   </div>
-<div style="float:left;width:32%">
+<div style="float:left;width:30%">
 <em> <strong><?php echo $sp->input();   ?></strong></em>
 
         <table >
+                        <tr>
+            <TD>
+           <?=_('Reference')?>
+            </TD>
+            <TD>
+              <?php echo $str_ag_ref;
+              ?>
+            </TD>
+          </TR>
+                   <tr>
+            <td>
+   <?=_('Concerne action')?>
+            </td>
+            <td>
+              <?php echo $lag_ref_ag_id;
+              ?>
+            </td>
+          </tr>
           <TR>
             <TD>
    <?=_('Date')?>
@@ -38,15 +56,7 @@
               ?>
             </TD>
           </TR>
-          <tr>
-            <TD>
-           <?=_('Reference')?>
-            </TD>
-            <TD>
-              <?php echo $str_ag_ref;
-              ?>
-            </TD>
-          </TR>
+
        <tr>
           <TD>
            <?=_('Destinataire')?>
@@ -74,18 +84,10 @@
  <?echo $str_add_button;?>
 
 </div>
-<div style="float:left;width:32%">
+<div style="float:left;width:30%">
         <table>
+
           <tr>
-            <td>
-   <?=_('Concerne')?>
-            </td>
-            <td>
-              <?php echo $lag_ref_ag_id;
-              ?>
-            </td>
-          </tr>
-          <tr>
             <TD>
            <?=_('Type')?>
             </TD>
@@ -136,7 +138,8 @@
         </table>
 
 </div>
-       <div style="float:left;width:32%">
+       <div style="float:left;width:40%">
+               <h4 style="display:inline">Opérations</h3>
                <ol>
 
                <?
@@ -145,8 +148,8 @@
                        $rmOperation=sprintf("javascript:if ( 
confirm('"._('Voulez-vous effacer cette opération ')."')==true ) 
{remove_operation('%s','%s');}",
                                        dossier::id(),
                                        $operation[$o]['ago_id']);
-                       $js= '<a class="mtitle" 
id="acop'.$operation[$o]['ago_id'].'" href="'.$rmOperation.'">Effacer</a>';
-                       echo '<li 
id="op'.$operation[$o]['ago_id'].'">'.h($operation[$o]['jr_comment'])." 
".HtmlInput::detail_op($operation[$o]['jr_id'],$operation[$o]['jr_internal'])." 
"
+                       $js= '<a class="mtitle" style="color:orange" 
id="acop'.$operation[$o]['ago_id'].'" href="'.$rmOperation.'">Effacer</a>';
+                       echo '<li 
id="op'.$operation[$o]['ago_id'].'">'.HtmlInput::detail_op($operation[$o]['jr_id'],$operation[$o]['jr_internal'])."
 ".h($operation[$o]['jr_comment'])." "
                                .$js.'</li>';
                }
 
@@ -186,7 +189,7 @@
        $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" 
id="accom'.$acomment[$c]['agc_id'].'" href="'.$rmComment.'">Effacer</a>';
+                       $js= '<a class="mtitle" style="color:orange" 
id="accom'.$acomment[$c]['agc_id'].'" href="'.$rmComment.'">Effacer</a>';
        echo '<p id="com'.$acomment[$c]['agc_id'].'"> 
n°'.$acomment[$c]['agc_id']." 
".h($acomment[$c]['agc_comment']).'('.h($acomment[$c]['tech_user'])." 
".smaller_date($acomment[$c]['str_agc_date']).')'.
                        $js.'</p>';
 }
@@ -284,7 +287,7 @@
        dossier::id(),
        $aAttachedFile[$i]['d_id']);
     ?>
-    <a class="mtitle" id="<?php echo "ac".$aAttachedFile[$i]['d_id'];?>" 
href="<?php echo $rmDoc;?>">Effacer</a>
+    <a class="mtitle" style="color:orange" id="<?php echo 
"ac".$aAttachedFile[$i]['d_id'];?>" href="<?php echo $rmDoc;?>">Effacer</a>
   </p>
   <?php
 endfor;



---
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]