[PLUGINS] ~maj des plugins
[lhc/web/www.git] / www / plugins / crayons / inc / crayons-json.php
index d9da53e..5311c5e 100644 (file)
@@ -1,14 +1,10 @@
 <?php
-
-/***************************************************************************\
- *  SPIP, Systeme de publication pour l'internet                           *
- *                                                                         *
- *  Copyright (c) 2001-2010                                                *
- *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
- *                                                                         *
- *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
- *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
-\***************************************************************************/
+/**
+ * Crayons 
+ * plugin for spip 
+ * (c) Fil, toggg 2006-2013
+ * licence GPL
+ */
 
 if (!defined("_ECRIRE_INC_VERSION")) return;
 
@@ -16,12 +12,13 @@ if (!defined("_ECRIRE_INC_VERSION")) return;
 
 /**
  * Transform a variable into its javascript equivalent (recursive)
+ * 
  * @access private
  * @param mixed the variable
- * @return string js script | boolean false if error
+ * @return string|boolean
+ *     - string : js script
+ *     - false if error
  */
-
-// http://doc.spip.org/@var2js
 function crayons_var2js($var) {
        $asso = false;
        switch (true) {
@@ -91,9 +88,6 @@ function crayons_json_export($var) {
        else
                return $var;
 */
-
 }
 
-
-
 ?>