Hi,
We are considering about using Zimbra Open Source. Nowadays, we are preparing the system and our structure.. We have approximetely 2000 user. So we need to decrease the database size as possible as we can.. We removed the add image button from address book part. We did the fallowings;
Make the fallowing changes on /opt/zimbra/jetty/webapps/zimbra/
js/Contacts_all.
js
Change the fallowing lines that onclick events equals to “false”
{ id: "VIEW_IMAGE", ignore: true, onclick: "false", visible: "get('IMAGE')" },
{ id: "REMOVE_IMAGE", ignore: true, onclick: "false", visible: "get('IMAGE')" },
Under the ZmEditContactViewImage = function(params) function, change the el.innerHTML defination;
el.innerHTML = [
"<div style='width:48;height:48'>",
"<img id='",this._htmlElId,"_img' width='48' height='48'>",
"</div>"
].join("");
Under the ZmEditContactViewImage = function(params) function, remove the fallowing lines;
this._badgeEl = document.getElementById(this._htmlElId+"_badge");
this._setMouseEvents();
this.addListener(DwtEvent.ONMOUSEOVER, new AjxListener(Dwt.addClass, [el,DwtControl.HOVER]));
this.addListener(DwtEvent.ONMOUSEOUT, new AjxListener(Dwt.delClass, [el,DwtControl.HOVER]));
this.addListener(DwtEvent.ONMOUSEUP, new AjxListener(this, this._chooseImage));
Under the ZmEditContactViewImage.prototype.setValue = function(value) function, remove the fallowing lines;
this._badgeEl.className = "ImgAdd";
this._badgeEl.className = "ImgEditBadge";
cp Contacts_all.
js Contacts_all.
js.changed
gzip Contacts_all.
js
mv Contacts_all.
js.gz Contacts_all.zgz
cp Contacts_all.
js.changed Contacts_all.
js
chown zimbra:zimbra Contacts_all.
js
Delete all cookies from browser
Login again your username and password