Roxen.git/
server/
modules/
tags/
rxmltags.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-23
2000-08-23 03:17:48 by Martin Nilsson <mani@lysator.liu.se>
f0e7ee536290b20a17378d8436657e322f0fa5be (
21
lines) (+
17
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Added some nocache
Rev: server/modules/tags/rxmltags.pike:1.161
7:
#define _rettext id->misc->defines[" _rettext"] #define _ok id->misc->defines[" _ok"]
-
constant cvs_version = "$Id: rxmltags.pike,v 1.
160
2000/08/23 03:
14
:
55
nilsson Exp $";
+
constant cvs_version = "$Id: rxmltags.pike,v 1.
161
2000/08/23 03:
17
:
48
nilsson Exp $";
constant thread_safe = 1; constant language = roxen->language;
72:
class EntityPageQuery { inherit RXML.Value;
-
string rxml_const_eval(RXML.Context c) { return c->id->query||"";
}
+
string rxml_const_eval(RXML.Context c) {
+
c->id->misc->cacheable=0;
+
return c->id->query||"";
}
-
+
}
class EntityPageURL { inherit RXML.Value;
-
string rxml_const_eval(RXML.Context c) { return c->id->raw_url;
}
+
string rxml_const_eval(RXML.Context c) {
+
c->id->misc->cacheable=0;
+
return c->id->raw_url;
}
-
+
}
class EntityPageLastTrue { inherit RXML.Value;
87:
class EntityPageLanguage { inherit RXML.Value;
-
string rxml_const_eval(RXML.Context c) { return c->id->misc->defines->language || "";
}
+
string rxml_const_eval(RXML.Context c) {
+
c->id->misc->cacheable=0;
+
return c->id->misc->defines->language || "";
}
-
+
}
class EntityPageScope { inherit RXML.Value;
202:
class EntityClientAuthenticated { inherit RXML.Value; int rxml_const_eval(RXML.Context c) {
+
c->id->misc->cacheable=0;
return c->id->auth&&c->id->auth[0]&&c->id->auth[1]; } }
209:
class EntityClientUser { inherit RXML.Value; string rxml_const_eval(RXML.Context c) {
+
c->id->misc->cacheable=0;
return c->id->rawauth&&(c->id->rawauth/":")[0]; } }
217:
inherit RXML.Value; string rxml_const_eval(RXML.Context c) { array tmp;
+
c->id->misc->cacheable=0;
return (c->id->auth && !c->id->auth[0] && c->id->rawauth