diff options
Diffstat (limited to 'quoins/templates/save_post.html')
-rw-r--r-- | quoins/templates/save_post.html | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/quoins/templates/save_post.html b/quoins/templates/save_post.html new file mode 100644 index 0000000..d28c16b --- /dev/null +++ b/quoins/templates/save_post.html | |||
@@ -0,0 +1,79 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | ||
2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
3 | <html xmlns="http://www.w3.org/1999/xhtml" | ||
4 | xmlns:xi="http://www.w3.org/2001/XInclude" | ||
5 | xmlns:py="http://genshi.edgewall.org/"> | ||
6 | <xi:include href="master.html" /> | ||
7 | <xi:include href="blog-master.html" /> | ||
8 | |||
9 | <head> | ||
10 | <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/> | ||
11 | <title>${blog.title}</title> | ||
12 | </head> | ||
13 | |||
14 | |||
15 | <body> | ||
16 | <div id="main"> | ||
17 | <div id="blog-content"> | ||
18 | |||
19 | <p py:if="uris"> | ||
20 | The following links were found in your post. If you would like to send | ||
21 | TrackBacks or PingBacks to any of these links, make the appropriate | ||
22 | selections below. If any TrackBack URLs you wish to use are not listed, | ||
23 | enter one per line in the box below. | ||
24 | </p> | ||
25 | <p py:if="not uris"> | ||
26 | No links were found in your post. If you would like to send | ||
27 | TrackBacks for this post, enter one per line in the box below. | ||
28 | </p> | ||
29 | |||
30 | <form action="${quoins.url('/send_linkbacks/%s'%post.id)}" | ||
31 | method="post" | ||
32 | class="blog-linkback-form"> | ||
33 | |||
34 | <div py:for="(uri, b64uri, title, lbs, best) in uris"> | ||
35 | <a href="${uri}">${title}</a> | ||
36 | <ul> | ||
37 | <li py:for="lb in lbs"> | ||
38 | <label class="fieldlabel"> | ||
39 | <input py:if="best==lb" type="radio" name="${b64uri}" | ||
40 | value="${lb.type}:${lb.uri}" checked="1" /> | ||
41 | <input py:if="best!=lb" type="radio" name="${b64uri}" | ||
42 | value="${lb.type}:${lb.uri}" /> | ||
43 | ${lb.type}: ${lb.uri} | ||
44 | </label> | ||
45 | </li> | ||
46 | <li py:if="lbs"> | ||
47 | <label class="fieldlabel"> | ||
48 | <input py:if="not best" type="radio" name="${b64uri}" | ||
49 | value="None:" checked="1" /> | ||
50 | <input py:if="best" type="radio" name="${b64uri}" | ||
51 | value="None:" /> | ||
52 | Don't send a TrackBack or PingBack for this URL | ||
53 | </label> | ||
54 | </li> | ||
55 | <li py:if="not lbs"> | ||
56 | No TrackBack or PingBack addresses found for this URL | ||
57 | </li> | ||
58 | </ul> | ||
59 | </div> | ||
60 | |||
61 | <div> | ||
62 | <label class="fieldlabel"> | ||
63 | Additional TrackBack URLs: | ||
64 | <textarea name="trackbacks" rows="4" cols="60"> | ||
65 | </textarea> | ||
66 | </label> | ||
67 | </div> | ||
68 | |||
69 | <div> | ||
70 | <input type="submit" name="submit" value="Submit" /> | ||
71 | </div> | ||
72 | |||
73 | </form> | ||
74 | |||
75 | </div> | ||
76 | </div> <!-- main --> | ||
77 | |||
78 | </body> | ||
79 | </html> | ||