示例#1
0
 def confirmEdit(self):
     fn = ps34.confirmHtml(self.filename.get())
     bt = self.body.get(1.0, 'end')
     conn = wpdb.connDb('CustomPages')
     conn.updateWebpage(fn, bt)
     bodyText = self.body.get(1.0, 'end')
     ps34.writeHTML(fn, bodyText)
     ps34.openPage(fn)
示例#2
0
 def confirm(self):
     fn = ps34.confirmHtml(self.filename.get())
     bodyText = self.body.get(1.0, 'end')
     conn = wpdb.connDb('CustomPages')
     conn.insertPage(fn, bodyText)
     ps34.createHTMLFile(fn)
     ps34.writeHTML(fn, bodyText)
     ps34.openPage(fn)
     self.disableFrame_2()
示例#3
0
 def confirm(self):
     fn = self.filename.get()
     bodyText = self.body.get(1.0, 'end')
     ps34.createHTMLFile(fn)
     ps34.writeHTML(fn, bodyText)
     ps34.openPage(fn)
     self.disableFrame_2()