Changeset 2185 in spip-zone


Ignore:
Timestamp:
Mar 1, 2006, 5:39:26 PM (14 years ago)
Author:
pierre.andrews@…
Message:

comme d'hab la licence est plus longue que le code en soit.

Location:
_plugins_
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/coloration_code/coloration_code.php

    r2183 r2185  
    11<?php
     2
     3//    Fichier créé pour SPIP avec un bout de code emprunté à celui ci.
     4//    Distribué sans garantie sous licence GPL./
     5//    Copyright (C) 2006  Pierre ANDREWS
     6//
     7//    This program is free software; you can redistribute it and/or modify
     8//    it under the terms of the GNU General Public License as published by
     9//    the Free Software Foundation; either version 2 of the License, or any later version.
     10//
     11//    This program is distributed in the hope that it will be useful,
     12//    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14//    GNU General Public License for more details.
     15//
     16//    You should have received a copy of the GNU General Public License
     17//    along with this program; if not, write to the Free Software
     18//    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     19
    220
    321define('_DIR_PLUGIN_COLORATION_CODE',(_DIR_PLUGINS.end(explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__)))))));
  • _plugins_/fibres_propre/fibres_propre.php

    r2184 r2185  
    11<?php
     2
     3
     4//    Fichier créé pour SPIP avec un bout de code emprunté à celui ci.
     5//    Distribué sans garantie sous licence GPL./
     6//    Copyright (C) 2006  Pierre ANDREWS
     7//
     8//    This program is free software; you can redistribute it and/or modify
     9//    it under the terms of the GNU General Public License as published by
     10//    the Free Software Foundation; either version 2 of the License, or any later version.
     11//
     12//    This program is distributed in the hope that it will be useful,
     13//    but WITHOUT ANY WARRANTY; without even the implied warranty of
     14//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15//    GNU General Public License for more details.
     16//
     17//    You should have received a copy of the GNU General Public License
     18//    along with this program; if not, write to the Free Software
     19//    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     20
    221
    322function fibres_propre_pre_propre($texte) {
    423  include_spip('inc/classTextile');
    524  if($texte) {
    6    $textile = new Textile();
    7    $texte = echappe_retour($texte);
    8    $texte = echappe_html('<html>'.$textile->TextileThis($texte).'</html>');
    9    return $texte;
     25        $textile = new Textile();
     26        $texte = echappe_retour($texte);
     27        $texte = echappe_html('<html>'.$textile->TextileThis($texte).'</html>');
     28        return $texte;
    1029  }
    1130}
Note: See TracChangeset for help on using the changeset viewer.