equal
deleted
inserted
replaced
9 print "Content-type: text/html; charset=iso-8859-1;" |
9 print "Content-type: text/html; charset=iso-8859-1;" |
10 print |
10 print |
11 |
11 |
12 # import cgitb; cgitb.enable() |
12 # import cgitb; cgitb.enable() |
13 import cgi |
13 import cgi |
14 from htmltmpl import TemplateManager, TemplateProcessor |
14 from htmltmpl import TemplateManager |
15 import my_db |
15 import my_db |
16 import time |
16 import time |
17 from bkmark import Bookmark |
17 from bkmark import Bookmark |
18 from webutils import get_template_processor; |
18 from webutils import get_template_processor |
19 import os |
19 import os |
20 |
20 |
21 def main(keywords, bk, prefs): |
21 def main(keywords, bk, prefs): |
22 tmpl = TemplateManager().prepare("add_bk.tmpl") |
22 tmpl = TemplateManager().prepare("add_bk.tmpl") |
23 tproc = get_template_processor(prefs) |
23 tproc = get_template_processor(prefs) |