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

Legend:

Unmodified
Added
Removed
  • plugins/blogroll/_public.php

    r2667 r2778  
    140140          global $core; 
    141141 
     142          if ($w->offline) 
     143               return; 
     144 
    142145          if (($w->homeonly == 1 && $core->url->type != 'default') || 
    143146               ($w->homeonly == 2 && $core->url->type == 'default')) { 
  • plugins/blogroll/_widgets.php

    r2566 r2778  
    4343          $w->links->setting('content_only',__('Content only'),0,'check'); 
    4444          $w->links->setting('class',__('CSS class:'),''); 
     45          $w->links->setting('offline',__('Offline'),0,'check'); 
    4546     } 
    4647 
Note: See TracChangeset for help on using the changeset viewer.

Sites map