1
0
Fork 0

Remove album name bin2hex conversion in file browser

- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
This commit is contained in:
Hypolite Petovan 2020-04-21 22:14:11 -04:00
commit 16f48731b1
7 changed files with 26 additions and 28 deletions

View file

@ -14,13 +14,17 @@
</div>
<div class="path">
{{foreach $path as $p}}<a href="#" data-folder="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
{{foreach $path as $folder => $name}}
<a href="#" data-folder="{{$folder}}">{{$name}}</a>
{{/foreach}}
</div>
{{if $folders }}
<div class="folders">
<ul>
{{foreach $folders as $f}}<li><a href="#" data-folder="{{$f.0}}">{{$f.1}}</a></li>{{/foreach}}
{{foreach $folders as $folder}}
<li><a href="#" data-folder="{{$folder}}">{{$folder}}</a></li>
{{/foreach}}
</ul>
</div>
{{/if}}