simplicity 1.0.2 by Sheldmandu, initial commit
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@528 c66351dc-e62f-0410-b875-e3a5c0b9693f
197
src/messenger/webim/styles/simplicity/chat.css
Normal file
@ -0,0 +1,197 @@
|
|||||||
|
BODY {
|
||||||
|
margin: 0px;
|
||||||
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 10px;
|
||||||
|
background: #FFFFFF;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
FORM {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
TABLE {
|
||||||
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
A, A:active, A:link, A:visited {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #BB0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
A:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
color: #BB0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
H1 {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #000000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
H2 {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #000000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
H3 {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #000000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
UL {
|
||||||
|
margin-top: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#greybg {
|
||||||
|
background: #EFEFEF;
|
||||||
|
}
|
||||||
|
|
||||||
|
#whitebg {
|
||||||
|
background: #FFFFFF;
|
||||||
|
}
|
||||||
|
|
||||||
|
#toolbar {
|
||||||
|
background: #E3E3E3 url('images/toolbar_bg.jpg') repeat-x;
|
||||||
|
border-bottom: solid 1px #CCCCCC;
|
||||||
|
}
|
||||||
|
|
||||||
|
#typingdiv, #engineinfo {
|
||||||
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #BB0000;
|
||||||
|
margin: 0px 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chathistory {
|
||||||
|
width: 100%;
|
||||||
|
height: 300px;
|
||||||
|
border: solid 1px #CCCCCC;
|
||||||
|
overflow:auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
TEXTAREA.message {
|
||||||
|
margin: 0px;
|
||||||
|
border: solid 1px #CCCCCC;
|
||||||
|
padding: 0px 3px;
|
||||||
|
width: 100%;
|
||||||
|
height: 50px;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message {
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
padding: 3px;
|
||||||
|
line-height: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.time {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.nuser {
|
||||||
|
color: #B11E23;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.nagent {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.minf {
|
||||||
|
color: #1E48B1;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.mevent {
|
||||||
|
color: #A1A1A1;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.mhidden {
|
||||||
|
color: #A1A1A1;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message span.mconn {
|
||||||
|
color: #A1A1A1;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submit {
|
||||||
|
padding-top: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #4C4C4C;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text span.grey {
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#form {
|
||||||
|
width: 100%;
|
||||||
|
background: #EFEFEF;
|
||||||
|
border: solid 1px #CCCCCC;
|
||||||
|
}
|
||||||
|
|
||||||
|
#form TD.text {
|
||||||
|
width: 1%;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
#errorimage {
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.field {
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
padding-left: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown {
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button A {
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
font-size: 11px;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 10px;
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
|
|
||||||
|
#footer A {
|
||||||
|
color: #999999;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
BIN
src/messenger/webim/styles/simplicity/images/buttons/back.gif
Normal file
After Width: | Height: | Size: 690 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/change.gif
Normal file
After Width: | Height: | Size: 682 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/close.gif
Normal file
After Width: | Height: | Size: 454 B |
After Width: | Height: | Size: 454 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/email.gif
Normal file
After Width: | Height: | Size: 469 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/exec.gif
Normal file
After Width: | Height: | Size: 681 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/history.gif
Normal file
After Width: | Height: | Size: 682 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/nosound.gif
Normal file
After Width: | Height: | Size: 727 B |
After Width: | Height: | Size: 689 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/refresh.gif
Normal file
After Width: | Height: | Size: 669 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/send.jpg
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
src/messenger/webim/styles/simplicity/images/buttons/sound.gif
Normal file
After Width: | Height: | Size: 692 B |
BIN
src/messenger/webim/styles/simplicity/images/buttons/ssl.gif
Normal file
After Width: | Height: | Size: 685 B |
BIN
src/messenger/webim/styles/simplicity/images/error.gif
Normal file
After Width: | Height: | Size: 677 B |
BIN
src/messenger/webim/styles/simplicity/images/toolbar_bg.jpg
Normal file
After Width: | Height: | Size: 313 B |
@ -0,0 +1 @@
|
|||||||
|
Deny from all
|
@ -0,0 +1 @@
|
|||||||
|
${include:chat.tpl}
|
@ -0,0 +1 @@
|
|||||||
|
${include:chat.tpl}
|
160
src/messenger/webim/styles/simplicity/templates/chat.tpl
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.window.title.agent}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
<script type="text/javascript" language="javascript" src="${webimroot}/js/common.js?v=160a1"></script>
|
||||||
|
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>
|
||||||
|
<script language="javascript">
|
||||||
|
<!--
|
||||||
|
var threadParams = { servl:"${webimroot}/thread.php",wroot:"${webimroot}",frequency:2,${if:user}user:"true",${endif:user}threadid:${page:ct.chatThreadId},token:${page:ct.token},cssfile:"${tplroot}/chat.css",ignorectrl:${page:ignorectrl} };
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" language="javascript" src="${webimroot}/js/chat.js?v=160a1"></script>
|
||||||
|
</head>
|
||||||
|
<style>
|
||||||
|
.isound { background: url(${tplroot}/images/buttons/sound.gif) no-repeat; width: 19px; height: 19px; }
|
||||||
|
.inosound { background: url(${tplroot}/images/buttons/nosound.gif) no-repeat; width: 19px; height: 19px; }
|
||||||
|
</style>
|
||||||
|
<body>
|
||||||
|
<div id="greybg">
|
||||||
|
<table id="toolbar" cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${if:agent}
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0"><tr>
|
||||||
|
<td>
|
||||||
|
${if:historyParams}
|
||||||
|
${msg:chat.window.chatting_with}
|
||||||
|
<a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onClick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=703,height=380,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;">${page:ct.user.name}</a>
|
||||||
|
${else:historyParams}
|
||||||
|
${msg:chat.window.chatting_with} <b>${page:ct.user.name}</b>
|
||||||
|
${endif:historyParams}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a class="closethread" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.close_title}"><img src="${tplroot}/images/buttons/close.gif" border="0" alt="${msg:chat.window.close_title}" altKey="chat.window.close_link_text"/></a>
|
||||||
|
</td>
|
||||||
|
</tr></table>
|
||||||
|
${endif:agent}
|
||||||
|
${if:user}
|
||||||
|
${if:canChangeName}
|
||||||
|
<div id="changename1" style="display:${page:displ1};">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0">
|
||||||
|
<tr>
|
||||||
|
<td class="text" nowrap="nowrap">${msg:chat.client.name}</td>
|
||||||
|
<td><input id="uname" type="text" size="12" value="${page:ct.user.name}" class="field"></td>
|
||||||
|
<td><a href="javascript:void(0)" onClick="return false;" title="${msg:chat.client.changename}"><img src="${tplroot}/images/buttons/exec.gif" border="0" alt="${msg:chat.client.changename}" /></a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div id="changename2" style="display:${page:displ2};">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0">
|
||||||
|
<tr>
|
||||||
|
<td class="text" nowrap="nowrap"><a id="unamelink" href="javascript:void(0)" onClick="return false;" title="${msg:chat.client.changename}">${page:ct.user.name}</a></td>
|
||||||
|
<td><a href="javascript:void(0)" onClick="return false;" title="${msg:chat.client.changename}"><img src="${tplroot}/images/buttons/change.gif" border="0" alt="${msg:chat.client.changename}" /></a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
${else:canChangeName}
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0"><tr><td>
|
||||||
|
${msg:chat.client.name} ${page:ct.user.name}
|
||||||
|
</td></tr></table>
|
||||||
|
${endif:canChangeName}
|
||||||
|
${endif:user}
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0"><tr>
|
||||||
|
${if:user}
|
||||||
|
<td>
|
||||||
|
<a href="${page:mailLink}&style=${styleid}" target="_blank" title="${msg:chat.window.toolbar.mail_history}" onClick="this.newWindow = window.open('${page:mailLink}&style=${styleid}', 'ForwardMail', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=603,height=254,resizable=0'); if (this.newWindow != null) {this.newWindow.focus();this.newWindow.opener=window;}return false;"><img src="${tplroot}/images/buttons/email.gif" border="0" alt="${msg:chat.window.toolbar.mail_history}"/></a>
|
||||||
|
</td>
|
||||||
|
${endif:user}
|
||||||
|
${if:agent}
|
||||||
|
${if:canpost}
|
||||||
|
<td>
|
||||||
|
<a href="${page:redirectLink}&style=${styleid}" title="${msg:chat.window.toolbar.redirect_user}"><img src="${tplroot}/images/buttons/redirect.gif" border="0" alt="${msg:chat.window.toolbar.redirect_user}" /></a>
|
||||||
|
</td>
|
||||||
|
${endif:canpost}
|
||||||
|
${if:historyParams}
|
||||||
|
<td>
|
||||||
|
<a href="${page:historyParamsLink}" target="_blank" title="${msg:page.analysis.userhistory.title}" onClick="this.newWindow = window.open('${page:historyParamsLink}', 'UserHistory', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=720,height=480,resizable=1');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src="${tplroot}/images/buttons/history.gif" border="0" alt="${msg:page.analysis.userhistory.title}"/></a>
|
||||||
|
</td>
|
||||||
|
${endif:historyParams}
|
||||||
|
${endif:agent}
|
||||||
|
<td>
|
||||||
|
<a id="togglesound" href="javascript:void(0)" onClick="return false;" title="Sound On/Off"><img id="soundimg" class="isound" src="${webimroot}/images/free.gif" border="0" alt="Sound On/Off" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a id="refresh" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.toolbar.refresh}"><img src="${tplroot}/images/buttons/refresh.gif" border="0" alt="${msg:chat.window.toolbar.refresh}" /></a>
|
||||||
|
</td>
|
||||||
|
${if:sslLink}
|
||||||
|
<td>
|
||||||
|
<a href="${page:sslLink}&style=${styleid}" title="SSL" ><img src="${tplroot}/images/buttons/ssl.gif" border="0" alt="SSL"/></a>
|
||||||
|
</td>
|
||||||
|
${endif:sslLink}
|
||||||
|
<td>
|
||||||
|
<a class="closethread" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.close_title}"><img src="${tplroot}/images/buttons/close.gif" border="0" alt="${msg:chat.window.close_title}" altKey="chat.window.close_link_text"/></a>
|
||||||
|
</td>
|
||||||
|
</tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="chat" cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<div id="engineinfo" style="display:none;"></div>
|
||||||
|
<div id="typingdiv" style="display:none;">${msg:typing.remote}</div>
|
||||||
|
</td>
|
||||||
|
<td width="100"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
<iframe id="chatwnd" class="chathistory" src="${if:neediframesrc}${webimroot}/images/blank.html${endif:neediframesrc}" frameborder="0">
|
||||||
|
Sorry, your browser does not support iframes; try a browser that supports W3C standards.
|
||||||
|
</iframe>
|
||||||
|
</td>
|
||||||
|
<td width="100" valign="top">
|
||||||
|
<div id="avatarwnd"></div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
${if:canpost}
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
<textarea id="msgwnd" class="message" tabindex="0"></textarea>
|
||||||
|
</td>
|
||||||
|
<td width="100" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0" id="postmessage">
|
||||||
|
<tr>
|
||||||
|
<td class="submit">
|
||||||
|
<a id="sndmessagelnk" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.send_message}"><img src="${tplroot}/images/buttons/send.jpg" border="0" alt="${msg:chat.window.send_message_short,send_shortcut}" /></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${if:agent}
|
||||||
|
<select id="predefined" size="1" class="dropdown">
|
||||||
|
<option>${msg:chat.window.predefined.select_answer}</option>
|
||||||
|
${page:predefinedAnswers}
|
||||||
|
</select>
|
||||||
|
${endif:agent}
|
||||||
|
</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
${endif:canpost}
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
100
src/messenger/webim/styles/simplicity/templates/chatsimple.tpl
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.window.title.user}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
<script type="text/javascript" language="javascript" src="${webimroot}/js/brws.js?v=160a1"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="greybg">
|
||||||
|
<table id="toolbar" cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${if:user}
|
||||||
|
${if:canChangeName}
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0"><tr>
|
||||||
|
<td class="text" nowrap>${msg:chat.client.name}</td>
|
||||||
|
<td><input id="uname" type="text" size="12" value="${page:ct.user.name}" class="field"></td>
|
||||||
|
<td><a href="javascript:void(0)" onClick="return false;" title="${msg:chat.client.changename}"><img src='${tplroot}/images/buttons/exec.gif' border="0" alt="${msg:chat.client.changename}" /></a></td>
|
||||||
|
</tr></table>
|
||||||
|
${else:canChangeName}
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0"><tr><td>
|
||||||
|
${msg:chat.client.name} ${page:ct.user.name}
|
||||||
|
</td></tr></table>
|
||||||
|
${endif:canChangeName}
|
||||||
|
${endif:user}
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0"><tr>
|
||||||
|
<td>
|
||||||
|
<a href="${page:mailLink}" target="_blank" title="${msg:chat.window.toolbar.mail_history}" onClick="this.newWindow = window.open('${page:mailLink}', 'ForwardMail', 'toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=603,height=254,resizable=0');this.newWindow.focus();this.newWindow.opener=window;return false;"><img src='${tplroot}/images/buttons/email.gif' border="0" alt="${msg:chat.window.toolbar.mail_history}" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a id="refresh" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.toolbar.refresh}"><img src='${tplroot}/images/buttons/refresh.gif' border="0" alt="${msg:chat.window.toolbar.refresh}" /></a>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a class="closethread" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.close_title}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:chat.window.close_title}" altKey="chat.window.close_link_text"/></a>
|
||||||
|
</td>
|
||||||
|
</tr></table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="chat" cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<iframe id="chatwnd" class="chathistory" name="chatwndiframe" src="${webimroot}/thread.php?act=refresh&thread=${page:ct.chatThreadId}&token=${page:ct.token}&html=on&user=true" frameborder="0">
|
||||||
|
Sorry, your browser does not support iframes; try a browser that supports W3C standards.
|
||||||
|
</iframe>
|
||||||
|
</td>
|
||||||
|
<td width="100" valign="top"></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<form id="messageform" method="post" action="${webimroot}/thread.php" target="chatwndiframe" width="565" height="85">
|
||||||
|
<input type="hidden" name="act" value="post"/><input type="hidden" name="html" value="on"/><input type="hidden" name="thread" value="${page:ct.chatThreadId}"/><input type="hidden" name="token" value="${page:ct.token}"/><input type="hidden" name="user" value="true"/>
|
||||||
|
<input type="hidden" id="message" name="message" value=""/>
|
||||||
|
<textarea id="messagetext" class="message" tabindex="0"></textarea>
|
||||||
|
</form>
|
||||||
|
</td>
|
||||||
|
<td width="100" valign="top">
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0" id="postmessage">
|
||||||
|
<tr>
|
||||||
|
<td class="submit">
|
||||||
|
<a id="msgsend1" href="javascript:void(0)" onClick="return false;" title="${msg:chat.window.send_message}"><img src="${tplroot}/images/buttons/send.jpg" border="0" alt="${msg:chat.window.send_message_short,send_shortcut}" /></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript"><!--
|
||||||
|
function sendmessage(){
|
||||||
|
getEl('message').value = getEl('messagetext').value;
|
||||||
|
getEl('messagetext').value = '';
|
||||||
|
getEl('messageform').submit();
|
||||||
|
}
|
||||||
|
getEl('messagetext').onkeydown = function(k) {
|
||||||
|
if( k ){k=k.which; } else { k=event.keyCode; }
|
||||||
|
if( (k==13) || (k==10) ) {
|
||||||
|
sendmessage();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
getEl('msgsend1').onclick = function() {
|
||||||
|
sendmessage();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
//--></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
47
src/messenger/webim/styles/simplicity/templates/error.tpl
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.error_page.title}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1>${msg:chat.error_page.head}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table id="form" cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${harderrors}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:chat.error_page.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:chat.error_page.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:chat.error_page.close}">${msg:chat.error_page.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,83 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:leavemessage.title}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<form name="leaveMessageForm" method="post" action="${webimroot}/leavemessage.php">
|
||||||
|
<input type="hidden" name="style" value="${styleid}"/>
|
||||||
|
<input type="hidden" name="info" value="${page:info}"/>
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<h1>${msg:leavemessage.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table id="form" cellpadding="0" cellspacing="5" border="0">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
${msg:leavemessage.descr}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
${if:errors}
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td valign="top"><img id="errorimage" src="${tplroot}/images/error.gif" border="0" alt=""/></td>
|
||||||
|
<td>${errors}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
${endif:errors}
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:form.field.email}:</td>
|
||||||
|
<td><input type="text" name="email" size="50" value="${form:email}" class="field"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:form.field.name}:</td>
|
||||||
|
<td><input type="text" name="name" size="50" value="${form:name}" class="field"/></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="text" valign="top">${msg:form.field.message}:</td>
|
||||||
|
<td><textarea name="message" class="message" tabindex="0">${form:message}</textarea></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:document.leaveMessageForm.submit();" title="${msg:leavemessage.perform}"><img src="${tplroot}/images/buttons/exec.gif" border="0" alt="${msg:leavemessage.perform}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:document.leaveMessageForm.submit();" title="${msg:leavemessage.perform}">${msg:leavemessage.perform}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:page.chat.old_browser.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:page.chat.old_browser.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:page.chat.old_browser.close}">${msg:page.chat.old_browser.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,47 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:leavemessage.sent.title}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1>${msg:leavemessage.sent.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table id="form" cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${msg:leavemessage.sent.message}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:chat.mailthread.sent.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:chat.mailthread.sent.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:chat.mailthread.sent.close}">${msg:chat.mailthread.sent.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
73
src/messenger/webim/styles/simplicity/templates/mail.tpl
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.window.title.user}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<form name="mailThreadForm" method="post" action="${webimroot}/mail.php">
|
||||||
|
<input type="hidden" name="style" value="${styleid}"/>
|
||||||
|
<input type="hidden" name="thread" value="${page:ct.chatThreadId}"/>
|
||||||
|
<input type="hidden" name="token" value="${page:ct.token}"/>
|
||||||
|
<input type="hidden" name="level" value="${page:level}"/>
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<h1>${msg:mailthread.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table id="form" cellpadding="0" cellspacing="5" border="0">
|
||||||
|
${if:errors}
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td valign="top"><img id="errorimage" src="${tplroot}/images/error.gif" border="0" alt=""/></td>
|
||||||
|
<td>${errors}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
${endif:errors}
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:mailthread.enter_email}</td>
|
||||||
|
<td><input type="text" name="email" size="20" value="${form:email}" class="field"/></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:document.mailThreadForm.submit();" title="${msg:mailthread.perform}"><img src="${tplroot}/images/buttons/exec.gif" border="0" alt="${msg:mailthread.perform}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:document.mailThreadForm.submit();" title="${msg:leavemessage.perform}">${msg:mailthread.perform}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:mailthread.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:mailthread.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:mailthread.close}">${msg:mailthread.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
48
src/messenger/webim/styles/simplicity/templates/mailsent.tpl
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.window.title.user}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1>${msg:chat.mailthread.sent.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table id="form" cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${msg:chat.mailthread.sent.content,email}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:chat.mailthread.sent.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:chat.mailthread.sent.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:chat.mailthread.sent.close}">${msg:chat.mailthread.sent.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
44
src/messenger/webim/styles/simplicity/templates/nochat.tpl
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:page.chat.old_browser.title}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table id="form" cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${msg:page.chat.old_browser.problem}
|
||||||
|
${msg:page.chat.old_browser.list}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:page.chat.old_browser.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:page.chat.old_browser.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:page.chat.old_browser.close}">${msg:page.chat.old_browser.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
67
src/messenger/webim/styles/simplicity/templates/redirect.tpl
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.window.title.agent}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<h1>${msg:chat.redirect.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<h2>${msg:chat.redirect.choose}</h2>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table id="form" cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${if:redirectToAgent}
|
||||||
|
${msg:chat.redirect.operator}
|
||||||
|
<ul class="agentlist">
|
||||||
|
${page:redirectToAgent}
|
||||||
|
</ul>
|
||||||
|
${endif:redirectToAgent}
|
||||||
|
${if:redirectToGroup}
|
||||||
|
${msg:chat.redirect.group}<br/>
|
||||||
|
<ul class="agentlist">
|
||||||
|
${page:redirectToGroup}
|
||||||
|
</ul>
|
||||||
|
${endif:redirectToGroup}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${pagination}
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:history.back();" title="${msg:chat.redirect.back}"><img src="${tplroot}/images/buttons/back.gif" border="0" alt="${msg:chat.redirect.back}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:history.back();" title="${msg:chat.redirect.back}">${msg:chat.redirect.back}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,48 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:chat.window.title.agent}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<h1>${msg:chat.redirected.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table id="form" cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
${page:message}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:chat.redirected.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:chat.redirected.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:chat.redirected.close}">${msg:chat.redirected.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
98
src/messenger/webim/styles/simplicity/templates/survey.tpl
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>${msg:presurvey.title}</title>
|
||||||
|
<link rel="shortcut icon" href="${webimroot}/images/favicon.ico" type="image/x-icon"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="${tplroot}/chat.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="whitebg">
|
||||||
|
<form name="surveyForm" method="post" action="${webimroot}/client.php">
|
||||||
|
<input type="hidden" name="style" value="${styleid}"/>
|
||||||
|
<input type="hidden" name="info" value="${form:info}"/>
|
||||||
|
<input type="hidden" name="referrer" value="${page:referrer}"/>
|
||||||
|
<input type="hidden" name="survey" value="on"/>
|
||||||
|
${ifnot:showemail}<input type="hidden" name="email" value="${form:email}"/>${endif:showemail}
|
||||||
|
${ifnot:groups}${if:formgroupid}<input type="hidden" name="group" value="${form:groupid}"/>${endif:formgroupid}${endif:groups}
|
||||||
|
${ifnot:showmessage}<input type="hidden" name="message" value="${form:message}"/>${endif:showmessage}
|
||||||
|
<table cellpadding="0" cellspacing="5" border="0" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<h1>${msg:presurvey.title}</h1>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table id="form" cellpadding="0" cellspacing="5" border="0">
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
${msg:presurvey.intro}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
${if:errors}
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">
|
||||||
|
<table cellspacing="0" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td valign="top"><img id="errorimage" src="${tplroot}/images/error.gif" border="0" alt=""/></td>
|
||||||
|
<td>${errors}</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
${endif:errors}
|
||||||
|
${if:groups}
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:presurvey.department}</td>
|
||||||
|
<td><select name="group">${page:groups}</select></td>
|
||||||
|
</tr>
|
||||||
|
${endif:groups}
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:presurvey.name}</td>
|
||||||
|
<td><input type="text" name="name" size="50" value="${form:name}" class="field" ${ifnot:showname}disabled="disabled"${endif:showname}/></td>
|
||||||
|
</tr>
|
||||||
|
${if:showemail}
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:presurvey.mail}</td>
|
||||||
|
<td><input type="text" name="email" size="50" value="${form:email}" class="field"/></td>
|
||||||
|
</tr>
|
||||||
|
${endif:showemail}
|
||||||
|
${if:showmessage}
|
||||||
|
<tr>
|
||||||
|
<td class="text">${msg:presurvey.question}:</td>
|
||||||
|
<td><textarea name="message" class="message" tabindex="0" cols="45" rows="2" style="overflow:auto">${form:message}</textarea></td>
|
||||||
|
</tr>
|
||||||
|
${endif:showmessage}
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:document.surveyForm.submit();" title="${msg:presurvey.submit}"><img src="${tplroot}/images/buttons/exec.gif" border="0" alt="${msg:presurvey.submit}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:document.surveyForm.submit();" title="${msg:presurvey.submit}">${msg:presurvey.submit}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td align="right">
|
||||||
|
<table cellspacing="3" cellpadding="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td><a href="javascript:window.close();" title="${msg:page.chat.old_browser.close}"><img src="${tplroot}/images/buttons/closewin.gif" border="0" alt="${msg:page.chat.old_browser.close}"/></a></td>
|
||||||
|
<td class="button"><a href="javascript:window.close();" title="${msg:page.chat.old_browser.close}">${msg:page.chat.old_browser.close}</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
<table id="footer" cellpadding="0" cellspacing="5" border="0" width="100%" height="100%">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
${msg:chat.window.poweredby} <a href="${msg:site.url}" title="${msg:company.title}" target="_blank">${msg:chat.window.poweredreftext}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|