Dotclear


Ignore:
Timestamp:
10/31/12 10:13:50 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add/complement display modes (all pages, home page only, except on home page) for all widgets, fixes #1345

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/_public.php

    r911 r945  
    221221          global $core, $_ctx; 
    222222           
    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')) { 
    224225               return; 
    225226          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map