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

Merge pull request #28 from afa93001d48a/patch-1

Guestbook: don't hardcode username in alt/title text
This commit is contained in:
Quackster 2023-01-16 08:35:36 +10:00 committed by GitHub
commit 9cb887a719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ var andSoItBegins = (new Date()).getTime();
<script type="text/javascript"> <script type="text/javascript">
document.habboLoggedIn = {{ session.loggedIn }}; document.habboLoggedIn = {{ session.loggedIn }};
var habboName = "{{ playerDetails.username }}"; var habboName = "{{ playerDetails.getName() }}";
var ad_keywords = ""; var ad_keywords = "";
var habboReqPath = "{{ site.sitePath }}"; var habboReqPath = "{{ site.sitePath }}";
var habboStaticFilePath = "{{ site.staticContentPath }}/web-gallery"; var habboStaticFilePath = "{{ site.staticContentPath }}/web-gallery";
@ -96,7 +96,7 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
<li class=""> <li class="">
<a href="{{ site.sitePath }}/me">Home</a> </li> <a href="{{ site.sitePath }}/me">Home</a> </li>
<li class=""> <li class="">
<a href="{{ site.sitePath }}/home/{{ playerDetails.username }}">My Page</a> </li> <a href="{{ site.sitePath }}/home/{{ playerDetails.getName() }}">My Page</a> </li>
<li class=""> <li class="">
<a href="{{ site.sitePath }}/profile">Account Settings</a> </li> <a href="{{ site.sitePath }}/profile">Account Settings</a> </li>
<li class="selected{% if gameConfig.getInteger('guides.group.id') == 0 %} last{% endif %}"> <li class="selected{% if gameConfig.getInteger('guides.group.id') == 0 %} last{% endif %}">

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="{{ site.sitePath }}/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.sitePath }}/habbo-imaging/avatarimage?figure={{ entry.getUser().getFigure() }}&size=s&direction=4&head_direction=4&crr=0&gesture=&frame=1" alt="{{ entry.getUser().getName() }}" title="{{ entry.getUser().getName() }}"/>
</div> </div>
{% if hasDeletePermission %} {% if hasDeletePermission %}
<div class="guestbook-actions"> <div class="guestbook-actions">