Ticket #1277: 1277.diff
| File 1277.diff, 82.2 KB (added by GautamGupta, 2 years ago) |
|---|
-
bb-includes/class.bb-query.php
934 934 $s_name = $s_id = 'search'; 935 935 } 936 936 $r .= "\t<div><label for=\"$s_id\">" . __('Search term') . "</label>\n"; 937 $r .= "\t\t<div><input name='$s_name' id='$s_id' type='text' class='text-input' value='$s_value' /></div>\n";937 $r .= "\t\t<div><input name='$s_name' id='$s_id' type='text' class='text-input' value='$s_value'" . bb_get_tabindex() . " /></div>\n"; 938 938 $r .= "\t</div>\n\n"; 939 939 } 940 940 941 941 if ( $forum ) { 942 942 $r .= "\t<div><label for=\"forum-id\">" . __('Forum') . "</label>\n"; 943 $r .= "\t\t<div>" . bb_get_forum_dropdown( array( 'selected' => $q_forum_id, 'none' => __('Any') ) ) . "</div>\n";943 $r .= "\t\t<div>" . bb_get_forum_dropdown( array( 'selected' => $q_forum_id, 'none' => __('Any'), 'tab' => true ) ) . "</div>\n"; 944 944 $r .= "\t</div>\n\n"; 945 945 } 946 946 947 947 if ( $tag ) { 948 948 $q_tag = esc_attr( $q_tag ); 949 949 $r .= "\t<div><label for=\"topic-tag\">" . __('Tag') . "</label>\n"; 950 $r .= "\t\t<div><input name='tag' id='topic-tag' type='text' class='text-input' value='$q_tag' /></div>\n";950 $r .= "\t\t<div><input name='tag' id='topic-tag' type='text' class='text-input' value='$q_tag'" . bb_get_tabindex() . " /></div>\n"; 951 951 $r .= "\t</div>\n\n"; 952 952 } 953 953 954 954 if ( $topic_author ) { 955 955 $q_topic_author = esc_attr( $q_topic_author ); 956 956 $r .= "\t<div><label for=\"topic-author\">" . __('Topic author') . "</label>\n"; 957 $r .= "\t\t<div><input name='topic_author' id='topic-author' type='text' class='text-input' value='$q_topic_author' /></div>\n";957 $r .= "\t\t<div><input name='topic_author' id='topic-author' type='text' class='text-input' value='$q_topic_author'" . bb_get_tabindex() . " /></div>\n"; 958 958 $r .= "\t</div>\n\n"; 959 959 } 960 960 961 961 if ( $post_author ) { 962 962 $q_post_author = esc_attr( $q_post_author ); 963 963 $r .= "\t<div><label for=\"post-author\">" . __('Post author') . "</label>\n"; 964 $r .= "\t\t<div><input name='post_author' id='post-author' type='text' class='text-input' value='$q_post_author' /></div>\n";964 $r .= "\t\t<div><input name='post_author' id='post-author' type='text' class='text-input' value='$q_post_author'" . bb_get_tabindex() . " /></div>\n"; 965 965 $r .= "\t</div>\n\n"; 966 966 } 967 967 … … 969 969 970 970 if ( $topic_status ) { 971 971 $r .= "\t<div><label for=\"topic-status\">" . __('Topic status') . "</label>\n"; 972 $r .= "\t\t<div><select name='topic_status' id='topic-status' >\n";972 $r .= "\t\t<div><select name='topic_status' id='topic-status'" . bb_get_tabindex() . ">\n"; 973 973 foreach ( $stati as $status => $label ) { 974 974 $selected = (string) $status == (string) $q_topic_status ? " selected='selected'" : ''; 975 975 $r .= "\t\t\t<option value='$status'$selected>$label</option>\n"; … … 980 980 981 981 if ( $post_status ) { 982 982 $r .= "\t<div><label for=\"post-status\">" . __('Post status') . "</label>\n"; 983 $r .= "\t\t<div><select name='post_status' id='post-status' >\n";983 $r .= "\t\t<div><select name='post_status' id='post-status'" . bb_get_tabindex() . ">\n"; 984 984 foreach ( $stati as $status => $label ) { 985 985 $selected = (string) $status == (string) $q_post_status ? " selected='selected'" : ''; 986 986 $r .= "\t\t\t<option value='$status'$selected>$label</option>\n"; … … 991 991 992 992 if ( $poster_ip ) { 993 993 $r .= "\t<div><label for=\"poster-ip\">" . __('Poster IP address') . "</label>\n"; 994 $r .= "\t\t<div><input name='poster_ip' id='poster-ip' type='text' class='text-input' value='$q_poster_ip' /></div>\n";994 $r .= "\t\t<div><input name='poster_ip' id='poster-ip' type='text' class='text-input' value='$q_poster_ip'" . bb_get_tabindex() . " /></div>\n"; 995 995 $r .= "\t</div>\n\n"; 996 996 } 997 997 998 998 if ( $open ) { 999 999 $r .= "\t<div><label for=\"topic-open\">" . __('Open?') . "</label>\n"; 1000 $r .= "\t\t<div><select name='open' id='topic-open' >\n";1000 $r .= "\t\t<div><select name='open' id='topic-open'" . bb_get_tabindex() . ">\n"; 1001 1001 foreach ( array( 'all' => __('All'), '1' => _x( 'Open', 'posting status' ), '0' => __('Closed') ) as $status => $label ) { 1002 1002 $label = esc_html( $label ); 1003 1003 $selected = (string) $status == (string) $q_open ? " selected='selected'" : ''; … … 1010 1010 if ( $topic_title ) { 1011 1011 $q_topic_title = esc_attr( $q_topic_title ); 1012 1012 $r .= "\t<div><label for=\"topic-title\">" . __('Title') . "</label>\n"; 1013 $r .= "\t\t<div><input name='topic_title' id='topic-title' type='text' class='text-input' value='$q_topic_title' /></div>\n";1013 $r .= "\t\t<div><input name='topic_title' id='topic-title' type='text' class='text-input' value='$q_topic_title'" . bb_get_tabindex() . " /></div>\n"; 1014 1014 $r .= "\t</div>\n\n"; 1015 1015 } 1016 1016 1017 1017 $r .= apply_filters( 'bb_query_form_inputs', '', $args, $query_vars ); 1018 1018 1019 1019 $r .= "\t<div class=\"submit\"><label for=\"$id-submit\">" . __('Search') . "</label>\n"; 1020 $r .= "\t\t<div><input type='submit' class='button submit-input' value='$submit' id='$id-submit' /></div>\n";1020 $r .= "\t\t<div><input type='submit' class='button submit-input' value='$submit' id='$id-submit'" . bb_get_tabindex() . " /></div>\n"; 1021 1021 $r .= "\t</div>\n"; 1022 1022 1023 1023 $r .= "\t</fieldset>\n\n"; -
bb-includes/functions.bb-template.php
5 5 global $bb, $bbdb, $bb_current_user, $page, $bb_cache, 6 6 $posts, $bb_post, $post_id, $topics, $topic, $topic_id, 7 7 $forums, $forum, $forum_id, $tags, $tag, $tag_name, $user, $user_id, $view, 8 $del_class, $bb_alt ;8 $del_class, $bb_alt, $bb_tabindex; 9 9 10 10 if ( $globals ) { 11 11 foreach ( $globals as $global => $v ) { … … 190 190 bb_load_template( 'footer.php' ); 191 191 } 192 192 193 function bb_head() 194 { 195 do_action('bb_head'); 193 function bb_head() { 194 do_action( 'bb_head' ); 196 195 } 197 196 198 197 /** … … 349 348 return $class; 350 349 } 351 350 351 /** 352 * Echoes tabindex and also increments it 353 * 354 * @param mixed $args 355 * @since 1.1 356 */ 357 function bb_tabindex( $args = false ) { 358 echo bb_get_tabindex( $args ); 359 } 360 361 /** 362 * Returns tabindex and also increments it 363 * 364 * @param mixed $args 365 * @since 1.1 366 */ 367 function bb_get_tabindex( $args = false ) { 368 $defaults = array( 369 'val' => false, /* (false or int) If it is passed, then it will be echoed instead of $bb_tabindex and $bb_tabindex will also not be incremented */ 370 'set_to_value' => false /* (false or int) If an integer is passed, $bb_tabindex is set to it */ 371 ); 372 $args = wp_parse_args( $args, $defaults ); 373 374 global $bb_tabindex; 375 if ( !$bb_tabindex ) 376 $bb_tabindex = '1'; 377 378 $ti = $args['val'] != false ? $args['val'] : $bb_tabindex; 379 $r = ' tabindex="' . $ti . '"'; 380 381 if ( $args['set_to_value'] != false ) 382 $bb_tabindex = (int) $args['set_to_value']; 383 elseif ( !$args['val'] ) 384 $bb_tabindex++; 385 386 return $r; 387 } 388 352 389 function bb_location() { 353 390 echo apply_filters( 'bb_location', bb_get_location() ); 354 391 } … … 394 431 case 'search.php': 395 432 $location = 'search-page'; 396 433 break; 434 case 'favorites.php': 435 $location = 'favorites-page'; 436 break; 397 437 case 'profile.php': 398 438 $location = 'profile-page'; 399 439 break; 400 case 'favorites.php':401 $location = 'favorites-page';402 break;403 440 case 'view.php': 404 441 $location = 'view-page'; 405 442 break; … … 544 581 return apply_filters( 'bb_get_title', implode( $args['separator'], $title ), $args, $title ); 545 582 } 546 583 584 /** 585 * Generate Bread Crumbs 586 * 587 * @since 1.1 588 * @param mixed $args 589 */ 590 function bb_auto_crumbs( $args = '' ) { 591 echo apply_filters( 'bb_auto_crumbs', bb_get_auto_crumbs( $args ), $args ); 592 } 593 594 /** 595 * Generate Bread Crumbs 596 * 597 * @since 1.1 598 * @param mixed $args 599 */ 600 function bb_get_auto_crumbs( $args ) { 601 $defaults = array( 602 'class' => 'bbcrumb', /* Class for <div>, can be false */ 603 'id' => false, /* ID for <div>, can be false */ 604 'span_current' => false, /* The class for current page, can be false if you do not want any class (not for forum) */ 605 'current' => false, /* Override the 'current' text (not for forum) */ 606 'force' => false, /* Some pages like 404 have to force a to generate crumbs, this might also be used by plugins */ 607 'separator' => ' » ' 608 ); 609 $args = wp_parse_args( $args, $defaults ); 610 611 $r = ''; 612 $crumbs = array( bb_get_uri() => bb_get_option( 'name' ) ); 613 $location = !$args['force'] ? bb_get_location() : $args['force']; 614 $class = $args['class'] ? ' class="' . $args['class'] . '"' : ''; 615 $id = $args['id'] ? ' id="' . $args['id'] . '"' : ''; 616 617 switch ( $location ) { 618 case 'front-page': /* For new topic */ 619 global $forums; 620 if ( !$forums && isset( $_GET['new'] ) && '1' == $_GET['new'] ) 621 $crumbs['current'] = __( 'Add New Topic' ); 622 break; 623 case 'login-page': 624 $crumbs['current'] = __( 'Log in' ); 625 break; 626 case 'profile-base': /* Is forced */ 627 global $user_id, $profile_page_title; 628 $crumbs[get_user_profile_link( $user_id )] = get_user_display_name( $user_id ); 629 $crumbs['current'] = $profile_page_title; 630 break; 631 case 'profile-page': /* Also for favorites and profile edit */ 632 global $user_id; 633 $crumbs[get_user_profile_link( $user_id )] = get_user_display_name( $user_id ); 634 if ( $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : bb_get_path( 2 ) ) { 635 if ( $tab == 'favorites' ) 636 $crumbs['current'] = __( 'Favorites' ); 637 elseif ( $tab == 'edit' ) 638 $crumbs['current'] = __( 'Edit Profile' ); 639 } else { 640 $crumbs['current'] = __( 'Profile' ); 641 } 642 break; 643 case 'register-page': 644 $crumbs['current'] = __( 'Register' ); 645 break; 646 case 'search-page': 647 $crumbs['current'] = __( 'Search' ); 648 break; 649 case 'stats-page': 650 $crumbs['current'] = __( 'Statistics' ); 651 break; 652 case 'tag-page': 653 $crumbs[bb_get_tag_page_link()] = __( 'Tags' ); 654 if ( bb_is_tag() ) 655 $crumbs['current'] = bb_get_tag_name(); 656 break; 657 case 'view-page': 658 $crumbs['current'] = get_view_name(); 659 break; 660 case 'topic-page': 661 $crumbs['direct_return'] = bb_get_forum_bread_crumb( array( 'separator' => $args['separator'] ) ); 662 $crumbs['current'] = $args['separator'] . get_topic_title(); 663 break; 664 case 'forum-page': 665 $crumbs['direct_return'] = bb_get_forum_bread_crumb( array( 'separator' => $args['separator'] ) ); 666 break; 667 case 'topic-edit-page': 668 $crumbs['current'] = __( 'Edit Post' ); 669 break; 670 case '404': /* Is forced */ 671 $crumbs['current'] = __( 'Page not found!' ); 672 break; 673 default: 674 $crumbs = apply_filters( 'bb_get_auto_crumbs_location', $crumbs, $location, $args ); 675 break; 676 } 677 678 if ( count( $crumbs ) > 1 ) { 679 $r .= '<div ' . $class . $id . '">'; 680 foreach ( $crumbs as $url => $text ) { 681 switch ( $url ) { 682 case 'direct_return': /* No », span or link, direct return */ 683 $r .= $text; 684 break; 685 case 'current': /* Checks if there is text for current, if not uses the one given in above switch. Also checks if span_current class is given or not */ 686 if ( !empty( $args['current'] ) ) 687 $text = $args['current']; 688 $r .= ( !$args['span_current'] ) ? $text : '<span class="' . $args['current'] . '">' . $text . '</span>'; 689 break; 690 case null: /* If no url, then just return with a » */ 691 $r .= $text . ' » '; 692 break; 693 default: 694 $sep = in_array( $location, array( 'forum-page', 'topic-page' ) ) ? '' : $args['separator']; /* Separator is added in bb_get_form_bread_crumb too */ 695 $r .= '<a href="' . $url . '">' . $text . '</a>' . $sep; 696 break; 697 } 698 } 699 $r .= '</div>'; 700 } 701 702 return apply_filters( 'bb_get_auto_crumbs', $r, $args ); 703 } 704 547 705 function bb_feed_head() { 548 706 549 707 $feeds = array(); 550 708 551 switch ( bb_get_location()) {709 switch ( bb_get_location() ) { 552 710 case 'profile-page': 553 if ( $tab = isset( $_GET['tab']) ? $_GET['tab'] : bb_get_path(2) )554 if ( $tab != 'favorites')711 if ( $tab = isset( $_GET['tab'] ) ? $_GET['tab'] : bb_get_path( 2 ) ) 712 if ( $tab != 'favorites' ) 555 713 break; 556 714 557 715 $feeds[] = array( … … 1578 1736 * @return string The link to the new topic form 1579 1737 */ 1580 1738 function bb_get_new_topic_link( $args = null ) { 1581 $defaults = array( 'text' => __( 'Add New »'), 'forum' => 0, 'tag' => '' );1739 $defaults = array( 'text' => __( 'Add New »' ), 'forum' => 0, 'tag' => '', 'before' => '', 'after' => '' ); 1582 1740 if ( $args && is_string($args) && false === strpos($args, '=') ) 1583 1741 $args = array( 'text' => $args ); 1584 1742 … … 1611 1769 } 1612 1770 1613 1771 if ( $url = esc_attr( apply_filters( 'new_topic_url', $url, $args ) ) ) 1614 return '<a href="' . $url . '" class="new-topic">' . $text . '</a>'. "\n";1772 return $before . '<a href="' . $url . '" class="new-topic">' . $text . '</a>' . $after . "\n"; 1615 1773 } 1616 1774 1617 1775 function bb_new_topic_link( $args = null ) { … … 1646 1804 global $page, $search_count, $per_page; 1647 1805 1648 1806 $defaults = array( 'before' => '', 'after' => '' ); 1649 $args = wp_parse_args( $args, $defaults );1807 $args = wp_parse_args( $args, $defaults ); 1650 1808 1651 1809 if ( $pages = apply_filters( 'bb_search_pages', get_page_number_links( array( 'page' => $page, 'total' => $search_count, 'per_page' => $per_page, 'mod_rewrite' => false ) ) ) ) 1652 1810 echo $args['before'] . $pages . $args['after']; … … 2266 2424 } 2267 2425 2268 2426 function get_user_delete_button() { 2269 $r = '<input type="submit" class="delete" name="delete-user" value="' . __( 'Delete User »') . '"';2427 $r = '<input type="submit" class="delete" name="delete-user" value="' . __( 'Delete User »' ) . '"' . bb_get_tabindex() . ' '; 2270 2428 $r .= 'onclick="return confirm(\'' . esc_js(__('Are you sure you want to delete this user?')) . '\')" />'; 2271 2429 return apply_filters( 'get_user_delete_button', $r); 2272 2430 } … … 2506 2664 <?php 2507 2665 if ($key == 'display_name') { 2508 2666 ?> 2509 <select name="display_name" id="display_name" >2667 <select name="display_name" id="display_name"<?php bb_tabindex(); ?>> 2510 2668 <?php 2511 2669 $public_display = array(); 2512 2670 $public_display['display_displayname'] = $user->display_name; … … 2535 2693 } else { 2536 2694 ?> 2537 2695 <?php if ( 'checkbox' == $type && isset($label[5]) ) echo '<label for="' . $name . '">'; ?> 2538 <input name="<?php echo $name; ?>" id="<?php echo $name; ?>" type="<?php echo $type; ?>"<?php echo $checked; ?> value="<?php echo $value; ?>" />2696 <input name="<?php echo $name; ?>" id="<?php echo $name; ?>" type="<?php echo $type; ?>"<?php echo $checked; ?> value="<?php echo $value; ?>"<?php bb_tabindex(); ?> /> 2539 2697 <?php if ( 'checkbox' == $type && isset($label[5]) ) echo esc_html( $label[5] ) . '</label>'; ?> 2540 2698 <?php 2541 2699 } … … 2586 2744 <table id="admininfo"> 2587 2745 <tr class='form-field<?php if ( in_array( 'role', $error_codes ) ) echo ' form-invalid error'; ?>'> 2588 2746 <th scope="row"> 2589 <label for="admininfo_role"><?php _e( 'User Type'); ?></label>2747 <label for="admininfo_role"><?php _e( 'User Type' ); ?></label> 2590 2748 <?php if ( in_array( 'role', $error_codes ) ) echo '<em>' . $errors->get_error_message( 'role' ) . '</em>'; ?> 2591 2749 </th> 2592 2750 <td> 2593 <select id="admininfo_role" name="role" >2751 <select id="admininfo_role" name="role"<?php bb_tabindex(); ?>> 2594 2752 <?php 2595 2753 foreach( $roles as $r => $n ) { 2596 2754 if ( isset( $user->capabilities ) && is_array( $user->capabilities ) && array_key_exists( $r, $user->capabilities ) ) { … … 2611 2769 if (count($assignable_caps)) : 2612 2770 ?> 2613 2771 <tr class="extra-caps-row"> 2614 <th scope="row"><?php _e( 'Allow this user to'); ?></th>2772 <th scope="row"><?php _e( 'Allow this user to' ); ?></th> 2615 2773 <td> 2616 2774 <?php 2617 2775 foreach( $assignable_caps as $cap => $label ) : … … 2623 2781 $label = esc_html( $label ); 2624 2782 ?> 2625 2783 2626 <label><input name="<?php echo $name; ?>" value="1" type="checkbox"<?php echo $checked; ?> /> <?php echo $label; ?></label><br />2784 <label><input name="<?php echo $name; ?>" value="1" type="checkbox"<?php echo $checked; ?><?php bb_tabindex(); ?> /> <?php echo $label; ?></label><br /> 2627 2785 2628 2786 <?php endforeach; ?> 2629 2787 … … 2688 2846 </th> 2689 2847 <td> 2690 2848 <?php if ( 'checkbox' == $type && isset($label[5]) ) echo "<label for='$name'>"; ?> 2691 <input name="<?php echo $name; ?>" id="<?php echo $name; ?>" type="<?php echo $type; ?>"<?php echo $checked; ?> value="<?php echo $value; ?>" />2849 <input name="<?php echo $name; ?>" id="<?php echo $name; ?>" type="<?php echo $type; ?>"<?php echo $checked; ?> value="<?php echo $value; ?>"<?php bb_tabindex(); ?> /> 2692 2850 <?php if ( 'checkbox' == $type && isset($label[5]) ) echo esc_html( $label[5] ) . "</label>"; ?> 2693 2851 </td> 2694 2852 </tr> … … 2725 2883 <table> 2726 2884 <tr class="<?php echo $class; ?>"> 2727 2885 <th scope="row" rowspan="2"> 2728 <label for="pass1"><?php _e( 'New password'); ?></label>2886 <label for="pass1"><?php _e( 'New password' ); ?></label> 2729 2887 <?php echo $message; ?> 2730 2888 </th> 2731 2889 <td> 2732 <input name="pass1" type="password" id="pass1" autocomplete="off" />2890 <input name="pass1" type="password" id="pass1" autocomplete="off"<?php bb_tabindex(); ?> /> 2733 2891 </td> 2734 2892 </tr> 2735 2893 <tr class="<?php echo $class; ?>"> 2736 2894 <td> 2737 <input name="pass2" type="password" id="pass2" autocomplete="off" />2895 <input name="pass2" type="password" id="pass2" autocomplete="off"<?php bb_tabindex(); ?> /> 2738 2896 </td> 2739 2897 </tr> 2740 2898 <tr class="pass-strength"> … … 3318 3476 3319 3477 $r = ''; 3320 3478 if ( !$options_only ) { 3321 if ( $tab ) { 3479 if ( $tab == true ) 3480 $tab = bb_get_tabindex(); 3481 elseif ( is_numeric( $tab ) ) 3322 3482 $tab = ' tabindex="' . $tab . '"'; 3323 } else {3483 else 3324 3484 $tab = ''; 3325 }3485 3326 3486 $r .= '<select name="' . $name . '" id="' . $id . '"' . $tab . '>' . "\n"; 3327 3487 } 3328 3488 if ( $none ) -
bb-settings.php
1213 1213 */ 1214 1214 $page = bb_get_uri_page(); 1215 1215 1216 /** 1217 * Tabindex value 1218 * 1219 * @since 1.1 1220 */ 1221 $bb_tabindex = '1'; 1216 1222 1217 1223 1224 1218 1225 /** 1219 1226 * Initialisation complete API hook 1220 1227 */ -
bb-templates/kakumei/404.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Page not found!'); ?></div>3 <?php bb_auto_crumbs( 'force=404' ); /* Crumbs wouldn't have loaded on the previous call in header.php */ ?> 4 4 5 <h2 id="http404"><?php _e( 'Page not found!'); ?></h2>5 <h2 id="http404"><?php _e( 'Page not found!' ); ?></h2> 6 6 7 < p><?php _e('I\'m sorry, but there is nothing at this URL.'); ?></p>7 <?php do_action( 'bb_404_before_message' ); ?> 8 8 9 <?php bb_get_footer(); ?> 9 <p><?php printf( __( 'We\'re sorry, but there is nothing at this page. You may want to go back to the <a href="%s">forums</a> or search below:' ), bb_get_uri() ); ?></p> 10 11 <?php bb_topic_search_form( array( 'action' => bb_get_uri( 'search.php' ) ), new BB_Query_Form ); ?> 12 13 <?php do_action( 'bb_404_after_message' ); ?> 14 15 <?php bb_get_footer(); ?> 16 No newline at end of file -
bb-templates/kakumei/edit-form.php
1 2 1 <?php if ( $topic_title ) : ?> 3 2 <p role="main"> 4 <label><?php _e('Topic:'); ?><br /> 5 6 <input name="topic" type="text" id="topic" size="50" maxlength="80" value="<?php echo esc_attr( get_topic_title() ); ?>" /> 7 </label> 3 <label><?php _e( 'Topic:' ); ?><br /> 4 <input name="topic" type="text" id="topic" size="50" maxlength="80" value="<?php echo esc_attr( get_topic_title() ); ?>"<?php bb_tabindex(); ?> /> 5 </label> 8 6 </p> 9 7 <?php endif; do_action( 'edit_form_pre_post' ); ?> 10 <p><label><?php _e('Post:'); ?><br /> 11 <textarea name="post_content" cols="50" rows="8" id="post_content"><?php echo apply_filters('edit_text', get_post_text() ); ?></textarea> 12 </label> 8 9 <p> 10 <label><?php _e( 'Post:' ); ?><br /> 11 <textarea name="post_content" cols="50" rows="8" id="post_content"<?php bb_tabindex(); ?>><?php echo apply_filters( 'edit_text', get_post_text() ); ?></textarea> 12 </label> 13 13 </p> 14 14 15 <p class="submit"> 15 <input type="submit" name="Submit" value="<?php echo esc_attr__( 'Edit Post »' ); ?>"/>16 <input type="hidden" name="post_id" value="<?php post_id(); ?>" />17 <input type="hidden" name="topic_id" value="<?php topic_id(); ?>" />16 <input type="submit" name="Submit" value="<?php esc_attr_e( 'Edit Post »' ); ?>"<?php bb_tabindex(); ?> /> 17 <input type="hidden" name="post_id" value="<?php post_id(); ?>" /> 18 <input type="hidden" name="topic_id" value="<?php topic_id(); ?>" /> 18 19 </p> 19 <p><?php _e('Allowed markup:'); ?> <code><?php allowed_markup(); ?></code>. <br /><?php _e('Put code in between <code>`backticks`</code>.'); ?></p> 20 21 <p id="post-form-allowed-container" class="allowed"><?php printf( __( 'Allowed markup: %s.' ), '<code>' . get_allowed_markup() . '</code>' ); ?><br /><?php _e( 'You can also put code in between backtick ( <code>`</code> ) characters.' ); ?></p> 22 No newline at end of file -
bb-templates/kakumei/edit-post.php
1 1 <?php bb_get_header(); ?> 2 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Edit Post'); ?></div>3 2 4 3 <?php edit_form(); ?> 5 4 6 <?php bb_get_footer(); ?> 5 <?php bb_get_footer(); ?> 6 No newline at end of file -
bb-templates/kakumei/favorites.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <a href="<?php user_profile_link( $user_id ); ?>"><?php echo get_user_display_name( $user_id ); ?></a> » <?php _e('Favorites'); ?></div>4 5 3 <h2 id="userlogin" role="main"><?php echo get_user_display_name( $user->ID ); ?> <small>(<?php echo get_user_name( $user->ID ); ?>)</small> <?php _e( 'favorites' ); ?><?php if ( $topics ) printf( __( ' - %d' ), $favorites_total ); ?></h2> 6 4 5 <?php do_action( 'bb_favorites_before_message' ); ?> 6 7 7 <p><?php _e( 'Favorites allow members to create a custom <abbr title="Really Simple Syndication">RSS</abbr> feed which pulls recent replies to the topics they specify.' ); ?></p> 8 8 9 <?php if ( bb_current_user_can( 'edit_favorites_of', $user_id ) ) : ?> 9 10 <p><?php _e( 'To add topics to your list of favorites, just click the "Add to Favorites" link found on that topic’s page.' ); ?></p> 10 11 <?php endif; ?> 11 12 13 <?php bb_kakumei_topics_table(); ?> 14 12 15 <?php if ( $topics ) : ?> 13 16 14 <table id="favorites"> 15 <tr> 16 <th><?php _e('Topic'); ?></th> 17 <th><?php _e('Posts'); ?></th> 18 <!-- <th><?php _e('Voices'); ?></th> --> 19 <th><?php _e('Last Poster'); ?></th> 20 <th><?php _e('Freshness'); ?></th> 21 <?php if ( bb_current_user_can( 'edit_favorites_of', $user_id ) ) : ?> 22 <th><?php _e('Remove'); ?></th> 23 <?php endif; ?> 24 </tr> 17 <p class="rss-link"><a href="<?php favorites_rss_link( $user_id ); ?>" class="rss-link"><?php _e( '<abbr title="Really Simple Syndication">RSS</abbr> feed for these favorites' ); ?></a></p> 25 18 26 <?php foreach ( $topics as $topic ) : ?>27 <tr<?php topic_class(); ?>>28 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>29 <td class="num"><?php topic_posts(); ?></td>30 <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->31 <td class="num"><?php topic_last_poster(); ?></td>32 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>33 <?php if ( bb_current_user_can( 'edit_favorites_of', $user_id ) ) : ?>34 <td class="num">[<?php user_favorites_link('', array('mid'=>'×'), $user_id); ?>]</td>35 <?php endif; ?>36 </tr>37 <?php endforeach; ?>38 </table>39 40 <p class="rss-link"><a href="<?php favorites_rss_link( $user_id ); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for these favorites'); ?></a></p>41 42 <?php favorites_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>43 44 19 <?php else: if ( $user_id == bb_get_current_user_info( 'id' ) ) : ?> 45 20 46 <p><?php _e( 'You currently have no favorites.'); ?></p>21 <p><?php _e( 'You currently have no favorites.' ); ?></p> 47 22 48 23 <?php else : ?> 49 24 50 <p><?php echo get_user_name( $user_id ); ?> <?php _e('currently has no favorites.'); ?></p>25 <p><?php printf( __( '%s currently has no favorites.' ), get_user_name( $user_id ) ); ?></p> 51 26 52 27 <?php endif; endif; ?> 53 28 54 <?php bb_get_footer(); ?> 29 <?php do_action( 'bb_favorites_after_message' ); ?> 30 31 <?php bb_get_footer(); ?> 32 No newline at end of file -
bb-templates/kakumei/footer.php
1 <?php do_action( 'bb_before_footer' ); ?> 1 2 </div> 2 3 </div> 3 4 <div id="footer" role="contentinfo"> 4 <p><?php printf(__( '%1$s is proudly powered by <a href="%2$s">bbPress</a>.'), bb_option('name'), "http://bbpress.org")?></p>5 <p><?php printf(__( '%1$s is proudly powered by <a href="%2$s">bbPress</a>.' ), bb_get_option( 'name' ), 'http://bbpress.org' ); ?></p> 5 6 6 7 <!-- If you like showing off the fact that your server rocks --> 7 8 <!-- <p class="showoff"> … … 16 17 </p> --> 17 18 </div> 18 19 19 <?php do_action( 'bb_foot'); ?>20 <?php do_action( 'bb_foot' ); ?> 20 21 21 22 </body> 22 </html> 23 </html> 24 No newline at end of file -
bb-templates/kakumei/forum.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a><?php bb_forum_bread_crumb(); ?></div>3 <?php bb_kakumei_topics_table(); ?> 4 4 5 <?php if ( $topics || $stickies ) : ?>6 7 <table id="latest" role="main">8 <tr>9 <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>10 <th><?php _e('Posts'); ?></th>11 <!-- <th><?php _e('Voices'); ?></th> -->12 <th><?php _e('Last Poster'); ?></th>13 <th><?php _e('Freshness'); ?></th>14 </tr>15 16 <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>17 <tr<?php topic_class(); ?>>18 <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big><?php topic_page_links(); ?></td>19 <td class="num"><?php topic_posts(); ?></td>20 <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->21 <td class="num"><?php topic_last_poster(); ?></td>22 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>23 </tr>24 <?php endforeach; endif; ?>25 26 <?php if ( $topics ) : foreach ( $topics as $topic ) : ?>27 <tr<?php topic_class(); ?>>28 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>29 <td class="num"><?php topic_posts(); ?></td>30 <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->31 <td class="num"><?php topic_last_poster(); ?></td>32 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>33 </tr>34 <?php endforeach; endif; ?>35 </table>36 <p class="rss-link"><a href="<?php bb_forum_posts_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this forum'); ?></a></p>37 <?php forum_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>38 <?php endif; ?>39 40 5 <?php if ( bb_forums( $forum_id ) ) : ?> 41 <h2><?php _e( 'Subforums'); ?></h2>6 <h2><?php _e( 'Subforums' ); ?></h2> 42 7 <table id="forumlist"> 43 44 <tr> 45 <th><?php _e('Main Theme'); ?></th> 46 <th><?php _e('Topics'); ?></th> 47 <th><?php _e('Posts'); ?></th> 48 </tr> 49 8 <thead> 9 <tr> 10 <th><?php _e( 'Main Theme' ); ?></th> 11 <th><?php _e( 'Topics' ); ?></th> 12 <th><?php _e( 'Posts' ); ?></th> 13 <?php do_action( 'bb_subforum_table_thead', $forum_id ); ?> 14 </tr> 15 </thead> 16 17 <tbody> 50 18 <?php while ( bb_forum() ) : ?> 51 <?php if (bb_get_forum_is_category()) : ?> 52 <tr<?php bb_forum_class('bb-category'); ?>> 53 <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 54 </tr> 55 <?php continue; endif; ?> 56 <tr<?php bb_forum_class(); ?>> 57 <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 58 <td class="num"><?php forum_topics(); ?></td> 59 <td class="num"><?php forum_posts(); ?></td> 60 </tr> 19 <?php if ( bb_get_forum_is_category() ) : ?> 20 <tr<?php bb_forum_class( 'bb-category' ); ?>> 21 <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 22 <?php do_action( 'bb_subforum_table_td', get_forum_id() ); ?> 23 </tr> 24 <?php continue; endif; ?> 25 <tr<?php bb_forum_class(); ?>> 26 <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 27 <td class="num"><?php forum_topics(); ?></td> 28 <td class="num"><?php forum_posts(); ?></td> 29 <?php do_action( 'bb_subforum_table_td', get_forum_id() ); ?> 30 </tr> 61 31 <?php endwhile; ?> 32 </tbody> 33 62 34 </table> 63 35 <?php endif; ?> 64 36 65 37 <?php post_form(); ?> 66 38 67 <?php bb_get_footer(); ?> 39 <?php bb_get_footer(); ?> 40 No newline at end of file -
bb-templates/kakumei/front-page.php
2 2 3 3 <?php if ( $forums ) : ?> 4 4 5 <div id="hottags" role="main"> 6 <h2><?php _e('Hot Tags'); ?></h2> 7 <p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p> 5 <div id="sidebar"> 6 <div id="hottags"> 7 <h2><?php _e( 'Hot Tags' ); ?></h2> 8 <p class="frontpageheatmap"><?php bb_tag_heat_map(); ?></p> 9 </div> 10 <?php if ( bb_is_user_logged_in() ) : ?> 11 <div id="viewdiv"> 12 <h2><?php _e( 'Views' ); ?></h2> 13 <ul id="views"> 14 <?php foreach ( bb_get_views() as $the_view => $title ) : ?> 15 <li<?php alt_class( 'views', 'view' ); ?>><a href="<?php view_link( $the_view ); ?>"><?php view_name( $the_view ); ?></a></li> 16 <?php endforeach; ?> 17 </ul> 18 </div> 19 <?php endif; // bb_is_user_logged_in() ?> 8 20 </div> 9 21 10 22 <div id="discussions"> 11 <?php if ( $topics || $super_stickies ) : ?> 12 13 <h2><?php _e('Latest Discussions'); ?></h2> 14 15 <table id="latest"> 16 <tr> 17 <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th> 18 <th><?php _e('Posts'); ?></th> 19 <!-- <th><?php _e('Voices'); ?></th> --> 20 <th><?php _e('Last Poster'); ?></th> 21 <th><?php _e('Freshness'); ?></th> 22 </tr> 23 24 <?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?> 25 <tr<?php topic_class(); ?>> 26 <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big><?php topic_page_links(); ?></td> 27 <td class="num"><?php topic_posts(); ?></td> 28 <!-- <td class="num"><?php bb_topic_voices(); ?></td> --> 29 <td class="num"><?php topic_last_poster(); ?></td> 30 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td> 31 </tr> 32 <?php endforeach; endif; // $super_stickies ?> 33 34 <?php if ( $topics ) : foreach ( $topics as $topic ) : ?> 35 <tr<?php topic_class(); ?>> 36 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td> 37 <td class="num"><?php topic_posts(); ?></td> 38 <!-- <td class="num"><?php bb_topic_voices(); ?></td> --> 39 <td class="num"><?php topic_last_poster(); ?></td> 40 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td> 41 </tr> 42 <?php endforeach; endif; // $topics ?> 43 </table> 44 <?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?> 45 <?php endif; // $topics or $super_stickies ?> 46 47 <?php if ( bb_forums() ) : ?> 48 <h2><?php _e('Forums'); ?></h2> 49 <table id="forumlist"> 50 51 <tr> 52 <th><?php _e('Main Theme'); ?></th> 53 <th><?php _e('Topics'); ?></th> 54 <th><?php _e('Posts'); ?></th> 55 </tr> 56 <?php while ( bb_forum() ) : ?> 57 <?php if (bb_get_forum_is_category()) : ?> 58 <tr<?php bb_forum_class('bb-category'); ?>> 59 <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 60 </tr> 61 <?php continue; endif; ?> 62 <tr<?php bb_forum_class(); ?>> 63 <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 64 <td class="num"><?php forum_topics(); ?></td> 65 <td class="num"><?php forum_posts(); ?></td> 66 </tr> 67 <?php endwhile; ?> 68 </table> 69 <?php endif; // bb_forums() ?> 70 71 <?php if ( bb_is_user_logged_in() ) : ?> 72 <div id="viewdiv"> 73 <h2><?php _e('Views'); ?></h2> 74 <ul id="views"> 75 <?php foreach ( bb_get_views() as $the_view => $title ) : ?> 76 <li class="view"><a href="<?php view_link( $the_view ); ?>"><?php view_name( $the_view ); ?></a></li> 77 <?php endforeach; ?> 78 </ul> 23 <?php bb_kakumei_topics_table(); /* Open up functions.php to customize the table */ ?> 24 25 <?php if ( bb_forums() ) : ?> 26 27 <?php do_action( 'bb_before_forum_table' ); ?> 28 29 <h2><?php _e( 'Forums' ); ?></h2> 30 <table id="forumlist"> 31 <thead> 32 <tr> 33 <th><?php _e( 'Main Theme' ); ?></th> 34 <th><?php _e( 'Topics' ); ?></th> 35 <th><?php _e( 'Posts' ); ?></th> 36 <?php do_action( 'bb_forum_table_thead' ); ?> 37 </tr> 38 </thead> 39 40 <tbody> 41 <?php while ( bb_forum() ) : ?> 42 <?php if ( bb_get_forum_is_category() ) : ?> 43 <tr<?php bb_forum_class( 'bb-category' ); ?>> 44 <td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 45 <?php do_action( 'bb_forum_table_td', get_forum_id() ); ?> 46 </tr> 47 <?php continue; endif; ?> 48 <tr<?php bb_forum_class(); ?>> 49 <td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td> 50 <td class="num"><?php forum_topics(); ?></td> 51 <td class="num"><?php forum_posts(); ?></td> 52 <?php do_action( 'bb_forum_table_td', get_forum_id() ); ?> 53 </tr> 54 <?php endwhile; ?> 55 </tbody> 56 </table> 57 58 <?php do_action( 'bb_before_forum_table' ); ?> 59 <?php endif; // bb_forums() ?> 60 79 61 </div> 80 <?php endif; // bb_is_user_logged_in() ?> 62 <?php else : //$forums ?> 63 <?php post_form( array( 'h2' => __( 'Start New Topic' ) . '<span> — <a href="' . bb_get_uri() . '">' . __( 'cancel' ) . '</a>' ) ); ?> 64 <?php endif; //$forums ?> 81 65 82 </div> 83 84 <?php else : // $forums ?> 85 86 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Add New Topic'); ?></div> 87 88 <?php post_form(); endif; // $forums ?> 89 90 <?php bb_get_footer(); ?> 66 <?php bb_get_footer(); ?> 67 No newline at end of file -
bb-templates/kakumei/header.php
2 2 $_head_profile_attr = ''; 3 3 if ( bb_is_profile() ) { 4 4 global $self; 5 if ( !$self ) { 6 $_head_profile_attr = ' profile="http://www.w3.org/2006/03/hcard"'; 7 } 5 if ( !$self ) $_head_profile_attr = ' profile="http://www.w3.org/2006/03/hcard"'; 8 6 } 9 7 ?> 10 8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 11 9 <html xmlns="http://www.w3.org/1999/xhtml"<?php bb_language_attributes( '1.1' ); ?>> 10 12 11 <head<?php echo $_head_profile_attr; ?>> 13 12 <meta http-equiv="X-UA-Compatible" content="IE=8" /> 14 13 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 15 <title><?php bb_title() ?></title>14 <title><?php bb_title(); ?></title> 16 15 <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" /> 17 16 <?php if ( 'rtl' == bb_get_option( 'text_direction' ) ) : ?> 18 17 <link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" /> … … 27 26 <div id="wrapper"> 28 27 <div id="header" role="banner"> 29 28 <h1><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a></h1> 30 <?php if ( bb_get_option( 'description') ) : ?><p class="description"><?php bb_option('description'); ?></p><?php endif; ?>31 29 <?php if ( bb_get_option( 'description' ) ) : ?><p class="description"><?php bb_option( 'description' ); ?></p><?php endif; ?> 30 32 31 <?php if ( !in_array( bb_get_location(), array( 'login-page', 'register-page' ) ) ) login_form(); ?> 33 32 34 33 <div class="search"> 35 34 <?php search_form(); ?> 36 35 </div> 37 36 </div> 38 37 <div id="main"> 39 38 40 39 <?php if ( bb_is_profile() ) profile_menu(); ?> 40 <?php bb_auto_crumbs(); ?> 41 42 No newline at end of file -
bb-templates/kakumei/logged-in.php
1 1 <p class="login"> 2 <?php printf( __('Welcome, %1$s'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?>2 <?php printf( __( 'Welcome, %s' ), bb_get_profile_link( bb_get_current_user_info( 'name' ) ) ); ?> 3 3 <?php bb_admin_link( 'before= | ' );?> 4 4 | <?php bb_logout_link(); ?> 5 </p> 5 </p> 6 No newline at end of file -
bb-templates/kakumei/login-form.php
1 1 <form class="login" method="post" action="<?php bb_uri( 'bb-login.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>"> 2 2 <p> 3 <?php3 <?php 4 4 printf( 5 5 __( '<a href="%1$s">Register</a> or log in - <a href="%2$s">lost password?</a>' ), 6 6 bb_get_uri( 'register.php', null, BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS ), 7 7 bb_get_uri( 'bb-login.php', array( 'action' => 'lostpassword' ), BB_URI_CONTEXT_A_HREF + BB_URI_CONTEXT_BB_USER_FORMS ) 8 8 ); 9 9 ?> 10 11 10 </p> 11 12 12 <div> 13 13 <label> 14 <?php _e( 'Username'); ?><br />15 <input name="log" type="text" id="quick_user_login" size="13" maxlength="40" value="<?php if ( !is_bool($user_login)) echo $user_login; ?>" tabindex="1"/>14 <?php _e( 'Username' ); ?><br /> 15 <input name="log" type="text" id="quick_user_login" size="13" maxlength="40" value="<?php if ( !is_bool( $user_login ) ) echo $user_login; ?>"<?php bb_tabindex(); ?> /> 16 16 </label> 17 17 <label> 18 18 <?php _e( 'Password' ); ?><br /> 19 <input name="pwd" type="password" id="quick_password" size="13" maxlength="40" tabindex="2"/>19 <input name="pwd" type="password" id="quick_password" size="13" maxlength="40"<?php bb_tabindex(); ?> /> 20 20 </label> 21 21 22 <input name="redirect_to" type="hidden" value="<?php echo $re; ?>" /> 22 23 <?php wp_referer_field(); ?> 23 24 <input type="submit" name="Submit" class="submit" value="<?php echo esc_attr__( 'Log in »' ); ?>" tabindex="4" /> 24 <input type="submit" name="Submit" class="submit" value="<?php esc_attr_e( 'Log in »' ); ?>"<?php bb_tabindex( array( 'val' => 4, 'set_to_value' => 3 ) ); ?> /> 25 25 </div> 26 26 27 <div class="remember"> 27 28 <label> 28 <input name="rememberme" type="checkbox" id="quick_remember" value="1" tabindex="3"<?php echo $remember_checked; ?> /> 29 <?php _e('Remember me'); ?> 30 29 <input name="rememberme" type="checkbox" id="quick_remember" value="1"<?php bb_tabindex( array( 'set_to_value' => 5 ) ); ?><?php echo $remember_checked; ?> /> 30 <?php _e( 'Remember me' ); ?> 31 31 </label> 32 32 </div> 33 33 </form> 34 No newline at end of file -
bb-templates/kakumei/login.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Log in'); ?></div>3 <h2 id="userlogin" role="main"><?php !empty( $user_login ) ? _e( 'Log in Failed' ) : _e( 'Log in' ) ; ?></h2> 4 4 5 <h2 id="userlogin" role="main"><?php !empty( $user_login ) ? _e('Log in Failed') : _e('Log in') ; ?></h2> 6 7 <form method="post" action="<?php bb_uri('bb-login.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS); ?>"> 8 <fieldset> 9 <table> 5 <form method="post" action="<?php bb_uri( 'bb-login.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>"> 6 <fieldset> 7 <table> 10 8 <?php 11 $user_login_error = $bb_login_error->get_error_message( 'user_login' );12 $user_email_error = $bb_login_error->get_error_message( 'user_email' );13 $user_password_error = $bb_login_error->get_error_message( 'password' );9 $user_login_error = $bb_login_error->get_error_message( 'user_login' ); 10 $user_email_error = $bb_login_error->get_error_message( 'user_email' ); 11 $user_password_error = $bb_login_error->get_error_message( 'password' ); 14 12 ?> 15 <tr valign="top" class="form-field <?php if ( $user_login_error || $user_email_error ) echo ' form-invalid error'; ?>"> 16 <th scope="row"> 17 <label for="user_login"><?php _e('Username'); ?></label> 18 <?php if ( $user_login_error ) echo "<em>$user_login_error</em>"; ?> 19 <?php if ( $user_email_error ) echo "<em>$user_email_error</em>"; ?> 20 </th> 21 <td> 22 <input name="log" id="user_login" type="text" value="<?php echo $user_login; ?>" /> 23 </td> 24 </tr> 25 <tr valign="top" class="form-field <?php if ( $user_password_error ) echo 'form-invalid error'; ?>"> 26 <th scope="row"> 27 <label for="password"><?php _e('Password'); ?></label> 28 <?php if ( $user_password_error ) echo "<em>$user_password_error</em>"; ?> 29 </th> 30 <td> 31 <input name="pwd" id="password" type="password" /> 32 </td> 33 </tr> 34 35 <tr valign="top" class="form-field"> 36 <th scope="row"><label for="remember"><?php _e('Remember me'); ?></label></th> 37 <td><input name="rememberme" type="checkbox" id="remember" value="1"<?php echo $remember_checked; ?> /></td> 38 </tr> 39 <tr> 40 <th scope="row"> </th> 41 <td> 42 <input name="redirect_to" type="hidden" value="<?php echo $redirect_to; ?>" /> 43 <input type="submit" value="<?php echo esc_attr( !empty( $user_login ) ? __( 'Try Again »' ): __( 'Log in »' ) ); ?>" /> 44 <?php wp_referer_field(); ?> 45 </td> 46 </tr> 47 </table> 48 49 </fieldset> 13 <tr valign="top" class="form-field <?php if ( $user_login_error || $user_email_error ) echo ' form-invalid error'; ?>"> 14 <th scope="row"> 15 <label for="user_login"><?php _e( 'Username' ); ?></label> 16 <?php if ( $user_login_error ) echo "<em>$user_login_error</em>"; ?> 17 <?php if ( $user_email_error ) echo "<em>$user_email_error</em>"; ?> 18 </th> 19 <td> 20 <input name="log" id="user_login" type="text" value="<?php echo $user_login; ?>"<?php bb_tabindex(); ?> /> 21 </td> 22 </tr> 23 <tr valign="top" class="form-field <?php if ( $user_password_error ) echo 'form-invalid error'; ?>"> 24 <th scope="row"> 25 <label for="password"><?php _e( 'Password' ); ?></label> 26 <?php if ( $user_password_error ) echo "<em>$user_password_error</em>"; ?> 27 </th> 28 <td> 29 <input name="pwd" id="password" type="password"<?php bb_tabindex(); ?> /> 30 </td> 31 </tr> 32 33 <tr valign="top" class="form-field"> 34 <th scope="row"><label for="remember"><?php _e( 'Remember me' ); ?></label></th> 35 <td><input name="rememberme" type="checkbox" id="remember" value="1"<?php echo $remember_checked; bb_tabindex(); ?> /></td> 36 </tr> 37 <tr> 38 <th scope="row"> </th> 39 <td> 40 <input name="redirect_to" type="hidden" value="<?php echo $redirect_to; ?>" /> 41 <input type="submit" value="<?php echo esc_attr( !empty( $user_login ) ? __( 'Try Again »' ): __( 'Log in »' ) ); ?>"<?php bb_tabindex(); ?> /> 42 <?php wp_referer_field(); ?> 43 </td> 44 </tr> 45 </table> 46 </fieldset> 50 47 </form> 51 48 52 49 <h2 id="passwordrecovery"><?php _e( 'Password Recovery' ); ?></h2> 53 <form method="post" action="<?php bb_uri( 'bb-reset-password.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS); ?>">50 <form method="post" action="<?php bb_uri( 'bb-reset-password.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>"> 54 51 <fieldset> 55 <p><?php _e( 'To recover your password, enter your information below.'); ?></p>52 <p><?php _e( 'To recover your password, enter your information below.' ); ?></p> 56 53 <table> 57 54 <tr valign="top" class="form-field"> 58 55 <th scope="row"> 59 56 <label for="user_login_reset_password"><?php _e( 'Username' ); ?></label> 60 57 </th> 61 58 <td> 62 <input name="user_login" id="user_login_reset_password" type="text" value="<?php echo $user_login; ?>" />59 <input name="user_login" id="user_login_reset_password" type="text" value="<?php echo $user_login; ?>"<?php bb_tabindex(); ?> /> 63 60 </td> 64 61 </tr> 65 62 <tr valign="top"> 66 63 <th scope="row"></th> 67 64 <td> 68 <input type="submit" value="<?php e cho esc_attr__( 'Recover Password »' ); ?>"/>65 <input type="submit" value="<?php esc_attr_e( 'Recover Password »' ); ?>"<?php bb_tabindex(); ?> /> 69 66 </td> 70 67 </tr> 71 68 </table> 72 69 </fieldset> 73 70 </form> 74 71 75 <?php bb_get_footer(); ?> 72 <?php bb_get_footer(); ?> 73 No newline at end of file -
bb-templates/kakumei/password-reset.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Log in'); ?></div>3 <h2 role="main"><?php _e( 'Password Reset' ); ?></h2> 4 4 5 < h2 role="main"><?php _e('Password Reset'); ?></h2>5 <?php do_action( 'bb_before_password_reset_message' ); ?> 6 6 7 7 <?php if ( $error ) : ?> 8 8 9 <p class="notice error"><?php echo $error; ?></p> 10 9 11 <?php else : ?> 12 10 13 <?php switch ( $action ) : ?> 11 14 <?php case ( 'send_key' ) : ?> 12 <p class="notice"><?php _e( 'An email has been sent to the address we have on file for you. If you don’t get anything within a few minutes, or your email has changed, you may want to get in touch with the webmaster or forum administrator here.'); ?></p>15 <p class="notice"><?php _e( 'An email has been sent to the address we have on file for you. If you don’t get anything within a few minutes, or your email has changed, you may want to get in touch with the webmaster or forum administrator here.' ); ?></p> 13 16 <?php break; ?> 17 14 18 <?php case ( 'reset_password' ) : ?> 15 <p class="notice"><?php _e( 'Your password has been reset and a new one has been mailed to you.'); ?></p>19 <p class="notice"><?php _e( 'Your password has been reset and a new one has been mailed to you.' ); ?></p> 16 20 <?php break; ?> 21 22 <?php default: ?> 23 <?php do_action( 'bb_password_reset_message', $action ); ?> 24 <?php break; ?> 25 17 26 <?php endswitch; ?> 18 27 <?php endif; ?> 19 28 20 <?php bb_get_footer(); ?> 29 <?php do_action( 'bb_after_password_reset_message' ); ?> 30 31 <?php bb_get_footer(); ?> 32 No newline at end of file -
bb-templates/kakumei/post-form.php
1 1 <?php if ( !bb_is_topic() ) : ?> 2 2 <p id="post-form-title-container"> 3 <label for="topic"><?php _e( 'Title'); ?>4 <input name="topic" type="text" id="topic" size="50" maxlength="100" tabindex="1"/>3 <label for="topic"><?php _e( 'Title' ); ?> 4 <input name="topic" type="text" id="topic" size="50" maxlength="100"<?php bb_tabindex(); ?> /> 5 5 </label> 6 6 </p> 7 7 <?php endif; do_action( 'post_form_pre_post' ); ?> 8 8 <?php if ( ! bb_is_user_logged_in() && ! bb_is_login_required() ) : 9 $current_ commenter = bb_get_current_commenter();9 $current_poster = bb_get_current_commenter(); 10 10 ?> 11 11 <p id="post-form-author-container"> 12 <label for="author"><?php _e( 'Author (required)'); ?>13 <input type="text" name="author" id="author" size="50" aria-required="true" value="<?php echo esc_attr( $current_commenter['comment_author']); ?>"/>12 <label for="author"><?php _e( 'Author (required)' ); ?> 13 <input type="text" name="author" id="author" size="50" aria-required="true" value="<?php echo esc_attr( $current_poster['comment_author'] ); ?>"<?php bb_tabindex(); ?> /> 14 14 </label> 15 15 </p> 16 16 17 17 <p id="post-form-email-container"> 18 <label for="email"><?php _e( 'Email (required)'); ?>19 <input type="text" name="email" id="email" size="50" aria-required="true" value="<?php echo esc_attr( $current_commenter['comment_author_email']); ?>"/>18 <label for="email"><?php _e( 'Email (required)' ); ?> 19 <input type="text" name="email" id="email" size="50" aria-required="true" value="<?php echo esc_attr( $current_poster['comment_author_email'] ); ?>"<?php bb_tabindex(); ?> /> 20 20 </label> 21 21 </p> 22 22 23 23 <p id="post-form-url-container"> 24 <label for="url"><?php _e( 'URL'); ?>25 <input type="text" name="url" id="url" size="50" aria-required="true" value="<?php echo esc_attr($current_commenter['comment_author_url']); ?>"/>24 <label for="url"><?php _e( 'Website' ); ?> 25 <input type="text" name="url" id="url" size="50" value="<?php echo esc_attr( $current_poster['comment_author_url'] ); ?>"<?php bb_tabindex(); ?> /> 26 26 </label> 27 27 28 28 </p> 29 29 <?php endif; // end user not logged in but logins aren't required ?> 30 30 31 31 <p id="post-form-post-container"> 32 <label for="post_content"><?php _e( 'Post'); ?>33 <textarea name="post_content" cols="50" rows="8" id="post_content" tabindex="3"></textarea>32 <label for="post_content"><?php _e( 'Post' ); ?> 33 <textarea name="post_content" cols="50" rows="8" id="post_content"<?php bb_tabindex(); ?>></textarea> 34 34 </label> 35 35 </p> 36 36 <p id="post-form-tags-container"> 37 <label for="tags-input"><?php printf(__('Tags (comma separated)'), bb_get_tag_page_link()) ?>38 <input id="tags-input" name="tags" type="text" size="50" maxlength="100" value="<?php bb_tag_name(); ?>" tabindex="4"/>37 <label for="tags-input"><?php __( 'Tags (comma separated)' ) ?> 38 <input id="tags-input" name="tags" type="text" size="50" maxlength="100" value="<?php bb_tag_name(); ?>"<?php bb_tabindex(); ?> /> 39 39 </label> 40 40 </p> 41 41 <?php if ( bb_is_tag() || bb_is_front() ) : ?> 42 42 <p id="post-form-forum-container"> 43 <label for="forum-id"><?php _e( 'Forum'); ?>44 <?php bb_new_topic_forum_dropdown( ); ?>43 <label for="forum-id"><?php _e( 'Forum' ); ?> 44 <?php bb_new_topic_forum_dropdown( array( 'tab' => true ) ); ?> 45 45 </label> 46 46 </p> 47 47 <?php endif; ?> 48 48 <p id="post-form-submit-container" class="submit"> 49 <input type="submit" id="postformsub" name="Submit" value="<?php echo esc_attr__( 'Send Post »' ); ?>" tabindex="4"/>49 <input type="submit" id="postformsub" name="Submit" value="<?php esc_attr_e( 'Send Post »' ); ?>"<?php bb_tabindex(); ?> /> 50 50 </p> 51 51 52 <p id="post-form-allowed-container" class="allowed"><?php _e('Allowed markup:'); ?> <code><?php allowed_markup(); ?></code>. <br /><?php _e('You can also put code in between backtick ( <code>`</code> ) characters.'); ?></p> 52 <p id="post-form-allowed-container" class="allowed"><?php printf( __( 'Allowed markup: %s.' ), '<code>' . get_allowed_markup() . '</code>' ); ?><br /><?php _e( 'You can also put code in between backtick ( <code>`</code> ) characters.' ); ?></p> 53 No newline at end of file -
bb-templates/kakumei/post.php
4 4 <p> 5 5 <strong><?php post_author_link(); ?></strong><br /> 6 6 <small><?php post_author_title_link(); ?></small> 7 <?php do_action( 'bb_post_threadauthor_meta', get_post_id() ); ?> 7 8 </p> 8 9 </div> 9 10 <div class="threadpost"> 10 11 <div class="post"><?php post_text(); ?></div> 11 <div class="poststuff"><?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?></div> 12 <div class="poststuff"><?php printf( __( 'Posted %s ago' ), bb_get_post_time() ); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php bb_post_admin(); ?></div> 13 <?php do_action( 'bb_post_threadpost_after_stuff', get_post_id() ); ?> 12 14 </div> 13 15 </div> 16 No newline at end of file -
bb-templates/kakumei/profile-base.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <a href="<?php user_profile_link( $user_id ); ?>"><?php echo get_user_display_name( $user_id ); ?></a> » <?php echo $profile_page_title; ?></div>4 3 <h2 role="main"><?php echo get_user_name( $user->ID ); ?></h2> 5 4 6 5 <?php bb_profile_base_content(); ?> 7 6 8 <?php bb_get_footer(); ?> 7 <?php bb_get_footer(); ?> 8 No newline at end of file -
bb-templates/kakumei/profile-edit.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb">4 <a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <a href="<?php user_profile_link( $user_id ); ?>"><?php echo get_user_display_name( $user_id ); ?></a> » <?php _e( 'Edit Profile' ); ?>5 </div>6 7 3 <h2 id="userlogin" role="main"> 8 4 <?php echo get_user_display_name( $user->ID ); ?> <small>(<?php echo get_user_name( $user->ID ); ?>)</small> 9 5 </h2> … … 34 30 <?php endif; endif; ?> 35 31 36 32 <p class="submit right"> 37 <input type="submit" name="Submit" value="<?php e cho esc_attr__( 'Update Profile »' ); ?>"/>33 <input type="submit" name="Submit" value="<?php esc_attr_e( 'Update Profile »' ); ?>" <?php bb_tabindex(); ?> /> 38 34 </p> 39 35 40 36 </form> … … 48 44 49 45 </form> 50 46 51 <?php bb_get_footer(); ?> 47 <?php bb_get_footer(); ?> 48 No newline at end of file -
bb-templates/kakumei/profile.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <a href="<?php user_profile_link( $user_id ); ?>"><?php echo get_user_display_name( $user_id ); ?></a> » <?php _e('Profile') ?></div>4 5 3 <div class="vcard" role="main"> 6 4 7 5 <?php if ( $avatar = bb_get_avatar( $user->ID ) ) : ?> 8 <div id="useravatar"><?php echo $avatar; ?></div> 9 <?php unset($avatar); endif; ?> 10 <h2 id="userlogin"><span class="fn"><?php echo get_user_display_name( $user->ID ); ?></span> <small>(<span class="nickname"><?php echo get_user_name( $user->ID ); ?></span>)</small></h2> 6 <div id="useravatar"><?php echo $avatar; ?></div> 7 <?php unset( $avatar ); endif; ?> 11 8 9 <h2 id="userlogin"> 10 <span class="fn"><?php echo get_user_display_name( $user->ID ); ?></span> <small>(<span class="nickname"><?php echo get_user_name( $user->ID ); ?></span>)</small> 11 </h2> 12 12 13 <?php if ( $updated ) : ?> 13 <div class="notice">14 <p><?php _e('Profile updated'); ?>. <a href="<?php profile_tab_link( $user_id, 'edit' ); ?>"><?php _e('Edit again »'); ?></a></p>15 </div>14 <div class="notice"> 15 <p><?php _e( 'Profile updated.' ); ?> <a href="<?php profile_tab_link( $user_id, 'edit' ); ?>"><?php esc_attr_e( 'Edit again »' ); ?></a></p> 16 </div> 16 17 <?php elseif ( $user_id == bb_get_current_user_info( 'id' ) ) : ?> 17 <p>18 <?php _e('This is how your profile appears to a logged in member.'); ?>18 <p> 19 <?php _e( 'This is how your profile appears to a logged in member.' ); ?> 19 20 20 <?php if ( bb_current_user_can( 'edit_user', $user->ID )) : ?>21 <?php printf(__('You may <a href="%1$s">edit this information</a>.'), esc_attr( get_profile_tab_link( $user_id, 'edit' ) ) ); ?>21 <?php if ( bb_current_user_can( 'edit_user', $user->ID ) ) : ?> 22 <?php printf( __( 'You may <a href="%s">edit this information</a>.' ), esc_attr( get_profile_tab_link( $user_id, 'edit' ) ) ); ?> 22 23 <?php endif; ?> 23 </p>24 </p> 24 25 25 <?php if ( bb_current_user_can( 'edit_favorites_of', $user->ID )) : ?>26 <p><?php printf(__('You can also <a href="%1$s">manage your favorites</a> and subscribe to your favorites’ <a href="%2$s"><abbr title="Really Simple Syndication">RSS</abbr> feed</a>.'), esc_attr( get_favorites_link() ), esc_attr( get_favorites_rss_link() )); ?></p>26 <?php if ( bb_current_user_can( 'edit_favorites_of', $user->ID ) ) : ?> 27 <p><?php printf( __( 'You can also <a href="%1$s">manage your favorites</a> and subscribe to your favorites’ <a href="%2$s"><abbr title="Really Simple Syndication">RSS</abbr> feed</a>.' ), esc_attr( get_favorites_link() ), esc_attr( get_favorites_rss_link() ) ); ?></p> 27 28 <?php endif; ?> 28 29 <?php endif; ?> 29 30 31 <div class="clear"></div> 32 30 33 <?php bb_profile_data(); ?> 31 34 32 35 </div> 33 36 34 <h3 id="useractivity"><?php _e( 'User Activity') ?></h3>37 <h3 id="useractivity"><?php _e( 'User Activity' ) ?></h3> 35 38 36 <div id="user-replies" class="user-recent"><h4><?php _e('Recent Replies'); ?></h4> 37 <?php if ( $posts ) : ?> 38 <ol> 39 <?php foreach ($posts as $bb_post) : $topic = get_topic( $bb_post->topic_id ) ?> 40 <li<?php alt_class('replies'); ?>> 41 <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> - 42 <?php if ( $user->ID == bb_get_current_user_info( 'id' ) ) printf(__('You last replied: <a href="%1$s">%2$s ago</a>'), get_post_link(), bb_get_post_time()); else printf(__('User last replied: <a href="%1$s">%2$s ago</a>'), get_post_link(), bb_get_post_time()); ?> | 39 <div id="user-replies" class="user-recent"> 40 <?php do_action( 'bb_topics_above_table_before_heading', 'profile-user-recent-replies' /* type */, $posts ); ?> 41 <?php if ( $posts ) : ?> 42 <h4><?php _e( 'Recent Replies' ); ?></h4> 43 <?php do_action( 'bb_topics_above_table', 'profile-user-recent-replies' /* type */, $posts ); ?> 44 <table id="latest"> 45 <thead> 46 <tr> 47 <th><?php _e( 'Topic' ); ?></th> 48 <th class="date"><?php if ( $user->ID == bb_get_current_user_info( 'id' ) ) _e( 'You Last Replied' ); else _e( 'User Last Replied' ); ?></th> 49 <th class="date"><?php _e( 'Most Recent Reply' ); ?></th> 50 <?php do_action( 'bb_topics_thead', 'profile-user-recent-replies' /* type */, $posts ); ?> 51 </tr> 52 </thead> 53 <tbody> 54 <?php foreach ( $posts as $bb_post ) : $topic = get_topic( $bb_post->topic_id ); ?> 55 <tr<?php alt_class( 'replies' ); ?>> 56 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td> 57 <td class="date"><a href="<?php post_link(); ?>"><?php bb_post_time(); ?> <?php _e( 'ago' ); ?></a></td> 58 <td class="date"> 59 <?php if ( bb_get_post_time( 'timestamp' ) < get_topic_time( 'timestamp' ) ) { ?> 60 <a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?> <?php _e( 'ago' ); ?></a> 61 <?php } else { ?> - <?php } ?> 62 </td> 63 </tr> 64 <?php endforeach; ?> 65 </tbody> 66 </table> 43 67 44 <span class="freshness"><?php 45 if ( bb_get_post_time( 'timestamp' ) < get_topic_time( 'timestamp' ) ) 46 printf(__('Most recent reply: <a href="%1$s">%2$s ago</a>'), get_topic_last_post_link(), get_topic_time()); 47 else 48 _e('No replies since'); 49 ?></span> 50 </li> 51 <?php endforeach; ?> 52 </ol> 53 <?php else : if ( $page ) : ?> 54 <p><?php _e('No more replies.') ?></p> 55 <?php else : ?> 56 <p><?php _e('No replies yet.') ?></p> 57 <?php endif; endif; ?> 68 <?php else : if ( $page ) : ?> 69 <p><?php _e( 'No more replies.' ); ?></p> 70 <?php else : ?> 71 <p><?php _e( 'No replies yet.' ) ?></p> 72 <?php endif; endif; ?> 73 58 74 </div> 59 75 60 76 <div id="user-threads" class="user-recent"> 61 <h4><?php _e('Topics Started') ?></h4> 62 <?php if ( $topics ) : ?> 63 <ol> 64 <?php foreach ($topics as $topic) : ?> 65 <li<?php alt_class('topics'); ?>> 66 <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a> - 67 <?php printf(__('Started: %s ago'), get_topic_start_time()); ?> | 77 <h4><?php _e( 'Topics Started' ); ?></h4> 78 <?php if ( $topics ) : ?> 79 <table id="latest"> 80 <thead> 81 <tr> 82 <th><?php _e( 'Topic' ); ?></th> 83 <th class="date"><?php _e( 'Started' ); ?></th> 84 <th class="date"><?php _e( 'Most Recent Reply' ); ?></th> 85 </tr> 86 </thead> 87 <tbody> 88 <?php foreach ( $topics as $topic ) : ; ?> 89 <tr<?php alt_class( 'topics' ); ?>> 90 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td> 91 <td class="date"><?php topic_start_time(); ?></td> 92 <td class="date"> 93 <?php if ( get_topic_start_time( 'timestamp' ) < get_topic_time( 'timestamp' ) ) { ?> 94 <a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?> <?php _e( 'ago' ); ?></a> 95 <?php } else { ?> - <?php } ?> 96 </td> 97 </tr> 98 <?php endforeach; ?> 99 </tbody> 100 </table> 68 101 69 <span class="freshness"><?php 70 if ( get_topic_start_time( 'timestamp' ) < get_topic_time( 'timestamp' ) ) 71 printf(__('Most recent reply: <a href="%1$s">%2$s ago</a>'), get_topic_last_post_link(), get_topic_time()); 72 else 73 _e('No replies since'); 74 ?></span> 75 </li> 76 <?php endforeach; ?> 77 </ol> 78 <?php else : if ( $page ) : ?> 79 <p><?php _e('No more topics posted.') ?></p> 80 <?php else : ?> 81 <p><?php _e('No topics posted yet.') ?></p> 82 <?php endif; endif;?> 102 <?php else : if ( $page ) : ?> 103 <p><?php _e( 'No more topics posted.' ); ?></p> 104 <?php else : ?> 105 <p><?php _e( 'No topics posted yet.' ); ?></p> 106 <?php endif; endif;?> 107 83 108 </div> 84 109 85 110 <?php profile_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?> 86 111 87 <?php bb_get_footer(); ?> 112 <?php bb_get_footer(); ?> 113 No newline at end of file -
bb-templates/kakumei/register-success.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Register'); ?></div>3 <h2 id="register" role="main"><?php _e( 'Great!' ); ?></h2> 4 4 5 < h2 id="register" role="main"><?php _e('Great!'); ?></h2>5 <p><?php printf( __( 'Your registration as <strong>%1$s</strong> was successful. Within a few minutes you should receive an email with your password. You may now <a href="%2$s">go back</a> to the forums.' ), $user_login, bb_get_uri() ); ?></p> 6 6 7 <p><?php printf(__('Your registration as <strong>%s</strong> was successful. Within a few minutes you should receive an email with your password.'), $user_login) ?></p> 8 9 <?php bb_get_footer(); ?> 7 <?php bb_get_footer(); ?> 8 No newline at end of file -
bb-templates/kakumei/register.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Register'); ?></div>3 <h2 id="register" role="main"><?php _e( 'Registration' ); ?></h2> 4 4 5 <h2 id="register" role="main"><?php _e('Registration'); ?></h2>6 7 5 <?php if ( !bb_is_user_logged_in() ) : ?> 8 6 9 <form method="post" action="<?php bb_uri( 'register.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS); ?>">7 <form method="post" action="<?php bb_uri( 'register.php', null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_USER_FORMS ); ?>"> 10 8 11 <fieldset> 12 <legend><?php _e('Profile Information'); ?></legend> 13 14 <p><?php _e("Your password will be emailed to the address you provide."); ?></p> 15 9 <fieldset> 10 <legend><?php _e( 'Profile Information' ); ?></legend> 11 12 <p><?php _e( 'Your password will be emailed to the address you provide.' ); ?></p> 13 14 <?php $user_login_error = $bb_register_error->get_error_message( 'user_login' ); ?> 15 16 <table width="100%"> 17 <tr class="form-field form-required required<?php if ( $user_login_error ) echo ' form-invalid error'; ?>"> 18 <th scope="row"> 19 <label for="user_login"><?php _e( 'Username' ); ?></label> 20 <?php if ( $user_login_error ) echo "<em>$user_login_error</em>"; ?> 21 </th> 22 <td> 23 <input name="user_login" type="text" id="user_login" size="30" maxlength="30" value="<?php echo $user_login; ?>"<?php bb_tabindex(); ?> /> 24 </td> 25 </tr> 16 26 <?php 17 18 $user_login_error = $bb_register_error->get_error_message( 'user_login' ); 19 20 ?> 21 22 <table width="100%"> 23 <tr class="form-field form-required required<?php if ( $user_login_error ) echo ' form-invalid error'; ?>"> 24 <th scope="row"> 25 <label for="user_login"><?php _e('Username'); ?></label> 26 <?php if ( $user_login_error ) echo "<em>$user_login_error</em>"; ?> 27 </th> 28 <td> 29 <input name="user_login" type="text" id="user_login" size="30" maxlength="30" value="<?php echo $user_login; ?>" /> 30 </td> 31 </tr> 32 33 <?php 34 35 if ( is_array($profile_info_keys) ) : 27 if ( is_array( $profile_info_keys ) ) : 36 28 foreach ( $profile_info_keys as $key => $label ) : 37 29 $class = 'form-field'; 38 if ( $label[0] ) {30 if ( $label[0] ) 39 31 $class .= ' form-required required'; 40 }41 32 if ( $profile_info_key_error = $bb_register_error->get_error_message( $key ) ) 42 33 $class .= ' form-invalid error'; 43 44 34 ?> 45 46 <tr class="<?php echo $class; ?>"> 47 <th scope="row"> 48 <label for="<?php echo $key; ?>"><?php echo $label[1]; ?></label> 49 <?php if ( $profile_info_key_error ) echo "<em>$profile_info_key_error</em>"; ?> 50 </th> 51 <td> 52 <input name="<?php echo $key; ?>" type="text" id="<?php echo $key; ?>" size="30" maxlength="140" value="<?php echo $$key; ?>" /> 53 </td> 54 </tr> 55 35 <tr class="<?php echo $class; ?>"> 36 <th scope="row"> 37 <label for="<?php echo $key; ?>"><?php echo $label[1]; ?></label> 38 <?php if ( $profile_info_key_error ) echo "<em>$profile_info_key_error</em>"; ?> 39 </th> 40 <td> 41 <input name="<?php echo $key; ?>" type="text" id="<?php echo $key; ?>" size="30" maxlength="140" value="<?php echo $$key; ?>"<?php bb_tabindex(); ?> /> 42 </td> 43 </tr> 56 44 <?php 57 58 45 endforeach; // profile_info_keys 59 46 endif; // profile_info_keys 60 61 47 ?> 62 48 63 </table> 49 </table> 50 <p class="required-message"><?php _e( 'These items are <span class="required">required</span>.' ) ?></p> 51 52 </fieldset> 64 53 65 <p class="required-message"><?php _e('These items are <span class="required">required</span>.') ?></p>54 <?php do_action( 'extra_profile_info', $user ); ?> 66 55 67 </fieldset> 56 <p class="submit"> 57 <input type="submit" name="Submit" value="<?php esc_attr_e( 'Register »' ); ?>"<?php bb_tabindex(); ?> /> 58 </p> 68 59 69 <?php do_action('extra_profile_info', $user); ?>70 71 <p class="submit">72 <input type="submit" name="Submit" value="<?php echo esc_attr__( 'Register »' ); ?>" />73 </p>74 75 60 </form> 76 61 77 62 <?php else : ?> 78 63 79 <p><?php _e( 'You’re already logged in, why do you need to register?'); ?></p>64 <p><?php _e( 'You are already logged in, why do you need to register?' ); ?></p> 80 65 81 66 <?php endif; ?> 82 67 83 <?php bb_get_footer(); ?> 68 <?php bb_get_footer(); ?> 69 No newline at end of file -
bb-templates/kakumei/rss2.php
32 32 <?php endforeach; ?> 33 33 34 34 </channel> 35 </rss> 35 </rss> 36 No newline at end of file -
bb-templates/kakumei/search-form.php
1 <form class="search-form" role="search" action="<?php bb_uri( 'search.php', null, BB_URI_CONTEXT_FORM_ACTION); ?>" method="get">1 <form class="search-form" role="search" action="<?php bb_uri( 'search.php', null, BB_URI_CONTEXT_FORM_ACTION ); ?>" method="get"> 2 2 <p> 3 <label class="hidden" for="q"><?php _e( 'Search:'); ?></label>4 <input class="text" type="text" size="14" maxlength="100" name="q" id="q" />5 <input class="submit" type="submit" value="<?php e cho esc_attr__( 'Search »' ); ?>"/>3 <label class="hidden" for="q"><?php _e( 'Search:' ); ?></label> 4 <input class="text" type="text" size="14" maxlength="100" name="q" id="q"<?php bb_tabindex(); ?> /> 5 <input class="submit" type="submit" value="<?php esc_attr_e( 'Search »' ); ?>"<?php bb_tabindex(); ?> /> 6 6 </p> 7 </form> 7 </form> 8 No newline at end of file -
bb-templates/kakumei/search.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Search')?></div>4 3 <?php bb_topic_search_form(); ?> 5 4 6 5 <?php if ( !empty ( $q ) ) : ?> -
bb-templates/kakumei/stats.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option( 'name' ); ?></a> » <?php _e( 'Statistics' ); ?></div>4 5 3 <dl role="main" class="left"> 6 4 <dt><?php _e( 'Registered Users' ); ?></dt> 7 5 <dd><strong><?php bb_total_users(); ?></strong></dd> 6 7 <dt><?php _e( 'Forums' ); ?></dt> 8 <dd><strong><?php total_forums(); ?></strong></dd> 9 10 <dt><?php _e( 'Topics' ); ?></dt> 11 <dd><strong><?php total_topics(); ?></strong></dd> 12 8 13 <dt><?php _e( 'Posts' ); ?></dt> 9 14 <dd><strong><?php total_posts(); ?></strong></dd> 10 15 <?php do_action( 'bb_stats_left' ); ?> … … 23 28 <?php do_action( 'bb_stats_right' ); ?> 24 29 </div> 25 30 26 <?php bb_get_footer(); ?> 31 <?php bb_get_footer(); ?> 32 No newline at end of file -
bb-templates/kakumei/style.css
31 31 32 32 .right { float: right; } 33 33 34 .clear { clear:both; } 35 34 36 .delete:hover { 35 37 background-color: #c00; 36 38 color: #fff; … … 282 284 /* Front Page 283 285 =================================== */ 284 286 285 # front-page #hottags{287 #sidebar { 286 288 position: absolute; 287 289 top: 0; 288 290 left: 0; … … 290 292 overflow: hidden; 291 293 } 292 294 295 ul#views { list-style: none; } 296 297 ul#views li { padding: 2px 3px; } 298 299 ul#views li.alt { background-color: #F7F7F7; } 300 301 ul#views li:hover { background-color: #E4F3E1; } 302 293 303 #front-page #discussions { 294 304 margin-left: 170px; 295 305 width: 590px; … … 729 739 width: 100%; 730 740 } 731 741 732 #latest, #forumlist {733 margin-top: -0.9em;734 }735 736 742 #discussions .nav { 737 743 margin-top: -2em; 738 744 margin-bottom: 1em; … … 778 784 background-color: #e4f3e1; 779 785 } 780 786 781 #useravatar { margin -bottom: 1em; }787 #useravatar { margin: 0 1em 1em 0; float: left; } 782 788 783 789 #useravatar img { display: block; border-width: 3px; border-style: double; } 784 790 … … 786 792 787 793 #userinfo dt { font-weight: bold; } 788 794 789 #userinfo dd { margin: 0 0 5px ; }795 #userinfo dd { margin: 0 0 5px 10px; } 790 796 791 797 #useractivity { margin: 15px 0 5px; } 792 798 793 799 .user-recent { margin: 0 0 10px; } 794 800 795 .user-recent ol { margin: 5px 0 0 28px; }801 .user-recent td.date, .user-recent th.date { width: 150px; text-align: center !important; } 796 802 797 .user-recent ol li { margin: 0 0 3px; }798 799 803 /* Search 800 804 =================================== */ 801 805 -
bb-templates/kakumei/tag-single.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <a href="<?php bb_tag_page_link(); ?>"><?php _e('Tags'); ?></a> » <?php bb_tag_name(); ?></div>3 <?php do_action( 'tag_above_table' ); /* DEPRECATED, use the one in functions.php */ ?> 4 4 5 <?php do_action('tag_above_table'); ?>5 <?php bb_kakumei_topics_table(); ?> 6 6 7 < ?php if ( $topics ) : ?>7 <p class="rss-link"><a href="<?php bb_tag_posts_rss_link(); ?>" class="rss-link"><?php _e( '<abbr title="Really Simple Syndication">RSS</abbr> link for this tag' ); ?></a></p> 8 8 9 <table id="latest" role="main">10 <tr>11 <th><?php _e('Topic'); ?> — <?php bb_new_topic_link(); ?></th>12 <th><?php _e('Posts'); ?></th>13 <!-- <th><?php _e('Voices'); ?></th> -->14 <th><?php _e('Last Poster'); ?></th>15 <th><?php _e('Freshness'); ?></th>16 </tr>17 18 <?php foreach ( $topics as $topic ) : ?>19 <tr<?php topic_class(); ?>>20 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>21 <td class="num"><?php topic_posts(); ?></td>22 <!-- <td class="num"><?php bb_topic_voices(); ?></td> -->23 <td class="num"><?php topic_last_poster(); ?></td>24 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td>25 </tr>26 <?php endforeach; ?>27 </table>28 29 <p class="rss-link"><a href="<?php bb_tag_posts_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> link for this tag') ?></a></p>30 31 <?php tag_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>32 33 <?php endif; ?>34 35 9 <?php post_form(); ?> 36 10 37 <?php do_action( 'tag_below_table');?>11 <?php do_action( 'tag_below_table' ); /* DEPRECATED, use the one in functions.php */ ?> 38 12 39 13 <?php manage_tags_forms(); ?> 40 14 41 <?php bb_get_footer(); ?> 15 <?php bb_get_footer(); ?> 16 No newline at end of file -
bb-templates/kakumei/tags.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php _e('Tags'); ?></div>3 <p role="main"><?php _e( 'This is a collection of tags that are currently popular on the forums.' ); ?></p> 4 4 5 <p role="main"><?php _e('This is a collection of tags that are currently popular on the forums.'); ?></p>6 7 5 <div id="hottags"> 8 <?php bb_tag_heat_map( 9, 38, 'pt', 80 ); ?>6 <?php bb_tag_heat_map( 9, 38, 'pt', 80 ); ?> 9 7 </div> 10 8 11 <?php bb_get_footer(); ?> 9 <?php bb_get_footer(); ?> 10 No newline at end of file -
bb-templates/kakumei/topic-tags.php
1 <div id="topic-tags">2 <p><?php _e('Tags:'); ?></p>3 1 <div id="topic-tags"> 2 <p><?php _e( 'Tags:' ); ?></p> 3 4 4 <?php if ( bb_get_topic_tags() ) : ?> 5 6 <?php bb_list_tags(); ?> 7 5 <?php bb_list_tags(); ?> 8 6 <?php else : ?> 9 10 <p><?php printf(__('No <a href="%s">tags</a> yet.'), bb_get_tag_page_link() ); ?></p> 11 7 <p><?php printf( __( 'No <a href="%s">tags</a> yet.' ), bb_get_tag_page_link() ); ?></p> 12 8 <?php endif; ?> 13 9 14 10 <?php tag_form(); ?> 15 11 16 </div> 12 </div> 13 No newline at end of file -
bb-templates/kakumei/topic.php
1 1 <?php bb_get_header(); ?> 2 2 3 <div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a><?php bb_forum_bread_crumb(); ?></div>4 3 <div class="infobox" role="main"> 5 4 6 5 <div id="topic-info"> 7 <span id="topic_labels"><?php bb_topic_labels(); ?></span> 8 <h2<?php topic_class( 'topictitle' ); ?>><?php topic_title(); ?></h2> 9 <span id="topic_posts">(<?php topic_posts_link(); ?>)</span> 10 <span id="topic_voices">(<?php printf( _n( '%s voice', '%s voices', bb_get_topic_voices() ), bb_get_topic_voices() ); ?>)</span> 11 12 <ul class="topicmeta"> 13 <li><?php printf(__('Started %1$s ago by %2$s'), get_topic_start_time(), get_topic_author()) ?></li> 6 <span id="topic_labels"><?php bb_topic_labels(); ?></span> 7 <h2<?php topic_class( 'topictitle' ); ?>><?php topic_title(); ?></h2> 8 9 <ul class="topicmeta"> 10 <li><?php printf( '%1$s and %2$s', get_topic_posts_link(), sprintf( _n( '%s voice', '%s voices', bb_get_topic_voices() ), bb_get_topic_voices() ) ); ?></li> 11 <li><?php printf( __( 'Started %1$s ago by %2$s' ), get_topic_start_time(), get_topic_author() ); ?></li> 14 12 <?php if ( 1 < get_topic_posts() ) : ?> 15 <li><?php printf(__('<a href="%1$s">Latest reply</a> from %2$s'), esc_attr( get_topic_last_post_link() ), get_topic_last_poster()) ?></li> 16 <?php endif; ?> 17 <?php if ( bb_is_user_logged_in() ) : ?> 18 <li<?php echo $class;?> id="favorite-toggle"><?php user_favorites_link(); ?></li> 19 <li id="subscribe-toggle"><?php bb_user_subscribe_link(); ?></li> 20 <?php endif; do_action('topicmeta'); ?> 21 </ul> 13 <li><?php printf( __( '<a href="%1$s">Last reply</a> by %2$s' ), esc_attr( get_topic_last_post_link() ), get_topic_last_poster() ); ?></li> 14 <?php endif; if ( bb_is_user_logged_in() ) : ?> 15 <li<?php echo $class;?> id="favorite-toggle"><?php user_favorites_link(); ?></li> 16 <li id="subscribe-toggle"><?php bb_user_subscribe_link(); ?></li> 17 <?php endif; do_action( 'topicmeta' ); ?> 18 </ul> 22 19 </div> 23 20 24 21 <?php topic_tags(); ?> 25 22 26 <div style="clear:both;"></div>23 <div class="clear"></div> 27 24 </div> 28 <?php do_action('under_title'); ?> 29 <?php if ($posts) : ?> 25 26 <?php do_action( 'under_title' ); ?> 27 28 <?php if ( $posts ) : ?> 30 29 <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?> 31 30 <div id="ajax-response"></div> 31 32 32 <ol id="thread" class="list:post"> 33 33 34 <?php foreach ( $posts as $bb_post) : $del_class = post_del_class(); ?>35 <li id="post-<?php post_id(); ?>"<?php alt_class( 'post', $del_class); ?>>34 <?php foreach ( $posts as $bb_post ) : $del_class = post_del_class(); ?> 35 <li id="post-<?php post_id(); ?>"<?php alt_class( 'post', $del_class ); ?>> 36 36 <?php bb_post_template(); ?> 37 37 </li> 38 38 <?php endforeach; ?> 39 39 40 40 </ol> 41 <div class="clearit"><br style=" clear: both;" /></div> 42 <p class="rss-link"><a href="<?php topic_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this topic') ?></a></p> 41 42 <div class="clear"></div><br /> 43 44 <p class="rss-link"><a href="<?php topic_rss_link(); ?>" class="rss-link"><?php _e( '<abbr title="Really Simple Syndication">RSS</abbr> feed for this topic' ); ?></a></p> 45 43 46 <?php topic_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?> 44 47 <?php endif; ?> 48 45 49 <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?> 46 50 <?php post_form(); ?> 47 51 <?php else : ?> 48 <h2><?php _e('Topic Closed') ?></h2> 49 <p><?php _e('This topic has been closed to new replies.') ?></p> 52 53 <h2><?php _e( 'Topic Closed' ) ?></h2> 54 <p><?php _e( 'This topic has been closed to new replies.' ) ?></p> 55 50 56 <?php endif; ?> 57 51 58 <?php if ( bb_current_user_can( 'delete_topic', get_topic_id() ) || bb_current_user_can( 'close_topic', get_topic_id() ) || bb_current_user_can( 'stick_topic', get_topic_id() ) || bb_current_user_can( 'move_topic', get_topic_id() ) ) : ?> 52 59 53 60 <div class="admin"> … … 55 62 </div> 56 63 57 64 <?php endif; ?> 58 <?php bb_get_footer(); ?> 65 <?php bb_get_footer(); ?> 66 No newline at end of file -
bb-templates/kakumei/view.php
1 1 <?php bb_get_header(); ?> 2 2 3 < div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> » <?php view_name(); ?></div>3 <?php bb_kakumei_topics_table(); ?> 4 4 5 < ?php if ( $topics || $stickies ) : ?>5 <p class="rss-link"><a href="<?php bb_view_rss_link(); ?>" class="rss-link"><?php _e( '<abbr title="Really Simple Syndication">RSS</abbr> feed for this view' ); ?></a></p> 6 6 7 <table id="latest" role="main"> 8 <tr> 9 <th><?php _e('Topic'); ?></th> 10 <th><?php _e('Posts'); ?></th> 11 <!-- <th><?php _e('Voices'); ?></th> --> 12 <th><?php _e('Last Poster'); ?></th> 13 <th><?php _e('Freshness'); ?></th> 14 </tr> 15 16 <?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?> 17 <tr<?php topic_class(); ?>> 18 <td><?php bb_topic_labels(); ?> <big><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></big></td> 19 <td class="num"><?php topic_posts(); ?></td> 20 <!-- <td class="num"><?php bb_topic_voices(); ?></td> --> 21 <td class="num"><?php topic_last_poster(); ?></td> 22 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td> 23 </tr> 24 <?php endforeach; endif; ?> 25 26 <?php if ( $topics ) : foreach ( $topics as $topic ) : ?> 27 <tr<?php topic_class(); ?>> 28 <td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td> 29 <td class="num"><?php topic_posts(); ?></td> 30 <!-- <td class="num"><?php bb_topic_voices(); ?></td> --> 31 <td class="num"><?php topic_last_poster(); ?></td> 32 <td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php topic_time(array('format'=>'datetime')); ?>"><?php topic_time(); ?></a></td> 33 </tr> 34 <?php endforeach; endif; ?> 35 </table> 36 37 <p class="rss-link"><a href="<?php bb_view_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this view'); ?></a></p> 38 39 <div class="nav"> 40 <?php view_pages(); ?> 41 </div> 42 <?php endif; ?> 43 44 <?php bb_get_footer(); ?> 7 <?php bb_get_footer(); ?> 8 No newline at end of file