fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [17440] sms: alter max lenght


From: sigurdne
Subject: [Fmsystem-commits] [17440] sms: alter max lenght
Date: Wed, 13 Dec 2017 10:50:13 -0500 (EST)

Revision: 17440
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17440
Author:   sigurdne
Date:     2017-12-13 10:50:13 -0500 (Wed, 13 Dec 2017)
Log Message:
-----------
sms: alter max lenght

Modified Paths:
--------------
    trunk/sms/inc/class.uisms.inc.php

Modified: trunk/sms/inc/class.uisms.inc.php
===================================================================
--- trunk/sms/inc/class.uisms.inc.php   2017-12-13 15:28:17 UTC (rev 17439)
+++ trunk/sms/inc/class.uisms.inc.php   2017-12-13 15:50:13 UTC (rev 17440)
@@ -402,7 +402,13 @@
 
                        $GLOBALS['phpgw']->xslttpl->add_file(array('sms'));
 
-                       $max_length = 160;
+                       /**
+                        * Text messages exceeding 160 characters will be split 
up into a maximum of 6 SMS messages,
+                        * each of 134 characters. Thus, the maximum length is 
6*134=804 characters.
+                        * This is done automatically by the SMS Gateway.
+                        * Text messages of more than 804 characters will be 
truncated.
+                        */
+                       $max_length = 804;
 
                        if (is_array($values))
                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]