unstringify str_repeat math
This commit is contained in:
@ -185,7 +185,7 @@
|
||||
<select id="dircreate_parent" name="serendipity[parent]">
|
||||
<option value="">{$CONST.BASE_DIRECTORY}</option>
|
||||
{foreach $folders as $folder}
|
||||
<option{if $folder.relpath == $get.only_path} selected{/if} value="{$folder.relpath}">{' '|str_repeat:"($folder.depth*2)"} {$folder.name}</option>
|
||||
<option{if $folder.relpath == $get.only_path} selected{/if} value="{$folder.relpath}">{' '|str_repeat:($folder.depth*2)} {$folder.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
|
@ -219,7 +219,7 @@
|
||||
<select name="serendipity[parent]">
|
||||
<option value="">{$CONST.BASE_DIRECTORY}</option>
|
||||
{foreach $folders as $folder}
|
||||
<option {if $folder.relpath == $get.only_path}selected="selected"{/if} value="{$folder.relpath}">{' '|str_repeat:"($folder.depth*2)"} {$folder.name}</option>
|
||||
<option {if $folder.relpath == $get.only_path}selected="selected"{/if} value="{$folder.relpath}">{' '|str_repeat:($folder.depth*2)} {$folder.name}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user