Changeset 732
- Timestamp:
- 11/13/08 23:10:52 (8 weeks ago)
- Location:
- fluxbb/branches/fluxbb-1.3-dev/upload
- Files:
-
- 4 modified
-
lang/English/misc.php (modified) (2 diffs)
-
moderate.php (modified) (59 diffs)
-
viewforum.php (modified) (1 diff)
-
viewtopic.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fluxbb/branches/fluxbb-1.3-dev/upload/lang/English/misc.php
r656 r732 38 38 'Moderate forum' => 'Moderate forum', 39 39 'Select' => 'Select', // the header of a column of checkboxes 40 'Cannot select' => 'You cannot select the first post', 40 41 'Move' => 'Move', 41 42 'Merge' => 'Merge', … … 57 58 'Delete topic' => 'Delete topic', 58 59 'Delete topics' => 'Delete topics', 60 'Select all forums title' => 'Select all forums on this page.', 59 61 'To new forum' => 'to a new forum', 60 62 'Move to' => 'Destination forum:', -
fluxbb/branches/fluxbb-1.3-dev/upload/moderate.php
r681 r732 115 115 if ($tid < 1) 116 116 message($lang_common['Bad request']); 117 117 118 118 $forum_page['page'] = (!isset($_GET['p']) || $_GET['p'] <= 1) ? 1 : intval($_GET['p']); 119 119 120 120 // Check for use of incorrect URLs 121 121 confirm_current_url($forum_page['page'] == 1 ? forum_link($forum_url['moderate_topic'], array($fid, $tid)) : forum_sublink($forum_url['moderate_topic'], $forum_url['page'], $forum_page['page'], array($fid, $tid))); … … 144 144 ($hook = get_hook('mr_delete_posts_form_submitted')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 145 145 146 unset($forum_page['page']); 147 146 148 $posts = isset($_POST['posts']) && !empty($_POST['posts']) ? $_POST['posts'] : array(); 147 149 $posts = array_map('intval', (is_array($posts) ? $posts : explode(',', $posts))); … … 192 194 193 195 // Setup form 194 $forum_page[' group_count'] = $forum_page['item_count'] = $forum_page['fld_count'] = 0;196 $forum_page['fld_count'] = 0; 195 197 $forum_page['form_action'] = forum_link($forum_url['moderate_topic'], array($fid, $tid)); 196 198 … … 208 210 ); 209 211 212 // Setup main heading 213 $forum_page['main_hd'] = end($forum_page['crumbs']); 214 210 215 ($hook = get_hook('mr_confirm_delete_posts_pre_header_load')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 211 216 … … 213 218 require FORUM_ROOT.'header.php'; 214 219 215 // START SUBST - <!-- forum_main -->220 // START SUBST - <!-- forum_main_content --> 216 221 ob_start(); 217 222 … … 219 224 220 225 ?> 221 <div class="main-content main-frm"> 222 <form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"> 226 <div class="content"> 227 <div class="section section-1 datafrm"> 228 <form method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"> 223 229 <div class="hidden"> 224 230 <?php echo implode("\n\t\t\t\t", $forum_page['hidden_fields'])."\n" ?> 225 231 </div> 226 <?php ($hook = get_hook('mr_confirm_delete_posts_pre_fieldset')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 227 <fieldset class="frm-group group<?php echo ++$forum_page['group_count'] ?>"> 228 <legend class="group-legend"><strong><?php echo $lang_misc['Delete posts'] ?></strong></legend> 232 <?php ($hook = get_hook('mr_confirm_delete_posts_pre_group')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 233 <div class="frm-group frm-group-1"> 229 234 <?php ($hook = get_hook('mr_confirm_delete_posts_pre_confirm_checkbox')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 230 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">235 <div class="sf-set frm-set frm-set-1"> 231 236 <div class="sf-box checkbox"> 232 237 <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="req_confirm" value="1" checked="checked" /></span> 233 <label for="fld<?php echo $forum_page['fld_count'] ?>"><span><?php echo $lang_common['Please confirm'] ?></span> < ?php echo $lang_misc['Confirm post delete'] ?>.</label>238 <label for="fld<?php echo $forum_page['fld_count'] ?>"><span><?php echo $lang_common['Please confirm'] ?></span> <br /><small><?php echo $lang_misc['Confirm post delete'] ?></small></label> 234 239 </div> 235 240 </div> 236 <?php ($hook = get_hook('mr_confirm_delete_posts_pre_ fieldset_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?>241 <?php ($hook = get_hook('mr_confirm_delete_posts_pre_group_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 237 242 </fieldset> 238 <?php ($hook = get_hook('mr_confirm_delete_posts_ fieldset_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?>243 <?php ($hook = get_hook('mr_confirm_delete_posts_group_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 239 244 <div class="frm-buttons"> 240 <span class="submit"><input type="submit" name="delete_posts_comply" value="<?php echo $lang_common['Delete'] ?>" /></span> 241 <span class="cancel"><input type="submit" name="cancel" value="<?php echo $lang_common['Cancel'] ?>" /></span> 245 <p class="frm-actions"><span class="submit"><input type="submit" name="delete_posts_comply" value="<?php echo $lang_common['Delete'] ?>" /></span> <span class="cancel"><input type="submit" name="cancel" value="<?php echo $lang_common['Cancel'] ?>" /></span></p> 242 246 </div> 243 247 </form> 248 </div> 244 249 </div> 245 250 <?php … … 250 255 251 256 $tpl_temp = forum_trim(ob_get_contents()); 252 $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);257 $tpl_main = str_replace('<!-- forum_main_content -->', $tpl_temp, $tpl_main); 253 258 ob_end_clean(); 254 // END SUBST - <!-- forum_main -->259 // END SUBST - <!-- forum_main_content --> 255 260 256 261 require FORUM_ROOT.'footer.php'; … … 259 264 { 260 265 ($hook = get_hook('mr_split_posts_form_submitted')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 266 267 unset($forum_page['page']); 261 268 262 269 $posts = isset($_POST['posts']) && !empty($_POST['posts']) ? $_POST['posts'] : array(); … … 340 347 341 348 // Setup form 342 $forum_page[' group_count'] = $forum_page['item_count'] = $forum_page['fld_count'] = 0;349 $forum_page['fld_count'] = 0; 343 350 $forum_page['form_action'] = forum_link($forum_url['moderate_topic'], array($fid, $tid)); 344 351 … … 356 363 ); 357 364 365 // Setup main heading 366 $forum_page['main_hd'] = end($forum_page['crumbs']); 367 358 368 ($hook = get_hook('mr_confirm_split_posts_pre_header_load')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 359 369 … … 361 371 require FORUM_ROOT.'header.php'; 362 372 363 // START SUBST - <!-- forum_main -->373 // START SUBST - <!-- forum_main_content --> 364 374 ob_start(); 365 375 … … 367 377 368 378 ?> 369 <div class="main-content main-frm"> 370 <form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"> 379 <div class="content"> 380 <div class="content content-1 datafrm"> 381 <form method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"> 371 382 <div class="hidden"> 372 383 <?php echo implode("\n\t\t\t\t", $forum_page['hidden_fields'])."\n" ?> 373 384 </div> 374 385 <?php ($hook = get_hook('mr_confirm_split_posts_pre_fieldset')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 375 <fieldset class="frm-group group<?php echo ++$forum_page['group_count'] ?>"> 376 <legend class="group-legend"><strong><?php echo $lang_misc['Split posts'] ?></strong></legend> 377 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>"> 386 <div class="frm-group frm-group-1"> 387 <div class="sf-set frm-set frm-set-1"> 378 388 <?php ($hook = get_hook('mr_confirm_split_posts_pre_subject')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 379 389 <div class="sf-box text required"> … … 381 391 <span class="fld-input"><input type="text" id="fld<?php echo $forum_page['fld_count'] ?>" name="new_subject" value="" size="80" maxlength="70" /></span> 382 392 </div> 393 </div> 383 394 <?php ($hook = get_hook('mr_confirm_split_posts_pre_confirm_checkbox')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 395 <div class="sf-set frm-set"> 384 396 <div class="sf-box checkbox"> 385 397 <span class="fld-input"><input type="checkbox" id="fld<?php echo ++$forum_page['fld_count'] ?>" name="req_confirm" value="1" checked="checked" /></span> … … 388 400 </div> 389 401 <?php ($hook = get_hook('mr_confirm_split_posts_pre_fieldset_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 390 </ fieldset>402 </div> 391 403 <?php ($hook = get_hook('mr_confirm_split_posts_fieldset_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 392 404 <div class="frm-buttons"> 393 <span class="submit"><input type="submit" name="split_posts_comply" value="<?php echo $lang_common['Split'] ?>" /></span> 394 <span class="cancel"><input type="submit" name="cancel" value="<?php echo $lang_common['Cancel'] ?>" /></span> 405 <p class="frm-actions"><span class="submit"><input type="submit" name="split_posts_comply" value="<?php echo $lang_common['Split'] ?>" /></span> <span class="cancel"><input type="submit" name="cancel" value="<?php echo $lang_common['Cancel'] ?>" /></span></p> 395 406 </div> 396 407 </form> 408 </div> 397 409 </div> 398 410 <?php … … 403 415 404 416 $tpl_temp = forum_trim(ob_get_contents()); 405 $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);417 $tpl_main = str_replace('<!-- forum_main_content -->', $tpl_temp, $tpl_main); 406 418 ob_end_clean(); 407 // END SUBST - <!-- forum_main -->419 // END SUBST - <!-- forum_main_content --> 408 420 409 421 require FORUM_ROOT.'footer.php'; … … 424 436 $forum_page['start_from'] = $forum_user['disp_posts'] * ($forum_page['page'] - 1); 425 437 $forum_page['finish_at'] = min(($forum_page['start_from'] + $forum_user['disp_posts']), ($cur_topic['num_replies'] + 1)); 426 $forum_page['items_info'] = generate_items_info($lang_misc['Posts'], ($forum_page['start_from'] + 1), ($cur_topic['num_replies'] + 1));427 438 428 439 // Generate paging links … … 456 467 457 468 // Setup main heading 458 $forum_page['main_head'] = sprintf($lang_misc['Moderate topic head'], forum_htmlencode($cur_topic['subject'])); 459 460 if ($forum_page['num_pages'] > 1) 461 $forum_page['main_head_pages'] = sprintf($lang_common['Page info'], $forum_page['page'], $forum_page['num_pages']); 469 $forum_page['main_hd'] = sprintf($lang_misc['Moderate topic head'], '<a class="permalink" href="'.forum_link($forum_url['topic'], array($tid, sef_friendly($cur_topic['subject']))).'" rel="bookmark" title="'.$lang_topic['Permalink topic'].'">'.forum_htmlencode($cur_topic['subject']).'</a>'); 462 470 463 471 ($hook = get_hook('mr_post_actions_pre_header_load')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; … … 472 480 473 481 ?> 474 <div class="main-pagehead">475 <h2 class="hn"><span><?php echo $forum_page['items_info'] ?></span></h2>476 </div>477 482 <form id="mr-post-actions-form" class="newform" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"> 478 <div class="main-content main-topic"> 479 <div class="hidden"> 480 <input type="hidden" name="csrf_token" value="<?php echo generate_form_token($forum_page['form_action']) ?>" /> 481 </div> 482 483 <div class="content topic"> 484 <div class="setion section-1 posts"> 485 <div class="hidden"> 486 <input type="hidden" name="csrf_token" value="<?php echo generate_form_token($forum_page['form_action']) ?>" /> 487 </div> 488 <div class="section-hd"> 489 <h2 class="hn"><span><?php echo $lang_topic['Posts'] ?></span></h2> 490 </div> 483 491 <?php 484 492 … … 516 524 517 525 $forum_page['post_ident'] = array(); 518 $forum_page['message'] = array();519 526 $forum_page['author_title'] = ''; 520 527 $forum_page['user_ident'] = array(); 521 528 $cur_post['username'] = $cur_post['poster']; 529 $forum_page['post_options'] = array(); 530 $forum_page['post_actions'] = array(); 531 $forum_page['message'] = array(); 522 532 523 533 // Generate the post heading … … 533 543 ($hook = get_hook('mr_row_pre_item_ident_merge')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 534 544 545 // Generate author identification 546 $forum_page['user_ident']['username'] = '<li class="username">'.(($cur_post['poster_id'] > '1') ? '<a title="'.sprintf($lang_topic['Go to profile'], forum_htmlencode($cur_post['username'])).'" href="'.forum_link($forum_url['user'], $cur_post['poster_id']).'">'.forum_htmlencode($cur_post['username']).'</a>' : '<strong>'.forum_htmlencode($cur_post['username']).'</strong>').'</li>'; 547 $forum_page['user_ident']['usertitle'] = '<li class="usertitle"><span>'.get_title($cur_post).'</span></li>'; 548 535 549 // Generate the checkbox field 536 550 if ($cur_post['id'] != $cur_topic['first_post_id']) 537 $forum_page['item_select'] = '<p class="item-select"><input type="checkbox" id="fld'.$cur_post['id'].'" name="posts[]" value="'.$cur_post['id'].'" /> <label for="fld'.$cur_post['id'].'">'.$lang_misc['Select post'].' '.forum_number_format($forum_page['start_from'] + $forum_page['item_count']).'</label></p>'; 538 539 // Generate author identification 540 $forum_page['author_ident']['username'] = '<li class="username">'.(($cur_post['poster_id'] > '1') ? '<a title="'.sprintf($lang_topic['Go to profile'], forum_htmlencode($cur_post['username'])).'" href="'.forum_link($forum_url['user'], $cur_post['poster_id']).'">'.forum_htmlencode($cur_post['username']).'</a>' : '<strong>'.forum_htmlencode($cur_post['username']).'</strong>').'</li>'; 541 $forum_page['author_ident']['usertitle'] = '<li class="usertitle"><span>'.get_title($cur_post).'</span></li>'; 551 $forum_page['post_actions']['select'] = '<span class="select-post"><input type="checkbox" id="fld'.$cur_post['id'].'" name="posts[]" value="'.$cur_post['id'].'" /> <label for="fld'.$cur_post['id'].'">'.$lang_misc['Select post'].' '.forum_number_format($forum_page['start_from'] + $forum_page['item_count']).'</label></span>'; 552 else 553 $forum_page['post_actions']['no_select'] = '<span class="noselect-post">'.$lang_misc['Cannot select'].'</span>'; 554 555 if (!empty($forum_page['post_actions'])) 556 $forum_page['post_options']['actions'] = '<p class="post-actions">'.implode(' ', $forum_page['post_actions']).'</p>'; 542 557 543 558 // Give the post some class 544 559 $forum_page['item_status'] = array( 545 560 'post', 546 ($forum_page['item_count'] % 2 != 0) ? 'odd ' : 'even'561 ($forum_page['item_count'] % 2 != 0) ? 'oddpost' : 'evenpost' 547 562 ); 548 563 … … 577 592 <div class="<?php echo implode(' ', $forum_page['item_status']) ?>"> 578 593 <div id="p<?php echo $cur_post['id'] ?>" class="posthead"> 579 <h3 class="hn post-ident"><?php echo implode(' ', $forum_page['post_ident']) ?></h3> 580 <?php ($hook = get_hook('mr_post_actions_pre_item_select')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 581 <?php if (isset($forum_page['item_select'])) echo "\t\t\t\t".$forum_page['item_select']."\n" ?> 594 <div class="post-ident"> 595 <h3 class="hn"><?php echo implode(' ', $forum_page['post_ident']) ?></h3> 582 596 <?php ($hook = get_hook('mr_post_actions_new_post_head_option')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 597 </div> 583 598 </div> 584 599 <div class="postbody"> 585 <div class="post-author"> 586 <ul class="author-ident"> 587 <?php echo implode("\n\t\t\t\t\t\t", $forum_page['author_ident'])."\n" ?> 588 </ul> 600 <div class="post-content"> 601 <div class="post-user"> 602 <ul class="user-ident"> 603 <?php echo implode("\n\t\t\t\t\t\t\t", $forum_page['user_ident'])."\n" ?> 604 </ul> 589 605 <?php ($hook = get_hook('mr_post_actions_new_user_ident_data')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 590 </div>591 <div class="post-entry">592 <h4 class="entry-title"><?php echo $forum_page['item_subject'] ?></h4>593 <div class="entry-content">594 <?php echo implode("\n\t\t\t\t\t\t\t", $forum_page['message'])."\n" ?>595 606 </div> 607 <div class="post-entry"> 608 <h4 class="entry-title"><?php echo $forum_page['item_subject'] ?></h4> 609 <div class="entry-content"> 610 <?php echo implode("\n\t\t\t\t\t\t\t\t", $forum_page['message'])."\n" ?> 611 </div> 596 612 <?php ($hook = get_hook('mr_post_actions_new_post_entry_data')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 613 </div> 597 614 </div> 598 615 </div> 599 </div> 616 <?php if (!empty($forum_page['post_options'])): ?> <div class="postfoot"> 617 <div class="post-options"> 618 <?php echo implode("\n\t\t\t\t\t\t", $forum_page['post_options'])."\n" ?> 619 </div> 620 </div> 621 <?php endif; ?> </div> 600 622 <?php 601 623 … … 603 625 604 626 ?> 627 </div> 605 628 </div> 606 629 <?php … … 614 637 615 638 ?> 616 <div class="main-options mod-options gen-content">617 < p id="select-all"><a href="#" onclick="return Forum.toggleCheckboxes(document.getElementById('mr-post-actions-form'))"><?php echo $lang_misc['Select all'] ?></a></p>618 <p class="options">< ?php echo implode(' ', $forum_page['mod_options']) ?></p>639 <div id="mod-options" class="main-options"> 640 <h2 class="hn"><span><?php echo $lang_topic['Moderator options'] ?></span></h2> 641 <p class="options"><span id="select-all"><a href="#" onclick="return Forum.toggleCheckboxes(document.getElementById('mr-post-actions-form'))"><?php echo $lang_misc['Select all'] ?></a></span> <?php echo implode(' ', $forum_page['mod_options']) ?></p> 619 642 </div> 620 643 </form> … … 626 649 627 650 $tpl_temp = forum_trim(ob_get_contents()); 628 $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);651 $tpl_main = str_replace('<!-- forum_main_content -->', $tpl_temp, $tpl_main); 629 652 ob_end_clean(); 630 653 // END SUBST - <!-- forum_main --> … … 641 664 // Check for use of incorrect URLs 642 665 confirm_current_url(forum_link($forum_url['moderate_forum'], $fid)); 643 666 644 667 ($hook = get_hook('mr_confirm_move_topics_form_submitted')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; 645 668 … … 739 762 // Check for use of incorrect URLs 740 763 confirm_current_url(forum_link($forum_url['moderate_forum'], $fid)); 741 764 742 765 $topics = isset($_POST['topics']) && is_array($_POST['topics']) ? $_POST['topics'] : array(); 743 766 $topics = array_map('intval', $topics); … … 754 777 if ($topics < 1) 755 778 message($lang_common['Bad request']); 756 779 757 780 // Check for use of incorrect URLs 758 781 confirm_current_url(forum_link($forum_url['move'], array($fid, $topics))); 759 782 } 760 783 761 784 if (is_array($topics)) 762 785 { … … 813 836 814 837 // Setup form 815 $forum_page[' group_count'] = $forum_page['item_count'] = $forum_page['fld_count'] = 0;838 $forum_page['fld_count'] = 0; 816 839 $forum_page['form_action'] = forum_link($forum_url['moderate_forum'], $fid); 817 840 … … 831 854 832 855 //Setup main heading 833 $forum_page['main_h ead'] = end($forum_page['crumbs']).' '.$lang_misc['To new forum'];856 $forum_page['main_hd'] = end($forum_page['crumbs']).' '.$lang_misc['To new forum']; 834 857 835 858 ($hook = get_hook('mr_move_topics_pre_header_load')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; … … 838 861 require FORUM_ROOT.'header.php'; 839 862 840 // START SUBST - <!-- forum_main -->863 // START SUBST - <!-- forum_main_content --> 841 864 ob_start(); 842 865 … … 844 867 845 868 ?> 846 <div class="main-content main-frm"> 869 <div class="content"> 870 <div class="section section-1 datafrm"> 847 871 <form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"> 848 872 <div class="hidden"> 849 873 <?php echo implode("\n\t\t\t\t", $forum_page['hidden_fields'])."\n" ?> 850 874 </div> 851 <?php ($hook = get_hook('mr_move_topics_pre_fieldset')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 852 <fieldset class="frm-group group<?php echo ++$forum_page['group_count'] ?>"> 853 <legend class="group-legend"><strong><?php echo $lang_misc['Move topic'] ?></strong></legend> 875 <?php ($hook = get_hook('mr_move_topics_pre_group')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 876 <div class="frm-group frm-group-1"> 854 877 <?php ($hook = get_hook('mr_move_topics_pre_move_to_forum')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 855 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">878 <div class="sf-set frm-set frm-set-1"> 856 879 <div class="sf-box select"> 857 880 <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_misc['Move to'] ?></span></label><br /> … … 881 904 </div> 882 905 <?php ($hook = get_hook('mr_move_topics_pre_redirect_checkbox')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 883 <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">906 <div class="sf-set frm-set"> 884 907 <div class="sf-box checkbox"> 885 908 <span class="fld-input"><input type="checkbox" id="fld<?php echo (++$forum_page['fld_count']) ?>" name="with_redirect" value="1"<?php if ($action == 'single') echo ' checked="checked"' ?> /></span> 886 <label for="fld<?php echo $forum_page['fld_count'] ?>"><span><?php echo $lang_misc['Redirect topic'] ?></span> < ?php echo ($action == 'single') ? $lang_misc['Leave redirect'] : $lang_misc['Leave redirects'] ?></label>909 <label for="fld<?php echo $forum_page['fld_count'] ?>"><span><?php echo $lang_misc['Redirect topic'] ?></span> <br /><small><?php echo ($action == 'single') ? $lang_misc['Leave redirect'] : $lang_misc['Leave redirects'] ?></small></label> 887 910 </div> 888 911 </div> 889 912 <?php ($hook = get_hook('mr_move_topics_pre_fieldset_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 890 </ fieldset>913 </div> 891 914 <?php ($hook = get_hook('mr_move_topics_fieldset_end')) ? (defined('FORUM_USE_INCLUDE') ? include $hook : eval($hook)) : null; ?> 892 915 <div class="frm-buttons"> 893 <span class="submit"><input type="submit" name="move_topics_to" value="<?php echo $lang_misc['Move'] ?>" /></span> 894 <span class="cancel"><input type="submit" name="cancel" value="<?php echo $lang_common['Cancel'] ?>" /></span> 916 <p class="frm-actions"><span class="submit"><input type="submit" name="move_topics_to" value="<?php echo $lang_misc['Move'] ?>" /></span> <span class="cancel"><input type="submit" name="cancel" value="<?php echo $lang_common['Cancel'] ?>" /></span></p> 895 917 </div> 896 918 </form> 919 </div> 897 920 </div> 898 921 <?php … … 903 926 904 927 $tpl_temp = forum_trim(ob_get_contents()); 905 $tpl_main = str_replace('<!-- forum_main -->', $tpl_temp, $tpl_main);928 $tpl_main = str_replace('<!-- forum_main_content -->', $tpl_temp, $tpl_main); 906 929 ob_end_clean(); 907 // END SUBST - <!-- forum_main -->930 // END SUBST - <!-- forum_main_content --> 908 931 909 932 require FORUM_ROOT.'footer.php'; … … 1004 1027 1005 1028 // Setup form 1006 $forum_page[' group_count'] = $forum_page['item_count'] = $forum_page['fld_count'] = 0;1029 $forum_page['fld_count'] = 0; 1007 1030 $forum_page['form_action'] = forum_link($forum_url['moderate_forum'], $fid); 1008 1031
