Changeset 970


Ignore:
Timestamp:
2000-02-24T14:19:01+13:00 (24 years ago)
Author:
sjboddie
Message:

fixed up messy hack for meldex

File:
1 edited

Legend:

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

    r928 r970  
    2828/*
    2929   $Log$
     30   Revision 1.28  2000/02/24 01:19:01  sjboddie
     31   fixed up messy hack for meldex
     32
    3033   Revision 1.27  2000/02/15 22:53:51  kjm18
    3134   search history stuff added.
     
    193196    text_tarray::iterator collist_end = collist.end();
    194197   
    195     int row1 = 7;
    196     int row2 = 5;
     198    int row1 = 9;
     199    int row2 = 8;
    197200    int count = 1;
    198201    while (collist_here != collist_end) {
    199 
    200       if (*collist_here == "niupepa")
    201         homeextra += "<p><a href=\"_httpmusiclibrary_\">_iconmusiclibrary_</a>\n";
    202202     
    203203      ColInfoResponse_t cinfo;
     
    233233        homeextra += "<td align=center>";
    234234          else homeextra += "<p>";
     235
     236          if (*collist_here == "niupepa") {
     237        homeextra += "<a href=\"_httpmusiclibrary_\">_iconmusiclibrary_</a>\n";
     238        if ((count == row1) || (count == (row1+row2))) homeextra += "</td>";
     239        count ++;
     240        if ((count == 1) || (count == (row1+1)) || (count == ((row1+row2)+1)))
     241          homeextra += "<td align=center>";
     242        else homeextra += "<p>";
     243          }
     244         
    235245          text_t link = "<a href=\"_gwcgi_?a=p&p=about&c=" + *collist_here + "\">";
    236246          if (*collist_here == "chinese")
Note: See TracChangeset for help on using the changeset viewer.