rem: if (req.data.cancel) { res.redirect(this._parent.href()); } else if (req.data.register) { 
add: if (req.postParams.register) { 
context: MemberMgr.prototype.register_action = function() {   if (req.data.cancel) {      res.redirect(this._parent.href());   } else if (req.data.register) {            try {         var user = User.register(req.data);         // Subscribe user to this site if public         if (res.handlers.site && res.handlers.site.online) {            this.add(new Membership(user));         }         var title = getTitle();         if (root.sys_email) {            var sp = {name: user.name};            sendMail(root.sys_email, user.email,                   gettext('Welcome to "{0}"!', title),                  this.renderSkinAsString("mailregconfirm", sp));         }         var url = session.data.referrer || this._parent.href();         delete session.data.referrer;         res.message = gettext('Welcome to "{0}", {1}. Have fun!',               title, user.name);         res.redirect(url);      } catch (ex) {         app.log(ex);         res.message = ex;      }   }   session.data.token = User.getSalt();   res.data.action = this.href(req.action);   res.data.title = gettext("Login");   res.data.body = this.renderSkinAsString("register");   this._parent.renderSkin("page");   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/d46237ae5555045222f493137c5c51dbcd7b4033/MemberMgr.js/clean/code/MemberMgr/MemberMgr.js