Changeset 47088 in spip-zone


Ignore:
Timestamp:
Apr 26, 2011, 3:47:38 PM (10 years ago)
Author:
guy.cesaro@…
Message:

Rangement des css

Location:
_plugins_/skeleditor/spip_210
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/skeleditor/spip_210/prive/exec/skeleditor_fonctions.php

    r47085 r47088  
    309309    editor.replaceRange(replace, cursor.from(), cursor.to());
    310310}
    311 </script>
    312 <style type="text/css">
    313 .codewrap { border: 1px solid #333; background: #fff; font-size: 11px; clear: both; position: relative }
    314 .CodeMirror { height: auto; max-height: 550px; }
    315 .searched {background: yellow;}
    316 </style>
    317 ';
     311</script>';
    318312        return $script;
    319313}
  • _plugins_/skeleditor/spip_210/skeleditor_pipelines.php

    r47075 r47088  
    6767        return false;
    6868
    69         $dir = _DIR_PLUGIN_SKELEDITOR ."spip_210/codemirror/";
    70         if ($type == "css")
    71         $files .= "<link rel='stylesheet' href='".$dir."lib/codemirror.css' type='text/css' />";       
     69        $dir = _DIR_PLUGIN_SKELEDITOR ."spip_210/";
     70        if ($type == "css") {
     71        $files .= "
     72        <link rel='stylesheet' href='".$dir."codemirror/lib/codemirror.css' type='text/css' />
     73        <link rel='stylesheet' href='".$dir."css/skeleditor.css' type='text/css' />";   
     74        }
    7275        if ($type =="js")
    73         $files .= "<script src='".$dir."lib/codemirror.js' type='text/javascript'></script>";
     76        $files .= "<script src='".$dir."codemirror/lib/codemirror.js' type='text/javascript'></script>";
    7477        foreach($mode as $cle=>$valeur) {
    7578               
    76                 $test = $dir."mode/".$valeur."/".$valeur.".".$type;
     79                $test = $dir."codemirror/mode/".$valeur."/".$valeur.".".$type;
    7780                        if (find_in_path($test)) {
    7881                                if ($type == "css")
Note: See TracChangeset for help on using the changeset viewer.