Show
Ignore:
Timestamp:
02/08/10 18:05:30 (4 weeks ago)
Author:
patfr@…
Message:

Options SPIP : message d'erreur si l'insertion de "tmp/couteau-suisse/mes_spip_options.php" n'a pu être faite en amont.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • _plugins_/couteau_suisse/config_outils.php

    r35014 r35022  
    350350        'id' => 'cs_comportement', 
    351351        'code:spip_options' => "%%distant_off%% %%distant_outils_off%%", 
    352         'pipelinecode:pre_description_outil' => 'if($flux["outil"]=="cs_comportement") $flux["texte"]=str_replace(array("@_CS_DIR_TMP@","@_CS_FILE_OPTIONS@"), 
    353                 array(cs_canonicalize(_DIR_RESTREINT_ABS._DIR_TMP),show_file_options()),$flux["texte"]);', 
     352        'pipelinecode:pre_description_outil' => 'if($flux["outil"]=="cs_comportement") { 
     353$tmp=(!%%spip_options_on%%||!$flux["actif"]||defined("_CS_SPIP_OPTIONS_OK"))?"":"<span style=\"color:red\">"._T("couteauprive:cs_spip_options_erreur")."</span>"; 
     354$flux["texte"]=str_replace(array("@_CS_FILE_OPTIONS_ERR@","@_CS_DIR_TMP@","@_CS_FILE_OPTIONS@"), 
     355        array($tmp,cs_canonicalize(_DIR_RESTREINT_ABS._DIR_TMP),show_file_options()),$flux["texte"]); 
     356}', 
    354357)); 
    355358