Update istats_diff, the key used in hashtable can be changed (using uri() for example)

This commit is contained in:
Gregory Soutade
2015-04-08 14:04:59 +02:00
parent 651a7b9566
commit 157868dc3e
3 changed files with 10 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ class IWLADisplayBrowsers(IPlugin):
display.addPage(page)
title = 'Top Browsers'
title = self.iwla._(u'Top Browsers')
if self.create_browsers:
link = '<a href=\'%s\'>%s</a>' % (filename, self.iwla._(u'All Browsers'))
title = '%s - %s' % (title, link)
@@ -120,7 +120,7 @@ class IWLADisplayBrowsers(IPlugin):
icon = '<img src="/%s/browser/unknown.png"/>' % (self.icon_path)
else:
icon = '<img src="/%s/browser/unknown.png"/>' % (self.icon_path)
browser = 'Unknown'
browser = self.iwla._(u'Unknown')
table.appendRow([icon, browser, entrance])
total_browsers[2] -= entrance
if total_browsers[2]: