Roxen.git / server / etc / modules / Variable.pmod / Mapping.pike

version» Context lines:

Roxen.git/server/etc/modules/Variable.pmod/Mapping.pike:4:      #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))      constant type = "Mapping"; - int width = 20; + int width = 40;      string transform_to_form( mixed what )   //! Override this function to do the value->form mapping for   //! individual elements in the array.   {    return (string)what;   }      mixed transform_from_form( string what,mapping v )   {
Roxen.git/server/etc/modules/Variable.pmod/Mapping.pike:96:    query = "";    else    query += "&";       // The URL will get a fragment identifier below and since some    // broken browsers (MSIE) incorrectly includes the fragment in    // the last variable value we'll place section before random.    query +=    (section ? ("section=" + section + "&") : "") +    "random=" + random(4949494); +  query += "&_roxen_wizard_id=" + Roxen.get_wizard_id_cookie(id);       nid->misc->moreheads =    ([    "Location":nid->not_query+(nid->misc->path_info||"")+    "?"+query+"#"+path(),    ]);    if( nid->misc->defines )    nid->misc->defines[ " _error" ] = 302;    else if( id->misc->defines )    id->misc->defines[ " _error" ] = 302;