I did this little add-on on the html and shell part of aStats :
In function getVal
[code:1]
......
if [ -e >$HOMEUSER/.eMule> ]; then
TEMPDIR=`grep TempDir >$HOMEUSER/.eMule> | cut -d >=> -f 2`
DOWNLOAD=`ls >$TEMPDIR>/*part.met | wc -w`
fi
...
[/code:1]
in function checkOff and checkOn fonctions
[code:1]
...
echo >Downloading $DOWNLOAD file(s)>
...
[/code:1]
in function gen_html_and_graphsign
[code:1]
echo >s#DOWNLOAD#$DOWNLOADg> >> /tmp/aStats-Graphic-Signature-Generation
[/code:1]
added this line to tmp.html
after "Shared files"
[code:1]
| style=>vertical-align: top; background-color: rgb(255, 255, 255); width: 21%;>>Downloading
Files :
| style=>vertical-align: top; background-color: rgb(255, 255, 255); width: 79px;>>#DOWNLOAD#
[/code:1]
Just to let you know ;-)

Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)
|