
Moderators: OldWolf, re*s.t.a.r.s.*2
kerphi@ketchup:~/pfc$ svn diff src/phpfreechat.class.php data/public/js/pfcgui.js
Index: src/phpfreechat.class.php
===================================================================
--- src/phpfreechat.class.php (révision 1039)
+++ src/phpfreechat.class.php (copie de travail)
@@ -411,6 +411,7 @@
$labels_to_load =
array( "Do you really want to leave this room ?", // _pfc
+ "Are you sure you want to close this tab ?", // _pfc
"Hide nickname marker", // _pfc
"Show nickname marker", // _pfc
"Hide dates and hours", // _pfc
Index: data/public/js/pfcgui.js
===================================================================
--- data/public/js/pfcgui.js (révision 1039)
+++ data/public/js/pfcgui.js (copie de travail)
@@ -254,7 +254,9 @@
a2.pfc_tabname = name;
a2.pfc_tabtype = type;
a2.onclick = function(){
- var res = confirm(pfc.res.getLabel('Do you really want to leave this room ?'));
+ var msg = (type == 'pv' ? 'Are you sure you want to close this tab ?' :
+ 'Do you really want to leave this room ?');
+ var res = confirm(pfc.res.getLabel(msg));
if (res == true)
pfc.sendRequest('/leave',this.pfc_tabid);
return false;
Return to General Support (v1.x)
Users browsing this forum: No registered users and 25 guests