![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Variables | |
| Filter ExtractStyleBlocks | TYPE |
| Filter ExtractStyleBlocks which removes< code > style</code > blocks from input | HTML |
| Filter ExtractStyleBlocks which removes< code > style</code > blocks from input cleans them up with | CSSTidy |
| Filter ExtractStyleBlocks which removes< code > style</code > blocks from input cleans them up with and places them in the< code > StyleBlocks</code > context | variable |
| Filter ExtractStyleBlocks which removes< code > style</code > blocks from input cleans them up with and places them in the< code > StyleBlocks</code > context for further use by | you |
| Filter ExtractStyleBlocks which removes< code > style</code > blocks from input cleans them up with and places them in the< code > StyleBlocks</code > context for further use by usually to be placed in an external | stylesheet |
| Filter ExtractStyleBlocks which removes< code > style</code > blocks from input cleans them up with and places them in the< code > StyleBlocks</code > context for further use by usually to be placed in an external or a< code > style</code > block in the< code > head</code > of your document</p >< p > Sample | usage |
| charset =utf-8') | |
| echo<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "- "http:< html xmlns="http: <head><title> Filter | ExtractStyleBlocks</title > |
| $dirty = '<style>body {color:#F00;}</style> Some text' | |
| $config = HTMLPurifier_Config::createDefault() | |
| $purifier = new HTMLPurifier($config) | |
| $html = $purifier->purify($dirty) | |
| $styles = $purifier->context->get('StyleBlocks') | |
| $dir = 'styles/' | |
| $hash = sha1($_GET['html']) | |
| foreach ( $styles as $i=> $style) | |
| $dir = 'styles/' |
| $dirty = '<style>body {color:#F00;}</style> Some text' |
| $hash = sha1($_GET['html']) |
| $html = $purifier->purify($dirty) |
| $purifier = new HTMLPurifier($config) |
| $styles = $purifier->context->get('StyleBlocks') |
| charset =utf-8') |
| Filter ExtractStyleBlocks which removes<code> style</code> blocks from input cleans them up with CSSTidy |
| echo<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "- "http: <html xmlns="http: <head><title> Filter ExtractStyleBlocks</title > |
| foreach($styles as $i=> $style) |
| Filter ExtractStyleBlocks which removes<code> style</code> blocks from input cleans them up with and places them in the<code> StyleBlocks</code> context for further use by usually to be placed in an external stylesheet |
| Filter ExtractStyleBlocks TYPE |
| Filter ExtractStyleBlocks which removes<code> style</code> blocks from input cleans them up with and places them in the<code> StyleBlocks</code> context for further use by usually to be placed in an external or a<code> style</code> block in the<code> head</code> of your document</p><p> Sample usage |
| Filter ExtractStyleBlocks which removes<code> style</code> blocks from input cleans them up with and places them in the<code> StyleBlocks</code> context variable |