From 6b2d3f50721253fcd99cd4ed8b54671637457687 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 17 Oct 2011 21:36:10 +0200 Subject: [PATCH] Fix: Change only nb --- htdocs/core/class/html.formsms.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php index 6cd8bf9c8c5..46fae163e01 100755 --- a/htdocs/core/class/html.formsms.class.php +++ b/htdocs/core/class/html.formsms.class.php @@ -113,7 +113,7 @@ function limitChars(textarea, limit, infodiv) var textlength = text.length; var info = document.getElementById(infodiv); - info.innerHTML = \''.$langs->trans("SmsInfoCharRemain").': \' + (limit - textlength); + info.innerHTML = (limit - textlength); return true; } '; @@ -289,7 +289,7 @@ function limitChars(textarea, limit, infodiv) } else { - print ''; + print ''; print '
'.$langs->trans("SmsInfoCharRemain").': '.(160-dol_strlen($defaultmessage)).'
'; } print "\n";