summaryrefslogtreecommitdiff
path: root/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-02 07:06:28 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-02 07:06:28 -0700
commit7fbd012d71a21ac7a30e6b1bb045208dff225903 (patch)
tree500da6e01c84ff467c87480bf6aa739bb8ee5de7 /modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php
parentdc6167bffaf291c4d207e5d6cb842f8033dca4a9 (diff)
Move HTMLPurifier from core to contrib and make it optional. Delete the modules/gallery/lib and HTMLPurifier.php
Diffstat (limited to 'modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php')
-rw-r--r--modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php21
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php b/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php
deleted file mode 100644
index c7e27afb..00000000
--- a/modules/gallery/lib/HTMLPurifier/HTMLPurifier/HTMLModule/Name.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php defined("SYSPATH") or die("No direct script access.");
-
-class HTMLPurifier_HTMLModule_Name extends HTMLPurifier_HTMLModule
-{
-
- public $name = 'Name';
-
- public function setup($config) {
- $elements = array('a', 'applet', 'form', 'frame', 'iframe', 'img', 'map');
- foreach ($elements as $name) {
- $element = $this->addBlankElement($name);
- $element->attr['name'] = 'CDATA';
- if (!$config->get('HTML.Attr.Name.UseCDATA')) {
- $element->attr_transform_post['NameSync'] = new HTMLPurifier_AttrTransform_NameSync();
- }
- }
- }
-
-}
-
-// vim: et sw=4 sts=4