Roxen.git / server / modules / scripting / piketag.pike

version» Context lines:

Roxen.git/server/modules/scripting/piketag.pike:1:   // This is a roxen module. Copyright © 1996 - 1998, Idonex AB.   //   // Adds support for inline pike in documents.   //   // Example:   // <pike>   // return "Hello world!\n";   // </pike>    - constant cvs_version = "$Id: piketag.pike,v 2.1 1999/11/27 07:49:40 per Exp $"; + constant cvs_version = "$Id: piketag.pike,v 2.2 1999/12/21 16:48:31 per Exp $";   constant thread_safe=1;      inherit "roxenlib";   inherit "module";   #include <module.h>;      constant module_type = MODULE_PARSER;   constant module_name = "Pike tag";   constant module_doc =   #"This module adds a new tag, &lt;pike&gt;&lt;/pike&gt;. It makes it
Roxen.git/server/modules/scripting/piketag.pike:62:    return "\n<br><font color=red><b><pre>" + html_encode_string (header) +    "</b></pre></font><pre>\n"+html_encode_string (dump) + "</pre><br>\n";    default:    return "";    }   }      // Helper functions, to be used in the pike script.   class Helpers   { +  inherit "roxenlib";    string data = "";    void output(mixed ... args)    {    if(!sizeof(args))    return;    if(sizeof(args) > 1)    data += sprintf(@args);    else    data += args[0];    }