mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 22:27:34 +02:00
make [more] more multilanguage
This commit is contained in:
@@ -9,8 +9,8 @@
|
|||||||
* Text processing and parsing functions
|
* Text processing and parsing functions
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
|
||||||
* $Revision: 1.72 $
|
* $Revision: 1.73 $
|
||||||
* $Date: 2009-10-30 20:58:51 $
|
* $Date: 2009-10-30 21:01:13 $
|
||||||
* $Author: marj_nl_fr $
|
* $Author: marj_nl_fr $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -779,7 +779,7 @@ class e_parse
|
|||||||
* @param string $more string which will be added if truncation
|
* @param string $more string which will be added if truncation
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function text_truncate($text, $len = 200, $more = "[more]")
|
public function text_truncate($text, $len = 200, $more = ' ... ')
|
||||||
{
|
{
|
||||||
// Always valid
|
// Always valid
|
||||||
if(strlen($text) <= $len)
|
if(strlen($text) <= $len)
|
||||||
|
Reference in New Issue
Block a user