Dotclear


Ignore:
Timestamp:
06/07/10 03:06:29 (13 years ago)
Author:
JcDenis
Message:

dcAdvancedCleaner 0.5

  • Switched to DC 2.2
  • Fixed bug in tabs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcAdvancedCleaner/index.php

    r2199 r2316  
    6363     if (!isset($combo_funcs[$type])) return ''; 
    6464 
    65      $s = dcAdvancedCleanerSettings($core); 
    6665     $rs = call_user_func($combo_funcs[$type],$core); 
    6766 
     
    8685               $offline = in_array($v['key'],dcAdvancedCleaner::$dotclear[$type]); 
    8786 
    88                if ($s->dcAdvancedCleaner_dcproperty_hide && $offline) continue; 
     87               if ($core->blog->settings->dcAdvancedCleaner->dcAdvancedCleaner_dcproperty_hide && $offline) continue; 
    8988 
    9089               echo  
     
    143142$action = isset($_POST['action']) ? $_POST['action'] : ''; 
    144143$type = isset($_POST['type']) ? $_POST['type'] : ''; 
    145 $s = dcAdvancedCleanerSettings($core); 
     144$s = $core->blog->settings->dcAdvancedCleaner; 
    146145 
    147146# Combos 
     
    228227     drawDcAdvancedCleanerLists($core,$part); 
    229228     echo '</fieldset>'; 
     229} 
     230if ($s->dcAdvancedCleaner_dcproperty_hide) 
     231{ 
     232     echo '<p>'.__('Default values of Dotclear are hidden. You can change this in settings tab').'</p>'; 
    230233} 
    231234echo '</div>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map