Author: snoopdave
Date: Fri Apr 13 08:00:43 2007
New Revision: 528513
URL: http://svn.apache.org/viewvc?view=rev&rev=528513
Log:
Removing 'look' request param
Modified:
roller/branches/roller_3.1/web/WEB-INF/jsps/tiles/head.jsp
Modified: roller/branches/roller_3.1/web/WEB-INF/jsps/tiles/head.jsp
URL:
http://svn.apache.org/viewvc/roller/branches/roller_3.1/web/WEB-INF/jsps/tiles/head.jsp?view=diff&rev=528513&r1=528512&r2=528513
==============================================================================
--- roller/branches/roller_3.1/web/WEB-INF/jsps/tiles/head.jsp (original)
+++ roller/branches/roller_3.1/web/WEB-INF/jsps/tiles/head.jsp Fri Apr 13
08:00:43 2007
@@ -13,18 +13,7 @@
<link rel="stylesheet" type="text/css" media="all"
href='<c:url value="/roller-ui/styles/calendar.css"/>'>
-<%
-//String theme = theme = RollerConfig.getProperty("editor.theme");
-
-String theme = request.getParameter("look");
-if (theme == null && session != null) {
- theme = (String)session.getAttribute("look");
-}
-if (theme == null) {
- theme = RollerConfig.getProperty("editor.theme");
-}
-if (session !=null) session.setAttribute("look", theme);
-%>
+<% String theme = RollerConfig.getProperty("editor.theme"); %>
<link rel="stylesheet" type="text/css" media="all"
href="<%= request.getContextPath() %>/roller-ui/theme/<%= theme
%>/colors.css" />