Dotclear

Changeset 3003:f8c097e1f7c5 for admin


Ignore:
Timestamp:
05/02/15 13:57:50 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add an user option to display the editor's toolbar on bottom of textarea (is possible). Take into account this option in dcLegacyEditor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/preferences.php

    r2899 r3003  
    176176          $user_options['editor'] = $_POST['user_editor']; 
    177177          $user_options['enable_wysiwyg'] = !empty($_POST['user_wysiwyg']); 
     178          $user_options['toolbar_bottom'] = !empty($_POST['user_toolbar_bottom']); 
    178179 
    179180          $cur->user_options = new ArrayObject($user_options); 
     
    477478__('Enable WYSIWYG mode').'</label></p>'. 
    478479 
     480'<p><label for="user_toolbar_bottom" class="classic">'. 
     481form::checkbox('user_toolbar_bottom',1,$user_options['toolbar_bottom']).' '. 
     482__('Display editor\'s toolbar at bottom of textarea (if possible)').'</label></p>'. 
     483 
    479484'</div>'; 
    480485 
Note: See TracChangeset for help on using the changeset viewer.

Sites map