forked from indymedia/epicyon
search button on new post
parent
15c28f82d3
commit
d10295c814
|
@ -531,6 +531,8 @@ def htmlSuspended(baseDir: str) -> str:
|
||||||
return suspendedForm
|
return suspendedForm
|
||||||
|
|
||||||
def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: []) -> str:
|
def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: []) -> str:
|
||||||
|
"""New post screen
|
||||||
|
"""
|
||||||
reportUrl=None
|
reportUrl=None
|
||||||
if '/newreport?=' in path:
|
if '/newreport?=' in path:
|
||||||
reportUrl=path.split('/newreport?=')[1]
|
reportUrl=path.split('/newreport?=')[1]
|
||||||
|
@ -649,6 +651,7 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: []) -> str:
|
||||||
' </div>' \
|
' </div>' \
|
||||||
' <input type="submit" name="submitPost" value="Submit">' \
|
' <input type="submit" name="submitPost" value="Submit">' \
|
||||||
' <a href="'+pathBase+'/outbox"><button class="cancelbtn">Cancel</button></a>' \
|
' <a href="'+pathBase+'/outbox"><button class="cancelbtn">Cancel</button></a>' \
|
||||||
|
' <a href="'+pathBase+'/search"><img src="/icons/search.png" title="Search for emoji" alt="Search for emoji" class="right"/></a>'+ \
|
||||||
' </div>'+ \
|
' </div>'+ \
|
||||||
replyStr+ \
|
replyStr+ \
|
||||||
' <input type="text" placeholder="'+placeholderSubject+'" name="subject">' \
|
' <input type="text" placeholder="'+placeholderSubject+'" name="subject">' \
|
||||||
|
|
Loading…
Reference in New Issue