瀏覽代碼

Merge remote-tracking branch 'origin/developer' into developer

kaick 1 年之前
父節點
當前提交
7ae7b6753c

+ 6 - 1
src/main/webapp/WEB-INF/views/modules/sys/sysIndex.jsp

@@ -250,7 +250,7 @@
 				</div>
 				</div>
 			</div>
 			</div>
 		    <div id="footer" class="row-fluid">
 		    <div id="footer" class="row-fluid">
-				Copyright &copy; ${fns:getConfig('copyrightYear')} ${fns:getConfig('productName')} ${fns:getConfig('version')}
+				Copyright &copy; 2014 - <span id="copyrightYear"></span> ${fns:getConfig('productName')} ${fns:getConfig('version')}
 			</div>
 			</div>
 		</div>
 		</div>
 	</div>
 	</div>
@@ -281,6 +281,11 @@
 		function openCloseClickCallBack(b){
 		function openCloseClickCallBack(b){
 			$.fn.jerichoTab.resize();
 			$.fn.jerichoTab.resize();
 		} // </c:if>
 		} // </c:if>
+
+		$(function () {
+			let date = new Date()
+			$('#copyrightYear').text( date.getFullYear())
+		})
 	</script>
 	</script>
 	<script src="${ctxStatic}/common/wsize.min.js" type="text/javascript"></script>
 	<script src="${ctxStatic}/common/wsize.min.js" type="text/javascript"></script>
 </body>
 </body>

+ 11 - 7
src/main/webapp/WEB-INF/views/modules/sys/sysIndex2.jsp

@@ -118,7 +118,7 @@
 						$("#notifyNum,#notifyNum2").hide()
 						$("#notifyNum,#notifyNum2").hide()
 					}
 					}
 				}); */
 				}); */
-			} 
+			}
 			getNotifyNum(); //<c:if test="${oaNotifyRemindInterval ne '' && oaNotifyRemindInterval ne '0'}">
 			getNotifyNum(); //<c:if test="${oaNotifyRemindInterval ne '' && oaNotifyRemindInterval ne '0'}">
 			setInterval(getNotifyNum, ${oaNotifyRemindInterval}); //</c:if>
 			setInterval(getNotifyNum, ${oaNotifyRemindInterval}); //</c:if>
 		});
 		});
@@ -207,7 +207,7 @@
 	    </div>
 	    </div>
 	    <div class="container-fluid">
 	    <div class="container-fluid">
 			<div id="content" class="row-fluid">
 			<div id="content" class="row-fluid">
-				<div id="left"><%-- 
+				<div id="left"><%--
 					<iframe id="menuFrame" name="menuFrame" src="" style="overflow:visible;" scrolling="yes" frameborder="no" width="100%" height="650"></iframe> --%>
 					<iframe id="menuFrame" name="menuFrame" src="" style="overflow:visible;" scrolling="yes" frameborder="no" width="100%" height="650"></iframe> --%>
 				</div>
 				</div>
 				<div id="openClose" class="close">&nbsp;</div>
 				<div id="openClose" class="close">&nbsp;</div>
@@ -216,11 +216,11 @@
 				</div>
 				</div>
 			</div>
 			</div>
 		    <div id="footer" class="row-fluid">
 		    <div id="footer" class="row-fluid">
-	            Copyright &copy; ${fns:getConfig('copyrightYear')} ${fns:getConfig('productName')} ${fns:getConfig('version')}
+	            Copyright &copy; 2014 - <span id="copyrightYear"></span> ${fns:getConfig('productName')} ${fns:getConfig('version')}
 			</div>
 			</div>
 		</div>
 		</div>
 	</div>
 	</div>
-	<script type="text/javascript"> 
+	<script type="text/javascript">
 		var leftWidth = 160; // 左侧窗口大小
 		var leftWidth = 160; // 左侧窗口大小
 		var tabTitleHeight = 33; // 页签的高度
 		var tabTitleHeight = 33; // 页签的高度
 		var htmlObj = $("html"), mainObj = $("#main");
 		var htmlObj = $("html"), mainObj = $("#main");
@@ -232,7 +232,7 @@
 			htmlObj.css({"overflow-x":strs[1] < minWidth ? "auto" : "hidden", "overflow-y":strs[0] < minHeight ? "auto" : "hidden"});
 			htmlObj.css({"overflow-x":strs[1] < minWidth ? "auto" : "hidden", "overflow-y":strs[0] < minHeight ? "auto" : "hidden"});
 			mainObj.css("width",strs[1] < minWidth ? minWidth - 10 : "auto");
 			mainObj.css("width",strs[1] < minWidth ? minWidth - 10 : "auto");
 			frameObj.height((strs[0] < minHeight ? minHeight : strs[0]) - headerObj.height() - footerObj.height() - (strs[1] < minWidth ? 42 : 28));
 			frameObj.height((strs[0] < minHeight ? minHeight : strs[0]) - headerObj.height() - footerObj.height() - (strs[1] < minWidth ? 42 : 28));
-			$("#openClose").height($("#openClose").height() - 5);// <c:if test="${cookie.tabmode.value eq '1'}"> 
+			$("#openClose").height($("#openClose").height() - 5);// <c:if test="${cookie.tabmode.value eq '1'}">
 			$(".jericho_tab iframe").height($("#right").height() - tabTitleHeight); // </c:if>
 			$(".jericho_tab iframe").height($("#right").height() - tabTitleHeight); // </c:if>
 			wSizeWidth();
 			wSizeWidth();
 		}
 		}
@@ -243,11 +243,15 @@
 			}else{
 			}else{
 				$("#right").width("100%");
 				$("#right").width("100%");
 			}
 			}
-		}// <c:if test="${cookie.tabmode.value eq '1'}"> 
+		}// <c:if test="${cookie.tabmode.value eq '1'}">
 		function openCloseClickCallBack(b){
 		function openCloseClickCallBack(b){
 			$.fn.jerichoTab.resize();
 			$.fn.jerichoTab.resize();
 		} // </c:if>
 		} // </c:if>
+		$(function () {
+			let date = new Date()
+			$('#copyrightYear').text( date.getFullYear())
+		})
 	</script>
 	</script>
 	<script src="${ctxStatic}/common/wsize.min.js" type="text/javascript"></script>
 	<script src="${ctxStatic}/common/wsize.min.js" type="text/javascript"></script>
 </body>
 </body>
-</html>
+</html>

+ 8 - 2
src/main/webapp/WEB-INF/views/modules/sys/sysLogin.jsp

@@ -212,9 +212,15 @@
     </div>
     </div>
 </form>
 </form>
 <div class="footer">
 <div class="footer">
-    Copyright &copy; ${fns:getConfig('copyrightYear')} ${fns:getConfig('productName')} ${fns:getConfig('version')}
+    Copyright &copy; 2014 - <span id="copyrightYear"></span> ${fns:getConfig('productName')} ${fns:getConfig('version')}
 </div>
 </div>
 <script src="${ctxStatic}/flash/zoom.min.js" type="text/javascript"></script>
 <script src="${ctxStatic}/flash/zoom.min.js" type="text/javascript"></script>
 <script src="${ctxStatic}/slideVerify/slideVerify.js" type="text/javascript"></script>
 <script src="${ctxStatic}/slideVerify/slideVerify.js" type="text/javascript"></script>
+<script>
+    $(function () {
+        let date = new Date()
+        $('#copyrightYear').text( date.getFullYear())
+    })
+</script>
 </body>
 </body>
-</html>
+</html>

+ 9 - 3
src/main/webapp/WEB-INF/views/modules/sys/sysLogin2.jsp

@@ -31,7 +31,7 @@
 				errorLabelContainer: "#messageBox",
 				errorLabelContainer: "#messageBox",
 				errorPlacement: function(error, element) {
 				errorPlacement: function(error, element) {
 					error.appendTo($("#loginError").parent());
 					error.appendTo($("#loginError").parent());
-				} 
+				}
 			});
 			});
 			$(window).resize();
 			$(window).resize();
 		});
 		});
@@ -78,8 +78,14 @@
 		</div>
 		</div>
 	</form>
 	</form>
 	<div class="footer">
 	<div class="footer">
-		Copyright &copy; ${fns:getConfig('copyrightYear')} ${fns:getConfig('productName')} ${fns:getConfig('version')}
+		Copyright &copy; 2014 - <span id="copyrightYear"></span> ${fns:getConfig('productName')} ${fns:getConfig('version')}
 	</div>
 	</div>
 	<script src="${ctxStatic}/flash/zoom.min.js" type="text/javascript"></script>
 	<script src="${ctxStatic}/flash/zoom.min.js" type="text/javascript"></script>
+	<script>
+		$(function () {
+			let date = new Date()
+			$('#copyrightYear').text( date.getFullYear())
+		})
+	</script>
 </body>
 </body>
-</html>
+</html>