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.12 2000/09/03 02:33:00 per Exp $ + // $Id: module.pmod,v 1.13 2000/09/04 13:52:44 per Exp $      #include <module.h>   #include <roxen.h>      // Locale macros   static inline string getloclang() {    return roxenp()->locale->get();   }      //<locale-token project="roxen_config"> LOCALE </locale-token>
Roxen.git/server/etc/modules/Variable.pmod/module.pmod:345:       string render_view( RequestID id )    //! Return a 'view only' version of this variable.    {    return Roxen.html_encode_string( (string)query() );    }       static string _sprintf( int i )    {    if( i == 'O' ) -  return sprintf( "Variables.%s(%s) [%O]", type, -  (string)name(), -  query() ); +  return sprintf( "Variable.%s(%s)",type,(string)name());    }       static void create(mixed default_value, void|int flags,    void|string|object std_name, void|string|object std_doc)    //! Constructor.    //! Flags is a bitwise or of one or more of    //!    //! VAR_EXPERT Only for experts    //! VAR_MORE Only visible when more-mode is on (default on)    //! VAR_DEVELOPER Only visible when devel-mode is on (default on)