<%-- - $RCSfile$ - $Revision$ - $Date$ - - Copyright (C) 2004 Jive Software. All rights reserved. - - This software is published under the terms of the GNU Public License (GPL), - a copy of which is included in this distribution. --%> <%@ page import="org.jivesoftware.util.*, java.util.*, org.jivesoftware.openfire.*, org.jivesoftware.admin.*" errorPage="error.jsp" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <% webManager.init(request, response, session, application, out ); %> <fmt:message key="private.data.settings.title"/> <% // Get parameters: boolean update = request.getParameter("update") != null; boolean privateEnabled = ParamUtils.getBooleanParameter(request,"privateEnabled"); // Get an audit manager: PrivateStorage privateStorage = webManager.getPrivateStore(); Map errors = new HashMap(); if (update) { privateStorage.setEnabled(privateEnabled); %>

<% } // Set page vars if (errors.size() == 0) { privateEnabled = privateStorage.isEnabled(); } %>

>
>
">