[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/htmlpurifier/library/HTMLPurifier/AttrTransform/ -> SafeEmbed.php (source)

   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


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1