bludit/bl-kernel
Hakim Zulkufli e66834b5a6 A new function is created to achieve this, Text::truncate
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.
2017-08-06 22:17:34 +08:00
..
abstract plugins position 2017-07-30 23:15:33 +02:00
admin Regex Rel to Abs img, improves on manage content 2017-08-02 01:11:57 +02:00
ajax fixed ajax calls 2017-07-13 22:39:04 +02:00
boot tinymce cloud, version plugin 2017-08-03 23:28:32 +02:00
css/font-awesome Font Awesome updated 2017-07-22 14:21:13 +02:00
helpers A new function is created to achieve this, Text::truncate 2017-08-06 22:17:34 +08:00
js fixed ajax calls 2017-07-13 22:39:04 +02:00
dbcategories.class.php bug fixes 2017-06-23 00:41:00 +02:00
dblanguage.class.php bug fixes 2017-07-29 00:08:19 +02:00
dbpages.class.php A new function is created to achieve this, Text::truncate 2017-08-06 22:17:34 +08:00
dbsite.class.php bug fixes, improves on paginator, admin url filter 2017-07-30 14:25:16 +02:00
dbsyslog.class.php User updated, tcp helper, functions updated 2017-06-28 00:31:40 +02:00
dbtags.class.php bug fixes 2017-06-23 00:41:00 +02:00
dbusers.class.php bug fixes 2017-07-29 21:03:18 +02:00
functions.php plugins position 2017-07-30 23:15:33 +02:00
login.class.php Login and Security improves 2017-07-16 00:42:37 +02:00
page.class.php tinymce cloud, version plugin 2017-08-03 23:28:32 +02:00
parsedown.class.php Quill improves, parsedonw updated, rss updated 2017-05-04 20:35:05 +02:00
parsedownextra.class.php changes on directories names 2016-01-20 21:29:01 -03:00
security.class.php Login and Security improves 2017-07-16 20:10:19 +02:00
url.class.php plugins position 2017-07-30 23:15:33 +02:00
user.class.php Plugins improves 2017-07-02 22:46:05 +02:00