mirror of
https://github.com/Mibew/java.git
synced 2025-01-23 01:50:34 +03:00
remove converter
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@125 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
883c65ae7a
commit
fa2f03d3e5
@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/net.sf.lapg.templates"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>net.sf.webim.converter</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
@ -1,26 +0,0 @@
|
|||||||
package net.sf.webim.converter;
|
|
||||||
|
|
||||||
import net.sf.lapg.templates.api.impl.DefaultStaticMethods;
|
|
||||||
import net.sf.lapg.templates.model.xml.XmlData;
|
|
||||||
import net.sf.lapg.templates.model.xml.XmlNode;
|
|
||||||
|
|
||||||
|
|
||||||
public class ConverterHelper extends DefaultStaticMethods {
|
|
||||||
|
|
||||||
|
|
||||||
public boolean isNode(XmlNode element) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean isNode(XmlData element) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean containsColon(String s) {
|
|
||||||
return s.indexOf(":") >= 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String replaceColon(String s) {
|
|
||||||
return s.replace(':', '.');
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,50 +0,0 @@
|
|||||||
package net.sf.webim.converter;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.FileInputStream;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStreamReader;
|
|
||||||
import java.io.Reader;
|
|
||||||
|
|
||||||
import net.sf.lapg.templates.api.EvaluationContext;
|
|
||||||
import net.sf.lapg.templates.api.impl.FolderTemplateLoader;
|
|
||||||
import net.sf.lapg.templates.api.impl.TemplateEnvironment;
|
|
||||||
import net.sf.lapg.templates.model.xml.XmlModel;
|
|
||||||
import net.sf.lapg.templates.model.xml.XmlNavigationFactory;
|
|
||||||
import net.sf.lapg.templates.model.xml.XmlNode;
|
|
||||||
|
|
||||||
public class JspConverter {
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
String toProcess = getFileContents("test/index.xml");
|
|
||||||
|
|
||||||
XmlNode root = XmlModel.load(toProcess);
|
|
||||||
|
|
||||||
ConverterHelper helper = new ConverterHelper();
|
|
||||||
TemplateEnvironment env = new TemplateEnvironment(
|
|
||||||
new XmlNavigationFactory(),
|
|
||||||
new FolderTemplateLoader(new File("templates")));
|
|
||||||
EvaluationContext context = new EvaluationContext(root.getChildren());
|
|
||||||
context.setVariable("helper", helper);
|
|
||||||
System.out.println(env.executeTemplate("conv.convertList", context, null));
|
|
||||||
}
|
|
||||||
|
|
||||||
private static String getFileContents(String file) {
|
|
||||||
StringBuffer contents = new StringBuffer();
|
|
||||||
char[] buffer = new char[2048];
|
|
||||||
int count;
|
|
||||||
try {
|
|
||||||
Reader in = new InputStreamReader(new FileInputStream(file));
|
|
||||||
try {
|
|
||||||
while ((count = in.read(buffer)) > 0) {
|
|
||||||
contents.append(buffer, 0, count);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
in.close();
|
|
||||||
}
|
|
||||||
} catch (IOException ioe) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return contents.toString();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
|
|
||||||
${template convert-}
|
|
||||||
${if helper.isNode(this)-}
|
|
||||||
${if helper.containsColon(tagName)-}
|
|
||||||
${call(`helper.replaceColon(tagName)`) this-}
|
|
||||||
${else-}
|
|
||||||
${this.getNodeDeclaration()-}
|
|
||||||
${call(convertList) children-}
|
|
||||||
</${tagName}>${end-}
|
|
||||||
${else-}
|
|
||||||
${this-}
|
|
||||||
${end-}
|
|
||||||
${end}
|
|
||||||
|
|
||||||
|
|
||||||
${template convertList-}
|
|
||||||
${foreach child in this-}
|
|
||||||
${call(convert) child-}
|
|
||||||
${end-}
|
|
||||||
${end}
|
|
@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
${template hidden-}
|
|
||||||
${if attrs.value-}
|
|
||||||
<input type="hidden" name="${attrs.name}" value="${attrs.value}"/>
|
|
||||||
${else-}
|
|
||||||
<input type="hidden" name="${attrs.property}" value="<?php echo ${attrs.property} ?>"\/>
|
|
||||||
${end-}
|
|
||||||
${end}
|
|
@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
${template html-}
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
${call(conv.convertList)children-}
|
|
||||||
</html>
|
|
||||||
${end}
|
|
||||||
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
|||||||
<x:html>
|
|
||||||
<head>
|
|
||||||
A
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
B
|
|
||||||
</body>
|
|
||||||
</x:html>
|
|
@ -1,273 +0,0 @@
|
|||||||
<%@ page contentType="text/html; charset=utf-8" errorPage="/errors/error_page.jsp" %>
|
|
||||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
|
||||||
<%@ taglib prefix="tiles" uri="/tags/struts-tiles"%>
|
|
||||||
<%@ taglib prefix="html" uri="/tags/struts-html"%>
|
|
||||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
|
||||||
<%@ taglib prefix="is" uri="imcenter.i_services.ru.tags"%>
|
|
||||||
<%@ taglib prefix="bean" uri="/tags/struts-bean"%>
|
|
||||||
|
|
||||||
<tiles:useAttribute id="titleKey" name="titleKey" classname="java.lang.String" />
|
|
||||||
|
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title><bean:message key="<%=titleKey%>" /></title>
|
|
||||||
<link rel="shortcut icon" href="<c:url value='/res/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="<c:url value='/res/style/chat.css'/>" />
|
|
||||||
<script type="text/javascript" language="javascript" src="<c:url value='/res/common.js'/>"></script>
|
|
||||||
<script type="text/javascript" language="javascript" src="<c:url value='/res/brws.js'/>"></script>
|
|
||||||
<script language="javascript"><!--
|
|
||||||
var threadParams = { servl:"<html:rewrite action='/Thread'/>",frequency:2,<c:if test="${user}">user:"true",</c:if>threadid:${ct.chatThreadId},token:${ct.token} };
|
|
||||||
//--></script>
|
|
||||||
<script type="text/javascript" language="javascript" src="<c:url value='/res/page_chat.js'/>"></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body bgcolor="#FFFFFF" background="<c:url value='/res/images/chat/bg.gif'/>" text="#000000" link="#C28400" vlink="#C28400" alink="#C28400" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
|
|
||||||
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td valign="top">
|
|
||||||
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td colspan="2" height="100" background="<c:url value='/res/images/chat/banner.gif'/>" valign="top" class="bgrn">
|
|
||||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td width="50%" valign="top">
|
|
||||||
<table width="135" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td height="25"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center"><c:if test="${not empty ct.company.chatLogoURL}"><img src="<c:url value='${ct.company.chatLogoURL}'/>" width="85" height="45" border="0" alt=""/></c:if></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td height="5"></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center" class="text">${ct.company.name}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="50%" align="right" valign="top">
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td height="25" align="right">
|
|
||||||
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td class="text"><bean:message key="chat.window.product_name"/></td>
|
|
||||||
<td width="5"></td>
|
|
||||||
<td>
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td width="95" height="13" bgcolor="#D09221" align="center" class="www"><a href="<bean:message key='site.url'/>" title="<bean:message key='company.title'/>" target="_blank"><bean:message key='site.title'/></a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="5"></td>
|
|
||||||
<td><a class="closethread" href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.close_title'/>"><html:img page="/res/images/chat/buttons/closewin.gif" width="15" height="15" border="0" altKey="chat.window.close_link_text"/></a></td>
|
|
||||||
<td width="5"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td height="60" align="right">
|
|
||||||
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<c:if test="${agent}">
|
|
||||||
<td class="text" nowrap>
|
|
||||||
<bean:message key="chat.window.chatting_with"/> <b><a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.chatting_with'/> <c:out value='${ct.user.name}'/>"><c:out value='${ct.user.name}'/></a></b><br/>
|
|
||||||
</td>
|
|
||||||
</c:if><c:if test="${user}">
|
|
||||||
<td class="text" nowrap>
|
|
||||||
<div id="changename1" style="display:${displ1};">
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0"><tr>
|
|
||||||
<td class="text" nowrap><bean:message key="chat.client.name"/></td>
|
|
||||||
<td width="10" valign="top"><html:img page="/res/images/free.gif" width="10" height="1" border="0" alt="" /></td>
|
|
||||||
<td><input id="uname" type="text" size="12" value="<c:out value='${ct.user.name}'/>" class="username"/></td>
|
|
||||||
<td width="5" valign="top"><html:img page="/res/images/free.gif" width="5" height="1" border="0" alt="" /></td>
|
|
||||||
<td><a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.client.changename'/>"><html:img page="/res/images/chat/buttons/exec.gif" width="25" height="25" border="0" alt=">>" /></a></td>
|
|
||||||
</tr></table>
|
|
||||||
</div>
|
|
||||||
<div id="changename2" style="display:${displ2};">
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0"><tr>
|
|
||||||
<td class="text" nowrap><a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.client.changename'/>"><bean:message key="chat.client.changename"/></a></td>
|
|
||||||
<td width="10" valign="top"><html:img page="/res/images/free.gif" width="10" height="1" border="0" alt="" /></td>
|
|
||||||
<td><a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.client.changename'/>"><html:img page="/res/images/chat/buttons/changeuser.gif" width="25" height="25" border="0" alt="" /></a></td>
|
|
||||||
</tr></table>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${agent}">
|
|
||||||
<td width="10" valign="top"><html:img page="/res/images/free.gif" width="10" height="1" border="0" alt="" /></td>
|
|
||||||
<td><a class="closethread" href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.close_title'/>">
|
|
||||||
<html:img page="/res/images/chat/buttons/close.gif" width="25" height="25" border="0" altKey="chat.window.close_link_text"/></a></td>
|
|
||||||
</c:if>
|
|
||||||
<!--
|
|
||||||
<td><html:img page="/res/images/chat/buttons/changeuser.gif" width="25" height="25" border="0" alt="Change User" /></td>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<td><html:img page="/res/images/chat/buttondiv.gif" width="35" height="45" border="0" alt="" /></td>
|
|
||||||
<c:if test="${user}">
|
|
||||||
<td><is:popupLink options="toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=603,height=204,resizable=0" name="ForwardMail" href="${selfLink}&page=mailthread">
|
|
||||||
<jsp:attribute name="title"><bean:message key='chat.window.toolbar.mail_history'/></jsp:attribute>
|
|
||||||
<jsp:body><html:img page="/res/images/chat/buttons/email.gif" width="25" height="25" border="0" alt="Mail "/></jsp:body>
|
|
||||||
</is:popupLink></td>
|
|
||||||
</c:if><%--jsponly--%><c:if test="${agent && canpost}">
|
|
||||||
<td><a href="${selfLink}&page=redirect" title="<bean:message key='chat.window.toolbar.redirect_user'/>">
|
|
||||||
<html:img page="/res/images/chat/buttons/send.gif" width="25" height="25" border="0" alt="Redirect " /></a></td>
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${agent && not empty requestScope.historyParams}">
|
|
||||||
<td><is:popupLink options="toolbar=0,scrollbars=0,location=0,statusbar=1,menubar=0,width=703,height=380,resizable=1" name="UserHistory">
|
|
||||||
<jsp:attribute name="href"><html:rewrite forward="client_analysis_userhistory" name="historyParams"/></jsp:attribute>
|
|
||||||
<jsp:attribute name="title"><bean:message key='page.analysis.userhistory.title'/></jsp:attribute>
|
|
||||||
<jsp:body><html:img page="/res/images/chat/buttons/history.gif" width="25" height="25" border="0" alt="History "/></jsp:body>
|
|
||||||
</is:popupLink></td>
|
|
||||||
</c:if><%--end--%>
|
|
||||||
<td><a id="refresh" href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.toolbar.refresh'/>">
|
|
||||||
<html:img page="/res/images/chat/buttons/refresh.gif" width="25" height="25" border="0" alt="Refresh " /></a></td>
|
|
||||||
<%--jsponly--%><c:if test="${not empty requestScope.sslLink}">
|
|
||||||
<td><a href="${requestScope.sslLink}" title="<bean:message key='chat.window.toolbar.ssl'/>">
|
|
||||||
<html:img page="/res/images/chat/buttons/lock.gif" width="25" height="25" border="0" alt="Lock" /></a></td>
|
|
||||||
</c:if><%--end--%>
|
|
||||||
<td width="20" valign="top"><html:img page="/res/images/free.gif" width="20" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td></td>
|
|
||||||
<td valign="top">
|
|
||||||
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td width="20" valign="top"><html:img pageKey="image.chat.history" width="20" height="80" border="0" alt="" /></td>
|
|
||||||
<td colspan="2" width="100%" height="100%" valign="top" id="chatwndtd">
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
<td width="100%" height="100%" bgcolor="#FFFFFF" valign="top">
|
|
||||||
<iframe id="chatwnd" width="100%" height="100%" src="" frameborder="0" style="overflow:auto;">
|
|
||||||
Sorry, your browser does not support iframes; try a browser that supports W3 standards.
|
|
||||||
</iframe>
|
|
||||||
</td>
|
|
||||||
<td bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<c:if test="${canpost}">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" height="5" style="cursor:n-resize;" id="spl1"></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td width="20" valign="top"><html:img pageKey="image.chat.message" width="20" height="85" border="0" alt="" /></td>
|
|
||||||
<td width="100%" height="100" valign="top" id="msgwndtd">
|
|
||||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td bgcolor="#A1A1A1"><html:img page="/res/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>
|
|
||||||
</td>
|
|
||||||
<td bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" bgcolor="#A1A1A1"><html:img page="/res/images/free.gif" width="1" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td valign="center" id="avatarwnd"></td>
|
|
||||||
</tr>
|
|
||||||
</c:if>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td height="45"></td>
|
|
||||||
<td>
|
|
||||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td width="33%">
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0">
|
|
||||||
<tr>
|
|
||||||
<td width="20"></td>
|
|
||||||
<%-- <c:if test="${user}">
|
|
||||||
<td style="padding-left:10px;">
|
|
||||||
Switch to <a href="${linkWoLevel}&level=simple">Level2</a>
|
|
||||||
</td>
|
|
||||||
</c:if> --%>
|
|
||||||
<%--jsponly--%><c:if test="${agent && canpost}">
|
|
||||||
<td>
|
|
||||||
<select id="predefined" size="1" class="answer">
|
|
||||||
<option><bean:message key="chat.window.predefined.select_answer" /></option>
|
|
||||||
<c:forEach var="it" items="${predefinedList}"><option>${fn:escapeXml(it)}</option></c:forEach>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</c:if><%--end--%>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td width="33%" align="center" class="copyr"><bean:message key="chat.window.poweredby" /> <a href="<bean:message key='site.url'/>" title="<bean:message key='company.title'/>" target="_blank"><bean:message key="chat.window.poweredreftext"/></a></td>
|
|
||||||
<td width="33%" align="right">
|
|
||||||
|
|
||||||
<c:if test="${canpost}">
|
|
||||||
<table cellspacing="0" cellpadding="0" border="0" id="postmessage">
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td><a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.send_message'/>"><html:img page="/res/images/chat/submit.gif" width="40" height="35" border="0" alt="" /></a></td>
|
|
||||||
<td background="<c:url value='/res/images/chat/submitbg.gif'/>" valign="top" class="submit">
|
|
||||||
<html:img page="/res/images/free.gif" width="1" height="10" border="0" alt="" /><br/>
|
|
||||||
<a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.send_message'/>"><bean:message key='chat.window.send_message_short'/></a><br/>
|
|
||||||
</td>
|
|
||||||
<td width="10"><a href="javascript:void(0)" onclick="return false;" title="<bean:message key='chat.window.send_message'/>"><html:img page="/res/images/chat/submitrest.gif" width="10" height="35" border="0" alt="" /></a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</c:if>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<td></td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr>
|
|
||||||
<td width="10"><html:img page="/res/images/free.gif" width="10" height="1" border="0" alt="" /></td>
|
|
||||||
<td width="100%"><html:img page="/res/images/free.gif" width="585" height="1" border="0" alt="" /></td>
|
|
||||||
<td width="5"><html:img page="/res/images/free.gif" width="5" height="1" border="0" alt="" /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,10 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<root>
|
|
||||||
|
|
||||||
<load img="aaa"/>
|
|
||||||
|
|
||||||
<img src="www.ya.ru" width="10" height="15">Wow</img>
|
|
||||||
|
|
||||||
</root>
|
|
Loading…
Reference in New Issue
Block a user