Branch: Tag:

2000-02-10

2000-02-10 07:13:28 by Martin Nilsson <mani@lysator.liu.se>

Replaced register_module with constants.

Rev: server/modules/scripting/fpscript.pike:1.8
Rev: server/modules/scripting/pikescript.pike:1.57
Rev: server/modules/scripting/piketag.pike:2.3
Rev: server/modules/tags/awizard.pike:1.15
Rev: server/modules/tags/indirect_href.pike:1.11
Rev: server/modules/tags/killframe.pike:1.26
Rev: server/modules/tags/lisp.pike:1.15
Rev: server/modules/tags/obox.pike:1.21
Rev: server/modules/tags/sed.pike:1.5
Rev: server/modules/tags/tablify.pike:1.42
Rev: server/modules/tags/wizard_tag.pike:1.23

6:    * made by Mattias Wingstedt <peter@idonex.se> -96    */    - constant cvs_version = "$Id: indirect_href.pike,v 1.10 1999/12/09 21:40:56 nilsson Exp $"; + constant cvs_version = "$Id: indirect_href.pike,v 1.11 2000/02/10 07:13:28 nilsson Exp $";   constant thread_safe=1;   #include <module.h>   
33:    "namechange to take effect)" );   }    - array (mixed) register_module() - { -  return ({ MODULE_PARSER, "Indirect href", + constant module_type = MODULE_PARSER; + constant module_name = "Indirect href"; + constant module_doc =    "Indirect href. Adds a new container <tt>&lt;ai&gt;</tt>"    ", with a single argument, "    "name=string. It then uses the name to index a database of "
45:    "is used, a random link will be selected from the database. "    "Example:<pre>"    " roxen=http://www.roxen.com/\n" -  " idonex=http://www.idonex.se/</pre>", }); - } +  " idonex=http://www.idonex.se/</pre>";      // Dynamic tagname, hence dynamic documentation.   mapping tagdocumentation() {