- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/_default_widgets.php
r2395 r1610 22 22 $__widgets->search->setting('homeonly',__('Display on:'),0,'combo', 23 23 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 24 $__widgets->search-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));25 $__widgets->search-> advanced_setting('class',__('CSS class:'),'');24 $__widgets->search->setting('content_only',__('Content only'),0,'check'); 25 $__widgets->search->setting('class',__('CSS class:'),''); 26 26 27 27 $__widgets->create('navigation',__('Navigation links'),array('defaultWidgets','navigation'),null,'List of navigation links'); … … 29 29 $__widgets->navigation->setting('homeonly',__('Display on:'),0,'combo', 30 30 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 31 $__widgets->navigation-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));32 $__widgets->navigation-> advanced_setting('class',__('CSS class:'),'');31 $__widgets->navigation->setting('content_only',__('Content only'),0,'check'); 32 $__widgets->navigation->setting('class',__('CSS class:'),''); 33 33 34 34 $__widgets->create('bestof',__('Selected entries'),array('defaultWidgets','bestof'),null,'List of selected entries'); … … 37 37 $__widgets->bestof->setting('homeonly',__('Display on:'),1,'combo', 38 38 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 39 $__widgets->bestof-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));40 $__widgets->bestof-> advanced_setting('class',__('CSS class:'),'');39 $__widgets->bestof->setting('content_only',__('Content only'),0,'check'); 40 $__widgets->bestof->setting('class',__('CSS class:'),''); 41 41 42 42 $__widgets->create('langs',__('Blog languages'),array('defaultWidgets','langs'),null,'List of available languages'); … … 44 44 $__widgets->langs->setting('homeonly',__('Display on:'),1,'combo', 45 45 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 46 $__widgets->langs-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));47 $__widgets->langs-> advanced_setting('class',__('CSS class:'),'');46 $__widgets->langs->setting('content_only',__('Content only'),0,'check'); 47 $__widgets->langs->setting('class',__('CSS class:'),''); 48 48 49 49 $__widgets->create('categories',__('Categories'),array('defaultWidgets','categories'),null,'List of categories'); … … 53 53 $__widgets->categories->setting('homeonly',__('Display on:'),0,'combo', 54 54 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 55 $__widgets->categories-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));56 $__widgets->categories-> advanced_setting('class',__('CSS class:'),'');55 $__widgets->categories->setting('content_only',__('Content only'),0,'check'); 56 $__widgets->categories->setting('class',__('CSS class:'),''); 57 57 58 58 $__widgets->create('subscribe',__('Subscribe links'),array('defaultWidgets','subscribe'),null,'RSS or Atom feed subscription links'); … … 61 61 $__widgets->subscribe->setting('homeonly',__('Display on:'),1,'combo', 62 62 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 63 $__widgets->subscribe-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));64 $__widgets->subscribe-> advanced_setting('class',__('CSS class:'),'');63 $__widgets->subscribe->setting('content_only',__('Content only'),0,'check'); 64 $__widgets->subscribe->setting('class',__('CSS class:'),''); 65 65 66 $__widgets->create('feed',__('Feed reader'),array('defaultWidgets','feed'),null,'Last entries from feed ( RSS or Atom )');66 $__widgets->create('feed',__('Feed reader'),array('defaultWidgets','feed'),null,'Last entries from feed'); 67 67 $__widgets->feed->setting('title',__('Title:'),__('Somewhere else')); 68 68 $__widgets->feed->setting('url',__('Feed URL:'),''); … … 70 70 $__widgets->feed->setting('homeonly',__('Display on:'),1,'combo', 71 71 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 72 $__widgets->feed-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));73 $__widgets->feed-> advanced_setting('class',__('CSS class:'),'');72 $__widgets->feed->setting('content_only',__('Content only'),0,'check'); 73 $__widgets->feed->setting('class',__('CSS class:'),''); 74 74 75 75 $__widgets->create('text',__('Text'),array('defaultWidgets','text'),null,'Simple text'); … … 78 78 $__widgets->text->setting('homeonly',__('Display on:'),0,'combo', 79 79 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 80 $__widgets->text-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));81 $__widgets->text-> advanced_setting('class',__('CSS class:'),'');80 $__widgets->text->setting('content_only',__('Content only'),0,'check'); 81 $__widgets->text->setting('class',__('CSS class:'),''); 82 82 83 83 $__widgets->create('lastposts',__('Last entries'),array('defaultWidgets','lastposts'),null,'List of last entries published'); … … 96 96 $__widgets->lastposts->setting('homeonly',__('Display on:'),1,'combo', 97 97 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 98 $__widgets->lastposts-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));99 $__widgets->lastposts-> advanced_setting('class',__('CSS class:'),'');98 $__widgets->lastposts->setting('content_only',__('Content only'),0,'check'); 99 $__widgets->lastposts->setting('class',__('CSS class:'),''); 100 100 101 101 $__widgets->create('lastcomments',__('Last comments'),array('defaultWidgets','lastcomments'),null,'List of last comments posted'); … … 104 104 $__widgets->lastcomments->setting('homeonly',__('Display on:'),1,'combo', 105 105 array(__('All pages') => 0, __('Home page only') => 1, __('Except on home page') => 2)); 106 $__widgets->lastcomments-> advanced_setting('content_only','',0,'radio', array(array(__('Content only'), '1'), array(__('Enclosing div'), '0')));107 $__widgets->lastcomments-> advanced_setting('class',__('CSS class:'),'');106 $__widgets->lastcomments->setting('content_only',__('Content only'),0,'check'); 107 $__widgets->lastcomments->setting('class',__('CSS class:'),''); 108 108 109 109 # --BEHAVIOR-- initWidgets
Note: See TracChangeset
for help on using the changeset viewer.