Merge with origin:master
This commit is contained in:
		| @@ -190,14 +190,14 @@ class IWLADisplayReferers(IPlugin): | ||||
|  | ||||
|         # All key phrases in a file | ||||
|         if self.create_all_key_phrases: | ||||
|             title = createCurTitle(self.iwla, u'All Key Phrases') | ||||
|             title = createCurTitle(self.iwla, u'Key Phrases') | ||||
|  | ||||
|             filename = 'key_phrases.html' | ||||
|             path = self.iwla.getCurDisplayPath(filename) | ||||
|  | ||||
|             total_search = [0]*2 | ||||
|             page = display.createPage(title, path, self.iwla.getConfValue('css_path', [])) | ||||
|             table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'All key phrases'), [self.iwla._(u'Key phrase'), self.iwla._(u'Search')]) | ||||
|             table = display.createBlock(DisplayHTMLBlockTable, self.iwla._(u'Top key phrases'), [self.iwla._(u'Key phrase'), self.iwla._(u'Search')]) | ||||
|             table.setColsCSSClass(['', 'iwla_search']) | ||||
|             new_list = self.max_key_phrases and top_key_phrases[:self.max_key_phrases] or top_key_phrases | ||||
|             for phrase in new_list: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user