f41b982009-05-07Martin Stjernholm // This is (not really) a roxen module. Copyright © 2000 - 2009, Roxen IS.
39f9a62000-02-24Martin Nilsson //
0917d32013-03-04Anders Johansson constant cvs_version="$Id$";
19f1d01998-08-13Fredrik Hübinette (Hubbe) inherit "module"; inherit "roxenlib";
a8124d2000-02-12Martin Nilsson constant thread_safe = 1; constant module_type = MODULE_PARSER;
13c50b2000-08-25Martin Nilsson constant module_name = "Old Ximg";
a8124d2000-02-12Martin Nilsson constant module_doc = "<h2>Deprecated</h2> It does the same thing as the imgs tag.";
19f1d01998-08-13Fredrik Hübinette (Hubbe) 
246eac1999-12-03Martin Nilsson RoxenModule rxml_warning_cache; void old_rxml_warning(RequestID id, string no, string yes) { if(!rxml_warning_cache) rxml_warning_cache=my_configuration()->get_provider("oldRXMLwarning");
78be2d1999-12-14Martin Nilsson  if(!rxml_warning_cache) return;
246eac1999-12-03Martin Nilsson  rxml_warning_cache->old_rxml_warning(id, no, yes); }
13c50b2000-08-25Martin Nilsson array tag_ximg(string t, mapping m, RequestID id) {
246eac1999-12-03Martin Nilsson  old_rxml_warning(id, "ximg tag","imgs");
1569e52000-08-22Martin Nilsson  return ({1, "imgs", m});
19f1d01998-08-13Fredrik Hübinette (Hubbe) }