rem: if (this._parent.getContext() === "Layout" && path.layout !== this.parent) { return; } if (session.user) { try { this.checkEdit(session.user, res.data.memberlevel); } catch (deny) { return; } Html.openLink({href: this.href("edit")}); if (param.image && this.parent.images.get(param.image)) renderImage(this.parent.images.get(param.image), param); else res.write(param.text ? param.text : getMessage("generic.edit")); Html.closeLink(); } return; 
add: res.push(); if (param.image && this.parent.images.get(param.image)) { renderImage(this.parent.images.get(param.image), param); } else { res.write(param.text || gettext("edit")); } return this.link_macro(param, "edit", res.pop()); 
context: Image.prototype.editlink_macro = function(param) {   if (this._parent.getContext() === "Layout" && path.layout !== this.parent) {      return;   }   if (session.user) {      try {         this.checkEdit(session.user, res.data.memberlevel);      } catch (deny) {         return;      }      Html.openLink({href: this.href("edit")});      if (param.image && this.parent.images.get(param.image))         renderImage(this.parent.images.get(param.image), param);      else         res.write(param.text ? param.text : getMessage("generic.edit"));      Html.closeLink();   }   return;};
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/83da4c933b2bad9143c64c71f663a04406c91348/Image.js/clean/compatibility/Image/Image.js