diff --git a/inbox.py b/inbox.py
index dedaef80d..b8ed2e0ac 100644
--- a/inbox.py
+++ b/inbox.py
@@ -172,7 +172,7 @@ def inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int,
if boxname != 'tlevents' and boxname != 'outbox':
boxname = 'inbox'
individualPostAsHtml(True, recentPostsCache, maxRecentPosts,
- 'icons', translate, pageNumber,
+ translate, pageNumber,
baseDir, session, cachedWebfingers, personCache,
nickname, domain, port, postJsonObject,
avatarUrl, True, allowDeletion,
diff --git a/webapp_column_left.py b/webapp_column_left.py
index 4a3a18c45..5e5df5cf7 100644
--- a/webapp_column_left.py
+++ b/webapp_column_left.py
@@ -67,7 +67,7 @@ def getLeftColumnShares(baseDir: str,
def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
httpPrefix: str, translate: {},
- iconsPath: str, editor: bool,
+ editor: bool,
showBackButton: bool, timelinePath: str,
rssIconAtTop: bool, showHeaderImage: bool,
frontPage: bool) -> str:
@@ -284,12 +284,12 @@ def htmlLinksMobile(cssCache: {}, baseDir: str,
htmlStr += '
' + \
headerButtonsFrontScreen(translate, nickname,
'links', authorized,
- iconsAsButtons, 'icons') + ''
+ iconsAsButtons) + ''
if linksExist(baseDir):
htmlStr += \
getLeftColumnContent(baseDir, nickname, domainFull,
httpPrefix, translate,
- 'icons', editor,
+ editor,
False, timelinePath,
rssIconAtTop, False, False)
else:
diff --git a/webapp_column_right.py b/webapp_column_right.py
index 925199361..91412956b 100644
--- a/webapp_column_right.py
+++ b/webapp_column_right.py
@@ -43,7 +43,7 @@ def votesIndicator(totalVotes: int, positiveVoting: bool) -> str:
def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
httpPrefix: str, translate: {},
- iconsPath: str, moderator: bool, editor: bool,
+ moderator: bool, editor: bool,
newswire: {}, positiveVoting: bool,
showBackButton: bool, timelinePath: str,
showPublishButton: bool,
@@ -196,7 +196,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
# show the newswire lines
newswireContentStr = \
htmlNewswire(baseDir, newswire, nickname, moderator, translate,
- positiveVoting, 'icons')
+ positiveVoting)
htmlStr += newswireContentStr
# show the rss icon at the bottom, typically on the right hand side
@@ -206,7 +206,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
def htmlNewswire(baseDir: str, newswire: {}, nickname: str, moderator: bool,
- translate: {}, positiveVoting: bool, iconsPath: str) -> str:
+ translate: {}, positiveVoting: bool) -> str:
"""Converts a newswire dict into html
"""
separatorStr = htmlPostSeparator(baseDir, 'right')
@@ -444,12 +444,12 @@ def htmlNewswireMobile(cssCache: {}, baseDir: str, nickname: str,
htmlStr += '' + \
headerButtonsFrontScreen(translate, nickname,
'newswire', authorized,
- iconsAsButtons, 'icons') + ''
+ iconsAsButtons) + ''
if newswire:
htmlStr += \
getRightColumnContent(baseDir, nickname, domainFull,
httpPrefix, translate,
- 'icons', moderator, editor,
+ moderator, editor,
newswire, positiveVoting,
False, timelinePath, showPublishButton,
showPublishAsIcon, rssIconAtTop, False,
diff --git a/webapp_confirm.py b/webapp_confirm.py
index 5981e5f60..a7396f9d4 100644
--- a/webapp_confirm.py
+++ b/webapp_confirm.py
@@ -61,7 +61,7 @@ def htmlConfirmDelete(cssCache: {},
deletePostStr = htmlHeaderWithExternalStyle(cssFilename)
deletePostStr += \
individualPostAsHtml(True, recentPostsCache, maxRecentPosts,
- 'icons', translate, pageNumber,
+ translate, pageNumber,
baseDir, session, wfRequest, personCache,
nickname, domain, port, postJsonObject,
None, True, False,
diff --git a/webapp_create_post.py b/webapp_create_post.py
index 5a1416b47..6681aa303 100644
--- a/webapp_create_post.py
+++ b/webapp_create_post.py
@@ -60,7 +60,6 @@ def htmlFollowingDataList(baseDir: str, nickname: str,
def htmlNewPostDropDown(scopeIcon: str, scopeDescription: str,
replyStr: str,
translate: {},
- iconsPath: str,
showPublicOnDropdown: bool,
defaultTimeline: str,
pathBase: str,
@@ -619,7 +618,6 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
htmlNewPostDropDown(scopeIcon, scopeDescription,
replyStr,
translate,
- 'icons',
showPublicOnDropdown,
defaultTimeline,
pathBase,
diff --git a/webapp_frontscreen.py b/webapp_frontscreen.py
index 7c78a1aed..6589b78cc 100644
--- a/webapp_frontscreen.py
+++ b/webapp_frontscreen.py
@@ -55,7 +55,7 @@ def htmlFrontScreenPosts(recentPostsCache: {}, maxRecentPosts: int,
postStr = \
individualPostAsHtml(True, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest,
personCache,
nickname, domain, port, item,
@@ -101,7 +101,7 @@ def htmlFrontScreen(rssIconAtTop: bool,
loginButton = headerButtonsFrontScreen(translate, nickname,
'features', authorized,
- iconsAsButtons, 'icons')
+ iconsAsButtons)
# If this is the news account then show a different banner
bannerFile, bannerFilename = getBannerFile(baseDir, nickname, domain)
@@ -123,8 +123,7 @@ def htmlFrontScreen(rssIconAtTop: bool,
profileHeaderStr += \
getLeftColumnContent(baseDir, 'news', domainFull,
httpPrefix, translate,
- 'icons', False,
- False, None, rssIconAtTop, True,
+ False, False, None, rssIconAtTop, True,
True)
profileHeaderStr += ' \n'
profileHeaderStr += ' \n'
@@ -154,8 +153,7 @@ def htmlFrontScreen(rssIconAtTop: bool,
profileFooterStr += \
getRightColumnContent(baseDir, 'news', domainFull,
httpPrefix, translate,
- 'icons', False, False,
- newswire, False,
+ False, False, newswire, False,
False, None, False, False,
False, True, authorized, True)
profileFooterStr += ' | \n'
diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py
index 92486927f..83bb68cb1 100644
--- a/webapp_headerbuttons.py
+++ b/webapp_headerbuttons.py
@@ -38,7 +38,6 @@ def headerButtonsTimeline(defaultTimeline: str,
newPostButtonStr: str,
baseDir: str,
nickname: str, domain: str,
- iconsPath: str,
timelineStartTime,
newCalendarEvent: bool,
calendarPath: str,
diff --git a/webapp_post.py b/webapp_post.py
index bc7f67940..87be26f42 100644
--- a/webapp_post.py
+++ b/webapp_post.py
@@ -201,7 +201,7 @@ def getAvatarImageUrl(session,
return avatarUrl
-def getBrokenLinkSubstitute(iconsPath: str) -> str:
+def getBrokenLinkSubstitute() -> str:
"""Returns html used to show a default image if the link to
an image is broken
"""
@@ -213,8 +213,7 @@ def getAvatarImageHtml(showAvatarOptions: bool,
nickname: str, domainFull: str,
avatarUrl: str, postActor: str,
translate: {}, avatarPosition: str,
- pageNumber: int, messageIdStr: str,
- iconsPath: str) -> str:
+ pageNumber: int, messageIdStr: str) -> str:
"""Get html for the avatar image
"""
avatarLink = ''
@@ -223,7 +222,7 @@ def getAvatarImageHtml(showAvatarOptions: bool,
avatarLink += \
' \n'
+ getBrokenLinkSubstitute() + '/>\n'
if showAvatarOptions and \
domainFull + '/users/' + nickname not in postActor:
@@ -236,21 +235,21 @@ def getAvatarImageHtml(showAvatarOptions: bool,
' \n'
+ getBrokenLinkSubstitute() + '/>\n'
else:
# don't link to the person options for the news account
avatarLink += \
' \n'
+ getBrokenLinkSubstitute() + '/>\n'
return avatarLink.strip()
def getReplyIconHtml(nickname: str, isPublicRepeat: bool,
showIcons: bool, commentsEnabled: bool,
postJsonObject: {}, pageNumberParam: str,
- iconsPath: str, translate: {}) -> str:
+ translate: {}) -> str:
"""Returns html for the reply icon/button
"""
replyStr = ''
@@ -308,7 +307,7 @@ def getReplyIconHtml(nickname: str, isPublicRepeat: bool,
def getEditIconHtml(baseDir: str, nickname: str, domainFull: str,
postJsonObject: {}, actorNickname: str,
- translate: {}, iconsPath: str, isEvent: bool) -> str:
+ translate: {}, isEvent: bool) -> str:
"""Returns html for the edit icon/button
"""
editStr = ''
@@ -370,7 +369,7 @@ def getAnnounceIconHtml(nickname: str, domainFull: str,
translate: {},
pageNumberParam: str,
timelinePostBookmark: str,
- boxName: str, iconsPath: str) -> str:
+ boxName: str) -> str:
"""Returns html for announce icon/button
"""
announceStr = ''
@@ -412,7 +411,7 @@ def getLikeIconHtml(nickname: str, domainFull: str,
postStartTime,
translate: {}, pageNumberParam: str,
timelinePostBookmark: str,
- boxName: str, iconsPath: str) -> str:
+ boxName: str) -> str:
"""Returns html for like icon/button
"""
likeStr = ''
@@ -469,8 +468,7 @@ def getBookmarkIconHtml(nickname: str, domainFull: str,
enableTimingLog: bool,
postStartTime, boxName: str,
pageNumberParam: str,
- timelinePostBookmark: str,
- iconsPath: str) -> str:
+ timelinePostBookmark: str) -> str:
"""Returns html for bookmark icon/button
"""
bookmarkStr = ''
@@ -507,7 +505,6 @@ def getMuteIconHtml(isMuted: bool,
nickname: str, domainFull: str,
allowDeletion: bool,
pageNumberParam: str,
- iconsPath: str,
boxName: str,
timelinePostBookmark: str,
translate: {}) -> str:
@@ -552,7 +549,6 @@ def getDeleteIconHtml(nickname: str, domainFull: str,
messageId: str,
postJsonObject: {},
pageNumberParam: str,
- iconsPath: str,
translate: {}) -> str:
"""Returns html for delete icon/button
"""
@@ -644,7 +640,7 @@ def getBlogCitationsHtml(boxName: str,
return citationsStr
-def boostOwnTootHtml(translate: {}, iconsPath) -> str:
+def boostOwnTootHtml(translate: {}) -> str:
"""The html title for announcing your own post
"""
return ' \n'
-def announceUnattributedHtml(translate: {}, iconsPath: str,
+def announceUnattributedHtml(translate: {},
postJsonObject: {}) -> str:
"""Returns the html for an announce title where there
is no attribution on the announced post
@@ -669,7 +665,7 @@ def announceUnattributedHtml(translate: {}, iconsPath: str,
'" class="announceOrReply">@unattributed\n'
-def announceWithoutDisplayNameHtml(translate: {}, iconsPath: str,
+def announceWithoutDisplayNameHtml(translate: {},
announceNickname: str,
announceDomain: str,
postJsonObject: {}) -> str:
@@ -686,7 +682,6 @@ def announceWithoutDisplayNameHtml(translate: {}, iconsPath: str,
def announceWithDisplayNameHtml(translate: {},
- iconsPath: str,
postJsonObject: {},
announceDisplayName: str) -> str:
"""Returns html for an announce having a display name
@@ -709,7 +704,6 @@ def getPostTitleAnnounceHtml(baseDir: str,
postJsonObject: {},
postActor: str,
translate: {},
- iconsPath: str,
enableTimingLog: bool,
postStartTime,
boxName: str,
@@ -732,7 +726,7 @@ def getPostTitleAnnounceHtml(baseDir: str,
attributedTo = postJsonObject['object']['attributedTo']
if attributedTo.startswith(postActor):
- titleStr += boostOwnTootHtml(translate, 'icons')
+ titleStr += boostOwnTootHtml(translate)
else:
# boosting another person's post
logPostTiming(enableTimingLog, postStartTime, '13.2')
@@ -759,7 +753,6 @@ def getPostTitleAnnounceHtml(baseDir: str,
logPostTiming(enableTimingLog, postStartTime, '13.3.1')
titleStr += \
announceWithDisplayNameHtml(translate,
- 'icons',
postJsonObject,
announceDisplayName)
# show avatar of person replied to
@@ -790,27 +783,27 @@ def getPostTitleAnnounceHtml(baseDir: str,
announceAvatarUrl + '" ' + \
'title="' + translate[idx] + \
'" alt=" "' + avatarPosition + \
- getBrokenLinkSubstitute('icons') + \
+ getBrokenLinkSubstitute() + \
'/>\n \n'
else:
titleStr += \
- announceWithoutDisplayNameHtml(translate, 'icons',
+ announceWithoutDisplayNameHtml(translate,
announceNickname,
announceDomain,
postJsonObject)
else:
titleStr += \
- announceUnattributedHtml(translate, 'icons',
+ announceUnattributedHtml(translate,
postJsonObject)
else:
titleStr += \
- announceUnattributedHtml(translate, 'icons', postJsonObject)
+ announceUnattributedHtml(translate, postJsonObject)
return (titleStr, replyAvatarImageInPost,
containerClassIcons, containerClass)
-def replyToYourselfHtml(translate: {}, iconsPath: str) -> str:
+def replyToYourselfHtml(translate: {}, ) -> str:
"""Returns html for a title which is a reply to yourself
"""
return ' \n'
-def replyToUnknownHtml(translate: {}, iconsPath: str,
+def replyToUnknownHtml(translate: {},
postJsonObject: {}) -> str:
"""Returns the html title for a reply to an unknown handle
"""
@@ -833,7 +826,7 @@ def replyToUnknownHtml(translate: {}, iconsPath: str,
'" class="announceOrReply">@unknown\n'
-def replyWithUnknownPathHtml(translate: {}, iconsPath: str,
+def replyWithUnknownPathHtml(translate: {},
postJsonObject: {},
postDomain: str) -> str:
"""Returns html title for a reply with an unknown path
@@ -850,7 +843,7 @@ def replyWithUnknownPathHtml(translate: {}, iconsPath: str,
postDomain + '\n'
-def getReplyHtml(translate: {}, iconsPath: str,
+def getReplyHtml(translate: {},
inReplyTo: str, replyDisplayName: str) -> str:
"""Returns html title for a reply
"""
@@ -865,7 +858,7 @@ def getReplyHtml(translate: {}, iconsPath: str,
replyDisplayName + '\n'
-def getReplyWithoutDisplayName(translate: {}, iconsPath: str,
+def getReplyWithoutDisplayName(translate: {},
inReplyTo: str,
replyNickname: str, replyDomain: str) -> str:
"""Returns html for a reply without a display name,
@@ -888,7 +881,6 @@ def getPostTitleReplyHtml(baseDir: str,
postJsonObject: {},
postActor: str,
translate: {},
- iconsPath: str,
enableTimingLog: bool,
postStartTime,
boxName: str,
@@ -912,7 +904,7 @@ def getPostTitleReplyHtml(baseDir: str,
containerClassIcons = 'containericons darker'
containerClass = 'container darker'
if postJsonObject['object']['inReplyTo'].startswith(postActor):
- titleStr += replyToYourselfHtml(translate, 'icons')
+ titleStr += replyToYourselfHtml(translate)
return (titleStr, replyAvatarImageInPost,
containerClassIcons, containerClass)
@@ -945,8 +937,7 @@ def getPostTitleReplyHtml(baseDir: str,
logPostTiming(enableTimingLog, postStartTime, '13.6')
titleStr += \
- getReplyHtml(translate, 'icons',
- inReplyTo, replyDisplayName)
+ getReplyHtml(translate, inReplyTo, replyDisplayName)
logPostTiming(enableTimingLog, postStartTime, '13.7')
@@ -981,18 +972,18 @@ def getPostTitleReplyHtml(baseDir: str,
replyAvatarImageInPost += \
'" alt=" "' + \
avatarPosition + \
- getBrokenLinkSubstitute('icons') + \
+ getBrokenLinkSubstitute() + \
'/>\n \n'
else:
inReplyTo = \
postJsonObject['object']['inReplyTo']
titleStr += \
- getReplyWithoutDisplayName(translate, 'icons',
+ getReplyWithoutDisplayName(translate,
inReplyTo,
replyNickname, replyDomain)
else:
titleStr += \
- replyToUnknownHtml(translate, 'icons', postJsonObject)
+ replyToUnknownHtml(translate, postJsonObject)
else:
postDomain = \
postJsonObject['object']['inReplyTo']
@@ -1003,7 +994,7 @@ def getPostTitleReplyHtml(baseDir: str,
postDomain = postDomain.split('/', 1)[0]
if postDomain:
titleStr += \
- replyWithUnknownPathHtml(translate, 'icons',
+ replyWithUnknownPathHtml(translate,
postJsonObject, postDomain)
return (titleStr, replyAvatarImageInPost,
@@ -1018,7 +1009,6 @@ def getPostTitleHtml(baseDir: str,
postJsonObject: {},
postActor: str,
translate: {},
- iconsPath: str,
enableTimingLog: bool,
postStartTime,
boxName: str,
@@ -1047,7 +1037,6 @@ def getPostTitleHtml(baseDir: str,
postJsonObject,
postActor,
translate,
- 'icons',
enableTimingLog,
postStartTime,
boxName,
@@ -1067,7 +1056,6 @@ def getPostTitleHtml(baseDir: str,
postJsonObject,
postActor,
translate,
- 'icons',
enableTimingLog,
postStartTime,
boxName,
@@ -1108,7 +1096,7 @@ def getFooterWithIcons(showIcons: bool,
def individualPostAsHtml(allowDownloads: bool,
recentPostsCache: {}, maxRecentPosts: int,
- iconsPath: str, translate: {},
+ translate: {},
pageNumber: int, baseDir: str,
session, wfRequest: {}, personCache: {},
nickname: str, domain: str, port: int,
@@ -1221,8 +1209,7 @@ def individualPostAsHtml(allowDownloads: bool,
nickname, domainFull,
avatarUrl, postActor,
translate, avatarPosition,
- pageNumber, messageIdStr,
- 'icons')
+ pageNumber, messageIdStr)
avatarImageInPost = \
' ' + avatarLink + '
\n'
@@ -1330,7 +1317,7 @@ def individualPostAsHtml(allowDownloads: bool,
replyStr = getReplyIconHtml(nickname, isPublicRepeat,
showIcons, commentsEnabled,
postJsonObject, pageNumberParam,
- 'icons', translate)
+ translate)
logPostTiming(enableTimingLog, postStartTime, '10')
@@ -1340,7 +1327,7 @@ def individualPostAsHtml(allowDownloads: bool,
editStr = getEditIconHtml(baseDir, nickname, domainFull,
postJsonObject, actorNickname,
- translate, 'icons', isEvent)
+ translate, isEvent)
announceStr = \
getAnnounceIconHtml(nickname, domainFull,
@@ -1351,7 +1338,7 @@ def individualPostAsHtml(allowDownloads: bool,
translate,
pageNumberParam,
timelinePostBookmark,
- boxName, 'icons')
+ boxName)
logPostTiming(enableTimingLog, postStartTime, '12')
@@ -1370,7 +1357,7 @@ def individualPostAsHtml(allowDownloads: bool,
postStartTime,
translate, pageNumberParam,
timelinePostBookmark,
- boxName, 'icons')
+ boxName)
logPostTiming(enableTimingLog, postStartTime, '12.5')
@@ -1382,8 +1369,7 @@ def individualPostAsHtml(allowDownloads: bool,
enableTimingLog,
postStartTime, boxName,
pageNumberParam,
- timelinePostBookmark,
- 'icons')
+ timelinePostBookmark)
logPostTiming(enableTimingLog, postStartTime, '12.9')
@@ -1398,7 +1384,6 @@ def individualPostAsHtml(allowDownloads: bool,
nickname, domainFull,
allowDeletion,
pageNumberParam,
- 'icons',
boxName,
timelinePostBookmark,
translate)
@@ -1410,7 +1395,6 @@ def individualPostAsHtml(allowDownloads: bool,
messageId,
postJsonObject,
pageNumberParam,
- 'icons',
translate)
logPostTiming(enableTimingLog, postStartTime, '13.1')
@@ -1427,7 +1411,6 @@ def individualPostAsHtml(allowDownloads: bool,
postJsonObject,
postActor,
translate,
- 'icons',
enableTimingLog,
postStartTime,
boxName,
@@ -1659,7 +1642,7 @@ def htmlIndividualPost(cssCache: {},
postStr += \
individualPostAsHtml(True, recentPostsCache, maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest, personCache,
nickname, domain, port, postJsonObject,
None, True, False,
@@ -1682,7 +1665,7 @@ def htmlIndividualPost(cssCache: {},
postStr = \
individualPostAsHtml(True, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest,
personCache,
nickname, domain, port,
@@ -1711,7 +1694,7 @@ def htmlIndividualPost(cssCache: {},
postStr += \
individualPostAsHtml(True, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest,
personCache,
nickname, domain, port, item,
@@ -1744,7 +1727,7 @@ def htmlPostReplies(cssCache: {},
repliesStr += \
individualPostAsHtml(True, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest, personCache,
nickname, domain, port, item,
None, True, False,
diff --git a/webapp_profile.py b/webapp_profile.py
index fce7f2a2f..a6985d1f9 100644
--- a/webapp_profile.py
+++ b/webapp_profile.py
@@ -266,7 +266,7 @@ def htmlProfileAfterSearch(cssCache: {},
continue
profileStr += \
individualPostAsHtml(True, recentPostsCache, maxRecentPosts,
- 'icons', translate, None, baseDir,
+ translate, None, baseDir,
session, cachedWebfingers, personCache,
nickname, domain, port,
item, avatarUrl, False, False,
@@ -282,7 +282,7 @@ def htmlProfileAfterSearch(cssCache: {},
def getProfileHeader(baseDir: str, nickname: str, domain: str,
- domainFull: str, translate: {}, iconsPath: str,
+ domainFull: str, translate: {},
defaultTimeline: str,
displayName: str,
avatarDescription: str,
@@ -561,7 +561,7 @@ def htmlProfile(rssIconAtTop: bool,
avatarUrl = profileJson['icon']['url']
profileHeaderStr = \
getProfileHeader(baseDir, nickname, domain,
- domainFull, translate, 'icons',
+ domainFull, translate,
defaultTimeline, displayName,
avatarDescription,
profileDescriptionShort,
@@ -693,7 +693,7 @@ def htmlProfilePosts(recentPostsCache: {}, maxRecentPosts: int,
postStr = \
individualPostAsHtml(True, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest,
personCache,
nickname, domain, port, item,
diff --git a/webapp_search.py b/webapp_search.py
index 8015d75b2..378fa653d 100644
--- a/webapp_search.py
+++ b/webapp_search.py
@@ -587,7 +587,7 @@ def htmlHistorySearch(cssCache: {}, translate: {}, baseDir: str,
postStr = \
individualPostAsHtml(True, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest,
personCache,
nickname, domain, port,
@@ -752,7 +752,7 @@ def htmlHashtagSearch(cssCache: {},
postStr = \
individualPostAsHtml(allowDownloads, recentPostsCache,
maxRecentPosts,
- 'icons', translate, None,
+ translate, None,
baseDir, session, wfRequest,
personCache,
nickname, domain, port,
diff --git a/webapp_timeline.py b/webapp_timeline.py
index 2895bb931..43459c655 100644
--- a/webapp_timeline.py
+++ b/webapp_timeline.py
@@ -383,7 +383,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
sharesButtonStr, bookmarksButtonStr,
eventsButtonStr, moderationButtonStr,
newPostButtonStr, baseDir, nickname,
- domain, 'icons', timelineStartTime,
+ domain, timelineStartTime,
newCalendarEvent, calendarPath,
calendarImage, followApprovals,
iconsAsButtons)
@@ -406,7 +406,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# left column
leftColumnStr = \
getLeftColumnContent(baseDir, nickname, domainFull,
- httpPrefix, translate, 'icons',
+ httpPrefix, translate,
editor, False, None, rssIconAtTop,
True, False)
tlStr += ' ' + \
@@ -425,7 +425,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
sharesButtonStr, bookmarksButtonStr,
eventsButtonStr, moderationButtonStr,
newPostButtonStr, baseDir, nickname,
- domain, 'icons', timelineStartTime,
+ domain, timelineStartTime,
newCalendarEvent, calendarPath,
calendarImage, followApprovals,
iconsAsButtons)
@@ -540,7 +540,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
currTlStr = \
individualPostAsHtml(False, recentPostsCache,
maxRecentPosts,
- 'icons', translate, pageNumber,
+ translate, pageNumber,
baseDir, session, wfRequest,
personCache,
nickname, domain, port,
@@ -585,7 +585,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# right column
rightColumnStr = getRightColumnContent(baseDir, nickname, domainFull,
- httpPrefix, translate, 'icons',
+ httpPrefix, translate,
moderator, editor,
newswire, positiveVoting,
False, None, True,
diff --git a/webapp_utils.py b/webapp_utils.py
index 537122858..b8caff443 100644
--- a/webapp_utils.py
+++ b/webapp_utils.py
@@ -68,8 +68,7 @@ def htmlHashtagBlocked(cssCache: {}, baseDir: str, translate: {}) -> str:
def headerButtonsFrontScreen(translate: {},
nickname: str, boxName: str,
authorized: bool,
- iconsAsButtons: bool,
- iconsPath: bool) -> str:
+ iconsAsButtons: bool) -> str:
"""Returns the header buttons for the front page of a news instance
"""
headerStr = ''
|