Changeset 954:958704d2486f for plugins/widgets/_default_widgets.php
- Timestamp:
- 11/02/12 22:48:36 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/_default_widgets.php
r945 r954 18 18 $__widgets = new dcWidgets; 19 19 20 $__widgets->create('search',__('Search engine'),array('defaultWidgets','search') );20 $__widgets->create('search',__('Search engine'),array('defaultWidgets','search'),null,'Search engine form'); 21 21 $__widgets->search->setting('title',__('Title:'),__('Search')); 22 22 $__widgets->search->setting('homeonly',__('Display on:'),0,'combo', … … 24 24 $__widgets->search->setting('class',__('CSS class:'),''); 25 25 26 $__widgets->create('navigation',__('Navigation links'),array('defaultWidgets','navigation') );26 $__widgets->create('navigation',__('Navigation links'),array('defaultWidgets','navigation'),null,'List of navigation links'); 27 27 $__widgets->navigation->setting('title',__('Title:'),''); 28 28 $__widgets->navigation->setting('homeonly',__('Display on:'),0,'combo', … … 30 30 $__widgets->navigation->setting('class',__('CSS class:'),''); 31 31 32 $__widgets->create('bestof',__('Selected entries'),array('defaultWidgets','bestof') );32 $__widgets->create('bestof',__('Selected entries'),array('defaultWidgets','bestof'),null,'List of selected entries'); 33 33 $__widgets->bestof->setting('title',__('Title:'),__('Best of me')); 34 34 $__widgets->bestof->setting('orderby',__('Sort:'),'asc','combo',array(__('Ascending') => 'asc', __('Descending') => 'desc')); … … 37 37 $__widgets->bestof->setting('class',__('CSS class:'),''); 38 38 39 $__widgets->create('langs',__('Blog languages'),array('defaultWidgets','langs') );39 $__widgets->create('langs',__('Blog languages'),array('defaultWidgets','langs'),null,'List of available languages'); 40 40 $__widgets->langs->setting('title',__('Title:'),__('Languages')); 41 41 $__widgets->langs->setting('homeonly',__('Display on:'),1,'combo', … … 43 43 $__widgets->langs->setting('class',__('CSS class:'),''); 44 44 45 $__widgets->create('categories',__('Categories list'),array('defaultWidgets','categories') );45 $__widgets->create('categories',__('Categories list'),array('defaultWidgets','categories'),null,'List of categories'); 46 46 $__widgets->categories->setting('title',__('Title:'),__('Categories')); 47 47 $__widgets->categories->setting('postcount',__('With entries counts'),0,'check'); … … 50 50 $__widgets->categories->setting('class',__('CSS class:'),''); 51 51 52 $__widgets->create('subscribe',__('Subscribe links'),array('defaultWidgets','subscribe') );52 $__widgets->create('subscribe',__('Subscribe links'),array('defaultWidgets','subscribe'),null,'RSS or Atom feed subscription links'); 53 53 $__widgets->subscribe->setting('title',__('Title:'),__('Subscribe')); 54 54 $__widgets->subscribe->setting('type',__('Feeds type:'),'atom','combo',array('Atom' => 'atom', 'RSS' => 'rss2')); … … 57 57 $__widgets->subscribe->setting('class',__('CSS class:'),''); 58 58 59 $__widgets->create('feed',__('Feed reader'),array('defaultWidgets','feed') );59 $__widgets->create('feed',__('Feed reader'),array('defaultWidgets','feed'),null,'Last entries from feed'); 60 60 $__widgets->feed->setting('title',__('Title:'),__('Somewhere else')); 61 61 $__widgets->feed->setting('url',__('Feed URL:'),''); … … 65 65 $__widgets->feed->setting('class',__('CSS class:'),''); 66 66 67 $__widgets->create('text',__('Text'),array('defaultWidgets','text') );67 $__widgets->create('text',__('Text'),array('defaultWidgets','text'),null,'Simple text'); 68 68 $__widgets->text->setting('title',__('Title:'),''); 69 69 $__widgets->text->setting('text',__('Text:'),'','textarea'); … … 72 72 $__widgets->text->setting('class',__('CSS class:'),''); 73 73 74 $__widgets->create('lastposts',__('Last entries'),array('defaultWidgets','lastposts') );74 $__widgets->create('lastposts',__('Last entries'),array('defaultWidgets','lastposts'),null,'List of last entries published'); 75 75 $__widgets->lastposts->setting('title',__('Title:'),__('Last entries')); 76 76 $rs = $core->blog->getCategories(array('post_type'=>'post')); … … 89 89 $__widgets->lastposts->setting('class',__('CSS class:'),''); 90 90 91 $__widgets->create('lastcomments',__('Last comments'),array('defaultWidgets','lastcomments') );91 $__widgets->create('lastcomments',__('Last comments'),array('defaultWidgets','lastcomments'),null,'List of last comments posted'); 92 92 $__widgets->lastcomments->setting('title',__('Title:'),__('Last comments')); 93 93 $__widgets->lastcomments->setting('limit',__('Comments limit:'),10);
Note: See TracChangeset
for help on using the changeset viewer.