function get_wpu_newposts_link() { global $wpuAbs, $phpEx, $scriptPath; if ($wpuAbs->user_logged_in()) { return '<a href="' . append_sid($scriptPath . 'search.' . $phpEx . '?search_id=newposts') . '"><strong>' . get_wpu_newposts() . "</strong> " . $wpuAbs->lang('Search_new') . "</a>"; } }
/** * Returns the link to phpBB posts since the user's last visit without displaying it * @param string args * @author John Wells */ function get_wpu_newposts_link() { global $phpbbForum, $phpEx; if ($phpbbForum->user_logged_in()) { return '<a href="' . $phpbbForum->append_sid($phpbbForum->get_board_url() . 'search.' . $phpEx . '?search_id=newposts') . '"><strong>' . get_wpu_newposts() . "</strong> " . __('posts since last visit', 'wp-united') . "</a>"; } }