Attachment 'MonthCalendar.py.diff'
Download 1 --- MonthCalendar.py.orig 2010-03-24 16:47:37.179603140 +0900
2 +++ MonthCalendar.py 2010-03-24 16:58:13.169183621 +0900
3 @@ -281,7 +281,7 @@
4
5 if parmpagename != [thispage]:
6 pagelinks = ''
7 - r, g, b = (255, 0, 0)
8 + r, g, b = (195, 217, 255)
9 l = len(parmpagename[0])
10 steps = len(parmpagename)
11 maxsteps = (255 / colorstep)
12 @@ -352,7 +352,7 @@
13 if daypage.exists() and request.user.may.read(link):
14 csslink = "cal-usedday"
15 query = {}
16 - r, g, b, u = (255, 0, 0, 1)
17 + r, g, b, u = (252, 252, 252, 1)
18 daycontent = daypage.get_raw_body()
19 header1_re = re.compile(r'^\s*=\s(.*)\s=$', re.MULTILINE) # re.UNICODE
20 titletext = []
21 @@ -374,7 +374,7 @@
22 query = {'action': 'edit', 'template': parmtemplate}
23 else:
24 query = {}
25 - r, g, b, u = (255, 255, 255, 0)
26 + r, g, b, u = (252, 252, 252, 0)
27 if wkday in wkend:
28 csslink = "cal-weekend"
29 attrs = {'rel': 'nofollow'}
30 @@ -392,7 +392,8 @@
31 fmtlink = formatter.url(1, daypage.url(request, query), csslink, **attrs) + str(day) + formatter.url(0)
32 if day == currentday and month == currentmonth and year == currentyear:
33 cssday = "cal-today"
34 - fmtlink = "<b>%s</b>" % fmtlink # for browser with CSS probs
35 + fmtlink = "%s" % fmtlink # for browser with CSS probs
36 + style = 'background-color:#ffffaa'
37 else:
38 cssday = "cal-nottoday"
39 restdn.append(' <td style="%s" class="%s">%s</td>\n' % (style, cssday, fmtlink))
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.