Browse Source

增加<%=path%>

gesofts 6 years ago
parent
commit
fb94b0739e

+ 1 - 1
src/main/webapp/404.jsp

@@ -22,7 +22,7 @@
     <title><%=SystemManage.getInstance().getSystemSetting().getTitle()%>
     </title>
     <link rel="shortcut icon" type="image/x-icon"
-          href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
+          href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/<%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
     <link rel="stylesheet" href="<%=path%>/resource/css/style.css">
 </head>
 <body>

+ 1 - 1
src/main/webapp/error.jsp

@@ -22,7 +22,7 @@
     <title><%=SystemManage.getInstance().getSystemSetting().getTitle()%>
     </title>
     <link rel="shortcut icon" type="image/x-icon"
-          href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
+          href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/<%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
     <link rel="stylesheet" href="<%=path%>/resource/css/style.css">
 </head>
 <body>

+ 1 - 1
src/main/webapp/front/common/common.jsp

@@ -27,7 +27,7 @@
     <title><%=SystemManage.getInstance().getSystemSetting().getTitle()%>
     </title>
     <link rel="shortcut icon" type="image/x-icon"
-          href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
+          href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/<%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
     <link rel="stylesheet" href="<%=path%>/resource/css/style.css">
     <script type="text/javascript" src="<%=path %>/resource/js/jquery-1.9.1.min.js"></script>
     <script type="text/javascript" src="<%=path%>/resource/js/jquery.SuperSlide.2.1.1.js"></script>

+ 1 - 1
src/main/webapp/front/common/indexSlide.jsp

@@ -66,7 +66,7 @@
 <div class="swiper-container">
     <div class="swiper-wrapper">
         <c:forEach var="item" items="<%=SystemManage.getInstance().getIndexImgs()%>">
-            <div class="swiper-slide"  style="background-image: url(<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%>/${item.pictureUrl});"></div>
+            <div class="swiper-slide"  style="background-image: url(<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%><%=path%>/${item.pictureUrl});"></div>
         </c:forEach>
     </div>
     <!-- Add Pagination -->

+ 1 - 1
src/main/webapp/front/common/navigation.jsp

@@ -39,7 +39,7 @@
 <div style="width:1100px;height: 107px;margin: 0 auto;">
     <div style="width: 201px;height: 107px;float: left;">
         <a href="index">
-        <img src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=SystemManage.getInstance().getSystemSetting().getLogo() %>"
+        <img src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/<%=SystemManage.getInstance().getSystemSetting().getLogo() %>"
              width="201" height="107"/>
             </a>
     </div>

+ 3 - 3
src/main/webapp/manage/indexImg/indexImgList.jsp

@@ -66,8 +66,8 @@
 									<input type="button" name="filemanager" value="浏览图片" class="btn btn-primary" style="padding: 0px 12px;margin-top: -5px;"/>
 									<c:choose>
 										<c:when test="${!empty e.pictureUrl}">
-											<a target="_blank" href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%>/${e.pictureUrl}">
-												<img style="max-width: 50px;max-height: 50px;" alt="" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%>/${e.pictureUrl}">
+											<a target="_blank" href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%><%=path%>/${e.pictureUrl}">
+												<img style="max-width: 50px;max-height: 50px;" alt="" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%><%=path%>/${e.pictureUrl}">
 											</a>
 										</c:when>
 									</c:choose>         </td>
@@ -122,7 +122,7 @@
 						</tr>
 					<c:forEach var="item" items="${pager.list}">
 						<tr <c:if test="${e.id eq item.id}">class="active"</c:if>>
-							<td style="padding: 10px 10px;"><a href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%>${item.pictureUrl}" target="_blank"><img src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%>${item.pictureUrl}" width="200" /></a></td>
+							<td style="padding: 10px 10px;"><a href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%><%=path%>/${item.pictureUrl}" target="_blank"><img src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath()%>${item.pictureUrl}" width="200" /></a></td>
 							<td>${item.title}</td>
 							<td align="center">${item.orders}</td>
 							<td align="center">

+ 1 - 1
src/main/webapp/manage/system/home.jsp

@@ -111,7 +111,7 @@
                             </tr>
                             <tr>
                                 <th width="120">图片根路径:</th>
-                                <td><%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %>
+                                <td><%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/
                                 </td>
                                 <th width="100">系统语言:</th>
                                 <td>zh_cn</td>

+ 1 - 1
src/main/webapp/manage/system/htmlBase.jsp

@@ -95,7 +95,7 @@
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title><%=SystemManage.getInstance().getSystemSetting().getName() %> - 后台管理系统</title>
     <%--图标--%><link rel="shortcut icon" type="image/x-icon"
-                    href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
+                    href="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/<%=SystemManage.getInstance().getSystemSetting().getFavicon() %>">
 
 
     <script type="text/javascript" src="<%=path %>/resource/js/jquery-1.9.1.min.js"></script>

+ 1 - 1
src/main/webapp/manage/system/pageBase.jsp

@@ -33,7 +33,7 @@
                         %>
                         <img class="nav-user-photo" src="<%=path%>/<%=u.getPortrait()%>"/>
                         <%}else{%>
-                        <img class="nav-user-photo" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %>/resource/images/portrait.jpg"/>
+                        <img class="nav-user-photo" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>//resource/images/portrait.jpg"/>
                         <%}}%>
 								<span class="user-info">
 									<small>欢迎光临,</small>

+ 1 - 1
src/main/webapp/manage/system/user/editUser.jsp

@@ -122,7 +122,7 @@
                                 </c:when>
                                 <c:otherwise>
                                     <img class="nav-user-photo"
-                                         src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %>/resource/images/portrait.jpg"/>
+                                         src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>//resource/images/portrait.jpg"/>
                                 </c:otherwise>
                             </c:choose>
                             <button type="button" class="btn btn-primary " style="padding:2px 15px;" data-toggle="modal"

+ 2 - 2
src/main/webapp/manage/system/user/info.jsp

@@ -18,10 +18,10 @@
 						<td style="text-align: left;">
 							<c:choose>
 								<c:when test="${!empty e.portrait}">
-									<img class="nav-user-photo" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %>/${e.portrait}"/>
+									<img class="nav-user-photo" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/${e.portrait}"/>
 								</c:when>
 								<c:otherwise>
-									<img class="nav-user-photo" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %>/resource/images/portrait.jpg"/>
+									<img class="nav-user-photo" src="<%=SystemManage.getInstance().getSystemSetting().getImageRootPath() %><%=path%>/resource/images/portrait.jpg"/>
 								</c:otherwise>
 							</c:choose>
 						</td>