Hide digits?

JavaScript and client side scripting.

Moderator: General Moderators

Locked
nackgr
Forum Newbie
Posts: 11
Joined: Mon Feb 21, 2011 3:22 am

Hide digits?

Post by nackgr »

Hallo

We have a table that saws calling numbers report


The <td> <td nowrap >{anum}</td> saws the number that our clients number has dial how can i make this td everytime hide the last 4 digits

Thanks!!

Code: Select all

<calls_list>
<table class="callsListTable" cellpadding="10">
<tr class="title">
<td width="40"></td>
<td width="20%">{word:date}</td>
<td width="20%">{word:country}</td>
<td width="20%">{word:to_number}</td>  
<td width="20%">{word:from_number}</td>
<td width="20%">{word:cost}</td>
<td width="20%">{word:time}</td>
<td width="20%">{word:price}</td>
</tr>
<call>
<tr class="line{class}">
<td><img src="/templates/g/images/{cdir}.gif"></td>
<td>{calldate}</td>
<td>{rdest}</td>
<td nowrap>{bnum}</td>
<td nowrap >{anum}</td>
<td>{mcost}</td>
<td>{billsec}</td>
<td>{ccost} {curr}</td>
</tr></call>
<tr>
<td colspan="5"></td>
<td colspan="3" align="right"><b>{word:total_calls_cost}: {total_calls_cost} Eur</b></td>
</tr>
</table></calls_list>
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Hide digits?

Post by Christopher »

What is your question?
(#10850)
Locked