Dotclear


Ignore:
Timestamp:
03/05/14 21:04:23 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Addresses #1896 : add choice of editor in preferences
Keeps old functions in core addFormater(), callFormater() for compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r2666 r2679  
    1919$post_dt = ''; 
    2020$post_format = $core->auth->getOption('post_format'); 
     21$editor = $core->auth->getOption('editor'); 
    2122$post_password = ''; 
    2223$post_url = ''; 
     
    6061 
    6162# Formaters combo 
    62 $formaters_combo = dcAdminCombos::getFormatersCombo(); 
     63$formaters_combo = dcAdminCombos::getFormatersCombo($editor); 
    6364 
    6465# Languages combo 
     
    378379     dcPage::jsMetaEditor(). 
    379380     dcPage::jsLoad('js/_post.js'). 
    380      $core->callBehavior('adminPostEditor'). 
     381     $core->callBehavior('adminPostEditor',$editor). 
    381382     dcPage::jsConfirmClose('entry-form','comment-form'). 
    382383     # --BEHAVIOR-- adminPostHeaders 
Note: See TracChangeset for help on using the changeset viewer.

Sites map