Branch: Tag:

2001-08-17

2001-08-17 16:14:51 by Per Hedbor <ph@opera.com>

Fixes [Bug 1981 (#1981)] (remove benchmark timing in config interface)

Rev: server/config_interface/template:1.100
Rev: server/modules/tags/rxmltags.pike:1.272

7:   #define _rettext RXML_CONTEXT->misc[" _rettext"]   #define _ok RXML_CONTEXT->misc[" _ok"]    - constant cvs_version = "$Id: rxmltags.pike,v 1.271 2001/08/13 15:56:59 mast Exp $"; + constant cvs_version = "$Id: rxmltags.pike,v 1.272 2001/08/17 16:14:51 per Exp $";   constant thread_safe = 1;   constant language = roxen->language;   
3680:    }   }    + class TagIfDebug { +  inherit RXML.Tag; +  constant name = "if"; +  constant plugin_name = "debug"; +  +  int eval( string dbg, RequestID id, mapping m ) { + #ifdef DEBUG +  return 1; + #else +  return 0; + #endif +  } + } +  + class TagIfModuleDebug { +  inherit RXML.Tag; +  constant name = "if"; +  constant plugin_name = "module-debug"; +  +  int eval( string dbg, RequestID id, mapping m ) { + #ifdef MODULE_DEBUG +  return 1; + #else +  return 0; + #endif +  } + } +    class TagIfDate {    inherit RXML.Tag;    constant name = "if";