|
Administrador
|
<override_macro name="profile_header" requires="user">
<n.set_local_user.this_user />
<n.block.>
<div class="second-font shaded-bg-color rounded" style="font-size:170%;padding:.2em .5em;margin-left:.1em">
<n.local_user.name/>
</div>
<table>
<tr valign="top">
<td><n.local_user.avatar size="big"/></td>
<td style="width:100%;padding-left:.5em">
<n.if.both condition1="[n.visitor.is_site_admin/]" condition2="[n.local_user.is_authenticated/]">
<then>
<strong>Email</strong>: <n.local_user.user_email/>
</then>
</n.if.both>
<n.if.local_user.is_banned>
<then>
<n.local_user.banned_label/>
</then>
<else>
<n.local_user.registration_label/>
<n.local_user.list_current_groups/>
<n.if.visitor.is_site_admin>
<then.local_user.send_email_to_user_link/>
</n.if.visitor.is_site_admin>
<n.if.visitor.is_in_group group='Members'>
<then.local_user.send_email_to_user_link/>
</n.if.visitor.is_in_group>
</else>
</n.if.local_user.is_banned>
<!-- If this is the profile of the visitor -->
<n.if.visitor.equals.local_user>
<then>
<!-- if the user is authenticated -->
<n.if.local_user.is_authenticated>
<then.local_user.authenticated_self_profile_header/>
<else>
<div style="margin-top:.5em">
<t><n.register_link.>Register now</n.register_link.> if you want to edit your profile, receive posts via email,control your starred items or have access to your global profile.</t>
</div>
</else>
</n.if.local_user.is_authenticated>
</then>
<else>
<n.if.visitor.can_manage_banned_users>
<then>
<div style="margin-top:.5em">
<img src="/images/icon_blocked.png" class="image16" style="margin:0 1px"/>
<n.if.local_user.is_banned>
<then><a href="[n.local_user.unban_path/]"><t>Unban this user</t></a></then>
<else><a href="[n.local_user.ban_path/]"><t>Ban this user</t></a></else>
</n.if.local_user.is_banned>
</div>
</then>
</n.if.visitor.can_manage_banned_users>
</else>
</n.if.visitor.equals.local_user>
</td>
</tr>
</table>
</n.block.>
</override_macro>
Poderia ter usado esta opção de código:
<n.if>
<condition.either>
<condition1.visitor.is_site_admin/>
<condition2.visitor.is_in_group group='Members'/>
</condition.either>
<then.local_user.send_email_to_user_link/>
</n.if>
GSO 305 mm
NEQ6 Pro - Roda 5 Filtros Manual Guia: OAG TSOAG9T2 - ASI120MC Cannon EOS T3 - QHY163M ASI120MC, DSI-1 Meade e SPC880 |
| Free forum by Nabble | Edit this page |
