This option remove the possibilitly to close a TAB, but without removing the possibilitly to closing private msg
in the file pfgui.js
find the function createTab
add a new parameter: "createTab: function(name, tabid, type, privee)"
after find this line
--------------------------------
var img = document.createElement('img');
img.setAttribute('src', pfc.res.getFileUrl('images/tab_remove.gif'));
a2.appendChild(img);
--------------------------------
and change it by
-------------------------------
if(privee=="true"){
var img = document.createElement('img');
img.setAttribute('src', pfc.res.getFileUrl('images/tab_remove.gif'));
a2.appendChild(img);
}
-------------------------------
for finish the modification, go in the file pfclient.js and find all createTab
line 174: this.gui.createTab(name, tabid, "ch","false");
line 193: this.gui.createTab(name, tabid, "ch","false");
line 234: this.gui.createTab(name, tabid, "pv","true");
line 255: this.gui.createTab(name, tabid, "pv","true");