Commit 64775166d993fe39848fdc414fc7e4066371aa4d

Authored by kevin_fourie
1 parent c20dbcf5

Merged in...

KTS-3809
"the tail of cut filename is garbled"
Fixed. Replaced truncate with mb_truncate. Closed <nobr> tags.

Committed by: Megan Watson
Reviewed by: Conrad Vermeulen


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.4-Release-Branch@9579 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/search2/reporting/templates/pendingdocuments.smarty
@@ -15,9 +15,9 @@ @@ -15,9 +15,9 @@
15 15
16 <thead> 16 <thead>
17 <tr> 17 <tr>
18 - <th><nobr>{i18n}Filename{/i18n}</th>  
19 - <th width="100"><nobr>{i18n}Extractor{/i18n}</th>  
20 - <th width="100"><nobr>{i18n}Index Date{/i18n}</th> 18 + <th>{i18n}Filename{/i18n}</th>
  19 + <th width="100">{i18n}Extractor{/i18n}</th>
  20 + <th width="100">{i18n}Index Date{/i18n}</th>
21 </tr> 21 </tr>
22 </thead> 22 </thead>
23 23
@@ -25,7 +25,7 @@ @@ -25,7 +25,7 @@
25 25
26 {foreach key=key from=$pending_docs item=pendingDocs} 26 {foreach key=key from=$pending_docs item=pendingDocs}
27 <tr> 27 <tr>
28 - <td><a href="{$root_url}/view.php?fDocumentId={$pendingDocs.document_id}">{$pendingDocs.filename|truncate:40:'...'}</a></td> 28 + <td><a href="{$root_url}/view.php?fDocumentId={$pendingDocs.document_id}">{$pendingDocs.filename|mb_truncate:50:'...':true}</a></td>
29 <td>{if $pendingDocs.extractor}{$pendingDocs.extractor}{else}<p><font color="#FF9933">{i18n}n/a{/i18n}</font></p>{/if}</td> 29 <td>{if $pendingDocs.extractor}{$pendingDocs.extractor}{else}<p><font color="#FF9933">{i18n}n/a{/i18n}</font></p>{/if}</td>
30 <td>{$pendingDocs.indexdate}</td> 30 <td>{$pendingDocs.indexdate}</td>
31 </tr> 31 </tr>