Changeset 32717


Ignore:
Timestamp:
Jan 14, 2022, 12:54:30 PM (2 years ago)
Author:
ddtddt
Message:

[fckeditor] update for plugin admin message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/FCKEditor/fckeditor.php

    r32684 r32717  
    4949    $template->set_prefilter('config', 'add_remove_button_banner');
    5050  }
     51  elseif ($page['page'] == 'intro')
     52  {
     53    $areas[] = 'admin_message';
     54    $toolbar = $conf['fckeditor_toolbar_always_full'] ? 'Full' : 'Basic';
     55    $template->set_prefilter('intro', 'add_remove_button');
     56  }
    5157  elseif ($page['page'] == 'plugin')
    5258  {
     
    8793      $template->set_prefilter('plugin_admin_content', 'add_remove_button');
    8894    }
     95        elseif ($section == 'Admin_Messages/admin.php')
     96    {
     97      $areas[] = 'admin_message';
     98      $width = '100%';
     99      $height = '300px';
     100      $template->set_prefilter('plugin_admin_content', 'add_remove_button');
     101    }
    89102  }
    90103
Note: See TracChangeset for help on using the changeset viewer.