rem: sp.text = "newer stories"; 
add: sp.text = getMessage("story.newerStories"); 
context: function renderStorylist(day) {   var size = this.size();   var idx = 0;   // if no day is specified, start with today. we may need    // to search for today's entries (or the latest entry    // before today) because there may be stories posted for    // future days. (HW)   var startdayString = day;   if (!startdayString)      startdayString = formatTimestamp(new Date(), "yyyyMMdd");   var startday = this.get(startdayString);   if (startday && startday.size()>0) {      idx = this.contains(startday);   } else {      // loop through days until we find a day less or equal than       // the one we're looking for.      for (var i=0; i<size; i++) {         if (startdayString >= this.get(i).groupname) {            this.get(i).prefetchChildren();            idx = i;            break;         }      }   }   var days = this.preferences.getProperty("days") ? this.preferences.getProperty("days") : 2;   days = Math.min (days, 14);  // render 14 days max   this.prefetchChildren(idx, days);   // only display "newer stories" if we are actually browsing the archive,    // and the day parameter has been explicitly specified,    // i.e. suppress the link if we are on the home page and there are    // stories on future days. (HW)   if (idx > 0 && day) {      var sp = new Object();      var prev = this.get (Math.max(0, idx-days));      sp.url = this.href() + "?day=" + prev.groupname;      sp.text = "newer stories";      res.data.prevpage = renderSkinAsString("prevpagelink", sp);   }   days = Math.min(idx + days++, this.size());   res.push();   while (idx < days) {      var day = this.get(idx++);      day.get(0).renderSkin("dayheader");      for (var i=0;i<day.size();i++)         day.get(i).renderSkin("preview");   }   res.data.storylist = res.pop();   if (idx < size) {      var sp = new Object();      var next = this.get (idx);      sp.url = this.href() + "?day=" + next.groupname;      sp.text = "older stories";      res.data.nextpage = renderSkinAsString("nextpagelink", sp);   }   return;}
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/993/588927e3338747ddd803e5b5d19b86552ee32ab6/renderFunctions.js/clean/code/Site/renderFunctions.js