Replace getCurDisplayRoot() by getCurDisplayPath()
This commit is contained in:
@@ -18,7 +18,7 @@ class IWLADisplayAllVisits(IPlugin):
|
||||
title = time.strftime('All visits - %B %Y', self.iwla.getCurTime())
|
||||
|
||||
filename = 'all_visits.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('Last seen', ['Host', 'Pages', 'Hits', 'Bandwidth', 'Last seen'])
|
||||
|
@@ -55,7 +55,7 @@ class IWLADisplayReferers(IPlugin):
|
||||
title = time.strftime('Connexion from - %B %Y', cur_time)
|
||||
|
||||
filename = 'referers.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('Connexion from', ['Origin', 'Pages', 'Hits'])
|
||||
@@ -94,7 +94,7 @@ class IWLADisplayReferers(IPlugin):
|
||||
title = time.strftime('Key Phrases - %B %Y', cur_time)
|
||||
|
||||
filename = 'key_phrases.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('Top key phrases', ['Key phrase', 'Search'])
|
||||
|
@@ -25,7 +25,7 @@ class IWLADisplayTopDownloads(IPlugin):
|
||||
title = time.strftime('Top Downloads - %B %Y', self.iwla.getCurTime())
|
||||
|
||||
filename = 'top_downloads.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('All Downloads', ['URI', 'Hit'])
|
||||
|
@@ -25,7 +25,7 @@ class IWLADisplayTopHits(IPlugin):
|
||||
title = time.strftime('All Hits - %B %Y', self.iwla.getCurTime())
|
||||
|
||||
filename = 'top_hits.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('Top Hits', ['URI', 'Entrance'])
|
||||
|
@@ -25,7 +25,7 @@ class IWLADisplayTopPages(IPlugin):
|
||||
title = time.strftime('All Pages - %B %Y', self.iwla.getCurTime())
|
||||
|
||||
filename = 'top_pages.html'
|
||||
path = '%s/%s' % (self.iwla.getCurDisplayRoot(), filename)
|
||||
path = self.iwla.getCurDisplayPath(filename)
|
||||
|
||||
page = DisplayHTMLPage(title, path)
|
||||
table = DisplayHTMLBlockTable('Top Pages', ['URI', 'Entrance'])
|
||||
|
Reference in New Issue
Block a user