Files
ziqim/Yangcai365_design/manage/zview/article/articleModify.zml
T
2025-02-20 14:58:55 +08:00

61 lines
2.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<#def designatedPath="/category.htm"/>
${request.getValidateScript()}
${zhiqim_manager_history ("article.htm")}
${zhiqim_manager_breadcrumb_parent ("article.htm", "知识库内容", "修改文章")}
${zhiqim_manager_content()}
<form name="theForm" action="articleUpdate.htm" method="post" onsubmit="return validateForm(this);" data-role="z-call-frame">
<input name="articleId" type="hidden" value="${article.articleId}">
<table class="z-table z-bordered z-h50-tr z-pd10 z-bg-white">
<tr class="zi-h40 z-bg-gray z-bold">
<td colspan="2">修改文章</td>
</tr>
<tr>
<td width="40%">所属分类:<span class="z-color-999">(请选择)</span></td>
<td width="*">
<select name="categoryId" class="z-select z-w300 ${zmr_color_class}" data-role="z-select" data-class="${zmr_color_class}">
<#for item : categoryList>
<option value="${item.getCategoryId()}" <#if item.getCategoryId() == article.getCategoryId()>selected</#if>>${item.getCategoryName()}</option>
</#for>
</select><span class="z-color-red">&nbsp;*</span>
</td>
</tr>
<tr>
<td>分类状态:<span class="z-color-999">(请选择)</span></td>
<td>
<select name="articleStatus" class="z-select z-w300 ${zmr_color_class}" data-role="z-select" data-class="${zmr_color_class}">
<option <#if article.getArticleStatus() == 0>selected</#if> value="0">正常</option>
<option <#if article.getArticleStatus() == 1>selected</#if> value="1">停用</option>
</select><span class="z-color-red">&nbsp;*</span>
</td>
</tr>
<tr>
<td>文章标题:<span class="z-color-999">32位不定长字符)</span></td>
<td><input name="articleTitle" class="z-input z-w300 ${zmr_color_class}" value="${article.getArticleTitle()}" maxlength="32"><span class="z-color-red">&nbsp;*</span></td>
</tr>
<tr>
<td colspan="2">
<div class="z-mg-t20">文章内容:<span class="z-color-999">(不能超过25000个字符)</span><span class="z-color-red">&nbsp;*</span></div>
<div class="z-pd-t20 z-pd-t20">
<textarea id="articleContent" name="articleContent" class="z-textarea z-w100p ${zmr_color_class}" rows="15" size="30" maxlength="25000">${article.getArticleContent()}</textarea>
</div>
</td>
</tr>
</table>
${zhiqim_manager_submit()}
</form>
${zhiqim_manager_content_end()}
<!--
<script charset="utz-8" src="/inc/ckeditor/ckeditor.js"></script>
-->
<link rel="stylesheet" type="text/css" href="/zres/zteditor/zteditor.css">
<script type="text/javascript" src="/zres/zteditor/zteditor.js"></script>
<script>
//CKEDITOR.replace("articleContent");
Z.onload(function()
{
var editor = new Z.ZhiqimEditor();
editor.setId("articleContent");
editor.execute();
});
</script>