phpcompta-dev
[Top][All Lists]
Advanced

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

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


From: phpcompta-dev
Subject: [Phpcompta-dev] r4945 - phpcompta/trunk/include/template
Date: Tue, 19 Jun 2012 19:47:27 +0200 (CEST)

Author: danydb
Date: 2012-06-19 19:47:26 +0200 (Tue, 19 Jun 2012)
New Revision: 4945

Modified:
   phpcompta/trunk/include/template/user_sec_profile.php
   phpcompta/trunk/include/template/user_sec_repository.php
Log:
Color red or green following that you have or not access

Modified: phpcompta/trunk/include/template/user_sec_profile.php
===================================================================
--- phpcompta/trunk/include/template/user_sec_profile.php       2012-06-19 
17:46:29 UTC (rev 4944)
+++ phpcompta/trunk/include/template/user_sec_profile.php       2012-06-19 
17:47:26 UTC (rev 4945)
@@ -42,9 +42,9 @@
                                
<?=HtmlInput::hidden('ap_id[]',$array[$i]['p_id'])?>
                        </td>
                         <?
-                            
$color=($array[$i]['ua_right']!='')?"border:lightgreen 2px solid; ":"border:red 
2px solid; ";
+                            
$color=($array[$i]['ua_right']!='X')?"border:lightgreen 2px solid; 
":"border:red 2px solid; ";
                         ?>
-                       <td <?=$color?>>
+                       <td style="<?=$color?>">
                                <?
                                $isel=new ISelect("right[]");
                                $isel->value=$aright_value;

Modified: phpcompta/trunk/include/template/user_sec_repository.php
===================================================================
--- phpcompta/trunk/include/template/user_sec_repository.php    2012-06-19 
17:46:29 UTC (rev 4944)
+++ phpcompta/trunk/include/template/user_sec_repository.php    2012-06-19 
17:47:26 UTC (rev 4945)
@@ -41,9 +41,10 @@
                                
<?=HtmlInput::hidden('ar_id[]',$array[$i]['r_id'])?>
                        </td>
                          <?
-                            
$color=($array[$i]['ur_right']!='')?"border:lightgreen 2px solid; ":"border:red 
2px solid; ";
+                            
$color=($array[$i]['ur_right']!='X')?"border:lightgreen 2px solid; 
":"border:red 2px solid; ";
                         ?>
-                       <td <?=$color?>>
+                       <td style="<?=$color?>">
+
                                <?
                                $isel=new ISelect("right[]");
                                $isel->value=$aright_value;



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