Commit eaacfe41 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Update str_shorten calls in filebrowser element

parent 06fab5a9
......@@ -25,7 +25,7 @@
{/if}
</td>
<td class="filename">
{assign var=displaytitle value=$file->title|escape|str_shorten:34}
{assign var=displaytitle value=$file->title|escape|str_shorten_text:34}
{if $file->artefacttype == 'folder'}
<a href="{$querybase}folder={$file->id}" class="changefolder" title="{str tag=gotofolder section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>
{else}
......
{foreach from=$path item=f name=path}
{if !$smarty.foreach.path.first}/ {/if}<a href="{$querybase}folder={$f->id}" class="changefolder">{$f->title|escape|str_shorten:34}</a>
{if !$smarty.foreach.path.first}/ {/if}<a href="{$querybase}folder={$f->id}" class="changefolder">{$f->title|escape|str_shorten_text:34}</a>
{/foreach}
......@@ -10,7 +10,7 @@
</thead>
<tbody>
{foreach from=$selectedlist item=file}
{assign var=displaytitle value=$file->title|escape|str_shorten:34}
{assign var=displaytitle value=$file->title|escape|str_shorten_text:34}
<tr class="r{cycle values=0,1}{if !empty($highlight) && $highlight == $file->id} highlight-file{/if}">
<td>
<img src="{if $file->artefacttype == 'image'}{$WWWROOT}artefact/file/download.php?file={$file->id}&size=20x20{else}{$THEMEURL}images/{$file->artefacttype}.gif{/if}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment