Roxen.git / server / etc / modules / Variable.pmod / module.pmod

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/module.pmod:1: - // $Id: module.pmod,v 1.104 2007/10/17 09:34:41 jonasw Exp $ + // $Id: module.pmod,v 1.105 2007/10/17 11:51:20 mathias Exp $      #include <module.h>   #include <roxen.h>      // Locale macros   //<locale-token project="roxen_config"> LOCALE </locale-token>      #define LOCALE(X,Y) \    ([string](mixed)Locale.translate("roxen_config",roxenp()->locale->get(),X,Y))   
Roxen.git/server/etc/modules/Variable.pmod/module.pmod:882:    }       array(string) verify_set_from_form( mixed new )    {    return ({ 0, [string]new-"\r" });    }       string render_form( RequestID id, void|mapping additional_args )    {    additional_args = additional_args || ([]); -  additional_args->type="string"; +  additional_args->type="text";    return input(path(), (string)query(), width, additional_args);    }   }      // =====================================================================   // Text   // =====================================================================   class Text   //! Text (multi-line string) variable   {