diff options
| author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-08-10 19:53:03 +0000 |
|---|---|---|
| committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-08-10 19:53:03 +0000 |
| commit | 8d4bb4a17a2ad341be179e8857930899cd589069 (patch) | |
| tree | 6b175ad978ae33c6633b5b45b597673cade578ac /phpBB | |
| parent | 2ada6c5380b6cf999791bc1955e15570da475c17 (diff) | |
| download | forums-8d4bb4a17a2ad341be179e8857930899cd589069.tar forums-8d4bb4a17a2ad341be179e8857930899cd589069.tar.gz forums-8d4bb4a17a2ad341be179e8857930899cd589069.tar.bz2 forums-8d4bb4a17a2ad341be179e8857930899cd589069.tar.xz forums-8d4bb4a17a2ad341be179e8857930899cd589069.zip | |
Fixed: the style box not showing when editing a category. Pardon, a non-postable forum ;)
git-svn-id: file:///svn/phpbb/trunk@4369 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/adm/admin_forums.php | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/phpBB/adm/admin_forums.php b/phpBB/adm/admin_forums.php index ba06d56830..c951a069b8 100644 --- a/phpBB/adm/admin_forums.php +++ b/phpBB/adm/admin_forums.php @@ -388,7 +388,7 @@ switch ($mode) if ($old_forum_type == FORUM_POST && $forum_type == FORUM_CAT) { -?><br /><input type="radio" name="action" value="delete" checked="checked" /> <?php echo $user->lang['Delete_all_posts'] ?> <input type="radio" name="action" value="move" /> <?php echo $user->lang['Move_posts_to'] ?> <select name="to_forum_id"><?php echo $forums_list ?></select><?php +?><br /><input type="radio" name="action" value="delete" checked="checked" /> <?php echo $user->lang['DELETE_ALL_POSTS'] ?> <input type="radio" name="action" value="move" /> <?php echo $user->lang['MOVE_POSTS_TO'] ?> <select name="to_forum_id"><?php echo $forums_list ?></select><?php } @@ -455,7 +455,7 @@ switch ($mode) </tr> <?php - if ($forum_type == FORUM_POST) + if ($forum_type == FORUM_POST || $forum_type == FORUM_CAT) { ?> @@ -463,6 +463,13 @@ switch ($mode) <td class="row1"><?php echo $user->lang['FORUM_STYLE'] ?>: </td> <td class="row2"><select name="forum_style"><option value="0"><?php echo $user->lang['DEFAULT_STYLE'] ?></option><?php echo $styles_list ?></select></td> </tr> +<?php + + } + if ($forum_type == FORUM_POST) + { + +?> <tr> <td class="row1"><?php echo $user->lang['ENABLE_TOPIC_ICONS'] ?>: </td> <td class="row2"><input type="radio" name="enable_icons" value="1"<?php echo $topic_icons_yes; ?> /> <?php echo $user->lang['YES']; ?> <input type="radio" name="enable_icons" value="0"<?php echo $topic_icons_no; ?> /> <?php echo $user->lang['NO']; ?></td> @@ -848,7 +855,7 @@ switch ($mode) $db->sql_freeresult($result); // Start transaction - $db->sql_transaction(); + $db->sql_transaction('begin'); $sql = 'UPDATE ' . FORUMS_TABLE . ' SET left_id = left_id + ' . ($diff_up + 1) . ', right_id = right_id + ' . ($diff_up + 1) . ' |
