Branch: Tag:

1998-05-22

1998-05-22 09:08:06 by Per Hedbor <ph@opera.com>

<cvar> now use the contents for options in the case of select and select_multiple

Rev: server/base_server/wizard.pike:1.61

1: - /* $Id: wizard.pike,v 1.60 1998/05/14 18:30:36 grubba Exp $ + /* $Id: wizard.pike,v 1.61 1998/05/22 09:08:06 per Exp $    * name="Wizard generator";    * doc="This file generats all the nice wizards";    */
10:    if(n=="cvar") // Container. Default value in 'a', id in 'b'.    {    id = b; +  if(m->type == "select" || m->type == "select_multiple") +  m->options = replace(a, "\n", ","); +  else    m["default"] = a;    } else // tag. No contents, id in 'b'.    id = a;