Changeset 945:a373e04f8ac3 for plugins/pages
- Timestamp:
- 10/31/12 10:13:50 (13 years ago)
- Branch:
- default
- Location:
- plugins/pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/pages/_public.php
r911 r945 221 221 global $core, $_ctx; 222 222 223 if ($w->homeonly && $core->url->type != 'default') { 223 if (($w->homeonly == 1 && $core->url->type != 'default') || 224 ($w->homeonly == 2 && $core->url->type == 'default')) { 224 225 return; 225 226 } -
plugins/pages/_widgets.php
r904 r945 21 21 $w->create('pages',__('Pages'),array('tplPages','pagesWidget')); 22 22 $w->pages->setting('title',__('Title:'),__('Pages')); 23 $w->pages->setting('homeonly',__('Home page only'),1,'check'); 23 $w->pages->setting('homeonly',__('Display on:'),1,'combo', 24 array( 25 __('All pages') => 0, 26 __('Home page only') => 1, 27 __('Except on home page') => 2 28 ) 29 ); 24 30 $w->pages->setting('sortby',__('Order by:'),'post_title','combo', 25 31 array(
Note: See TracChangeset
for help on using the changeset viewer.