Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / lib / htmlpurifier / HTMLPurifier / HTMLModule / Target.php
blob1c2104bae8716c6e4cefcb87367f480e1295fe98
1 <?php
3 require_once 'HTMLPurifier/AttrDef/HTML/FrameTarget.php';
5 /**
6 * XHTML 1.1 Target Module, defines target attribute in link elements.
7 */
8 class HTMLPurifier_HTMLModule_Target extends HTMLPurifier_HTMLModule
11 var $name = 'Target';
12 var $elements = array('a');
14 function HTMLPurifier_HTMLModule_Target() {
15 foreach ($this->elements as $e) {
16 $this->info[$e] = new HTMLPurifier_ElementDef();
17 $this->info[$e]->standalone = false;
18 $this->info[$e]->attr = array(
19 'target' => new HTMLPurifier_AttrDef_HTML_FrameTarget()