Author: ssolsagl Date: 2007-05-25 13:55:25 +0200 (Fri, 25 May 2007) New Revision: 5175
Modified:
trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
Log:
Reformated velocity debug test
Modified: trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
===================================================================
--- trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
2007-05-25 11:54:04 UTC (rev 5174)
+++ trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
2007-05-25 11:55:25 UTC (rev 5175)
@@ -16,35 +16,35 @@
<body>
-
<%-- FIXME please remove the following
scriptlet code 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";
-
%>
+<%-- FIXME please remove the following scriptlet code 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>
-
</font>
-
</div>
-
<%
-
}
-
%>
+<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
