timestamps, comments

This commit is contained in:
Rushabh Mehta
2011-09-05 13:14:18 +05:30
111 changed files with 2641 additions and 1435 deletions

View File

@@ -13,7 +13,7 @@ class DocType:
for r in res:
ret[cstr(r[0])]=r[1] and cstr(r[1]) or ''
return str(ret)
return ret
def set_cp_value(self, key):
"""

View File

@@ -28,4 +28,4 @@ class DocType:
#
def set_html_from_image(self):
file_name = self.doc.file_list.split(',')[0]
self.doc.header_html = '<div><img src="cgi-bin/getfile.cgi?name=' + file_name + '"/></div>'
self.doc.header_html = '<div><img style="max-height: 120px; max-width: 600px" src="index.cgi?cmd=get_file&fname=' + file_name + '"/></div>'

View File

@@ -281,4 +281,4 @@ class DocType:
elif cond_hold =='Yes':
all_cond_hold ='Yes'
return all_cond_hold
return all_cond_hold