Move FreeMarker templates, controllers, setup, and library upgrades into trunk. Not used to generate any pages or templates yet (except a couple of hidden pages that are only available through the url).

This commit is contained in:
rjy7 2010-05-11 20:37:50 +00:00
parent 3a78b7ae23
commit e3e38c87c6
3 changed files with 14 additions and 9 deletions

View file

@ -45,8 +45,8 @@
String uri = (String)request.getAttribute("javax.servlet.forward.request_uri");
if(uri != null){
request.setAttribute("indexClass", uri.indexOf("browsecontroller") > 0 ? "class=\"activeTab\"" : "");
request.setAttribute("indexClass", uri.endsWith("browsecontroller") ? "class=\"activeTab\"" : "");
if ( uri.indexOf("about") > 0) {
request.setAttribute("aboutClass","class=\"activeTab\"");
}