# saku/shingetsu/thread_cgi class CGI(gateway.CGI): def print_record(self, cache, num, rec): if "attach" in rec: attach_file = rec.attach_path() attach_size = int(rec.attach_size(attach_file) / 1024) if "jpg" in suffix: attach = ' ' + \ rec["stamp"] + '.' + suffix + '' + \ " (" + str(attach_size) + self.message["kb"] + ")
\n" + \ '
' + \ '' + \ '
' + "\n" else: attach = ' ' + \ rec["stamp"] + '.' + suffix + '' + \ " (" + str(attach_size) + self.message["kb"] + ")\n" sign = "" if "pubkey" in rec: # saku/www/default.css #pic a{ background-color: #FFFFFF; left: 10px; position: relative; top: 10px; width: 135px; } #pic a .large { border: 0px; display: block; height: 1px; left: -1px; position: absolute; top: -1px; width: 1px; } #pic a img { border: 0; } #pic a.p1, #pic a.p1:visited { background: #FFFFFF; border: 0 solid #000000; display: block; left: 0; text-decoration: none; top: 0; width: 135px; height: auto; } #pic a.p1:hover { background-color: #FFFFFF; color: #000000; text-decoration: none; } #pic a.p1:hover .large { border: 0 solid #000000; display: block; height: auto; left: 150px; position: absolute; top: -60px; width: auto; }