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

📄 staticpageform.jsp

📁 pebble-blog 博客源码博客源码博客源码
💻 JSP
字号:
<c:if test="${authenticatedUser.preferences['richTextEditorForStaticPagesEnabled'] == 'true'}">  <script type="text/javascript">  window.onload = function()  {    var oFCKeditor = new FCKeditor( 'body' ) ;    oFCKeditor.BasePath = '${pageContext.request.contextPath}/FCKeditor/' ;    oFCKeditor.ToolbarSet = 'StaticPage' ;    oFCKeditor.ReplaceTextarea() ;  }  </script></c:if><c:set var="originalStaticPage" scope="request" value="${staticPage}" /><c:set var="staticPage" scope="request" value="${previewStaticPage}" /><c:set var="displayMode" scope="request" value="preview" /><a name="preview"></a><jsp:include page="staticPage.jsp" /><c:set var="staticPage" scope="request" value="${originalStaticPage}" /><a name="form"></a><div class="contentItem">  <div class="contentItemLinks">    <a href="./help/staticPages.html" target="_blank">Help</a>  </div>  <h1>Static page</h1>  <h2>&nbsp;</h2>  <div class="contentItemBody">    <form name="editStaticPage" action="saveStaticPage.secureaction#preview" method="POST" accept-charset="${blog.characterEncoding}">    <input type="hidden" name="page" value="${staticPage.id}" />    <input type="hidden" name="persistent" value="${staticPage.persistent}" />    <c:if test="${not empty validationContext.errors}">    <div class="validationError">      <b>${validationContext.numberOfErrors} error(s)</b>      <ul>      <c:forEach var="error" items="${validationContext.errors}">        <li>${error.message}</li>      </c:forEach>      </ul>    </div>    </c:if>    <table width="99%" cellspacing="0" cellpadding="4">      <tr>        <td valign="top"><b>Name</b></td>        <td><c:out value="${blog.url}pages/"/><input type="text" name="name" size="20" value="${staticPage.name}">.html</td>      </tr>      <tr>        <td valign="top"><b>Title</b></td>        <td><input type="text" name="title" size="60" value="${staticPage.title}"></td>      </tr>      <tr>        <td valign="top"><b>Subtitle</b></td>        <td><input type="text" name="subtitle" size="60" value="${staticPage.subtitle}"></td>      </tr>      <tr>        <td colspan="2"><b>Body</b></td>      </tr>      <tr>        <td colspan="2"><textarea name="body" rows="40" cols="60"><c:out value="${staticPage.body}" escapeXml="true"/></textarea></td>      </tr>      <tr>        <td valign="top"><b>Original permalink</b></td>        <td>          <input type="text" name="originalPermalink" size="60" value="${staticPage.originalPermalink}">          <div class="small">(optional, this will become the permalink for your static page)</div>        </td>      </tr>      <tr>        <td colspan="2" align="right">          <input name="submit" type="submit" Value="Preview" />          <input name="submit" type="submit" Value="Save" />        </td>      </tr>    </table>    </form>  </div></div>

⌨️ 快捷键说明

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