Branch: Tag:

1998-08-19

1998-08-19 11:55:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Restored the code Wellhard removed.

Rev: server/modules/tags/wizard_tag.pike:1.16

3:    * made by Per Hedbor    */    - constant cvs_version = "$Id: wizard_tag.pike,v 1.15 1998/08/18 13:31:54 wellhard Exp $"; + constant cvs_version = "$Id: wizard_tag.pike,v 1.16 1998/08/19 11:55:22 grubba Exp $";   constant thread_safe=1;   #include <module.h>   inherit "module";
101:    "done":internal_done ]),    (int)id->misc->line,f);    if (f->done && !args->ok) { + #if __VERSION__ >= 0.6 +  pike += sprintf("mixed wizard_done(object id)\n" +  "{\n" +  " return parse_rxml(%O, id);\n" +  "}\n", f->done); + #else    pike += ("mixed wizard_done(object id)\n"    "{\n"    " return parse_rxml(\""+replace(f->done,
108:    ({"\\\"", "\\n", "\\r", "\\\\"}))+    "\",id);\n"    "}\n"); + #endif /* __VERSION__ >= 0.6 */    }    foreach(f->pages, array q)    {