Index: branches/1.0.x/in-bulletin/designs/section.tpl =================================================================== --- branches/1.0.x/in-bulletin/designs/section.tpl (revision 12973) +++ branches/1.0.x/in-bulletin/designs/section.tpl (revision 12974) @@ -1,110 +1,110 @@ <!--## <NAME>Topics - Section Template</NAME> <DESC>Topics</DESC> <SECTION>Platform||Topics</SECTION> ##--> <!--## PAGE TITLE ELEMENT ##--> <inp2:m_DefineElement name="page_title"> <inp2:m_include template="platform/elements/title_bar.elm"/> </inp2:m_DefineElement> <!--## //PAGE TITLE ELEMENT ##--> <!--## SIDE-BAR ELEMENT ##--> <inp2:m_DefineElement name="sidebar"> <div class="movable-area"> <div class="movable-element"> <inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/> </div> <div class="movable-element"> <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/> </div> <div class="movable-element"> <inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/> </div> <div class="movable-element"> - <inp2:m_RenderElement name="in-bulletin/elements/side_boxes/polls.elm" design="blue_box"/> + <inp2:m_RenderElement name="in-bulletin/elements/side_boxes/polls.elm" design="blue_box" data_exists="1"/> </div> </div> </inp2:m_DefineElement> <!--## //SIDE-BAR ELEMENT ##--> <!--## MAIN CONTENT ##--> <inp2:m_DefineElement name="content"> <div class="movable-area"> <div class="movable-element"> <inp2:m_include template="platform/elements/navigation_bar.elm"/> </div> <div class="movable-element"> <!-- categories --> <inp2:m_RenderElement design="content_box" data_exists="1"> <inp2:m_Capture to_var="header"> <inp2:m_phrase name="lu_title_Categories"/> (<inp2:c_TotalRecords />) </inp2:m_Capture> <inp2:m_include template="in-bulletin/elements/categories.elm"/> <table> <tr> <td class="category-statistics"> <inp2:bb-post_ItemCount/> <inp2:m_Phrase name="lu_posts"/> <inp2:m_Phrase name="lu_in"/> <inp2:bb_ItemCount/> <inp2:m_Phrase name="lu_topics"/> | <inp2:m_Phrase name="lu_AddedToday"/>: <inp2:bb_ItemCount today="1"/> <inp2:m_Phrase name="lu_topics"/>, <inp2:bb-post_ItemCount today="1"/> <inp2:m_Phrase name="lu_posts"/> </td> </tr> </table> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br /> <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div> <table class="forums-icon-description"> <tr> <td> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_new_post.gif" width="20" height="23" alt="" /><br /> </td> <td> <inp2:m_Phrase name="lu_new_posts" /> </td> <td> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_no_new_post.gif" width="21" height="24" alt="" /><br /> </td> <td> <inp2:m_Phrase name="lu_no_new_posts" /> </td> <td> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_locked.gif" width="25" height="23" alt="" /><br /> </td> <td> <inp2:m_Phrase name="lu_forum_locked_for_posting" /> </td> </tr> </table> <table class="fullwidth"> <tr> <td colspan="4"> <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div> </td> </tr> <tr class="forums-header"> <td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> <inp2:m_phrase name="lu_col_Forums"/></td> <td width="90"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> <inp2:m_phrase name="lu_col_Topics"/></td> <td width="80"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> <inp2:m_phrase name="lu_col_Posts"/></td> <td width="130"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> <inp2:m_phrase name="lu_col_LastUpdate"/></td> </tr> <inp2:c_ListCategories render_as="category_element" columns="1"/> </table> <br /> <inp2:m_include template="platform/elements/pagination.elm" prefix="c"/> </inp2:m_RenderElement> <!-- // categories --> </div> <div class="movable-element"> <inp2:m_if check="c_TotalRecords" inverse="inverse"> <inp2:m_include template="in-bulletin/elements/content_boxes/category_topics.elm"/> </inp2:m_if> </div> </div> </inp2:m_DefineElement> <!--## /MAIN CONTENT ##--> <!--## DESIGN TEMPLATE ##--> <inp2:m_include template="platform/designs/default_design.des" pass_params="1"/> <!--## /DESIGN TEMPLATE ##--> \ No newline at end of file