logo       

roller/web main.jsp,1.23,1.24: msg#00212

Subject: roller/web main.jsp,1.23,1.24
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe