Plugin Directory

Changeset 1242487


Ignore:
Timestamp:
09/10/2015 01:38:33 PM (10 years ago)
Author:
luisfpg
Message:

When rendering the widget, render the correct before / after tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cyclos/trunk/cyclos-public.php

    r1242483 r1242487  
    3939    }
    4040
    41     // widget display
    42     function widget($args, $instance) {
    43         echo ('<div class="widget">' . cyclosLoginForm(NULL) . '</div>');
    44     }
     41    // widget display
     42    public function widget($args, $instance) {
     43        echo ($args['before_widget'] . cyclosLoginForm(NULL) . $args['after_widget']);
     44    }
    4545}
    4646
Note: See TracChangeset for help on using the changeset viewer.