Update of /cvsroot/openrpg/openrpg1/plugins
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30398/plugins
Modified Files:
xxquotebox.py
Log Message:
Index: xxquotebox.py
===================================================================
RCS file: /cvsroot/openrpg/openrpg1/plugins/xxquotebox.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** xxquotebox.py 19 Feb 2007 04:21:28 -0000 1.1
--- xxquotebox.py 21 Feb 2007 14:01:32 -0000 1.2
***************
*** 127,133 ****
msg = cmdargs
if self.boxtype == 0: #old
! self.chat.InfoPost("<table bgcolor='"+self.bgcolor+"' border='0' cellpadding='0' \
! cellspacing='0' width='100%'><tr><td><FONT SIZE='"+str(self.size)+"' \
! color='"+self.fontcolor+"'><b>"+msg+"</b></font></table>", 1, 1)
else: #new
if self.border:
--- 127,134 ----
msg = cmdargs
if self.boxtype == 0: #old
! box = '<table bgcolor="' + self.bgcolor + '" border="0" cellpadding="0" cellspacing="0" width="100%">'
! box += '<tr><td><font size="' + str(self.size) + '" color="' + self.fontcolor + '">'
! box += '<b>' + msg + '</b></font></table>'
! self.chat.Post(box, True, True)
else: #new
if self.border:
***************
*** 150,158 ****
endbold = ""
! self.chat.InfoPost("<br><center><table bgcolor='"+self.bgcolor+
! "' width='80%' cellpadding='"+str(int(self.size * 5))+
! "' cellspacing='0'"+border+"><tr><td><font size='"+str(self.size)+
! "'color='"+self.fontcolor+"'>"+bold+italics+msg+enditalics+endbold+
! "</font></td></tr></table></center>", 1, 1)
# changes size of font, as well as cell-padding size
--- 151,160 ----
endbold = ""
! box = '<br><center><table bgcolor="' + self.bgcolor + '" width="80%"'
! box += 'cellpadding="' + str(int(self.size * 5)) + '" cellspacing="0" ' + border + '>'
! box += '<tr><td><font size="' + str(self.size) + '" color="' + self.fontcolor + '">
! box += bold + italics + msg + enditalics + endbold
! box += '</font></td></tr></table></center>'
! self.chat.Post(box, True, True)
# changes size of font, as well as cell-padding size
|