Changeset 1897 for trunk


Ignore:
Timestamp:
03/21/2011 01:22:00 PM (14 months ago)
Author:
Xiping.Wang
Message:

[trunk]Fix article portlet's with style support

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/skins/mike2/common.css

    r1882 r1897  
    281281.portlet_ .portletContent p {margin: 0px;} 
    282282 
     283#article>.portletContent ul { list-style-type: disc !important; list-style-position:inside; margin:5px;} 
     284#article>.portletContent li {list-style-position: inside; padding-left: 15px;} 
     285#article>.portletContent p {line-height:1.4em;margin: 10px 0;} 
     286 
    283287.portlet2 {clear: both; margin-bottom:10px; z-index: 100; width: 191px; overflow: hidden;} 
    284288.portlet2 .portletHeader {color:#FFF; overflow:hidden; height:34px; background-color: #40648F; background: url(images/portlet2-title.png) no-repeat;} 
  • trunk/home/portlets/PortletsClass.php

    r1847 r1897  
    3232        $this->title = $title; 
    3333        //Load Wiki Page 
    34         $this->content =strip_tags(loadWikiMainPage($title,$length), '<a><b><strong><big><i><br>'); 
     34        $this->content =strip_tags(loadWikiMainPage($title,$length), '<a><b><strong><big><i><br><ul><li><p>'); 
    3535        $this->introduction = $introduction;  
    3636    } 
Note: See TracChangeset for help on using the changeset viewer.