Author: danydb
Date: 2013-10-01 19:06:16 +0200 (Tue, 01 Oct 2013)
New Revision: 5455

Modified:
   phpcompta/trunk/include/template/detail-action.php
Log:
Hide button in readonly

Modified: phpcompta/trunk/include/template/detail-action.php
===================================================================
--- phpcompta/trunk/include/template/detail-action.php  2013-10-01 17:02:54 UTC 
(rev 5454)
+++ phpcompta/trunk/include/template/detail-action.php  2013-10-01 17:06:16 UTC 
(rev 5455)
@@ -350,8 +350,10 @@
     <br>Total TVAC
  </div>
 <div>
+ <?php if ( ! $readonly ) :  ?>
     <input name="act" id="act_bt" class="button" value="<?php echo 
_('Actualiser')?>" onclick="compute_all_ledger();" type="button">
-  <input type="button" class="button" onclick="gestion_add_row()" 
value="Ajouter une ligne">
+     <input type="button" class="button" onclick="gestion_add_row()" 
value="Ajouter une ligne">
+<?php endif; ?>         
 </div>
 <?php endif; ?>
 </fieldset>



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

_______________________________________________
Phpcompta  est un logiciel libre de comptabilit&#233; en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to