mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-05 22:27:45 +00:00
Add files via upload
This commit is contained in:
parent
0f00cf86d2
commit
c35a7dd34f
3 changed files with 100 additions and 0 deletions
40
tools/www-tpl/default-es/quickmenu/friends_all.tpl
Normal file
40
tools/www-tpl/default-es/quickmenu/friends_all.tpl
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{% if (onlineFriends|length == 0) and (offlineFriends|length == 0) %}
|
||||||
|
|
||||||
|
<ul id="quickmenu-friends">
|
||||||
|
<li class="odd">No se encontraron amigos.</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
<ul id="online-friends">
|
||||||
|
{% set num = 0 %}
|
||||||
|
{% for friend in onlineFriends %}
|
||||||
|
{% if num % 2 == 0 %}
|
||||||
|
<li class="even">
|
||||||
|
{% else %}
|
||||||
|
<li class="odd">
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ site.sitePath }}/home/{{ friend.getUsername() }}">{{ friend.getUsername() }}</a>
|
||||||
|
</li>
|
||||||
|
{% set num = num + 1 %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<ul id="offline-friends">
|
||||||
|
|
||||||
|
{% for friend in offlineFriends %}
|
||||||
|
{% if num % 2 == 0 %}
|
||||||
|
<li class="even">
|
||||||
|
{% else %}
|
||||||
|
<li class="odd">
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ site.sitePath }}/home/{{ friend.getUsername() }}">{{ friend.getUsername() }}</a>
|
||||||
|
</li>
|
||||||
|
{% set num = num + 1 %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
{% endif %}
|
41
tools/www-tpl/default-es/quickmenu/groups.tpl
Normal file
41
tools/www-tpl/default-es/quickmenu/groups.tpl
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<ul id="quickmenu-groups">
|
||||||
|
|
||||||
|
{% if groups|length > 0 %}
|
||||||
|
{% set i = 1 %}
|
||||||
|
{% set status = 0 %}
|
||||||
|
|
||||||
|
{% for group in groups %}
|
||||||
|
{% if i % 2 == 0 %}
|
||||||
|
{% set status = "odd" %}
|
||||||
|
{% else %}
|
||||||
|
{% set status = "even" %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<li class="{{ status }}">
|
||||||
|
{% if group.getRoomId() > 0 %}
|
||||||
|
<a href="{{ site.sitePath }}/client?forwardId=2&roomId={{ group.getRoomId() }}" onclick="HabboClient.roomForward(this, '{{ group.getRoomId() }}', 'private'); return false;" target="client" class="group-room" title=""></a>
|
||||||
|
{% endif %}
|
||||||
|
{% if group.isMember(playerDetails.id) %}
|
||||||
|
{% set member = group.getMember(playerDetails.id) %}
|
||||||
|
{% if member.getMemberRank().getRankId() == 3 %}
|
||||||
|
<div class="owned-group" title="Dueñ@"></div>
|
||||||
|
{% endif %}
|
||||||
|
{% if member.getMemberRank().getRankId() == 2 %}
|
||||||
|
<div class="admin-group" title="Administrador/a"></div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if playerDetails.getFavouriteGroupId() == group.id %}
|
||||||
|
<div class="favourite-group" title="Favorite"></div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<a href="{{ group.generateClickLink() }}">{% autoescape 'html' %}{{ group.name }}{% endautoescape %}</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
{% set i = i + 1 %}
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<li class="odd">Aun no perteneces a un grupo.</li>
|
||||||
|
{% endif %}
|
||||||
|
<p class="create-group"><a href="#" onclick="GroupPurchase.open(); return false;">Crear un grupo</a></p>
|
19
tools/www-tpl/default-es/quickmenu/rooms.tpl
Normal file
19
tools/www-tpl/default-es/quickmenu/rooms.tpl
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<ul id="quickmenu-rooms">
|
||||||
|
{% if rooms|length > 0 %}
|
||||||
|
|
||||||
|
{% set num = 0 %}
|
||||||
|
{% for room in rooms %}
|
||||||
|
{% if num % 2 == 0 %}
|
||||||
|
<li class="even">
|
||||||
|
{% else %}
|
||||||
|
<li class="odd">
|
||||||
|
{% endif %}
|
||||||
|
<a href="{{ site.sitePath }}/client?forwardId=2&roomId={{ room.getData().getId() }}" onclick="roomForward(this, '{{ room.getData().getId() }}', 'private'); return false;" target="client" id="room-navigation-link_{{ room.getData().getId() }}">{% autoescape 'html' %}{{ room.getData().getName() }}{% endautoescape %}</a></li>
|
||||||
|
{% set num = num + 1 %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
<li class="odd">Aun no tienes salas.</li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
<p class="create-room"><a href="{{ site.sitePath }}/client?shortcut=roomomatic" onclick="HabboClient.openShortcut(this, 'roomomatic'); return false;" target="client">Crear una sala</a></p>
|
Loading…
Add table
Reference in a new issue