phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r4900 - in phpcompta/trunk: html include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r4900 - in phpcompta/trunk: html include/template
Date: Thu, 14 Jun 2012 22:16:54 +0200 (CEST)

Author: danydb
Date: 2012-06-14 22:16:54 +0200 (Thu, 14 Jun 2012)
New Revision: 4900

Modified:
   phpcompta/trunk/html/ajax_ledger.php
   phpcompta/trunk/include/template/ledger_detail_forbidden.php
Log:
Cosmetic warning message when no data found

Modified: phpcompta/trunk/html/ajax_ledger.php
===================================================================
--- phpcompta/trunk/html/ajax_ledger.php        2012-06-14 20:16:38 UTC (rev 
4899)
+++ phpcompta/trunk/html/ajax_ledger.php        2012-06-14 20:16:54 UTC (rev 
4900)
@@ -95,6 +95,7 @@
 {
 
     ob_start();
+       echo HtmlInput::title_box(_("Information"), $div);
     require_once ('template/ledger_detail_forbidden.php');
     $html=ob_get_contents();
     ob_clean();
@@ -115,6 +116,7 @@
 if ( $access == 'X' )
 {
     ob_start();
+       echo HtmlInput::title_box(_("Information"), $div);
     require_once ('template/ledger_detail_forbidden.php');
     $html=ob_get_contents();
     ob_clean();

Modified: phpcompta/trunk/include/template/ledger_detail_forbidden.php
===================================================================
--- phpcompta/trunk/include/template/ledger_detail_forbidden.php        
2012-06-14 20:16:38 UTC (rev 4899)
+++ phpcompta/trunk/include/template/ledger_detail_forbidden.php        
2012-06-14 20:16:54 UTC (rev 4900)
@@ -1,6 +1,3 @@
-<?
-echo HtmlInput::anchor_close($div);
-?>
 <div style="margin:0;padding:0;background-color:red;text-align:center;">
 <h2 class="error">Accès interdit : vous n'avez pas accès à cette information, 
contactez votre responsable</h2>;
 </div>
\ No newline at end of file



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