[-] BO : added a truncate on a too long string #PSCFV-4009
This commit is contained in:
1 parent
a2c8f01f61
commit
b05e337489
2 files changed
+3
-3
No files matched your search
@@ -38,7 +38,7 @@
|
|||||||
<tr height="32" {if $km % 2 eq 0} class="alt_row"{/if}>
|
<tr height="32" {if $km % 2 eq 0} class="alt_row"{/if}>
|
||||||
<td><img src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}" width="16" height="16" /></td>
|
<td><img src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}" width="16" height="16" /></td>
|
||||||
<td><span class="moduleName">{$module->displayName}</span></td>
|
<td><span class="moduleName">{$module->displayName}</span></td>
|
||||||
<td><span class="moduleFavDesc">{$module->description|truncate:80:'…'}</span></td>
|
<td><span class="moduleFavDesc">{$module->description|truncate:80:'...'}</span></td>
|
||||||
<td>{if isset($module->id) && $module->id gt 0}<span class="setup">{l s='Installed'}</span>{else}<span class="setup non-install">{l s='Not Installed'}</span>{/if}</td>
|
<td>{if isset($module->id) && $module->id gt 0}<span class="setup">{l s='Installed'}</span>{else}<span class="setup non-install">{l s='Not Installed'}</span>{/if}</td>
|
||||||
<td>{$module->categoryName}</td>
|
<td>{$module->categoryName}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -184,8 +184,8 @@
|
|||||||
{foreach from=$sources item=source}
|
{foreach from=$sources item=source}
|
||||||
<li>
|
<li>
|
||||||
{dateFormat date=$source['date_add'] full=true}<br />
|
{dateFormat date=$source['date_add'] full=true}<br />
|
||||||
<b>{l s='From:'}</b> <a href="{$source['http_referer']}">{parse_url($source['http_referer'], $smarty.const.PHP_URL_HOST)|regex_replace:'/^www./':''}</a><br />
|
<b>{l s='From:'}</b>{$source['http_referer'] != ''}<a href="{$source['http_referer']}">{parse_url($source['http_referer'], $smarty.const.PHP_URL_HOST)|regex_replace:'/^www./':''}</a>{else}-{/if}<br />
|
||||||
<b>{l s='To:'}</b> {$source['request_uri']}<br />
|
<b>{l s='To:'}</b> <a href="http://{$source['request_uri']}">{$source['request_uri']|truncate:100:'...'}</a><br />
|
||||||
{if $source['keywords']}<b>{l s='Keywords:'}</b> {$source['keywords']}<br />{/if}<br />
|
{if $source['keywords']}<b>{l s='Keywords:'}</b> {$source['keywords']}<br />{/if}<br />
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|||||||
Reference in new issue
Block a user