Ignore:
Timestamp:
Oct 14, 2007, 6:58:06 AM (15 years ago)
Author:
Peter Johansson
Message:

preparing for more statistics by adding StatsType layer in structure on top of previous structure, i.e., NewStructure? = StatsType/OldStructure?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/first_page.cc

    r492 r497  
    137137        os << i->author();
    138138      else
    139         os << anchor(string(i->author()+"/total/index.html"),i->author());
     139        os << anchor(std::string("classic/"+i->author()+"/total/index.html"),
     140                     i->author());
    140141      os << "</td><td>" << stats.lines(i->author()) << " ("
    141142         << 100*stats.lines(i->author())/(stats.lines()?stats.lines():1)
     
    177178    const Configuration& conf = Configuration::instance();
    178179    for (size_t i=0; i<10 && a!=log.author().rend(); ++i) {
    179       os << "<tr><td>" << anchor(*a+"/total/index.html",*a) << "</td>";
     180      os << "<tr><td>"
     181         << anchor(std::string("classic/")+*a+"/total/index.html",*a)
     182         << "</td>";
    180183      Date date(*d);
    181184      os << "<td>" << date(timefmt) << "</td>";
Note: See TracChangeset for help on using the changeset viewer.