Changeset 48748 in spip-zone
- Timestamp:
- Jun 12, 2011, 11:06:10 PM (10 years ago)
- Location:
- _plugins_/couteau_suisse
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/couteau_suisse/config_outils.php
r48738 r48748 310 310 'defaut' => 0, 311 311 )); 312 // chaine de langue en extension sous SPIP>=3.0 313 $cs_temp=defined('_SPIP30000')?'forum:':''; 312 314 add_outil( array( 313 315 'id' => 'auteur_forum', … … 317 319 'code:js' => "var cs_verif_email = %%auteur_forum_email%%;\nvar cs_verif_nom = %%auteur_forum_nom%%;\nvar cs_verif_deux = %%auteur_forum_deux%%;", 318 320 'pipelinecode:pre_description_outil' => 'if($id=="auteur_forum") $texte=str_replace(array("@_CS_FORUM_NOM@","@_CS_FORUM_EMAIL@"), 319 array(preg_replace(\',:$,\',"",_T(" forum_votre_nom")),preg_replace(\',:$,\',"",_T("forum_votre_email"))),$texte);',321 array(preg_replace(\',:$,\',"",_T("'.$cs_temp.'forum_votre_nom")),preg_replace(\',:$,\',"",_T("'.$cs_temp.'forum_votre_email"))),$texte);', 320 322 )); 321 323 -
_plugins_/couteau_suisse/cout_utils.php
r48475 r48748 247 247 include_spip('outils/'.$id); 248 248 if(function_exists($f = $id.'_raccourcis')) return $f(); 249 if(!preg_match(',:aide $,', _T("couteauprive:$id:aide") )) return _T("couteauprive:$id:aide");249 if(!preg_match(',:aide(?:<|$),', $x = _T("couteauprive:$id:aide") )) return $x; 250 250 } 251 251 return ''; … … 538 538 $include = str_replace('\\','/',realpath(_DIR_CS_TMP.'mes_spip_options.php')); 539 539 $include = "@include_once \"$include\";\nif(\$GLOBALS['cs_spip_options']) define('_CS_SPIP_OPTIONS_OK',1);"; 540 $inclusion = _CS_SPIP_OPTIONS_A."\n// Please don t modify; this code is auto-generated\n$include\n"._CS_SPIP_OPTIONS_B;540 $inclusion = _CS_SPIP_OPTIONS_A."\n// Please don't modify; this code is auto-generated\n$include\n"._CS_SPIP_OPTIONS_B; 541 541 cs_log("cs_verif_FILE_OPTIONS($activer, $ecriture) : le code d'appel est $include"); 542 542 if($fo = cs_spip_file_options(1)) { -
_plugins_/couteau_suisse/outils/corbeille_action_rapide.php
r33691 r48748 43 43 ), 44 44 "breves" => array( "statut" => "refuse", 45 "libelle" => 'icone_breves',45 "libelle" => defined('_SPIP30000')?'breves:icone_breves':'icone_breves', 46 46 ), 47 47 "signatures" => array( "statut" => "poubelle",
Note: See TracChangeset
for help on using the changeset viewer.