addBreadCrumb(['link' => FUSION_REQUEST, 'title' => self::$locale['forum_0506']]); redirect(self::$default_redirect_link, 3); $title = self::$locale['forum_0506']; $description = self::$locale['forum_0546']; if ($_GET['post_count'] > 0) { $link[] = ['url' => $settings['siteurl'].'infusions/forum/viewthread.php?thread_id='.$_GET['thread_id'], 'title' => self::$locale['forum_0548']]; } $link[] = ['url' => $settings['siteurl'].'infusions/forum/index.php?viewforum.php?forum_id='.$_GET['forum_id'], 'title' => self::$locale['forum_0549']]; $link[] = ['url' => $settings['siteurl'].'infusions/forum/index.php', 'title' => self::$locale['forum_0550']]; } else { // Post Edited add_to_title(self::$locale['global_201'].self::$locale['forum_0508']); BreadCrumbs::getInstance()->addBreadCrumb(['link' => FUSION_REQUEST, 'title' => self::$locale['forum_0508']]); if (isset($_GET['post_id'])) { redirect($settings['siteurl'].'infusions/forum/viewthread.php?thread_id='.$_GET['thread_id'].'&pid='.$_GET['post_id'].'#post_'.$_GET['post_id'], 3); } else { redirect($settings['siteurl'].'infusions/forum/index.php?viewforum&forum_id='.$_GET['forum_id'], 3); } $title = self::$locale['forum_0508']; $description = $this->get_postify_error_message() ?: self::$locale['forum_0547']; if (isset($_GET['post_id'])) { $link[] = ['url' => $settings['siteurl'].'infusions/forum/viewthread.php?thread_id='.$_GET['thread_id'].'&pid='.$_GET['post_id'].'#post_'.$_GET['post_id'], 'title' => self::$locale['forum_0548']]; } else { $link[] = ['url' => $settings['siteurl'].'infusions/forum/viewthread.php?thread_id='.$_GET['thread_id'], 'title' => self::$locale['forum_0548']]; } $link[] = ['url' => $settings['siteurl'].'infusions/forum/index.php?viewforum&forum_id='.$_GET['forum_id'], 'title' => self::$locale['forum_0549']]; $link[] = ['url' => $settings['siteurl'].'infusions/forum/index.php', 'title' => self::$locale['forum_0550']]; } render_postify([ 'title' => $title, 'error' => $this->get_postify_error_message(), 'description' => $description, 'link' => $link ]); } }