<!-- IF {PHP.cot_modules.pm} -->
<!-- IF {PHP.usr.id} >
0
AND {PHP.usr.id} != {USERS_DETAILS_ID} -->
<a href=
"{PHP.id|cot_url('pm','m=send&to=$this', '', 1)}"
class
=
"pm_send btn btn-info btn-icon"
data-bs-toggle=
"tooltip"
data-bs-title=
"{PHP.L.users_sendpm}"
>
<span
class
=
"btn-inner--icon"
>
<i
class
=
"fa-regular fa-envelope"
></i>
</span>
<span
class
=
"btn-inner--text"
>{PHP.L.userdetails.pm_send_a_message}</span>
</a>
<!-- ELSE -->
<a href=
"{PHP|cot_url('login')}"
class
=
"pm_send btn btn-info btn-icon"
>
<span
class
=
"btn-inner--icon"
>
<i
class
=
"fa-regular fa-envelope"
></i>
</span>
<span
class
=
"btn-inner--text"
>{PHP.L.userdetails.pm_send_a_message}</span>
</a>
<!-- ENDIF -->
<!-- ENDIF -->