Back to the old calendar link

main
Bob Mottram 2022-12-03 09:54:39 +00:00
parent a95353ab6d
commit a200d65bf8
2 changed files with 3 additions and 3 deletions

View File

@ -15691,7 +15691,6 @@ class PubServer(BaseHTTPRequestHandler):
new_post_year = int(year_str)
if new_post_year:
path = path.split('?month=')[0]
self.path = path
# Various types of new post in the web interface
new_post_endpoints = get_new_post_endpoints()
for curr_post_type in new_post_endpoints:

View File

@ -595,10 +595,11 @@ def html_calendar(person_cache: {}, translate: {},
html_keyboard_navigation(text_mode_banner, nav_links, nav_access_keys,
month_name)
# '?month=' + str(month_number) + ';year=' + str(year) + \
new_event_str = \
'<br><center>\n<p>\n' + \
'<a href="' + cal_actor + '/newreminder?month=' + \
str(month_number) + ';year=' + str(year) + '" tabindex="2"> ' + \
'<a href="' + cal_actor + '/newreminder' + \
'" tabindex="2"> ' + \
translate['Add to the calendar'] + '</a>\n</p>\n</center>\n'
calendar_icon_str = \