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:
parent
3a78b7ae23
commit
e3e38c87c6
3 changed files with 14 additions and 9 deletions
|
@ -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\"");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue