
03-18-2002, 07:51 AM
|
 |
|
|
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally posted by PPN
PHP Code:
if (strlen($forum['lasttitle']) > 30) {
$forum['lasttitle'] = substr($forum['lasttitle'], 0, 28);
$forum['lasttitle'] .= '..';
}
above that add the following
PHP Code:
$forum['lasttitle']=unhtmlspecialchars($forum['lasttitle']);
if the length is over 30, remove everything after 28 characters and add two dots to the end.
Hope this helps, instruction file now updated.
|
Doesn't seem to work for Opera... Any ideas?
|