mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Bugtracker #4889 - don't split entities in forum thread tooltips
This commit is contained in:
@@ -9,9 +9,9 @@
|
|||||||
* View specific forums
|
* View specific forums
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_viewforum.php,v $
|
* $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_viewforum.php,v $
|
||||||
* $Revision: 1.17 $
|
* $Revision: 1.18 $
|
||||||
* $Date: 2010-01-23 03:25:31 $
|
* $Date: 2010-01-23 09:53:08 $
|
||||||
* $Author: mcfly_e107 $
|
* $Author: e107steved $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -391,7 +391,8 @@ function parse_thread($thread_info)
|
|||||||
$tip_length = ($pref['forum_tiplength'] ? $pref['forum_tiplength'] : 400);
|
$tip_length = ($pref['forum_tiplength'] ? $pref['forum_tiplength'] : 400);
|
||||||
if (strlen($thread_thread) > $tip_length)
|
if (strlen($thread_thread) > $tip_length)
|
||||||
{
|
{
|
||||||
$thread_thread = substr($thread_thread, 0, $tip_length).' '.$menu_pref['newforumposts_postfix'];
|
//$thread_thread = substr($thread_thread, 0, $tip_length).' '.$menu_pref['newforumposts_postfix'];
|
||||||
|
$thread_thread = $tp->text_truncate($thread_thread, $tip_length, $menu_pref['newforumposts_postfix']); // Doesn't split entities
|
||||||
}
|
}
|
||||||
$thread_thread = str_replace("'", ''', $thread_thread);
|
$thread_thread = str_replace("'", ''', $thread_thread);
|
||||||
$title = "title='".$thread_thread."'";
|
$title = "title='".$thread_thread."'";
|
||||||
|
Reference in New Issue
Block a user