Page MenuHomeIn-Portal Phabricator

topics.elm.tpl
No OneTemporary

File Metadata

Created
Tue, Mar 11, 12:55 AM

topics.elm.tpl

<inp2:m_DefineElement name="topic_element">
<tr>
<td colspan="5">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
</td>
</tr>
<tr>
<td class="forums-cells">
<table>
<tr>
<td class="topics-icon-padding" valign="top">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/topics_icon.gif" width="14" height="12" alt="" /><br />
</td>
<td valign="top">
<inp2:m_if check="m_Param" name="show_relevance">
<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
</inp2:m_if>
<a href="<inp2:TopicLink template="__default__"/>"><inp2:Field name="TopicText"/></a>
<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element"/>
</td>
</tr>
</table>
</td>
<td width="100" class="forums-cells">
<inp2:Field name="OwnerId"/>
</td>
<td width="150" class="forums-cells">
<inp2:Field name="LastPostDate" format="_regional_DateFormat"/> &nbsp; <inp2:Field name="LastPostDate" format="_regional_TimeFormat"/>
<!--<inp2:m_phrase name="lu_By"/> <inp2:Field name="LastPoster"/>-->
</td>
<td width="100" class="forums-cells">
<inp2:TopicReplies/>
</td>
<td width="70" class="forums-cells">
<inp2:Field name="Views"/>
</td>
</tr>
</inp2:m_DefineElement>
<!--## RELATED TOPIC ELEMENT ##-->
<inp2:m_DefineElement name="related_topic_element">
<tr>
<td width="25"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/topics_icon.gif" width="14" height="12" alt="" /></td>
<td><a href="<inp2:TopicLink template="__default__"/>" class="text-title"><inp2:Field name="TopicText"/></a></td>
</tr>
</inp2:m_DefineElement>
<!--## // RELATED TOPIC ELEMENT ##-->
<inp2:m_DefineElement name="my_topic_element">
<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="topic-prewiew-padding-cell">
<td>
<a href="<inp2:TopicLink template="__default__"/>"><inp2:Field name="TopicText"/></a>
<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element"/>
<br />
(<inp2:m_phrase name="lu_By"/>: <inp2:Field name="OwnerId"/>)
<br />
<inp2:m_phrase name="lu_fld_PrimaryCategory"/>: <strong><inp2:CategoryPath separator="&gt;" render_as="category_path_element"/></strong><br />
<br />
<table>
<tr>
<td style="padding:0px;">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_details.gif" width="14" height="13" alt="" /> <a href="<inp2:TopicLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a>
</td>
<inp2:m_if check="HasPermission" permissions="TOPIC.MODIFY|TOPIC.MODIFY.PENDING|TOPIC.OWNER.MODIFY|TOPIC.OWNER.MODIFY.PENDING">
<td style="padding:0px;">
&nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a href="<inp2:TopicLink template="in-bulletin/topics/modify_topic"/>"><inp2:m_phrase name="lu_btn_Modify"/></a>
</td>
</inp2:m_if>
<inp2:m_if check="HasPermission" permissions="TOPIC.DELETE|TOPIC.OWNER.DELETE">
<td style="padding:0px;">
&nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a href="<inp2:TopicLink __NO_REWRITE__='1' bb_event='OnDelete'/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteTopicConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>
</td>
</inp2:m_if>
</tr>
</table>
</td>
<td>
<inp2:TopicReplies/>
</td>
<td>
<inp2:Field name="Views"/>
</td>
<td align="center">
<inp2:Field name="LastPostDate" format="_regional_DateFormat"/><br />
<inp2:Field name="LastPostDate" format="_regional_TimeFormat"/><br />
<inp2:m_phrase name="lu_By"/> <inp2:Field name="LastPoster"/>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="big_button" title="" icon="">
<table style="margin: 0px;">
<tr valign="top">
<td class="big-button-left-border">
<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/top_left_corner.gif" width="11" height="16" alt="" /><br />
</td>
<td class="big-button-text">
<a href="<inp2:m_Param name="content"/>"><inp2:m_phrase name="$title"/></a>
</td>
<td>
<a href="<inp2:m_Param name="content"/>"><img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/icons/<inp2:m_param name="icon"/>.gif" alt=""></a><br />
</td>
</tr>
<tr valign="top" class="big-button-bottom">
<td>
<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/bottom_left_corner.gif" width="11" height="10" alt="" /><br />
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br />
</td>
<td align="right">
<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/bottom_right_corner.gif" width="11" height="10" alt="" /><br />
</td>
</tr>
</table>
</inp2:m_DefineElement>

Event Timeline