<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs author="eXoPlatform"
    title="Lastest Forum Posts"
    directory_title="Lastest Forum Posts"
    title_url="http://www.exoplatform.org"
    description="Lastest forum posts">
    <Locale messages="locale/default.xml" />
    <Locale lang="fr" messages="locale/fr.xml" />
    <Require feature="setprefs"/>
    <Require feature="dynamic-height"/>
  </ModulePrefs>
  <UserPref name="baseurl" display_name="__MSG_baseurl__" datatype="string" value="/portal/rest/ks/forum/getmessage" required="true"/>
  <UserPref name="url" display_name="__MSG_subscribeurl__" datatype="string" value="/forum" required="true"/>
  <UserPref name="limit" display_name="__MSG_limit__" default_value="10" datatype="string"/>  
  <Content type="html">
    <![CDATA[       
      <script type="text/javascript" src="skin/latestForumPosts.js"></script>
      <link rel="stylesheet" type="text/css" href="/exo-gadget-resources/skin/exo-gadget/gadget-common.css" />
      <link rel="stylesheet" type="text/css" href="skin/latestForumPosts.css" />
      <div class="UIGadgetThemes">
        <div class="TitGad ClearFix">
          <a href="#demo" class="IconDropDown" id="ShowAll" target="_blank">__MSG_showall__</a>
          <div class="ContTit">__MSG_title__</div>
        </div>
        <div class="GadCont LastPost" id="ItemContainer">
        </div>
      </div>
    ]]>
  </Content>
</Module>
