Branch: Tag:

1998-05-29

1998-05-29 16:31:22 by Mattias Wingstedt <mattias@wingstedt.org>

o Does RXML-parsing of cvar data

Rev: server/base_server/wizard.pike:1.63

1: - /* $Id: wizard.pike,v 1.62 1998/05/28 10:43:26 per Exp $ + /* $Id: wizard.pike,v 1.63 1998/05/29 16:31:22 wing Exp $    * name="Wizard generator";    * doc="This file generats all the nice wizards";    */
11:    {    id = b;    if(m->type == "select" || m->type == "select_multiple") -  m->options = replace(a, "\n", ","); +  m->options = (parse_rxml( a, id ) / "\n" - ({ "" })) * ",";    else -  m["default"] = a; +  m["default"] = parse_rxml( a, id );    } else // tag. No contents, id in 'b'.    id = a;