From 22cf19e174bcee88b44968f2773d1bad2da2b54d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 18 Jul 2012 03:59:10 -0700 Subject: bad sync with github windows client --- lib/htmlpurifier/configdoc/generate.php | 64 ---- lib/htmlpurifier/configdoc/styles/plain.css | 44 --- lib/htmlpurifier/configdoc/styles/plain.xsl | 253 ------------- lib/htmlpurifier/configdoc/types.xml | 69 ---- lib/htmlpurifier/configdoc/usage.xml | 534 ---------------------------- 5 files changed, 964 deletions(-) delete mode 100644 lib/htmlpurifier/configdoc/generate.php delete mode 100644 lib/htmlpurifier/configdoc/styles/plain.css delete mode 100644 lib/htmlpurifier/configdoc/styles/plain.xsl delete mode 100644 lib/htmlpurifier/configdoc/types.xml delete mode 100644 lib/htmlpurifier/configdoc/usage.xml (limited to 'lib/htmlpurifier/configdoc') diff --git a/lib/htmlpurifier/configdoc/generate.php b/lib/htmlpurifier/configdoc/generate.php deleted file mode 100644 index e0c4e674a..000000000 --- a/lib/htmlpurifier/configdoc/generate.php +++ /dev/null @@ -1,64 +0,0 @@ - true -)); - -$builder = new HTMLPurifier_ConfigSchema_InterchangeBuilder(); -$interchange = new HTMLPurifier_ConfigSchema_Interchange(); -$builder->buildDir($interchange); -$loader = dirname(__FILE__) . '/../config-schema.php'; -if (file_exists($loader)) include $loader; -$interchange->validate(); - -$style = 'plain'; // use $_GET in the future, careful to validate! -$configdoc_xml = dirname(__FILE__) . '/configdoc.xml'; - -$xml_builder = new HTMLPurifier_ConfigSchema_Builder_Xml(); -$xml_builder->openURI($configdoc_xml); -$xml_builder->build($interchange); -unset($xml_builder); // free handle - -$xslt = new ConfigDoc_HTMLXSLTProcessor(); -$xslt->importStylesheet(dirname(__FILE__) . "/styles/$style.xsl"); -$output = $xslt->transformToHTML($configdoc_xml); - -if (!$output) { - echo "Error in generating files\n"; - exit(1); -} - -// write out -file_put_contents(dirname(__FILE__) . "/$style.html", $output); - -if (php_sapi_name() != 'cli') { - // output (instant feedback if it's a browser) - echo $output; -} else { - echo "Files generated successfully.\n"; -} - -// vim: et sw=4 sts=4 diff --git a/lib/htmlpurifier/configdoc/styles/plain.css b/lib/htmlpurifier/configdoc/styles/plain.css deleted file mode 100644 index 7af80d061..000000000 --- a/lib/htmlpurifier/configdoc/styles/plain.css +++ /dev/null @@ -1,44 +0,0 @@ - -body {margin:0;padding:0;} -#content { - margin:1em auto; - max-width: 47em; - width: expression(document.body.clientWidth > - 85 * parseInt(document.body.currentStyle.fontSize) ? - "54em": "auto"); -} - -table {border-collapse:collapse;} -table td, table th {padding:0.2em;} - -table.constraints {margin:0 0 1em;} -table.constraints th { - text-align:right;padding-left:0.4em;padding-right:0.4em;background:#EEE; - width:8em;vertical-align:top;} -table.constraints td {padding-right:0.4em; padding-left: 1em;} -table.constraints td ul {padding:0; margin:0; list-style:none;} -table.constraints td pre {margin:0;} - -#tocContainer {position:relative;} -#toc {list-style-type:none; font-weight:bold; font-size:1em; margin-bottom:1em;} -#toc li {position:relative; line-height: 1.2em;} -#toc .col-2 {margin-left:50%;} -#toc .col-l {float:left;} -#toc ul {list-style-type:disc; font-weight:normal; padding-bottom:1.2em;} - -.description p {margin-top:0;margin-bottom:1em;} - -#library, h1 {text-align:center; font-family:Garamond, serif; - font-variant:small-caps;} -#library {font-size:1em;} -h1 {margin-top:0;} -h2 {border-bottom:1px solid #CCC; font-family:sans-serif; font-weight:normal; - font-size:1.3em; clear:both;} -h3 {font-family:sans-serif; font-size:1.1em; font-weight:bold; } -h4 {font-family:sans-serif; font-size:0.9em; font-weight:bold; } - -.deprecated {color: #CCC;} -.deprecated table.constraints th {background:#FFF;} -.deprecated-notice {color: #000; text-align:center; margin-bottom: 1em;} - -/* vim: et sw=4 sts=4 */ diff --git a/lib/htmlpurifier/configdoc/styles/plain.xsl b/lib/htmlpurifier/configdoc/styles/plain.xsl deleted file mode 100644 index 9b9794e0b..000000000 --- a/lib/htmlpurifier/configdoc/styles/plain.xsl +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - <xsl:value-of select="$title" /> - <xsl:value-of select="/configdoc/title" /> - - - - -
-
-

-
-

Table of Contents

-
    - - - -
-
-
-

Types

- -
- -
- - -
- - -
- type- -

:

-
- -
-
-
- - - - - - - -
  • - - - col-2 - - - margin-top:-em - - - -
      - - - -
    - -
    - -
  • -
    -
    - - - - - -
  • - -
  • -
    -
    - - - - -
    - - -

    No configuration directives defined for this namespace.

    -
    -
    -
    - -

    -
    - -
    - -
    -
    - - -
    - directive deprecated - - - -
    -
    - - - -

    -
    - - - - - - - - - - - - - - - -
    -
    - - - Aliases - - - , - - - - - - -
    - -
    -
    - -
    - Warning: - This directive was deprecated in version . - % should be used instead. -
    -
    - - - Used in - -
      - -
    - - -
    - -
  • - on lines - - - , - - -
  • -
    - - - - Version added - - - - - - Type - - - type type- - - #type- - - - (or null) - - - - - - - - Allowed values - - , - "" - - - - - - Default -
    - -
    - - - External deps - -
      - -
    - - -
    - -
  • -
    - -
    - - diff --git a/lib/htmlpurifier/configdoc/types.xml b/lib/htmlpurifier/configdoc/types.xml deleted file mode 100644 index ee2c945a1..000000000 --- a/lib/htmlpurifier/configdoc/types.xml +++ /dev/null @@ -1,69 +0,0 @@ - - -
    - A sequence - of characters. -
    -
    - A series of case-insensitive characters. Internally, upper-case - ASCII characters will be converted to lower-case. -
    -
    - A series of characters that may contain newlines. Text tends to - indicate human-oriented text, as opposed to a machine format. -
    -
    - A series of case-insensitive characters that may contain newlines. -
    -
    - An - integer. You are alternatively permitted to pass a string of - digits instead, which will be cast to an integer using - (int). -
    -
    - A - floating point number. You are alternatively permitted to - pass a numeric string (as defined by is_numeric()), - which will be cast to a float using (float). -
    -
    - A boolean. - You are alternatively permitted to pass an integer 0 or - 1 (other integers are not permitted) or a string - "on", "true" or "1" for - true, and "off", "false" or - "0" for false. -
    -
    - An array whose values are true, e.g. array('key' - => true, 'key2' => true). You are alternatively permitted - to pass an array list of the keys array('key', 'key2') - or a comma-separated string of keys "key, key2". If - you pass an array list of values, ensure that your values are - strictly numerically indexed: array('key1', 2 => - 'key2') will not do what you expect and emits a warning. -
    -
    - An array which has consecutive integer indexes, e.g. - array('val1', 'val2'). You are alternatively permitted - to pass a comma-separated string of keys "val1, val2". - If your array is not in this form, array_values is run - on the array and a warning is emitted. -
    -
    - An array which is a mapping of keys to values, e.g. - array('key1' => 'val1', 'key2' => 'val2'). You are - alternatively permitted to pass a comma-separated string of - key-colon-value strings, e.g. "key1: val1, key2: val2". -
    -
    - An arbitrary PHP value of any type. -
    -
    - - diff --git a/lib/htmlpurifier/configdoc/usage.xml b/lib/htmlpurifier/configdoc/usage.xml deleted file mode 100644 index 1c77b8f4e..000000000 --- a/lib/htmlpurifier/configdoc/usage.xml +++ /dev/null @@ -1,534 +0,0 @@ - - - - - 131 - - - 81 - 284 - - - 53 - 73 - 348 - - - 50 - - - - - 157 - - - - - 214 - - - - - 218 - - - - - 222 - - - - - 226 - - - - - 296 - - - - - 310 - - - - - 49 - - - - - 83 - - - - - 85 - - - - - 88 - - - - - 93 - - - - - 337 - 367 - - - - - 341 - 374 - - - - - 368 - - - - - 61 - - - - - 62 - - - - - 63 - - - - - 64 - - - - - 93 - - - - - 107 - - - 266 - - - - - 108 - - - - - 222 - - - - - 230 - - - - - 247 - - - - - 248 - - - - - 251 - - - - - 342 - - - - - 343 - - - - - 204 - - - 271 - - - 27 - - - 36 - - - 23 - - - - - 211 - - - - - 212 - - - - - 222 - - - - - 225 - - - - - 228 - - - - - 231 - - - - - 234 - - - - - 26 - - - - - 88 - - - - - 76 - - - - - 80 - - - 48 - - - - - 282 - - - - - 303 - - - - - 59 - - - 12 - - - - - 69 - - - 81 - - - - - 70 - - - - - 77 - - - - - 41 - - - - - 42 - - - - - 28 - - - - - 12 - - - 12 - - - - - 50 - - - - - 18 - - - - - 19 - - - - - 15 - - - - - 30 - - - - - 36 - - - - - 38 - 41 - - - - - 64 - - - - - 30 - - - - - 67 - - - - - 13 - - - - - 18 - - - 20 - - - - - 19 - - - - - 25 - - - - - 33 - - - - - 11 - - - 13 - - - - - 38 - - - - - 62 - - - - - 91 - - - - - 107 - 124 - - - - - 54 - - - - - 78 - - - - - 276 - - - - - 17 - - - 23 - - - - - 14 - - - 13 - - - 19 - - - - - 45 - - - - - 49 - - - - - 50 - - - - - 15 - - - - - 12 - - - - - 13 - - - - - 44 - - - - - 70 - - - - - 53 - - - 19 - - - - - 24 - - - - - 25 - - - - - 28 - - - - - 29 - - - - - 12 - - - - - 14 - - - - - 15 - - - - - 18 - - - -- cgit v1.2.3