Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
Test /
InputSelectNestingSource
Create Selectbox using nested options sourceSometimes is necessary to modify the Select box. The example uses the page variables "fullbox" and "shortbox".
Show full selectbox (options A1,A2,...C1)
Show shorten selectbox (options A1,A2,...B2)
>>comment<<
[[#Lev2]]
(:include {$Group}.{$Name}#Lev3#Lev3end:)
(:input select name="mybox" B1 B1:)
(:input select name="mybox" B2 B2:)
[[#Lev2end]]
[[#Lev3]](:input select name="A" 1 A1:)
(:input select name="mybox" 2 A2:)
[[#Lev3end]]
>><<
How to cut select boxDisplay options 1,2,...4 or 3,4 depending on page variable {$:cutbox} Feel free to edit the page and change the cutbox to no
>>comment<<
[[#usr1]]
(:include {$Group}.{$Name}#defa1#defa1end:)
(:input select name="mybox" B1 3:)
(:input select name="mybox" B2 4:)
[[#usr1end]]
[[#defa1]]
(:if !equal {$:cutbox} yes:)
(:input select name="mybox" original1 1:)
(:input select name="mybox" original2 2:)
(:ifend:)
[[#defa1end]]
>><<
|
0: 00.00 00.00 config start 1: 00.00 00.00 config end 2: 00.05 00.05 MarkupToHTML begin 3: 00.06 00.05 MarkupToHTML begin 4: 00.08 00.07 MarkupToHTML end 5: 00.08 00.08 MarkupToHTML begin 6: 00.09 00.08 MarkupToHTML end 7: 00.09 00.09 MarkupToHTML begin 8: 00.10 00.09 MarkupToHTML end 9: 00.13 00.12 MarkupToHTML end 10: 00.14 00.13 MarkupToHTML begin 11: 00.16 00.16 ReadApprovedUrls SiteAdmin.ApprovedUrls begin 12: 00.17 00.17 ReadApprovedUrls SiteAdmin.ApprovedUrls end 13: 00.19 00.18 MarkupToHTML end 14: 00.19 00.18 MarkupToHTML begin 15: 00.20 00.20 MarkupToHTML end 16: 00.20 00.20 now