Project

General

Profile

« Previous | Next » 

Revision 40

Added by stefan about 19 years ago

Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes

View differences:

settings.php
79 79
$template->set_block('page', 'main_block', 'main');
80 80
$template->set_var(array(
81 81
								'PAGE_ID' => $results_array['page_id'],
82
								'PAGE_TITLE' => $admin->stripslashes($results_array['page_title']),
83
								'MENU_TITLE' => $admin->stripslashes($results_array['menu_title']),
84
								'DESCRIPTION' => $admin->stripslashes($results_array['description']),
85
								'KEYWORDS' => $admin->stripslashes($results_array['keywords']),
82
								'PAGE_TITLE' => $admin->strip_slashes($results_array['page_title']),
83
								'MENU_TITLE' => $admin->strip_slashes($results_array['menu_title']),
84
								'DESCRIPTION' => $admin->strip_slashes($results_array['description']),
85
								'KEYWORDS' => $admin->strip_slashes($results_array['keywords']),
86 86
								'MODIFIED_BY' => $user['display_name'],
87 87
								'MODIFIED_BY_USERNAME' => $user['username'],
88 88
								'MODIFIED_WHEN' => $modified_ts,
......
251 251
			for($i = 1; $i <= $page['level']; $i++) { $title_prefix .= ' - '; }
252 252
				$template->set_var(array(
253 253
												'ID' => $page['page_id'],
254
												'TITLE' => $admin->stripslashes($title_prefix.$page['page_title'])
254
												'TITLE' => $admin->strip_slashes($title_prefix.$page['page_title'])
255 255
												)
256 256
										);
257 257
				if($results_array['parent'] == $page['page_id']) {

Also available in: Unified diff