>From 17bdcba4de393e76bbc20f07b160ec668215a30b Mon Sep 17 00:00:00 2001 From: jfefe Date: Mon, 17 Oct 2011 00:48:04 +0200 Subject: [PATCH 3/4] Fix : JS limit char --- htdocs/core/class/html.formsms.class.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.formsms.class.php b/htdocs/core/class/html.formsms.class.php index c425471..f0d5a54 100755 --- a/htdocs/core/class/html.formsms.class.php +++ b/htdocs/core/class/html.formsms.class.php @@ -224,7 +224,7 @@ function limitChars(textarea, limit, infodiv) } else { - print "withto) && $this->withto != '1'? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto):"+")."\">"; + print "withto) && $this->withto != '1'? (isset($_REQUEST["sendto"])?$_REQUEST["sendto"]:$this->withto):"+")."\">"; if (! empty($this->withtosocid) && $this->withtosocid > 0) { $liste=array(); @@ -261,7 +261,7 @@ function limitChars(textarea, limit, infodiv) else { print ''; - print '
'.$langs->trans("SmsInfoCharRemain").': '.(160-dol_strlen($defaultmessage)).'
'; + print '
'.$langs->trans("SmsInfoCharRemain").' : '. ( 160 - dol_strlen($defaultmessage)).'
'; } print "\n"; } -- 1.7.2.5