phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r488 - trunk/rapport_avance/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r488 - trunk/rapport_avance/include
Date: Wed, 1 May 2013 00:05:26 +0200 (CEST)

Author: danydb
Date: 2013-05-01 00:05:26 +0200 (Wed, 01 May 2013)
New Revision: 488

Modified:
   trunk/rapport_avance/include/class_formulaire_param.php
Log:
New type : text and notice

Modified: trunk/rapport_avance/include/class_formulaire_param.php
===================================================================
--- trunk/rapport_avance/include/class_formulaire_param.php     2013-04-30 
22:05:14 UTC (rev 487)
+++ trunk/rapport_avance/include/class_formulaire_param.php     2013-04-30 
22:05:26 UTC (rev 488)
@@ -52,6 +52,10 @@
                                return new Formulaire_Title3($form);
                        case 3:
                                return new Formulaire_Formula($form);
+                       case 7:
+                               return new Formulaire_Text($form);
+                       case 8:
+                               return new Formulaire_Notice($form);
                }
        }
 
@@ -219,8 +223,42 @@
        }
 
 }
+/**
+ * @brief display title level 1
+ */
+class formulaire_text extends Formulaire_Row
+{
 
+       function display()
+       {
+               echo '<p>'.$this->obj->p_libelle.'<p>';
+       }
+
+       function input()
+       {
+               echo '<p>'.$this->obj->p_libelle.'<p>';
+       }
+
+}
 /**
+ * @brief display title level 1
+ */
+class formulaire_notice extends Formulaire_Row
+{
+
+       function display()
+       {
+               echo span($this->obj->p_libelle, ' class="notice" ');
+       }
+
+       function input()
+       {
+               echo span($this->obj->p_libelle, ' class="notice"');
+       }
+
+}
+
+/**
  * @brief display title level 2
  */
 class formulaire_title2 extends Formulaire_Row



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