forked from indymedia/epicyon
Single center
parent
c8a5c09211
commit
96c05284b7
|
@ -3775,11 +3775,10 @@ def htmlHashTagCloud(baseDir: str,path: str) -> str:
|
||||||
if not tagCloud:
|
if not tagCloud:
|
||||||
return ''
|
return ''
|
||||||
tagCloud.sort()
|
tagCloud.sort()
|
||||||
tagCloudHtml='<center>\n'
|
|
||||||
tagCloudStr=''
|
tagCloudStr=''
|
||||||
for tagName in tagCloud:
|
for tagName in tagCloud:
|
||||||
tagCloudStr+='<a href="/tags/'+tagName+'" class="hashtagcloud">'+tagName+'</a> '
|
tagCloudStr+='<a href="/tags/'+tagName+'" class="hashtagcloud">'+tagName+'</a> '
|
||||||
tagCloudHtml+=tagCloudStr.strip()+'\n</center>\n'
|
tagCloudHtml=tagCloudStr.strip()+'\n'
|
||||||
return tagCloudHtml
|
return tagCloudHtml
|
||||||
|
|
||||||
def htmlSearch(translate: {}, \
|
def htmlSearch(translate: {}, \
|
||||||
|
@ -3809,9 +3808,9 @@ def htmlSearch(translate: {}, \
|
||||||
followStr+=' <input type="text" name="searchtext" autofocus><br>'
|
followStr+=' <input type="text" name="searchtext" autofocus><br>'
|
||||||
followStr+=' <button type="submit" class="button" name="submitSearch">'+translate['Submit']+'</button>'
|
followStr+=' <button type="submit" class="button" name="submitSearch">'+translate['Submit']+'</button>'
|
||||||
followStr+=' </form>'
|
followStr+=' </form>'
|
||||||
|
followStr+=' <p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
|
||||||
followStr+=' </center>'
|
followStr+=' </center>'
|
||||||
followStr+=' </div>'
|
followStr+=' </div>'
|
||||||
followStr+=' <p class="hashtagcloud">'+htmlHashTagCloud(baseDir,path)+'</p>'
|
|
||||||
followStr+='</div>'
|
followStr+='</div>'
|
||||||
followStr+=htmlFooter()
|
followStr+=htmlFooter()
|
||||||
return followStr
|
return followStr
|
||||||
|
|
Loading…
Reference in New Issue