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.115 2009/06/30 10:56:20 jonasw Exp $ + // $Id: module.pmod,v 1.116 2009/07/02 14:12:55 jonasw 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:60:    diff_button =    Roxen.make_container( "a",m,    Roxen.make_container(    button_tag,    ([]),    LOCALE(474,"Show changes")    ) );    }    }    m = ([ "href" : def_url, -  "onclick" : "return confirm('" + LOCALE(0, "Are you sure you want " +  "onclick" : "return confirm('" + LOCALE(1041, "Are you sure you want "    "to restore the default "    "value?") + "');" ]);    return diff_button + " " +    Roxen.make_container( "a",m,    Roxen.make_container( button_tag, ([]),    LOCALE(475, "Restore default value" )+    (oneliner||"") ) );      }