Page MenuHomeIn-Portal Phabricator

posts.elm.tpl
No OneTemporary

File Metadata

Created
Fri, Feb 7, 7:22 PM

posts.elm.tpl

<inp2:m_DefineElement name="smiley_element">
<img class="emoticon" src="<inp2:m_param name="smiley_url"/>" />
</inp2:m_DefineElement>
<inp2:m_DefineElement name="bbcode_element">
<div class="bbcode"><inp2:m_param name="bb_code"/></div>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="post_quote_element">
<table class="quoted-reply fullwidth">
<tr>
<td><inp2:Field name="PosterAlias"/> <inp2:m_Phrase name="lu_wrote"/>:</td>
<td align="right"><inp2:Field name="CreatedOn"/></td>
</tr>
<tr>
<td colspan="2">
<inp2:PostBody quote_render_as="post_quote_element" smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/>
</td>
</tr>
</table>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="small_button" title="" confirm_phrase="" icon="">
<table style="margin: 0px;">
<tr valign="top">
<td>
<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/top_left_corner.gif" width="5" height="27" alt="" /><br />
</td>
<td class="small-button-text">
<a href="<inp2:m_Param name="content"/>"<inp2:m_if check="m_Param" name="confirm_phrase"> onclick="return confirm('<inp2:m_phrase name="$confirm_phrase" js_escape="1"/>');"</inp2:m_if>><inp2:m_phrase name="$title"/></a>
</td>
<td>
<a href="<inp2:m_Param name="content"/>"<inp2:m_if check="m_Param" name="confirm_phrase"> onclick="return confirm('<inp2:m_phrase name="$confirm_phrase" js_escape="1"/>');"</inp2:m_if>><img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/icons/<inp2:m_param name="icon"/>.gif"></a><br />
</td>
</tr>
<tr valign="top" class="small-button-bottom">
<td>
<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/bottom_left_corner.gif" width="5" height="5" 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/small_buttons/bottom_right_corner.gif" width="5" height="5" alt="" /><br />
</td>
</tr>
</table>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="post_element">
<tr>
<td colspan="2">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
</td>
</tr>
<tr>
<td class="<inp2:m_odd_even odd="post-background-2" even="post-background-1" readonly="1"/>" valign="top">
<table>
<tr>
<td style="padding:0px 5px" valign="top" width="21" class="post-icon-padding-right">
<img src="<inp2:m_TemplatesBase module="In-bulletin"/>img/icon_post_1.gif" width="21" height="24" alt="" />
</td>
<td style="padding:0px">
<inp2:m_if check="PosterFound">
<a href="<inp2:ProfileLink template="platform/my_account/public_profile"/>"><strong><inp2:Field name="PosterAlias"/></strong></a>
<br />
<inp2:PosterField name="PrimaryGroup"/><br /><br />
<inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="60"/><br clear="all"/><br /><br />
<inp2:m_phrase name="lu_Joined"/>: <inp2:PosterField name="CreatedOn" format="_regional_DateFormat"/><br />
<inp2:m_phrase name="lu_Posts"/>: <inp2:PosterPostsCount/><br />
<inp2:m_phrase name="lu_Location"/>: <inp2:PosterField name="Country"/><br />
<inp2:m_else/>
<inp2:m_if check="Field" name="PosterAlias">
<strong><inp2:Field name="PosterAlias"/></strong>
<inp2:m_else/>
<inp2:m_phrase name="lu_Guest"/>
</inp2:m_if>
</inp2:m_if>
</td>
</tr>
</table>
</td>
<td class="<inp2:m_odd_even odd="post-background-2" even="post-background-1"/>" valign="top">
<table class="fullwidth">
<tr>
<td class="post-control">
<strong><inp2:m_phrase name="lu_Posted" /></strong>: <inp2:Field name="CreatedOn"/>
<br /><br />
</td>
<td class="post-control" align="right">
<table class="no-padding">
<tr>
<inp2:m_if check="HasPermission" permissions="TOPIC.REPLY.OWNER.MODIFY|TOPIC.REPLY.MODIFY">
<td>
<inp2:m_RenderElement design="small_button" title="lu_btn_ModifyPost" confirm_phrase="" icon="btn_sm_modify" pass_params="1">
<inp2:PostLink template="in-bulletin/topics/modify_post"/>
</inp2:m_RenderElement>
</td>
</inp2:m_if>
<inp2:m_if check="HasPermission" permissions="TOPIC.REPLY.OWNER.DELETE|TOPIC.REPLY.DELETE">
<td style="padding-left:5px">
<inp2:m_RenderElement design="small_button" title="lu_btn_DeletePost" confirm_phrase="lu_DeletePostConfirm" icon="btn_sm_delete" pass_params="1">
<inp2:PostLink __NO_REWRITE__='1' bb-post_event='OnDelete'/>
</inp2:m_RenderElement>
</td>
</inp2:m_if>
<inp2:m_if check="bb_HasPermission" permissions="TOPIC.REPLY.ADD">
<td style="padding-left:5px">
<inp2:m_RenderElement design="small_button" title="lu_btn_ReplyQuoted" confirm_phrase="" icon="btn_sm_quoted" pass_params="1">
<inp2:ReplyQuotedLink template="in-bulletin/topics/new_topic_reply"/>
</inp2:m_RenderElement>
</td>
</inp2:m_if>
</tr>
</table>
</td>
</tr>
</table>
<br />
<inp2:m_if check="PostSubject">
<strong><inp2:PostSubject/></strong><br />
</inp2:m_if>
<inp2:PostBody quote_render_as="post_quote_element" smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/>
<br /><br />
<inp2:m_if check="ShowPostSignature">
<div>
------------------------------------------------------------------------------<br />
<inp2:PostSignature smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/><br />
<br />
</div>
</inp2:m_if>
</td>
</tr>
</inp2:m_DefineElement>

Event Timeline