fixed a goof involving getStockMessage being called on the wrong object
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
//
|
||||
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
// Copyright (C) 2001-04 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
//
|
||||
// Contributor(s):
|
||||
|
||||
@@ -40,9 +40,7 @@ rinput.displayLogin = false;
|
||||
html = vlib.queryHTMLRendering(rinput);
|
||||
rc = new TextMessage(html.getStockMessage("user-agreement-title"),
|
||||
html.getStockMessage("user-agreement-subtitle"));
|
||||
rc.text = rinput.getStockMessage("user-agreement");
|
||||
rc.text = html.getStockMessage("user-agreement");
|
||||
rc.addButton(LinkTypes.SERVLET,"new_account_2.js.vs?tgt=" + vlib.encodeURL(target),"ua_accept");
|
||||
rc.addButton(LinkTypes.SERVLET,"top.js.vs","ua_decline");
|
||||
vlib.output(rc);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user