Changeset 533 for trunk/spip/esqueleto-redcta
- Timestamp:
- Feb 15, 2010, 3:05:36 PM (14 years ago)
- 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 2 2 3 3 function redcta_ajouterBoutons($boutons_admin) { 4 $boutons_admin[' configuration']->sousmenu['redcta'] = new Bouton(4 $boutons_admin['redCTA'] = new Bouton( 5 5 "../"._DIR_PLUGIN_REDCTA."images/redcta.png", // icone 6 6 _T('redcta:options') // titre -
trunk/spip/esqueleto-redcta/plugins/redCTA/redcta_options.php
r357 r533 17 17 } 18 18 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))); 21 21 22 22 //$forcer_lang = true; 23 23 // 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( 26 26 27 _DIR_PLUGIN_REDCTA.'/squelettes',27 // _DIR_PLUGIN_REDCTA.'/squelettes', 28 28 29 ));30 }29 // )); 30 //} 31 31 // structure des tables 32 32
Note: See TracChangeset
for help on using the changeset viewer.