__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Special-case enum attribute definition that lazy loads allowed frame targets
*/
class HTMLPurifier_AttrDef_HTML_FrameTarget extends HTMLPurifier_AttrDef_Enum
{
/**
* @type array
*/
public $valid_values = false; // uninitialized value
/**
* @type bool
*/
protected $case_sensitive = false;
public function __construct()
{
}
/**
* @param string $string
* @param HTMLPurifier_Config $config
* @param HTMLPurifier_Context $context
* @return bool|string
*/
public function validate($string, $config, $context)
{
if ($this->valid_values === false) {
$this->valid_values = $config->get('Attr.AllowedFrameTargets');
}
return parent::validate($string, $config, $context);
}
}
// vim: et sw=4 sts=4
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Bool.php | File | 873 B | 0777 |
|
| Class.php | File | 1.45 KB | 0777 |
|
| Color.php | File | 1.17 KB | 0777 |
|
| ContentEditable.php | File | 416 B | 0777 |
|
| FrameTarget.php | File | 834 B | 0777 |
|
| ID.php | File | 3.13 KB | 0777 |
|
| Length.php | File | 1.22 KB | 0777 |
|
| LinkTypes.php | File | 1.73 KB | 0777 |
|
| MultiLength.php | File | 1.3 KB | 0777 |
|
| Nmtokens.php | File | 2.09 KB | 0777 |
|
| Pixels.php | File | 1.68 KB | 0777 |
|