Changeset 90350 in spip-zone
- Timestamp:
- Jun 19, 2015, 4:40:20 AM (6 years ago)
- Location:
- _plugins_/pgn4spip/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/pgn4spip/trunk/formulaires/configurer_pgn4spip.php
r66136 r90350 13 13 **********************************************************************************/ 14 14 if (!defined("_ECRIRE_INC_VERSION")) return; // No direct access allowed to this file 15 define('PLUGIN_Name', "pgn4spip");15 //define('PLUGIN_Name', "pgn4spip"); 16 16 define('PLUGIN_Form', "configurer_" . PLUGIN_Name); 17 define('PATH_Conf', PLUGIN_Name . '/' . PLUGIN_Name . '_conf.php');17 define('PATH_Conf', find_in_path(pgn4spip_fonctions.php)); 18 18 if (!function_exists('InitOptionValueByDefault')) require _DIR_PLUGINS . PATH_Conf; 19 19 -
_plugins_/pgn4spip/trunk/modeles/pgn.html
r90316 r90350 27 27 <BOUCLE_pgn(DOCUMENTS){id_document=#ENV{id}}{extension==pgn}{tout}> 28 28 <?php 29 define('PLUGIN_Name', "pgn4spip");29 //define('PLUGIN_Name', "pgn4spip"); 30 30 define('PATH_Fonctions', find_in_path(pgn4spip_fonctions.php)); 31 if (!function_exists('pgn4spip_prepropre')) require _DIR_PLUGINS . PATH_Fonctions; 31 if (!function_exists('pgn4spip_prepropre')) require find_in_path(pgn4spip_fonctions); 32 32 33 33 34 define('QUOTE_HTML', '"'); // '"' in HTML -
_plugins_/pgn4spip/trunk/paquet.xml
r90316 r90350 2 2 prefix="pgn4spip" 3 3 categorie="divers" 4 version="2.61. 6"4 version="2.61.7" 5 5 etat="test" 6 6 compatibilite="[3.0.0;3.1.*]" -
_plugins_/pgn4spip/trunk/pgn4spip_conf.php
r66136 r90350 45 45 foreach ($optValue as $optShort => $valueByDefault) 46 46 { 47 $valueFromConf = lire_config( PLUGIN_Name . '/cfg_' . $optShort, $valueByDefault);47 $valueFromConf = lire_config('pgn4spip/cfg_' . $optShort, $valueByDefault); 48 48 if (IsOptionValueOk($optShort, $valueFromConf, $valueByDefault)) 49 49 { … … 51 51 } 52 52 } 53 $isManual = lire_config( PLUGIN_Name . '/cfg_isManual');53 $isManual = lire_config('pgn4spip/cfg_isManual'); 54 54 if ($isManual != '') 55 55 { 56 $optValue['fh'] = lire_config( PLUGIN_Name . '/cfg_height_site', ""); // height of the module56 $optValue['fh'] = lire_config('pgn4spip/cfg_height_site', ""); // height of the module 57 57 } 58 58 } … … 135 135 return false; 136 136 } 137 ?> -
_plugins_/pgn4spip/trunk/pgn4spip_fonctions.php
r90315 r90350 36 36 if (!defined("_ECRIRE_INC_VERSION")) return; // No direct access allowed to this file 37 37 38 define('PLUGIN_Name', "pgn4spip");39 define('PATH_Conf', 'find_in_path(pgn4spip_conf.php)');40 if (!function_exists('ReadCurrentConfiguration')) require _DIR_PLUGIN_PGN4SPIP . PATH_Conf;38 //define('PLUGIN_Name', "pgn4spip"); 39 //define('PATH_Conf', 'find_in_path(pgn4spip_conf.php)'); 40 //if (!function_exists('ReadCurrentConfiguration')) require _DIR_PLUGIN_PGN4SPIP . PATH_Conf; 41 41 42 42 define('TAG_pgn', "[pP][gG][nN]"); // pgn or PGN -
_plugins_/pgn4spip/trunk/pgn4spip_options.php
r90315 r90350 18 18 19 19 // Init $optValue with default values of options overriden with the current configuration 20 ReadCurrentConfiguration($optValue); // read from the config form20 //ReadCurrentConfiguration($optValue); // read from the config form
Note: See TracChangeset
for help on using the changeset viewer.