mirror of
https://github.com/danbee/neompc
synced 2025-03-04 08:39:10 +00:00
Updated the browse template files to include aconbere's URL encoding fixes.
This commit is contained in:
parent
bf6c21eb7d
commit
31167a15f4
@ -3,7 +3,7 @@
|
||||
<li>• <a href="index.php?browse=/"><img src="images/home.gif" alt="Home" /></a></li>
|
||||
|
||||
{foreach from=$dir_list item=dir_list_item}
|
||||
<li>• <a href="index.php?browse={$dir_list_item.path}">{$dir_list_item.name}</a></li>
|
||||
<li>• <a href="index.php?browse={$dir_list_item.path|escape:'url'}">{$dir_list_item.name}</a></li>
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
|
||||
{if $browselist_item.directory}
|
||||
|
||||
<li><a href="index.php?browse={$browselist_item.directory}"><img src="images/dir.gif" class="icon" /> {$browselist_item.directory_name}</a></li>
|
||||
<li><a href="index.php?browse={$browselist_item.directory|escape:'url'}"><img src="images/dir.gif" class="icon" /> {$browselist_item.directory_name}</a></li>
|
||||
|
||||
{else}
|
||||
|
||||
{if $browselist_item.in_playlist}<li style="background: #555;">{else}<li>{/if}<a href="{$browselist_add_link}{$browselist_item.file}"><img src="images/add.gif" alt="Add" class="button" /></a><a href="{$browselist_play_link}{$browselist_item.file}"><img src="images/play.gif" alt="Play" class="button" /></a><img src="images/note.gif" class="icon" /> {if $browselist_item.Title}<span class="title">{$browselist_item.Title}</span><br /><span class="artist">{$browselist_item.Artist}</span> <span class="album">({$browselist_item.Album})</span>{else}{$browselist_item.file}{/if}</li>
|
||||
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user