Revision 40
Added by stefan about 19 years ago
browse.php | ||
---|---|---|
103 | 103 |
$temp_id++; |
104 | 104 |
$template->set_var(array( |
105 | 105 |
'NAME' => $name, |
106 |
'NAME_SLASHED' => addslashes($name),
|
|
106 |
'NAME_SLASHED' => $admin->add_slashes($name),
|
|
107 | 107 |
'TEMP_ID' => $temp_id, |
108 | 108 |
'LINK' => "browse.php?dir=$directory/$link_name", |
109 | 109 |
'LINK_TARGET' => '', |
... | ... | |
125 | 125 |
$temp_id++; |
126 | 126 |
$template->set_var(array( |
127 | 127 |
'NAME' => $name, |
128 |
'NAME_SLASHED' => addslashes($name),
|
|
128 |
'NAME_SLASHED' => $admin->add_slashes($name),
|
|
129 | 129 |
'TEMP_ID' => $temp_id, |
130 | 130 |
'LINK' => WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name, |
131 | 131 |
'LINK_TARGET' => '_blank', |
Also available in: Unified diff
Change addslashes,stripslashes to (wb class) method calls add_slashes,strip_slashes