📄 registration-props-form.jsp
字号:
<table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/success-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.registration_contact_removed" /></td> </tr> </tbody> </table> </div> <% } else if (ParamUtils.getBooleanParameter(request, "addSuccess")) { %> <div class="jive-success"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/success-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.registration_contact_removed" /></td> </tr> </tbody> </table> </div> <% } else if (errors.containsKey("missingContact")) { %> <div class="jive-error"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.registration_contact_missing" /></td> </tr> </tbody> </table> </div> <% } else if (errors.containsKey("remoteContact")) { %> <div class="jive-error"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.registration_remote_contact" /></td> </tr> </tbody> </table> </div> <% } else if (errors.containsKey("userNotFound")) { %> <div class="jive-error"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.registration_contact_not_found" /></td> </tr> </tbody> </table> </div> <% } else if (errors.containsKey("invalidAddress")) { %> <div class="jive-error"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.registration_invalid_email" /></td> </tr> </tbody> </table> </div> <% } %> <div> <label for="contacttf"><fmt:message key="registration.props.form.registration_add_im" />:</label> <input type="text" name="contactIM" size="30" maxlength="100" value="<%= (contactIM != null ? contactIM : "") %>" id="contacttf"/> <input type="submit" value="<fmt:message key="registration.props.form.registration_add" />" onclick="return addIMContact();"/> <br><br> <div class="jive-table" style="width:400px;"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <thead> <tr> <th width="99%"><fmt:message key="registration.props.form.registration_im_contact" /></th> <th width="1%" nowrap><fmt:message key="registration.props.form.registration_remove" /></th> </tr> </thead> <tbody> <% if (plugin.getIMContacts().size() == 0) { %> <tr> <td width="100%" colspan="2" align="center" nowrap><fmt:message key="registration.props.form.registration_no_contact" /></td> </tr> <% } %> <% for (String imContact : plugin.getIMContacts()) { %> <tr> <td width="99%"><%=imContact %></td> <td width="1%" align="center"><a href="registration-props-form.jsp?deleteIM=true&contactIM=<%=imContact %>" title="Delete Contact?" onclick="return confirm('Are you sure you want to delete this contact?');"><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a> </td> </tr> <% } %> </tbody> </table> </div> </div> <div> <label for="emailtf"><fmt:message key="registration.props.form.registration_add_email" />:</label> <input type="text" name="contactEmail" size="30" maxlength="100" value="<%= (contactEmail != null ? contactEmail : "") %>" id="emailtf"/> <input type="submit" value="<fmt:message key="registration.props.form.registration_add" />" onclick="return addEmailContact();"/> <br><br> <div class="jive-table" style="width:400px;"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <thead> <tr> <th width="99%"><fmt:message key="registration.props.form.registration_email_contact" /></th> <th width="1%" nowrap><fmt:message key="registration.props.form.registration_add" /></th> </tr> </thead> <tbody> <% if (plugin.getEmailContacts().size() == 0) { %> <tr> <td width="100%" colspan="2" align="center" nowrap><fmt:message key="registration.props.form.registration_no_contact" /></td> </tr> <% } %> <% for (String emailContact : plugin.getEmailContacts()) { %> <tr> <td width="99%"><%=emailContact %></td> <td width="1%" align="center"><a href="registration-props-form.jsp?deleteEmail=true&contactEmail=<%=emailContact %>" title="Delete Contact?" onclick="return confirm('Are you sure you want to delete this contact?');"><img src="images/delete-16x16.gif" width="16" height="16" border="0"></a> </td> </tr> <% } %> </tbody> </table> </div> </div></div></form><br><form action="registration-props-form.jsp?savemessage=true" method="post"><div class="jive-contentBoxHeader"><fmt:message key="registration.props.form.welcome_message" /></div><div class="jive-contentBox"> <p><fmt:message key="registration.props.form.welcome_message_details" /></p> <% if (ParamUtils.getBooleanParameter(request, "welcomeSaved")) { %> <div class="jive-success"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/success-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.welcome_message_saved" /></td> </tr> </tbody> </table> </div> <% } %> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="5%" valign="top">Message: </td> <td width="95%"><textarea cols="45" rows="5" wrap="virtual" name="welcomemessage"><%= welcomeMessage %></textarea></td> <% if (errors.containsKey("missingWelcomeMessage")) { %> <span class="jive-error-text"><br><fmt:message key="registration.props.form.welcome_message_missing" /></span> <% } %> </tr> </tbody> </table> <br> <input type="submit" value="<fmt:message key="registration.props.form.welcome_message_save" />"/> </div></form><br><form action="registration-props-form.jsp?savegroup=true" method="post"><div class="jive-contentBoxHeader"><fmt:message key="registration.props.form.default_group" /></div><div class="jive-contentBox"> <p><fmt:message key="registration.props.form.default_group_details" /></p> <% if (ParamUtils.getBooleanParameter(request, "groupSaved")) { %> <div class="jive-success"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/success-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.default_group_saved" /></td> </tr> </tbody> </table> </div> <% } %> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td>Default Group: <input type="text" name="groupname" size="30" maxlength="100" value="<%= (group != null ? group : "") %>"/> <% if (errors.containsKey("groupNotFound")) { %> <span class="jive-error-text"><br><fmt:message key="registration.props.form.default_group_invalid" /></span> <% } %> </tr> </tbody> </table> <br> <input type="submit" value="<fmt:message key="registration.props.form.default_group_save" />"/> </div></form><br><form action="registration-props-form.jsp?saveheader=true" method="post"><div class="jive-contentBoxHeader"><fmt:message key="registration.props.form.sign_up" /></div><div class="jive-contentBox"> <p><fmt:message key="registration.props.form.sign_up_details" /></p> <% if (ParamUtils.getBooleanParameter(request, "headerSaved")) { %> <div class="jive-success"> <table cellpadding="0" cellspacing="0" border="0"> <tbody> <tr> <td class="jive-icon"><img src="images/success-16x16.gif" width="16" height="16" border="0"></td> <td class="jive-icon-label"><fmt:message key="registration.props.form.sign_up_saved" /></td> </tr> </tbody> </table> </div> <% } %> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td>Header Text: <input type="text" name="header" size="30" maxlength="100" value="<%=header %>"/></td> <% if (errors.containsKey("missingHeader")) { %> <span class="jive-error-text"><br><fmt:message key="registration.props.form.sign_up_missing" /></span> <% } %> </tr> </tbody> </table> <br> <input type="submit" value="<fmt:message key="registration.props.form.sign_up_save" />"/> </div></form></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -