Skip to content

Commit

Permalink
IDE failed to refactor references embedded in JSPs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoodiupui committed May 28, 2013
1 parent e0d803c commit 2b56480
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dspace-jspui/src/main/webapp/home.jsp
Expand Up @@ -29,6 +29,7 @@
<%@ page import="org.dspace.app.webui.util.UIUtil" %>
<%@ page import="org.dspace.content.Community" %>
<%@ page import="org.dspace.core.ConfigurationManager" %>
<%@ page import="org.dspace.core.NewsManager" %>
<%@ page import="org.dspace.browse.ItemCounter" %>

<%
Expand All @@ -37,8 +38,8 @@
Locale[] supportedLocales = I18nUtil.getSupportedLocales();
Locale sessionLocale = UIUtil.getSessionLocale(request);
Config.set(request.getSession(), Config.FMT_LOCALE, sessionLocale);
String topNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, "news-top.html"));
String sideNews = ConfigurationManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, "news-side.html"));
String topNews = NewsManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, "news-top.html"));
String sideNews = NewsManager.readNewsFile(LocaleSupport.getLocalizedMessage(pageContext, "news-side.html"));
boolean feedEnabled = ConfigurationManager.getBooleanProperty("webui.feed.enable");
String feedData = "NONE";
Expand Down

0 comments on commit 2b56480

Please sign in to comment.