phpcompta-dev
[Top][All Lists]
Advanced

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

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


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

Author: danydb
Date: 2012-06-19 19:53:31 +0200 (Tue, 19 Jun 2012)
New Revision: 4947

Modified:
   phpcompta/trunk/include/template/detail-action.php
Log:
cosmetic : action, if view only then hide the button to enlarge the comment

Modified: phpcompta/trunk/include/template/detail-action.php
===================================================================
--- phpcompta/trunk/include/template/detail-action.php  2012-06-19 17:48:03 UTC 
(rev 4946)
+++ phpcompta/trunk/include/template/detail-action.php  2012-06-19 17:53:31 UTC 
(rev 4947)
@@ -244,8 +244,10 @@
 }
 echo $desc->input();
 ?>
+<? if ($p_view != "READ" ): ?>
 <input type="button" id="bt_enlarge" <?=$style_enl?> value="+" 
onclick="enlarge('ag_comment');return false;">
 <input type="button" id="bt_small"  <?=$style_small?> value="-" 
style="display:none" onclick="small('ag_comment');return false;">
+<? endif; ?>
   </div>
 </fieldset>
 <input type='button' class="button" value='Montrer articles' id="toggleButton" 
onclick='toggleShowDetail()'>



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