Plugin Directory

Changeset 1823217


Ignore:
Timestamp:
02/16/2018 06:42:43 AM (8 years ago)
Author:
newsplugin.com
Message:

... ok this.

Location:
newsplugin
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • newsplugin/tags/1.0.16/news-plugin-widget.php

    r1823214 r1823217  
    448448                    $style = ' style="font-size:'.$style_news['article_headline']['size'].'px;color:#'.$style_news['article_headline']['color'].';';
    449449                    if($style_news['article_headline']['font_family']) {
    450                         $style = $style . 'font-family:'.$style_news['article_headline']['font_family'].'"';
     450                        $style = $style . 'font-family:'.$style_news['article_headline']['font_family'];
    451451                    }
     452                    $style = $style . '"';
    452453                }
    453454                echo '<span class="news-plugin-title"' . $style . '>';
     
    461462                        $style = ' style="font-size:'.$style_news['article_date']['size'].'px;color:#'.$style_news['article_date']['color'].';';
    462463                        if($style_news['article_date']['font_family']) {
    463                             $style = $style . 'font-family:'.$style_news['article_date']['font_family'].'"';
     464                            $style = $style . 'font-family:'.$style_news['article_date']['font_family'];
    464465                        }
     466                        $style = $style . '"';
    465467                    }
    466468                    echo '<span class="news-plugin-date"' . $style . '>';
     
    479481                            $style = ' style="font-size:'.$style_news['article_sources']['size'].'px;color:#'.$style_news['article_sources']['color'].';';
    480482                            if($style_news['article_sources']['font_family']) {
    481                                 $style = $style . 'font-family:'.$style_news['article_sources']['font_family'].'"';
     483                                $style = $style . 'font-family:'.$style_news['article_sources']['font_family'];
    482484                            }
     485                            $style = $style . '"';
    483486                        }
    484487                        echo '<span class="news-plugin-source"' . $style . '>';
     
    493496                        $style = ' style="font-size:'.$style_news['article_abstract']['size'].'px;color:#'.$style_news['article_abstract']['color'].';';
    494497                        if($style_news['article_abstract']['font_family']) {
    495                             $style = $style . 'font-family:'.$style_news['article_abstract']['font_family'].'"';
     498                            $style = $style . 'font-family:'.$style_news['article_abstract']['font_family'];
    496499                        }
     500                        $style = $style . '"';
    497501                    }
    498502                    echo '<span class="news-plugin-abstract"' . $style . '>';
  • newsplugin/trunk/news-plugin-widget.php

    r1823214 r1823217  
    448448                    $style = ' style="font-size:'.$style_news['article_headline']['size'].'px;color:#'.$style_news['article_headline']['color'].';';
    449449                    if($style_news['article_headline']['font_family']) {
    450                         $style = $style . 'font-family:'.$style_news['article_headline']['font_family'].'"';
     450                        $style = $style . 'font-family:'.$style_news['article_headline']['font_family'];
    451451                    }
     452                    $style = $style . '"';
    452453                }
    453454                echo '<span class="news-plugin-title"' . $style . '>';
     
    461462                        $style = ' style="font-size:'.$style_news['article_date']['size'].'px;color:#'.$style_news['article_date']['color'].';';
    462463                        if($style_news['article_date']['font_family']) {
    463                             $style = $style . 'font-family:'.$style_news['article_date']['font_family'].'"';
     464                            $style = $style . 'font-family:'.$style_news['article_date']['font_family'];
    464465                        }
     466                        $style = $style . '"';
    465467                    }
    466468                    echo '<span class="news-plugin-date"' . $style . '>';
     
    479481                            $style = ' style="font-size:'.$style_news['article_sources']['size'].'px;color:#'.$style_news['article_sources']['color'].';';
    480482                            if($style_news['article_sources']['font_family']) {
    481                                 $style = $style . 'font-family:'.$style_news['article_sources']['font_family'].'"';
     483                                $style = $style . 'font-family:'.$style_news['article_sources']['font_family'];
    482484                            }
     485                            $style = $style . '"';
    483486                        }
    484487                        echo '<span class="news-plugin-source"' . $style . '>';
     
    493496                        $style = ' style="font-size:'.$style_news['article_abstract']['size'].'px;color:#'.$style_news['article_abstract']['color'].';';
    494497                        if($style_news['article_abstract']['font_family']) {
    495                             $style = $style . 'font-family:'.$style_news['article_abstract']['font_family'].'"';
     498                            $style = $style . 'font-family:'.$style_news['article_abstract']['font_family'];
    496499                        }
     500                        $style = $style . '"';
    497501                    }
    498502                    echo '<span class="news-plugin-abstract"' . $style . '>';
Note: See TracChangeset for help on using the changeset viewer.