1
Fork 0
mirror of https://github.com/Quackster/Havana.git synced 2025-07-03 13:17:46 +00:00

Fix hardcoded imaging path

This commit is contained in:
Quackster 2022-09-04 10:26:04 +10:00
parent a6c3499e0a
commit 6e278bc727
16 changed files with 17 additions and 17 deletions

View file

@ -29,7 +29,7 @@
{% if habboTag.getUserId() > 0 %} {% if habboTag.getUserId() > 0 %}
{% set player = habboTag.getUserData() %} {% set player = habboTag.getUserData() %}
<td class="image" style="width:39px;"> <td class="image" style="width:39px;">
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ player.figure }}&size=s" alt="" align="left"/> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ player.figure }}&size=s" alt="" align="left"/>
</td> </td>
<td class="text"> <td class="text">
<a href="{{ site.sitePath }}/home/{{ player.getName() }}" class="result-title">{{ player.getName() }}</a><br/> <a href="{{ site.sitePath }}/home/{{ player.getName() }}" class="result-title">{{ player.getName() }}</a><br/>

View file

@ -326,7 +326,7 @@ var discussionMoreDataHelper = new MoreDataHelper("discussions-toggle-more-data-
</div> </div>
</div> </div>
<input type="hidden" id="active-habbo-url-{{ num }}" value="{{ site.sitePath }}/home/{{ habbo.getName() }}"/> <input type="hidden" id="active-habbo-url-{{ num }}" value="{{ site.sitePath }}/home/{{ habbo.getName() }}"/>
<input type="hidden" id="active-habbo-image-{{ num }}" class="active-habbo-image" value="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ habbo.getFigure() }}&size=b&direction=4&head_direction=4&crr=0&gesture=sml&frame=1 <input type="hidden" id="active-habbo-image-{{ num }}" class="active-habbo-image" value="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ habbo.getFigure() }}&size=b&direction=4&head_direction=4&crr=0&gesture=sml&frame=1
" /> " />
{% set num = num + 1 %} {% set num = num + 1 %}
{% endfor %} {% endfor %}

View file

@ -8,9 +8,9 @@
<script type="text/javascript"> <script type="text/javascript">
var andSoItBegins = (new Date()).getTime(); var andSoItBegins = (new Date()).getTime();
</script> </script>
<link rel="shortcut icon" href="https://cdn.classichabbo.com/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /> <link rel="shortcut icon" href="{{ site.staticContentPath }}/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="https://classichabbo.com/articles/rss.xml" /> <link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="https://classichabbo.com/articles/rss.xml" />
<script src="https://cdn.classichabbo.com/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="{{ site.staticContentPath }}/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="{{ site.staticContentPath }}/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="{{ site.staticContentPath }}/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="{{ site.staticContentPath }}/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="{{ site.staticContentPath }}/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="{{ site.staticContentPath }}/web-gallery/static/js/common.js" type="text/javascript"></script> <script src="{{ site.staticContentPath }}/web-gallery/static/js/common.js" type="text/javascript"></script>

View file

@ -94,7 +94,7 @@
{% endif %} {% endif %}
<div class="post-list-posts post-list-creator-info">Messages: {{ reply.getForumMessages() }}</div> <div class="post-list-posts post-list-creator-info">Messages: {{ reply.getForumMessages() }}</div>
<div class="clearfix"> <div class="clearfix">
<div class="post-list-creator-avatar"><img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ reply.getFigure() }}&size=b&direction=2&head_direction=2&crr=0&gesture=&frame=1" alt="" /></div> <div class="post-list-creator-avatar"><img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ reply.getFigure() }}&size=b&direction=2&head_direction=2&crr=0&gesture=&frame=1" alt="" /></div>
<div class="post-list-group-badge"> <div class="post-list-group-badge">
{% if reply.hasGroupBadge() %} {% if reply.hasGroupBadge() %}
<a href="{{ site.sitePath }}/groups/{{ reply.getGroupId() }}/id"> <a href="{{ site.sitePath }}/groups/{{ reply.getGroupId() }}/id">

View file

@ -10,7 +10,7 @@
<div class="post-list-posts post-list-creator-info">Messages: {{ userReplies }}</div> <div class="post-list-posts post-list-creator-info">Messages: {{ userReplies }}</div>
<div class="clearfix"> <div class="clearfix">
<div class="post-list-creator-avatar"> <div class="post-list-creator-avatar">
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=2&head_direction=2&crr=0&gesture=&frame=1" alt="" /> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=2&head_direction=2&crr=0&gesture=&frame=1" alt="" />
</div> </div>
{% if hasGroup %} {% if hasGroup %}
<div class="post-list-group-badge"> <div class="post-list-group-badge">

View file

@ -10,7 +10,7 @@
<div class="post-list-posts post-list-creator-info">Messages: {{ userReplies }}</div> <div class="post-list-posts post-list-creator-info">Messages: {{ userReplies }}</div>
<div class="clearfix"> <div class="clearfix">
<div class="post-list-creator-avatar"> <div class="post-list-creator-avatar">
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=2&head_direction=2&crr=0&gesture=&frame=1" alt="" /> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=2&head_direction=2&crr=0&gesture=&frame=1" alt="" />
</div> </div>
{% if hasGroup %} {% if hasGroup %}
<div class="post-list-group-badge"> <div class="post-list-group-badge">

View file

@ -2,7 +2,7 @@
<ul class="habblet-list"> <ul class="habblet-list">
{% set num = 0 %} {% set num = 0 %}
{% for details in searchResults %} {% for details in searchResults %}
{% if num % 2 == 0 %}<li class="even {% else %}<li class="odd{% endif %} offline" homeurl="{{ site.sitePath }}/home/{{ details.getName() }}" style="background-image: url(https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ details.figure }}&size=s&direction=2&head_direction=2&crr=0&gesture=sml&frame=1)"> {% if num % 2 == 0 %}<li class="even {% else %}<li class="odd{% endif %} offline" homeurl="{{ site.sitePath }}/home/{{ details.getName() }}" style="background-image: url({{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ details.figure }}&size=s&direction=2&head_direction=2&crr=0&gesture=sml&frame=1)">
<div class="item"> <div class="item">
<b>{{ details.getName() }}</b><br /> <b>{{ details.getName() }}</b><br />

View file

@ -56,7 +56,7 @@
<span class="message-tstamp" isotime="{{ minimailMessage.getIsoDate() }}" title="{{ minimailMessage.getDate() }}"> <span class="message-tstamp" isotime="{{ minimailMessage.getIsoDate() }}" title="{{ minimailMessage.getDate() }}">
{{ minimailMessage.getDate() }} {{ minimailMessage.getDate() }}
</span> </span>
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ minimailMessage.getAuthor().getFigure() }}&size=s&direction=9&head_direction=2&crr=0&gesture=sml&frame=1" /> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ minimailMessage.getAuthor().getFigure() }}&size=s&direction=9&head_direction=2&crr=0&gesture=sml&frame=1" />
{% if minimailLabel == "sent" %} {% if minimailLabel == "sent" %}
<span class="message-sender" title="To: {{ minimailMessage.getTarget().getName() }}">To: {{ minimailMessage.getTarget().getName() }}</span> <span class="message-sender" title="To: {{ minimailMessage.getTarget().getName() }}">To: {{ minimailMessage.getTarget().getName() }}</span>
{% elseif minimailLabel == "inbox" %} {% elseif minimailLabel == "inbox" %}

View file

@ -6,7 +6,7 @@
<li id="guestbook-entry-{{ entry.getId() }}" class="guestbook-entry"> <li id="guestbook-entry-{{ entry.getId() }}" class="guestbook-entry">
<div class="guestbook-author"> <div class="guestbook-author">
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ entry.getUser().getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="Alex" title="Alex"/> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ entry.getUser().getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="Alex" title="Alex"/>
</div> </div>
{% if hasDeletePermission %} {% if hasDeletePermission %}
<div class="guestbook-actions"> <div class="guestbook-actions">

View file

@ -1,7 +1,7 @@
<ul class="guestbook-entries"> <ul class="guestbook-entries">
<li id="guestbook-entry--1" class="guestbook-entry"> <li id="guestbook-entry--1" class="guestbook-entry">
<div class="guestbook-author"> <div class="guestbook-author">
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ playerDetails.getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="" title=""/> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ playerDetails.getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="" title=""/>
</div> </div>
<div class="guestbook-message"> <div class="guestbook-message">
<div class="{% if playerDetails.isOnline() %}online{% else %}offline{% endif %}"> <div class="{% if playerDetails.isOnline() %}online{% else %}offline{% endif %}">

View file

@ -2,7 +2,7 @@
<div class="avatar-info-basic clearfix"> <div class="avatar-info-basic clearfix">
<div class="avatar-list-info-close-container"><a href="#" class="avatar-list-info-close" id="avatar-list-info-close-3"></a></div> <div class="avatar-list-info-close-container"><a href="#" class="avatar-list-info-close" id="avatar-list-info-close-3"></a></div>
<div class="avatar-info-image"> <div class="avatar-info-image">
<img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ avatar.getFigure() }}&size=b&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="test" /> <img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ avatar.getFigure() }}&size=b&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="test" />
</div> </div>
<h4><a href="{{ site.sitePath }}/home/{{ avatar.getName() }}">{{ avatar.getName() }}</a></h4> <h4><a href="{{ site.sitePath }}/home/{{ avatar.getName() }}">{{ avatar.getName() }}</a></h4>
<p> <p>

View file

@ -27,7 +27,7 @@
{% if friends > 0 %} {% if friends > 0 %}
{% for friend in friendsList %} {% for friend in friendsList %}
<li id="avatar-list-{{ sticker.getId() }}-{{ friend.getUserId() }}" title="{{ friend.getUsername() }}"><div class="avatar-list-open"><a href="#" id="avatar-list-open-link-{{ sticker.getId() }}-{{ friend.getUserId() }}" class="avatar-list-open-link"></a></div> <li id="avatar-list-{{ sticker.getId() }}-{{ friend.getUserId() }}" title="{{ friend.getUsername() }}"><div class="avatar-list-open"><a href="#" id="avatar-list-open-link-{{ sticker.getId() }}-{{ friend.getUserId() }}" class="avatar-list-open-link"></a></div>
<div class="avatar-list-avatar"><img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ friend.getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="" /></div> <div class="avatar-list-avatar"><img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ friend.getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="" /></div>
<h4><a href="{{ site.sitePath }}/home/{{ friend.getUsername() }}">{{ friend.getUsername() }}</a></h4> <h4><a href="{{ site.sitePath }}/home/{{ friend.getUsername() }}">{{ friend.getUsername() }}</a></h4>
<p class="avatar-list-birthday">{{ friend.getFormatLastOnline("dd-MM-yyyy") }}</p> <p class="avatar-list-birthday">{{ friend.getFormatLastOnline("dd-MM-yyyy") }}</p>
<p> <p>

View file

@ -25,7 +25,7 @@
{% if members > 0 %} {% if members > 0 %}
{% for member in membersList %} {% for member in membersList %}
<li id="avatar-list-{{ sticker.getId() }}-{{ member.getUser().getId() }}" title="{{ member.getUser().getName() }}"><div class="avatar-list-open"><a href="#" id="avatar-list-open-link-{{ sticker.getId() }}-{{ member.getUser().getId() }}" class="avatar-list-open-link"></a></div> <li id="avatar-list-{{ sticker.getId() }}-{{ member.getUser().getId() }}" title="{{ member.getUser().getName() }}"><div class="avatar-list-open"><a href="#" id="avatar-list-open-link-{{ sticker.getId() }}-{{ member.getUser().getId() }}" class="avatar-list-open-link"></a></div>
<div class="avatar-list-avatar"><img src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ member.getUser().getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="" /></div> <div class="avatar-list-avatar"><img src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ member.getUser().getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="" /></div>
<h4><a href="{{ site.sitePath }}/home/{{ member.getUser().getName() }}">{{ member.getUser().getName() }}</a></h4> <h4><a href="{{ site.sitePath }}/home/{{ member.getUser().getName() }}">{{ member.getUser().getName() }}</a></h4>
<p class="avatar-list-birthday">{{ member.getUser().getCreatedAt() }}</p> <p class="avatar-list-birthday">{{ member.getUser().getCreatedAt() }}</p>

View file

@ -50,7 +50,7 @@ Event.observe("widget-{{ sticker.getId() }}-edit", "click", function(e) { openEd
{% endautoescape %} {% endautoescape %}
</div> </div>
<div class="profile-figure"> <div class="profile-figure">
<img alt="{{ user.getName() }}" src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ user.figure }}&size=b&direction=4&head_direction=4&crr=0&gesture=&frame=1" /> <img alt="{{ user.getName() }}" src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ user.figure }}&size=b&direction=4&head_direction=4&crr=0&gesture=&frame=1" />
</div> </div>
{% autoescape 'html' %} {% autoescape 'html' %}
<div class="profile-motto"> <div class="profile-motto">

View file

@ -146,7 +146,7 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
{% if playerDetails.motto.toLowerCase() == "crikey" %} {% if playerDetails.motto.toLowerCase() == "crikey" %}
<img src='{{ site.staticContentPath }}/web-gallery/images/sticker_croco.gif' style='margin-top: 57px'> <img src='{{ site.staticContentPath }}/web-gallery/images/sticker_croco.gif' style='margin-top: 57px'>
{% else %} {% else %}
<img alt="{{ playerDetails.getName() }}" src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=3&head_direction=3&crr=0&gesture=sml&frame=1" width="64" height="110" /> <img alt="{{ playerDetails.getName() }}" src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=3&head_direction=3&crr=0&gesture=sml&frame=1" width="64" height="110" />
{% endif %} {% endif %}
</a> </a>
</div> </div>

View file

@ -175,7 +175,7 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
<div class="cbb clearfix lightgreen"> <div class="cbb clearfix lightgreen">
<div class="welcome-intro clearfix"> <div class="welcome-intro clearfix">
<img alt="{{ site.playerName }}" src="https://cdn.classichabbo.com/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=3&head_direction=3&crr=667&gesture=srp&frame=1" width="64" height="110" class="welcome-habbo" /> <img alt="{{ site.playerName }}" src="{{ site.habboImagingPath }}/habbo-imaging/avatarimage?figure={{ playerDetails.figure }}&size=b&direction=3&head_direction=3&crr=667&gesture=srp&frame=1" width="64" height="110" class="welcome-habbo" />
<div id="welcome-intro-welcome-user" >Welcome {{ playerDetails.getName() }}!</div> <div id="welcome-intro-welcome-user" >Welcome {{ playerDetails.getName() }}!</div>
<div id="welcome-intro-welcome-party" class="box-content">When arriving to your room, you will be asked if you'd like to meet {{ site.siteName }} Guides. {{ site.siteName }} guides are experienced {{ site.siteName }} players.</div> <div id="welcome-intro-welcome-party" class="box-content">When arriving to your room, you will be asked if you'd like to meet {{ site.siteName }} Guides. {{ site.siteName }} guides are experienced {{ site.siteName }} players.</div>
</div> </div>