mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
merge from 1.6 ( html purifier lib )
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10579 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8943ff97f3
commit
7ea7157ce7
813 changed files with 65203 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
Directive.Allowed
|
||||
TYPE: string
|
||||
DEFAULT: 'apple'
|
||||
ALLOWED: 'apple', 'orange', 'pear', 'peach', 'mango'
|
||||
DESCRIPTION: This directive has a constrained set of allowed values.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
Directive.Deprecated
|
||||
TYPE: int
|
||||
DEFAULT: 0
|
||||
DESCRIPTION: This is a deprecated directive that shouldn't show up on the form.
|
||||
DEPRECATED-VERSION: 1.0.0
|
||||
DEPRECATED-USE: Directive.Allowed
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Directive
|
||||
DESCRIPTION: Other custom options with directives.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.bool
|
||||
TYPE: bool
|
||||
DEFAULT: false
|
||||
DESCRIPTION: The boolean type is true or false.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.float
|
||||
TYPE: float
|
||||
DEFAULT: 3.1415
|
||||
DESCRIPTION: The float type is a floating point number.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.hash
|
||||
TYPE: hash
|
||||
DEFAULT: array('key1' => 'val1', 'key2' => 'val2')
|
||||
DESCRIPTION: The hash type is an associative array of string keys and string values.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.int
|
||||
TYPE: int
|
||||
DEFAULT: 23
|
||||
DESCRIPTION: The int type is an signed integer.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.istring
|
||||
TYPE: istring
|
||||
DEFAULT: 'case insensitive'
|
||||
DESCRIPTION: The istring type is short (no newlines), must be ASCII and is case-insensitive.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.itext
|
||||
TYPE: itext
|
||||
DEFAULT: "case\ninsensitive\nand\npossibly\nquite\nlong"
|
||||
DESCRIPTION: The text type has newlines, must be ASCII and is case-insensitive.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.list
|
||||
TYPE: list
|
||||
DEFAULT: array('item1', 'item2')
|
||||
DESCRIPTION: The list type is a numerically indexed array of strings.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.lookup
|
||||
TYPE: lookup
|
||||
DEFAULT: array('key1' => true, 'key2' => true)
|
||||
DESCRIPTION: The lookup type acts just like list, except its elements are unique and are checked with <code>isset($var[$key])</code>.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.mixed
|
||||
TYPE: mixed
|
||||
DEFAULT: new stdclass()
|
||||
DESCRIPTION: The mixed type allows any type, and is not form-editable.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
Type.nullbool
|
||||
TYPE: bool/null
|
||||
DEFAULT: null
|
||||
--DESCRIPTION--
|
||||
Null booleans need to be treated a little specially. See %Type.nullstring
|
||||
for information on what the null flag does.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
Type.nullstring
|
||||
TYPE: string/null
|
||||
DEFAULT: null
|
||||
--DESCRIPTION--
|
||||
The null type is not a type, but a flag that can be added to any type
|
||||
making null a valid value for that entry. It's useful for saying, "Let
|
||||
the software pick the value for me," or "Don't use this element" when
|
||||
false has a special meaning.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.string
|
||||
TYPE: string
|
||||
DEFAULT: 'Case sensitive'
|
||||
DESCRIPTION: The string type is short (no newlines) and case-sensitive.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
Type.text
|
||||
TYPE: text
|
||||
DEFAULT: "Case sensitive\nand\npossibly\nquite long..."
|
||||
DESCRIPTION: The text type has newlines and is case-sensitive.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Type
|
||||
DESCRIPTION: Directives demonstration the variable types ConfigSchema supports.
|
||||
--# vim: et sw=4 sts=4
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
name = "Test Schema"
|
||||
|
||||
; vim: et sw=4 sts=4
|
||||
Loading…
Add table
Add a link
Reference in a new issue