fix problem with cantake

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@146 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-10-02 23:03:42 +00:00
parent 06e1c2e8eb
commit c4ab3b719b
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ var HtmlGenerationUtils = {
var cellsCount = 2; var cellsCount = 2;
var link = servlet+"?thread="+id; var link = servlet+"?thread="+id;
var gen = '<td class="table" style="padding-left:0px; padding-right:0px;">'; var gen = '<td class="table" style="padding-left:0px; padding-right:0px;">';
gen += HtmlGenerationUtils.popupLink( cantakenow ? link : link+"&viewonly=true", localized[canopen ? 0 : 1], "ImCenter"+id, username, 600, 420, ban); gen += HtmlGenerationUtils.popupLink( (cantakenow||!canview) ? link : link+"&viewonly=true", localized[canopen ? 0 : 1], "ImCenter"+id, username, 600, 420, ban);
gen += '</td><td><img src="'+webimRoot+'/images/free.gif" width="5" height="1" border="0" alt=""></td>'; gen += '</td><td><img src="'+webimRoot+'/images/free.gif" width="5" height="1" border="0" alt=""></td>';
if( canopen ) { if( canopen ) {
gen += '<td width="30" align="center">'; gen += '<td width="30" align="center">';

File diff suppressed because one or more lines are too long