XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
SafeEmbed.php
Go to the documentation of this file.
1
<?php
2
3
class
HTMLPurifier_AttrTransform_SafeEmbed
extends
HTMLPurifier_AttrTransform
4
{
5
public
$name
=
"SafeEmbed"
;
6
7
public
function
transform
($attr,
$config
, $context) {
8
$attr[
'allowscriptaccess'
] =
'never'
;
9
$attr[
'allownetworking'
] =
'internal'
;
10
$attr[
'type'
] =
'application/x-shockwave-flash'
;
11
return
$attr;
12
}
13
}
14
15
// vim: et sw=4 sts=4
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
library
HTMLPurifier
AttrTransform
SafeEmbed.php
Generated on Fri May 10 2013 01:04:30 for XOOPS 2.5.6 by
1.8.3.1