Commit b701437a authored by Liang Ding's avatar Liang Ding

修复注册链接上下文路径问题

parent 06be1bc7
......@@ -208,7 +208,7 @@
$("#tipInit").html("<img src='${staticServePath}/images/loading.gif'/> loading...");
$.ajax({
url: "${contextPath}/init",
url: "${servePath}/init",
type: "POST",
data: JSON.stringify(requestJSONObject),
success: function(result, textStatus) {
......
......@@ -99,7 +99,7 @@
$("#tip").html("<img src='${staticServePath}/images/loading.gif'/> loading...")
$.ajax({
url: "${contextPath}" + "/console/user/",
url: "${servePath}" + "/console/user/",
type: "POST",
cache: false,
data: JSON.stringify(requestJSONObject),
......
......@@ -32,7 +32,7 @@
}
#showTop {
background-image: url("${contextPath}/images/arrow-right.png");
background-image: url("${staticServePath}/images/arrow-right.png");
cursor: pointer;
height: 26px;
right: 0;
......@@ -44,11 +44,11 @@
}
#showTop:hover {
background-image: url("${contextPath}/images/arrow-right.gif");
background-image: url("${staticServePath}/images/arrow-right.gif");
}
#top #hideTop {
background-image: url("${contextPath}/images/arrow-left.png");
background-image: url("${staticServePath}/images/arrow-left.png");
height: 26px;
margin: 0;
padding: 0;
......@@ -57,7 +57,7 @@
}
#top #hideTop:hover {
background-image: url("${contextPath}/images/arrow-left.gif");
background-image: url("${staticServePath}/images/arrow-left.gif");
border-radius: 0;
}
</style>
......@@ -71,14 +71,14 @@
<#if isLoggedIn>
<span id="adminName">${userName}</span>
<#if !isVisitor>
<a href="${contextPath}/admin-index.do#main" title="${adminLabel}">
<a href="${servePath}/admin-index.do#main" title="${adminLabel}">
${adminLabel}
</a>
</#if>
<a href="${logoutURL}" title="${logoutLabel}">${logoutLabel}</a>
<#else>
<a href="${loginURL}" title="${loginLabel}">${loginLabel}</a>
<a href="/register" title="${registerLabel}">${registerLabel}</a>
<a href="${servePath}/register" title="${registerLabel}">${registerLabel}</a>
</#if>
<#if isMobileRequest>
<a href="javascript:void(0)" onclick="Util.switchMobile('mobile');" title="${mobileLabel}">${mobileLabel}</a>
......
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