redirect_header("index.php", 1, _AM_NEWBB_TOPICAPPROVED); } else { redirect_header("index.php", 1, _AM_NEWBB_TOPICNOTAPPROVED); } } exit; break; /* removed */ /* removed */ case "mod": if (empty($post_id)) { redirect_header("index.php", 2, _MD_ERRORPOST); exit; } else { xoops_cp_header(); newbb_adminmenu(0, ""); echo "<br />"; $post_handler =& xoops_getmodulehandler('post', 'newbb'); $forumpost =& $post_handler->get($post_id); $forum_handler =& xoops_getmodulehandler('forum', 'newbb'); $forum = $forum_handler->get($forumpost->getVar('forum_id')); $pid = $forumpost->getVar('pid'); $dohtml = $forumpost->getVar('dohtml'); $dosmiley = $forumpost->getVar('dosmiley'); $doxcode = $forumpost->getVar('doxcode'); $icon = $forumpost->getVar('icon'); $attachsig = $forumpost->getVar('attachsig'); $topic_id = $forumpost->getVar('topic_id'); $istopic = $forumpost->istopic() ? 1 : 0; $isedit = 1; $subject_pre = "";
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // // GNU General Public License for more details. // // // // You should have received a copy of the GNU General Public License // // along with this program; if not, write to the Free Software // // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // // Author: Kazumi Ono (AKA onokazu) // // URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ // // Project: The XOOPS Project // // ------------------------------------------------------------------------- // include "admin_header.php"; xoops_cp_header(); $module_handler =& xoops_gethandler('module'); $versioninfo =& $module_handler->get($xoopsModule->getVar('mid')); newbb_adminmenu(-1, _AM_NEWBB_ABOUT . " " . $versioninfo->getInfo('name')); // Left headings... echo "<img src='" . XOOPS_URL . "/modules/" . $xoopsModule->dirname() . "/" . $versioninfo->getInfo('image') . "' alt='' hspace='0' vspace='0' align='left' style='margin-right: 10px;' /></a>"; echo "<div style='margin-top: 10px; color: #33538e; margin-bottom: 4px; font-size: 18px; line-height: 18px; font-weight: bold; display: block;'>" . $versioninfo->getInfo('name') . " version " . $versioninfo->getInfo('version') . " (" . $versioninfo->getInfo('status_version') . ")</div>"; if ($versioninfo->getInfo('author_realname') != '') { $author_name = $versioninfo->getInfo('author') . " (" . $versioninfo->getInfo('author_realname') . ")"; } else { $author_name = $versioninfo->getInfo('author'); } echo "<div style = 'line-height: 16px; font-weight: bold; display: block;'>" . _AM_NEWBB_BY . " " . $author_name; echo "</div>"; echo "<div style = 'line-height: 16px; display: block;'>" . $versioninfo->getInfo('license') . "</div><br /><br /></>\n"; // Author Information echo "<table width='100%' cellspacing='1' cellpadding='3' border='0' class='outer'>"; echo "<tr>"; echo "<td colspan='2' class='bg3' align='left'><strong>" . _AM_NEWBB_AUTHOR_INFO . "</strong></td>";