Plugin Directory

Changeset 193669


Ignore:
Timestamp:
01/13/2010 08:13:30 PM (16 years ago)
Author:
mmilan81
Message:

Adding ver 0.6.1

Location:
mm-breaking-news/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • mm-breaking-news/trunk/changelog.txt

    r193586 r193669  
     12010-01-13, ver 0.6.1, Milan Milosevic
     2    Bugfix: problems with placement of shortcode content.
     3
    142010-01-13, ver 0.6, Milan Milosevic
    25    Added shortcode [mm-breaking-news] for displaying a list in a page/post
  • mm-breaking-news/trunk/mm-bnlist.css

    r107565 r193669  
    33Description: Displays lists of posts from selected categories whereever you like. You can select how many different lists you want, sort posts by date or random, select which categories to include or exclude from specific list.
    44Author: Milan Milosevic
    5 Version: 0.5.2
     5Version: 0.6.1
    66Author URI: http://www.mmilan.com
    77*/
  • mm-breaking-news/trunk/mm-bnlist.css.dark

    r107565 r193669  
    33Description: Displays lists of posts from selected categories whereever you like. You can select how many different lists you want, sort posts by date or random, select which categories to include or exclude from specific list.
    44Author: Milan Milosevic
    5 Version: 0.5.2
     5Version: 0.6.1
    66Author URI: http://www.mmilan.com
    77
  • mm-breaking-news/trunk/mm-bnlist.php

    r193586 r193669  
    66Author: Milan Milosevic
    77Author URI: http://www.mmilan.com/
    8 Version: 0.6
     8Version: 0.6.1
    99License: GPL v3 - http://www.gnu.org/licenses/
    1010
     
    131131    $show_rand = unserialize(get_option('mm_bnlist_rand'));
    132132
     133    $mm_echo = '';
     134   
    133135    for ( $i = 0; $i < $opt_val['n']; $i+=1 ) {
    134         echo "<h3>".$opt_tmp['title'][$i]."</h3>";
    135         echo "<ul>";
     136        $mm_echo .= "<h3>".$opt_tmp['title'][$i]."</h3>";
     137        $mm_echo .= "<ul>";
    136138            $catid = Array();
    137139            if (!empty($opt_tmp['in'][$i])) foreach ($opt_tmp['in'][$i] as $tmp) $catid[] = $tmp;
     
    152154                        else $sep = " (";
    153155                if (($show_date[$i] != "YES") and ($show_comments[$i] != "YES")) $sep = "";
    154                 print "<li><a href=\"".get_permalink()."\">".$show_post->post_title."</a><span class=\"date_com\">".$sh_date.$sep.$no_com."</span></li>";
     156                $mm_echo .= "<li><a href=\"".get_permalink()."\">".$show_post->post_title."</a><span class=\"date_com\">".$sh_date.$sep.$no_com."</span></li>";
    155157            endforeach;
    156         echo "</ul>";
     158        $mm_echo .= "</ul>";
    157159    }
    158160
    159161    if (get_option('mm_bnlist_credits') != "NO")
    160         echo "<p style=\"text-align: right; font-size: 0.7em \">Plugin by <a href=\"http://www.mmilan.com\">mmilan.com</a></p>";
     162        $mm_echo .= "<p style=\"text-align: right; font-size: 0.7em \">Plugin by <a href=\"http://www.mmilan.com\">mmilan.com</a></p>";
     163
     164    return $mm_echo;
    161165}
    162166
  • mm-breaking-news/trunk/readme.txt

    r193586 r193669  
    55Requires at least: 2.6
    66Tested up to: 2.9.1
    7 Stable tag: 0.6
     7Stable tag: 0.6.1
    88
    99Displays lists of posts from selected categories. You can select how many different lists you want, sort posts by date or random.
     
    2121Changelog:
    2222
     23    2010-01-13, ver 0.6.1, Milan Milosevic
     24        Bugfix: problems with placement of shortcode content.
     25       
    2326    2010-01-13, ver 0.6, Milan Milosevic
    2427        Added shortcode [mm-breaking-news] for displaying a list in a page/post
Note: See TracChangeset for help on using the changeset viewer.