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
|
@ -101,11 +101,16 @@ ul#otherMenu li {
|
|||
margin-left: 4px;
|
||||
}
|
||||
|
||||
ul#otherMenu li.border {
|
||||
ul#otherMenu li {
|
||||
padding-right: 4px;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
|
||||
ul#otherMenu li.last {
|
||||
padding-right: 0;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
|
||||
/************************
|
||||
Navigation and Search
|
||||
|
|
|
@ -106,11 +106,11 @@ portal.getRootBreadCrumbURL() : request.getContextPath()+"/";
|
|||
<c:param name="home" value="${currentPortal}" />
|
||||
</c:url>
|
||||
|
||||
<li class="border">
|
||||
<li>
|
||||
Logged in as <strong><%= loginName %></strong> (<a href="${logoutHref}">Log out</a>)
|
||||
</li>
|
||||
|
||||
<li class="border"><a href="${siteAdminHref}" >Site Admin</a></li>
|
||||
<li><a href="${siteAdminHref}" >Site Admin</a></li>
|
||||
|
||||
<%-- A user is not logged in --%>
|
||||
<% } else { %>
|
||||
|
@ -120,7 +120,7 @@ portal.getRootBreadCrumbURL() : request.getContextPath()+"/";
|
|||
<c:param name="login" value="block"/>
|
||||
</c:url>
|
||||
|
||||
<li class="border"><a title="log in to manage this site" href="${loginHref}">Log in</a></li>
|
||||
<li><a title="log in to manage this site" href="${loginHref}">Log in</a></li>
|
||||
<% } %>
|
||||
|
||||
<c:url var="aboutHref" value="<%= Controllers.ABOUT %>">
|
||||
|
@ -130,10 +130,10 @@ portal.getRootBreadCrumbURL() : request.getContextPath()+"/";
|
|||
<c:out value="${aboutHref}" escapeXml="true"/>
|
||||
</c:set>
|
||||
|
||||
<li<c:if test="${contactMailSetup}"> class="border"</c:if>><a href="${aboutHref}" title="more about this web site">About</a></li>
|
||||
<li<c:if test="${!contactMailSetup}"> class="last"</c:if>><a href="${aboutHref}" title="more about this web site">About</a></li>
|
||||
|
||||
<c:if test="${contactMailSetup}" >
|
||||
<li><a href='<c:url value="/comments"><c:param name="home" value="${currentPortal}"/></c:url>'>Contact Us</a></li>
|
||||
<li class="last"><a href='<c:url value="/comments"><c:param name="home" value="${currentPortal}"/></c:url>'>Contact Us</a></li>
|
||||
</c:if>
|
||||
</ul>
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
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