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:

view.php
1 1
<?php
2 2

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

  
5 5
/*
6 6

  
......
26 26
// Get url
27 27
$get_settings = $database->query("SELECT url,height FROM ".TABLE_PREFIX."mod_wrapper WHERE section_id = '$section_id'");
28 28
$fetch_settings = $get_settings->fetchRow();
29
$url = stripslashes($fetch_settings['url']);
29
$url = $this->stripslashes($fetch_settings['url']);
30 30

  
31 31
?>
32 32
<iframe src="<?php echo $url; ?>" width="100%" height="<?php echo $fetch_settings['height']; ?>px" frameborder="0" scrolling="auto">

Also available in: Unified diff