Update of /cvsroot/roller/roller/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2148/web
Modified Files:
main.jsp
Log Message:
modified JSPs ant Tags to be XHTML compliant. Fixed CSS to work in Safari.
Index: main.jsp
===================================================================
RCS file: /cvsroot/roller/roller/web/main.jsp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** main.jsp 20 Mar 2004 02:32:18 -0000 1.23
--- main.jsp 21 Mar 2004 19:12:39 -0000 1.24
***************
*** 27,34 ****
<div class="entryTitleBox">
! <a href="rss" />
<img src="images/rssbadge.gif" align="right" border="0"
! title='<fmt:message key="mainPage.rss.tip" />' />
! </a>
<fmt:message key="mainPage.recentEntries" />
</div>
--- 27,33 ----
<div class="entryTitleBox">
! <a href='<c:url value="/rss"/>' title='<fmt:message
key="mainPage.rss.tip" />'>
<img src="images/rssbadge.gif" align="right" border="0"
! alt='<fmt:message key="mainPage.rss.tip" />' /></a>
<fmt:message key="mainPage.recentEntries" />
</div>
***************
*** 71,84 ****
<div class="entryBox">
<ul>
<c:forEach var="site" items="${popularWebsites}">
<li>
<a href='<c:out value="${baseURL}" />/page/<c:out
value="${site.userName}" />' >
! <c:out value="${site.userName}" />
! </a>:
<c:out value="${site.hits}" /> <fmt:message
key="mainPage.hits" />
</li>
</c:forEach>
</ul>
</div>
--- 70,84 ----
<div class="entryBox">
+ <c:if test="${not empty popularWebsites}"> <%-- to prevent invalid
XHTML --%>
<ul>
<c:forEach var="site" items="${popularWebsites}">
<li>
<a href='<c:out value="${baseURL}" />/page/<c:out
value="${site.userName}" />' >
! <c:out value="${site.userName}" /></a>:
<c:out value="${site.hits}" /> <fmt:message
key="mainPage.hits" />
</li>
</c:forEach>
</ul>
+ </c:if>
</div>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|