phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5237 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5237 - phpcompta/trunk/include
Date: Sat, 11 May 2013 19:44:31 +0200 (CEST)

Author: danydb
Date: 2013-05-11 19:44:31 +0200 (Sat, 11 May 2013)
New Revision: 5237

Modified:
   phpcompta/trunk/include/class_document_modele.php
   phpcompta/trunk/include/document_modele.inc.php
Log:
task #0000811: Nouveau Documents doivent ?\195?\170tre dans popup

Modified: phpcompta/trunk/include/class_document_modele.php
===================================================================
--- phpcompta/trunk/include/class_document_modele.php   2013-05-11 17:30:15 UTC 
(rev 5236)
+++ phpcompta/trunk/include/class_document_modele.php   2013-05-11 17:44:31 UTC 
(rev 5237)
@@ -103,8 +103,9 @@
        }
        $b=new IButton('show');
        $b->label="Ajout d'un document";
-       
$b->javascript="$('add_modele').style.display='block';$('show').style.display='none';";
-       $r.=$b->input();
+       $b->javascript="$('add_modele').style.display='block';new 
Draggable('add_modele',{starteffect:function(){
+                      new 
Effect.Highlight(obj.id,{scroll:window,queue:'end'});}});";
+               $r.=$b->input();
         $r.="</form></p>";
         return $r;
     }
@@ -217,12 +218,12 @@
         $this->cn->commit();
     }
 
-    /*!
-     * \brief show the form for loading a template
-     * \param p_action for the field action = destination url
+    /**
+     * @brief show the form for loading a template
+     * @param p_action for the field action = destination url
      *
      *
-     * \return string containing the forms
+     * @return string containing the forms
      */
     function form()
     {

Modified: phpcompta/trunk/include/document_modele.inc.php
===================================================================
--- phpcompta/trunk/include/document_modele.inc.php     2013-05-11 17:30:15 UTC 
(rev 5236)
+++ phpcompta/trunk/include/document_modele.inc.php     2013-05-11 17:44:31 UTC 
(rev 5237)
@@ -76,7 +76,8 @@
 // Default action : Show the list
 //-----------------------------------------------------
 echo $doc->myList();
-echo '<div id="add_modele" style="display:none">';
+echo '<div id="add_modele" class="inner_box" style="display:none">';
+echo HtmlInput::title_box("Ajout d'un modèle", "add_modele", "hide");
 echo $doc->form('');
 echo '</div>';
 



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