?? article_source_modify.jsp
字號:
<%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<cms4j:init/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>添加新模塊</title>
<link href="../skin/blue/css/oper_area.css" rel="stylesheet" type="text/css">
</head>
<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script language="javascript">
function uploadArticleImage(){
article_file.myform.submit();
}
function UploadSaved(sPathFileName,type){
displayCtrl('showArticleImage','uploadArticleImage');
this.cms4jForm.articleImage.src = sPathFileName;
this.cms4jForm.LOGO_URL.value= sPathFileName;
}
function delUploadedImage(){
displayCtrl('uploadArticleImage','showArticleImage');
article_file.location.href = "../editor/uploadIframe.jsp?type=articleImage&isUploadWarter=no";
this.cms4jForm.articleImage.value = "";
}
</script>
<body onLoad="pageInit()">
<cms4j:article_source id="${param.id}">
<%
if(article_source_info.getLOGO_URL()!=null&& !article_source_info.getLOGO_URL().equals("")){
%>
<script>
function pageInit(){
displayCtrl('showArticleImage','uploadArticleImage');
document.getElementById("articleImage").src = "<%= article_source_info.getLOGO_URL()%>";
document.getElementById("LOGO_URL").value= "<%= article_source_info.getLOGO_URL()%>";
}
</script>
<%}%>
<form action="../../do?action=modifyArticleSource" method="post" name="cms4jForm" id="cms4jForm">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="title-bar"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="26" class="title-bar-title-icon"> </td>
<td width="745" class="title-bar-text"> 修改文章來源</td>
</tr>
</table></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-frame" id="p1">
<tr>
<td width="18%" height="22" class="table-frame-input-title">名稱</td>
<td height="22" class="table-cell-input"><input name="SCOURCE_NAME" type="text" class="form-input" id="SCOURCE_NAME" size="52" value="<%=article_source_info.getSCOURCE_NAME()%>"></td>
</tr>
<tr>
<td height="22" align="left" class="table-frame-input-title">鏈接地址</td>
<td height="22" class="table-cell-input"><input name="LINK_URL" type="text" class="form-input" id="LINK_URL" size="52" value="<%=article_source_info.getLINK_URL()%>"> </td>
</tr>
<tr class="list_border_bg">
<td height="32" align="right" class="table-frame-input-title">文章來源圖片:</td>
<td height="32" class="table-cell-input"><table width="76%" border="0" cellspacing="0" cellpadding="0" id="uploadArticleImage">
<tr>
<td><iframe id="article_file" frameborder=0 src="../editor/uploadIframe.jsp?type=articleImage&isUploadWarter=no" width="100%" height="24" scrolling=no></iframe></td>
<td align="center"><input name="Submit" type="button" class="form-buttun" onClick="uploadArticleImage()" value="上傳"></td>
</tr>
</table>
<input type="hidden" name="LOGO_URL">
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="showArticleImage" style="display:none ">
<tr>
<td width="28%" align="center"><img src="../../images/admin/fw_top_logo.gif" width="138" height="112" id="articleImage"></td>
<td width="72%"><input type="button" name="Submit" value="刪除" onClick="delUploadedImage();"></td>
</tr>
</table></td>
</tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="buttun-bar">
<input type="hidden" name="ID" id="ID" value="${param.id}">
<input name="Submit3" type="submit" class="form-buttun" value="保 存">
<input name="Submit22" type="button" class="form-buttun" value="取 消" onClick="location.href='article_source_list.jsp'">
<input name="OK_RETURN_URL" type="hidden" class="form-buttun" value="/cms4jadmin/article/article_source_modify_ok.jsp">
</td>
</tr>
</table>
</form>
</cms4j:article_source>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -