Author: ssolsagl Date: 2007-06-29 10:46:38 +0200 (Fri, 29 Jun 2007) New Revision: 5465
Modified:
branches/2.14/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
Log:
scriptlet gone
Modified: branches/2.14/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
===================================================================
--- branches/2.14/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
2007-06-28 15:49:48 UTC (rev 5464)
+++ branches/2.14/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
2007-06-29 08:46:38 UTC (rev 5465)
@@ -1,3 +1,4 @@
+
<%-- Copyright (2006-2007) Schibsted Søk AS
--
-- The Homegrown Templating System.
@@ -16,35 +17,7 @@
<body>
-<%-- FIXME please remove the following scriptlet code (on the right) from this
jsp --%>
-
<% // If velocity debug is turned on,
display developer bar .
-
// TODO Move to wanted place or
add show/hide function to the developerbar
-
if
("true".equals(System.getProperty("VELOCITY_DEBUG")) &&
!"true".equals(System.getProperty("VELOCITY_DEVELOPERBAR_HIDDEN"))) {
-
String loadPath =
System.getProperty("VELOCITY_DEBUG_TEMPLATE_DIR");
-
if (loadPath == null) {
-
loadPath =
"(URLResourceLoader)";
-
}
-
%>
-
<%
-
boolean VELOCITY_DEBUG_ON =
"true".equals(System.getProperty("VELOCITY_DEBUG_ON"));
-
String background = "#DDDDDD";
-
String color = "black";
-
String linkText =
VELOCITY_DEBUG_ON ? "Off" : "On";
-
%>
-
<div width="100%"
style="font-size:12px;background-color:<%=background%>;border:1px solid
#C0C0C0; color:<%=color%>">
-
DeveloperBar:
-
VelocityDebug: <a style="color:
blue" href="/servlet/VelocityDebug?<%= request.getQueryString()%>"><%= linkText
%>
-
</a>
-
|
-
TemplatePath: <%= loadPath %>
-
</div>
-
-
-
<%
-
}
-
%>
-
<search:include include="topBar"/>
<search:include include="header"/>
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits
