Author: ssolsagl
Date: 2007-04-30 10:58:23 +0200 (Mon, 30 Apr 2007)
New Revision: 4923
Modified:
trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
Log:
possible to hide developerbar
Modified: trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
===================================================================
--- trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
2007-04-30 08:44:32 UTC (rev 4922)
+++ trunk/war/src/webapp/WEB-INF/jsp/decorators/httpDecorator.jsp
2007-04-30 08:58:23 UTC (rev 4923)
@@ -17,9 +17,11 @@
<body onload="SesamInit.onLoad('<c:out value="${tab.key}"/>', '<c:out
value="${vertikal}"/>', '<c:out value="${datamodel.query.xmlEscaped}"/>',
<c:out value="${null != page}"/>);">
<%-- This is the real thing. The new templating system all should use.
--%>
+
+
<% // 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"))) {
+ 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)";
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits