File: sms.xy

package info (click to toggle)
bitpim 1.0.7%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 31,384 kB
  • ctags: 64,877
  • sloc: python: 267,746; cpp: 2,076; perl: 600; ansic: 409; sh: 231; makefile: 142; sed: 1
file content (39 lines) | stat: -rw-r--r-- 891 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html>
<!--
<py-line code="Id=''"/>
$Id: sms.xy 4206 2007-04-27 20:19:34Z djpham $

Need to pass in the following data:
dns['items']=a dict of sms.SMSEntry
dns['keys']=a list of (sorted) keys of dns['smsitems']
-->

<head></head>
<body>

<py-open code="for k in keys:"/>
<py-line code="_sms=items[k]"/>
<p>
<b>Folder:</b> ${_sms.folder}<br/>
<b>Priority:</b> ${_sms.priority_str}<br/>
<py-open code="if _sms.datetime:"/>
<b>Date:</b> ${_sms.get_date_time_str()}<br/>
<py-close/>
<py-open code="if _sms._from:"/>
<b>From:</b> ${_sms._from}<br/>
<py-close/>
<py-open code="if _sms._to:"/>
<b>To:</b> ${_sms._to}<br/>
<py-close/>
<py-open code="if _sms.callback:"/>
<b>Callback Number:</b> ${_sms.callback}<br/>
<py-close/>
<py-open code="if _sms.subject!='&lt;None&gt;':"/>
<b>Subject:</b> ${_sms.subject}<br/>
<py-close/>
<b>Text:</b> ${_sms.text}<br/>
</p><br/>
<py-close/>

</body>
</html>