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/tags
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/tags/_public.php

    r2667 r2778  
    236236          global $core, $_ctx; 
    237237 
     238          if ($w->offline) 
     239               return; 
     240 
    238241          if (($w->homeonly == 1 && $core->url->type != 'default') || 
    239242               ($w->homeonly == 2 && $core->url->type == 'default')) { 
  • plugins/tags/_widgets.php

    r2566 r2778  
    3838          $w->tags->setting('content_only',__('Content only'),0,'check'); 
    3939          $w->tags->setting('class',__('CSS class:'),''); 
     40          $w->tags->setting('offline',__('Offline'),0,'check'); 
    4041     } 
    4142 
Note: See TracChangeset for help on using the changeset viewer.

Sites map