e66834b5a6
which is based on Text::cut from the text.class.php helper. Limit is set to 60 characters. Example A: Content has over 60 characters. Title = First 60 characters + remaining characters of the last word + '...' Example B: Content has less than or equal to 60 characters Title = All. Example C: Content only has one word but is over 60 characters. Title = First 60 characters + '...' Why B and C differ from each other? Because we do not want the whole that one weird word with over 60 characters to make its way to the title. It's probably unrealistic, the code can be much cleaner with B and C combined. Feel free to discuss. |
||
---|---|---|
.. | ||
alert.class.php | ||
cookie.class.php | ||
crypt.class.php | ||
date.class.php | ||
email.class.php | ||
filesystem.class.php | ||
image.class.php | ||
log.class.php | ||
paginator.class.php | ||
redirect.class.php | ||
sanitize.class.php | ||
session.class.php | ||
tcp.class.php | ||
text.class.php | ||
theme.class.php | ||
valid.class.php |