display image next to user name

If the user name is empty you can still view the chat log by clicking
the image.
This commit is contained in:
ha99y 2013-09-19 22:57:03 -07:00
parent 90e644e9eb
commit 45861f19b5

View File

@ -84,7 +84,7 @@ if( $page['pagination.items'] ) {
foreach( $page['pagination.items'] as $chatthread ) { ?> foreach( $page['pagination.items'] as $chatthread ) { ?>
<tr> <tr>
<td> <td>
<a href="<?php echo $webimroot ?>/operator/threadprocessor.php?threadid=<?php echo $chatthread->id ?>" target="_blank" onclick="this.newWindow = window.open('<?php echo $webimroot ?>/operator/threadprocessor.php?threadid=<?php echo $chatthread->id ?>', '', 'toolbar=0,scrollbars=1,location=0,status=1,menubar=0,width=720,height=520,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><?php echo topage(htmlspecialchars($chatthread->userName)) ?></a> <a href="<?php echo $webimroot ?>/operator/threadprocessor.php?threadid=<?php echo $chatthread->id ?>" target="_blank" onclick="this.newWindow = window.open('<?php echo $webimroot ?>/operator/threadprocessor.php?threadid=<?php echo $chatthread->id ?>', '', 'toolbar=0,scrollbars=1,location=0,status=1,menubar=0,width=720,height=520,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="<?php echo $webimroot ?>/images/tbliclread.gif" width="15" height="15" border="0" alt="<?php echo getlocal("page.analysis.search.head_messages"); ?>"><?php echo topage(htmlspecialchars($chatthread->userName)) ?></a>
</td> </td>
<td> <td>
<?php echo get_user_addr(topage($chatthread->remote)) ?> <?php echo get_user_addr(topage($chatthread->remote)) ?>