mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-03 05:07: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:
commit
9cb887a719
2 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ var andSoItBegins = (new Date()).getTime();
|
|||
|
||||
<script type="text/javascript">
|
||||
document.habboLoggedIn = {{ session.loggedIn }};
|
||||
var habboName = "{{ playerDetails.username }}";
|
||||
var habboName = "{{ playerDetails.getName() }}";
|
||||
var ad_keywords = "";
|
||||
var habboReqPath = "{{ site.sitePath }}";
|
||||
var habboStaticFilePath = "{{ site.staticContentPath }}/web-gallery";
|
||||
|
@ -96,7 +96,7 @@ body { behavior: url({{ site.staticContentPath }}/web-gallery/js/csshover.htc);
|
|||
<li class="">
|
||||
<a href="{{ site.sitePath }}/me">Home</a> </li>
|
||||
<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="">
|
||||
<a href="{{ site.sitePath }}/profile">Account Settings</a> </li>
|
||||
<li class="selected{% if gameConfig.getInteger('guides.group.id') == 0 %} last{% endif %}">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<li id="guestbook-entry-{{ entry.getId() }}" class="guestbook-entry">
|
||||
<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>
|
||||
{% if hasDeletePermission %}
|
||||
<div class="guestbook-actions">
|
||||
|
@ -26,4 +26,4 @@
|
|||
</div>
|
||||
<div class="guestbook-cleaner"> </div>
|
||||
<div class="guestbook-entry-footer metadata">{{ entry.getCreationDate() }}</div>
|
||||
</li>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Reference in a new issue