another str_repeat math issue

This commit is contained in:
Ian 2012-10-17 18:05:15 +02:00
parent 22ab2433c7
commit a8ffe23890

View File

@ -85,7 +85,7 @@
<select id="newDir{$mediakey}" name="serendipity[newDir][{$mediakey}]">
<option value=""></option>
{foreach from=$media.paths item="folder"}
<option {if ($file.path == $folder.relpath)}selected="selected"{/if} value="{$folder.relpath}">{'&nbsp;'|str_repeat:$folder.depth*2}{$folder.name}</option>
<option {if ($file.path == $folder.relpath)}selected="selected"{/if} value="{$folder.relpath}">{'&nbsp;'|str_repeat:($folder.depth*2)}{$folder.name}</option>
{/foreach}
</select>
</div>