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

📄 rule-form.jsp

📁 openfire 服务器源码下载
💻 JSP
📖 第 1 页 / 共 2 页
字号:
                    ><%=option%>            </option>            <% } %>        </select>    </td></tr><tr class="jive-odd" name="SourceOther"    id="SourceOther" <%if (source == null || !source.equals(Rule.SourceDestType.Other.toString())) {%>    style="display:none;"<%}%>        >    <td>        Other JID    </td>    <td>        <input type="text" name="sourceOtherJID" id="sourceOtherJID"                <%if (source != null && source.equals(Rule.SourceDestType.Other.toString())) {%>               value="<%=sourceJID%>"                <%}%>                ></input>    </td></tr><tr class="jive-odd" name="SourceGroup"    id="SourceGroup" <%if (source == null || !source.equals(Rule.SourceDestType.Group.toString())) {%>    style="display:none;"<%}%>        >    <td>        Source Group    </td>    <td>        <select id="sourceGroupJID" name="sourceGroupJID">            <% for (Group group : groups) {%>            <option value="<%=group.getName()%>" <%if (sourceJID != null && sourceJID.equals(group.getName())) {%>                    selected<%}%>                    ><%=group.getName()%>            </option>            <%}%>        </select>    </td></tr><tr class="jive-odd" name="SourceUser"    id="SourceUser"  <%if (source == null || !source.equals(Rule.SourceDestType.User.toString())) {%>    style="display:none;"><%}%>    <td>        Source User    </td>    <td>        <select id="sourceUserJID" name="sourceUserJID">            <% for (String userName : userList) {%>            <option value="<%=userName+"@"+serverName%>"                    <%if (sourceJID != null && sourceJID.equals(userName + "@" + serverName)) {%>                    selected<%}%>                    ><%=userName + "@" + serverName%>            </option>            <%}%>        </select>    </td></tr><tr class="jive-odd" name="SourceComponent"    id="SourceComponent" <%if (source == null || !source.equals(Rule.SourceDestType.Component.toString())) {%>    style="display:none;"<%}%>        >    <td>        Component    </td>    <td>        <select id="sourceComponentJID" name="sourceComponentJID">            <% if (components != null && components.size() > 0) {                for (String component : components) {             if (component != null && cList.getComponentName(component) != null) { %>            <option value="<%=component%>"                    <%if (sourceJID != null && sourceJID.equals(component)) {%>                    selected<%}%>>                <%=cList.getComponentName(component)%>            </option>            <% }            }            }else {%>            <option value="">                None Installed            </option>            <%}%>        </select>    </td></tr><tr class="jive-even">    <td>To</td>    <td>        <select name="destination" id="destination" onChange="ShowDestinationField('destination')">            <% for (int i = 0; i < type.length; i++) {                String option = type[i].toString();%>            <option value="<%=option%>" <%                if (destination != null &&                        destination.equals(option)) {            %>                    selected <%}%>                    ><%=option%>            </option>            <% } %>        </select>    </td></tr><tr class="jive-even" name="DestComponent"    id="DestComponent" <%if (destination == null || !destination.equals(Rule.SourceDestType.Component.toString())) {%>    style="display:none;"<%}%>        >    <td>        Component    </td>    <td>        <select id="destComponentJID" name="destComponentJID">            <% if (components != null && components.size() > 0) {                for (String component : components) {            if (component != null && cList.getComponentName(component) != null) {  %>            <option value="<%=component%>"                    <%if (destJID != null && destJID.equals(component)) {%>                    selected<%}%>>                <%=cList.getComponentName(component)%>            </option>            <% }            }            } else {%>            <option value="">                None Installed            </option>            <%}%>        </select>    </td></tr><tr class="jive-even" name="DestOther"    id="DestOther"  <%if (destination == null || !destination.equals(Rule.SourceDestType.Other.toString())) {%>    style="display:none;"<%}%>        >    <td>        Other JID    </td>    <td>        <input type="text" name="destOtherJID" id="destOtherJID"                <%if (destination != null && destination.equals(Rule.SourceDestType.Other.toString())) {%>               value="<%=destJID%>"                <%}%>                ></input>    </td></tr><tr class="jive-odd" name="DestGroup" id="DestGroup" <%    if (destination == null ||            !destination.equals(Rule.SourceDestType.Group.toString())) {%>    style="display:none;"<%}%>        >    <td>        Destination Group    </td>    <td>        <select id="destGroupJID" name="destGroupJID">            <% for (Group group : groups) {%>            <option value="<%=group.getName()%>" <%if (destJID != null && destJID.equals(group.getName())) {%>                    selected<%}%>                    ><%=group.getName()%>            </option>            <%}%>        </select>    </td></tr><tr class="jive-odd" name="DestUser" id="DestUser" <%    if (destination == null            || !destination.equals(Rule.SourceDestType.User.toString())) {%>    style="display:none;"<%}%>>    <td>        Destination User    </td>    <td>        <select id="destUserJID" name="destUserJID">            <% for (String userName : userList) {%>            <option value="<%=userName+"@"+serverName%>" <%if (destJID != null && destJID.equals(userName + "@" + serverName)) {%>                    selected<%}%>                    ><%=userName + "@" + serverName%>            </option>            <%}%>        </select>    </td></tr><tr class="jive-odd">    <td>Log</td>    <td><input type="checkbox" name="log" value="true"    <% if (log != null && log.equals("true")) {%>               checked <%}%>            ></td></tr><tr class="jive-even">    <td>Description</td>    <td><input type="text" size="40" name="description"            <%if (description != null) {%>               value="<%=description%>"<%}%>            ></input></td></tr><tr>    <td>        <input type="submit" name="create" value="<fmt:message key="pf.create.rule" />">        <input type="submit" name="cancel" value="<fmt:message key="pf.global.cancel" />">    </td>    <td>&nbsp;</td></tr></tbody></table></div></form></body></html>

⌨️ 快捷键说明

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