diff --git a/webinterface.py b/webinterface.py index 7216383a5..a0019998a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -524,20 +524,20 @@ def htmlSearchSharedItems(translate: {}, break if matched: if currPage == pageNumber: - sharedItemsForm += '
' + sharedItemsForm += '
\n' sharedItemsForm += \ '' + sharedItem['displayName'] + '

\n' if sharedItem.get('imageUrl'): sharedItemsForm += \ '' + sharedItem['imageUrl'] + '">\n' sharedItemsForm += \ 'Item image' + '" alt="Item image">\n' sharedItemsForm += \ - '

' + sharedItem['summary'] + '

' + '

' + sharedItem['summary'] + '

\n' sharedItemsForm += \ '

' + translate['Type'] + \ ': ' + sharedItem['itemType'] + ' ' @@ -546,7 +546,7 @@ def htmlSearchSharedItems(translate: {}, ': ' + sharedItem['category'] + ' ' sharedItemsForm += \ '' + translate['Location'] + \ - ': ' + sharedItem['location'] + '

' + ': ' + sharedItem['location'] + '

\n' contactActor = \ httpPrefix + '://' + domainFull + \ '/users/' + contactNickname @@ -556,13 +556,13 @@ def htmlSearchSharedItems(translate: {}, sharedItem['displayName'] + \ '?mention=' + contactActor + \ '">' + translate['Contact'] + '\n' if actor.endswith('/users/' + contactNickname): sharedItemsForm += \ ' ' - sharedItemsForm += '

' + translate['Remove'] + '\n' + sharedItemsForm += '

\n' if not resultsExist and currPage > 1: postActor = \ getAltPath(actor, domainFull, @@ -572,26 +572,26 @@ def htmlSearchSharedItems(translate: {}, '
' + str(pageNumber - 1) + '">\n' sharedItemsForm += \ ' ' + 'name="actor" value="' + actor + '">\n' sharedItemsForm += \ '
' + searchStrLower + '">
\n' sharedItemsForm += \ '
' + '" type="submit" name="submitSearch">\n' sharedItemsForm += \ ' ' + translate['Page up'] + \
-                                    '' - sharedItemsForm += '
' - sharedItemsForm += '
' + '"/>\n' + sharedItemsForm += ' \n' + sharedItemsForm += '\n' resultsExist = True ctr += 1 if ctr >= resultsPerPage: @@ -605,31 +605,31 @@ def htmlSearchSharedItems(translate: {}, '
' + str(pageNumber + 1) + '">\n' sharedItemsForm += \ ' ' + 'name="actor" value="' + actor + '">\n' sharedItemsForm += \ '
' + searchStrLower + '">
\n' sharedItemsForm += \ '
' + '" type="submit" name="submitSearch">\n' sharedItemsForm += \ ' ' + translate['Page down'] + \
-                                    '' - sharedItemsForm += '
' - sharedItemsForm += '
' + '"/>\n' + sharedItemsForm += ' \n' + sharedItemsForm += '\n' break ctr = 0 if not resultsExist: sharedItemsForm += \ - '
' + translate['No results'] + '
' + '
' + translate['No results'] + '
\n' sharedItemsForm += htmlFooter() return sharedItemsForm @@ -1913,7 +1913,7 @@ def htmlNewPost(mediaInstance: bool, translate: {}, ' ' + \ translate['this post'] + '

\n' replyStr = '' + 'name="replyTo" value="' + inReplyTo + '">\n' # if replying to a non-public post then also make # this post non-public @@ -6199,7 +6199,7 @@ def htmlPersonOptions(translate: {}, baseDir: str, if optionsLink: optionsLinkStr = \ ' ' + optionsLink + '">\n' cssFilename = baseDir + '/epicyon-options.css' if os.path.isfile(baseDir + '/options.css'): cssFilename = baseDir + '/options.css' @@ -6304,7 +6304,7 @@ def htmlPersonOptions(translate: {}, baseDir: str, optionsStr += optionsLinkStr optionsStr += \ - ' \n' optionsStr += \ '