forked from indymedia/epicyon
Remove spaces and newlines
parent
aa5743e575
commit
c3e960140b
|
@ -6712,23 +6712,20 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
eventsButtonStr = ''
|
eventsButtonStr = ''
|
||||||
if not minimal:
|
if not minimal:
|
||||||
sharesButtonStr = \
|
sharesButtonStr = \
|
||||||
' ' + \
|
|
||||||
'<a href="' + usersPath + '/tlshares"><button class="' + \
|
'<a href="' + usersPath + '/tlshares"><button class="' + \
|
||||||
sharesButton + '"><span>' + \
|
sharesButton + '"><span>' + \
|
||||||
htmlHighlightLabel(translate['Shares'], newShare) + \
|
htmlHighlightLabel(translate['Shares'], newShare) + \
|
||||||
' </span></button></a>\n'
|
'</span></button></a>'
|
||||||
|
|
||||||
bookmarksButtonStr = \
|
bookmarksButtonStr = \
|
||||||
' ' + \
|
|
||||||
'<a href="' + usersPath + '/tlbookmarks"><button class="' + \
|
'<a href="' + usersPath + '/tlbookmarks"><button class="' + \
|
||||||
bookmarksButton + '"><span>' + translate['Bookmarks'] + \
|
bookmarksButton + '"><span>' + translate['Bookmarks'] + \
|
||||||
' </span></button></a>\n'
|
'</span></button></a>'
|
||||||
|
|
||||||
eventsButtonStr = \
|
eventsButtonStr = \
|
||||||
' ' + \
|
|
||||||
'<a href="' + usersPath + '/tlevents"><button class="' + \
|
'<a href="' + usersPath + '/tlevents"><button class="' + \
|
||||||
eventsButton + '"><span>' + translate['Events'] + \
|
eventsButton + '"><span>' + translate['Events'] + \
|
||||||
' </span></button></a>\n'
|
'</span></button></a>'
|
||||||
|
|
||||||
tlStr = htmlHeader(cssFilename, profileStyle)
|
tlStr = htmlHeader(cssFilename, profileStyle)
|
||||||
|
|
||||||
|
@ -6751,7 +6748,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
'<a href="' + usersPath + '/newdm">' + \
|
'<a href="' + usersPath + '/newdm">' + \
|
||||||
'<button class="button"><span>' + \
|
'<button class="button"><span>' + \
|
||||||
translate['Post'] + ' </span></button></a>\n'
|
translate['Post'] + ' </span></button></a>'
|
||||||
elif boxName == 'tlblogs' or boxName == 'tlnews':
|
elif boxName == 'tlblogs' or boxName == 'tlnews':
|
||||||
if not iconsAsButtons:
|
if not iconsAsButtons:
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
|
@ -6765,7 +6762,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
'<a href="' + usersPath + '/newblog">' + \
|
'<a href="' + usersPath + '/newblog">' + \
|
||||||
'<button class="button"><span>' + \
|
'<button class="button"><span>' + \
|
||||||
translate['Post'] + ' </span></button></a>\n'
|
translate['Post'] + '</span></button></a>'
|
||||||
elif boxName == 'tlevents':
|
elif boxName == 'tlevents':
|
||||||
if not iconsAsButtons:
|
if not iconsAsButtons:
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
|
@ -6779,7 +6776,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
'<a href="' + usersPath + '/newevent">' + \
|
'<a href="' + usersPath + '/newevent">' + \
|
||||||
'<button class="button"><span>' + \
|
'<button class="button"><span>' + \
|
||||||
translate['Post'] + ' </span></button></a>\n'
|
translate['Post'] + '</span></button></a>'
|
||||||
else:
|
else:
|
||||||
if not manuallyApproveFollowers:
|
if not manuallyApproveFollowers:
|
||||||
if not iconsAsButtons:
|
if not iconsAsButtons:
|
||||||
|
@ -6794,7 +6791,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
'<a href="' + usersPath + '/newpost">' + \
|
'<a href="' + usersPath + '/newpost">' + \
|
||||||
'<button class="button"><span>' + \
|
'<button class="button"><span>' + \
|
||||||
translate['Post'] + ' </span></button></a>\n'
|
translate['Post'] + '</span></button></a>'
|
||||||
else:
|
else:
|
||||||
if not iconsAsButtons:
|
if not iconsAsButtons:
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
|
@ -6808,7 +6805,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
'<a href="' + usersPath + '/newfollowers">' + \
|
'<a href="' + usersPath + '/newfollowers">' + \
|
||||||
'<button class="button"><span>' + \
|
'<button class="button"><span>' + \
|
||||||
translate['Post'] + ' </span></button></a>\n'
|
translate['Post'] + '</span></button></a>'
|
||||||
# This creates a link to the profile page when viewed
|
# This creates a link to the profile page when viewed
|
||||||
# in lynx, but should be invisible in a graphical web browser
|
# in lynx, but should be invisible in a graphical web browser
|
||||||
tlStr += \
|
tlStr += \
|
||||||
|
|
Loading…
Reference in New Issue