Commit 7e1867a9458b4588a1bb809b8ea09d7a4e347953

Authored by Megan Watson
1 parent 9665c281

KTS-3369

"Question marks can be seen in the 'Document Fieldset' page when creating Fieldsets and fields with the following name ÃÄÅÁÁÂÄÆæàáäåãâăą ß ÊÉỄëéèėèêČčć¢ĐđğÍĺľíïìîĹĽ ŇñňÖỠỖÒÓỚóôöòðõøŔŕŠśšşŤťţ Ứ ÜÛÚÙüúûùųÝýÿŽżžçðþ"
Fixed. Changed truncate to use mb_truncate.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8474 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/metadata/admin/list.smarty
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 {foreach from=$fieldsets item=oFieldset} 25 {foreach from=$fieldsets item=oFieldset}
26 <tr> 26 <tr>
27 <td> 27 <td>
28 - { $oFieldset->getName()|truncate:40:"..." } 28 + { $oFieldset->getName()|mb_truncate:40:"..." }
29 </a> 29 </a>
30 </td> 30 </td>
31 <td class="centered"> 31 <td class="centered">
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 {if $aFields} 47 {if $aFields}
48 48
49 {foreach from=$aFields item=oField name=fields} 49 {foreach from=$aFields item=oField name=fields}
50 -{$oField->getName()|truncate:40}{if (!$smarty.foreach.fields.last)}<br/> {/if} 50 +{$oField->getName()|mb_truncate:40}{if (!$smarty.foreach.fields.last)}<br/> {/if}
51 {/foreach} 51 {/foreach}
52 52
53 {else} 53 {else}