Changeset 533


Ignore:
Timestamp:
Feb 15, 2010, 3:05:36 PM (14 years ago)
Author:
guille
Message:

se agregaron temas

Location:
trunk/spip/esqueleto-redcta/plugins
Files:
88 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/spip/esqueleto-redcta/plugins/redCTA/redcta_boutons.php

    r357 r533  
    22
    33function redcta_ajouterBoutons($boutons_admin) {
    4                         $boutons_admin['configuration']->sousmenu['redcta'] = new Bouton(
     4                        $boutons_admin['redCTA'] = new Bouton(
    55      "../"._DIR_PLUGIN_REDCTA."images/redcta.png",  // icone
    66                        _T('redcta:options')    // titre
  • trunk/spip/esqueleto-redcta/plugins/redCTA/redcta_options.php

    r357 r533  
    1717}
    1818
    19 $p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
    20 define('_DIR_PLUGIN_REDCTA',(_DIR_PLUGINS.end($p)));
     19//$p=explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
     20//define('_DIR_PLUGIN_REDCTA',(_DIR_PLUGINS.end($p)));
    2121
    2222//$forcer_lang = true;
    2323// pour free : tester si on est en admin privee ou publique
    24 if (!ereg("^\.\.", _DIR_PLUGIN_REDCTA)) {
    25         $GLOBALS['dossier_squelettes'] = implode(":", Array(
     24//if (!ereg("^\.\.", _DIR_PLUGIN_REDCTA)) {
     25//      $GLOBALS['dossier_squelettes'] = implode(":", Array(
    2626
    27         _DIR_PLUGIN_REDCTA.'/squelettes',
     27//      _DIR_PLUGIN_REDCTA.'/squelettes',
    2828
    29         ));
    30 }
     29//      ));
     30//}
    3131// structure des tables
    3232
Note: See TracChangeset for help on using the changeset viewer.