mirror of
https://github.com/Mibew/java.git
synced 2025-02-02 14:54:43 +03:00
opera fix, safari fix, js names, forbidden name change support, link from logo support
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@121 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
8f97ddfa03
commit
99c36bf687
@ -24,7 +24,7 @@
|
|||||||
<script language="javascript"><!--
|
<script language="javascript"><!--
|
||||||
var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php echo $webimroot ?>",frequency:2,<?php if( $page['user'] ) { ?>user:"true",<?php } ?>threadid:<?php echo $page['ct.chatThreadId'] ?>,token:<?php echo $page['ct.token'] ?> };
|
var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php echo $webimroot ?>",frequency:2,<?php if( $page['user'] ) { ?>user:"true",<?php } ?>threadid:<?php echo $page['ct.chatThreadId'] ?>,token:<?php echo $page['ct.token'] ?> };
|
||||||
//--></script>
|
//--></script>
|
||||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/page_chat2.js"></script>
|
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/chat.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body bgcolor="#FFFFFF" background="<?php echo $webimroot ?>/images/bg.gif" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
|
<body bgcolor="#FFFFFF" background="<?php echo $webimroot ?>/images/bg.gif" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
|
||||||
@ -63,7 +63,10 @@ var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php ec
|
|||||||
</tr>
|
</tr>
|
||||||
<?php if( !$page['ct.company.chatLogoURL'] ) { ?>
|
<?php if( !$page['ct.company.chatLogoURL'] ) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" class="text"><?php echo $page['ct.company.name'] ?></td>
|
<td align="center" class="text">
|
||||||
|
<?php if( $page['webimHost'] ) { ?>
|
||||||
|
<a onclick="window.open('<?php echo $page['webimHost'] ?>');return false;" href="_blank"><?php echo $page['ct.company.name'] ?></a><?php } ?>
|
||||||
|
<?php if( !$page['webimHost'] ) { ?><?php echo $page['ct.company.name'] ?><?php } ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</table>
|
</table>
|
||||||
@ -100,9 +103,10 @@ var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php ec
|
|||||||
<tr>
|
<tr>
|
||||||
<?php if( $page['agent'] ) { ?>
|
<?php if( $page['agent'] ) { ?>
|
||||||
<td class="text" nowrap>
|
<td class="text" nowrap>
|
||||||
<?php echo getlocal("chat.window.chatting_with") ?> <b><a href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.window.chatting_with") ?> <?php echo htmlspecialchars($page['ct.user.name']) ?><?php echo $page['namePostfix'] ?>"><?php echo htmlspecialchars($page['ct.user.name']) ?></a></b><br>
|
<?php echo getlocal("chat.window.chatting_with") ?> <b><?php echo htmlspecialchars($page['ct.user.name']) ?></b>
|
||||||
</td>
|
</td>
|
||||||
<?php } ?><?php if( $page['user'] && $page['canChangeName'] ) { ?>
|
<?php } ?>
|
||||||
|
<?php if( $page['user'] && $page['canChangeName'] ) { ?>
|
||||||
<td class="text" nowrap>
|
<td class="text" nowrap>
|
||||||
<div id="changename1" style="display:<?php echo $page['displ1'] ?>;">
|
<div id="changename1" style="display:<?php echo $page['displ1'] ?>;">
|
||||||
<table cellspacing="0" cellpadding="0" border="0"><tr>
|
<table cellspacing="0" cellpadding="0" border="0"><tr>
|
||||||
@ -115,13 +119,20 @@ var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php ec
|
|||||||
</div>
|
</div>
|
||||||
<div id="changename2" style="display:<?php echo $page['displ2'] ?>;">
|
<div id="changename2" style="display:<?php echo $page['displ2'] ?>;">
|
||||||
<table cellspacing="0" cellpadding="0" border="0"><tr>
|
<table cellspacing="0" cellpadding="0" border="0"><tr>
|
||||||
<td class="text" nowrap><a href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.client.changename") ?>"><?php echo getlocal("chat.client.changename") ?></a></td>
|
<td class="text" nowrap><a id="unamelink" href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.client.changename") ?>"><?php echo $page['ct.user.name'] ?></a></td>
|
||||||
<td width="10" valign="top"><img src='<?php echo $webimroot ?>/images/free.gif' width="10" height="1" border="0" alt="" /></td>
|
<td width="10" valign="top"><img src='<?php echo $webimroot ?>/images/free.gif' width="10" height="1" border="0" alt="" /></td>
|
||||||
<td><a href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.client.changename") ?>"><img src='<?php echo $webimroot ?>/images/buttons/changeuser.gif' width="25" height="25" border="0" alt="" /></a></td>
|
<td><a href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.client.changename") ?>"><img src='<?php echo $webimroot ?>/images/buttons/changeuser.gif' width="25" height="25" border="0" alt="" /></a></td>
|
||||||
</tr></table>
|
</tr></table>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
<?php if( $page['user'] && !$page['canChangeName'] ) { ?>
|
||||||
|
<td class="text" nowrap>
|
||||||
|
<?php echo getlocal("chat.client.name") ?> <?php echo $page['ct.user.name'] ?>
|
||||||
|
</td>
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
|
|
||||||
<?php if( $page['agent'] ) { ?>
|
<?php if( $page['agent'] ) { ?>
|
||||||
<td width="10" valign="top"><img src='<?php echo $webimroot ?>/images/free.gif' width="10" height="1" border="0" alt="" /></td>
|
<td width="10" valign="top"><img src='<?php echo $webimroot ?>/images/free.gif' width="10" height="1" border="0" alt="" /></td>
|
||||||
<td><a class="closethread" href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.window.close_title") ?>">
|
<td><a class="closethread" href="javascript:void(0)" onclick="return false;" title="<?php echo getlocal("chat.window.close_title") ?>">
|
||||||
@ -148,10 +159,11 @@ var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php ec
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td height="15" align="right">
|
<td height="15" align="right">
|
||||||
|
<div id="engineinfo" style="display:none;">
|
||||||
|
</div>
|
||||||
<div id="typingdiv" style="display:none;">
|
<div id="typingdiv" style="display:none;">
|
||||||
<?php echo getlocal("typing.remote") ?>
|
<?php echo getlocal("typing.remote") ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@ -177,7 +189,7 @@ var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php ec
|
|||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#A1A1A1"><img src='<?php echo $webimroot ?>/images/free.gif' width="1" height="1" border="0" alt="" /></td>
|
<td bgcolor="#A1A1A1"><img src='<?php echo $webimroot ?>/images/free.gif' width="1" height="1" border="0" alt="" /></td>
|
||||||
<td width="100%" height="100%" bgcolor="#FFFFFF" valign="top">
|
<td width="100%" height="100%" bgcolor="#FFFFFF" valign="top">
|
||||||
<iframe id="chatwnd" width="100%" height="100%" src='<?php echo $webimroot ?>/images/blank.html' frameborder="0" style="overflow:auto;">
|
<iframe id="chatwnd" width="100%" height="100%" src="<?php if( $page['neediframesrc'] ) { ?><?php echo $webimroot ?>/images/blank.html<?php } ?>" frameborder="0" style="overflow:auto;">
|
||||||
Sorry, your browser does not support iframes; try a browser that supports W3 standards.
|
Sorry, your browser does not support iframes; try a browser that supports W3 standards.
|
||||||
</iframe>
|
</iframe>
|
||||||
</td>
|
</td>
|
||||||
@ -196,7 +208,12 @@ var threadParams = { servl:"<?php echo $webimroot ?>/thread.php",wroot:"<?php ec
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td width="20" valign="top"><img src='<?php echo $webimroot.getlocal("image.chat.message") ?>' width="20" height="85" border="0" alt="" /></td>
|
<td width="20" valign="top"><img src='<?php echo $webimroot.getlocal("image.chat.message") ?>' width="20" height="85" border="0" alt="" /></td>
|
||||||
|
<?php if( $page['isOpera95'] ) { ?>
|
||||||
|
<td width="100%" height="60%" valign="top" id="msgwndtd">
|
||||||
|
<?php } ?>
|
||||||
|
<?php if( !$page['isOpera95'] ) { ?>
|
||||||
<td width="100%" height="100" valign="top" id="msgwndtd">
|
<td width="100%" height="100" valign="top" id="msgwndtd">
|
||||||
|
<?php } ?>
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="3" bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td><td width="100%" height="100%" bgcolor="#FFFFFF" valign="top">
|
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"><tr><td colspan="3" bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td><td width="100%" height="100%" bgcolor="#FFFFFF" valign="top">
|
||||||
<textarea id="msgwnd" class="message" tabindex="0"></textarea>
|
<textarea id="msgwnd" class="message" tabindex="0"></textarea>
|
||||||
</td><td bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td colspan="3" bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr></table>
|
</td><td bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr><tr><td colspan="3" bgcolor="#A1A1A1"><img src="<?php echo $webimroot ?>/images/free.gif" width="1" height="1" border="0" alt="" /></td></tr></table>
|
||||||
|
@ -30,7 +30,7 @@ var updaterOptions = {
|
|||||||
agentservl:"<?php echo $webimroot ?>/operator/agent.php",
|
agentservl:"<?php echo $webimroot ?>/operator/agent.php",
|
||||||
noclients:"<?php echo getlocal("clients.no_clients") ?>" };
|
noclients:"<?php echo getlocal("clients.no_clients") ?>" };
|
||||||
//--></script>
|
//--></script>
|
||||||
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/page_pendingclients2.js"></script>
|
<script type="text/javascript" language="javascript" src="<?php echo $webimroot ?>/js/users.js"></script>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="<?php echo $webimroot ?>/images/favicon.ico" type="image/x-icon"/>
|
<link rel="shortcut icon" href="<?php echo $webimroot ?>/images/favicon.ico" type="image/x-icon"/>
|
||||||
<title>
|
<title>
|
||||||
|
Loading…
Reference in New Issue
Block a user