@program usermin.htmuf 1 10000 d i $include $lib/cgiparse $include $lib/alynna $include $web/login $def pclean "" ":" subst dup 1 1 midstr "/" stringcmp not if 1 strcut swap pop then dup dup strlen 1 midstr "/" stringcmp not if dup strlen -- strcut pop then INCLUDE_WEBVARS : sys.mainmenu { "
" }w
{ "- Edit personal options
" }w
{ "- Edit personal pages
" }w
{ "- Edit personal lists
" }w
{ "
" }w
;
: list.edit
"listpath" getstat dup if pclean "listpath" setstat else "" "listpath" setstat then
{ "" }w
{ "" }w
;
: list.change
"submit" raw array? if
"submit" post "write" smatch if
myref "webpath" post "page" raw setlist
{ "" }w
{ "" }w
{ "