d69ba5 | 2001-09-03 | Martin Nilsson | |
|
d4e974 | 2000-02-24 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
77ca34 | 2004-05-23 | Marc Dirix | | constant cvs_version = "$Id: fnord.pike,v 1.18 2004/05/23 15:08:56 _cvs_dirix Exp $";
|
6682b9 | 1997-08-31 | Peter Bortas | |
|
6aae86 | 2000-07-02 | Martin Nilsson | | constant thread_safe=1;
|
6682b9 | 1997-08-31 | Peter Bortas | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | | #include <module.h>
inherit "module";
|
327252 | 1999-12-14 | Martin Nilsson | |
|
79ca87 | 2000-11-24 | Per Hedbor | |
|
77ca34 | 2004-05-23 | Marc Dirix | |
|
79ca87 | 2000-11-24 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
327252 | 1999-12-14 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
d024df | 2000-03-17 | Martin Nilsson | |
|
9c20b9 | 1996-11-20 | Per Hedbor | |
|
d024df | 2000-03-17 | Martin Nilsson | | string simpletag_fnord(string tag_name, mapping arguments, string contents,
|
327252 | 1999-12-14 | Martin Nilsson | | RequestID id )
{
if (id->prestate->fnord)
return contents;
if (arguments->alt)
return arguments->alt;
|
f0bcef | 2002-06-14 | Martin Nilsson | | if (arguments["show-fnord"])
|
77ca34 | 2004-05-23 | Marc Dirix | | return "FNORD";
|
327252 | 1999-12-14 | Martin Nilsson | | return "";
|
9c20b9 | 1996-11-20 | Per Hedbor | | }
|
a8124d | 2000-02-12 | Martin Nilsson | |
|
b3281f | 2000-09-10 | Martin Nilsson | | constant module_type = MODULE_TAG;
|
f0bcef | 2002-06-14 | Martin Nilsson | | constant module_name = "Fnord!";
constant module_doc =
("Adds an extra container tag, <fnord> that's supposed "
"to make things invisible unless the \"fnord\" prestate is present."
"<p>This module is here as an example of how to write a "
"very simple RXML-parsing module.</p>" );
|
327252 | 1999-12-14 | Martin Nilsson | |
TAGDOCUMENTATION;
#ifdef manual
|
ce8fb0 | 2001-09-21 | Johan Sundström | | constant tagdoc=(["fnord":#"<desc type='cont'>The fnord container tag hides its "
|
327252 | 1999-12-14 | Martin Nilsson | | "contents for the user, unless the fnord prestate is used.</desc>"
"<attr name=alt value=string>An alternate text that should be written "
"in place of the hidden text.</attr>"]);
#endif
|