SVN: toys/cvsstats/web/src/pl/org/pld/cvsstats/QueriesSet.java
pawelz
pawelz at pld-linux.org
Wed Apr 14 18:31:09 CEST 2010
Author: pawelz
Date: Wed Apr 14 18:31:08 2010
New Revision: 11333
Modified:
toys/cvsstats/web/src/pl/org/pld/cvsstats/QueriesSet.java
Log:
- removed all "Uid" stuff
Modified: toys/cvsstats/web/src/pl/org/pld/cvsstats/QueriesSet.java
==============================================================================
--- toys/cvsstats/web/src/pl/org/pld/cvsstats/QueriesSet.java (original)
+++ toys/cvsstats/web/src/pl/org/pld/cvsstats/QueriesSet.java Wed Apr 14 18:31:08 2010
@@ -18,13 +18,11 @@
String description = null;
Interval interval;
- Uid uid;
- public QueriesSet(Uid u, String N, Stats stats) throws Exception, IOException, SAXException {
+ public QueriesSet(String N, Stats stats) throws Exception, IOException, SAXException {
queries = new ArrayList<Query>();
name = N;
- uid = u;
DOMParser p = new DOMParser();
p.parse(Configuration.getDataDir()+"/"+name+".xml");
@@ -51,14 +49,11 @@
public String getHtml() {
String rv = "";
- int i = uid.next();
- rv="<h2><a href='javascript:animatedcollapse.toggle(\""+i+"\")'>"+title+"</a></h2>";
- rv += "<div id='"+i+"'>";
+ rv="<h2>"+title+"</h2>";
if (description != null) rv="<p>"+description+"</p>";
for (int r = 0; r < queries.size(); r++) {
rv += queries.get(r).getHTML();
}
- rv += "</div>";
return rv;
}
}
More information about the pld-cvs-commit
mailing list