⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 editcontent.jsp

📁 JSPWiki,100%Java开发的一套完整WIKI程序
💻 JSP
字号:
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>      <table width="100%" cellspacing="0" cellpadding="0" border="0">         <tr>            <td align="left">                <h1 class="pagename">Edit <wiki:PageName/></h1></td>            <td align="right">                <%@ include file="SearchBox.jsp" %>            </td>         </tr>      </table>      <p><hr></p>      <wiki:CheckVersion mode="notlatest">         <p class="versionnote">You are about to restore version <wiki:PageVersion/>.         Click on "Save" to restore.  You may also edit the page before restoring it.         </p>      </wiki:CheckVersion>      <wiki:CheckLock mode="locked" id="lock">         <p class="locknote">User '<%=lock.getLocker()%>' has started to edit this page, but has not yet         saved.  I won't stop you from editing this page anyway, BUT be aware that         the other person might be quite annoyed.  It would be courteous to wait for his lock         to expire or until he stops editing the page.  The lock expires in          <%=lock.getTimeLeft()%> minutes.         </p>      </wiki:CheckLock>      <form action="<wiki:EditLink format="url" />" method="POST"             accept-charset="<wiki:ContentEncoding />">      <p>      <%-- These are required parts of this form.  If you do not include these,           horrible things will happen.  Do not modify them either. --%>      <%-- FIXME: This is not required, is it? --%>      <input type="hidden" name="page"     value="<wiki:PageName/>" />      <input type="hidden" name="action"   value="save" />      <input type="hidden" name="edittime" value="<%=pageContext.getAttribute("lastchange", PageContext.REQUEST_SCOPE )%>" />      <wiki:CheckRequestContext context="comment">         <input type="hidden" name="comment" value="true" />      </wiki:CheckRequestContext>      <%-- End of required area --%>      <textarea class="editor" wrap="virtual" name="text" rows="25" cols="80" style="width:100%;"><wiki:CheckRequestContext context="edit"><wiki:InsertPage mode="plain" /></wiki:CheckRequestContext></textarea>      <p>            <input type="submit" name="ok" value="Save" />      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      <input type="submit" name="preview" value="Preview" />      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      <input type="submit" name="cancel" value="Cancel" />      </p>      </form>      <p>      <wiki:NoSuchPage page="EditPageHelp">         Ho hum, it seems that the EditPageHelp<wiki:EditLink page="EditPageHelp">?</wiki:EditLink>         page is missing.  Someone must've done something to the installation...         <br /><br />         You can copy the text from the <a href="http://www.jspwiki.org/Wiki.jsp?page=EditPageHelp">EditPageHelp page on jspwiki.org</a>.      </wiki:NoSuchPage>      </p>      <wiki:InsertPage page="EditPageHelp" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -