In accordance with my first message, you have to add your icons inside hfs
expert mode--> Menu -> Other options -> Add icons
then go to settings panel -> Icon masks
add the "mkv" extension and associate the desired icon (number 1000 and upper)
Else:
This is what is found in the default template
[file=folder=link|private]
<tr class='{.if|{.mod|{.count|row.}|2.}|even.}'><td>
<input type='checkbox' class='selector' name='selection' value='%item-url%' {.if not|{.or|{.get|can delete.}|{.get|can access.}|{.get|can archive item.}.}|disabled='disabled'.} />
{.if|{.get|is new.}|<span class='flag'> NEW </span>.}
{.if not|{.get|can access.}|<img src='/~img_lock'>.}
<a href="%item-url%"><img src="%item-icon%"> %item-name%</a>
{.if| {.length|{.?search.}.} |{:{.123 if 2|<div class='item-folder'>{.!item folder.} |{.breadcrumbs|{:<a href="%bread-url%">%bread-name%/</a>:}|from={.count substring|/|%folder%.}/breadcrumbs.}|</div>.}:} .}
{.123 if 2|<div class='comment'>|{.commentNL|%item-comment%.}|</div>.}
it is also possible specify what icons to use an icon from icon masks…
/~img# where ‘#’ is the number of the icon in the icon list of HFS.
We are using the macro SWITCH, in the next example change the default icon file by your one but you have to respect the next full syntax
<img src="{.switch|%item-ext%|,|mkv|/~img25|%item-icon%.}">
Switch works as this:
{.switch|X|separator|B,C|value1|D|value2|F|value3|default_value.}
if X == B or C then {.switch.} is replaced by value1
elseif X == D then {.switch.} isreplaced by value2
elseif X == F then {.switch.} isreplaced by value3
else {.switch.} isreplaced by default_value
you can replace /~img25 by a full path as /icons/mkv.ico
<img src="{.switch|%item-ext%|,|mkv|/icons/mkv.ico|%item-icon%.}">
to do that , create a real folder icons as hidden and browsable for all users and guest, and put your ico files inside