Commit 8586d914 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added help files and fixed images path to work when deployed as WAR file.

git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@3016 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3119f627
......@@ -360,8 +360,13 @@
<war destfile="${war.dest.dir}/${war.name}" basedir="${web.dir}"
webxml="${war.dest.dir}/build/web.xml">
<patternset refid="web.sources"/>
<!-- Include sitemesh files-->
<include name="**/decorators.xml"/>
<include name="**/sitemesh.xml"/>
<!-- Include help folders and files -->
<fileset dir="${target.dir}/plugins/admin/webapp">
<include name="help/**/*.*"/>
</fileset>
<lib dir="${jar.dest.dir}" excludes="jasper-compiler.jar, servlet.jar, startup.jar"/>
</war>
<!-- Create a Messenger home -->
......
......@@ -46,7 +46,7 @@
<script language="JavaScript" type="text/javascript">
<!-- // code for window popups
function helpwin() {
var newwin = window.open('/help/index.html#<decorator:getProperty property="meta.helpPage" default=""/>',
var newwin = window.open('help/index.html#<decorator:getProperty property="meta.helpPage" default=""/>',
'helpWindow','width=750,height=550,menubar=yes,location=no,personalbar=no,scrollbars=yes,resize=yes');
newwin.focus();
}
......@@ -69,7 +69,7 @@
<tr>
<td>
<a href="#" onclick="helpwin();return false;"
><img src="/images/header-help.gif" width="24" height="24" border="0" alt="Click for help" hspace="10"></a>
><img src="images/header-help.gif" width="24" height="24" border="0" alt="Click for help" hspace="10"></a>
&nbsp;
</td>
<td class="info">
......
<html>
<head><title></title>
<meta http-equiv="refresh" content="0;URL=/index.jsp">
<meta http-equiv="refresh" content="0;URL=index.jsp">
</head>
<body>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment