Dotclear

Changeset 2858


Ignore:
Timestamp:
01/11/11 19:29:04 (12 years ago)
Author:
lipki
Message:

modification du bloc d'activation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/hyphenator/inc/class.lipki.utils.php

    r2835 r2858  
    1414 
    1515class LipkiUtils { 
     16 
     17     public static $add = false; 
    1618      
    1719     public static function adminEnabledPlugin($core,$settings) { 
    18           echo '<fieldset><legend>'.__('Plugins Enable').'</legend>'; 
    19           $core->callBehavior('adminEnabledPlugin',$core,$settings); 
    20           echo '</fieldset>'; 
     20          if( !self::$add ) { 
     21               echo '<fieldset><legend>'.__('Plugins Enable').'</legend>'; 
     22               $core->callBehavior('adminEnabledPlugin',$core,$settings); 
     23               echo '</fieldset>'; 
     24               self::$add = true; 
     25          } 
    2126     } 
    2227      
Note: See TracChangeset for help on using the changeset viewer.

Sites map