Difference between revisions of "DPL Simple Forms Test"
Line 229: | Line 229: | ||
}}{{#ifeq:{{#request:randomcount}} | }}{{#ifeq:{{#request:randomcount}} | ||
|- | |- | ||
− | |{{#ifeq: {{#dpl: {{#ifeq: {{#request:namespace}}|all||{{#if: {{#request:namespace}}|{{#ifeq: {{#request:namespace}}|main|namespace=|namespace={{#request:namespace}} }} }} }} | + | |{{#if: {{#request:offset}}|{{#ifexpr:{{#request:offset}} > 0 |[{{fullurl:{{FULLPAGENAME}} |
+ | |{{#vardefine: offset|{{#expr: {{#request:offset}} - {{#request:count}} }} }}offset={{ | ||
+ | #if: {{#request:count}} | ||
+ | |{{ #ifexpr: {{#var: offset}} > 0 | {{#var: offset}} | 0 }} | ||
+ | |0 | ||
+ | }}{{ | ||
+ | #if: {{#request:count}} |&count={{urlencode:{{#request:count}} }} }}{{ | ||
+ | #if: {{#request:addcategories}} |&addcategories={{urlencode:{{#request:addcategories}} }} }}{{ | ||
+ | #if: {{#request:addeditdate}} |&addeditdate={{urlencode:{{#request:addeditdate}} }} }}{{ | ||
+ | #if: {{#request:addpagecounter}} |&addpagecounter={{urlencode:{{#request:addpagecounter}} }} }}{{ | ||
+ | #if: {{#request:addpagesize}} |&addpagesize={{urlencode:{{#request:addpagesize}} }} }}{{ | ||
+ | #if: {{#request:addpagetoucheddate}}|&addpagetoucheddate={{urlencode:{{#request:addpagetoucheddate}} }} }}{{ | ||
+ | #if: {{#request:adduser}} |&adduser={{urlencode:{{#request:adduser}} }} }}{{ | ||
+ | #if: {{#request:allrevisionsbefore}}|&allrevisionsbefore={{urlencode:{{#request:allrevisionsbefore}} }} }}{{ | ||
+ | #if: {{#request:allrevisionssince}} |&allrevisionssince={{urlencode:{{#request:allrevisionssince}} }} }}{{ | ||
+ | #if: {{#request:category}} |&category={{urlencode:{{#request:category}} }} }}{{ | ||
+ | #if: {{#request:category2}} |&category2={{urlencode:{{#request:category2}} }} }}{{ | ||
+ | #if: {{#request:columns}} |&columns={{urlencode:{{#request:columns}} }} }}{{ | ||
+ | #if: {{#request:createdby}} |&createdby={{urlencode:{{#request:createdby}} }} }}{{ | ||
+ | #if: {{#request:escapelinks}} |&escapelinks={{urlencode:{{#request:escapelinks}} }} }}{{ | ||
+ | #if: {{#request:export}} |&export={{urlencode:{{#request:export}} }} }}{{ | ||
+ | #if: {{#request:firstrevisionsince}}|&firstrevisionsince={{urlencode:{{#request:firstrevisionsince}} }} }}{{ | ||
+ | #if: {{#request:linksto}} |&linksto={{urlencode:{{#request:linksto}} }} }}{{ | ||
+ | #if: {{#request:lastrevisionbefore}}|&lastrevisionbefore={{urlencode:{{#request:lastrevisionbefore}} }} }}{{ | ||
+ | #if: {{#request:modifiedby}} |&modifiedby={{urlencode:{{#request:modifiedby}} }} }}{{ | ||
+ | #if: {{#request:name}} |&name={{urlencode:{{#request:name}} }} }}{{ | ||
+ | #if: {{#request:namespace}} |&namespace={{urlencode:{{#request:namespace}} }} }}{{ | ||
+ | #if: {{#request:notcategory}} |¬category={{urlencode:{{#request:notcategory}} }} }}{{ | ||
+ | #if: {{#request:notcategory2}} |¬category2={{urlencode:{{#request:notcategory2}} }} }}{{ | ||
+ | #if: {{#request:notlinksto}} |¬linksto={{urlencode:{{#request:notlinksto}} }} }}{{ | ||
+ | #if: {{#request:notnamespace}} |¬namespace={{urlencode:{{#request:notnamespace}} }} }}{{ | ||
+ | #if: {{#request:nottitlematch}} |¬titlematch={{urlencode:{{#request:nottitlematch}} }} }}{{ | ||
+ | #if: {{#request:notuses}} |¬uses={{urlencode:{{#request:notuses}} }} }}{{ | ||
+ | #if: {{#request:order}} |&order={{urlencode:{{#request:order}} }} }}{{ | ||
+ | #if: {{#request:ordermethod}} |&ordermethod={{urlencode:{{#request:ordermethod}} }} }}{{ | ||
+ | #if: {{#request:randomcount}} |&randomcount={{urlencode:{{#request:randomcount}} }} }}{{ | ||
+ | #if: {{#request:shownamespace}} |&shownamespace={{urlencode:{{#request:shownamespace}} }} }}{{ | ||
+ | #if: {{#request:titlematch}} |&titlematch={{urlencode:{{#request:titlematch}} }} }}{{ | ||
+ | #if: {{#request:uses}} |&uses={{urlencode:{{#request:uses}} }} }} | ||
+ | }} prev] <nowiki/>}} }}{{#ifeq: {{#dpl: {{#ifeq: {{#request:namespace}}|all||{{#if: {{#request:namespace}}|{{#ifeq: {{#request:namespace}}|main|namespace=|namespace={{#request:namespace}} }} }} }} | ||
|{{#ifeq: {{#request:notnamespace}}|-||{{#if:{{#request:notnamespace}}|{{#ifeq:{{#request:notnamespace}}|main|notnamespace=|notnamespace={{#request:notnamespace}}}}}}}} | |{{#ifeq: {{#request:notnamespace}}|-||{{#if:{{#request:notnamespace}}|{{#ifeq:{{#request:notnamespace}}|main|notnamespace=|notnamespace={{#request:notnamespace}}}}}}}} | ||
|{{#ifeq:{{#request:category}}|?||{{#if:{{#request:category}}|category={{#request:category}}}}}} | |{{#ifeq:{{#request:category}}|?||{{#if:{{#request:category}}|category={{#request:category}}}}}} |
Revision as of 00:05, 7 December 2007
{{#form: name= demo |action=/dpldemo/index.php| {{#input: name= title |type= hidden | value = DPL_Simple_Forms_Test }}
namespace | type= select | value = {{#request:namespace}} |
}} |
but not | type= select | value = {{#request:notnamespace}} |
}} | ||
category | value = {{#request:category}} |type= select | *?
|
but not | value = {{#request:notcategory}} |type= select | *?
|
and category | value = {{#request:category2}} |type= select | *?
|
and not | value = {{#request:notcategory2}} |type= select | *?
|
uses | value = {{#request:uses}} |type= select | *?
|
but not | value = {{#request:notuses}} |type= select | *?
|
links to | value = {{#request:linksto}} }} | but not to | value = {{#request:notlinksto}} }} | ||
created by | value = {{#request:createdby}} |type= select | *?
|
modified by | value = {{#request:modifiedby}} |type= select | *?
|
last rev. before | value = {{#request:lastrevisionbefore}} }} | first rev. since | value = {{#request:firstrevisionsince}} }} | ||
all revs. before | value = {{#request:allrevisionsbefore}} }} | all revs. since | value = {{#request:allrevisionssince}} }} |
show: namespace {{#input: name= shownamespace
|type= select | value = {{#request:shownamespace}} |
- yes
- no
}}categories {{#input: name= addcategories
|type= select | value = {{#request:addcategories}} |
- no
- yes
}}visits {{#input: name= addpagecounter
|type= select | value = {{#request:addpagecounter}} |
- no
- yes
}}size {{#input: name= addpagesize
|type= select | value = {{#request:addpagesize}} |
- no
- yes
}}user {{#input: name= adduser
|type= select | value = {{#request:adduser}} |
- no
- yes
}}editdate {{#input: name= addeditdate
|type= select | value = {{#request:addeditdate}} |
- no
- yes
}}touch date: {{#input: name= addpagetoucheddate
|type= select | value = {{#request:addpagetoucheddate}} |
- no
- yes
}} ordermethod: {{#input: name= ordermethod |type= select | value = {{#request:ordermethod}} |
- -
- category,firstedit
- category,lastedit
- category,pagetouched
- category,sortkey
- categoryadd
- counter
- firstedit
- lastedit
- pagetouched
- size
- title
- titlewithoutnamespace
- user,firstedit
- user,lastedit
}}order: {{#input: name= order
|type= select | value = {{#request:order}} |
- ascending
- descending
}}escapelinks: {{#input: name= escapelinks
|type= select | value = {{#request:escapelinks}} |
- true
- false
}}randomcount: {{#input: name= randomcount
|type= select | value = {{#request:randomcount}} |
- -
- 1
- 3
- 5
- 10
}}export: {{#input: name= export
|type= select | value = {{#request:export}} |
- no
- yes
}}
value = {{#request:titlematch}} }} columns {{#input: name= columns |type= select | value = {{#request:columns}} |
}}maxrecords {{#input: name= count | value = {{#request:count}} | size = 2 }}offset {{#input: name= offset | value = {{#request:offset}} | size = 2 }} {{#input: type = submit | value = List members }} reset |
}}
{{#request:name}}
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:category}}' for parameter 'category'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:category2}}' for parameter 'category'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:ordermethod}}' for parameter 'ordermethod'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:namespace}}' for parameter 'namespace'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notnamespace}}' for parameter 'notnamespace'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notcategory}}' for parameter 'notcategory'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notcategory2}}' for parameter 'notcategory'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'Template:{{#request:uses}}' for parameter 'uses'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option 'Template:{{#request:notuses}}' for parameter 'notuses'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:linksto}}' for parameter 'linksto'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:notlinksto}}' for parameter 'notlinksto'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:order}}' for parameter 'order'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:escapelinks}}' for parameter 'escapelinks'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:randomcount}}' for parameter 'randomcount'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:count}}' for parameter 'count'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:shownamespace}}' for parameter 'shownamespace'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addcategories}}' for parameter 'addcategories'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addpagecounter}}' for parameter 'addpagecounter'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addpagesize}}' for parameter 'addpagesize'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addeditdate}}' for parameter 'addeditdate'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:addpagetoucheddate}}' for parameter 'addpagetoucheddate'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:adduser}}' for parameter 'adduser'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:lastrevisionbefore}}' for parameter 'lastrevisionbefore'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:firstrevisionsince}}' for parameter 'firstrevisionsince'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:allrevisionsbefore}}' for parameter 'allrevisionsbefore'.
Extension:DynamicPageList (DPL), version 3.2.1: Warning: Skipping bad option '{{#request:allrevisionssince}}' for parameter 'allrevisionssince'.
{{#vardefine:resultsCount|0}}There are no results for your query.Your query used the following parameters
namespace={{#request:namespace}}
notnamespace={{#request:notnamespace}}
category={{#request:category}}
category={{#request:category2}}
notcategory={{#request:notcategory}}
notcategory={{#request:notcategory2}}
uses=Template:{{#request:uses}}
notuses=Template:{{#request:notuses}}
createdby={{#request:createdby}}
modifiedby={{#request:modifiedby}}
titlematch={{#request:titlematch}}
nottitlematch={{#request:nottitlematch}}
linksto={{#request:linksto}}
notlinksto={{#request:notlinksto}}
columns={{#request:columns}}
order={{#request:order}}
ordermethod={{#request:ordermethod}}
escapelinks={{#request:escapelinks}}
randomcount={{#request:randomcount}}
count={{#request:count}}
offset={{#request:offset}}
shownamespace={{#request:shownamespace}}
addcategories={{#request:addcategories}}
addpagecounter={{#request:addpagecounter}}
addpagesize={{#request:addpagesize}}
addeditdate={{#request:addeditdate}}
addpagetoucheddate={{#request:addpagetoucheddate}}
adduser={{#request:adduser}}
lastrevisionbefore={{#request:lastrevisionbefore}}
firstrevisionsince={{#request:firstrevisionsince}}
allrevisionsbefore={{#request:allrevisionsbefore}}
allrevisionssince={{#request:allrevisionssince}}