Bonjour , lorsque mon logiciel utilise la langue anglaise les information concernant le statut du sms s'affiche correctement . Par contre lorsque je passe en langue français le tpl qui doit afficher les donnée ne saffiche pas.
J4ai une premiere page DetailView.tpl qui m'affiche ceci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 <td colspan=4 class="dvInnerHeader"> <div style="float:left;font-weight:bold;"><div style="float:left;"><a href="javascript:showHideStatus('tbl{$header|replace:' ':''}','aid{$header|replace:' ':''}','{$IMAGE_PATH}');"> {if $BLOCKINITIALSTATUS[$header] eq 1} <img id="aid{$header|replace:' ':''}" src="{'activate.gif'|@vtiger_imageurl:$THEME}" style="border: 0px solid #000000;" alt="Hide" title="Hide"/> {else} <img id="aid{$header|replace:' ':''}" src="{'inactivate.gif'|@vtiger_imageurl:$THEME}" style="border: 0px solid #000000;" alt="Display" title="Display"/> {/if} </a></div><b> {$header} </b></div> </td>{/strip} </tr> {/if} </table> {if $header neq 'Comments'} {if $BLOCKINITIALSTATUS[$header] eq 1} <div style="width:auto;display:block;" id="tbl{$header|replace:' ':''}" > // A partir d'ici en anglais il passe au second tpl et en français il continue sur ce tpl {else} <div style="width:auto;display:none;" id="tbl{$header|replace:' ':''}" > {/if} <table border=0 cellspacing=0 cellpadding=0 width="100%" class="small">// En français c'est cette ligne qui s'affiche avec rien dedans
En anglais ce second tpl WidgetStatus.tpl s'execute alors que en français non
Quelqu'un pourrait m'expliquer pourquoi cela ne s'affiche pas en français.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 <div> <table width="100%" cellpadding="3" cellspacing="1" border="0" class="lvt small"> {assign var="_TRSTARTED" value=false} {foreach item=RESULT from=$RESULTS name=NUMBERSECTION} {if $smarty.foreach.NUMBERSECTION.index % 4 == 0} {* Close the tr if it was started last *} {if $_TRSTARTED} </tr> {assign var="_TRSTARTED" value=false} {/if} <tr class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" > {assign var="_TRSTARTED" value=true} {/if} {assign var="_TDBGCOLOR" value="#FFFFFF"} {if $RESULT.status eq'Processing'} {assign var="_TDBGCOLOR" value="#ffff00"} {elseif $RESULT.status eq 'Delivered'} {assign var="_TDBGCOLOR" value="#66FF66"} {elseif $RESULT.status eq 'Dispatched'} {assign var="_TDBGCOLOR" value="#33CCFF"} {elseif $RESULT.status eq 'Failed'} {assign var="_TDBGCOLOR" value="#ff0000"} {/if} <td nowrap="nowrap" bgcolor="{$_TDBGCOLOR}" width="25%"> SMS:{$RESULT.status}=> {$RESULT.tonumber}</td> {/foreach} {* Close the tr if it was started last *} {if $_TRSTARTED} </tr> {assign var="_TRSTARTED" value=false} {/if} </table> </div>
Un manque de traduction ? Ce son des numeros de telephone qui doivent apparaite
Partager