Dotclear


Ignore:
Timestamp:
08/25/14 09:20:20 (11 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Addresses #1896
Preferences: one editor for each available formats.

Location:
plugins/dcLegacyEditor
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php

    r2681 r2736  
    1515     protected static $p_url = 'index.php?pf=dcLegacyEditor'; 
    1616 
    17      public static function adminPostEditor($editor='') { 
    18         global $core; 
     17     public static function adminPostEditor($editor) { 
     18          global $core; 
    1919 
    20           if (!$core->auth->getOption('editor') || $core->auth->getOption('editor')!='dcLegacyEditor') {return;} 
     20          if ($editor!='dcLegacyEditor') { 
     21               return; 
     22          } 
    2123 
    2224          return 
Note: See TracChangeset for help on using the changeset viewer.

Sites map