CODE
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in Z:\home\87.226.68.122\www\forums\sources\action_public\topics.php on line 2602
when added
CODE
// BOOKMARKIT v1.3.0: Construct a button bar to submit bookmarks for this post to social networking bookmark sites
if ( $this->ipsclass->vars[ 'bookmarkit_enable' ] )
{
if ( ( $this->ipsclass->vars[ 'bookmarkit_visibility' ] == 'All' ) OR
( $this->ipsclass->vars[ 'bookmarkit_visibility' ] == 'Topic' AND $this->topic[ 'topic_firstpost' ] == $row[ 'pid' ] ) OR
( $this->ipsclass->vars[ 'bookmarkit_visibility' ] == 'Page' AND $row[ 'post_count' ] - intval( $this->ipsclass->input[ 'st' ] ) == 1 ) )
{
// Substitute actual URL and title of this post for the placeholders
$bm_link = urlencode( $this->ipsclass->base_url . 'showtopic=' . $this->topic['tid'] . '&view=findpost&p=' . $row[ 'pid' ] );
$bm_title = urlencode( $this->topic [ 'title' ] );
$this->ipsclass->vars[ 'bookmarkit_linkbar' ] = str_replace( array( '<--LINK-->', '<--TITLE-->' ), array( $bm_link, $bm_title ), $this->ipsclass->vars[ 'bookmarkit_template' ] );
} else {
$this->ipsclass->vars[ 'bookmarkit_linkbar' ] = '';
}
above
CODE
//-----------------------------------------
// Memory Debug
//-----------------------------------------
$this->ipsclass->memory_debug_add( "PID: ".$row['pid']. " - Completed", $_NOW );
in /sources/action_public/topics.php