Plugin Directory

Changeset 380387


Ignore:
Timestamp:
05/03/2011 08:58:18 PM (15 years ago)
Author:
Billyben
Message:
 
Location:
billyben-rings/tags/2.1.1/BillyBenRing/elm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • billyben-rings/tags/2.1.1/BillyBenRing/elm/bbr_widget_class.php

    r380362 r380387  
    1313
    1414    function widget($args, $instance, $specialOpt=array()) {
     15       
    1516           
    1617        extract( $args );
     
    116117function bbr_shortcodehandler($atts){
    117118    extract( $atts );
     119   
    118120    if($align!='left'&&$align!='middle'&&$align!='right')$align='middle';
    119121    $instOpt['wid']=$id;
     
    129131    $widget->_set($number);
    130132    $widget->widget(array(), $instOpt, $atts); 
     133   
    131134}
    132135
  • billyben-rings/tags/2.1.1/BillyBenRing/elm/utilsClasse.php

    r380362 r380387  
    174174        if(isset($atts[$lowerKey])){
    175175            $atts[$key]=$atts[$lowerKey];
    176             unset($atts[$lowerKey]);
     176            if($key!=$lowerKey)unset($atts[$lowerKey]);
    177177        }
    178178   
Note: See TracChangeset for help on using the changeset viewer.