Difference between revisions of "DPL Simple Forms Test"
m |
|||
(43 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#form: | + | {{#form: name= demo |action=/dpldemo/index.php| |
− | + | {{#input: name= title |type= hidden | value = DPL_Simple_Forms_Test }} | |
− | + | {{{!}} cellpadding="0" cellspacing="0" style="margin: 0;" | |
− | + | {{!}}- style="background-color: #ddddff" | |
+ | {{!}} style="text-align: right" {{!}} namespace | ||
+ | {{!}} {{#input: name= namespace |type= select | value = {{#request:namespace}} | | ||
*all | *all | ||
*main | *main | ||
Line 12: | Line 14: | ||
*DPL | *DPL | ||
*Wgraph | *Wgraph | ||
− | + | }} | |
− | + | {{!}} style="text-align: right" {{!}} but not | |
+ | {{!}} {{#input: name= notnamespace |type= select | value = {{#request:notnamespace}} | | ||
*- | *- | ||
*main | *main | ||
Line 24: | Line 27: | ||
*Wgraph | *Wgraph | ||
}} | }} | ||
+ | {{!}}- style="background-color: #ddffff" | ||
+ | {{!}} style="text-align: right" {{!}} category | ||
+ | {{!}} {{#input: name= category | value = {{#request:category}} |type= select | ||
+ | | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }} | ||
+ | {{!}} style="text-align: right" {{!}} but not | ||
+ | {{!}} {{#input: name= notcategory | value = {{#request:notcategory}} |type= select | ||
+ | | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }} | ||
+ | {{!}}- style="background-color: #ddffff" | ||
+ | {{!}} style="text-align: right" {{!}} and category | ||
+ | {{!}} {{#input: name= category2 | value = {{#request:category2}} |type= select | ||
+ | | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }} | ||
+ | {{!}} style="text-align: right" {{!}} and not | ||
+ | {{!}} {{#input: name= notcategory2 | value = {{#request:notcategory2}} |type= select | ||
+ | | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }} | ||
+ | {{!}}- style="background-color: #ffddff" | ||
+ | {{!}} style="text-align: right" {{!}} uses | ||
+ | {{!}} {{#input: name= uses | value = {{#request:uses}} |type= select | ||
+ | | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }} | ||
+ | {{!}} style="text-align: right" {{!}} but not | ||
+ | {{!}} {{#input: name= notuses | value = {{#request:notuses}} |type= select | ||
+ | | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }} | ||
+ | {{!}}- style="background-color: #ffffdd" | ||
+ | {{!}} style="text-align: right" {{!}} links to | ||
+ | {{!}} {{#input: name= linksto | value = {{#request:linksto}} }} | ||
+ | {{!}} style="text-align: right" {{!}} but not to | ||
+ | {{!}} {{#input: name= notlinksto | value = {{#request:notlinksto}} }} | ||
+ | {{!}}- style="background-color: #ffeedd" | ||
+ | {{!}} style="text-align: right" {{!}} created by | ||
+ | {{!}} {{#input: name= createdby | value = {{#request:createdby}} |type= select | ||
+ | | *? {{#dpl: namespace=User |titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }} | ||
+ | {{!}} style="text-align: right" {{!}} modified by | ||
+ | {{!}} {{#input: name= modifiedby | value = {{#request:modifiedby}} |type= select | ||
+ | | *? {{#dpl: namespace=User | titleregexp=^[^/]+$ | format=,\n*%TITLE%,, }} }} | ||
+ | {{!}}- style="background-color: #ddeeff" | ||
+ | {{!}} style="text-align: right" {{!}} last rev. before | ||
+ | {{!}} {{#input: name= lastrevisionbefore | value = {{#if:{{#request:lastrevisionbefore}}|{{#request:lastrevisionbefore}}|YYYY-MM-DD}} }} | ||
+ | {{!}} style="text-align: right" {{!}} first rev. since | ||
+ | {{!}} {{#input: name= firstrevisionsince | value = {{#if:{{#request:firstrevisionsince}}|{{#request:firstrevisionsince}}|YYYY-MM-DD}} }} | ||
+ | {{!}}- style="background-color: #ddeeff" | ||
+ | {{!}} style="text-align: right" {{!}} ''all revs.'' before | ||
+ | {{!}} {{#input: name= allrevisionsbefore | value = {{#if:{{#request:allrevisionsbefore}}|{{#request:allrevisionsbefore}}|YYYY-MM-DD}} }} | ||
+ | {{!}} style="text-align: right" {{!}} ''all revs.'' since | ||
+ | {{!}} {{#input: name= allrevisionssince | value = {{#if:{{#request:allrevisionssince}}|{{#request:allrevisionssince}}|YYYY-MM-DD}} }} | ||
+ | {{!}}} | ||
+ | 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 | ||
}} | }} | ||
+ | {{{!}} cellpadding="0" cellspacing="0" style="margin: 0;" | ||
+ | {{!}}- style="background-color: #eeffee" | ||
+ | {{!}} title(%) {{#input: name= titlematch | value = {{#request:titlematch}} }} columns {{#input: name= columns |type= select | value = {{#request:columns}} | | ||
+ | *3 | ||
+ | *1 | ||
+ | *2 | ||
+ | *3 | ||
+ | *4 | ||
+ | *5 | ||
+ | }}maxrecords {{#input: name= count | value = {{#request:count}} | size = 2 | ||
+ | }}offset {{#input: name= offset | value = {{#request:offset}} | size = 2 | ||
+ | }} {{#input: type = submit | value = List members }} | ||
+ | <small>[[{{FULLPAGENAME}}#reset|reset]]</small> | ||
+ | {{!}}} | ||
+ | }}{{#if: {{#request:namespace}} | ||
+ | {{#request:notnamespace}} | ||
+ | {{#request:category}} | ||
+ | {{#request:notcategory}} | ||
+ | {{#request:category2}} | ||
+ | {{#request:notcategory2}} | ||
+ | {{#request:uses}} | ||
+ | {{#request:notuses}} | ||
+ | {{#request:createdby}} | ||
+ | {{#request:modifiedby}} | ||
+ | {{#request:titlematch}} | ||
+ | {{#request:nottitlematch}} | ||
+ | {{#request:linksto}} | ||
+ | {{#request:notlinksto}} | ||
+ | {{#request:columns}} | ||
+ | {{#request:export}} | ||
+ | {{#request:order}} | ||
+ | {{#request:ordermethod}} | ||
+ | {{#request:escapelinks}} | ||
+ | {{#request:randomcount}} | ||
+ | {{#request:count}} | ||
+ | {{#request:offset}} | ||
+ | {{#request:shownamespace}} | ||
+ | {{#request:addcategories}} | ||
+ | {{#request:addpagecounter}} | ||
+ | {{#request:addpagesize}} | ||
+ | {{#request:addeditdate}} | ||
+ | {{#request:addpagetoucheddate}} | ||
+ | {{#request:adduser}} | ||
+ | {{#request:lastrevisionbefore}} | ||
+ | {{#request:firstrevisionsince}} | ||
+ | {{#request:allrevisionsbefore}} | ||
+ | {{#request:allrevisionssince}} | ||
+ | |<nowiki/> | ||
− | namespace = {{#request:namespace}} | + | {{#if:{{#request:name}}| |
− | + | ==== {{#request:name}} ==== | |
− | notnamespace = {{#request:notnamespace}} | + | <nowiki/>}} |
− | + | {{#dpl: resultsheader=<small>²{#vardefine:resultsCount¦%PAGES%}²%PAGES% members found.<br><hr></small>\n | |
− | + | |noresultsheader=<small>²{#vardefine:resultsCount¦0}²There are no results for your query.<br><hr></small>\n | |
− | |{{#dpl:{{# | + | |oneresultheader=<small>²{#vardefine:resultsCount¦1}²1 member found.<br><hr></small>\n |
− | }}--> | + | |{{#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:category}}|?||{{#if:{{#request:category}}|category={{#request:category}}}}}} | ||
+ | |{{#ifeq:{{#request:notcategory}}|?||{{#if:{{#request:notcategory}}|notcategory={{#request:notcategory}}}}}} | ||
+ | |{{#ifeq:{{#request:category2}}|?||{{#if:{{#request:category2}}|category={{#request:category2}}}}}} | ||
+ | |{{#ifeq:{{#request:notcategory2}}|?||{{#if:{{#request:notcategory2}}|notcategory={{#request:notcategory2}}}}}} | ||
+ | |{{#ifeq:{{#request:uses}}|?||{{#if:{{#request:uses}}|uses=Template:{{#request:uses}}}}}} | ||
+ | |{{#ifeq:{{#request:notuses}}|?||{{#if:{{#request:notuses}}|notuses=Template:{{#request:notuses}}}}}} | ||
+ | |{{#ifeq:{{#request:createdby}}|?||{{#if:{{#request:createdby}}|createdby={{#request:createdby}}}}}} | ||
+ | |{{#ifeq:{{#request:modifiedby}}|?||{{#if:{{#request:modifiedby}}|modifiedby={{#request:modifiedby}}}}}} | ||
+ | |titlematch={{#request:titlematch}} | ||
+ | |nottitlematch={{#request:nottitlematch}} | ||
+ | |linksto={{#request:linksto}} | ||
+ | |notlinksto={{#request:notlinksto}} | ||
+ | |{{#if:{{#request:columns}}|columns={{#request:columns}}|columns=3}} | ||
+ | |{{#ifeq:{{#request:export}}|yes|columns=1}} | ||
+ | |order={{#request:order}} | ||
+ | |{{#ifeq:{{#request:ordermethod}}|-||ordermethod={{#request:ordermethod}}}} | ||
+ | |escapelinks={{#request:escapelinks}} | ||
+ | |{{#ifeq:{{#request:randomcount}}|-||randomcount={{#request:randomcount}}}} | ||
+ | |{{#if:{{#request:count}}|count={{#request:count}}}} | ||
+ | |{{#if:{{#request:offset}}|offset={{#request:offset}}}} | ||
+ | |shownamespace={{#request:shownamespace}} | ||
+ | |addcategories={{#request:addcategories}} | ||
+ | |addpagecounter={{#request:addpagecounter}} | ||
+ | |addpagesize={{#request:addpagesize}} | ||
+ | |addeditdate={{#request:addeditdate}} | ||
+ | |addpagetoucheddate={{#request:addpagetoucheddate}} | ||
+ | |adduser={{#request:adduser}} | ||
+ | |{{#ifeq:{{#request:lastrevisionbefore}}|YYYY-MM-DD||lastrevisionbefore={{#request:lastrevisionbefore}}}} | ||
+ | |{{#ifeq:{{#request:firstrevisionsince}}|YYYY-MM-DD||firstrevisionsince={{#request:firstrevisionsince}}}} | ||
+ | |{{#ifeq:{{#request:allrevisionsbefore}}|YYYY-MM-DD||allrevisionsbefore={{#request:allrevisionsbefore}}}} | ||
+ | |{{#ifeq:{{#request:allrevisionssince}}|YYYY-MM-DD||allrevisionssince={{#request:allrevisionssince}}}} | ||
+ | |{{#ifeq:{{#request:export}}|yes|include={export.dpl} }} | ||
+ | |{{#ifeq:{{#request:export}}|yes|format=[http://gs-nb/dpldemo/index.php/Special:Export?pages=,,%0D%0A, click to start export of '''all selected pages''']}} | ||
+ | |skipthispage=no | ||
+ | }}{{#vardefine:prevpagelink|{{#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 {{#var:resultsCount}}] }} }} }}{{#vardefine:nextpagelink|{{#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:category}}|?||{{#if:{{#request:category}}|category={{#request:category}}}}}} | ||
+ | |{{#ifeq:{{#request:notcategory}}|?||{{#if:{{#request:notcategory}}|notcategory={{#request:notcategory}}}}}} | ||
+ | |{{#ifeq:{{#request:category2}}|?||{{#if:{{#request:category2}}|category={{#request:category2}}}}}} | ||
+ | |{{#ifeq:{{#request:notcategory2}}|?||{{#if:{{#request:notcategory2}}|notcategory={{#request:notcategory2}}}}}} | ||
+ | |{{#ifeq:{{#request:uses}}|?||{{#if:{{#request:uses}}|uses=Template:{{#request:uses}}}}}} | ||
+ | |{{#ifeq:{{#request:notuses}}|?||{{#if:{{#request:notuses}}|notuses=Template:{{#request:notuses}}}}}} | ||
+ | |{{#ifeq:{{#request:createdby}}|?||{{#if:{{#request:createdby}}|createdby={{#request:createdby}}}}}} | ||
+ | |{{#ifeq:{{#request:modifiedby}}|?||{{#if:{{#request:modifiedby}}|modifiedby={{#request:modifiedby}}}}}} | ||
+ | |titlematch={{#request:titlematch}} | ||
+ | |nottitlematch={{#request:nottitlematch}} | ||
+ | |linksto={{#request:linksto}} | ||
+ | |notlinksto={{#request:notlinksto}} | ||
+ | |count=1 | ||
+ | |offset={{#expr: {{#if:{{#request:offset}}|{{#request:offset}} +}} {{#var:resultsCount}} }} | ||
+ | |{{#ifeq:{{#request:lastrevisionbefore}}|YYYY-MM-DD||lastrevisionbefore={{#request:lastrevisionbefore}}}} | ||
+ | |{{#ifeq:{{#request:firstrevisionsince}}|YYYY-MM-DD||firstrevisionsince={{#request:firstrevisionsince}}}} | ||
+ | |{{#ifeq:{{#request:allrevisionsbefore}}|YYYY-MM-DD||allrevisionsbefore={{#request:allrevisionsbefore}}}} | ||
+ | |{{#ifeq:{{#request:allrevisionssince}}|YYYY-MM-DD||allrevisionssince={{#request:allrevisionssince}}}} | ||
+ | |skipthispage=no | ||
+ | |format=,1,, | ||
+ | }}|1|[{{fullurl:{{FULLPAGENAME}} | ||
+ | |offset={{#expr: {{#if:{{#request:offset}}|{{#request:offset}} +}} {{#var:resultsCount}} }}&count={{ | ||
+ | #if: {{#request:count}} |{{urlencode:{{#request:count}} }}|{{#var:resultsCount}} }}{{ | ||
+ | #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}} }} }} | ||
+ | }} next {{#var:resultsCount}}] | ||
+ | }} | ||
+ | }}{{#ifeq:{{#request:randomcount}} | ||
+ | |- | ||
+ | |{{#if:{{#var:prevpagelink}}{{#var:nextpagelink}}|<span class="plainlinks">{{#var:prevpagelink}} {{#var:nextpagelink}}</span>}} | ||
+ | }} | ||
+ | ---- | ||
+ | <small><u>Your query used the following parameters</u><br/> | ||
+ | {{#ifeq:{{#request:namespace}}|all||{{#if:{{#request:namespace}}|{{#ifeq:{{#request:namespace}}|main|namespace=<br>|namespace={{#request:namespace}}<br>}}}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:notnamespace}}|-||{{#if:{{#request:notnamespace}}|{{#ifeq:{{#request:notnamespace}}|main|notnamespace=<br>|notnamespace={{#request:notnamespace}}<br>}}}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:category}}|?||{{#if:{{#request:category}}|category={{#request:category}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:category2}}|?||{{#if:{{#request:category2}}|category={{#request:category2}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:notcategory}}|?||{{#if:{{#request:notcategory}}|notcategory={{#request:notcategory}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:notcategory2}}|?||{{#if:{{#request:notcategory2}}|notcategory={{#request:notcategory2}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:uses}}|?||{{#if:{{#request:uses}}|uses=Template:{{#request:uses}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:notuses}}|?||{{#if:{{#request:notuses}}|notuses=Template:{{#request:notuses}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:createdby}}|?||{{#if:{{#request:createdby}}|createdby={{#request:createdby}}<br>}}}}<!-- | ||
+ | -->{{#ifeq:{{#request:modifiedby}}|?||{{#if:{{#request:modifiedby}}|modifiedby={{#request:modifiedby}}<br>}}}}<!-- | ||
+ | -->{{#if:{{#request:titlematch}}|titlematch={{#request:titlematch}}<br>}}<!-- | ||
+ | -->{{#if:{{#request:nottitlematch}}|nottitlematch={{#request:nottitlematch}}<br>}}<!-- | ||
+ | -->{{#if:{{#request:linksto}}|linksto={{#request:linksto}}<br>}}<!-- | ||
+ | -->{{#if:{{#request:notlinksto}}|notlinksto={{#request:notlinksto}}<br>}}<!-- | ||
+ | -->{{#if:{{#request:columns}}|columns={{#request:columns}}<br>|columns=3<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:export}}|yes|columns=1<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:order}}|ascending||order={{#request:order}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:ordermethod}}|-||ordermethod={{#request:ordermethod}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:escapelinks}}|true||escapelinks={{#request:escapelinks}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:randomcount}}|-||randomcount={{#request:randomcount}}<br>}}<!-- | ||
+ | -->{{#if:{{#request:count}}|count={{#request:count}}<br>}}<!-- | ||
+ | -->{{#if:{{#request:offset}}|offset={{#request:offset}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:shownamespace}}|no||shownamespace={{#request:shownamespace}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:addcategories}}|no||addcategories={{#request:addcategories}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:addpagecounter}}|no||addpagecounter={{#request:addpagecounter}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:addpagesize}}|no||addpagesize={{#request:addpagesize}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:addeditdate}}|no||addeditdate={{#request:addeditdate}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:addpagetoucheddate}}|no||addpagetoucheddate={{#request:addpagetoucheddate}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:adduser}}|no||adduser={{#request:adduser}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:lastrevisionbefore}}|YYYY-MM-DD||lastrevisionbefore={{#request:lastrevisionbefore}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:firstrevisionsince}}|YYYY-MM-DD||firstrevisionsince={{#request:firstrevisionsince}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:allrevisionsbefore}}|YYYY-MM-DD||allrevisionsbefore={{#request:allrevisionsbefore}}<br>}}<!-- | ||
+ | -->{{#ifeq:{{#request:allrevisionssince}}|YYYY-MM-DD||allrevisionssince={{#request:allrevisionssince}}<br>}}<!-- | ||
+ | --></small><br> | ||
+ | }} |
Latest revision as of 00:21, 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.{{#vardefine:prevpagelink|Expression error: Unrecognized punctuation character "{". }}{{#vardefine:nextpagelink| }}
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}}