Roxen.git / server / modules / tags / killframe.pike

version» Context lines:

Roxen.git/server/modules/tags/killframe.pike:5:    *    * Will also remove occuranses of "indexfiles" from the end of the URL.    *    * made by Peter Bortas <peter@roxen.com> Januari -97    *    * Thanks for suggestions and bugreports:    * Barry Treahy <treahy@allianceelec.com>    * Chris Burgess <chris@ibex.co.nz>    */    - constant cvs_version = "$Id: killframe.pike,v 1.27 2000/02/24 05:20:10 nilsson Exp $"; + constant cvs_version = "$Id: killframe.pike,v 1.28 2000/03/09 09:05:18 mast Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";      void create()   {    defvar( "killindex", 1, "Kill trailing 'indexfiles'?", TYPE_FLAG,    "When set, the killframe module will remove occurrences of "    "'indexfiles' (as set in the active directory module) from "
Roxen.git/server/modules/tags/killframe.pike:29:   constant module_type = MODULE_PARSER;   constant module_name = "Killframe tag";   constant module_doc = "This module defines a the tag &lt;killframe&gt; that "    "adds some java script that will prevent others "    "from putting your page in a frame. It can "    "also strip any occurrences of 'indexfiles' "    "from the end of the URL.";      TAGDOCUMENTATION   #ifdef manual - constant tagdoc=(["killframe":"<desc tag>"+module_desc+"</desc>" + constant tagdoc=(["killframe":"<desc tag>"+module_doc+"</desc>"    "<attr name=killindex>Removes trailing index.html from the URL</attr>"]);   #endif      string tag_killframe( string tag, mapping m, object id )   {    NOCACHE();       if( !id->supports->javascript ) return "";       string javascript;