Branch: Tag:

1998-06-01

1998-06-01 00:54:18 by Mattias Wingstedt <mattias@wingstedt.org>

o cvars are now only parsed if a parse argument are sent to them

Rev: server/base_server/wizard.pike:1.64

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