Branch: Tag:

2001-01-29

2001-01-29 05:41:26 by Per Hedbor <ph@opera.com>

Removed the need for module_doc_locale and module_name_locale, now uses module_doc and module_name directly. Also added localization to some modules that did not have it before.

Rev: server/modules/compat/compat.pike:1.55
Rev: server/modules/compat/sqldb.pike:1.3
Rev: server/modules/database/SQLuserdb.pike:1.25
Rev: server/modules/database/sqltag.pike:1.73
Rev: server/modules/directories/directories.pike:1.91
Rev: server/modules/directories/indexfiles.pike:1.19
Rev: server/modules/examples/auth.pike:1.6
Rev: server/modules/examples/common_api.pike:1.7
Rev: server/modules/examples/fnord.pike:1.14
Rev: server/modules/examples/newstyle_fnord.pike:1.11
Rev: server/modules/filesystems/filesystem.pike:1.95
Rev: server/modules/filesystems/incoming.pike:1.14
Rev: server/modules/filesystems/restrictedfs.pike:1.18
Rev: server/modules/filesystems/secure_fs.pike:1.25
Rev: server/modules/filesystems/tarfs.pike:1.5
Rev: server/modules/filesystems/userfs.pike:1.63
Rev: server/modules/security/auth_httpbasic.pike:1.4
Rev: server/modules/security/auth_httpcookie.pike:1.4
Rev: server/modules/security/userdb_system.pike:1.3
Rev: server/modules/tags/obox.pike:1.33
Rev: server/modules/tags/rxmltags.pike:1.197
Rev: server/modules/tags/sizer.pike:1.4

7:   #define _rettext id->misc->defines[" _rettext"]   #define _ok id->misc->defines[" _ok"]    - constant cvs_version = "$Id: rxmltags.pike,v 1.196 2001/01/23 03:28:50 nilsson Exp $"; + constant cvs_version = "$Id: rxmltags.pike,v 1.197 2001/01/29 05:40:32 per Exp $";   constant thread_safe = 1;   constant language = roxen->language;   
891:    return RXML.t_xml;    }    -  string get_data(string var, mapping args, RequestID id) { +  string get_data(string var, mapping args, RequestID id) +  {    string result; -  if(args->nocache) { -  CACHE(0); -  result=id->conf->try_get_file(var, id, 0, 1); -  } -  else result = id->conf->try_get_file(var, id); -  if(!result) RXML.run_error("No such file ("+var+").\n"); +  if(args->nocache) // try_get_file never uses the cache any more. +  CACHE(0); // Should we really enforce CACHE(0) here?    -  +  result=id->conf->try_get_file(var, id); +  +  if( !result ) +  RXML.run_error("No such file ("+Roxen.fix_relative( var, id )+").\n"); +    #if ROXEN_COMPAT <= 1.3    if(id->conf->old_rxml_compat)    return Roxen.parse_rxml(result, id);