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

version» Context lines:

Roxen.git/server/modules/tags/writefile.pike:1:   // This is a roxen module which provides file upload and write capabilities.   // Copyright (c) 2001, Stephen R. van den Berg, The Netherlands.   // <srb@cuci.nl>   //   // This module is open source software; you can redistribute it and/or   // modify it under the terms of the GNU General Public License as published   // by the Free Software Foundation; either version 2, or (at your option) any   // later version.   //    + //<locale-token project="mod_writefile">_</locale-token>   #define _(X,Y) _DEF_LOCALE("mod_writefile",X,Y)   #define _ok id->misc->defines[" _ok"]      constant cvs_version = -  "$Id: writefile.pike,v 1.14 2003/03/13 15:13:20 mattias Exp $"; +  "$Id: writefile.pike,v 1.15 2003/06/26 15:59:23 anders Exp $";   constant thread_safe = 1;      #include <module.h>   #include <config.h>      inherit "module";         // ---------------- Module registration stuff ----------------   
Roxen.git/server/modules/tags/writefile.pike:42:    _(4,"Setting this will force all specified chroots and filenames "    "to be relative to the directory this tag is located in. "    "It functions as an enforced dynamic chroot to constrain users in "    "e.g. a user filesystem.")    );   }      static string lastfile;      string status() { -  return sprintf(_(0,"Last file written: %s"),lastfile||"NONE"); +  return sprintf(_(5,"Last file written: %s"),lastfile||"NONE");   }      #define IS(arg) ((arg) && sizeof(arg))      // ------------------- Containers ----------------      class TagWritefile {    inherit RXML.Tag;    constant name = "writefile";    constant flags = RXML.FLAG_DONT_RECOVER;