make full title without dots
This commit is contained in:
parent
66a51f37b2
commit
5f088954be
5
boot.php
5
boot.php
|
@ -1858,7 +1858,10 @@ if(! function_exists('get_events')) {
|
||||||
$md = datetime_convert('UTC','UTC',$rr['start'],'Y/m');
|
$md = datetime_convert('UTC','UTC',$rr['start'],'Y/m');
|
||||||
$md .= "/#link-".$rr['id'];
|
$md .= "/#link-".$rr['id'];
|
||||||
|
|
||||||
$title = substr($rr['summary'],0,32) . '... ';
|
$title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8'));
|
||||||
|
|
||||||
|
if(strlen($title) > 35)
|
||||||
|
$title = substr($title,0,32) . '... ';
|
||||||
|
|
||||||
$description = substr(strip_tags(bbcode($rr['desc'])),0,32) . '... ';
|
$description = substr(strip_tags(bbcode($rr['desc'])),0,32) . '... ';
|
||||||
if(! $description)
|
if(! $description)
|
||||||
|
|
Loading…
Reference in a new issue