java/src/messenger/webim/styles/default/templates/leavemessage.tpl
Evgeny Gryaznov ca552966d1 move chat.css into templates
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@446 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-04-04 21:12:29 +00:00

146 lines
4.5 KiB
Smarty

<!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>
<style>
#header{
height:50px;
background:url(${tplroot}/images/bg_domain.gif) repeat-x top;
background-color:#5AD66B;
width:99.6%;
margin:0px 0px 20px 0px;
}
#header .mmimg{
background:url(${tplroot}/images/quadrat.gif) bottom left no-repeat;
}
.form td{
background-color:#f4f4f4;
color:#525252;
}
.but{
font-family:Verdana !important;
font-size:11px;
background:url(${tplroot}/images/butbg.gif) no-repeat top left;
display:block;
text-align:center;
padding-top:2px;
color:white;
width:80px;
height:18px;
text-decoration:none;
position:relative;top:1px;
}
</style>
<body bgcolor="#FFFFFF" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" style="margin:0px;">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top">
<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 width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top" height="150" style="padding:5px">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="100%" height="100" style="padding-left:20px;">
${if:ct.company.chatLogoURL}
${if:webimHost}
<a onclick="window.open('${page:webimHost}');return false;" href="${page:webimHost}">
<img src="${page:ct.company.chatLogoURL}" border="0" alt="">
</a>
${else:webimHost}
<img src="${page:ct.company.chatLogoURL}" border="0" alt="">
${endif:webimHost}
${else:ct.company.chatLogoURL}
${if:webimHost}
<a onclick="window.open('${page:webimHost}');return false;" href="${page:webimHost}">
<img src="${webimroot}/images/webimlogo.gif" border="0" alt="">
</a>
${else:webimHost}
<img src="${webimroot}/images/webimlogo.gif" border="0" alt="">
${endif:webimHost}
${endif:ct.company.chatLogoURL}
</td>
<td nowrap style="padding-right:10px"><SPAN style="font-size:16px;font-weight:bold;color:#525252">${msg:leavemessage.title}</SPAN></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" id="header" class="bg_domain">
<tr>
<td style="padding-left:20px;width:612px;color:white;" class="mmimg">
${msg:leavemessage.descr}
</td>
<td align="right" style="padding-right:17px;">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="javascript:window.close();" title="${msg:leavemessage.close}"><img src='${tplroot}/images/buttons/back.gif' width="25" height="25" border="0" alt="" /></a></td>
<td width="5"></td>
<td class="button"><a href="javascript:window.close();" title="${msg:leavemessage.close}">${msg:leavemessage.close}</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0px 0px 0px 24px;">
${if:errors}
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><img src='${webimroot}/images/icon_err.gif' width="40" height="40" border="0" alt="" /></td>
<td width="10"></td>
<td class="text">
${errors}
</td>
</tr>
</table>
${endif:errors}
<table cellspacing="1" cellpadding="5" border="0" class="form">
<tr>
<td class="text">${msg:form.field.email}:</td>
<td><input type="text" name="email" size="50" value="${form:email}" class="username"/></td>
</tr>
<tr>
<td class="text">${msg:form.field.name}:</td>
<td><input type="text" name="name" size="50" value="${form:name}" class="username"/></td>
</tr>
<tr>
<td class="text">${msg:form.field.message}:</td>
<td height="120" valign="top">
<textarea name="message" tabindex="0" cols="40" rows="8" style="border:1px solid #878787; overflow:auto">${form:message}</textarea>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><a href="javascript:document.leaveMessageForm.submit();" class="but" id="sndmessagelnk">${msg:mailthread.perform}</a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:24px">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>