Return-Path: X-Original-To: apmail-manifoldcf-commits-archive@www.apache.org Delivered-To: apmail-manifoldcf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06E69178B4 for ; Fri, 12 Jun 2015 00:55:37 +0000 (UTC) Received: (qmail 5227 invoked by uid 500); 12 Jun 2015 00:55:37 -0000 Delivered-To: apmail-manifoldcf-commits-archive@manifoldcf.apache.org Received: (qmail 5093 invoked by uid 500); 12 Jun 2015 00:55:37 -0000 Mailing-List: contact commits-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list commits@manifoldcf.apache.org Received: (qmail 4952 invoked by uid 99); 12 Jun 2015 00:55:37 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 00:55:37 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 95A0CAC0E1A for ; Fri, 12 Jun 2015 00:55:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1685010 [9/18] - /manifoldcf/trunk/framework/crawler-ui/src/main/webapp/ Date: Fri, 12 Jun 2015 00:55:36 -0000 To: commits@manifoldcf.apache.org From: kishore@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150612005537.95A0CAC0E1A@hades.apache.org> Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listoutputs.jsp URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listoutputs.jsp?rev=1685010&r1=1685009&r2=1685010&view=diff ============================================================================== --- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listoutputs.jsp (original) +++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listoutputs.jsp Fri Jun 12 00:55:35 2015 @@ -2,24 +2,24 @@ <% -/* $Id$ */ + /* $Id$ */ /** -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ %> @@ -28,116 +28,145 @@ - - - - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.ApacheManifoldCFListOutputConnections")%> - - - + //--> + - - - - - -
-

<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.ListOfOutputConnections")%>

-
- - - - -<% - try - { - // Get the output connection manager handle - IOutputConnectionManager manager = OutputConnectionManagerFactory.make(threadContext); - IOutputConnectorManager connectorManager = OutputConnectorManagerFactory.make(threadContext); - IOutputConnection[] connections = manager.getAllConnections(); -%> - - - - - - - - - - - -<% - int i = 0; - while (i < connections.length) - { - IOutputConnection connection = connections[i++]; - - String name = connection.getName(); - String description = connection.getDescription(); - if (description == null) - description = ""; - String className = connection.getClassName(); - String connectorName = connectorManager.getDescription(className); - if (connectorName == null) - connectorName = className + Messages.getString(pageContext.getRequest().getLocale(),"listoutputs.uninstalled");; - int maxCount = connection.getMaxConnections(); - -%> - > - - - - - - -<% - } -%> - - - - -

<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.Name")%><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.Description")%><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.ConnectionType")%><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.Max")%>
- - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.View")%> - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.Edit")%> - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.Delete")%> - - <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%><%=Integer.toString(maxCount)%>

"><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listoutputs.AddaNewOutputConnection")%>
- -<% - } - catch (ManifoldCFException e) - { - e.printStackTrace(); - variableContext.setParameter("text",e.getMessage()); - variableContext.setParameter("target","index.jsp"); -%> - -<% - } -%> - -
+ + + + + + + + +
+

<%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.ListOfOutputConnections")%> +

+ +
+ + + + + <% + try { + // Get the output connection manager handle + IOutputConnectionManager manager = OutputConnectionManagerFactory.make(threadContext); + IOutputConnectorManager connectorManager = OutputConnectorManagerFactory.make(threadContext); + IOutputConnection[] connections = manager.getAllConnections(); + %> + + + + + + + + + + + + <% + int i = 0; + while (i < connections.length) { + IOutputConnection connection = connections[i++]; + + String name = connection.getName(); + String description = connection.getDescription(); + if (description == null) + description = ""; + String className = connection.getClassName(); + String connectorName = connectorManager.getDescription(className); + if (connectorName == null) + connectorName = className + Messages.getString(pageContext.getRequest().getLocale(), "listoutputs.uninstalled"); + ; + int maxCount = connection.getMaxConnections(); + + %> + > + + + + + + + <% + } + %> + + + + + + +
+
+
+ <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.Name")%> + + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.Description")%> + + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.ConnectionType")%> + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.Max")%> +
+ + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.View")%> + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.Edit")%> + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.Delete")%> + + + <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%> + <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%> + <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%> + <%=Integer.toString(maxCount)%> +
+
+
+ "><%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listoutputs.AddaNewOutputConnection")%> +
+ + <% + } catch (ManifoldCFException e) { + e.printStackTrace(); + variableContext.setParameter("text", e.getMessage()); + variableContext.setParameter("target", "index.jsp"); + %> + + <% + } + %> + +
Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listtransformations.jsp URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listtransformations.jsp?rev=1685010&r1=1685009&r2=1685010&view=diff ============================================================================== --- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listtransformations.jsp (original) +++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/listtransformations.jsp Fri Jun 12 00:55:35 2015 @@ -2,24 +2,24 @@ <% -/* $Id$ */ + /* $Id$ */ /** -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ %> @@ -28,116 +28,145 @@ - - - - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.ApacheManifoldCFListTransformationConnections")%> - - - + //--> + - - - - - -
-

<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.ListOfTransformationConnections")%>

-
- - - - -<% - try - { - // Get the transformation connection manager handle - ITransformationConnectionManager manager = TransformationConnectionManagerFactory.make(threadContext); - ITransformationConnectorManager connectorManager = TransformationConnectorManagerFactory.make(threadContext); - ITransformationConnection[] connections = manager.getAllConnections(); -%> - - - - - - - - - - - -<% - int i = 0; - while (i < connections.length) - { - ITransformationConnection connection = connections[i++]; - - String name = connection.getName(); - String description = connection.getDescription(); - if (description == null) - description = ""; - String className = connection.getClassName(); - String connectorName = connectorManager.getDescription(className); - if (connectorName == null) - connectorName = className + Messages.getString(pageContext.getRequest().getLocale(),"listtransformations.uninstalled");; - int maxCount = connection.getMaxConnections(); - -%> - > - - - - - - -<% - } -%> - - - - -

<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.Name")%><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.Description")%><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.ConnectionType")%><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.Max")%>
- - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.View")%> - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.Edit")%> - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.Delete")%> - - <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%><%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%><%=Integer.toString(maxCount)%>

"><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"listtransformations.AddaNewTransformationConnection")%>
- -<% - } - catch (ManifoldCFException e) - { - e.printStackTrace(); - variableContext.setParameter("text",e.getMessage()); - variableContext.setParameter("target","index.jsp"); -%> - -<% - } -%> - -
+ + + + + + + + +
+

<%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.ListOfTransformationConnections")%> +

+ +
+ + + + + <% + try { + // Get the transformation connection manager handle + ITransformationConnectionManager manager = TransformationConnectionManagerFactory.make(threadContext); + ITransformationConnectorManager connectorManager = TransformationConnectorManagerFactory.make(threadContext); + ITransformationConnection[] connections = manager.getAllConnections(); + %> + + + + + + + + + + + + <% + int i = 0; + while (i < connections.length) { + ITransformationConnection connection = connections[i++]; + + String name = connection.getName(); + String description = connection.getDescription(); + if (description == null) + description = ""; + String className = connection.getClassName(); + String connectorName = connectorManager.getDescription(className); + if (connectorName == null) + connectorName = className + Messages.getString(pageContext.getRequest().getLocale(), "listtransformations.uninstalled"); + ; + int maxCount = connection.getMaxConnections(); + + %> + > + + + + + + + <% + } + %> + + + + + + +
+
+
+ <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.Name")%> + + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.Description")%> + + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.ConnectionType")%> + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.Max")%> +
+ + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.View")%> + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.Edit")%> + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.Delete")%> + + + <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(name)%> + <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(description)%> + <%=org.apache.manifoldcf.ui.util.Encoder.bodyEscape(connectorName)%> + <%=Integer.toString(maxCount)%> +
+
+
+ "><%=Messages.getBodyString(pageContext.getRequest().getLocale(), "listtransformations.AddaNewTransformationConnection")%> +
+ + <% + } catch (ManifoldCFException e) { + e.printStackTrace(); + variableContext.setParameter("text", e.getMessage()); + variableContext.setParameter("target", "index.jsp"); + %> + + <% + } + %> + +
Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/login.jsp URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/login.jsp?rev=1685010&r1=1685009&r2=1685010&view=diff ============================================================================== --- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/login.jsp (original) +++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/login.jsp Fri Jun 12 00:55:35 2015 @@ -1,91 +1,111 @@ -<% response.setHeader("Pragma","No-cache"); -response.setDateHeader("Expires",0); -response.setHeader("Cache-Control", "no-cache"); -response.setDateHeader("max-age", 0); -response.setContentType("text/html;charset=utf-8"); -%><%@ include file="adminDefaults.jsp" %> +<% response.setHeader("Pragma", "No-cache"); + response.setDateHeader("Expires", 0); + response.setHeader("Cache-Control", "no-cache"); + response.setDateHeader("max-age", 0); + response.setContentType("text/html;charset=utf-8"); +%> +<%@ include file="adminDefaults.jsp" %> <% -/* $Id$ */ + /* $Id$ */ /** -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ %> - - - - - <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"index.ApacheManifoldCFLogin")%> - - - - - - - - + +
+ + + + + <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "index.ApacheManifoldCFLogin")%> + + + + + + + + + + - -
-
- -<% -String value = variableContext.getParameter("loginfailed"); -if (value != null && value.equals("true")) -{ -%> - - -<% -} -%> - - - - - - - - - - - - -
<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"index.LoginFailed")%>

<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"index.UserIDColon")%> - -
<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"index.PasswordColon")%> - -

- -
-
-
- +
+ + <% + String value = variableContext.getParameter("loginfailed"); + if (value != null && value.equals("true")) { + %> + + + + + + + <% + } + %> + + + + + + + + + + + + + + +
<%=Messages.getBodyString(pageContext.getRequest().getLocale(), "index.LoginFailed")%> +
+
+
+ <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "index.UserIDColon")%> + + + +
+ <%=Messages.getBodyString(pageContext.getRequest().getLocale(), "index.PasswordColon")%> + + + +
+
+
+ +
+
+
+ Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/logout.jsp URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/logout.jsp?rev=1685010&r1=1685009&r2=1685010&view=diff ============================================================================== --- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/logout.jsp (original) +++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/logout.jsp Fri Jun 12 00:55:35 2015 @@ -1,33 +1,34 @@ -<% response.setHeader("Pragma","No-cache"); -response.setDateHeader("Expires",0); -response.setHeader("Cache-Control", "no-cache"); -response.setDateHeader("max-age", 0); -response.setContentType("text/html;charset=utf-8"); -%><%@ include file="adminDefaults.jsp" %> +<% response.setHeader("Pragma", "No-cache"); + response.setDateHeader("Expires", 0); + response.setHeader("Cache-Control", "no-cache"); + response.setDateHeader("max-age", 0); + response.setContentType("text/html;charset=utf-8"); +%> +<%@ include file="adminDefaults.jsp" %> <% -/* $Id$ */ + /* $Id$ */ /** -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You under the Apache License, Version 2.0 -* (the "License"); you may not use this file except in compliance with -* the License. You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ %> <% -adminprofile.logout(); -response.sendRedirect("login.jsp"); + adminprofile.logout(); + response.sendRedirect("login.jsp"); %>