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

📄 postform.jsp

📁 jive3.1.4破解版(非源码)
💻 JSP
📖 第 1 页 / 共 2 页
字号:
    <td>        <table class="jive-font-buttons" cellpadding="2" cellspacing="0" border="0">        <tr>            <td><a href="#" onclick="styleTag('b',document.postform.body);return false;"                 title="<jive:i18n key="post.bold" />"                 ><img src="images/bold.gif" width="20" height="22" border="0" alt="<jive:i18n key="post.bold" />"></a></td>            <td><a href="#" onclick="styleTag('i',document.postform.body);return false;"                 title="<jive:i18n key="post.italic" />"                 ><img src="images/italics.gif" width="20" height="22" border="0" alt="<jive:i18n key="post.italic" />"></a></td>            <td><a href="#" onclick="styleTag('u',document.postform.body);return false;"                 title="<jive:i18n key="post.underline" />"                 ><img src="images/underline.gif" width="20" height="22" border="0" alt="<jive:i18n key="post.underline" />"></a></td>            <td><input type="submit" name="doSpellCheck" accesskey="s" class="fontButton" value="<jive:i18n key="post.spell_check" />"></td>            <%  if (action.isReply()) { %>                <td><input type="submit" name="doQuoteOriq" accesskey="q" class="fontButton" value="<jive:i18n key="post.quote" />" tabindex="<%= tabIndex++ %>"></td>            <%  } %>        </tr>        </table>    </td></tr><tr>    <td class="jive-label" valign="top">        <%-- Message: --%>        <jive:i18n key="global.message" /><jive:i18n key="global.colon" />    </td>    <td>        <textarea name="body" wrap="virtual" cols="58" rows="12" tabindex="<%= tabIndex++ %>"         ><%= ((action.getBody() != null) ? action.getBody() : "") %></textarea>    </td></tr><jive:property if="questions.enabled">    <%  if (!action.isReply()) { %>        <tr>            <td class="jive-label" valign="top">                &nbsp;            </td>            <td>                <input type="checkbox" name="markAsQuestion" value="true" id="cb01"                 <%= ("true".equals(action.getMarkAsQuestion()) ? "checked" : "") %>>                <%-- Mark this topic as a question. --%>                <label for="cb01"                 ><jive:i18n key="question.mark_topic_as_question" /></label>            </td>        </tr>    <%  } else { %>        <%-- Mark as question box --%>        <%  // Determine if the page user is the topic author. Because this is a reply, there will            // be a thread:            ForumThread thread = action.getThread();            // Is this thread a question?            boolean isQuestion = "true".equals(thread.getProperty("isQuestion"));            // Is the page user the author of the thread?            boolean isAuthor = false;            if (thread.getRootMessage().getUser() != null && action.getPageUser() != null)            {                isAuthor = action.getPageUser().getID() == thread.getRootMessage().getUser().getID();            }            // Ask the user about their question            if (isQuestion && isAuthor) {        %>            <%  // If the question has not been answered:                String resolution = thread.getProperty("questionResolution");                if (!"answered".equals(resolution)) { %>                <tr>                    <td class="jive-label" valign="top">                        &nbsp;                    </td>                    <td>                        <fieldset>                            <%-- Has your question been answered? --%>                            <legend><jive:i18n key="question.has_your_question_been_answered" /></legend>                            <table cellpadding="2" cellspacing="0" border="0">                            <tr>                                <td>                                    <input type="radio" name="resolution" value="<%= QuestionAction.ANSWERED %>" id="r01"                                     <%= (("answered".equals(resolution)) ? "checked" : "") %>>                                </td>                                <%-- Yes, my question has been answered. --%>                                <td><label for="r01"><jive:i18n key="question.yes_has_been_answered" /></label></td>                            </tr>                            <tr>                                <td>                                    <input type="radio" name="resolution" value="<%= QuestionAction.UNANSWERED %>" id="r02"                                     <%= (("unanswered".equals(resolution)) ? "checked" : "") %>>                                </td>                                <%-- No, my question has not been answered yet. --%>                                <td><label for="r02"><jive:i18n key="question.no_has_not_been_answered" /></label></td>                            </tr>                            </table>                        </fieldset>                    </td>                </tr>            <%  } %>        <%  } %>    <%  } %></jive:property><tr>    <td>&nbsp;</td>    <td>        <%-- Preview --%>        <input type="submit" name="doPreview" value="<jive:i18n key="global.preview" />" tabindex="<%= tabIndex++ %>">        <%  if (action.getCanAttach(forum)) { %>            <%-- attach files --%>            <input type="submit" name="doAttach" value="<jive:i18n key="post.attach_files" />" tabindex="<%= tabIndex++ %>">        <%  } %>        <%-- post message --%>        <input type="submit" name="doPost" value="<jive:i18n key="global.post_message" />" tabindex="<%= tabIndex++ %>">        &nbsp;        <%-- cancel --%>        <input type="submit" name="doCancel" value="<jive:i18n key="global.cancel" />" tabindex="<%= tabIndex++ %>">    </td></tr></table></div></form><script language="JavaScript" type="text/javascript"><!--    <%  if (action.isGuest()) { %>        document.postform.name.focus();    <%  } else { %>        <%  if (action.isReply()) { %>            document.postform.body.focus();        <%  } else { %>            document.postform.subject.focus();        <%  } %>    <%  } %>//--></script><%  if (action.isReply()) { %>    <%-- Original Message: --%>    <jive:i18n key="post.original" /><jive:i18n key="global.colon" />    <br><br>    <%  // Get the parent message:        ForumMessage parent = action.getMessage();    %>    <div class="jive-message-list">    <table class="jive-box" cellpadding="3" cellspacing="2" border="0" width="100%">    <tr valign="top" class="jive-odd">        <td width="1%">            <table cellpadding="0" cellspacing="0" border="0" width="180">            <tr>                <td>                    <%  if (parent.getUser() != null) {                            User author = parent.getUser();                    %>                        <a href="profile.jspa?userID=<%= author.getID() %>"                         title="<%= ((author.getName() != null) ? author.getName() : "") %>"                         ><%= author.getUsername() %></a>                        <br><br>                        <jive:i18n key="global.posts" /><jive:i18n key="global.colon" />                        <%= action.getNumberFormat().format(action.getForumFactory().getUserMessageCount(author)) %>                        <br>                        <%  if (author.getProperty("jiveLocation") != null) { %>                            <%-- From: --%>                            <jive:i18n key="global.from" /><jive:i18n key="global.colon" />                            <%= StringUtils.escapeHTMLTags(author.getProperty("jiveLocation")) %>                            <br>                        <%  } %>                        <%-- Registered: --%>                        <jive:i18n key="global.registered" /><jive:i18n key="global.colon" />                        <%= action.getShortDateFormat().format(author.getCreationDate()) %>                    <%  } else { %>                        <%  // Create a 'guest' bean - this helps us render the guest properties                            Guest guest = new Guest();                            guest.setMessage(parent);                        %>                        <span class="jive-guest">                        <%  if (guest.getEmail() != null) { %>                            <a href="mailto:<%= guest.getEmail() %>"><%= guest.getDisplay() %></a>                        <%  } else { %>                            <%= guest.getDisplay() %>                        <%  } %>                        </span>                    <%  } %>                </td>            </tr>            </table>        </td>        <td width="99%">            <table cellpadding="0" cellspacing="0" border="0" width="100%">            <tr valign="top">                <td>                    <span class="jive-subject">                    <%= parent.getSubject() %>                    </span>                    <br>                    <%-- Posted: --%>                    <jive:i18n key="global.posted" /><jive:i18n key="global.colon" />                    <%= action.getDateFormat().format(parent.getCreationDate()) %>                </td>            </tr>            <tr>                <td colspan="2" style="border-top: 1px #ccc solid;">                    <br>                    <%= parent.getBody() %>                    <br><br>                </td>            </tr>            </table>        </td>    </tr>    </table>    </div><%  } %><jsp:include page="footer.jsp" flush="true" />

⌨️ 快捷键说明

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