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:

settings2.php
1 1
<?php
2 2

  
3
// $Id: settings2.php,v 1.12 2005/06/23 05:46:06 rdjurovich Exp $
3
// $Id$
4 4

  
5 5
/*
6 6

  
......
39 39
require_once(WB_PATH.'/framework/functions.php');
40 40

  
41 41
// Get values
42
$page_title = addslashes($admin->get_post('page_title'));
43
$menu_title = addslashes($admin->get_post('menu_title'));
44
$description = addslashes($admin->get_post('description'));
45
$keywords = addslashes($admin->get_post('keywords'));
42
$page_title = $admin->add_slashes($admin->get_post('page_title'));
43
$menu_title = $admin->add_slashes($admin->get_post('menu_title'));
44
$description = $admin->add_slashes($admin->get_post('description'));
45
$keywords = $admin->add_slashes($admin->get_post('keywords'));
46 46
$parent = $admin->get_post('parent');
47 47
$visibility = $admin->get_post('visibility');
48 48
$template = $admin->get_post('template');

Also available in: Unified diff