diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-09 22:17:55 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-04-09 22:17:55 +0000 |
commit | c17e275080d8b1834016d80687ccd5a4ecc674a7 (patch) | |
tree | c5715eac921d5fb50feb3155d3589b99c3f0d5a2 /phpBB/adm/admin_forums.php | |
parent | e5e9fd9cbacaec04f0df45c0c05a3944c3d47e74 (diff) | |
download | forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar.gz forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar.bz2 forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.tar.xz forums-c17e275080d8b1834016d80687ccd5a4ecc674a7.zip |
Weekly update: MCP templates. Forms renamed to 'main', added mcp_jumpbox.html for easy jumping and mcp_foruminfo.html.
Not too happy with HTML though =" templates\subSilver\mcp_forum.html templates\subSilver\mcp_foruminfo.html templates\subSilver\mcp_front.html templates\subSilver\mcp_header.html templates\subSilver\mcp_jumpbox.html templates\subSilver\mcp_move.html templates\subSilver\mcp_post.html templates\subSilver\mcp_viewip.html templates\subSilver\mcp_viewlogs.html
git-svn-id: file:///svn/phpbb/trunk@3800 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/admin_forums.php')
-rw-r--r-- | phpBB/adm/admin_forums.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/phpBB/adm/admin_forums.php b/phpBB/adm/admin_forums.php index 3b61263482..528c124649 100644 --- a/phpBB/adm/admin_forums.php +++ b/phpBB/adm/admin_forums.php @@ -210,9 +210,7 @@ switch ($mode) 'forum_name' => $_POST['forum_name'], 'forum_desc' => $_POST['forum_desc'], 'forum_style' => (!empty($_POST['forum_style'])) ? intval($_POST['forum_style']) : 'NULL', - 'enable_post_count' => (!empty($_POST['disable_post_count'])) ? 0 : 1, 'enable_icons' => (!empty($_POST['enable_icons'])) ? 1 : 0, - 'enable_moderate' => (!empty($_POST['moderated'])) ? 1 : 0, 'enable_prune' => (!empty($_POST['prune_enable'])) ? 1 : 0, 'prune_days' => intval($_POST['prune_days']), 'prune_freq' => intval($_POST['prune_freq']) @@ -259,7 +257,6 @@ switch ($mode) 'forum_image' => (!empty($_POST['forum_image'])) ? $_POST['forum_image'] : '', 'display_on_index' => (!empty($_POST['display_on_index'])) ? 1 : 0, 'enable_icons' => (!empty($_POST['enable_icons'])) ? 1 : 0, - 'enable_moderate' => (!empty($_POST['moderated'])) ? 1 : 0, 'enable_prune' => (!empty($_POST['prune_enable'])) ? 1 : 0, 'prune_days' => intval($_POST['prune_days']), 'prune_freq' => intval($_POST['prune_freq']), @@ -284,7 +281,7 @@ switch ($mode) SET ' . $db->sql_build_array('UPDATE', $sql) . " WHERE forum_id = $forum_id"); - trigger_error($user->lang['Forums_updated']); + trigger_error($user->lang['FORUM_UPDATED']); break; @@ -421,8 +418,6 @@ switch ($mode) $forum_status = ITEM_UNLOCKED; $forum_name = (!empty($_POST['forum_name'])) ? htmlspecialchars($_POST['forum_name']) : ''; - $post_count_inc = TRUE; - $moderated = FALSE; $enable_icons = TRUE; $prune_enabled = ''; @@ -521,14 +516,8 @@ switch ($mode) <td class="row1"><?php echo $user->lang['OPTIONS'] ?></td> <td class="row2"><table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> - <td><input type="checkbox" name="disable_post_count"<?php echo ((!empty($post_count_inc)) ? ' ' : 'checked="checked" ') ?>/> <?php echo $user->lang['DISABLE_POST_COUNT'] ?></td> - </tr> - <tr> <td><input type="checkbox" name="enable_icons"<?php echo ((!empty($enable_icons)) ? 'checked="checked" ' : ' ') ?>/> <?php echo $user->lang['ENABLE_TOPIC_ICONS']; ?></td> </tr> - <tr> - <td><input type="checkbox" name="moderated"<?php echo ((!empty($enable_moderate)) ? 'checked="checked" ' : ' ') ?>/> <?php echo $user->lang['FORUM_MODERATED']; ?></td> - </tr> <?php if ($mode == 'edit' && $parent_id > 0) |