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@idonex.se> 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.20 1998/08/01 20:28:23 peter Exp $"; + constant cvs_version = "$Id: killframe.pike,v 1.21 1998/08/10 21:39:31 per Exp $";   constant thread_safe=1;      #include <module.h>   inherit "module";      void create()   {    defvar( "killindex", 1, "Kill trailing 'indexfiles'?", TYPE_FLAG|VAR_MORE,    "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:38:    " from putting your page in a frame.\n\n"    " Will also strip any occurrences of 'indexfiles'\n"    " from the end of the URL."    "</pre>"    ), ({}), 1,    });   }      string tag_killframe( string tag, mapping m, object id )   { +  NOCACHE(); +     if(m->help) return register_module()[2];       if( !id->supports->javascript ) return "";       string javascript;       while( id->misc->orig )    id = id->misc->orig;       // Some versions of IE will choke on :80. (Reload and repeat..)