Skip to content

Commit

Permalink
Move icons to resources
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Mar 6, 2021
1 parent 9e95471 commit 9dfe92b
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/html/front/servers/row.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
<li class="aXenServerList_item_title">
<span class="aXenServerList_item_title:status{{if $row['axenserverlist_status']}} aXenServerList_item_title:status-online{{endif}}"></span>

{{$icons = $row["axenserverlist_game"] . '.png';}}
{{if settings.lazy_load_enabled}}
<img src='{expression="\IPS\Text\Parser::blankImage()"}' data-src="{setting='base_url'}applications/axenserverlist/interface/icons/{$row['axenserverlist_game']}.png" class="aXenServerList_item_title:img" data-ipstooltip _title="{$row['axenserverlist_game_long']}" alt="{$row['axenserverlist_game_long']}">
<img src='{expression="\IPS\Text\Parser::blankImage()"}' data-src='{resource="icons/{$icons}" app="axenserverlist" location="front"}' class="aXenServerList_item_title:img" data-ipstooltip _title="{$row['axenserverlist_game_long']}" alt="{$row['axenserverlist_game_long']}">
{{else}}
<img src="{setting='base_url'}applications/axenserverlist/interface/icons/{$row['axenserverlist_game']}.png" class="aXenServerList_item_title:img" data-ipstooltip _title="{$row['axenserverlist_game_long']}" alt="{$row['axenserverlist_game_long']}">
<img src='{resource="icons/{$icons}" app="axenserverlist" location="front"}' class="aXenServerList_item_title:img" data-ipstooltip _title="{$row['axenserverlist_game_long']}" alt="{$row['axenserverlist_game_long']}">
{{endif}}

<span class="aXenServerList_item_title:name">
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit 9dfe92b

Please sign in to comment.