equal
deleted
inserted
replaced
796 |
796 |
797 $title = apply_filters('widget_title', $title ); |
797 $title = apply_filters('widget_title', $title ); |
798 $url = esc_url(strip_tags($url)); |
798 $url = esc_url(strip_tags($url)); |
799 $icon = includes_url('images/rss.png'); |
799 $icon = includes_url('images/rss.png'); |
800 if ( $title ) |
800 if ( $title ) |
801 $title = "<a class='rsswidget' href='$url' title='" . esc_attr(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>"; |
801 $title = "<a class='rsswidget' target='_blank' href='$url' title='" . esc_attr(__('Syndicate this content')) ."'><img style='background:orange;color:white;border:none;' width='14' height='14' src='$icon' alt='RSS' /></a> <a class='rsswidget' href='$link' title='$desc'>$title</a>"; |
802 |
802 |
803 echo $before_widget; |
803 echo $before_widget; |
804 if ( $title ) |
804 if ( $title ) |
805 echo $before_title . $title . $after_title; |
805 echo $before_title . $title . $after_title; |
806 wp_widget_rss_output( $rss, $instance ); |
806 wp_widget_rss_output( $rss, $instance ); |
905 } |
905 } |
906 |
906 |
907 if ( $link == '' ) { |
907 if ( $link == '' ) { |
908 echo "<li>$title{$date}{$summary}{$author}</li>"; |
908 echo "<li>$title{$date}{$summary}{$author}</li>"; |
909 } else { |
909 } else { |
910 echo "<li><a class='rsswidget' href='$link' title='$desc'>$title</a>{$date}{$summary}{$author}</li>"; |
910 echo "<li><a class='rsswidget' href='$link' title='$desc' target='_blank'>$title</a>{$date}{$summary}{$author}</li>"; |
911 } |
911 } |
912 } |
912 } |
913 echo '</ul>'; |
913 echo '</ul>'; |
914 } |
914 } |
915 |
915 |