Ticket #9450: 9450-calendar.diff
File 9450-calendar.diff, 859 bytes (added by , 16 years ago) |
---|
-
Users/denis/Sites/sem-pro/wp-includes/default-widgets.php
291 291 292 292 function widget( $args, $instance ) { 293 293 extract($args); 294 $title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']); 295 echo $before_widget . $before_title . $title . $after_title; 296 echo '<div id="calendar_wrap">'; 294 $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); 295 echo $before_widget; 296 if ( $title ) 297 echo $before_title . $title . $after_title; 298 echo '<div class="calendar_wrap">'; 297 299 get_calendar(); 298 300 echo '</div>'; 299 301 echo $after_widget;