Difference between revisions of "DPL Simple Forms Test"
m |
|||
(33 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;" | {{{!}} cellpadding="0" cellspacing="0" style="margin: 0;" | ||
− | {{!}}- style="background-color: #ddddff | + | {{!}}- style="background-color: #ddddff" |
{{!}} style="text-align: right" {{!}} namespace | {{!}} style="text-align: right" {{!}} namespace | ||
− | {{!}} {{#input: name= namespace | + | {{!}} {{#input: name= namespace |type= select | value = {{#request:namespace}} | |
− | |||
− | |||
− | |||
*all | *all | ||
*main | *main | ||
Line 20: | Line 14: | ||
*DPL | *DPL | ||
*Wgraph | *Wgraph | ||
− | + | }} | |
{{!}} style="text-align: right" {{!}} but not | {{!}} style="text-align: right" {{!}} but not | ||
− | {{!}} {{#input: name= notnamespace | + | {{!}} {{#input: name= notnamespace |type= select | value = {{#request:notnamespace}} | |
− | |||
− | |||
− | |||
*- | *- | ||
*main | *main | ||
Line 35: | Line 26: | ||
*DPL | *DPL | ||
*Wgraph | *Wgraph | ||
− | + | }} | |
− | {{!}}- style="background-color: #ddffff | + | {{!}}- style="background-color: #ddffff" |
{{!}} style="text-align: right" {{!}} category | {{!}} style="text-align: right" {{!}} category | ||
− | {{!}} {{#input: name= category | + | {{!}} {{#input: name= category | value = {{#request:category}} |type= select |
− | + | | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }} | |
− | |||
− | |||
− | |||
{{!}} style="text-align: right" {{!}} but not | {{!}} style="text-align: right" {{!}} but not | ||
− | {{!}} {{#input: name= notcategory | + | {{!}} {{#input: name= notcategory | value = {{#request:notcategory}} |type= select |
− | + | | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }} | |
− | + | {{!}}- style="background-color: #ddffff" | |
− | |||
− | |||
− | {{!}}- style="background-color: #ddffff | ||
{{!}} style="text-align: right" {{!}} and category | {{!}} style="text-align: right" {{!}} and category | ||
− | {{!}} {{#input: name= category2 | + | {{!}} {{#input: name= category2 | value = {{#request:category2}} |type= select |
− | + | | *? {{#dpl: namespace=Category | format=,\n*%TITLE%,, }} }} | |
− | |||
− | |||
− | |||
{{!}} style="text-align: right" {{!}} and not | {{!}} style="text-align: right" {{!}} and not | ||
− | {{!}} {{#input: name= notcategory2 | + | {{!}} {{#input: name= notcategory2 | value = {{#request:notcategory2}} |type= select |
− | + | | *? {{#dpl: namespace=Category | format = ,\n*%TITLE%,, }} }} | |
− | + | {{!}}- style="background-color: #ffddff" | |
− | |||
− | |||
− | {{!}}- style="background-color: #ffddff | ||
{{!}} style="text-align: right" {{!}} uses | {{!}} style="text-align: right" {{!}} uses | ||
− | {{!}} {{#input: name= uses | + | {{!}} {{#input: name= uses | value = {{#request:uses}} |type= select |
− | + | | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }} | |
− | |||
− | |||
− | |||
{{!}} style="text-align: right" {{!}} but not | {{!}} style="text-align: right" {{!}} but not | ||
− | {{!}} {{#input: name= notuses | + | {{!}} {{#input: name= notuses | value = {{#request:notuses}} |type= select |
− | + | | *? {{#dpl: namespace=Template | format=,\n*%TITLE%,, }} }} | |
− | + | {{!}}- style="background-color: #ffffdd" | |
− | |||
− | |||
− | {{!}}- style="background-color: #ffffdd | ||
{{!}} style="text-align: right" {{!}} links to | {{!}} style="text-align: right" {{!}} links to | ||
− | {{!}} {{#input: name= linksto | + | {{!}} {{#input: name= linksto | value = {{#request:linksto}} }} |
− | |||
− | |||
{{!}} style="text-align: right" {{!}} but not to | {{!}} style="text-align: right" {{!}} but not to | ||
− | {{!}} {{#input: name= notlinksto | + | {{!}} {{#input: name= notlinksto | value = {{#request:notlinksto}} }} |
− | + | {{!}}- style="background-color: #ffeedd" | |
− | |||
− | {{!}}- style="background-color: #ffeedd | ||
{{!}} style="text-align: right" {{!}} created by | {{!}} style="text-align: right" {{!}} created by | ||
− | {{!}} {{#input: name= createdby | + | {{!}} {{#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="text-align: right" {{!}} modified by | + | {{!}}- style="background-color: #ddeeff" |
− | {{!}} {{#input: name= modifiedby | ||
− | |||
− | |||
− | |||
− | |||
− | {{!}}- style="background-color: #ddeeff | ||
{{!}} style="text-align: right" {{!}} last rev. before | {{!}} style="text-align: right" {{!}} last rev. before | ||
− | {{!}} {{#input: name= lastrevisionbefore | + | {{!}} {{#input: name= lastrevisionbefore | value = {{#if:{{#request:lastrevisionbefore}}|{{#request:lastrevisionbefore}}|YYYY-MM-DD}} }} |
− | |||
− | |||
{{!}} style="text-align: right" {{!}} first rev. since | {{!}} style="text-align: right" {{!}} first rev. since | ||
− | {{!}} {{#input: name= firstrevisionsince | + | {{!}} {{#input: name= firstrevisionsince | value = {{#if:{{#request:firstrevisionsince}}|{{#request:firstrevisionsince}}|YYYY-MM-DD}} }} |
− | + | {{!}}- style="background-color: #ddeeff" | |
− | |||
− | {{!}}- style="background-color: #ddeeff | ||
{{!}} style="text-align: right" {{!}} ''all revs.'' before | {{!}} style="text-align: right" {{!}} ''all revs.'' before | ||
− | {{!}} {{#input: name= allrevisionsbefore | + | {{!}} {{#input: name= allrevisionsbefore | value = {{#if:{{#request:allrevisionsbefore}}|{{#request:allrevisionsbefore}}|YYYY-MM-DD}} }} |
− | |||
− | |||
{{!}} style="text-align: right" {{!}} ''all revs.'' since | {{!}} style="text-align: right" {{!}} ''all revs.'' since | ||
− | {{!}} {{#input: name= allrevisionssince | + | {{!}} {{#input: name= allrevisionssince | value = {{#if:{{#request:allrevisionssince}}|{{#request:allrevisionssince}}|YYYY-MM-DD}} }} |
− | |||
− | |||
{{!}}} | {{!}}} | ||
show: namespace {{#input: name= shownamespace | show: namespace {{#input: name= shownamespace | ||
− | + | |type= select | value = {{#request:shownamespace}} | | |
− | |||
− | |||
*yes | *yes | ||
*no | *no | ||
− | + | }}categories {{#input: name= addcategories | |
− | + | |type= select | value = {{#request:addcategories}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }}visits {{#input: name= addpagecounter | |
− | + | |type= select | value = {{#request:addpagecounter}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }}size {{#input: name= addpagesize | |
− | + | |type= select | value = {{#request:addpagesize}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }}user {{#input: name= adduser | |
− | + | |type= select | value = {{#request:adduser}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }}editdate {{#input: name= addeditdate | |
− | + | |type= select | value = {{#request:addeditdate}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }}touch date: {{#input: name= addpagetoucheddate | |
− | + | |type= select | value = {{#request:addpagetoucheddate}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }} | |
− | ordermethod: {{#input: name= ordermethod | + | ordermethod: {{#input: name= ordermethod |type= select | value = {{#request:ordermethod}} | |
− | |||
− | |||
− | |||
*- | *- | ||
*category,firstedit | *category,firstedit | ||
Line 178: | Line 116: | ||
*user,firstedit | *user,firstedit | ||
*user,lastedit | *user,lastedit | ||
− | + | }}order: {{#input: name= order | |
− | + | |type= select | value = {{#request:order}} | | |
− | |||
− | |||
*ascending | *ascending | ||
*descending | *descending | ||
− | + | }}escapelinks: {{#input: name= escapelinks | |
− | + | |type= select | value = {{#request:escapelinks}} | | |
− | |||
− | |||
*true | *true | ||
*false | *false | ||
− | + | }}randomcount: {{#input: name= randomcount | |
− | + | |type= select | value = {{#request:randomcount}} | | |
− | |||
− | |||
*- | *- | ||
*1 | *1 | ||
Line 199: | Line 131: | ||
*5 | *5 | ||
*10 | *10 | ||
− | + | }}export: {{#input: name= export | |
− | + | |type= select | value = {{#request:export}} | | |
− | |||
− | |||
*no | *no | ||
*yes | *yes | ||
− | + | }} | |
{{{!}} cellpadding="0" cellspacing="0" style="margin: 0;" | {{{!}} cellpadding="0" cellspacing="0" style="margin: 0;" | ||
− | {{!}}- style="background-color: #eeffee | + | {{!}}- style="background-color: #eeffee" |
− | {{!}} title(%) {{#input: name= titlematch | + | {{!}} title(%) {{#input: name= titlematch | value = {{#request:titlematch}} }} columns {{#input: name= columns |type= select | value = {{#request:columns}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
*3 | *3 | ||
*1 | *1 | ||
Line 220: | Line 145: | ||
*4 | *4 | ||
*5 | *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 | + | }}{{#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/> | ||
{{#if:{{#request:name}}| | {{#if:{{#request:name}}| | ||
==== {{#request:name}} ==== | ==== {{#request:name}} ==== | ||
− | + | <nowiki/>}} | |
− | {{#dpl: resultsheader=<small>%PAGES% members found.<br><hr></small>\n | + | {{#dpl: resultsheader=<small>²{#vardefine:resultsCount¦%PAGES%}²%PAGES% members found.<br><hr></small>\n |
− | |noresultsheader=<small> | + | |noresultsheader=<small>²{#vardefine:resultsCount¦0}²There are no results for your query.<br><hr></small>\n |
− | |oneresultheader=<small> | + | |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: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}}}}}}}} | ||
Line 304: | Line 226: | ||
|{{#ifeq:{{#request:export}}|yes|include={export.dpl} }} | |{{#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''']}} | |{{#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>}} | ||
}} | }} | ||
---- | ---- | ||
Line 334: | Line 358: | ||
-->{{#ifeq:{{#request:addpagesize}}|no||addpagesize={{#request:addpagesize}}<br>}}<!-- | -->{{#ifeq:{{#request:addpagesize}}|no||addpagesize={{#request:addpagesize}}<br>}}<!-- | ||
-->{{#ifeq:{{#request:addeditdate}}|no||addeditdate={{#request:addeditdate}}<br>}}<!-- | -->{{#ifeq:{{#request:addeditdate}}|no||addeditdate={{#request:addeditdate}}<br>}}<!-- | ||
− | -->{{#ifeq:{{#request:addpagetoucheddate | + | -->{{#ifeq:{{#request:addpagetoucheddate}}|no||addpagetoucheddate={{#request:addpagetoucheddate}}<br>}}<!-- |
-->{{#ifeq:{{#request:adduser}}|no||adduser={{#request:adduser}}<br>}}<!-- | -->{{#ifeq:{{#request:adduser}}|no||adduser={{#request:adduser}}<br>}}<!-- | ||
-->{{#ifeq:{{#request:lastrevisionbefore}}|YYYY-MM-DD||lastrevisionbefore={{#request:lastrevisionbefore}}<br>}}<!-- | -->{{#ifeq:{{#request:lastrevisionbefore}}|YYYY-MM-DD||lastrevisionbefore={{#request:lastrevisionbefore}}<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}}