mirror of https://gitlab.com/bashrc2/epicyon
Return to ?
parent
cada7845a4
commit
7c3506d990
|
@ -53,13 +53,13 @@ def _getLeftColumnShares(baseDir: str,
|
||||||
ctr = 0
|
ctr = 0
|
||||||
for published, item in sharesJson.items():
|
for published, item in sharesJson.items():
|
||||||
sharedesc = item['displayName']
|
sharedesc = item['displayName']
|
||||||
if '<' in sharedesc or ';' in sharedesc:
|
if '<' in sharedesc or '?' in sharedesc:
|
||||||
continue
|
continue
|
||||||
shareId = item['shareId']
|
shareId = item['shareId']
|
||||||
# selecting this link calls htmlShowShare
|
# selecting this link calls htmlShowShare
|
||||||
shareLink = actor + '?showshare=' + shareId
|
shareLink = actor + '?showshare=' + shareId
|
||||||
if item.get('category'):
|
if item.get('category'):
|
||||||
shareLink += ';category=' + item['category']
|
shareLink += '?category=' + item['category']
|
||||||
shareCategory = shareCategoryIcon(item['category'])
|
shareCategory = shareCategoryIcon(item['category'])
|
||||||
|
|
||||||
linksList.append(shareCategory + sharedesc + ' ' + shareLink)
|
linksList.append(shareCategory + sharedesc + ' ' + shareLink)
|
||||||
|
|
|
@ -997,7 +997,7 @@ def htmlIndividualShare(domain: str, shareId: str,
|
||||||
'<p>' + \
|
'<p>' + \
|
||||||
'<a href="' + actor + \
|
'<a href="' + actor + \
|
||||||
'?replydm=sharedesc:' + sharedesc + \
|
'?replydm=sharedesc:' + sharedesc + \
|
||||||
';mention=' + contactActor + '">' + \
|
'?mention=' + contactActor + '">' + \
|
||||||
'<button class="' + buttonStyleStr + '">' + \
|
'<button class="' + buttonStyleStr + '">' + \
|
||||||
contactTitleStr + '</button></a>\n'
|
contactTitleStr + '</button></a>\n'
|
||||||
profileStr += \
|
profileStr += \
|
||||||
|
|
|
@ -1341,8 +1341,8 @@ def htmlSearchResultShare(baseDir: str, sharedItem: {}, translate: {},
|
||||||
sharedItemsForm += \
|
sharedItemsForm += \
|
||||||
'<p>' + \
|
'<p>' + \
|
||||||
'<a href="' + actor + '?replydm=sharedesc:' + \
|
'<a href="' + actor + '?replydm=sharedesc:' + \
|
||||||
sharedItem['displayName'] + ';mention=' + contactActor + \
|
sharedItem['displayName'] + '?mention=' + contactActor + \
|
||||||
';category=' + category + \
|
'?category=' + category + \
|
||||||
'"><button class="' + buttonStyleStr + '">' + contactTitleStr + \
|
'"><button class="' + buttonStyleStr + '">' + contactTitleStr + \
|
||||||
'</button></a>\n' + \
|
'</button></a>\n' + \
|
||||||
'<a href="' + contactActor + '"><button class="button">' + \
|
'<a href="' + contactActor + '"><button class="button">' + \
|
||||||
|
|
Loading…
Reference in New Issue