Dotclear

Changeset 329:0ff0593a8882 for inc


Ignore:
Timestamp:
06/03/11 11:48:02 (14 years ago)
Author:
Tomtom33 <tbouron@…>
Branch:
wysiwyg
Message:

Popup media now works for images, mp3 and other extensions except flv

Location:
inc/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/class.dc.toolbar.php

    r326 r329  
    7676          $res = "dcToolBar = new dcToolBar();\n"; 
    7777           
     78          $this->core->callBehavior('adminToolbar',$this); 
     79           
    7880          foreach ($this->toolbars as $formatter => $options) { 
    7981               $s = $options['settings']; 
  • inc/admin/lib.dc.page.php

    r327 r329  
    565565               'convert_newlines_to_brs' => 'true', 
    566566               'paste_auto_cleanup_on_paste' => 'true', 
    567                'formats' => '{underline: {inline: "ins"},strikethrough: {inline: "del"},inlinecode: {inline: "code"},quote: {inline: "q"}}', 
    568                'post_url_pattern' => $GLOBALS['core']->blog->getQMarkURL().$GLOBALS['core']->url->getBase('post') 
     567               'formats' => '{underline: {inline: "ins"},strikethrough: {inline: "del"},inlinecode: {inline: "code"},quote: {inline: "q"}}' 
    569568          )); 
    570569          $tb->addPlugins('xhtml',array( 
     
    572571               'paste' => true, 
    573572               'searchreplace' => true, 
    574                'dcControls' => true, 
    575                'dcTags' => false 
     573               'dcControls' => true 
    576574          )); 
    577575          $tb->addButtons('xhtml',array( 
     
    618616               3 => array( 
    619617                    'link', 
    620                     'postlink', 
    621                     'medialink', 
    622                     'separator', 
    623618                    'unlink', 
     619                    'separator', 
     620                    'media', 
    624621                    'separator', 
    625622                    'hr', 
     
    656653               'paste' => true, 
    657654               'searchreplace' => true, 
    658                'dcControls' => true, 
    659                'dcTags' => false 
     655               'dcControls' => true 
    660656          )); 
    661657          $tb->addButtons('wiki',array( 
Note: See TracChangeset for help on using the changeset viewer.

Sites map