lainchan/inc
Macil Tech b63d94838d Do truncation by actual character count.
Using substr can cut a multi-byte character in half.

Also, if a long post with many multi-byte characters was reported, then
the mod interface would temporarily extend the body_truncate_char
setting to be sure to cover all of the *characters* in the report, but
this function would interpret body_truncate_char as a number of *bytes*,
so sometimes the end of the report's appended html would be cut off.
2013-01-18 18:26:25 -06:00
..
lib Slightly less crappy stylesheet chooser 2012-05-06 01:37:46 +10:00
locale update polish translation 2012-03-15 20:22:46 +11:00
mod Added new events: lock and load-config 2012-11-19 10:28:23 +11:00
anti-bot.php Improved. 2012-08-30 20:05:27 +04:30
cache.php minor consistency cleanup 2012-08-27 21:50:15 +10:00
config.php Updated Youtube embed code. 2012-11-08 23:58:05 +02:00
database.php minor consistency cleanup 2012-08-27 21:50:15 +10:00
display.php Do truncation by actual character count. 2013-01-18 18:26:25 -06:00
events.php minor consistency cleanup 2012-08-27 21:50:15 +10:00
filters.php Custom filters: "trip" condition should be string, not regexp 2012-05-19 12:23:51 +10:00
functions.php Added new events: lock and load-config 2012-11-19 10:28:23 +11:00
image.php minor consistency cleanup 2012-08-27 21:50:15 +10:00
instance-config.php Change of instance-config defaults 2011-02-16 16:21:48 +11:00
mod.php start on mod interface rewrite 2012-04-13 02:11:41 +10:00
remote.php minor consistency cleanup 2012-08-27 21:50:15 +10:00
template.php Config editort 2012-05-20 20:20:50 +10:00