Ignore:
Timestamp:
04/16/09 10:30:34 (3 years ago)
Author:
CrawfordCurrie
Message:

Item1383: removed support for settings in the plugin topic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TablePlugin/lib/Foswiki/Plugins/TablePlugin/Core.pm

    r2910 r3457  
    17141714        $sortTablesInText = 0; 
    17151715        $sortAttachments  = 0; 
    1716         my $tmp = Foswiki::Func::getPreferencesValue('TABLEPLUGIN_SORT'); 
     1716        my $tmp = Foswiki::Func::getPreferencesValue('TABLEPLUGIN_SORT') 
     1717          || 'all'; 
    17171718        if ( !$tmp || $tmp =~ /^all$/oi ) { 
    17181719            $sortTablesInText = 1; 
     
    17241725 
    17251726        $pluginAttrs = 
    1726           Foswiki::Func::getPreferencesValue('TABLEPLUGIN_TABLEATTRIBUTES'); 
     1727          Foswiki::Func::getPreferencesValue('TABLEPLUGIN_TABLEATTRIBUTES') 
     1728              || 'tableborder="1" cellpadding="0" cellspacing="0" valign="top" headercolor="#ffffff" headerbg="#687684" headerbgsorted="#334455" databg="#ffffff,#edf4f9" databgsorted="#f1f7fc,#ddebf6" tablerules="rows"'; 
    17271729        $prefsAttrs = Foswiki::Func::getPreferencesValue('TABLEATTRIBUTES'); 
    17281730        _setDefaults(); 
Note: See TracChangeset for help on using the changeset viewer.