View/Edit #4980:input_box

Switch to edit mode.

Name(s): input_box
1:  "iframe-bound input box."
2:  {label, paramlist} = args
3:  r = {}
4:  r = {@r, "<input "}
5:  for param in (paramlist)
6:    r = {@r, " " + param[1] + "=\"" + param[2] + "\""}
7:  endfor
8:  r = {@r, ">"}
9:  if (label)
10:   if (index(args[1], "-") == 1)
11:     label = label[2..length(label)]
12:     r = {label, @r}
13:   elseif (index(args[1], "+") == 1)
14:     label = label[2..length(label)]
15:     r = {@r, label}
16:   else
17:     r = {label, @r}
18:   endif
19: endif
20: return r
21: "Last modified by Wingy (#9223) on Tue Jan 28 07:51:52 2003 MST."

Verb arguments: any any any
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Wingy (#9223)

You are not logged in.

[home | help | who | search | setup | code]