Changeset 49344 in spip-zone


Ignore:
Timestamp:
Jul 4, 2011, 11:24:20 PM (10 years ago)
Author:
guy.cesaro@…
Message:

plus besoin de sous-dossier phase 2

Location:
_plugins_/skeleditor/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/skeleditor/trunk/inc/skeleditor.php

    r41789 r49344  
    124124                $closed = ((strncmp($current_file, ltrim($chemin,'/'), strlen(ltrim($chemin,'/')))==0)?"":" closed");
    125125
    126                 $output .= bouton_block_depliable("<img src='"._DIR_PLUGIN_SKELEDITOR."spip_210/img_pack/se-folder-16.png' alt='directory'/> $open",!$closed,md5($chemin));
     126                $output .= bouton_block_depliable("<img src='"._DIR_PLUGIN_SKELEDITOR."img_pack/se-folder-16.png' alt='directory'/> $open",!$closed,md5($chemin));
    127127                $output .= "<div class='dir$closed' id='".md5($chemin)."'>\n";
    128128        }
  • _plugins_/skeleditor/trunk/plugin.xml

    r48687 r49344  
    11<plugin>
    22        <nom>SkelEditor</nom>
    3         <icon>spip_210/img_pack/skeleditor-32.png</icon>
     3        <icon>img_pack/skeleditor-32.png</icon>
    44        <auteur>[erational->http://www.erational.org], [C&eacute;dric Morin->http://www.yterium.net]</auteur>
    55        <licence>GNU/GPL v3</licence>
     
    1515        <lien>http://www.spip-contrib.net/SkelEditor-2-0</lien>
    1616        <prefix>skeleditor</prefix>
    17         <options>spip_210/skeleditor_pipelines.php</options>
     17        <options>skeleditor_pipelines.php</options>
    1818
    1919        <!-- bouton prive spip sans bando -->
     
    3333  <pipeline>
    3434                <nom>insert_head_css</nom>
    35       <inclure>spip_210/skeleditor_pipelines.php</inclure>
     35      <inclure>skeleditor_pipelines.php</inclure>
    3636  </pipeline> 
    3737  <pipeline>
    3838                <nom>header_prive</nom>
    3939                <action>insert_head</action>
    40       <inclure>spip_210/skeleditor_pipelines.php</inclure>
     40      <inclure>skeleditor_pipelines.php</inclure>
    4141  </pipeline>
    4242
    4343  <pipeline>
    4444      <nom>autoriser</nom>
    45       <inclure>spip_210/inc/skeleditor_autoriser.php</inclure>
     45      <inclure>inc/skeleditor_autoriser.php</inclure>
    4646  </pipeline>
    4747  <pipeline>
     
    4949  </pipeline>
    5050
    51         <chemin dir="spip_210/" />
    5251        <necessite id="SPIP" version="[2.1.0-beta;)" />
    5352        <categorie>outil</categorie>
  • _plugins_/skeleditor/trunk/prive/exec/skeleditor_fonctions.php

    r47088 r49344  
    4747
    4848                $output .= "<a href='".generer_url_ecrire('skeleditor','f='.urlencode($path_base.$file))."' class='$class'>"
    49                                                 . "<img src='"._DIR_PLUGIN_SKELEDITOR."spip_210/img_pack/se-$icon-16.png' alt='$icon' /> "
     49                                                . "<img src='"._DIR_PLUGIN_SKELEDITOR."img_pack/se-$icon-16.png' alt='$icon' /> "
    5050                                                .basename($file)."</a>";
    5151        }
     
    7272function skeleditor_addfile($path_list) {
    7373  //$output = bouton_block_invisible('editor_newfile');
    74   $output .= "<img src='"._DIR_PLUGIN_SKELEDITOR."spip_210/img_pack/action_add.png' alt='new' />"._T("skeleditor:fichier_nouveau");
     74  $output .= "<img src='"._DIR_PLUGIN_SKELEDITOR."img_pack/action_add.png' alt='new' />"._T("skeleditor:fichier_nouveau");
    7575  //$output .= debut_block_invisible('editor_newfile'); 
    7676  $output .= "<form method='get'>\n";
     
    9191function skeleditor_uploadfile($path_list) {
    9292  //$output = "<br />".bouton_block_invisible('editor_uploadfile');
    93   $output .= "<img src='"._DIR_PLUGIN_SKELEDITOR."spip_210/img_pack/action_add.png' alt='new' />"._T("skeleditor:fichier_upload");
     93  $output .= "<img src='"._DIR_PLUGIN_SKELEDITOR."img_pack/action_add.png' alt='new' />"._T("skeleditor:fichier_upload");
    9494  //$output .= debut_block_invisible('editor_uploadfile');
    9595 
  • _plugins_/skeleditor/trunk/skeleditor_pipelines.php

    r49341 r49344  
    6767        return false;
    6868
    69         $dir = _DIR_PLUGIN_SKELEDITOR ."spip_210/";
     69        $dir = _DIR_PLUGIN_SKELEDITOR;
    7070        if ($type == "css") {
    7171        $files .= "
Note: See TracChangeset for help on using the changeset viewer.