Changeset 1385 for trunk/bb-includes/template-functions.php
- Timestamp:
- 03/30/2008 10:31:06 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/template-functions.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/template-functions.php
r1376 r1385 129 129 130 130 function post_form( $h2 = '' ) { 131 global $ bb, $page, $topic, $forum;131 global $page, $topic, $forum; 132 132 $add = topic_pages_add(); 133 133 if ( empty($h2) && false !== $h2 ) { … … 170 170 171 171 function edit_form() { 172 global $bb_post , $topic_title;172 global $bb_post; 173 173 echo "<form class='postform edit-form' method='post' action='" . bb_get_option('uri') . "bb-edit.php'>\n"; 174 174 echo "<fieldset>\n"; … … 685 685 return false; 686 686 687 if ( $ r = $bb_forums_loop->step() ) {687 if ( $bb_forums_loop->step() ) { 688 688 $GLOBALS['forum'] =& $bb_forums_loop->elements[key($bb_forums_loop->elements)]; // Globalize the current forum object 689 689 } else { … … 796 796 797 797 function topic_posts( $id = 0 ) { 798 echo apply_filters( 'topic_posts', get_topic_posts( $id = 0), get_topic_id( $id ) );798 echo apply_filters( 'topic_posts', get_topic_posts( $id ), get_topic_id( $id ) ); 799 799 } 800 800 … … 893 893 894 894 function get_page_number_links($page, $total) { 895 $r = '';896 895 $args = array(); 897 896 $uri = $_SERVER['REQUEST_URI']; … … 1959 1958 extract($args, EXTR_SKIP); 1960 1959 1961 if ( ! $forums =bb_forums( $args ) )1960 if ( !bb_forums( $args ) ) 1962 1961 return; 1963 1962
Note: See TracChangeset
for help on using the changeset viewer.