print("<h1>Rate My Lit Review</h1>")
print("<p>Read a page, then rate it with the hammer of judgement!</p>")
- print("<p> Page: <input type=\"text\" name=\"page\" value=\"%d\" disabled> of %d" % (values["page"], max_pages))
+ print("<input type=\"text\" name=\"page\" value=\"%d\" hidden>" % values["page"])
+ print("<p> Page: <input type=\"text\" name=\"paged\" value=\"%d\" disabled> of %d" % (values["page"], max_pages))
if values["page"] > 1:
print("<a href=\"rate-my-litreview.py?page=%d\">Prev</a>" % (values["page"]-1))
if values["page"] < max_pages:
# Send emails
- userMsg = "Someone Rated Your LitReview!\n"
+ userMsg = "Someone Rated Your LitReview!\n\n"
userMsg += "Your ratings\n-----------------\n"
for k in values:
userMsg += str(k) + ":\t" + str(values[k]) + "\n"