Dotclear


Ignore:
Timestamp:
11/13/14 15:24:23 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add "offline" option on widgets, closes #1945

Location:
plugins/pages
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/_public.php

    r2771 r2778  
    243243          global $core, $_ctx; 
    244244 
     245          if ($w->offline) 
     246               return; 
     247 
    245248          if (($w->homeonly == 1 && $core->url->type != 'default') || 
    246249               ($w->homeonly == 2 && $core->url->type == 'default')) { 
  • plugins/pages/_widgets.php

    r2671 r2778  
    4040          $w->pages->setting('content_only',__('Content only'),0,'check'); 
    4141          $w->pages->setting('class',__('CSS class:'),''); 
     42          $w->pages->setting('offline',__('Offline'),0,'check'); 
    4243     } 
    4344 
Note: See TracChangeset for help on using the changeset viewer.

Sites map