- qpscanner/views/start/config.cfm
- develop
- 1 KB
- 57
1<cfoutput>
2
3 <form method="get" action="?" >
4
5 <input type="hidden" name="action" value="scan.go" />
6
7 <input type="hidden" name="config" value="#rc.Config#" />
8
9 <fieldset class="main">
10
11 <cfloop query="rc.Setting">
12
13 <div class="field #id#">
14 <label class="indiv header" for="#id#">#HtmlEditFormat(label)#:</label>
15
16 <cfif type EQ 'text'>
17 <input
18 class="edit" type="text"
19 id="#id#" name="#id#"
20 value="#HtmlEditFormat(Value)#"
21 />
22 <cfelse>
23 <cfif ListFirst(type) EQ 'boolean' >
24 <cfset rc.Setting.options[CurrentRow] = "yes,no" />
25 </cfif>
26 <ul class="input">
27 <cfloop index="CurOpt" list=#options# >
28 <li>
29 <input id="#id#_#CurOpt#" <cfif value EQ CurOpt>checked="checked"</cfif> value="#CurOpt#" name="#id#" type="radio" class="box" />
30 <label for="#id#_#CurOpt#" class="indiv">#CurOpt#</label>
31 </li>
32 </cfloop>
33 </ul>
34 </cfif>
35
36 <cfif len(trim(status))>
37 <em class="experimental"
38 title="This functionality is provided for convenience but contains known bugs or limitations."
39 >EXPERIMENTAL
40 </em>
41 </cfif>
42 <cfif len(trim(hint))>
43 <small class="hint">#hint#</small>
44 </cfif>
45 </div>
46
47 </cfloop>
48
49 </fieldset>
50
51 <fieldset class="controls">
52 <button type="reset">Reset</button>
53 <button type="submit">Scan</button>
54 </fieldset>
55
56 </form>
57
58</cfoutput>