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

📄 viewblogs.jsp

📁 pebble-blog 博客源码博客源码博客源码
💻 JSP
字号:
<div class="contentItem">  <div class="contentItemLinks">    <a href="./help/managingBlogs.html" target="_blank">Help</a>  </div>  <h1>Blogs</h1>  <h2>&nbsp;</h2>  <div class="contentItemBody">    <table width="99%" cellspacing="0" cellpadding="4">      <thead>        <th>ID</th>        <th>Name</th>        <th align="right">O</th>        <th align="right">P</th>        <th align="right">C</th>        <th align="right">R</th>        <th align="right">Admin links</th>      </thead>      <tbody>      <c:forEach var="aBlog" items="${blogs}" varStatus="status">        <c:choose>          <c:when test="${status.count % 2 == 0}">            <tr class="even">          </c:when>          <c:otherwise>              <tr class="odd">          </c:otherwise>        </c:choose>        <td>${aBlog.id}</td>        <td><a href="${aBlog.url}">${aBlog.name}</a></td>        <td align="right">          <c:choose><c:when test="${not empty aBlog.blogOwners}">X</c:when><c:otherwise>&nbsp;</c:otherwise></c:choose>        </td>        <td align="right">          <c:choose><c:when test="${not empty aBlog.blogPublishers}">X</c:when><c:otherwise>&nbsp;</c:otherwise></c:choose>        </td>        <td align="right">          <c:choose><c:when test="${not empty aBlog.blogContributors}">X</c:when><c:otherwise>&nbsp;</c:otherwise></c:choose>        </td>        <td align="right">          <c:choose><c:when test="${not empty aBlog.blogReaders}">X</c:when><c:otherwise>&nbsp;</c:otherwise></c:choose>        </td>        <td align="right">          <a href="${aBlog.url}viewBlogProperties.secureaction">Properties</a> |          <a href="${aBlog.url}viewPlugins.secureaction">Plugins</a>        </td>      </tr>      </c:forEach>      <tr>        <td colspan="7" align="center">          O P C R = whether Owners/Publishers/Contributors/Readers have been explicitly assigned        </td>      </tr>      </tbody>    </table>    <c:choose>    <c:when test="${blogManager.multiBlog}">    <p>      To add a new blog, enter the name that will be used to identify this blog underneath this web application (must contain a-zA-Z0-9_-~ characters only).    </p>    <p>    <form name="addBlog" action="addBlog.secureaction" method="POST">      <c:choose>        <c:when test="${pebbleContext.configuration.virtualHostingEnabled == true}">          ${blog.protocol}          <input name="id" type="text" value="" />          .${blog.domainName}          <input type="submit" value="Add Blog" />        </c:when>        <c:otherwise>          ${blog.url}          <input name="id" type="text" value="" />          <input type="submit" value="Add Blog" />        </c:otherwise>      </c:choose>    </form>    </p>    </c:when>    <c:otherwise>    <p>      Pebble is currently running in single-blog mode. To add more blogs to this Pebble instance, restart Pebble in multi-blog mode. You      can do this by setting the <code>multiBlog</code> property to <code>true</code> in the <code>/WEB-INF/pebble.properties</code> file and      restarting your web/application server.    </p>    </c:otherwise>    </c:choose>  </div></div>

⌨️ 快捷键说明

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