Hi!
I have a  problem with this function. There are no lanuage refrenses in this, so it is 
english on my pages.


May I ask for some help here? Where would I put Norwegian words. I expect this will 
break?

function showTotals($total)
{
//sort the array by fee name
ksort($total);
//print items total
printTableRow("Items", 
formatMoney($total["Items"]), 
FALSE, 
"font-weight: bold;", 
"text-align: right;");
//print fees
reset($total);
while(list($key) = each($total))
{
if(($key != "Items") AND ($key != "Grand"))
{
printTableRow($key, 
formatMoney($total[$key]),
FALSE, 
"font-weight: bold;", 
"text-align: right;");
}
}
//print grand total
printTableRow("", "<hr style=\"color: black;\">", FALSE);
printTableRow("Grand Total", 
formatMoney($total["Grand"]),
FALSE, 
"font-weight: bold;", 
"text-align: right;");
return(TRUE);
}



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to