Project

General

Profile

« Previous | Next » 

Revision 36

Added by stefan about 19 years ago

Created new stripslashes method in class wb. Changed stripslashes() calls to method calls.

View differences:

comment_page.php
1 1
<?php
2 2

  
3
// $Id: comment_page.php,v 1.1.1.1 2005/01/30 10:32:20 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
35 35
	// Print comments page
36 36
	$vars = array('[POST_TITLE]', '[ACTION_URL]');
37 37
	$values = array(POST_TITLE, WB_URL.'/modules/news/submit_comment.php?page_id='.PAGE_ID.'&section_id='.SECTION_ID.'&post_id='.POST_ID);
38
	echo str_replace($vars, $values, stripslashes($settings['comments_page']));
38
	echo str_replace($vars, $values, $this->stripslashes($settings['comments_page']));
39 39
}
40 40

  
41 41
?>

Also available in: Unified diff