Пример #1
0
function wpu_content_parse_check($postContent)
{
    if (!defined('PHPBB_CONTENT_ONLY')) {
        if (!(strpos($postContent, "<!--wp-united-home-->") === FALSE)) {
            $postContent = get_wpu_blogs_home();
        } else {
            $postContent = wpu_censor($postContent);
        }
    } else {
        global $pfContent, $phpbb_preString, $phpbb_postString;
        $postContent = $phpbb_preString . $pfContent . $phpbb_postString;
        $GLOBALS['pfContent'] = null;
    }
    return $postContent;
}
Пример #2
0
function wpu_blogs_home()
{
    echo get_wpu_blogs_home();
}