[fixup/theme] Fix theme paths and other related paths in module files

Due to the new extension system some paths to files are no longer correct
and need to be fixed. Additionally, an event listener that allows the
loading of portal.css has been added.

B3P-118
This commit is contained in:
Marc Alexander
2013-02-27 18:18:14 +01:00
parent 2d0e98b83c
commit 76bd3af823
22 changed files with 54 additions and 48 deletions

View File

@@ -408,12 +408,12 @@ function get_sub_taged_string($message, $bbcode_uid, $length)
if(!class_exists('phpbb_trim_message'))
{
include($portal_root_path . '../includes/trim_message/trim_message.' . $phpEx);
include($portal_root_path . 'includes/trim_message/trim_message.' . $phpEx);
}
if(!class_exists('phpbb_trim_message_bbcodes'))
{
include($portal_root_path . '../includes/trim_message/bbcodes.' . $phpEx);
include($portal_root_path . 'includes/trim_message/bbcodes.' . $phpEx);
}
$object = new phpbb_trim_message($message, $bbcode_uid, $length);