mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- Allow addition of Alfresco OpenSearch to browser just by going to Alfresco Web Client.
- Remove obsolete /services/index.html page git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -126,6 +126,7 @@ public class PageTag extends TagSupport
|
||||
|
||||
try
|
||||
{
|
||||
String reqPath = ((HttpServletRequest)pageContext.getRequest()).getContextPath();
|
||||
Writer out = pageContext.getOut();
|
||||
|
||||
if (Application.inPortalServer() == false)
|
||||
@@ -143,12 +144,12 @@ public class PageTag extends TagSupport
|
||||
{
|
||||
out.write("Alfresco Web Client");
|
||||
}
|
||||
out.write("</title></head>");
|
||||
out.write("</title>");
|
||||
out.write("<link rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"" + reqPath + "/wcservice/api/search/keyword/description.xml\" title=\"Alfresco Keyword Search\"/>");
|
||||
out.write("</head>");
|
||||
out.write("<body>\n");
|
||||
}
|
||||
|
||||
String reqPath = ((HttpServletRequest)pageContext.getRequest()).getContextPath();
|
||||
|
||||
// CSS style includes
|
||||
out.write(STYLES_START);
|
||||
out.write(reqPath);
|
||||
|
Reference in New Issue
Block a user