Jump to content

Featured Replies

Posted
comment_236

postC.png.fab0083087a2dff331ec368a984c4aed.png

Đi đến ACP > Chủ đề > Thiết kế chủ đề: Mẫu > + Tạo mẫu mới:

Tên: PostContainerButtons

Loại: Hook

Ứng dụng Hook: Forums

Diễn đàn: font/topics/postContainer

Mục tiêu Hook: postUserReputation

Kiểu Hook: Chọn loại Hook khác nếu hiển thị không đúng

Nội dung:

Code

<div class=" brc_padding">

<div class="ipsList_reset ipsFlex ipsFlex-ai:center ipsGap:3 ipsGap_row:0">

{{if ( \IPS\Member::loggedIn()->member_id and \IPS\Member::loggedIn()->member_id !== $comment->author()->member_id ) && !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}

<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$comment->author()->nmember_id}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload class='ipsButton ipsButton--share ipsButton--inherit' data-ipstooltip title="{lang="messagesend"}"><i class="fa fa-envelope" aria-hidden="true"></i></a>

{{endif}}

<a class="ipsButton ipsButton--share ipsButton--inherit" href="{url="app=core&module=members&controller=profile&do=content&id={$comment->author()->member_id}" base="front" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}" data-ipstooltip title="{lang="findcontent"}"><i class="fa fa-book" aria-hidden="true"></i></a>

{{if \IPS\Member::loggedIn()->member_id && $comment->author()->canBeIgnored() and \IPS\Member::loggedIn()->member_id !== $comment->author()->member_id }}

<a class="ipsButton ipsButton--share ipsButton--inherit" href="{url="app=core&module=system&controller=ignore&id={$comment->author()->member_id}" seoTemplate="ignore"}" data-ipstooltip title="{lang="addignore"}"><i class="fa fa-user-times" aria-hidden="true"></i></a>

{{endif}}

</div></div>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...