Changeset 12488


Ignore:
Timestamp:
2006-08-21T14:34:20+12:00 (18 years ago)
Author:
mdewsnip
Message:

Some XHTML compliance changes.

Location:
trunk/gsdl/src/recpt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/datelistbrowserclass.cpp

    r11770 r12488  
    8282    itab = tab.getint();
    8383    if (colnumber > 0)
    84       textout << outconvert << "<img src=\"_httpimg_/space.gif\" width=" << (itab*colnumber) << ">";
     84      textout << outconvert << "<img alt=\"\" src=\"_httpimg_/space.gif\" width=\"" << (itab*colnumber) << "\"/>";
    8585    textout << outconvert << "</td><td>";
    8686  }
  • trunk/gsdl/src/recpt/hlistbrowserclass.cpp

    r11946 r12488  
    114114    itab = tab.getint();
    115115    if (colnumber > 0) textout << outconvert << disp
    116                    << "<img src=\"_httpimg_/space.gif\" width="
    117                    << (itab*colnumber) << ">";
     116                   << "<img alt=\"\" src=\"_httpimg_/space.gif\" width=\""
     117                   << (itab*colnumber) << "\"/>";
    118118    textout << outconvert << "</td>\n";
    119119  }
  • trunk/gsdl/src/recpt/queryaction.cpp

    r12446 r12488  
    862862    numrecords = arghd;
    863863      }
    864       historylist += "<form name=\"HistoryForm\"><table width=537>\n";
     864      historylist += "<form name=\"HistoryForm\"><table width=\"537\">\n";
    865865
    866866      for (int i=0; i<numrecords;++i) {
     
    879879    format_user_info(cgiargs, userinfo, args, protos, logout);
    880880   
    881     historylist += "<tr><td align=right>_imagehistbutton_(";
     881    historylist += "<tr><td align=\"right\">_imagehistbutton_(";
    882882    historylist += i;
    883883    historylist += ")</td>\n";
    884884    historylist += "<td><nobr><table border=1 cellspacing=0 ";
    885     historylist += "cellpadding=0><tr><td width=365 align=left>"
     885    historylist += "cellpadding=0><tr><td width=\"365\" align=\"left\">"
    886886      + query
    887       + "</td></tr></table></td><td width=110 align=center><small>"
     887      + "</td></tr></table></td><td width=\"110\" align=\"center\"><small>"
    888888      + numdocs;
    889889    if (numdocs == 1) historylist += " _texthresult_";
     
    926926  textout << outconvert << disp << "_query:header_\n"
    927927      << "<center>_navigationbar_</center><br>\n"
    928       << "<form name=QueryForm method=get action=\"_gwcgi_\">\n"
    929       << "<input type=hidden name=a value=\"q\">\n"
    930           << "<input type=hidden name=site value=\"_cgiargsite_\"\n"
    931       << "<input type=hidden name=e value=\"_compressedoptions_\">\n"
    932       << "<input type=hidden name=ccp value=\"1\">\n"
    933       << "<center><table width=_pagewidth_><tr valign=top>\n"
     928      << "<form name=\"QueryForm\" method=\"get\" action=\"_gwcgi_\">\n"
     929      << "<input type=\"hidden\" name=\"a\" value=\"q\">\n"
     930          << "<input type=\"hidden\" name=\"site\" value=\"_cgiargsite_\"\n"
     931      << "<input type=\"hidden\" name=\"e\" value=\"_compressedoptions_\">\n"
     932      << "<input type=\"hidden\" name=\"ccp\" value=\"1\">\n"
     933      << "<center><table width=\"_pagewidth_\"><tr valign=\"top\">\n"
    934934      << "<td>Select collections to search for \"" << args["q"]
    935935      << "\" <i>(index=" << index << " subcollection=" << subcollection
     
    937937      << "<td><input type=\"submit\" value=\"_query:textbeginsearch_\"></td>\n"
    938938      << "</tr></table></center>\n"
    939       << "<center><table width=_pagewidth_>\n"
     939      << "<center><table width=\"_pagewidth_\">\n"
    940940      << "<tr><td>\n";
    941941 
     
    996996       
    997997          // we've got a matching collection
    998           textout << outconvert << "<input type=checkbox";
     998          textout << outconvert << "<input type=\"checkbox\"";
    999999
    10001000          text_tset::const_iterator t = collections.find (*collist_here);
     
    10061006          }
    10071007          textout << outconvert << disp
    1008               << " name=cc value=\"" << *collist_here << "\">"
     1008              << " name=\"cc\" value=\"" << *collist_here << "\">"
    10091009              << collectionname << "<br>\n";
    10101010
  • trunk/gsdl/src/recpt/vlistbrowserclass.cpp

    r12044 r12488  
    9595    itab = tab.getint();
    9696    if (colnumber > 0) textout << outconvert << disp
    97                    << "<td><img src=\"_httpimg_/space.gif\" width="
    98                    << (itab*colnumber) << "></td>";
     97                   << "<td><img alt=\"\" src=\"_httpimg_/space.gif\" width=\""
     98                   << (itab*colnumber) << "\"/></td>";
    9999  } else {
    100100    textout << outconvert << "<div class=\"v_list\">\n";
     
    146146    itab = tab.getint();
    147147    if (colnumber > 0) textout << outconvert << disp
    148                    << "<td><img src=\"_httpimg_/space.gif\" width="
    149                    << (itab*colnumber) << "></td>";
     148                   << "<td><img alt=\"\" src=\"_httpimg_/space.gif\" width=\""
     149                   << (itab*colnumber) << "\"/></td>";
    150150    textout << outconvert << "<td>";
    151151  }
Note: See TracChangeset for help on using the changeset viewer.