Branch: Tag:

1999-09-29

1999-09-29 10:27:05 by Martin Nilsson <mani@lysator.liu.se>

Moved compatibility code to configtablist

Rev: server/modules/tags/configtablist.pike:1.19
Rev: server/modules/tags/tablist.pike:1.18

1:   // Config tablist look-a-like module. Copyright © 1999, Idonex AB.   //    - constant cvs_version="$Id: configtablist.pike,v 1.18 1999/09/28 15:46:51 mast Exp $"; + constant cvs_version="$Id: configtablist.pike,v 1.19 1999/09/29 10:27:05 nilsson Exp $";      #include <module.h>   inherit "module"; -  + inherit "roxenlib";    -  + #define old_rxml_compat 1 +    array register_module() {    return ({ MODULE_PARSER, "Old tab list module", "Use the <i>Tab list</i> module instead", 0, 1});   }
21:    if(roxen->root)    roxen->configuration_interface()->build_root(roxen->root);    } -  _do_call_outs(); +    } -  +  + #if old_rxml_compat + string tag_ctablist(string t, mapping a, string c) { +  return make_container("tablist",a,c); + } +  + mapping query_container_callers() { +  return ([ "config_tablist":tag_ctablist ]); + } + #endif