Ignore:
Timestamp:
05/24/09 08:35:12 (3 years ago)
Author:
CrawfordCurrie
Message:

Item1205: add support for global NOWYSIWYG flag, and update change history to include Michael's recent fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TinyMCEPlugin/lib/Foswiki/Plugins/TinyMCEPlugin.pm

    r3963 r3973  
    120120 
    121121sub _notAvailable { 
    122     return 
    123       "Disabled by preference '" 
    124       . Foswiki::Func::getPreferencesValue('TINYMCEPLUGIN_DISABLE') . "'" 
    125       if Foswiki::Func::getPreferencesFlag('TINYMCEPLUGIN_DISABLE'); 
     122    for my $c qw(TINYMCEPLUGIN_DISABLE NOWYSIWYG) { 
     123        return 
     124          "Disabled by * Set $c = " . Foswiki::Func::getPreferencesValue($c) 
     125            if Foswiki::Func::getPreferencesFlag($c); 
     126    } 
    126127 
    127128    # Disable TinyMCE if we are on a specialised edit skin 
Note: See TracChangeset for help on using the changeset viewer.